/* ==========================================================================
   Aurora GP Lab Inc. — site stylesheet
   Brand tokens and layout values come from the Aurora GP Lab design system.
   ========================================================================== */

/* --------------------------------------------------------------- webfonts */
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/gilroy-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/gilroy-semibold-italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Big Caslon";
  src: url("../fonts/big-caslon.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------------------------------------------- tokens */
:root {
  /* brand palette */
  --petrol-900: #022b37;
  --petrol-800: #033c4d;
  --petrol-700: #0a5560;
  --teal-600:   #0f686f;
  --teal-500:   #39a5a5;
  --aqua-200:   #bfdfdf;
  --aqua-100:   #e3f0ef;
  --cream-100:  #f8f7f1;
  --cream-50:   #f1f0e9;
  --white:      #ffffff;
  --blaze:      #ee7230;
  --blaze-600:  #d75f22;

  --ink-900: #021f28;
  --ink-700: #1d3b44;
  --ink-500: #4a6068;
  --ink-300: #8fa1a6;
  --ink-200: #c2cdce;
  --ink-100: #dfe5e3;

  --border-hairline: var(--ink-100);
  --border-default:  var(--ink-200);
  --focus-ring:      rgba(15, 104, 111, 0.40);
  --danger:          #b4452f;
  --text-faint:      var(--ink-300);

  /* type */
  --font-sans:    "Gilroy", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Big Caslon", "Big Caslon FB", "Hoefler Text", Georgia, serif;

  /* layout */
  --pg: 40px;
  --secY: 88px;
  --heroTop: 112px;
  --heroBot: 84px;
  --gapLg: 64px;
  --maxw: 1180px;

  /* heading scale */
  --h1a: 52px;
  --h1b: 58px;
  --h1c: 48px;
  --h2a: 46px;
  --h2b: 40px;

  /* grid presets */
  --col2:  1fr 0.86fr;
  --col2e: 1fr 1fr;
  --col2a: 0.9fr 1.1fr;
  --col2b: 1.1fr 0.9fr;
  --col2c: 1.05fr 0.95fr;
  --col3:  repeat(3, 1fr);
  --col4:  repeat(4, 1fr);
  --colFoot: 1.4fr 1fr 1fr 1fr;
  --divL: 1px solid var(--border-hairline);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--petrol-800);
  font-family: var(--font-sans);
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p { margin: 0; }

a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--petrol-800); }

img { max-width: 100%; }

/* <picture> wraps the WebP/JPEG pair on most images. Taking it out of the
   layout keeps the <img> as the real grid/flex child, so the sizing rules
   below (height:100%, aspect-ratio, object-fit) still apply to it. */
picture { display: contents; }
/* With the <picture> out of the layout its <source> would otherwise become a
   grid/flex item of its own and occupy a column. */
picture > source { display: none; }

:focus-visible {
  outline: 2px solid var(--teal-600);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--petrol-800);
  color: var(--cream-50);
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: var(--cream-50); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pg);
  padding-right: var(--pg);
}

/* --------------------------------------------------------- scroll reveal */
@keyframes reveal-fade {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
[data-reveal] {
  animation: reveal-fade linear both;
  animation-timeline: view();
  animation-range: entry 0% cover 25%;
}
@supports not (animation-timeline: view()) {
  [data-reveal] { opacity: 1; transform: none; animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; animation: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  padding: 15px 28px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out);
}
.btn--primary {
  background: var(--blaze);
  border-color: var(--blaze);
  color: var(--cream-50);
}
.btn--primary:hover {
  background: var(--blaze-600);
  border-color: var(--blaze-600);
  color: var(--cream-50);
}
.btn--outline {
  background: transparent;
  border-color: var(--blaze);
  color: var(--blaze);
}
.btn--outline:hover { background: var(--blaze); color: var(--cream-50); }
.btn--sm { font-size: 14px; padding: 10px 20px; border-radius: 8px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--border-hairline);
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pg);
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.wordmark {
  display: flex;
  align-items: center;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--petrol-800);
  white-space: nowrap;
}
.wordmark:hover { color: var(--petrol-800); }
.wordmark span { color: var(--ink-300); }

.nav-desktop { display: flex; align-items: center; gap: 22px; }
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 14.5px;
  color: var(--ink-700);
  padding: 28px 0;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: 0;
  font-family: inherit;
  font-weight: inherit;
}
.nav-link:hover { color: var(--petrol-800); }
.nav-link[aria-current="page"]::after,
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 24px;
  height: 1.5px;
  background: var(--teal-500);
}
.nav-link--logo:hover { opacity: .75; }
.nav-link--logo img { height: 16px; width: auto; display: block; }

/* NuVea dropdown */
.nav-drop { position: relative; padding: 28px 0; }
.nav-drop__trigger {
  position: relative;
  font-size: 14.5px;
  color: var(--ink-700);
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-weight: inherit;
}
.nav-drop__trigger:hover { color: var(--petrol-800); }
.nav-drop__trigger[aria-current="page"]::after,
.nav-drop__trigger.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 1.5px;
  background: var(--teal-500);
}
.nav-drop__panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(3, 60, 77, 0.14);
  padding: 8px;
  min-width: 170px;
  z-index: 30;
  display: none;
}
.nav-drop.is-open .nav-drop__panel { display: block; }
.nav-drop__panel a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink-700);
  border-radius: 8px;
  white-space: nowrap;
}
.nav-drop__panel a:hover {
  background: rgba(191, 223, 223, 0.16);
  color: var(--petrol-800);
}

.header-actions { display: flex; align-items: center; gap: 14px; margin-left: 4px; }
.header-phone {
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--teal-600);
  white-space: nowrap;
}
.header-phone:hover { color: var(--petrol-800); }

/* mobile controls */
.header-mobile { display: none; align-items: center; gap: 10px; }
.header-mobile .btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
.hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  flex: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--petrol-800);
}

.nav-mobile {
  position: fixed;
  left: 0; right: 0;
  top: 78px; bottom: 0;
  background: var(--cream-50);
  z-index: 40;
  padding: 12px var(--pg) 32px;
  overflow-y: auto;
  display: none;
  flex-direction: column;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: 18px;
  color: var(--petrol-800);
  border-bottom: 1px solid var(--border-hairline);
}
.nav-mobile__sub { display: flex; flex-direction: column; padding-left: 16px; }
.nav-mobile__sub a {
  min-height: 44px;
  font-size: 15px;
  color: var(--ink-700);
  border-bottom: 0;
}
.nav-mobile__sub a:last-child { border-bottom: 1px solid var(--border-hairline); }
.nav-mobile__nodivider { border-bottom: 0 !important; }
.nav-mobile__login {
  justify-content: center;
  min-height: 48px;
  margin-top: 24px;
  border: 1px solid var(--blaze) !important;
  border-radius: 8px;
  font-size: 16px;
  color: var(--blaze) !important;
}
.nav-mobile__call {
  justify-content: center;
  min-height: 44px !important;
  margin-top: 16px;
  font-size: 15px !important;
  color: var(--ink-500) !important;
  border-bottom: 0 !important;
}

/* ------------------------------------------------------------------- hero */
.hero-ground {
  background-image:
    linear-gradient(to left, rgba(3, 60, 77, 0.94) 0%, rgba(15, 104, 111, 0.86) 65%),
    url("../img/aurora-teal-texture-background.jpg");
  background-color: var(--teal-600);
  background-size: cover, cover;
  background-position: center, center;
}
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--heroTop) var(--pg) var(--heroBot);
  display: grid;
  grid-template-columns: var(--col2);
  gap: 48px;
  align-items: center;
}
.hero--even { grid-template-columns: var(--col2e); gap: var(--gapLg); }
.hero h1 {
  margin-top: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cream-50);
}
.hero p {
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--cream-50);
  max-width: 520px;
}
.hero .cta-row { margin-top: 38px; }
.serif {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--aqua-100);
}
.hero__media {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__img {
  width: 100%;
  /* height:auto is required: the width/height attributes on <img> are
     presentational hints that would otherwise pin the height and make the
     browser ignore aspect-ratio. The attributes stay, for zero layout shift. */
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s var(--ease-out);
}
.hero__img:hover { transform: scale(1.035); }
.hero__img--contain {
  object-fit: contain;
  background: rgba(3, 60, 77, 0.35);
}

/* See Z hero lays the wordmark inline with the headline */
.hero h1.hero__h1--inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 16px;
  line-height: 1.05;
}
.hero__h1-serifrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__h1-serifrow img { height: 52px; width: auto; display: inline-block; order: -1; }

/* --------------------------------------------------------- tagline band */
.tagline-band {
  background: var(--aqua-200);
  text-align: center;
  padding: 22px var(--pg);
  border-bottom: 1px solid var(--border-hairline);
}
.tagline-band span {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  color: var(--petrol-800);
}

/* --------------------------------------------------------------- sections */
.section { max-width: var(--maxw); margin: 0 auto; padding: var(--secY) var(--pg); }
.section--flush { padding-top: 0; padding-bottom: 0; }
.rule-top { border-top: 1px solid var(--border-hairline); }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-600);
}
.eyebrow--sm { font-size: 11.5px; }
.label-caps {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
}

.h2a { font-size: var(--h2a); line-height: 1.1; letter-spacing: -0.02em; color: var(--petrol-800); }
.h2b { font-size: var(--h2b); line-height: 1.1; letter-spacing: -0.02em; color: var(--petrol-800); }
.h2a .muted, .h2b .muted { color: var(--ink-300); }

/* --------------------------------------------------------- product cards */
.card-grid { display: grid; grid-template-columns: var(--col3); gap: 28px; }
.card {
  background: var(--white);
  border: 1px solid var(--border-hairline);
  border-radius: 22px;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(3, 60, 77, 0.14); }
.card h3 {
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--petrol-800);
}
.card h3 .muted { color: var(--ink-300); }
.card p { font-size: 16px; line-height: 1.65; color: var(--ink-500); }
.card__logo { height: 34px; display: block; margin: 2px 0; width: auto; }
.card__cta {
  margin-top: auto;
  padding-top: 22px;
  font-size: 15px;
  color: var(--teal-600);
}
.card__cta:hover { color: var(--petrol-800); }

/* ------------------------------------------------------- feature triptych */
.triptych {
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  display: grid;
  grid-template-columns: var(--col3);
}
.triptych > div { padding: 44px var(--pg) 46px; }
.triptych > div + div { border-left: var(--divL); }
.triptych img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
  background: var(--cream-50);
  border-radius: 16px;
  margin-bottom: 24px;
  display: block;
  transition: transform .5s var(--ease-out);
}
.triptych img:hover { transform: scale(1.05); }
.triptych h3 { font-size: 20px; color: var(--petrol-800); font-weight: 600; }
.triptych p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--ink-500); }

/* ------------------------------------------------------------ video slot */
.video-slot {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--cream-50);
  border: 1px solid var(--border-hairline);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
  overflow: hidden;
}
.video-slot iframe, .video-slot video { width: 100%; height: 100%; border: 0; border-radius: 22px; }
.video-slot__badge {
  width: 64px; height: 64px;
  border-radius: 999px;
  background: var(--aqua-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.video-slot h3 { font-size: 17px; color: var(--petrol-800); font-weight: 600; }
.video-slot p { font-size: 14px; line-height: 1.6; color: var(--ink-300); max-width: 360px; }

.pullquote { max-width: 720px; margin: 40px auto 0; text-align: center; }
.pullquote p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.45;
  color: var(--petrol-800);
}
.pullquote .label-caps { margin-top: 20px; }

/* ----------------------------------------------------------- testimonials */
.testimonials { margin-top: 56px; display: grid; grid-template-columns: var(--col3); gap: 0; }
.testimonials blockquote { margin: 0; padding-right: 44px; }
.testimonials blockquote + blockquote { padding: 0 44px; border-left: var(--divL); }
.testimonials blockquote:last-child { padding: 0 0 0 44px; border-left: var(--divL); }
.testimonials p {
  font-size: 20px;
  line-height: 1.55;
  color: var(--petrol-800);
}
.testimonials cite { font-style: normal; display: block; }
.testimonials .label-caps:first-of-type { margin-top: 26px; }
.testimonials .label-caps + .label-caps { margin-top: 6px; }

/* ------------------------------------------------------------- CTA bands */
.cta-band { background: var(--teal-600); }
.cta-band__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--secY) var(--pg);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gapLg);
  flex-wrap: wrap;
}
.cta-band__inner--center { align-items: center; gap: 48px; }
.cta-band h2 {
  font-size: var(--h2a);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cream-50);
  max-width: 620px;
}
.cta-band p {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--cream-50);
  max-width: 560px;
}
.cta-band__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-band__contact { display: flex; flex-direction: column; gap: 6px; }
.cta-band__contact a { font-size: 15px; color: var(--cream-50); }
.cta-band__contact a + a { color: var(--aqua-100); }
.cta-band__contact a:hover { color: var(--white); }

/* -------------------------------------------------------------- accordion */
.accordion { border-top: 1px solid var(--border-hairline); }
.accordion__item { border-bottom: 1px solid var(--border-hairline); }
.accordion__trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
  padding: 26px 4px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  transition: background .2s var(--ease-out);
}
.accordion__trigger:hover { background: rgba(191, 223, 223, 0.10); }
.accordion__title { font-size: 22px; color: var(--petrol-800); font-weight: 600; }
.accordion__mark {
  font-size: 22px;
  line-height: 1.2;
  color: var(--teal-500);
  width: 20px;
  text-align: center;
  flex: none;
}
.accordion__panel { display: none; padding: 0 4px 26px; }
.accordion__item.is-open .accordion__panel { display: block; }
.accordion__panel p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-500);
  max-width: 480px;
}
/* compact variant — See Z, NuVea Toric */
.accordion--sm .accordion__trigger { gap: 24px; }
.accordion--sm .accordion__title { font-size: 18px; }
.accordion--sm .accordion__mark { font-size: 20px; width: 18px; }
.accordion--sm .accordion__panel p { font-size: 15.5px; line-height: 1.6; }
/* tighter still — NuVea Scleral */
.accordion--xs .accordion__trigger { padding: 22px 4px; gap: 24px; }
.accordion--xs .accordion__title { font-size: 17px; }
.accordion--xs .accordion__mark { font-size: 20px; width: 18px; }
.accordion--xs .accordion__panel { padding-bottom: 22px; }
.accordion--xs .accordion__panel p { font-size: 15px; line-height: 1.6; }

/* ------------------------------------------------------- Design Studio pg */
.studio-split {
  display: grid;
  grid-template-columns: var(--col2e);
  gap: var(--gapLg);
  align-items: start;
}
.studio-sticky {
  border-radius: 22px;
  overflow: hidden;
  height: 560px;
  position: sticky;
  top: 100px;
}
.studio-sticky img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform .5s var(--ease-out);
}
.studio-sticky img:hover { transform: scale(1.03); }

.reassure {
  display: grid;
  grid-template-columns: var(--col4);
  border-top: 1px solid var(--border-hairline);
}
.reassure > div { padding: 30px 0; font-size: 20px; color: var(--petrol-800); }
.reassure > div + div { padding-left: var(--pg); border-left: var(--divL); }

/* ------------------------------------------------------------- See Z page */
.seez-split { display: grid; grid-template-columns: var(--col2a); gap: var(--gapLg); align-items: start; }
.seez-split--flip { grid-template-columns: var(--col2b); }
.product-logo { display: block; height: 46px; margin-top: 26px; width: auto; }
.product-intro { margin-top: 22px; font-size: 18px; line-height: 1.65; color: var(--ink-500); }
.square-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  transition: transform .5s var(--ease-out);
}
.square-img:hover { transform: scale(1.035); }

/* ------------------------------------------------------------- NuVea page */
/* The rule and spacing separate one design from the next, so they belong to
   the gap between siblings rather than to every block. */
.nuvea-section + .nuvea-section {
  border-top: 1px solid var(--border-hairline);
  margin-top: 64px;
  padding-top: 52px;
}
/* Every anchor target clears the 78px sticky header. The site JS relies on
   this via scrollIntoView, and it is also what makes plain hash links land
   correctly with JavaScript disabled. */
[id] { scroll-margin-top: 90px; }
#demo-form { scroll-margin-top: 100px; }

/* ------------------------------------------------------------- About page */
.split-2 { border-top: 1px solid var(--border-hairline); display: grid; grid-template-columns: var(--col2e); }
.split-2 > div:first-child { padding: 52px 56px 56px 0; }
.split-2 > div:last-child  { padding: 52px 0 56px 56px; border-left: var(--divL); }
.split-2 p { margin-top: 22px; font-size: 22px; line-height: 1.55; color: var(--petrol-800); }

.facility { margin-top: 32px; display: grid; grid-template-columns: var(--col2c); gap: var(--gapLg); align-items: start; }
.facility p { margin-top: 26px; font-size: 19px; line-height: 1.65; color: var(--ink-500); max-width: 560px; }
.spec-list { margin-top: 44px; border-top: 1px solid var(--border-hairline); }
.spec-row {
  padding: 24px 0;
  display: flex;
  align-items: baseline;
  gap: 24px;
  border-bottom: 1px solid var(--border-hairline);
}
.spec-row:last-child { border-bottom: 0; }
.spec-row svg { flex: none; align-self: center; }
.spec-row__term {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;
  color: var(--petrol-800);
  min-width: 180px;
}
.facility__img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  display: block;
  transition: transform .5s var(--ease-out);
}
.facility__img:hover { transform: scale(1.03); }

.team-grid { margin-top: 36px; display: grid; grid-template-columns: var(--col3); gap: 32px; }
.team-photo { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; }
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease-out);
}
.team-photo img:hover { transform: scale(1.035); }
.team-grid h3 { margin-top: 24px; font-size: 22px; color: var(--petrol-800); text-align: center; font-weight: 600; }
.team-grid .label-caps { margin-top: 4px; letter-spacing: 0.1em; text-align: center; }
.team-grid p { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--ink-500); }

.tall-frame { border-radius: 22px; overflow: hidden; height: 460px; }
.tall-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform .5s var(--ease-out);
}
.tall-frame img:hover { transform: scale(1.035); }

/* ----------------------------------------------------------- demo form */
.form-card {
  background: var(--white);
  border: 1px solid var(--border-hairline);
  border-radius: 22px;
  padding: 48px 56px 56px;
  max-width: 760px;
  margin: 0 auto;
  scroll-margin-top: 100px;
}
.form-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.form-card__head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  color: var(--petrol-800);
}
.form-card__step {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-300);
  white-space: nowrap;
}
.step-bars { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.step-bars span {
  height: 3px;
  border-radius: 999px;
  background: var(--border-hairline);
  transition: background .25s var(--ease-out);
}
.step-bars span.is-done { background: var(--teal-500); }

.form-step { display: none; }
.form-step.is-active { display: block; }
.form-step > p:first-child {
  margin-top: 26px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-500);
  max-width: 560px;
}

.trust-row {
  margin-top: 26px;
  padding: 16px 0 18px;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
}
.trust-row div {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-500);
}
.trust-row svg { flex: none; }

.field-grid { margin-top: 28px; display: grid; grid-template-columns: var(--col2e); gap: 20px; }
.field-stack { margin-top: 28px; display: grid; gap: 20px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; color: var(--petrol-800); }
.field .req { color: var(--blaze); }
.field input,
.field select {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--petrol-800);
  transition: border-color .12s, box-shadow .12s;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23033C4D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 14px center;
}
.field input::placeholder { color: var(--ink-300); }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: var(--danger); }
.field__error { font-size: 12px; color: var(--danger); min-height: 0; }
.field__error:empty { display: none; }

/* honeypot — hidden from people, visible to naive bots */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-actions { margin-top: 34px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: var(--ink-300);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: inherit;
}
.btn-back:hover { color: var(--petrol-800); }
.form-alt { margin-top: 22px; font-size: 14px; color: var(--ink-300); }
.booking-alt { margin-top: 14px; }
.form-alt a { color: var(--ink-500); }
.form-alt a:hover { color: var(--petrol-800); }

.form-error-summary {
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid var(--danger);
  border-radius: 12px;
  background: rgba(180, 69, 47, 0.06);
  color: var(--danger);
  font-size: 15px;
  line-height: 1.5;
}
.form-error-summary:empty { display: none; }

/* Microsoft Bookings embed */
.booking-slot {
  margin-top: 28px;
  width: 100%;
  min-height: 520px;
  aspect-ratio: 16 / 12;
  background: var(--cream-50);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
}
.booking-slot iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  display: block;
}
.booking-slot--embedded { padding: 0; display: block; }
.booking-slot .eyebrow { color: var(--teal-500); letter-spacing: 0.18em; font-size: 12px; }
.booking-slot h3 { font-size: 17px; color: var(--petrol-800); font-weight: 600; }
.booking-slot p { font-size: 14px; line-height: 1.6; color: var(--ink-300); max-width: 320px; }

.form-done { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.form-done__badge {
  width: 52px; height: 52px;
  border-radius: 999px;
  background: var(--aqua-200);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-done h3 { font-size: 26px; line-height: 1.2; color: var(--petrol-800); font-weight: 600; }
.form-done p { font-size: 16px; line-height: 1.65; color: var(--ink-500); max-width: 520px; }

/* ----------------------------------------------------------------- footer */
.site-footer { background: var(--white); border-top: 1px solid var(--border-hairline); }
.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px var(--pg) 32px;
  display: grid;
  grid-template-columns: var(--colFoot);
  gap: 48px;
}
.site-footer__brand div:first-child {
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--petrol-800);
}
.site-footer__brand span { color: var(--ink-300); }
.site-footer__brand p { margin-top: 20px; font-size: 16px; color: var(--ink-500); }
.site-footer h2 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-600);
  font-weight: 600;
}
.site-footer ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer li, .site-footer li a { font-size: 15px; color: var(--ink-700); }
.site-footer li a:hover { color: var(--petrol-800); }
.site-footer__legal {
  max-width: var(--maxw);
  margin: 32px auto 0;
  padding: 24px var(--pg) 0;
  border-top: 1px solid var(--border-hairline);
  font-size: 13px;
  color: var(--text-faint);
}

/* ================================================================ mobile */
@media (max-width: 1149px) {
  .nav-desktop { display: none !important; }
  .header-mobile { display: flex !important; }
}

@media (max-width: 767px) {
  :root {
    --pg: 20px;
    --secY: 56px;
    --heroTop: 56px;
    --heroBot: 48px;
    --gapLg: 32px;
    --h1a: 34px; --h1b: 34px; --h1c: 32px;
    --h2a: 30px; --h2b: 27px;
    --col2: 1fr; --col2e: 1fr; --col2a: 1fr; --col2b: 1fr; --col2c: 1fr;
    --col3: 1fr; --col4: 1fr; --colFoot: 1fr;
    --divL: none;
  }

  /* hero image moves above the copy and is capped */
  .hero { gap: 32px; }
  .hero__media, .hero > img { order: -1; }
  .hero__media { aspect-ratio: auto !important; }
  .hero__img, .hero > img {
    aspect-ratio: auto !important;
    height: auto !important;
    max-height: 240px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    margin: 0 auto;
  }
  .hero h1 { margin-top: 0; }

  .cta-row { flex-direction: column; width: 100%; }
  .cta-row .btn { width: 100%; min-height: 44px; }

  .card-grid { gap: 20px; }
  .triptych > div { padding: 32px 0 36px; }
  .triptych > div + div { border-left: none; border-top: 1px solid var(--border-hairline); }

  .testimonials { gap: 40px; }
  .testimonials blockquote,
  .testimonials blockquote + blockquote,
  .testimonials blockquote:last-child { padding: 0; border-left: none; }

  .reassure > div + div { padding-left: 0; border-left: none; border-top: 1px solid var(--border-hairline); }

  .studio-sticky { position: static !important; height: auto !important; aspect-ratio: 4 / 3; }
  .tall-frame { height: auto !important; aspect-ratio: 4 / 3; }
  .facility__img { height: auto !important; aspect-ratio: 4 / 3; }

  .split-2 > div:first-child { padding: 40px 0 36px; }
  .split-2 > div:last-child { padding: 36px 0 40px; border-left: none; border-top: 1px solid var(--border-hairline); }

  .spec-row { flex-wrap: wrap; gap: 12px 16px; }
  .spec-row__term { min-width: 0; font-size: 28px; }

  .team-grid { gap: 40px; }

  .form-card { padding: 32px 20px 36px; }
  .form-actions { flex-direction: column-reverse; align-items: stretch; }
  .form-actions .btn { width: 100%; }
  .booking-slot { min-height: 400px; aspect-ratio: 3 / 4; }
  .booking-slot iframe { min-height: 400px; }
  .video-slot { aspect-ratio: auto; min-height: 240px; padding: 28px 20px; }

  .wordmark { font-size: 16px; }
  .site-header__inner { gap: 8px; }
  .header-mobile .btn { font-size: 12.5px; padding: 0 10px; }

  .accordion__trigger { gap: 16px; }
  .accordion__title { font-size: 19px; }

  .hero__h1-serifrow img { height: 34px; }
  .tagline-band span { font-size: 21px; }

  /* Touch targets: the design calls for >=44px on mobile. Height is added
     around the text, so the type sizes and the desktop layout are unchanged. */
  .wordmark { min-height: 44px; }
  .card__cta { display: inline-flex; align-items: center; min-height: 44px; }
  .site-footer ul { gap: 0; }
  .site-footer li a,
  .site-footer li { display: flex; align-items: center; min-height: 44px; }
  .triptych a[href^="tel:"],
  .section a[href^="tel:"],
  .cta-band__contact a { display: inline-flex; align-items: center; min-height: 44px; }
  .cta-band__contact { gap: 0; }
}
