/* Shared site styles. The original visual layout remains in assets/css/. */
[data-course-browser] {
  isolation: isolate;
  --course-top: 144px;
}
[data-course-browser] > div,
[data-course-browser] > div > div {
  min-width: 0;
}
[data-course-navigation] {
  top: var(--course-top);
  max-height: calc(100svh - var(--course-top) - 16px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.course-scroll-card {
  top: var(--course-card-top, var(--course-top));
  scroll-margin-top: var(--course-top);
}
@media (max-width: 1023px) {
  [data-course-card] .clone-course-link {
    height: clamp(160px, 30svh, 280px);
    aspect-ratio: auto;
  }
  [data-course-card] .clone-course-link img {
    border-radius: 20px;
  }
}
@media (max-width: 767px) {
  [data-course-browser] > div > div:first-child {
    display: none;
  }
  [data-course-card] > div > div > div:last-child {
    padding: 16px;
    gap: 12px;
  }
  [data-course-card] .leading-tight {
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  .course-scroll-card {
    position: relative;
    top: auto;
  }
}

:root {
  --color-primary: #d40b15;
  --color-border: #ddd;
}

.home-video-section {
  padding-top: var(--home-header-height, 128px);
}
.home-video-player,
.home-video-player > a {
  display: block;
  width: 100%;
  background: #000;
}
.home-video-player video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.home-video-player > a:focus-visible {
  outline-offset: -4px;
}

.home-ai-wrap {
  position: relative;
  z-index: 10;
  padding-inline: clamp(16px, 6.8vw, 112px);
  margin-top: -44px;
}
.home-ai-panel {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 2.3vw, 40px);
  padding: 28px 20px;
  border-radius: 18px 18px 0 0;
  background: #fff;
}
.home-ai-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.home-ai-input-border {
  min-width: 0;
  padding: 1px;
  border-radius: 13px;
  background: linear-gradient(100deg, #f7aa01, #e52301);
}
.home-ai-input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #111;
  font: inherit;
}
.home-ai-button {
  min-height: 52px;
  padding: 12px 40px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(100deg, #f9be00, #e41d00);
  color: #fff;
  font-family: var(--font-product-sans-bold), sans-serif;
  font-size: 20px;
  white-space: nowrap;
}
@media (max-width: 639px) {
  .home-ai-wrap {
    margin-top: -24px;
    padding-inline: 12px;
  }
  .home-ai-panel {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 16px 10px;
  }
  .home-ai-icon {
    width: 28px;
    height: 36px;
  }
  .home-ai-input {
    height: 44px;
    padding: 10px 8px;
    font-size: 12px;
  }
  .home-ai-button {
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
  }
}

.footer-credit {
  max-width: 100%;
  line-height: 1.5;
  text-wrap: balance;
}
.footer-credit span {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  vertical-align: bottom;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 145px;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}
body.dialog-open {
  overflow: hidden;
  padding-right: var(--dialog-scrollbar-width, 0px);
}
.clone-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: white;
  border: 0;
  border-radius: 28px;
  padding: 13px 26px;
  font: inherit;
  cursor: pointer;
}
/* Dialogs */
.clone-dialog {
  margin: auto;
  border: 0;
  border-radius: 28px;
  padding: 0;
  width: min(900px, calc(100% - 32px));
  max-height: 90dvh;
  overflow: auto;
  color: #171717;
  background: white;
  box-shadow: 0 25px 100px #0005;
}
.clone-dialog::backdrop {
  background: #0008;
  backdrop-filter: blur(6px);
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 12px;
  z-index: 3;
  border: 0;
  background: var(--color-primary);
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 25px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}
.contact-copy {
  padding: 45px 32px;
}
.contact-copy h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
}
.contact-copy > p {
  color: #666;
  margin-bottom: 22px;
}
.contact-art {
  background: #f7efed url('assets/images/enquire-now-modal.png') center/cover;
}
.contact-copy form {
  display: grid;
  gap: 14px;
}
.contact-copy input,
.contact-copy textarea,
.contact-copy select {
  border: 1px solid var(--color-border);
  padding: 12px;
  border-radius: 8px;
  width: 100%;
  font: inherit;
  background: white;
}
.contact-copy label {
  display: grid;
  gap: 5px;
  font-size: 14px;
}
.contact-copy fieldset {
  display: flex;
  gap: 18px;
}
.contact-copy fieldset label {
  display: flex;
  align-items: center;
  gap: 5px;
}
.contact-copy fieldset input {
  width: auto;
}
.form-status {
  line-height: 1.6;
  font-size: 14px;
}
.form-status a {
  color: #c7101a;
  text-decoration: underline;
}

/* Gallery */
.clone-gallery {
  padding: 50px 24px;
  max-width: 1500px;
  margin: auto;
}
.clone-gallery h2 {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
}
.clone-gallery > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  border: 0;
  background: none;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.lightbox {
  background: #111;
  width: min(1200px, 95vw);
  color: white;
  text-align: center;
}
.lightbox img {
  display: block;
  width: 100%;
  max-height: 78dvh;
  object-fit: contain;
}
.lightbox-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 14px;
}
.lightbox-controls button {
  background: none;
  border: 1px solid #888;
  color: white;
  border-radius: 30px;
  padding: 8px 22px;
}
/* Unavailable pages and student login */
.clone-unavailable {
  min-height: 60vh;
  padding: 200px 24px 80px;
  text-align: center;
}
.clone-unavailable h1 {
  font-size: 40px;
  margin-bottom: 20px;
}
.clone-unavailable a {
  display: inline-block;
  margin-top: 22px;
  color: var(--color-primary);
}
.clone-login {
  width: 100%;
  max-width: 440px;
  display: grid;
  gap: 28px;
  font-size: 20px;
}
.clone-login label {
  display: grid;
  gap: 12px;
}
.clone-login input {
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #999;
  width: 100%;
  font: inherit;
  background: transparent;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 60px;
}
.password-field button {
  position: absolute;
  right: 0;
  top: 10px;
  font-size: 14px;
}
.clone-login [role='status'] {
  font-size: 14px;
  line-height: 1.5;
}
.clone-login > a {
  font-size: 15px;
}
.clone-accordion-panel[hidden] {
  display: none !important;
}
.clone-answer {
  margin: 16px auto 0;
  background: #fff;
  color: #222;
  padding: 20px;
  border-radius: 16px;
  max-width: 800px;
  line-height: 1.7;
}
.clone-answer a {
  color: var(--color-primary);
  text-decoration: underline;
}
.clone-course-link {
  display: block;
  cursor: pointer;
}
.clone-course-link:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}
/* Responsive layout */
@media (max-width: 800px) {
  .clone-gallery > div {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item img {
    height: 190px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-art {
    display: none;
  }
  .contact-copy {
    padding: 45px 24px 28px;
  }
}

/* Student reviews */
.clone-reviews {
  padding: 50px clamp(20px, 7vw, 110px);
  overflow: hidden;
}
.clone-reviews > p {
  color: #777;
  font-size: 14px;
}
.clone-reviews h2 {
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.2;
  margin: 12px 0 28px;
}
.review-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
}
.review-carousel article {
  flex: 0 0 min(78vw, 320px);
  scroll-snap-align: start;
  background: white;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  border: 1px solid #eee;
}
.review-carousel article > p {
  line-height: 1.7;
  flex: 1;
  font-size: 15px;
}
.review-carousel h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 24px 0 5px;
}
.review-carousel small {
  color: #777;
}
.swiper-wrapper {
  gap: 20px;
}

/* Horizontal course browsing uses native scrolling and scroll snapping. */
.swiper {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.swiper-wrapper {
  display: flex;
}
.swiper .swiper-slide {
  flex: 0 0 min(80vw, 360px);
  scroll-snap-align: start;
}
.contact-phone {
  margin-top: 20px;
}

.accordion-icon::before {
  content: '+';
}
[aria-expanded='true'] > .accordion-icon::before {
  content: '−';
}

/* Original full-screen menu: expanding dark panel, staggered links and promo cards. */
.site-menu {
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: auto;
  scrollbar-width: none;
}
.site-menu::backdrop {
  background: #000;
  backdrop-filter: blur(5px);
  animation: menu-backdrop-in 0.3s 0.8s both;
}
.menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 29%;
  min-height: 100%;
}
.menu-sidebar {
  min-width: 0;
  min-height: 100dvh;
  padding: 40px 40px 40px;
  color: white;
  background: #1e1e1e;
  border-radius: 0 45px 45px 45px;
  animation: menu-panel-in 0.8s ease-in-out both;
}
.menu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.menu-logo {
  width: 120px;
  flex-shrink: 0;
}
.menu-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.menu-close {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: #000;
  font-size: 28px;
  line-height: 1;
}
.menu-close::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: #ffffff80;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.menu-close span {
  position: relative;
}
.menu-close:hover::before {
  transform: rotate(135deg);
}
.menu-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 32px 0;
  color: white;
}
.menu-links a,
.menu-links button {
  display: block;
  padding: 9px 0 21px;
  text-align: left;
  font-size: clamp(36px, 3.4vw, 48px);
  line-height: 1;
  font-weight: 400;
  color: inherit;
  transition:
    color 0.2s,
    transform 0.2s;
  animation: menu-item-in 0.4s ease-out both;
  animation-delay: 0.3s;
}
.menu-links > :nth-child(2) {
  animation-delay: 0.4s;
}
.menu-links > :nth-child(3) {
  animation-delay: 0.5s;
}
.menu-links > :nth-child(4) {
  animation-delay: 0.6s;
}
.menu-links:hover > :not(:hover) {
  color: #ffffff80;
}
.menu-links > :hover {
  color: white;
  transform: translateX(4px);
}
.menu-contact {
  width: max-content;
  max-width: 100%;
  animation: menu-item-in 0.5s 0.5s both;
}
.menu-contact p {
  font-size: 18px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.menu-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.menu-socials {
  display: flex;
  gap: 20px;
  margin-top: 12px;
}
.menu-socials a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 4px;
  border: 1px solid #fff;
  border-radius: 50%;
  transition:
    background 0.2s,
    transform 0.2s;
}
.menu-socials img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.menu-socials a:hover {
  background: #ffffff20;
  transform: translateY(-3px);
}
.menu-promos {
  min-width: 0;
  display: grid;
  grid-template-rows: 220px 300px 180px;
  align-content: start;
}
.menu-promo {
  min-width: 0;
  overflow: hidden;
  border-radius: 40px;
  transform-origin: bottom right;
  animation: menu-card-in 0.7s ease-in-out both;
}
.menu-promo > * {
  animation: menu-item-in 0.6s 0.7s ease-out both;
}
.menu-story {
  background: #d2edffcc;
  padding: 24px;
}
.menu-story p {
  color: #000;
  font-size: clamp(30px, 3.3vw, 48px);
  line-height: 1.1;
}
.menu-ai {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--color-primary);
  color: #fff;
  padding: 16px;
}
.menu-ai > p {
  font-size: clamp(16px, 1.65vw, 24px);
  line-height: 1.2;
  margin-bottom: 12px;
}
.menu-ai-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #fff;
  border-radius: 12px;
  font-size: 12px;
}
.menu-ai-link span:last-child {
  flex-shrink: 0;
  background: linear-gradient(to right, #fff, #ffedd5);
  color: var(--color-primary);
  padding: 10px 16px;
  border-radius: 10px;
}
.menu-sparkle {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  margin: 12px;
  background: linear-gradient(135deg, #ffab91, #ff8a65);
  border: 2px solid #fff6;
  border-radius: 50%;
}
.menu-sparkle span {
  position: absolute;
  width: 16px;
  height: 16px;
  background: #ffffffe6;
  clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
  animation: menu-sparkle 3s ease-in-out infinite;
}
.menu-sparkle span:first-child {
  top: 15%;
  left: 18%;
}
.menu-sparkle span:last-child {
  width: 24px;
  height: 24px;
  bottom: 25%;
  right: 20%;
  animation-delay: 1s;
}
.menu-offer {
  position: relative;
  background: url('assets/images/menuimage.gif') center/cover no-repeat;
  padding: 24px;
}
.menu-offer > div {
  max-width: 70%;
  margin-left: auto;
  text-align: right;
}
.menu-offer p {
  font-size: 20px;
  line-height: 1.2;
  color: var(--color-primary);
}
.menu-offer button {
  margin-top: 8px;
  border-radius: 30px;
  padding: 8px 24px;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  transition: transform 0.2s;
}
.menu-offer button:hover {
  transform: translateY(-2px);
}
.site-menu.is-closing .menu-sidebar {
  animation: menu-panel-out 0.8s 0.4s ease-in-out both;
}
.site-menu.is-closing .menu-links > * {
  animation: menu-item-out 0.3s 0.5s ease-in both;
}
.site-menu.is-closing .menu-contact {
  animation: menu-item-out 0.3s 0.3s ease-in both;
}
.site-menu.is-closing .menu-promo {
  animation: menu-card-out 0.7s 0.5s ease-in-out both;
}
.site-menu.is-closing .menu-promo > * {
  animation: menu-item-out 0.5s ease-in both;
}
.site-menu.is-closing::backdrop {
  animation: menu-backdrop-out 0.4s 0.8s both;
}
@keyframes menu-panel-in {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}
@keyframes menu-panel-out {
  from {
    clip-path: inset(0);
  }
  to {
    clip-path: inset(0 100% 0 0);
  }
}
@keyframes menu-item-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes menu-item-out {
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}
@keyframes menu-card-in {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes menu-card-out {
  to {
    opacity: 0;
    transform: scale(0);
  }
}
@keyframes menu-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes menu-backdrop-out {
  to {
    opacity: 0;
  }
}
@keyframes menu-sparkle {
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

/* The source's 100px upward, 0.7s scroll entrances play once. */
[data-reveal] {
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal-pending {
  opacity: 0;
  transform: translateY(100px);
}
.clone-dialog:not(.site-menu)[open] {
  animation: dialog-in 0.25s ease-out both;
}
.clone-dialog:not(.site-menu).is-closing {
  animation: dialog-out 0.2s ease-in both;
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes dialog-out {
  to {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
}
@media (max-width: 1279px) and (min-width: 1024px) {
  .menu-sidebar {
    padding-top: 32px;
  }
  .menu-logo {
    width: 110px;
  }
  .menu-promos {
    grid-template-rows: 210px 300px 220px;
  }
}
@media (max-width: 1023px) {
  .menu-layout {
    grid-template-columns: 1fr;
  }
  .menu-sidebar {
    padding: 32px 40px 40px;
  }
  .menu-promos {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 300px;
  }
  .menu-story {
    grid-column: 1 / -1;
  }
  .menu-story p {
    max-width: 800px;
    font-size: 32px;
  }
  .menu-offer {
    min-height: 220px;
  }
  .menu-logo {
    width: 100px;
  }
}
@media (max-width: 767px) {
  .menu-sidebar {
    padding: 20px 20px 40px;
  }
  .menu-logo {
    width: 90px;
  }
  .menu-links {
    gap: 12px;
    margin: 24px 0;
  }
  .menu-links a,
  .menu-links button {
    font-size: 30px;
    padding: 8px 0;
  }
  .menu-contact p {
    font-size: 14px;
  }
  .menu-promos {
    display: block;
  }
  .menu-story {
    padding: 16px;
  }
  .menu-story p {
    font-size: 24px;
  }
  .menu-ai,
  .menu-offer {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-delay: 0s !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-pending {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 639px) {
  .menu-sidebar {
    min-height: auto;
  }
}

/* Contact sidebar: dimensions, type and motion from the public Contact Us component. */
#contact.contact-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  margin: 0;
  width: 90vw;
  max-width: none;
  height: 100dvh;
  max-height: 100dvh;
  border: 0;
  border-right: 1px solid #0000001a;
  border-radius: 0;
  background: #fafafa;
  box-shadow: none;
  overflow-y: auto;
  scrollbar-width: none;
}
#contact[open] {
  animation: contact-slide-in 0.7s cubic-bezier(0.42, 0, 0.58, 1) both;
}
#contact[open]::backdrop {
  background: #0008;
  backdrop-filter: blur(4px);
  animation: contact-fade-in 0.3s ease both;
}
#contact.is-closing {
  animation: contact-slide-out 0.7s cubic-bezier(0.42, 0, 0.58, 1) both;
}
#contact.is-closing::backdrop {
  animation: contact-fade-out 0.3s 0.2s ease both;
}
.contact-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 12px;
}
.contact-heading h2 {
  font:
    400 20px/1.4 var(--font-corinthiago),
    cursive;
  color: #d40b15;
  margin: 0;
}
#contact .dialog-close {
  position: static;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
  font:
    24px Arial,
    sans-serif;
}
.contact-content {
  padding: 8px 12px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-intro,
.contact-question {
  font-family: var(--font-product-sans-light), Arial, sans-serif;
  color: #030303;
  font-size: 14px;
  margin: 0;
}
.contact-intro {
  max-width: 672px;
  line-height: 1.25;
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-card {
  flex: 1;
  min-width: 0;
  padding: 12px;
  border: 1px solid #0000001a;
  border-radius: 16px;
  font-family: var(--font-product-sans-regular), Arial, sans-serif;
}
.contact-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 8px;
}
.contact-card h3 span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  padding: 4px;
  border-radius: 50%;
  background: #d40b15;
}
.contact-card img {
  width: 100%;
  height: 100%;
}
.contact-card p {
  font:
    400 14px var(--font-product-sans-light),
    Arial,
    sans-serif;
  margin: 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.contact-card a {
  color: inherit;
  text-decoration: none;
}
.contact-card a:hover {
  color: #d40b15;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-fields {
  display: grid;
  gap: 8px;
}
.contact-field {
  position: relative;
  min-width: 0;
}
.contact-field input {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #1111111a;
  border-radius: 999px;
  background: transparent;
  color: #000;
  font: inherit;
  font-size: 14px;
}
.contact-field label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 4px;
  background: #fafafa;
  color: #000;
  font-size: 14px;
  transition:
    top 0.2s,
    transform 0.2s,
    font-size 0.2s;
  pointer-events: none;
}
.contact-field input:focus {
  outline: none;
  border-color: #d40b15;
}
.contact-field input:focus + label,
.contact-field input:not(:placeholder-shown) + label {
  top: 0;
  transform: translateY(-8px);
  font-size: 12px;
}
#contact .clone-button {
  width: 100%;
  border-radius: 999px;
  padding: 12px;
  font-weight: 400;
  transition: background 0.2s;
}
#contact .clone-button:hover {
  background: #d40b15e6;
}
#contact .form-status {
  margin: 0;
}
#contact .form-status:empty {
  display: none;
}
.contact-photos {
  display: flex;
  overflow-x: auto;
  margin: 28px 0 20px;
  scroll-snap-type: x mandatory;
}
.contact-photos img {
  display: block;
  width: calc(100% / 6);
  min-width: 0;
  flex: 0 0 calc(100% / 6);
  aspect-ratio: 3 / 2;
  object-fit: contain;
  scroll-snap-align: start;
}
@media (max-width: 767px) {
  .contact-photos img {
    width: 60%;
    flex-basis: 60%;
  }
}
@keyframes contact-slide-in {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes contact-slide-out {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes contact-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes contact-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@media (min-width: 640px) {
  .contact-heading {
    padding-inline: 20px;
  }
  .contact-heading h2 {
    font-size: 24px;
    line-height: 32px;
  }
  .contact-content {
    padding: 20px 20px 0;
  }
  .contact-card h3 span {
    width: 28px;
    height: 28px;
  }
  .contact-fields {
    gap: 12px;
  }
  .contact-field input {
    padding-block: 16px;
    font-size: 16px;
  }
}
@media (min-width: 768px) {
  .contact-heading h2 {
    font-size: 24px;
  }
  #contact .dialog-close {
    width: 40px;
    height: 40px;
  }
  .contact-content,
  .contact-form {
    gap: 24px;
  }
  .contact-intro,
  .contact-question {
    font-size: 16px;
  }
  .contact-cards {
    flex-direction: row;
  }
  .contact-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .contact-heading {
    padding-inline: 40px;
  }
  .contact-heading h2 {
    font-size: 30px;
    line-height: 36px;
  }
  .contact-content {
    padding-inline: 40px;
  }
  .contact-cards {
    gap: 16px;
  }
}
@media (min-width: 1280px) {
  #contact.contact-drawer {
    width: 80vw;
  }
  .contact-heading {
    padding: 24px 56px;
  }
  .contact-heading h2 {
    font-size: 36px;
    line-height: 40px;
  }
  .contact-content {
    padding-inline: 56px;
  }
  .contact-cards {
    gap: 20px;
  }
  .contact-card {
    padding: 16px;
    border-radius: 24px;
  }
  .contact-card h3 {
    font-size: 18px;
  }
  .contact-card p {
    font-size: 16px;
  }
  .contact-fields {
    gap: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #contact[open],
  #contact.is-closing,
  #contact[open]::backdrop,
  #contact.is-closing::backdrop {
    animation: none;
  }
  .contact-field label {
    transition: none;
  }
}

/* Shared pointer interactions measured from the original components. */
.motion-pill {
  isolation: isolate;
}
.motion-pill .motion-pill-label {
  flex: 0 0 139px;
  height: 44px;
  transform: translateX(0) !important;
  transition: transform 0.5s 0.1s cubic-bezier(0.42, 0, 0.58, 1);
}
.motion-pill .motion-pill-arrow {
  flex: 0 0 44px;
  height: 44px;
  background: #fff;
  color: #3e0c78;
  transform: translateX(0) !important;
  transition:
    transform 0.7s 0.1s cubic-bezier(0.42, 0, 0.58, 1),
    background-color 0.7s 0.1s,
    color 0.7s 0.1s;
}
.motion-pill-white .motion-pill-arrow {
  background: #3e0c78;
  color: white;
}
.motion-pill-fingerprint .motion-pill-arrow {
  color: #d40b15;
}
.motion-pill-white.motion-pill-fingerprint .motion-pill-arrow {
  background: #d40b15;
  color: white;
}
.motion-pill:is(:hover, :focus-visible, :focus-within) .motion-pill-label {
  transform: translateX(39px) !important;
}
.motion-pill:is(:hover, :focus-visible, :focus-within) .motion-pill-arrow {
  transform: translateX(-146px) !important;
  background: #fff;
  color: #000;
}
.motion-pill-fingerprint:is(:hover, :focus-visible, :focus-within) .motion-pill-arrow {
  background: #f7f02c;
}
footer li a {
  position: relative;
  width: fit-content;
}
footer li a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
footer li a:is(:hover, :focus-visible)::after {
  transform: scaleX(1);
}
footer li a:hover {
  opacity: 0.75;
}
.menu-links > :hover {
  transform: none;
}
.drag-scroll {
  cursor: grab;
  touch-action: pan-x pan-y;
}
.drag-scroll.is-dragging,
.drag-scroll.is-dragging * {
  cursor: grabbing !important;
  user-select: none;
}
.drag-scroll.is-dragging,
.drag-scroll.is-animating {
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.drag-scroll img {
  -webkit-user-drag: none;
}
.swiper {
  width: 100%;
  min-width: 0;
}
.swiper .swiper-slide {
  flex-basis: calc((100% - 2px) / 1.1);
}
@media (min-width: 540px) {
  .swiper .swiper-slide {
    flex-basis: calc((100% - 10px) / 1.5);
  }
}
@media (min-width: 1024px) {
  .swiper .swiper-slide {
    flex-basis: calc((100% - 16px) / 1.8);
  }
}
@media (min-width: 1300px) {
  .swiper .swiper-slide {
    flex-basis: calc((100% - 30px) / 2.5);
  }
}
button:disabled {
  cursor: not-allowed;
}

/* The client-rendered testimonial section, including its fixed video card. */
.site-testimonials {
  padding: 28px 0 28px 8px;
  overflow: hidden;
  color: #000;
}
.testimonials-heading {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-right: 16px;
}
.testimonials-heading p {
  font-family: var(--font-product-sans-light), Arial, sans-serif;
  font-size: 14px;
  margin: 0 0 8px;
}
.testimonials-heading h2 {
  font-size: 24px;
  line-height: 1;
  margin: 0;
  font-weight: 400;
}
.testimonial-navigation {
  display: flex;
  gap: 8px;
}
.testimonial-navigation button {
  color: #d40b15;
  border: 1px solid #d40b15;
  padding: 0 16px;
  font-size: 28px;
  border-radius: 999px;
  transition:
    background 0.2s,
    color 0.2s;
}
.testimonial-navigation button:hover {
  background: #d40b15;
  color: white;
}
.testimonials-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-right: 16px;
}
.testimonial-video {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-radius: 12px;
}
.testimonial-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial-video-overlay {
  position: absolute;
  inset: 0;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #000b;
  transition: background 0.5s;
}
.testimonial-video-overlay > img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 1px solid white;
  border-radius: 50%;
}
.testimonial-video-overlay > button {
  align-self: center;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: white;
  background: #ffffff1a;
  backdrop-filter: blur(5px);
}
.testimonial-video.is-playing .testimonial-video-overlay {
  background: transparent;
}
.testimonial-video h3,
.testimonial-card h3 {
  font:
    500 20px/1 var(--font-corinthiago),
    cursive;
  margin: 0;
}
.testimonial-video h3 {
  color: white;
}
.testimonial-video p,
.testimonial-card small {
  font:
    400 12px var(--font-product-sans-light),
    Arial,
    sans-serif;
  color: #989898;
  margin: 4px 0 0;
}
.testimonial-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  min-width: 0;
}
.testimonial-card {
  box-sizing: border-box;
  flex: 0 0 100%;
  min-width: 0;
  min-height: 420px;
  padding: 28px 24px;
  background: #fff;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-snap-align: start;
  box-shadow: 0 1px 2px #0000000d;
}
.testimonial-card > img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}
.testimonial-card:nth-child(even) > img {
  object-fit: contain;
  border-radius: 0;
}
.testimonial-card > p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
@media (min-width: 640px) {
  .site-testimonials {
    padding: 40px 0 40px 20px;
  }
  .testimonials-heading {
    margin-bottom: 28px;
  }
  .testimonials-heading h2 {
    font-size: 30px;
  }
  .testimonials-layout {
    flex-direction: row;
  }
  .testimonial-video {
    flex: 0 0 250px;
    height: 420px;
  }
  .testimonial-track {
    flex: 1;
  }
}
@media (min-width: 768px) {
  .site-testimonials {
    padding: 80px 0 80px 40px;
  }
  .testimonials-heading {
    flex-direction: row;
    align-items: end;
    margin-bottom: 40px;
  }
}
@media (min-width: 1024px) {
  .site-testimonials {
    padding-left: 80px;
  }
  .testimonial-card {
    flex-basis: calc((100% - 20px) / 2);
  }
}
@media (min-width: 1280px) {
  .site-testimonials {
    padding-left: 112px;
  }
  .testimonials-heading h2 {
    font-size: 36px;
  }
}
@media (min-width: 1300px) {
  .testimonial-card {
    flex-basis: calc((100% - 40px) / 3);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .motion-pill .motion-pill-label,
  .motion-pill .motion-pill-arrow,
  footer li a::after {
    transition: none;
  }
  [class*='animate-infinite-scroll'] {
    animation: none !important;
  }
}

.footer-like {
  position: relative;
}
.footer-like > button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
}
.footer-like > button img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transform: rotate(-20deg);
}
.like-particle {
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  padding: 12px;
  pointer-events: none;
  z-index: 5;
}
.clone-gallery {
  padding: 40px 0;
  max-width: none;
  overflow: hidden;
}
.clone-gallery h2 {
  font-size: 24px;
  margin: 0 0 32px;
}
.clone-gallery > .gallery-window {
  display: block;
  width: 100%;
  overflow: hidden;
}
.gallery-track {
  display: flex;
  gap: 8px;
  width: max-content;
}
.gallery-track .gallery-item {
  flex: 0 0 320px;
  width: 320px;
  height: 320px;
  border-radius: 16px;
}
.gallery-track .gallery-item img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  transition: none;
}
.gallery-track .gallery-item:hover img {
  transform: none;
}
@media (min-width: 640px) {
  .footer-like > button,
  .like-particle {
    width: 56px;
    height: 56px;
  }
  .footer-like > button img {
    width: 32px;
    height: 28px;
  }
}
@media (min-width: 768px) {
  .footer-like > button,
  .like-particle {
    width: 64px;
    height: 64px;
  }
  .clone-gallery h2 {
    font-size: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .clone-gallery > .gallery-window {
    overflow-x: auto;
  }
}

#enquiry {
  width: 90%;
  max-width: 1024px;
  border-radius: 32px;
}
.enquiry-layout {
  display: flex;
  flex-direction: column;
}
.enquiry-copy {
  padding: 40px;
  width: 100%;
}
.enquiry-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.025em;
  font-size: 12px;
  color: #0009;
  margin-bottom: 8px;
}
.enquiry-copy h2 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.375;
  margin-bottom: 32px;
}
.enquiry-copy form {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.enquiry-copy input:not([type='radio']) {
  min-width: 0;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #0005;
  border-radius: 0;
  padding-bottom: 4px;
  background: transparent;
  font: inherit;
}
.enquiry-copy input:focus {
  outline: none;
  border-color: black;
}
.enquiry-names {
  display: flex;
  gap: 16px;
}
.enquiry-copy fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}
.enquiry-copy legend {
  float: left;
  color: #9ca3af;
  margin-right: 4px;
}
.enquiry-copy fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.enquiry-copy input[type='radio'] {
  accent-color: #d40b15;
}
.enquiry-copy .clone-button {
  align-self: start;
  padding: 12px 24px;
  border-radius: 6px;
}
.enquiry-copy .clone-button:hover {
  background: #d40b15cc;
}
.enquiry-copy .form-status {
  margin: 0;
}
.enquiry-copy .form-status:empty {
  display: none;
}
.enquiry-image {
  padding: 16px;
  width: 100%;
}
.enquiry-image img {
  width: 100%;
  height: 256px;
  object-fit: cover;
  border-radius: 12px;
}
button:focus-visible .motion-pill .motion-pill-label {
  transform: translateX(39px) !important;
}
button:focus-visible .motion-pill .motion-pill-arrow {
  transform: translateX(-146px) !important;
}
@media (min-width: 768px) {
  .enquiry-layout {
    flex-direction: row;
  }
  .enquiry-copy {
    width: 60%;
  }
  .enquiry-image {
    width: 40%;
    padding: 24px;
  }
  .enquiry-image img {
    height: 100%;
  }
}

#welcome.welcome-dialog {
  width: calc(100% - 48px);
  max-width: 672px;
  max-height: 90dvh;
  border-radius: 24px;
  overflow: visible;
  box-shadow: 0 20px 25px -5px #0000001a;
}
#welcome::backdrop {
  background: transparent;
  backdrop-filter: blur(8px);
}
#welcome .dialog-close {
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  border: 2px solid white;
  font-size: 26px;
  box-shadow: 0 10px 15px -3px #0000001a;
}
.welcome-content {
  padding: 40px;
}
.welcome-images {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.welcome-images > div {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}
.welcome-images > div img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.welcome-logo {
  flex-shrink: 0;
  width: 60px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
}
.welcome-content h2 {
  text-align: center;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}
.welcome-linebreak {
  display: none;
}
@media (min-width: 640px) {
  .welcome-content {
    padding: 48px;
  }
  .welcome-images {
    gap: 24px;
    margin-bottom: 32px;
  }
  .welcome-images > div img {
    width: 120px;
    height: 120px;
  }
  .welcome-content h2 {
    font-size: 20px;
  }
  .welcome-logo {
    max-height: 60px;
  }
  .welcome-linebreak {
    display: initial;
  }
}
@media (min-width: 1024px) {
  .welcome-content {
    padding: 64px;
  }
  .welcome-images {
    gap: 32px;
  }
  .welcome-images > div img {
    width: 250px;
    height: 250px;
  }
  .welcome-logo {
    width: 90px;
    max-height: 100px;
  }
  .welcome-content h2 {
    font-size: 24px;
  }
}

/* Menu typography and spacing follow the original responsive utilities. */
.site-menu {
  padding-right: var(--dialog-scrollbar-width, 0px);
}
.menu-story p,
.menu-ai > p,
.menu-offer p {
  font-family: var(--font-product-sans-medium), sans-serif;
}
.menu-story p {
  line-height: 1.25;
}
.menu-ai > p {
  line-height: 1.25;
}
.menu-offer {
  padding: 0;
}
.menu-offer > div {
  position: absolute;
  top: 16px;
  right: 16px;
  max-width: 70%;
}
.menu-offer p {
  line-height: 1.4;
}
.menu-contact p {
  line-height: 1.5;
}
.menu-socials a:hover {
  background: transparent;
  transform: none;
}
.menu-offer button:hover {
  transform: none;
}
@media (min-width: 1024px) {
  .menu-links {
    margin-bottom: 64px;
  }
  .menu-ai-link {
    font-size: 14px;
    padding: 8px 16px;
    gap: 16px;
    font-weight: 500;
  }
  .menu-ai-link span:last-child {
    line-height: 20px;
  }
  .menu-ai {
    gap: 4px;
    padding-right: 8px;
  }
}
html.lenis {
  scroll-behavior: auto;
}
.testimonial-progress {
  display: none;
  position: absolute;
  top: 8px;
  left: 4px;
  width: calc(100% - 8px);
  cursor: pointer;
  accent-color: white;
}
.testimonial-video.is-playing .testimonial-progress {
  display: block;
}
