:root {
  --bg: #F4F2ED;
  --bg-secondary: #EAE7E0;
  --surface: #FAF9F6;
  --text: #171916;
  --text-secondary: #656961;
  --accent: #6BAA75;
  --accent-deep: #4E8059;
  --accent-soft: #DCE9DE;
  --border: #D8D7D1;
  --dark: #0D100E;
  --dark-surface: #171B18;
  --dark-text: #F4F5F1;
  --dark-secondary: #AEB5AD;
  --focus: #87C692;

  --shell: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 32px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --space-11: 160px;

  --section-y: clamp(88px, 10vw, 160px);
  --display: clamp(3rem, 6.8vw, 5.6rem);
  --h2: clamp(2.15rem, 4.4vw, 3.5rem);
  --h3: clamp(1.5rem, 2.2vw, 1.95rem);
  --body-lg: clamp(1.08rem, 1.5vw, 1.35rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-150%);
  background: var(--dark);
  color: var(--dark-text);
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { transform: translateY(0); }

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

.shell {
  width: min(calc(100% - (var(--gutter) * 2)), var(--shell));
  margin-inline: auto;
}
.section { padding-block: var(--section-y); }
.section-dark { background: var(--dark); color: var(--dark-text); }
.section-dark-alt { background: var(--dark-surface); color: var(--dark-text); }

.eyebrow {
  margin: 0 0 var(--space-5);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow-dark { color: #9BC7A2; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-weight: 500;
  letter-spacing: -0.035em;
}
h1 { font-size: var(--display); line-height: 0.98; }
h2 { font-size: var(--h2); line-height: 1.04; }
h3 { font-size: var(--h3); line-height: 1.15; }
p { font-size: 1.06rem; color: var(--text-secondary); }
.section-dark p, .section-dark-alt p { color: var(--dark-secondary); }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, opacity 180ms ease;
}
.button-primary { background: var(--accent); color: #0F1710; }
.button-primary:hover:not(:disabled) { background: var(--accent-deep); color: #fff; }
.button-secondary { border-color: var(--border); background: rgba(250,249,246,.52); }
.button-secondary:hover { background: var(--surface); border-color: #BCBDB6; }
.button-disabled { opacity: .55; cursor: not-allowed; }
.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background-color 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(244,242,237,.88);
  backdrop-filter: blur(14px);
  border-color: rgba(216,215,209,.75);
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-decoration: none;
}
.brand-symbol {
  display: block;
  height: 26px;
  width: auto;
}
.brand-word { line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  color: #343834;
}
.site-nav a:hover { color: var(--accent-deep); }
.nav-cta {
  padding-inline: 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.menu-toggle { display: none; }

/* Hero */
.hero {
  min-height: 100svh;
  padding-top: 118px;
  display: flex;
  align-items: center;
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: center;
}
.hero-copy { grid-column: 1 / span 6; position: relative; z-index: 2; }
.hero-copy h1 { max-width: 820px; margin-bottom: var(--space-6); }
.hero-copy h1 span { color: var(--accent-deep); }
.lede {
  max-width: 610px;
  font-size: var(--body-lg);
  line-height: 1.55;
  margin-bottom: var(--space-7);
}
.hero-collage {
  grid-column: 7 / -1;
  min-height: 650px;
  position: relative;
}
.hero-shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 72px rgba(20,24,20,.12);
}
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-shot-driver { width: 43%; height: 58%; left: 0; top: 6%; transform: rotate(-2deg); }
.hero-shot-office { width: 50%; height: 68%; right: 0; top: 17%; z-index: 2; }
.hero-shot-home { width: 45%; height: 47%; left: 15%; bottom: 0; z-index: 3; transform: rotate(1.5deg); }

/* Section intros */
.section-intro { max-width: 830px; margin-bottom: clamp(64px, 8vw, 120px); }
.section-intro h2 { margin-bottom: 0; }
.section-intro-dark { color: var(--dark-text); }

/* Lives */
.lives { background: var(--bg-secondary); }
.life-chapter {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: center;
  margin-bottom: clamp(96px, 12vw, 180px);
}
.life-chapter:last-child { margin-bottom: 0; }
.life-media { margin: 0; overflow: hidden; border-radius: var(--radius-lg); }
.life-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.life-copy { max-width: 460px; }
.life-copy h3 { margin-bottom: var(--space-5); }
.life-copy p:last-child { font-size: var(--body-lg); }
.life-driver .life-media, .life-home .life-media { grid-column: 1 / span 7; }
.life-driver .life-copy, .life-home .life-copy { grid-column: 9 / -1; }
.life-office .life-copy { grid-column: 1 / span 4; }
.life-office .life-media { grid-column: 6 / -1; }

/* Time */
.time-section { background: var(--surface); }
.time-stack { display: flex; flex-direction: column; gap: clamp(36px, 6vw, 82px); }
.time-line {
  margin: 0;
  font-size: clamp(3rem, 7.5vw, 5.4rem);
  line-height: .96;
  font-weight: 500;
  letter-spacing: -0.055em;
  color: var(--text);
}
.time-center { align-self: center; }
.time-right { align-self: flex-end; }
.time-caption { max-width: 620px; font-size: var(--body-lg); margin: var(--space-7) auto 0; text-align: center; }

/* Anatomy */
.anatomy-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: center;
}
.anatomy-media { grid-column: 1 / span 7; margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.anatomy-media img { width: 100%; aspect-ratio: 1.04 / 1; object-fit: cover; }
.anatomy-copy { grid-column: 9 / -1; }
.anatomy-copy h2 { margin-bottom: var(--space-6); }
.anatomy-copy p { font-size: 1.05rem; }

/* Pause */
.pause { background: var(--bg-secondary); padding-block: clamp(120px, 14vw, 220px); }
.pause-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: center;
}
.pause-copy { grid-column: 1 / span 5; }
.pause-copy h2 { margin-bottom: var(--space-6); }
.pause-copy p { font-size: var(--body-lg); }
.pause-media { grid-column: 7 / -1; margin: 0; overflow: hidden; border-radius: var(--radius-lg); }
/* Media fit/aspect-ratio for .pause-media is set once, below, under
   "Final surgical image correction" — this covers both the img fallback
   and the current .pause-video element. */

/* Product reveal */
.product-reveal { padding-block: clamp(140px, 15vw, 230px); overflow: clip; }
.product-reveal-inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: center;
}
.product-reveal-copy { grid-column: 1 / span 4; }
.product-reveal-copy h2 { font-size: clamp(3.4rem, 6.5vw, 5.8rem); margin-bottom: var(--space-5); }
.product-reveal-copy p { font-size: var(--body-lg); margin-bottom: var(--space-7); }
.product-reveal-media { grid-column: 5 / -1; margin: 0; }
.product-reveal-media img { width: 100%; filter: drop-shadow(0 38px 70px rgba(0,0,0,.35)); }

/* Mechanism */
.mechanism { padding-block: clamp(120px, 13vw, 200px); }
.mechanism-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: start;
}
.mechanism-media { grid-column: 1 / span 5; position: sticky; top: 110px; }
.mechanism-copy { grid-column: 7 / -1; }
.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.08);
  background: #0A0C0A;
}
.video-shell-mechanism { max-width: 420px; margin-inline: auto; aspect-ratio: 9 / 16; }
.mechanism-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 34px 0;
  border-top: 1px solid rgba(255,255,255,.11);
}
.mechanism-step:last-child { border-bottom: 1px solid rgba(255,255,255,.11); }
.mechanism-index { color: #87A88C; font-size: .8rem; letter-spacing: .08em; }
.mechanism-step h3 { margin-bottom: 12px; }
.mechanism-step p { margin-bottom: 0; }

/* Real life — layout rules for this section live below under
   ".real-life-sequence" (the class actually used in the markup). */

/* Trust */
.trust { background: var(--surface); }
.trust-list { max-width: 880px; margin: 0; }

/* FAQ */
.faq-inner { max-width: 880px; }
.accordion { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item h3 { margin: 0; }
.accordion-trigger {
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border: 0;
  background: transparent;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.accordion-icon { font-size: 1.5rem; font-weight: 400; }
.accordion-panel { padding: 0 0 24px; max-width: 680px; }
.accordion-panel p { margin-bottom: 0; }

/* Offer */
.offer { background: var(--surface); }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: center;
}
.offer-media { grid-column: 1 / span 7; margin: 0; }
.offer-media img { width: 100%; }
.offer-copy { grid-column: 9 / -1; }
.offer-copy h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: var(--space-5); }
.offer-description { font-size: 1.08rem; }
.offer-price {
  margin: var(--space-7) 0 var(--space-6);
  font-size: clamp(3.2rem, 6vw, 4.2rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.offer-note { margin-top: 14px; font-size: .9rem; max-width: 360px; }

/* Footer */
.site-footer { padding-block: clamp(90px, 11vw, 150px) 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: start;
}
.footer-brand { grid-column: 1 / span 3; }
.footer-brand img { width: min(220px, 100%); }
.footer-close { grid-column: 5 / span 5; }
.footer-statement { color: var(--dark-text) !important; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; letter-spacing: -0.04em; }
.footer-copy { max-width: 520px; }
.footer-meta { grid-column: 1 / -1; margin-top: var(--space-10); padding-top: var(--space-5); border-top: 1px solid rgba(255,255,255,.11); }
.footer-meta p { margin: 0; font-size: .85rem; }

.footer-links {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 230px));
  gap: 32px;
  margin-top: var(--space-9);
}
.footer-links-title {
  margin: 0 0 var(--space-3);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9BC7A2;
}
.footer-links-group { display: flex; flex-direction: column; gap: 4px; }
.footer-links-group a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  font-size: .92rem;
  color: var(--dark-secondary);
  text-decoration: none;
}
.footer-links-group a:hover,
.footer-links-group a:focus-visible { color: var(--dark-text); }

/* Motion */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 620ms ease, transform 620ms ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: 90ms; }
.js .reveal-delay-2 { transition-delay: 180ms; }
.js .reveal-delay-3 { transition-delay: 270ms; }
.js .slow-reveal { transition-duration: 900ms; }
.js .product-pop { transform: translateY(14px) scale(.985); }
.js .product-pop.is-visible { transform: none; }

/* Tablet */
@media (max-width: 1024px) {
  :root { --gutter: 32px; }
  .site-nav { gap: 18px; }
  .hero-grid { align-items: end; }
  .hero-copy { grid-column: 1 / span 7; }
  .hero-collage { grid-column: 7 / -1; min-height: 560px; }
  .anatomy-copy { grid-column: 8 / -1; }
  .product-reveal-copy { grid-column: 1 / span 5; }
  .product-reveal-media { grid-column: 6 / -1; }
  .offer-copy { grid-column: 8 / -1; }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --section-y: 88px;
  }
  html { scroll-padding-top: 72px; }
  .header-inner { min-height: 68px; }
  .brand { gap: 7px; }
  .brand-symbol { height: 21px; }
  .menu-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 999px;
    background: rgba(250,249,246,.75);
    cursor: pointer;
  }
  .menu-toggle span { width: 18px; height: 1.5px; background: currentColor; transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .site-nav {
    position: absolute;
    top: 68px;
    left: var(--gutter);
    right: var(--gutter);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(250,249,246,.96);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,.10);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 12px; }
  .nav-cta { border: 0; padding-inline: 12px; }

  .hero { min-height: auto; padding-top: 112px; padding-bottom: 64px; align-items: flex-start; }
  .hero-grid { display: block; }
  .hero-copy h1 { font-size: clamp(3rem, 13vw, 4.1rem); }
  .lede { font-size: 1.1rem; margin-bottom: 32px; }
  .hero-collage { min-height: 380px; margin-top: 54px; }
  .hero-shot-driver { width: 58%; height: 76%; left: -4%; top: 5%; }
  .hero-shot-office { width: 58%; height: 84%; right: -8%; top: 10%; }
  .hero-shot-home { width: 48%; height: 55%; left: 30%; bottom: -6%; }

  .section-intro { margin-bottom: 58px; }
  .life-chapter { display: flex; flex-direction: column; gap: 28px; margin-bottom: 92px; }
  .life-office { flex-direction: column-reverse; }
  .life-media, .life-copy { width: 100%; max-width: none; }
  .life-media img { aspect-ratio: 4 / 5; }
  .life-copy p:last-child { font-size: 1.06rem; }

  .time-stack { gap: 42px; }
  .time-line { font-size: clamp(3.1rem, 15vw, 4.6rem); }
  .time-center { align-self: flex-start; margin-left: 9vw; }
  .time-right { align-self: flex-start; margin-left: 18vw; }
  .time-caption { text-align: left; margin-top: 26px; }

  .anatomy-grid, .pause-grid, .product-reveal-inner, .mechanism-layout, .offer-grid { display: block; }
  .anatomy-media { margin-bottom: 50px; }
  .anatomy-media img { aspect-ratio: 1 / 1; }
  .pause { padding-block: 110px; }
  .pause-copy { margin-bottom: 54px; }
  .pause-copy p { font-size: 1.08rem; }

  .product-reveal { padding-block: 120px; }
  .product-reveal-copy { margin-bottom: 64px; }
  .product-reveal-copy h2 { font-size: clamp(3.4rem, 17vw, 5.2rem); }
  .product-reveal-media { margin: 0 -8px; }

  .mechanism-media { position: static; margin-bottom: 66px; }
  .video-shell-mechanism { max-width: min(84vw, 380px); }
  .mechanism-step { grid-template-columns: 40px 1fr; }

  .faq-inner { width: min(calc(100% - 40px), 880px); }
  .accordion-trigger { min-height: 68px; }

  .offer-media { margin-bottom: 44px; }
  .offer-copy h2 { font-size: clamp(2.4rem, 10vw, 3.2rem); }
  .offer-copy .button { width: 100%; }

  .footer-grid { display: block; }
  .footer-brand { margin-bottom: 56px; }
  .footer-brand img { width: 170px; }
  .footer-close { margin-bottom: 68px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; margin-top: 0; margin-bottom: 56px; }
  .footer-meta { margin-top: 0; }
}

@media (max-width: 390px) {
  .hero-collage { min-height: 340px; }
  .hero-shot-driver { width: 60%; }
  .hero-shot-office { width: 60%; }
  .hero-shot-home { width: 50%; }
  .footer-links { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 340px) {
  :root { --gutter: 16px; }
  .hero-copy h1 { font-size: 2.85rem; }
  .hero-collage { min-height: 300px; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal, .js .product-pop { opacity: 1; transform: none; }
}

/* Phase 06 narrative refinements */
.pause { position: relative; overflow: clip; }
.pause-atmosphere {
  position: absolute;
  inset: auto -10vw -22% 35%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(107,170,117,.11), transparent 68%);
  pointer-events: none;
}
.pause-grid { position: relative; z-index: 1; }
.product-reveal { position: relative; }
.reveal-bridge {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: rgba(244,245,241,.48) !important;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.real-life { overflow: clip; }
.real-life-sequence { display: grid; gap: clamp(70px, 9vw, 130px); }
.real-life-scene {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: end;
  margin: 0;
}
.real-life-image { overflow: hidden; border-radius: var(--radius-lg); }
.real-life-image img { width: 100%; height: 100%; object-fit: cover; }
.real-life-scene figcaption {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin: 0 0 18px;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -.02em;
}
.real-life-scene figcaption span { color: var(--accent-deep); font-size: .72rem; letter-spacing: .08em; }
.real-life-driver .real-life-image { grid-column: 1 / span 8; height: clamp(430px, 52vw, 650px); }
.real-life-driver figcaption { grid-column: 10 / -1; }
.real-life-office .real-life-image { grid-column: 5 / -1; height: clamp(430px, 50vw, 620px); }
.real-life-office figcaption { grid-column: 1 / span 3; grid-row: 1; }
.real-life-home .real-life-image { grid-column: 2 / span 9; height: clamp(430px, 48vw, 600px); }
.real-life-home figcaption { grid-column: 11 / -1; }
.real-life-driver img { object-position: 50% 42%; transform: scale(1.04); }
.real-life-office img { object-position: 50% 38%; transform: scale(1.08); }
.real-life-home img { object-position: 50% 45%; transform: scale(1.05); }
.mechanism-step { transition: border-color 220ms ease; }
.mechanism-step:hover { border-color: rgba(155,199,162,.38); }
@media (max-width: 767px) {
  .reveal-bridge { top: 22px; font-size: .68rem; }
  .real-life-sequence { gap: 76px; }
  .real-life-scene { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
  .real-life-image { width: calc(100% + 20px); height: min(118vw, 520px) !important; }
  .real-life-driver .real-life-image, .real-life-home .real-life-image { margin-left: -20px; }
  .real-life-office .real-life-image { margin-right: -20px; align-self: flex-end; }
  .real-life-scene figcaption { margin: 0; font-size: 1.22rem; }
  .real-life-office { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .real-life-image img { transform: none; }
  .mechanism-step { transition: none; }
}


/* Phase 07 — narrative reveal discipline.
   Before #product-reveal, existing photographs are framed around person/routine,
   not the neck-worn device. Full product imagery remains unrestricted afterwards. */
.pre-reveal-crop {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pre-driver { object-position: 50% 12%; transform: scale(1.34); transform-origin: 50% 12%; }
.pre-office { object-position: 50% 8%; transform: scale(1.38); transform-origin: 50% 8%; }
.pre-home { object-position: 50% 10%; transform: scale(1.36); transform-origin: 50% 10%; }
.pre-anatomy { object-position: 48% 24%; transform: scale(1.42); transform-origin: 48% 24%; }
.pre-pause { object-position: 50% 18%; transform: scale(1.32); transform-origin: 50% 18%; }

/* Preserve clipping so zoom never leaks outside the editorial frame. */
.hero-media, .persona-media, .anatomy-media, .pause-media,
.media-frame, figure { overflow: hidden; }

@media (max-width: 768px) {
  .pre-driver { transform: scale(1.48); object-position: 50% 8%; }
  .pre-office { transform: scale(1.52); object-position: 50% 7%; }
  .pre-home { transform: scale(1.48); object-position: 50% 8%; }
  .pre-anatomy { transform: scale(1.52); object-position: 50% 20%; }
  .pre-pause { transform: scale(1.45); object-position: 50% 14%; }
}
@media (prefers-reduced-motion: reduce) {
  .pre-reveal-crop { transition: none !important; }
}

/* Phase 08 forensic reveal invariants */
#product-reveal { scroll-margin-top: 0; }
.pre-reveal-crop { display:block; }
.hero-shot, .persona-visual, .anatomy-visual, .pause-visual,
.hero-media, .persona-media, .anatomy-media, .pause-media, figure { overflow:hidden; }


/* Phase 11 — surgical image proportion fix for imagem6.webp */
#product-reveal .product-reveal-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

#product-reveal .product-reveal-media img {
  display: block;
  width: min(100%, 980px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin-inline: auto;
}

.offer .offer-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer .offer-media img {
  display: block;
  width: min(100%, 760px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin-inline: auto;
}

@media (max-width: 1024px) {
  #product-reveal .product-reveal-media img {
    width: min(100%, 820px);
  }

  .offer .offer-media img {
    width: min(100%, 680px);
  }
}

@media (max-width: 768px) {
  #product-reveal .product-reveal-media,
  .offer .offer-media {
    width: 100%;
    min-width: 0;
  }

  #product-reveal .product-reveal-media img,
  .offer .offer-media img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
}


/* Surgical LEVIA logo fix — transparent RGBA asset, intrinsic proportion preserved. */
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand img {
  display: block;
  width: clamp(190px, 19vw, 290px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 768px) {
  .footer-brand {
    justify-content: center;
  }

  .footer-brand img {
    width: clamp(170px, 52vw, 240px);
    max-width: 100%;
    height: auto;
  }
}


/* Minimal change: standalone demo removed; its real-use video now fills the existing "Como funciona" media slot. */
.video-shell-mechanism .mechanism-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .video-shell-mechanism .mechanism-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Surgical responsive image framing / focal-point correction.
   Same assets, same layout; context-specific crops with the minimum useful zoom. */
.hero-shot .pre-driver { object-position: 50% 30%; transform: scale(1.04); transform-origin: 50% 30%; }
.hero-shot .pre-office { object-position: 44% 28%; transform: scale(1.03); transform-origin: 44% 28%; }
.hero-shot .pre-home { object-position: 50% 30%; transform: scale(1.03); transform-origin: 50% 30%; }

.life-driver .pre-driver { object-position: 50% 42%; transform: none; }
.life-office .pre-office { object-position: 42% 40%; transform: none; }
.life-home .pre-home { object-position: 50% 40%; transform: none; }

.anatomy-media .pre-anatomy { object-position: 50% 46%; transform: scale(1.02); transform-origin: 50% 46%; }
.pause-media .pre-pause { object-position: 50% 44%; transform: none; }

@media (max-width: 1024px) {
  .hero-shot .pre-driver { object-position: 50% 32%; transform: scale(1.03); }
  .hero-shot .pre-office { object-position: 44% 30%; transform: scale(1.02); }
  .hero-shot .pre-home { object-position: 50% 32%; transform: scale(1.02); }
}

@media (max-width: 768px) {
  .hero-shot .pre-driver { object-position: 50% 34%; transform: scale(1.02); }
  .hero-shot .pre-office { object-position: 44% 32%; transform: none; }
  .hero-shot .pre-home { object-position: 50% 34%; transform: none; }
  .life-driver .pre-driver { object-position: 50% 42%; transform: none; }
  .life-office .pre-office { object-position: 42% 40%; transform: none; }
  .life-home .pre-home { object-position: 50% 40%; transform: none; }
  .anatomy-media .pre-anatomy { object-position: 50% 46%; transform: none; }
  .pause-media .pre-pause { object-position: 50% 44%; transform: none; }
}


/* Final surgical image correction — preserve approved assets and open only the
   "O teu momento" crop so the seated person, sofa and home context remain visible. */
.pause-media {
  aspect-ratio: 3 / 4;
}

.pause-media img,
.pause-media .pre-pause {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 50% 50%;
  transform: none;
  transform-origin: center;
}

@media (max-width: 1024px) {
  .pause-media {
    aspect-ratio: 4 / 5;
  }

  .pause-media .pre-pause {
    object-position: 50% 50%;
    transform: none;
  }
}

@media (max-width: 768px) {
  .pause-media {
    aspect-ratio: 9 / 16;
    max-height: min(78vh, 640px);
  }

  .pause-media .pre-pause {
    object-position: 50% 50%;
    transform: none;
  }
}


/* "O teu momento" — video in place of the photo. Same .pause-media container
   and aspect-ratio rules above (3:4 desktop / 4:5 tablet / 9:16 mobile);
   this only fits the <video> element within that already-approved frame. */
.pause-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  background: #0A0C0A;
}

@media (max-width: 1024px) {
  .pause-video { object-position: 50% 30%; }
}

@media (max-width: 768px) {
  .pause-video { object-position: 50% 26%; }
}

@media (prefers-reduced-motion: reduce) {
  .pause-video { transition: none; }
}


/* FINAL STRUCTURAL FIX — NA VIDA REAL ONLY
   Vertical photography keeps its natural geometry. */
.real-life-image {
  height: auto !important;
  aspect-ratio: auto !important;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(23,25,22,.08);
  box-shadow: 0 1px 2px rgba(23,25,22,.035), 0 12px 30px rgba(23,25,22,.055);
}
.real-life-image img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: auto !important;
  max-width: 100%;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  filter: none;
}
.real-life-driver .real-life-image { grid-column: 2 / span 5; }
.real-life-driver figcaption { grid-column: 8 / span 4; }
.real-life-office .real-life-image { grid-column: 7 / span 5; }
.real-life-office figcaption { grid-column: 2 / span 4; grid-row: 1; }
.real-life-home .real-life-image { grid-column: 2 / span 5; }
.real-life-home figcaption { grid-column: 8 / span 4; }

@media (max-width: 900px) {
  .real-life-driver .real-life-image,
  .real-life-home .real-life-image { grid-column: 1 / span 7; }
  .real-life-driver figcaption,
  .real-life-home figcaption { grid-column: 9 / -1; }
  .real-life-office .real-life-image { grid-column: 6 / -1; }
  .real-life-office figcaption { grid-column: 1 / span 4; }
}
@media (max-width: 640px) {
  .real-life-scene {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .real-life-office { flex-direction: column; }
  .real-life-image {
    width: min(100%, 520px) !important;
    height: auto !important;
    margin: 0 auto !important;
    align-self: center;
  }
  .real-life-image img {
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
    transform: none !important;
  }
  .real-life-scene figcaption {
    width: min(100%, 520px);
    align-self: center;
    margin: 0;
  }
}


/* EXPERIÊNCIAS REAIS — testimonials section.
   Editorial, proportional composition: tight photo-to-quote coupling within each
   card, whitespace reserved for separating the three cards, consistent frame
   scale across images regardless of source resolution/aspect ratio. */
.testimonials .section-intro { margin-bottom: var(--space-7); }

.testimonials-disclosure {
  max-width: 640px;
  margin: 0 0 var(--space-8);
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: .88rem;
  line-height: 1.5;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.testimonial-card { margin: 0; }

.testimonial-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(23,25,22,.08);
  box-shadow: 0 1px 2px rgba(23,25,22,.035), 0 12px 30px rgba(23,25,22,.055);
}
.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial-zs img { object-position: 50% 36%; }
.testimonial-anonimo img { object-position: 50% 42%; }
.testimonial-dr img { object-position: 50% 48%; }

.testimonial-card figcaption { margin-top: var(--space-5); }
.testimonial-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: var(--space-3);
}
.testimonial-name { font-weight: 600; letter-spacing: -.01em; }
.testimonial-stars { color: var(--accent-deep); font-size: .92rem; letter-spacing: .04em; }
.testimonial-quote {
  margin: 0 0 var(--space-3);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text);
}
.testimonial-date { font-size: .82rem; color: var(--text-secondary); }

@media (max-width: 1024px) {
  .testimonial-grid { gap: 28px; }
}

@media (max-width: 767px) {
  .testimonials .section-intro { margin-bottom: 48px; }
  .testimonials-disclosure { font-size: .86rem; padding: 12px 16px; margin-bottom: 46px; }
  .testimonial-grid { display: block; }
  .testimonial-card { max-width: 420px; margin: 0 auto 54px; }
  .testimonial-card:last-child { margin-bottom: 0; }
}


/* Institutional / trust pages (Sobre, Envio, Devoluções, Garantia, Contacto,
   Privacidade, Cookies, Pagamentos, Termos, Produto, FAQ confiança).
   Editorial reading layout reusing existing tokens; does not touch the
   landing-page funnel or any shared element/section/img selectors. */
.institutional-hero { padding-block: clamp(128px, 16vw, 190px) var(--space-8); }
.institutional-hero .shell { max-width: 760px; }
.institutional-hero h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.3rem);
  margin-bottom: var(--space-6);
  max-width: 15ch;
}
.institutional-intro {
  font-size: var(--body-lg);
  max-width: 58ch;
}

.institutional-body { padding-bottom: clamp(90px, 10vw, 160px); }
.institutional-body .shell { max-width: 760px; }

.institutional-section { max-width: 62ch; margin: 0 0 clamp(52px, 6vw, 88px); }
.institutional-section:last-of-type { margin-bottom: var(--space-8); }
.institutional-section h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  margin-bottom: var(--space-5);
}
.institutional-section p { max-width: 62ch; }
.institutional-section ul { margin: 0 0 var(--space-4); padding-left: 1.1em; max-width: 62ch; }
.institutional-section ul:last-child { margin-bottom: 0; }
.institutional-section li { margin-bottom: var(--space-2); color: var(--text-secondary); }
.institutional-section .accordion { border-top: 1px solid var(--border); max-width: 62ch; }

.institutional-note {
  margin-top: var(--space-2);
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: .92rem;
  line-height: 1.55;
  max-width: 58ch;
}
.institutional-highlight {
  font-size: var(--body-lg);
  font-weight: 500;
  color: var(--text);
  max-width: 46ch;
}
.institutional-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: clamp(40px, 5vw, 72px);
  font-weight: 600;
}

@media (max-width: 767px) {
  .institutional-hero { padding-top: 118px; }
  .institutional-section { margin-bottom: 48px; }
}

/* WhatsApp — discreet floating help entry point (not a purchase CTA).
   Default destination is the internal support page; script.js upgrades the
   href to a real wa.me deep link only once an official number is configured
   (see LEVIA_WHATSAPP_NUMBER in script.js). No SDK, no popup, no badge. */
.whatsapp-fab {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 900;
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #25D366;
  color: var(--dark-text);
  box-shadow: 0 8px 22px rgba(13,16,14,.22);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.whatsapp-fab:hover {
    background: #1EBE5D;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(13,16,14,.26);
}
.whatsapp-fab:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.whatsapp-fab-icon { width: 23px; height: 23px; fill: currentColor; }

@media (max-width: 767px) {
  .whatsapp-fab {
    width: 48px;
    height: 48px;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
  .whatsapp-fab-icon { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab { transition: none; }
}
