/* The Fold Dentistry — Invisalign design preview */

@font-face {
  font-family: "Publica Play";
  src: url("assets/publica-play-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #070C73;
  --ink: #10144A;
  --muted: #474D7C;
  --pale: #E4EFFF;
  --pale-deep: #D3E3FC;
  --mist: #F6FAFD;
  --white: #FFFFFF;
  --line: rgba(7, 12, 115, 0.14);
  --line-strong: rgba(7, 12, 115, 0.24);
  --on-navy: #FFFFFF;
  --on-navy-soft: #C9D6F5;
  --on-navy-line: rgba(228, 239, 255, 0.22);
  --error: #A3221B;

  --font: "Publica Play", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  --radius-lg: clamp(22px, 2.6vw, 36px);
  --radius-md: 16px;
  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--mist);
  font-synthesis: none;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, p, figure, blockquote, ol, ul { margin: 0; }
h1, h2, h3, strong, b { font-weight: 400; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
address { font-style: normal; }

::selection { background: var(--pale-deep); color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), 1240px);
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 0.8125rem;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 28px;
  height: 1px;
  background: currentColor;
}
.eyebrow--light { color: var(--pale); }

.h2 {
  font-size: clamp(2.1rem, 1.35rem + 2.6vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: balance;
}

.section { padding-block: clamp(80px, 10vw, 148px); }

/* ---------- Buttons & links ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 0 10px 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 1rem;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 2px 4px -2px rgba(7, 12, 115, 0.45),
    0 14px 28px -14px rgba(7, 12, 115, 0.6);
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    background-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  transition: transform 0.35s var(--ease-out), background-color 0.2s;
}
.btn:hover {
  background: #0A1190;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 4px 8px -4px rgba(7, 12, 115, 0.45),
    0 22px 36px -16px rgba(7, 12, 115, 0.6);
}
.btn:hover .btn__icon {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.22);
}
.btn:active {
  transform: translateY(1px) scale(0.985);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 1px 2px rgba(7, 12, 115, 0.4);
  transition-duration: 0.08s;
}
.btn[disabled] {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: none;
}
.btn--small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.9375rem;
}
.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 0.2s, text-underline-offset 0.25s var(--ease-out);
}
.text-link:hover {
  text-decoration-color: currentColor;
  text-underline-offset: 4px;
}
.text-link--light { color: var(--white); text-decoration-color: rgba(255, 255, 255, 0.4); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 250, 253, 0.84);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--header-h);
}
.brand {
  display: block;
  flex: none;
  border-radius: 6px;
}
.brand img,
.site-footer img { mix-blend-mode: multiply; /* melts any white matte into the cool off-white */ }
.brand img { width: auto; height: 56px; }

.preview-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}
.preview-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 3px var(--pale);
}

.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  gap: 4px;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--ink);
  transition: background-color 0.2s, color 0.2s;
}
.site-nav a:hover { background: var(--pale); color: var(--navy); }

/* ---------- Hero ---------- */

.hero {
  --content: min(100% - 2 * var(--gutter), 1240px);
  display: grid;
  max-width: 1600px;
  margin-inline: auto;
  /* Copy aligns with .wrap; the product stage has a bounded bleed. */
  grid-template-columns:
    minmax(0, 1fr)
    calc(var(--content) * 0.565)
    calc(var(--content) * 0.435)
    minmax(0, 1fr);
  padding-top: clamp(16px, 3vw, 40px);
  padding-bottom: clamp(24px, 4vw, 48px);
}

.hero__copy {
  grid-column: 2;
  align-self: center;
  padding: 24px clamp(28px, 5vw, 80px) 24px 0;
}

.hero__title {
  font-size: clamp(2.75rem, 1.5rem + 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.hero__line { display: block; }
.hero__sub {
  max-width: 17em;
  margin-top: 0.55em;
  font-size: clamp(1.35rem, 1rem + 1.2vw, 2rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

.hero__lead {
  max-width: 33em;
  margin: 28px 0 34px;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.6;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 440px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.rating__score {
  font-size: 3rem;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.rating__score span {
  font-size: 1.125rem;
  letter-spacing: 0;
  color: var(--muted);
}
.rating__body { display: grid; gap: 2px; }
.rating__text { font-size: 1rem; color: var(--ink); }
.rating__text a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-strong);
}
.rating__text a:hover { text-decoration-color: currentColor; }
.rating__meta { font-size: 0.8125rem; color: var(--muted); }

.meter {
  position: relative;
  display: inline-block;
  width: max-content;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 2px;
}
.meter::before { content: "★★★★★"; color: var(--pale-deep); }
.meter__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 95.5%;
  overflow: hidden;
  white-space: nowrap;
}
.meter__fill::before { content: "★★★★★"; color: var(--navy); }

/* Stage: product photograph as the hero object */
.stage {
  --py: 0px;
  --rot: 0deg;
  position: relative;
  grid-column: 3 / 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(440px, 50vw, 680px);
  padding: 88px clamp(28px, 3.4vw, 48px) 164px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background:
    radial-gradient(60% 46% at 46% 50%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(160deg, var(--pale) 0%, #EAF2FF 46%, var(--pale-deep) 100%);
  isolation: isolate;
  overflow: clip;
}
.stage::before,
.stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(7, 12, 115, 0.1);
  translate: -50% -50%;
  pointer-events: none;
}
.stage::before { width: 118%; aspect-ratio: 1; }
.stage::after { width: 78%; aspect-ratio: 1; border-color: rgba(7, 12, 115, 0.07); }

.stage__label {
  position: absolute;
  top: 30px;
  left: clamp(28px, 3.4vw, 48px);
  right: clamp(28px, 3.4vw, 48px);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.stage__object {
  position: relative;
  width: 108%;
  margin-left: -6%;
  aspect-ratio: 600 / 333;
}
.stage__object img {
  width: 100%;
  mix-blend-mode: multiply;
  transform-origin: 50% 60%;
}

.stage__object {
  transform: translate(var(--mx, 0px), calc(var(--py) + var(--my, 0px))) rotate(calc(var(--rot) + var(--mr, 0deg)));
  transition: transform 0.6s var(--ease-out);
}
.stage__float { position: relative; transform-origin: 50% 60%; }
.stage.is-engaged .stage__float { animation-play-state: paused; }
.stage__float.is-paused { animation-play-state: paused; }
.stage__object::after {
  /* soft contact shadow */
  content: "";
  position: absolute;
  z-index: -1;
  left: 14%;
  right: 8%;
  bottom: -9%;
  height: 16%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(7, 12, 115, 0.16), rgba(7, 12, 115, 0));
}

.callouts { padding: 0; list-style: none; }
.callout {
  --len: 46px;
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 0;
  height: 0;
}
.callout::before {
  /* anchor dot */
  content: "";
  position: absolute;
  left: -5px;
  top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--navy);
  box-shadow: 0 0 0 5px rgba(7, 12, 115, 0.08);
}
.callout::after {
  /* leader line */
  content: "";
  position: absolute;
  left: 0;
  width: 1px;
  height: var(--len);
  background: var(--navy);
  opacity: 0.55;
}
.callout--up::after { bottom: 5px; transform-origin: 50% 100%; }
.callout--down::after { top: 5px; transform-origin: 50% 0; }

.callout__label {
  position: absolute;
  left: -14px;
  padding: 6px 12px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.8125rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--navy);
  white-space: nowrap;
  min-height: 44px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
  box-shadow: 0 8px 18px -12px rgba(7, 12, 115, 0.45);
}
.callout__label:disabled { cursor: default; }
.callout__label:not(:disabled):hover { box-shadow: 0 5px 20px rgba(7, 12, 115, 0.16); }
.js .callout__label[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.callout.is-active::before { background: var(--navy); box-shadow: 0 0 0 7px rgba(7, 12, 115, 0.1); }
.callout--up .callout__label { bottom: calc(var(--len) + 5px); }
.callout--down .callout__label { top: calc(var(--len) + 5px); }
.callout--end .callout__label { left: auto; right: -14px; }

.stage__foot {
  position: absolute;
  left: clamp(28px, 3.4vw, 48px);
  right: clamp(28px, 3.4vw, 48px);
  bottom: 26px;
  display: grid;
  gap: 12px;
}
.stage__detail { min-height: 72px; max-width: 440px; }
.stage__detail-title { color: var(--navy); font-size: 1rem; line-height: 1.4; }
.stage__detail-copy { margin-top: 5px; color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
.stage__detail.is-changing { animation: detail-in 0.35s var(--ease-out); }
.stage__ruler {
  height: 10px;
  background:
    repeating-linear-gradient(90deg, rgba(7, 12, 115, 0.5) 0 1px, transparent 1px 64px) left bottom / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, rgba(7, 12, 115, 0.28) 0 1px, transparent 1px 8px) left bottom / 100% 5px no-repeat;
  border-bottom: 1px solid rgba(7, 12, 115, 0.28);
}
.stage__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Everyday life ---------- */

.everyday__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.everyday__media {
  grid-column: 1 / span 5;
  grid-row: 1;
}
.everyday__copy {
  grid-column: 7 / span 6;
  grid-row: 1;
  padding-top: clamp(0px, 3vw, 40px);
}
.everyday .h2 { margin-bottom: clamp(36px, 4vw, 56px); }

.photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
}
.photo figcaption {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 5px 10px 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.wear {
  position: relative;
  width: min(88%, 360px);
  margin: -96px clamp(-40px, -3vw, 0px) 0 auto;
  padding: 28px 28px 26px;
  border-radius: 24px;
  background: var(--white);
  box-shadow:
    0 0 0 1px var(--line),
    0 36px 64px -36px rgba(7, 12, 115, 0.45);
}
.wear__num {
  font-size: clamp(3.4rem, 2.6rem + 2.4vw, 4.75rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--navy);
}
.wear__num span {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.wear__text {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
}

.benefits {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.benefits li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 6px 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.benefits__n {
  grid-row: span 2;
  padding-top: 0.6em;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: var(--navy);
}
.benefits h3 {
  font-size: clamp(1.4rem, 1.15rem + 0.8vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.benefits p {
  max-width: 32em;
  color: var(--muted);
}

/* ---------- Reviews ---------- */

.reviews {
  position: relative;
  margin-inline: clamp(8px, 1.4vw, 20px);
  padding-block: clamp(80px, 10vw, 140px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 60% at 85% 0%, rgba(64, 86, 214, 0.35) 0%, rgba(7, 12, 115, 0) 70%),
    var(--navy);
  color: var(--on-navy);
  overflow: hidden;
  isolation: isolate;
}
.reviews::before {
  /* echo of the brand arc */
  content: "";
  position: absolute;
  z-index: -1;
  right: -22%;
  top: -48%;
  width: min(1100px, 120vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(228, 239, 255, 0.12);
  box-shadow: inset 0 0 0 90px rgba(228, 239, 255, 0.025);
}
.reviews :focus-visible { outline-color: var(--white); }
.reviews .h2 { color: var(--white); }

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 40px);
  row-gap: 56px;
}
.reviews__intro { grid-column: 1 / span 4; }
.reviews__quotes { grid-column: 6 / span 7; }

.aggregate {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--on-navy-line);
}
.aggregate__score {
  font-size: clamp(4.5rem, 3rem + 5vw, 7rem);
  line-height: 0.85;
  letter-spacing: -0.055em;
  color: var(--pale);
}
.aggregate__score span {
  margin-left: 4px;
  font-size: 1.5rem;
  letter-spacing: 0;
  color: var(--on-navy-soft);
}
.aggregate__text {
  max-width: 22em;
  margin: 18px 0 8px;
  font-size: 0.9375rem;
  color: var(--on-navy-soft);
}

.quote blockquote p {
  font-size: 1.3125rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--white);
  hanging-punctuation: first;
}
.quote figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-top: 20px;
}
.quote__name { color: var(--white); }
.quote__meta {
  font-size: 0.875rem;
  color: var(--on-navy-soft);
}
.quote__meta a {
  color: var(--white);
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}
.quote__meta a:hover { text-decoration-color: currentColor; }
.stars {
  margin-right: 6px;
  letter-spacing: 2px;
  color: var(--pale);
}

.quote--lead blockquote p {
  font-size: clamp(1.85rem, 1.2rem + 2.3vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-indent: -0.42em;
  text-wrap: balance;
}
.quote--lead figcaption { margin-top: 28px; }

.quote-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: clamp(48px, 6vw, 72px);
}
.quote-pair .quote {
  padding-top: 26px;
  border-top: 1px solid var(--on-navy-line);
}

.reviews__note {
  margin-top: 48px;
  font-size: 0.8125rem;
  color: var(--on-navy-soft);
}

/* ---------- Process ---------- */

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 40px);
  row-gap: 20px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head > div { grid-column: 1 / span 7; }
.section-head__aside {
  grid-column: 9 / span 4;
  color: var(--muted);
}

/* Without JS: three readable cards */
.steps__panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.6vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow:
    0 0 0 1px var(--line),
    0 48px 80px -56px rgba(7, 12, 115, 0.4);
  overflow: hidden;
}
.step__n {
  position: absolute;
  top: clamp(16px, 2vw, 28px);
  right: clamp(20px, 3vw, 40px);
  font-size: clamp(4.5rem, 3rem + 5vw, 8.5rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: var(--pale);
  pointer-events: none;
}
.step h3 {
  position: relative;
  max-width: 14em;
  margin-top: clamp(40px, 6vw, 96px);
  font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.step > p:not([class]) {
  position: relative;
  max-width: 30em;
  margin: 16px 0 28px;
  font-size: 1.0625rem;
  color: var(--muted);
}
.step__ask {
  position: relative;
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--mist);
  border: 1px solid var(--line);
  color: var(--ink);
}
.step__ask span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

/* Enhanced: one-at-a-time step explainer */
.steps.is-enhanced {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
}
.steps__tabs {
  --active: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: 28px;
}
.steps__tabs[hidden] { display: none; }
.steps__tab {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 88px;
  padding: 16px 8px;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.6rem);
  letter-spacing: -0.015em;
  text-align: left;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.25s;
}
.steps__tab:last-of-type { border-bottom: 1px solid var(--line); }
.steps__tab:hover { color: var(--navy); }
.steps__tab:focus-visible { outline-offset: -3px; border-radius: 12px; }
.steps__tab[aria-selected="true"] { color: var(--navy); }
.steps__n {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  transition: background-color 0.3s var(--ease-out), color 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.steps__tab:active .steps__n { transform: scale(0.94); }
.steps__tab[aria-selected="true"] .steps__n {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.steps__track {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}
.steps__track span {
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(100% / 3);
  border-radius: 2px;
  background: var(--navy);
  transform: translateY(calc(var(--active) * 100%));
  transition: transform 0.5s var(--ease-out);
}

.steps.is-enhanced .steps__panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.steps.is-enhanced .step {
  grid-area: 1 / 1;
  min-height: 100%;
  transition: opacity 0.35s var(--ease-out), translate 0.45s var(--ease-out), visibility 0s;
}
.steps.is-enhanced .step:not(.is-active) {
  visibility: hidden;
  opacity: 0;
  translate: 0 12px;
  transition: opacity 0.2s, translate 0.2s, visibility 0s linear 0.2s;
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 40px);
  row-gap: 24px;
  margin-top: clamp(72px, 9vw, 120px);
}
.faq__head { grid-column: 1 / span 4; }
.faq__head h3 {
  font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.faq__head p { margin-top: 12px; color: var(--muted); }
.faq__list {
  grid-column: 6 / span 7;
  border-top: 1px solid var(--line-strong);
}
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px 0;
  font-size: clamp(1.125rem, 1.02rem + 0.35vw, 1.3rem);
  line-height: 1.3;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  border-radius: 8px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background-color 0.25s, border-color 0.25s;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: var(--navy);
  transition: transform 0.35s var(--ease-out), background-color 0.25s;
}
.faq__icon::after { transform: rotate(90deg); }
.faq summary:hover .faq__icon { background: var(--pale); border-color: transparent; }
.faq details[open] .faq__icon { background: var(--navy); border-color: var(--navy); }
.faq details[open] .faq__icon::before,
.faq details[open] .faq__icon::after { background: var(--white); }
.faq details[open] .faq__icon::after { transform: rotate(0deg); }
.faq details p {
  max-width: 36em;
  padding: 0 56px 26px 0;
  color: var(--muted);
}
.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.4s var(--ease-out), content-visibility 0.4s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }

/* ---------- Consultation ---------- */

.consult { padding-bottom: clamp(80px, 10vw, 136px); }

.consult__panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 40px);
  row-gap: 40px;
  align-items: center;
  padding: clamp(28px, 5.5vw, 80px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(55% 80% at 100% 100%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 70%),
    var(--pale);
  overflow: hidden;
  isolation: isolate;
}
.consult__panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -18%;
  bottom: -70%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(7, 12, 115, 0.08);
}
.consult__copy { grid-column: 1 / span 6; }
.consult__lead {
  max-width: 30em;
  margin-top: 22px;
  font-size: 1.125rem;
  color: var(--muted);
}

.visit {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.visit img {
  flex: none;
  width: 92px;
  aspect-ratio: 819 / 1000;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 16px 28px -18px rgba(7, 12, 115, 0.5);
}
.visit__label {
  margin-bottom: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}
.visit address {
  line-height: 1.45;
  color: var(--ink);
}

.form {
  grid-column: 8 / span 5;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 24px;
  background: var(--white);
  box-shadow:
    0 0 0 1px rgba(7, 12, 115, 0.06),
    0 48px 88px -48px rgba(7, 12, 115, 0.5);
}
.form__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.form__title {
  font-size: 1.375rem;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.form__tag {
  padding: 5px 10px 4px;
  border-radius: 999px;
  background: var(--pale);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.field { margin-top: 20px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9375rem;
  color: var(--ink);
}
.field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--mist);
  font-size: 1rem;
  color: var(--ink);
  outline: 2px solid transparent;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.field input:hover { border-color: rgba(7, 12, 115, 0.4); }
.field input:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(7, 12, 115, 0.3);
}
.field input[aria-invalid="true"] { border-color: var(--error); }
.field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(163, 34, 27, 0.25); }
.field__error {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--error);
}

.form .btn { margin-top: 28px; }
.form__fine {
  margin-top: 14px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
}
.form__noscript {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--mist);
  font-size: 0.875rem;
  color: var(--ink);
}
.form__status:empty { display: none; }
.form__status {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--mist);
  border: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--navy);
}
.form__status::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat,
    var(--navy);
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 48px;
  border-top: 1px solid var(--line);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
}
.site-footer img { width: auto; height: 48px; }
.site-footer__text {
  display: grid;
  gap: 4px;
  font-size: 0.875rem;
  color: var(--muted);
}
.site-footer__text a {
  color: var(--navy);
  text-underline-offset: 3px;
}

/* ---------- Mobile dock ---------- */

.dock { display: none; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .hero__line {
    animation: line-in 0.8s var(--ease-out) both;
  }
  .hero__line:nth-child(2) { animation-delay: 0.07s; }
  .hero__line:nth-child(3) { animation-delay: 0.14s; }

  .stage__object img {
    animation: object-in 1.2s var(--ease-out) 0.1s backwards;
  }
  .stage__float { animation: aligner-float 7s ease-in-out 1.3s infinite; }
  .callout::after {
    animation: draw 0.7s var(--ease-out) backwards;
    animation-delay: calc(0.65s + var(--i) * 0.12s);
  }
  .callout::before,
  .callout__label {
    animation: fade-in 0.5s var(--ease-out) backwards;
    animation-delay: calc(0.55s + var(--i) * 0.12s);
  }
  .callout__label { animation-delay: calc(0.95s + var(--i) * 0.12s); }

  .js [data-reveal].is-revealing {
    animation: rise 0.85s var(--ease-out) backwards;
    animation-delay: calc(var(--d, 0) * 90ms);
  }
}

@keyframes aligner-float {
  0%, 100% { transform: translateY(0) rotate(-0.35deg); }
  50% { transform: translateY(-5px) rotate(0.35deg); }
}
@keyframes detail-in {
  from { opacity: 0.4; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

@keyframes line-in {
  from { opacity: 0.25; transform: translateY(0.16em); }
  to { opacity: 1; transform: none; }
}
@keyframes object-in {
  from { opacity: 0; scale: 0.94; }
  to { opacity: 1; scale: 1; }
}
@keyframes draw {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .stage__object, .stage__float { transform: none; }
}

/* ---------- Responsive ---------- */

@media (min-width: 1600px) {
  .stage { border-radius: var(--radius-lg); }
}

@media (max-width: 1080px) {
  .site-nav a { padding: 0 12px; }
  .reviews__intro { grid-column: 1 / span 5; }
  .reviews__quotes { grid-column: 6 / span 7; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }

  .site-nav { display: none; }
  .site-header__cta { margin-left: auto; }
  .brand img { height: 50px; }

  .hero {
    grid-template-columns: var(--gutter) minmax(0, 1fr) 0;
    padding-bottom: 8px;
  }
  .hero__copy {
    grid-column: 2;
    padding: 20px var(--gutter) 40px 0;
  }
  .stage {
    grid-column: 2 / 4;
    min-height: clamp(360px, 70vw, 560px);
    padding: 88px var(--gutter) 200px;
  }
  .stage__object { width: 100%; margin-left: 0; }

  .everyday__media,
  .everyday__copy { grid-column: 1 / -1; grid-row: auto; }
  .everyday__copy { padding-top: 0; }
  .everyday__media {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 48px;
  }
  .photo { aspect-ratio: 16 / 11; }
  .photo img { object-position: 50% 10%; }
  .wear { margin: -72px 16px 0 auto; }

  .reviews__intro,
  .reviews__quotes { grid-column: 1 / -1; }
  .aggregate {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 24px;
    align-items: center;
  }
  .aggregate__text { margin: 0; }
  .aggregate .text-link { grid-column: 2; }
  .aggregate__score { grid-row: span 2; }

  .section-head > div,
  .section-head__aside { grid-column: 1 / -1; }

  .steps__panels { grid-template-columns: minmax(0, 1fr); }
  .steps.is-enhanced { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .steps__tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0 0 2px;
  }
  .steps__tab {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 92px;
    padding: 10px 4px 14px;
    border: 0;
    font-size: 0.9375rem;
    letter-spacing: 0;
    text-align: center;
  }
  .steps__tab:last-of-type { border-bottom: 0; }
  .steps__n { width: 40px; height: 40px; }
  .steps__track {
    top: auto;
    right: 0;
    width: auto;
    height: 2px;
  }
  .steps__track span {
    inset: 0 auto 0 0;
    width: calc(100% / 3);
    height: 100%;
    transform: translateX(calc(var(--active) * 100%));
  }
  .step h3 { margin-top: 56px; }

  .faq__head,
  .faq__list { grid-column: 1 / -1; }

  .consult__copy,
  .form { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .quote-pair { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  .js .dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    display: block;
    visibility: hidden;
    transform: translateY(calc(100% + 28px));
    transition: transform 0.45s var(--ease-out), visibility 0s linear 0.45s;
  }
  .js .dock.is-visible {
    visibility: visible;
    transform: none;
    transition: transform 0.45s var(--ease-out), visibility 0s;
  }
  .dock .btn {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      0 18px 40px -12px rgba(7, 12, 115, 0.6);
  }
  .site-footer { padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }

  .brand img { height: 44px; }
  .site-header__cta { display: none; }
  .preview-tag { margin-left: auto; }

  .hero__actions .btn { width: 100%; }
  .btn { padding-left: 22px; font-size: 0.96875rem; }

  .rating { gap: 14px; }
  .rating__score { font-size: 2.5rem; }

  .stage { padding-top: 88px; padding-bottom: 244px; }
  .stage__detail { min-height: 96px; }
  .stage__label { top: 24px; }
  .stage__foot { bottom: 22px; }
  .stage__meta span:first-child { display: none; }
  .stage__meta { justify-content: flex-start; }
  .callout { --len: 30px; }
  .callout__label { font-size: 0.75rem; padding: 5px 10px 4px; }

  .benefits li { grid-template-columns: 44px minmax(0, 1fr); padding: 24px 0; }

  .photo { aspect-ratio: 1 / 1; }
  .wear { width: auto; margin: -56px 12px 0; padding: 22px; }

  .quote--lead blockquote p { text-indent: 0; }

  .step { padding: 26px 22px; }
  .step__n { font-size: 4.25rem; }
  .faq details p { padding-right: 0; }

  .visit img { width: 76px; }
}
