:root {
  --navy: #082644;
  --teal: #08747a;
  --teal-dark: #075d62;
  --mist: #eaf5f7;
  --porcelain: #f8fbfb;
  --ink: #14212b;
  --white: #ffffff;
  --line: rgba(8, 38, 68, 0.16);
  --shadow: 0 28px 70px rgba(8, 38, 68, 0.14);
  --display: "Arial Black", "Franklin Gothic Medium", "Arial Narrow", sans-serif;
  --body: Aptos, "Segoe UI", Arial, sans-serif;
  --utility: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { display: block; width: 100%; height: auto; }
a { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  background: var(--white);
  color: var(--navy);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 4px;
}

.site-header {
  width: min(1320px, calc(100% - 48px));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  line-height: 1.1;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font: 700 1.1rem/1 var(--display);
}
.brand strong { display: block; color: var(--navy); letter-spacing: 0.04em; }
.brand small { display: block; margin-top: 0.28rem; color: #516474; font-size: 0.75rem; }

nav { display: flex; align-items: center; gap: 1.8rem; font-size: 0.86rem; font-weight: 700; }
nav a { text-decoration: none; }
nav a:not(.nav-cta):hover { color: var(--teal); }
.nav-cta { padding: 0.8rem 1.15rem; border: 1px solid var(--navy); }
.nav-cta:hover { background: var(--navy); color: var(--white); }

.hero {
  width: min(1320px, calc(100% - 48px));
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.87fr) minmax(440px, 1.13fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
}

.hero-copy { padding: 3rem 0; }
.curation-stamp {
  width: 168px;
  min-height: 76px;
  margin: 0 0 3.2rem;
  padding: 0.72rem;
  display: flex;
  align-items: stretch;
  border: 1px solid var(--navy);
  color: var(--navy);
  font: 700 0.69rem/1.15 var(--utility);
  letter-spacing: 0.12em;
}
.curation-stamp span { display: flex; align-items: center; max-width: 76px; }
.curation-stamp b {
  margin-left: auto;
  padding-left: 0.7rem;
  display: grid;
  place-items: center;
  border-left: 1px solid currentColor;
  font-size: 1.35rem;
}

.eyebrow,
.section-kicker,
.section-index,
.media-label {
  font: 700 0.74rem/1.2 var(--utility);
  letter-spacing: 0.14em;
}
.eyebrow, .section-kicker { color: var(--teal); }
.section-index { color: #617281; }

h1, h2, h3 { margin-top: 0; color: var(--navy); text-wrap: balance; }
h1 {
  max-width: 660px;
  margin-bottom: 1.55rem;
  font: 800 clamp(3.25rem, 6.5vw, 6.6rem)/0.94 var(--display);
  letter-spacing: -0.065em;
  text-transform: uppercase;
}
h2 { font: 750 clamp(2.25rem, 4vw, 4.35rem)/1.02 var(--display); letter-spacing: -0.048em; }
h3 { font-size: 1.35rem; line-height: 1.15; }

.hero-deck { max-width: 600px; margin: 0 0 2rem; color: #415463; font-size: 1.18rem; }
.hero-title-scene, .hero-deck-scene { display: none; }
.hero-actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 54px;
  padding: 0.85rem 1.3rem;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 800;
}
.button-primary { background: var(--teal); color: var(--white); }
.button-primary:hover { background: var(--teal-dark); }
.text-link { color: var(--navy); font-size: 0.88rem; font-weight: 800; text-underline-offset: 0.3em; }
.link-note, .fine-print { max-width: 620px; color: #667785; font-size: 0.78rem; line-height: 1.55; }
.link-note { margin-top: 1.25rem; }

.hero-media { position: relative; margin: 0; padding: 20px 20px 0; background: var(--mist); box-shadow: var(--shadow); }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(8, 116, 122, 0.25);
  pointer-events: none;
}
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(155deg, #effbfb 0%, #d8eef0 58%, #bedee2 100%);
  isolation: isolate;
}
.hero-media .hero-fallback {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transition: opacity 500ms ease;
}
.hero-woman { display: none; }
.hero-three {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}
.hero-three canvas { display: block; width: 100%; height: 100%; }
.hero-media.is-three-ready .hero-three { opacity: 1; }
.hero-media.is-three-ready .hero-fallback { opacity: 0; }
.media-label {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 3;
  padding: 0.55rem 0.7rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  backdrop-filter: blur(10px);
}
.hero-media figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; color: var(--navy); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }

/* The original two-column hero above is the no-WebGL fallback. */
.hero.is-three-ready {
  position: relative;
  display: block;
  width: 100%;
  min-height: clamp(680px, 77vh, 880px);
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background: #e9f4f2;
}
.hero.is-three-ready .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.hero.is-three-ready .hero-media::before { display: none; }
.hero.is-three-ready .hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.hero.is-three-ready .hero-woman {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}
.hero.is-three-ready .hero-three { z-index: 2; opacity: 1; }
.hero.is-three-ready .hero-fallback { opacity: 0; }
.hero.is-three-ready .hero-copy {
  position: relative;
  z-index: 3;
  width: min(44%, 590px);
  margin-left: max(32px, calc((100% - 1320px) / 2));
  padding: clamp(110px, 12vh, 154px) 0 110px;
  background: linear-gradient(90deg, rgba(248, 251, 251, 0.72), rgba(248, 251, 251, 0.42) 72%, transparent);
}
.hero.is-three-ready .curation-stamp { display: none; }
.hero.is-three-ready .hero-title-fallback,
.hero.is-three-ready .hero-deck-fallback { display: none; }
.hero.is-three-ready .hero-title-scene,
.hero.is-three-ready .hero-deck-scene { display: inline; }
.hero.is-three-ready h1 {
  max-width: 600px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.5rem, 6vw, 6.25rem);
  line-height: 0.94;
}
.hero.is-three-ready h1 em { color: var(--teal); font-style: normal; }
.hero.is-three-ready .hero-deck { max-width: 440px; color: #173c4b; }
.hero.is-three-ready .media-label {
  top: 26px;
  left: auto;
  right: max(32px, calc((100% - 1320px) / 2));
  background: rgba(255, 255, 255, 0.78);
}
.hero.is-three-ready figcaption {
  position: absolute;
  right: max(32px, calc((100% - 1320px) / 2));
  bottom: 25px;
  z-index: 3;
  min-width: 330px;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(8, 38, 68, 0.35);
}

.prototype-note {
  width: min(1320px, calc(100% - 48px));
  margin: 48px auto 0;
  padding: 1rem 1.2rem;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
}
.prototype-note strong { color: var(--teal); font: 700 0.72rem/1.4 var(--utility); letter-spacing: 0.12em; }
.prototype-note p { margin: 0; }

.editorial-intro { width: min(1040px, calc(100% - 48px)); margin: 150px auto; text-align: center; }
.editorial-intro h2 { max-width: 920px; margin: 0 auto 1.7rem; }
.editorial-intro > p:last-child { max-width: 720px; margin: 0 auto; color: #516371; font-size: 1.1rem; }

.comparison-section,
.detail-section,
.benefit-story {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 160px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}
.comparison-copy h2, .detail-copy h2, .benefit-copy h2 { margin-bottom: 1.6rem; }
.comparison-copy > p:not(.section-index), .detail-copy > p:not(.section-index), .benefit-copy > p:not(.section-index) { color: #4b5d6b; }
.image-frame { margin: 0; padding: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.image-frame img { aspect-ratio: 4 / 5; object-fit: cover; }

.check-list { margin: 2rem 0 0; padding: 0; list-style: none; }
.check-list li { padding: 0.85rem 0 0.85rem 1.8rem; border-bottom: 1px solid var(--line); position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

.feature-band {
  margin: 0 0 160px;
  padding: 76px max(24px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
}
.feature-band article { padding: 0 3rem; border-right: 1px solid rgba(255, 255, 255, 0.18); }
.feature-band article:first-child { padding-left: 0; }
.feature-band article:last-child { border-right: 0; }
.feature-band h3 { margin: 0.8rem 0; color: var(--white); }
.feature-number { color: #70d3d2; font: 700 0.72rem/1 var(--utility); }
.feature-band p { margin-bottom: 0; }

.detail-image img { aspect-ratio: 3 / 4; }
.facts { margin: 2.2rem 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: #677886; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.facts dd { margin: 0; color: var(--navy); font-weight: 700; }

.routine-section { margin: 0 0 160px; padding: 110px max(24px, calc((100% - 1180px) / 2)); background: var(--mist); }
.routine-heading { display: grid; grid-template-columns: 0.55fr 1.45fr; gap: 2rem; align-items: start; }
.routine-heading h2 { max-width: 760px; }
.routine-steps { margin: 60px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; list-style: none; }
.routine-steps li { display: flex; gap: 1.2rem; padding-top: 1.2rem; border-top: 2px solid var(--teal); }
.routine-steps li > span { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid var(--teal); border-radius: 50%; color: var(--teal); font: 700 0.8rem/1 var(--utility); }
.routine-steps strong { color: var(--navy); }
.routine-steps p { margin: 0.35rem 0 0; color: #526472; font-size: 0.94rem; }

.benefit-story { grid-template-columns: 0.78fr 1.22fr; }
.benefit-image img { aspect-ratio: 4 / 5; }

.final-cta { padding: 120px 24px; background: var(--teal); color: rgba(255, 255, 255, 0.8); text-align: center; }
.final-cta h2 { max-width: 850px; margin: 0 auto 1.5rem; color: var(--white); }
.final-cta > p:not(.curation-stamp):not(.eyebrow) { max-width: 620px; margin: 0 auto 2rem; }
.final-cta .eyebrow { color: #b9ffff; }
.curation-stamp-light { margin: 0 auto 2.5rem; border-color: rgba(255, 255, 255, 0.72); color: var(--white); text-align: left; }
.button-light { background: var(--white); color: var(--teal-dark); }
.button-light:hover { background: var(--navy); color: var(--white); }

.not-found {
  min-height: 100vh;
  display: grid;
  place-content: center;
}
.not-found h1 { color: var(--white); }

footer {
  padding: 64px max(24px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: #051a2c;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
}
footer strong { color: var(--white); letter-spacing: 0.08em; }
.footer-meta { text-align: right; }

@media (max-width: 980px) {
  .site-header { min-height: 82px; }
  nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  h1 { font-size: clamp(2.8rem, 6.5vw, 5rem); }
  .curation-stamp { margin-bottom: 2rem; }
  .comparison-section, .detail-section, .benefit-story { gap: 3rem; }
  .feature-band article { padding: 0 1.5rem; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header, .hero, .prototype-note, .editorial-intro, .comparison-section, .detail-section, .benefit-story { width: min(100% - 32px, 620px); }
  .site-header { min-height: 74px; }
  .brand small { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  nav { gap: 0; }
  .nav-cta { padding: 0.65rem 0.8rem; font-size: 0.74rem; }
  .hero { margin-top: 24px; grid-template-columns: 1fr; gap: 2rem; }
  .hero-copy { padding: 1.2rem 0 0; }
  .hero-media { grid-row: 1; }
  h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .hero-deck { font-size: 1.06rem; }
  .prototype-note { grid-template-columns: 1fr; }
  .editorial-intro { margin: 100px auto; text-align: left; }
  .comparison-section, .detail-section, .benefit-story { margin-bottom: 100px; grid-template-columns: 1fr; }
  .comparison-image, .benefit-image { order: -1; }
  .feature-band { margin-bottom: 100px; padding: 68px 24px; grid-template-columns: 1fr; }
  .feature-band article, .feature-band article:first-child { padding: 1.8rem 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .feature-band article:last-child { border-bottom: 0; }
  .routine-section { margin-bottom: 100px; padding: 80px 24px; }
  .routine-heading, .routine-steps { grid-template-columns: 1fr; }
  .routine-steps { margin-top: 40px; }
  .final-cta { padding: 90px 24px; }
  footer { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
}

@media (max-width: 420px) {
  .site-header { width: calc(100% - 24px); }
  .brand strong { font-size: 0.82rem; }
  .nav-cta { max-width: 118px; text-align: center; line-height: 1.2; }
  .hero, .prototype-note, .editorial-intro, .comparison-section, .detail-section, .benefit-story { width: calc(100% - 24px); }
  .hero-media, .image-frame { padding: 10px; }
  .hero-media figcaption { flex-wrap: wrap; }
  h1 { font-size: clamp(2.6rem, 14vw, 3.6rem); }
  h2 { font-size: 2.35rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .button { width: 100%; }
}

@media (max-width: 760px) {
  .hero.is-three-ready { width: 100%; min-height: 980px; margin: 0; }
  .hero.is-three-ready .hero-woman {
    left: calc(50% - 675px);
    width: 900px;
    height: 450px;
    max-width: none;
    object-fit: fill;
  }
  .hero.is-three-ready .hero-copy {
    position: absolute;
    top: auto;
    bottom: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 65px 24px 36px;
    background: linear-gradient(0deg, rgba(248, 251, 251, 1) 0%, rgba(248, 251, 251, 0.98) 67%, rgba(248, 251, 251, 0) 100%);
  }
  .hero.is-three-ready h1 { max-width: 520px; font-size: clamp(3rem, 13vw, 4.75rem); }
  .hero.is-three-ready .hero-deck { max-width: 520px; font-size: 1rem; }
  .hero.is-three-ready .media-label { top: 18px; left: 18px; right: auto; }
  .hero.is-three-ready figcaption { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
