/* =========================================================
   Shakti Hörmann – Awareness LP ("Every Great Space")
   Built from Figma node 6366:7556 (desktop frame: 1920px)
   ========================================================= */

:root {
  /* Brand */
  --orange: #f9ad09;            /* Corporate Colours / Secondary Hormann Orange */
  --hormann-blue: #003a7d;
  --gold-gradient: linear-gradient(90deg, #e6c75c 0%, #fff896 24.946%, #efd875 62.473%, #c9a137 100%);

  /* Neutrals */
  --black: #000;
  --bg-0: #0a0a0a;
  --bg-1: #0c0c0c;
  --bg-2: #0e0e0e;
  --bg-card: #111;
  --white: #fff;
  --text-1: #e8e8e8;
  --text-2: #c2c2c2;
  --text-3: #a0a0a0;
  --text-4: #8a8a8a;
  --line-08: rgba(255, 255, 255, 0.08);
  --line-10: rgba(255, 255, 255, 0.1);
  --line-14: rgba(255, 255, 255, 0.14);
  --line-18: rgba(255, 255, 255, 0.18);
  --line-25: rgba(255, 255, 255, 0.25);

  /* Layout */
  --container: 1720px;
  --gutter: clamp(20px, 5.2vw, 100px);
  --header-h: 88px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  line-height: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
h1, h2, h3, p, blockquote, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }

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

.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: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--orange); color: var(--black); font-weight: 700;
  padding: 12px 20px; border-radius: 4px; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.text-center { text-align: center; }

/* ---------- Typography ---------- */
.gold {
  background-image: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}

.h-display {          /* 72–76px Light display headings */
  font-weight: 300;
  font-size: clamp(40px, 4vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.h-section {         /* 60–64px section headings */
  font-weight: 300;
  font-size: clamp(36px, 3.34vw, 64px);
  line-height: 1.08;
}
.h-section .gold { font-size: 0.9375em; letter-spacing: -0.01em; line-height: 1.05; }

.body-lg {
  font-weight: 300;
  font-size: clamp(17px, 1.15vw, 22px);
  line-height: 1.6;
  color: var(--text-2);
}

/* Gold hairline at top of sections */
.hairline {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(var(--container), calc(100% - var(--gutter) * 2)); height: 1px;
  background: linear-gradient(90deg, rgba(230, 199, 92, 0) 0%, rgba(255, 248, 150, 0.9) 50%, rgba(201, 161, 55, 0) 100%);
  z-index: 2;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 20px 36px;
  border-radius: 4px;
  font-weight: 700; font-size: 18px; letter-spacing: 0.02em; line-height: normal;
  white-space: nowrap;
  transition: background-color 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out, box-shadow 0.2s ease-out;
}
.btn__icon { position: relative; display: inline-block; width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.2s var(--ease-out); }
.btn__icon img { position: absolute; inset: 0; }
.btn__icon-hover { opacity: 0; }

.btn--primary { background: var(--orange); color: var(--black); }
.btn--ghost { border: 1.5px solid var(--white); color: var(--white); }
.btn--block { width: 100%; }

.btn:hover,
.btn:focus-visible {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  box-shadow: 0 0 32px rgba(249, 173, 9, 0.45);
}

.btn:disabled { opacity: 0.65; cursor: not-allowed; pointer-events: none; }

.btn__spinner {
  display: none;
  width: 18px; height: 18px;
  flex-shrink: 0;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  opacity: 0.8;
  animation: btn-spin 0.7s linear infinite;
}
.btn--loading .btn__icon { display: none; }
.btn--loading .btn__spinner { display: inline-block; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
.btn:hover .btn__icon,
.btn:focus-visible .btn__icon { transform: translateX(4px); }
.btn--ghost:hover .btn__icon-default,
.btn--ghost:focus-visible .btn__icon-default { opacity: 0; }
.btn--ghost:hover .btn__icon-hover,
.btn--ghost:focus-visible .btn__icon-hover { opacity: 1; }
.btn:active { transform: translateY(1px); }

/* ---------- Icon badges ---------- */
.icon-badge {
  display: inline-flex; flex-shrink: 0;
  border-radius: 99px;
  background: var(--orange);
}
.icon-badge--sm { padding: 8px; }
.icon-badge--md { padding: 10px; }
.icon-badge--lg { padding: 14px; background: rgba(255, 255, 255, 0.12); }

/* ---------- Logo (layered vector, from Figma) ---------- */
.logo { position: relative; display: block; overflow: hidden; flex-shrink: 0; }
.logo--header { width: 184.464px; height: 40.992px; }
.logo--footer { width: 161.406px; height: 35.868px; }
.logo img { position: absolute; width: auto; height: auto; }
.logo .logo__base { inset: 0; width: 100%; height: 100%; }
.logo .logo__v0 { inset: 24.92% 83.72% 25.2% 5.6%; width: 10.68%; height: 49.88%; }
.logo .logo__v1 { inset: 24.94% 42.05% 23.77% 44.84%; width: 13.11%; height: 51.29%; }
.logo .logo__v2 { inset: 24.96% 17.76% 25.2% 72.49%; width: 9.75%; height: 49.84%; }
.logo .logo__v3 { inset: 24.94% 5.66% 25.2% 84.58%; width: 9.76%; height: 49.86%; }
.logo__group { position: absolute; inset: 19.59% 28.66% 23.17% 17.35%; }
.logo__group img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  background: rgba(10, 10, 10, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-08);
}
.site-nav { display: flex; align-items: center; gap: 40px; }
.site-nav__links { display: flex; align-items: center; gap: 40px; }
.nav-link {
  position: relative; display: inline-flex; flex-direction: column; gap: 6px;
  padding-block: 4px;
  font-weight: 500; font-size: 16px; color: var(--white);
  transition: color 0.2s ease-out;
}
.nav-link::after {
  content: ""; height: 2px; width: 2px;
  background: var(--orange); opacity: 0;
  transition: width 0.2s ease-out, opacity 0.2s ease-out;
}
.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-current { color: var(--orange); }
.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-current::after { width: 100%; opacity: 1; }

/* Fixed "Contact Us" tab */
.contact-tab {
  position: fixed; right: 0; top: 56%; z-index: 90;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  padding: 22px 12px;
  border-radius: 0 8px 8px 0;   /* becomes left-rounded after rotation */
  background: var(--orange); color: var(--black);
  font-weight: 700; font-size: 13px; letter-spacing: 0.14em;
  transition: background-color 0.15s ease-out, box-shadow 0.2s ease-out;
}
.contact-tab:hover,
.contact-tab:focus-visible { background: var(--white); box-shadow: 0 0 24px rgba(249, 173, 9, 0.5); }

/* =========================================================
   S1 · Hero
   ========================================================= */
.hero {
  position: relative;
  height: max(1000px, 100svh);
  max-height: 1100px;
  background: var(--black);
  overflow: hidden;
  isolation: isolate;
}
.hero__image {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 61.46%;                     /* 1180 / 1920 */
  z-index: -3;
}
.hero__image img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade-left {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg, #000 0%, #000 38%, rgba(0, 0, 0, 0.55) 52%, rgba(0, 0, 0, 0) 72%);
}
.hero__shade-bottom {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, var(--bg-0) 100%);
}
.hero__glow {
  position: absolute; z-index: -1; pointer-events: none;
  left: 64.58%; top: 18%;           /* 1240 / 1920, 180 / 1000 */
  width: 700px; height: 700px;
}
.hero__glow img { position: absolute; inset: -28.57%; width: calc(100% + 57.14%); height: calc(100% + 57.14%); max-width: none; }
.hero__grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__grain img { width: 100%; height: 100%; }

.hero__inner {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column;
  padding-top: 296px;
  padding-bottom: 57px;
}
.hero__copy { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.hero__title {
  font-weight: 300;
  font-size: clamp(48px, 5.84vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.hero__line { display: block; white-space: nowrap; }
.hero__title .w { display: inline-block; }
.hero__sub {
  max-width: 700px;
  font-weight: 300; font-size: clamp(18px, 1.25vw, 24px); line-height: 1.45;
  color: var(--text-1);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 20px; }

.trust-strip {
  margin-top: auto;
  align-self: flex-start;
  display: flex;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-14);
  border-radius: 14px;
  overflow: hidden;
}
.trust-strip__stat {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px 36px;
  white-space: nowrap;
}
.trust-strip__stat + .trust-strip__stat { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.trust-strip dt { font-weight: 300; font-size: clamp(32px, 2.3vw, 44px); color: var(--white); }
.trust-strip dt.gold { font-weight: 300; color: transparent; }
.trust-strip dd { font-size: 15px; color: var(--text-2); }
.trust-strip__mark {                 /* ISI mark replaces the "ISI" text (Figma: 70×50.167) */
  display: flex; align-items: center; justify-content: center;
  width: 70px; height: 50.167px;
}
.trust-strip__mark img { width: 66.5px; height: 50.75px; flex-shrink: 0; }

.scroll-cue {
  position: absolute; z-index: 3;
  right: var(--gutter); bottom: 96px;
  display: flex; flex-direction: column; align-items: center;
}
.scroll-cue__mouse {
  position: relative; display: block;
  width: 28px; height: 46px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  transition: border-color 0.15s ease-out;
}
.scroll-cue:hover .scroll-cue__mouse { border-color: var(--orange); }
.scroll-cue__dot { position: absolute; left: 9.5px; top: 7.5px; width: 6px; height: 6px; }

/* Door-opening intro overlay */
.door-intro { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.door-intro__leaf { position: absolute; top: 0; bottom: 0; width: 50%; }
.door-intro__leaf--left { left: 0; background: linear-gradient(90deg, #050505, #141414); transform: translateX(-100%); }
.door-intro__leaf--right { right: 0; background: linear-gradient(90deg, #141414, #050505); transform: translateX(100%); }
.door-intro__seam {
  position: absolute; top: 0; bottom: 0; left: calc(50% - 3px); width: 6px;
  background: var(--orange); box-shadow: 0 0 60px 8px var(--orange);
  opacity: 0;
}
.door-intro__handle {
  position: absolute; left: calc(50% - 40px); top: calc(50% - 60px);
  width: 8px; height: 120px; border-radius: 4px; background: var(--text-2);
  opacity: 0;
}

/* =========================================================
   Sections (shared)
   ========================================================= */
.section { position: relative; overflow: hidden; }

/* =========================================================
   S2 · The Overlooked Reality
   ========================================================= */
.reality { background: var(--bg-0); }
.reality__inner {
  min-height: 1000px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding-block: 80px;
}
.reality__copy { display: flex; flex-direction: column; gap: 32px; max-width: 760px; }
.reality__title { white-space: nowrap; }
.pull-quote { display: flex; gap: 24px; }
.pull-quote::before { content: ""; flex: 0 0 4px; background: var(--orange); }
.pull-quote p { max-width: 720px; font-weight: 500; font-size: clamp(20px, 1.46vw, 28px); line-height: 1.4; }

.reality__visual {
  position: relative; flex-shrink: 0;
  width: 790px; height: 840px;     /* chip-to-chip bounds of the Figma composition */
  margin-right: -30px;             /* outline extends 30px past the content edge */
}
.reality__arch-outline {
  position: absolute; left: 90px; top: 0; width: 700px; height: 840px;
  border: 1.5px solid rgba(249, 173, 9, 0.5);
  border-radius: 350px 350px 40px 40px;
}
.reality__arch {
  position: absolute; left: 120px; top: 30px; width: 640px; height: 780px;
  border-radius: 320px 320px 24px 24px; overflow: hidden;
}
.reality__arch img { position: absolute; top: 0; left: -60.64%; width: 160.62%; height: 100%; max-width: none; object-fit: cover; }
.reality__arch-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 100%); }

.float-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 14px;
  border-radius: 99px;
  background: rgba(20, 20, 20, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  font-weight: 500; font-size: 17px; white-space: nowrap;
}
.float-chip--1 { left: 0; top: 160px; }
.float-chip--2 { left: 580px; top: 350px; }
.float-chip--3 { left: 20px; top: 560px; }

.counter-badge {
  position: absolute; left: 500px; top: 660px;
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px 28px; border-radius: 16px;
  background: var(--orange); color: var(--black);
}
.counter-badge strong { font-weight: 900; font-size: 48px; line-height: normal; }
.counter-badge span { font-weight: 500; font-size: 15px; line-height: 1.3; }

/* =========================================================
   S2b · Door Moments quiz
   ========================================================= */
.moments { background: var(--bg-2); isolation: isolate; }
.moments__glow { position: absolute; left: -200px; top: 200px; width: 800px; height: 800px; z-index: -1; pointer-events: none; }
.moments__glow img { position: absolute; inset: -30%; width: 160%; height: 160%; max-width: none; }
.moments__inner {
  min-height: 870px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 820px); column-gap: 60px;
  align-items: center;
  padding-block: 110px;
}
.moments__title {
  font-weight: 300; font-size: clamp(40px, 3.34vw, 64px); line-height: 1.08;
}
.moments__title .gold { font-weight: 700; }

/* Result block: collapsed until an answer is picked; expanding it slides the headline up */
.moments__result {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.9s var(--ease-in-out);
}
.moments__result-inner {
  overflow: hidden; min-height: 0;
  display: flex; flex-direction: column; align-items: flex-start;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.9s;
}
.moments.is-answered .moments__result { grid-template-rows: 1fr; }
.moments.is-answered .moments__result-inner { opacity: 1; visibility: visible; transition: opacity 0.6s ease-out 0.3s, visibility 0s; }

.moments__feedback {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 14px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 500; font-size: 16px; line-height: 1.4; color: var(--white);
}
.moments__feedback-icon { flex-shrink: 0; }
.moments__feedback-icon--right { display: none; }
.moments.is-correct .moments__feedback { background: var(--orange); border-color: var(--orange); color: var(--black); }
.moments.is-correct .moments__feedback-icon--right { display: block; }
.moments.is-correct .moments__feedback-icon--wrong { display: none; }

.moments__counter { margin-top: 24px; display: flex; align-items: center; gap: 24px; }
.moments__digits {
  --dh: 200px;
  display: flex; height: var(--dh); width: calc(var(--dh) * 1.2); overflow: hidden; flex-shrink: 0;
  font-weight: 100; font-size: var(--dh); line-height: var(--dh);
}
.moments__digit-col {
  display: flex; flex-direction: column; width: 50%;
  transform: translateY(0);
}
.moments.is-answered .moments__digit-col { transform: translateY(calc(var(--n, 0) * -1 * var(--dh))); }
.moments__digit-col[data-digit="2"] { --n: 2; }
.moments__digit-col[data-digit="4"] { --n: 4; }
.moments__counter-label { display: flex; flex-direction: column; gap: 6px; line-height: 1.45; white-space: nowrap; }
.moments__counter-label strong { font-weight: 500; font-size: 28px; }
.moments__counter-label span { font-weight: 300; font-size: 20px; color: var(--text-2); }
.moments__year { margin-top: 28px; font-size: 24px; line-height: 1.45; }
.moments__footnote { margin-top: 24px; max-width: 754px; font-size: 15px; line-height: 1.45; color: var(--text-4); }
.moments__retry {
  margin-top: 38px;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 13px; line-height: 1.4; letter-spacing: 0.12em; color: var(--orange);
  transition: color 0.15s ease-out;
}
.moments__retry:hover { color: var(--white); }

/* Right column: options and tiles share one grid cell and crossfade */
.moments__stage { display: grid; }
.moments__options,
.moments__tiles {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
  align-content: center;
  transition: opacity 0.6s ease-out, transform 0.9s var(--ease-in-out), visibility 0s linear 0.9s;
}
.moments__tiles { opacity: 0; visibility: hidden; transform: translateY(40px); }
.moments.is-answered .moments__options { opacity: 0; visibility: hidden; transform: translateY(-40px); }
.moments.is-answered .moments__tiles { opacity: 1; visibility: visible; transform: none; transition: opacity 0.6s ease-out 0.3s, transform 0.9s var(--ease-in-out), visibility 0s; }

.quiz-option {
  height: 247px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 30px 32px;
  border-radius: 18px;
  background: #161616;
  border: 1px solid var(--line-08);
  text-align: left;
  transition: background-color 0.2s ease-out, border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}
.quiz-option__top { display: flex; align-items: center; justify-content: space-between; }
.quiz-option__letter { font-weight: 700; font-size: 12px; line-height: 1.2; letter-spacing: 0.14em; color: var(--text-4); transition: color 0.2s ease-out; }
.quiz-option__radio { position: relative; width: 24px; height: 24px; }
.quiz-option__radio img { position: absolute; inset: 0; transition: opacity 0.2s ease-out; }
.quiz-option__radio-on { opacity: 0; }
.quiz-option__value { display: flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.quiz-option__range { font-weight: 300; font-size: clamp(48px, 3.75vw, 72px); line-height: 1; color: var(--white); transition: color 0.2s ease-out; }
.quiz-option__unit { font-size: 22px; line-height: 1.2; color: var(--text-2); }
.quiz-option:hover,
.quiz-option:focus-visible {
  background: #1c1a14;
  border-color: #e6c75c;
  box-shadow: 0 12px 40px rgba(230, 199, 92, 0.18);
}
.quiz-option:hover .quiz-option__letter,
.quiz-option:focus-visible .quiz-option__letter { color: #e6c75c; }
.quiz-option:hover .quiz-option__range,
.quiz-option:focus-visible .quiz-option__range { color: var(--orange); }
.quiz-option:hover .quiz-option__radio-on,
.quiz-option:focus-visible .quiz-option__radio-on { opacity: 1; }
.quiz-option:hover .quiz-option__radio-off,
.quiz-option:focus-visible .quiz-option__radio-off { opacity: 0; }

.moment-tile {
  display: flex; flex-direction: column; gap: 18px;
  padding: 28px;
  border-radius: 18px;
  background: #161616;
  border: 1px solid var(--line-08);
}
.moment-tile__top { display: flex; align-items: center; justify-content: space-between; }
.moment-tile__badge { display: inline-flex; padding: 12px; border-radius: 99px; background: rgba(249, 173, 9, 0.12); }
.moment-tile__count { font-weight: 300; font-size: 40px; line-height: 1.45; }
.moment-tile__label { font-weight: 500; font-size: 18px; line-height: 1.35; }

/* =========================================================
   S3 · A Day in the Life
   ========================================================= */
.day { background: var(--bg-0); padding-block: 146px 120px; }
.day .h-section { font-size: clamp(36px, 3.125vw, 60px); line-height: 1.1; }
.day .h-section .gold { font-size: 1em; }
.day__sub { margin-top: 20px; font-weight: 300; font-size: clamp(17px, 1.15vw, 22px); line-height: 1.5; color: var(--text-2); }

.day-panel {
  position: relative;
  margin-top: 70px;
  display: grid;
  grid-template-columns: 440px minmax(0, 1fr);
  column-gap: 96px;
  padding: 40px 40px 40px 64px;
  border-radius: 28px;
  background: #0d0b08;
  overflow: hidden;
  isolation: isolate;
}
.day-panel__glow {
  position: absolute; left: -250px; top: -300px; width: 900px; height: 900px; z-index: -1;
  pointer-events: none;
  transition: filter 0.7s ease-out;
}
.day-panel__glow img { position: absolute; inset: -24.44%; width: calc(100% + 48.88%); height: calc(100% + 48.88%); max-width: none; }
.day-panel[data-slide="1"] .day-panel__glow { filter: hue-rotate(-18deg) saturate(1.2); }
.day-panel[data-slide="2"] .day-panel__glow { filter: hue-rotate(170deg) saturate(0.8); }
.day-panel[data-slide="3"] .day-panel__glow { filter: hue-rotate(200deg) saturate(0.7) brightness(0.8); }

.day-panel__side { align-self: center; display: flex; flex-direction: column; gap: 64px; }
.day-tabs { display: flex; flex-direction: column; gap: 8px; }
.day-tab {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  padding-block: 18px;
  text-align: left;
  opacity: 0.42;
  transition: opacity 0.3s ease-out;
}
.day-tab:hover { opacity: 0.75; }
.day-tab.is-active { opacity: 1; }
.day-tab__row { display: flex; align-items: center; gap: 18px; }
.day-tab .icon-badge { background: rgba(255, 255, 255, 0.1); transition: background-color 0.3s ease-out; }
.day-tab.is-active .icon-badge { background: var(--orange); }
.day-tab__labels { display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.day-tab__time { font-weight: 700; font-size: 14px; letter-spacing: 0.1em; color: var(--white); }
.day-tab__title { font-weight: 400; font-size: 24px; color: var(--white); }
.day-tab.is-active .day-tab__time { color: var(--orange); }
.day-tab.is-active .day-tab__title { font-weight: 700; }
.day-tab__track {
  position: relative; display: block;
  width: 440px; max-width: 100%; height: 3px;
  border-radius: 2px; overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}
.day-tab__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--orange); }
.day-tab.is-active .day-tab__fill { width: 100%; }
[data-day].is-autoplay .day-tab.is-active .day-tab__fill {
  width: 0;
  animation: day-fill 5s linear forwards;
}
[data-day].is-autoplay.is-paused .day-tab.is-active .day-tab__fill { animation-play-state: paused; }
@keyframes day-fill { to { width: 100%; } }

.day-controls { display: flex; align-items: center; justify-content: space-between; height: 48px; width: 440px; max-width: 100%; }
.day-controls__left,
.day-controls__right { display: flex; align-items: center; }
.day-controls__left { gap: 16px; }
.day-controls__right { gap: 10px; }
.day-controls__count { font-weight: 300; font-size: 20px; letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.5); }
.day-controls__count span { font-weight: 500; color: var(--white); }

.round-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 22px;
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out, box-shadow 0.2s ease-out, transform 0.15s ease-out;
}
.round-btn--muted { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); }
.round-btn--outline { border: 1px solid rgba(255, 255, 255, 0.3); }
.round-btn--primary { background: var(--orange); border: 1px solid var(--orange); }
.round-btn--muted:hover,
.round-btn--outline:hover { background: rgba(255, 255, 255, 0.18); border-color: var(--white); }
.round-btn--primary:hover { box-shadow: 0 0 24px rgba(249, 173, 9, 0.55); }
.round-btn:active { transform: scale(0.94); }
.round-btn__play {
  display: none;
  width: 0; height: 0; margin-left: 3px;
  border-style: solid; border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--white);
}
[data-day].is-paused .round-btn__pause { display: none; }
[data-day].is-paused .round-btn__play { display: block; }

.day-stage {
  position: relative;
  aspect-ratio: 1080 / 720;
  border-radius: 20px;
  overflow: hidden;
  background: var(--black);
}
.day-slide { position: absolute; inset: 0; opacity: 0; z-index: 0; transition: opacity 0.7s ease-out; }
.day-slide.is-active { opacity: 1; z-index: 1; }
.day-slide.is-leaving { opacity: 1; z-index: 0; transition: none; }  /* keep outgoing opaque beneath — flicker-free crossfade */
.day-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.day-slide__img--coffee {
  inset: auto; left: -1.02%; top: -9.72%;                  /* 1186×790 at (-11,-70) inside 1080×720 */
  width: 109.81%; height: 109.72%; max-width: none;
}
.day-stage__shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.88) 100%);
}

/* 24h day-line */
.dayline { position: absolute; z-index: 3; left: 3.7%; right: 3.7%; top: 34px; height: 44px; --now: 31.25%; }
.dayline__track { position: absolute; left: 0; right: 0; top: 30px; height: 1px; background: rgba(255, 255, 255, 0.3); }
.dayline__fill {
  position: absolute; left: 0; top: 29.5px; height: 2px;
  width: var(--now);
  background: linear-gradient(90deg, rgba(230, 199, 92, 0), var(--orange));
  transition: width 0.7s var(--ease-in-out);
}
.dayline__hour {
  position: absolute; top: 0; left: var(--p); transform: translateX(-50%);
  font-weight: 500; font-size: 11px; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.55);
}
.dayline__tick { position: absolute; top: 27px; left: var(--p); width: 1px; height: 7px; background: rgba(255, 255, 255, 0.4); }
.dayline__stop { position: absolute; top: 27px; left: calc(var(--p) - 3.5px); width: 7px; height: 7px; }
.dayline__stop img { position: absolute; inset: 0; }
.dayline__stop-on { opacity: 0; transition: opacity 0.3s; }
.dayline__stop.is-passed .dayline__stop-on { opacity: 1; }
.dayline__now {
  position: absolute; top: 22.5px; left: calc(var(--now) - 8px); width: 16px; height: 16px;
  transition: left 0.7s var(--ease-in-out);
}
.dayline__now img { position: absolute; inset: -112.5%; width: 52px; height: 52px; max-width: none; }

.day-clock {
  position: absolute; z-index: 2; right: 4%; top: 84px;
  font-weight: 100; font-size: clamp(64px, 7.8vw, 150px); letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.22); white-space: nowrap;
  opacity: 0; transform: translateY(-20px);
  transition: opacity 0.7s ease-out, transform 0.7s var(--ease-out);
}
.day-clock.is-active { opacity: 1; transform: none; }

.story-card {
  position: absolute; z-index: 4; left: 40px; bottom: 40px;
  width: min(760px, calc(100% - 80px));
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  padding: 28px 32px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-14);
  opacity: 0; visibility: hidden;
  transition: opacity 0.7s ease-out, visibility 0s linear 0.7s;
}
.story-card.is-active { opacity: 1; visibility: visible; transition: opacity 0.7s ease-out, visibility 0s; }
.story-card .chip {
  display: inline-block; padding: 6px 12px; border-radius: 4px;
  background: var(--orange); color: var(--black);
  font-weight: 700; font-size: 12px; letter-spacing: 0.1em;
}
.story-card h3 { font-weight: 700; font-size: clamp(26px, 1.875vw, 36px); line-height: 1.15; }
.story-card > p { font-size: clamp(16px, 1vw, 19px); line-height: 1.55; color: var(--text-1); }
.story-compare {
  align-self: stretch;
  display: flex; gap: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line-14);
}
.story-compare__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.story-compare__head {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 12px; line-height: 1.45; letter-spacing: 0.1em; color: #a8a8a8;
}
.story-compare__col--hormann .story-compare__head { color: var(--orange); }
.story-compare__badge { display: inline-flex; flex-shrink: 0; padding: 4px; border-radius: 99px; }
.story-compare__badge--x { background: rgba(224, 36, 0, 0.2); }
.story-compare__badge--check { background: var(--orange); }
.story-compare p { font-size: 15px; line-height: 1.45; color: #a8a8a8; }
.story-compare__col--hormann p { font-weight: 500; color: var(--white); }

.diff-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.diff-card {
  display: flex; flex-direction: column; gap: 18px;
  padding: 32px 36px;
  border-radius: 20px;
  background: #141414;
  border: 1px solid var(--line-08);
}
.diff-card__title { font-weight: 700; font-size: 22px; line-height: 1.45; }
.diff-card__compare { display: flex; gap: 28px; }
.diff-card__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.diff-card__label { font-weight: 700; font-size: 12px; line-height: 1.45; letter-spacing: 0.1em; color: var(--text-4); }
.diff-card__col--hormann .diff-card__label { color: var(--orange); }
.diff-card p { font-size: 17px; line-height: 1.45; color: #a8a8a8; }
.diff-card__col--hormann p { font-weight: 500; color: var(--white); }

/* =========================================================
   S5 · Certification Authority
   ========================================================= */
.certified { background: var(--bg-1); padding-block: 145px 130px; }
.certified__blue-glow {
  position: absolute; left: 57.3%; top: -260px; width: 1100px; height: 700px;
  pointer-events: none;
}
.certified__blue-glow img { position: absolute; inset: -37.14% -23.64%; width: calc(100% + 47.28%); height: calc(100% + 74.28%); max-width: none; }
.certified__grid {
  position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
  background-image: linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 120px 100%;
}
.certified .container { position: relative; }
.certified__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.certified__title { margin-top: 25px; }
.certified__title { font-size: clamp(40px, 3.75vw, 72px); white-space: nowrap; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.certified .card-grid { margin-top: 86px; }

.isi-marks { display: flex; gap: 24px; flex-shrink: 0; }
.isi-mark { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.isi-mark__tile {
  position: relative; display: block;
  width: 170px; height: 170px;
  border-radius: 13.6px;
  border: 1.275px solid rgba(230, 199, 92, 0.9);
  background: var(--white);
  filter: drop-shadow(0 0 12.75px rgba(229, 199, 92, 0.25));
}
.isi-mark__tile--cream { background: #fcfbf4; }
.isi-mark__logo { position: absolute; left: 10.2px; top: 10.2px; width: 149.6px; height: 149.6px; }
.isi-mark__logo img { width: 100%; height: 100%; object-fit: contain; }
.isi-mark__logo--crop { overflow: hidden; }
.isi-mark__logo--crop img { position: absolute; left: -6.15%; top: 10.51%; width: 112.29%; height: 96.28%; max-width: none; object-fit: fill; }
.isi-mark__label { font-weight: 500; font-size: 12px; line-height: 1.4; letter-spacing: 0.08em; color: #e6c75c; white-space: nowrap; }

/* Shared hover-reveal media card */
.media-card {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  height: 520px;
  padding: 36px 36px 40px;
  border-radius: 12px;
  border: 1px solid var(--line-10);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.4s ease-out;
}
.media-card--product { height: 680px; }
.media-card__img {
  position: absolute; inset: 0; z-index: -3;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease-out;
}
.media-card__overlay {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.5) 62%, rgba(0, 0, 0, 0.95) 100%);
}
.media-card__overlay--blue {
  background: linear-gradient(180deg, rgba(0, 30, 70, 0.55) 0%, rgba(0, 58, 125, 0.25) 30%, rgba(0, 40, 90, 0.7) 62%, rgba(0, 20, 50, 0.97) 100%);
  opacity: 0;
  transition: opacity 0.4s ease-out;
}
.media-card__topline {
  position: absolute; left: 0; top: 0; height: 4px; width: 0;
  background: var(--orange);
  transition: width 0.4s ease-out;
}
.media-card__eyebrow {
  position: absolute; left: 35px; top: 35px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.12em; color: var(--orange);
}
.media-card__content { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; width: 100%; }
.media-card__content > div { width: 100%; }
.media-card__title { font-weight: 700; font-size: clamp(24px, 1.5625vw, 30px); line-height: 1.2; }
.media-card__reveal {
  display: grid; grid-template-rows: 0fr;
  padding-top: 14px;
  transition: grid-template-rows 0.4s ease-out;
}
.media-card__reveal > div { overflow: hidden; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.media-card__reveal p {
  font-size: 18px; line-height: 1.5; color: var(--text-1);
  opacity: 0; transition: opacity 0.4s ease-out;
}
.media-card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 16px; letter-spacing: 0.06em; color: var(--orange);
  opacity: 0; transition: opacity 0.4s ease-out 0.05s;
}

.media-card:hover,
.media-card:focus-visible,
.media-card:focus-within { border-color: var(--orange); }
.media-card:focus-visible { outline: none; }
.media-card:hover .media-card__img,
.media-card:focus-visible .media-card__img { transform: scale(1.08); }
.media-card:hover .media-card__overlay--blue,
.media-card:focus-visible .media-card__overlay--blue { opacity: 1; }
.media-card:hover .media-card__topline,
.media-card:focus-visible .media-card__topline { width: 100%; }
.media-card:hover .media-card__reveal,
.media-card:focus-visible .media-card__reveal { grid-template-rows: 1fr; }
.media-card:hover .media-card__reveal p,
.media-card:hover .media-card__cta,
.media-card:focus-visible .media-card__reveal p,
.media-card:focus-visible .media-card__cta { opacity: 1; }

/* Touch devices: no hover, so show the copy */
@media (hover: none) {
  .media-card__reveal { grid-template-rows: 1fr; }
  .media-card__reveal p,
  .media-card__cta { opacity: 1; }
}

/* =========================================================
   S6 · Engineered for Every Space
   ========================================================= */
.products { background: var(--bg-0); padding-block: 166px 140px; }
.products__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.products .card-grid { margin-top: 86px; }

/* =========================================================
   S7 · Lead Capture & Experience Centre
   ========================================================= */
.lead { background: var(--black); isolation: isolate; }
.lead__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.lead__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.95) 100%);
}
.lead__inner {
  min-height: 1100px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 60px;
  padding-block: 160px;
}
.lead__copy { display: flex; flex-direction: column; gap: 28px; max-width: 680px; margin-top: 84px; }
.lead__title { line-height: 1.02; white-space: nowrap; }
.lead__body { color: var(--text-1); }

.lead-form {
  flex: 0 0 656px; max-width: 100%;
  display: flex; flex-direction: column; gap: 24px;
  padding: 48px;
  border-radius: 20px;
  background: rgba(14, 14, 14, 0.82);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border: 1px solid var(--line-14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lead-form__title { font-weight: 700; font-size: clamp(24px, 1.5625vw, 30px); }
.lead-form__sub { font-size: 16px; color: var(--text-3); }
.lead-form__privacy { font-size: 13px; color: var(--text-4); }

.lead-form__status {
  display: none;
  font-size: 14px; line-height: 1.5;
  padding: 12px 16px;
  border-radius: 6px;
}
.lead-form__status.is-visible { display: block; }
.lead-form__status.is-error { color: #ff6a4d; background: rgba(255, 106, 77, 0.08); border: 1px solid rgba(255, 106, 77, 0.3); }

/* Honeypot: off-screen, not display:none — real browsers still tab past it, which is why
   it also carries tabindex="-1" and aria-hidden, but simple scrapers that fill every
   visible-looking input still trip it. */
.field--hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-row > .field { min-width: 0; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field__control { width: 100%; }
.field__label { padding: 0; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; color: var(--text-2); }
.field__control {
  display: flex; align-items: center; gap: 8px;
  padding: 0 20px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-18);
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out, background-color 0.15s ease-out;
}
.field__control:hover { border-color: rgba(255, 255, 255, 0.35); }
.field__control:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 173, 9, 0.25);
  background: rgba(255, 255, 255, 0.06);
}
.field__prefix { font-size: 18px; color: var(--text-4); }
.field__control:focus-within .field__prefix { color: var(--white); }
.field input {
  flex: 1; min-width: 0;
  padding: 18px 0;
  background: transparent; border: 0; outline: 0;
  font: inherit; font-size: 18px; color: var(--white);
  caret-color: var(--orange);
}
.field input::placeholder { color: var(--text-4); opacity: 1; }
.field select {
  flex: 1; min-width: 0;
  padding: 18px 28px 18px 0;
  background: transparent; border: 0; outline: 0;
  font: inherit; font-size: 18px; color: var(--white);
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 5.5l4.5 4.5 4.5-4.5' stroke='%238a8a8a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 16px;
}
.field select:invalid { color: var(--text-4); }
.field select option { color: #111; background: #fff; }
.field__error { display: none; font-size: 13px; color: #ff6a4d; }

/* Validation only after interaction */
.field__control:has(input:user-invalid, select:user-invalid) { border-color: #ff6a4d; }
.field:has(input:user-invalid, select:user-invalid) .field__error { display: block; }
.lead-form.was-submitted .field__control:has(input:invalid, select:invalid) { border-color: #ff6a4d; }
.lead-form.was-submitted .field:has(input:invalid, select:invalid) .field__error { display: block; }

.field--roles { gap: 12px; }
.role-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.role-chip {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-25);
  font-size: 16px; color: var(--white);
  cursor: pointer;
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
}
.role-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.role-chip img { flex-shrink: 0; }
.role-chip__radio-on { display: none; }
.role-chip:hover { border-color: rgba(255, 255, 255, 0.5); }
.role-chip:has(input:checked) { background: var(--orange); border-color: var(--orange); color: var(--black); font-weight: 700; }
.role-chip:has(input:checked) .role-chip__radio { display: none; }
.role-chip:has(input:checked) .role-chip__radio-on { display: block; }
.role-chip:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 3px; }

/* =========================================================
   S9 · Find Your Door
   ========================================================= */
.find { background: var(--bg-2); padding-block: 140px; isolation: isolate; }
.find__grid {
  position: absolute; inset: 0; z-index: -2; opacity: 0.05; pointer-events: none;
  background-image: linear-gradient(90deg, #fff 1px, transparent 1px), linear-gradient(180deg, #fff 1px, transparent 1px);
  background-size: 104px 104px;
}
.find__vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(14, 14, 14, 0) 35%, #0e0e0e 100%);
}
.find__title { text-align: center; font-weight: 700; font-size: clamp(40px, 3.34vw, 64px); letter-spacing: -0.01em; }
/* Doors are drawn at Figma size (283×460, builders 414×460) and scaled with --s */
.find__doors {
  --s: 0.8;
  margin-top: 80px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end;
  gap: 56px calc(64px * var(--s));
}
.find-door {
  --w: 283px;
  display: flex; flex-direction: column; align-items: center; gap: calc(28px * var(--s));
}
.find-door--wide { --w: 414px; }
.find-door__stage { position: relative; display: block; width: calc(var(--w) * var(--s)); height: calc(460px * var(--s)); }
.find-door__scale {
  position: absolute; left: 0; top: 0;
  width: var(--w); height: 460px;
  transform: scale(var(--s)); transform-origin: 0 0;
}
.find-door__art {
  position: absolute; left: 0; top: 0; width: 100%;
  transition: transform 0.3s var(--ease-out), filter 0.3s ease-out;
}
img.find-door__art { height: auto; }   /* SVG stage is 486px tall: 460 + floor glow overflow */
.find-door__gold-glow {
  position: absolute; left: 20px; right: 20px; top: 424px; height: 28px;
  border-radius: 50%;
  background: rgba(249, 173, 9, 0.55);
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s ease-out;
}
.find-door__home { height: 460px; }
.find-door__home-glow { position: absolute; left: 8px; top: 426px; width: 267px; height: 52px; max-width: none; }
.find-door__home-door {
  position: absolute; left: 40px; top: 31.12px; width: 203.368px; height: 420.884px;
  overflow: hidden;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.6));
}
.find-door__home-door > img { position: absolute; max-width: none; }   /* intrinsic SVG sizes match the Figma boxes */
.find-door__home-grain {
  position: absolute; inset: -6.98% 18.7% -8.03% 18.7%;
  -webkit-mask: url("../assets/img/doors/home-mask.svg") 0 42.648px / 127.326px 406.737px no-repeat;
  mask: url("../assets/img/doors/home-mask.svg") 0 42.648px / 127.326px 406.737px no-repeat;
}
.find-door__home-grain img { position: absolute; inset: 0; width: 100%; height: 100%; }
.find-door__label {
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  font-weight: 500; font-size: clamp(12px, calc(20px * var(--s)), 18px); letter-spacing: 0.2em; color: var(--text-2); white-space: nowrap;
  transition: color 0.2s ease-out;
}
.find-door__label::after {
  content: ""; width: 2px; height: 2px; background: var(--orange); opacity: 0;
  transition: width 0.25s ease-out, opacity 0.25s ease-out;
}
.find-door:hover .find-door__art,
.find-door:focus-visible .find-door__art { transform: translateY(-10px); filter: drop-shadow(0 16px 28px rgba(249, 173, 9, 0.35)); }
.find-door:hover .find-door__gold-glow,
.find-door:focus-visible .find-door__gold-glow { opacity: 1; }
.find-door:hover .find-door__label,
.find-door:focus-visible .find-door__label { color: var(--orange); }
.find-door:hover .find-door__label::after,
.find-door:focus-visible .find-door__label::after { width: 100%; opacity: 1; }
.find-door:focus-visible { outline: none; }
.find-door:focus-visible .find-door__stage { outline: 2px solid var(--orange); outline-offset: 6px; border-radius: 8px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 40px var(--gutter);
  background: var(--black);
  border-top: 1px solid var(--line-10);
}
.site-footer__legal { font-size: 14px; color: var(--text-4); }
.site-footer__legal span { margin-inline: 6px; }
.site-footer__legal a:hover { color: var(--orange); }

/* =========================================================
   Thank-you overlay
   ========================================================= */
.thanks {
  width: min(620px, calc(100% - 32px));
  padding: 56px 64px;
  border-radius: 24px;
  border: 1px solid rgba(249, 173, 9, 0.6);
  background: var(--bg-2);
  color: var(--white);
  text-align: center;
}
.thanks[open] { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.thanks::backdrop { background: rgba(0, 0, 0, 0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.thanks__badge { display: inline-flex; padding: 22px; border-radius: 99px; background: var(--orange); }
.thanks__title { font-weight: 700; font-size: clamp(26px, 1.875vw, 36px); }
.thanks__body { font-size: 18px; line-height: 1.55; color: var(--text-2); }

/* =========================================================
   Popup lead form (header CTA + 50% scroll trigger)
   ========================================================= */
.popup-form {
  /* No position override here: keep the UA's dialog:modal { position: fixed } so the
     popup centers in the current viewport instead of jumping to its place in the document flow. */
  width: min(656px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
  overflow: auto;
}
.popup-form[open] { display: block; }
.popup-form::backdrop { background: rgba(0, 0, 0, 0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.popup-form__form { width: 100%; }
.popup-form__close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  display: inline-flex; padding: 10px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line-18);
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out;
}
.popup-form__close:hover,
.popup-form__close:focus-visible { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.35); }

/* =========================================================
   Motion (spatial motion only when the user allows it)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* --- Hero door-opening intro (Storyboard 01) --- */
  .door-intro__leaf--left { animation: leaf-left 1.3s var(--ease-in-out) 0.6s both; }
  .door-intro__leaf--right { animation: leaf-right 1.3s var(--ease-in-out) 0.6s both; }
  .door-intro__seam { animation: seam 1.9s ease-out both; }
  .door-intro__handle { animation: handle 1.2s ease-out both; }
  .hero__image img { animation: ken-burns 3.4s var(--ease-out) 0.6s both; }
  .hero__title .w {
    animation: word-in 1s var(--ease-out) both;
    animation-delay: calc(1.65s + var(--i, 0) * 0.1s);
  }
  .intro-fade { animation: fade-up 0.7s ease-out both; animation-delay: var(--d, 0s); }
  .scroll-cue__dot { animation: dot-bounce 1.8s ease-in-out 3.6s infinite; }

  @keyframes leaf-left { from { transform: translateX(0); } to { transform: translateX(-100%); } }
  @keyframes leaf-right { from { transform: translateX(0); } to { transform: translateX(100%); } }
  @keyframes seam { 0% { opacity: 0; } 18% { opacity: 1; } 45% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes handle { 0%, 50% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes ken-burns { from { transform: scale(1.18); } to { transform: scale(1); } }
  @keyframes word-in {
    from { opacity: 0; transform: translateY(60px); filter: blur(14px); }
    to { opacity: 1; transform: none; filter: blur(0); }
  }
  @keyframes fade-up { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
  @keyframes dot-bounce { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(16px); opacity: 0.2; } }

  /* --- Ambient loops --- */
  .float-chip { animation: bob 6.4s ease-in-out infinite; }
  .float-chip--2 { animation-delay: -0.8s; }
  .float-chip--3 { animation-delay: -1.6s; }
  .counter-badge { animation: pop 4s ease-in-out infinite; transform-origin: 30% 50%; }
  .reality__arch-outline { animation: breathe 6s ease-in-out infinite; }

  @keyframes bob { 0%, 100% { transform: translateY(-14px); } 50% { transform: translateY(14px); } }
  @keyframes pop { 0%, 80%, 100% { transform: scale(1); } 88% { transform: scale(1.07); } }
  @keyframes breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.012); opacity: 0.6; } }

  /* --- Day-in-the-life slide motion (700ms) --- */
  .day-slide.is-active .day-slide__img { animation: zoom-out 0.7s var(--ease-out) both; }
  .story-card { transform: translateY(60px); transition: opacity 0.7s ease-out, transform 0.7s var(--ease-out), visibility 0s linear 0.7s; }
  .story-card.is-active { transform: none; transition: opacity 0.7s ease-out, transform 0.7s var(--ease-out), visibility 0s; }
  @keyframes zoom-out { from { transform: scale(1.08); } to { transform: scale(1); } }

  /* --- Door Moments: digits roll 00 → 24 --- */
  .moments__digit-col { transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.4s; }
  .moments:not(.is-answered) .moments__digit-col { transition: none; }

  /* --- ISI marks: fade + scale 0.94 → 1, 200ms stagger --- */
  .isi-mark { animation: isi-in 0.6s var(--ease-out) both; animation-delay: calc(0.3s + var(--i, 0) * 0.2s); }
  .isi-mark:nth-child(2) { --i: 1; }
  @supports (animation-timeline: view()) {
    .isi-mark { animation-timeline: view(); animation-range: entry 10% entry 70%; animation-delay: 0s; }
    .isi-mark:nth-child(2) { animation-range: entry 25% entry 85%; }
  }
  @keyframes isi-in { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }

  /* --- Thank-you drop-in --- */
  .thanks[open] { animation: drop-in 0.4s var(--ease-out) both; }
  .popup-form[open] { animation: drop-in 0.4s var(--ease-out) both; }
  @keyframes drop-in { from { opacity: 0; transform: translateY(-60px); } to { opacity: 1; transform: none; } }

  /* --- Section reveals: scroll-driven where supported --- */
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
  }
  @supports not ((animation-timeline: view()) and (animation-range: entry)) {
    .js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s var(--ease-out); }
    .js .reveal.is-visible { opacity: 1; transform: none; }
  }
  @keyframes reveal { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1680px) {
  .reality__visual { scale: 0.85; transform-origin: right center; margin-left: -118px; }
  .day-panel { grid-template-columns: 380px minmax(0, 1fr); column-gap: 56px; }
  .moments__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 720px); }
  .find__doors { --s: 0.7; }
}

@media (max-width: 1440px) {
  .site-nav, .site-nav__links { gap: 28px; }
  .reality__visual { scale: 0.72; margin-left: -221px; margin-block: -118px; }
  .lead-form { flex-basis: 580px; padding: 40px; }
  .media-card--product { height: 600px; }
  .quiz-option { height: 210px; }
  .isi-mark__tile { scale: 0.85; margin: -13px; }
  .find__doors { --s: 0.62; }
}

@media (max-width: 1200px) {
  :root { --header-h: 72px; }
  .site-nav__links { display: none; }
  .site-header .btn { padding: 14px 24px; font-size: 16px; }

  .hero { height: auto; max-height: none; min-height: min(100svh, 900px); }
  .hero__inner { padding-top: calc(var(--header-h) + 120px); }
  .trust-strip { margin-top: 80px; flex-wrap: wrap; }
  .trust-strip__stat { flex: 1 1 50%; padding: 20px 24px; }
  .trust-strip__stat:nth-child(3) { border-left: 0; }
  .trust-strip__stat:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .scroll-cue { display: none; }

  .reality__inner { flex-direction: column; align-items: flex-start; min-height: 0; padding-block: 120px; gap: 24px; }
  .reality__visual { align-self: center; margin: -84px auto; scale: 0.8; transform-origin: center; }
  .reality__title { white-space: normal; }

  .day { padding-block: 120px 100px; }
  .day-panel { grid-template-columns: 1fr; row-gap: 32px; padding: 32px; margin-top: 48px; }
  .day-panel__side { order: 2; gap: 24px; }
  .day-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .day-tab__track, .day-controls { width: 100%; }
  .diff-grid { grid-template-columns: 1fr; gap: 24px; }
  .find__doors { --s: 0.55; }

  .moments__inner { grid-template-columns: 1fr; row-gap: 48px; min-height: 0; padding-block: 120px; }

  .certified { padding-block: 100px; }
  .certified__title { white-space: normal; }

  .products { padding-block: 120px 100px; }
  .products .card-grid { margin-top: 48px; }
  .card-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .media-card, .media-card--product { height: 520px; }

  .lead__inner { flex-direction: column; min-height: 0; padding-block: 120px; }
  .lead__copy { margin-top: 0; }
  .lead__title { white-space: normal; }
  .lead-form { flex-basis: auto; width: 100%; max-width: 656px; }
}

@media (max-width: 760px) {
  .contact-tab { display: none; }
  .logo--header { width: 138px; height: 30.7px; }
  .site-header .btn { padding: 12px 16px; font-size: 14px; gap: 8px; }

  .hero__image { width: 100%; opacity: 0.55; }
  .hero__line { white-space: normal; }
  .hero__ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .btn { padding: 18px 24px; font-size: 16px; white-space: normal; }

  .reality__visual { scale: 0.42; margin: -244px -229px; align-self: center; }
  .float-chip { font-size: 20px; }

  .day-panel { padding: 16px; border-radius: 20px; }
  .day-tabs { grid-template-columns: 1fr; }
  .day-tab { padding-block: 10px; }
  .day-tab__title { font-size: 20px; }
  .day-stage { aspect-ratio: 3 / 4; }
  .dayline { top: 20px; }
  .day-clock { top: 70px; }
  .story-card { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 20px; }
  .day-slide__img--coffee { left: -30%; width: 160%; height: 100%; top: 0; }

  .certified__header { flex-direction: column-reverse; align-items: flex-start; }
  .card-grid { grid-template-columns: 1fr; }
  .media-card, .media-card--product { height: 460px; padding: 28px; }
  .media-card__eyebrow { left: 27px; top: 27px; }

  .moments__options, .moments__tiles { gap: 12px; }
  .quiz-option { height: 150px; padding: 20px; }
  .quiz-option__range { font-size: 36px; }
  .quiz-option__unit { font-size: 16px; }
  .moments__tiles { grid-template-columns: 1fr; }
  .moments__digits { --dh: 120px; }
  .moments__counter { gap: 16px; }
  .moments__counter-label strong { font-size: 22px; }
  .moments__counter-label span { font-size: 16px; }
  .moments__year { font-size: 20px; }
  .moments__feedback { font-size: 14px; }

  .story-compare, .diff-card__compare { flex-direction: column; gap: 16px; }
  .diff-card { padding: 24px; }

  .isi-marks { gap: 16px; }
  .isi-mark__tile { scale: 0.7; margin: -25px; }

  .find { padding-block: 100px; }
  .find__doors { --s: 0.4; margin-top: 48px; gap: 40px 16px; }
  .find__doors > li { flex: 0 0 calc(50% - 8px); display: flex; justify-content: center; }
  .find-door__label { font-size: 11px; letter-spacing: 0.1em; gap: 10px; white-space: normal; text-align: center; }

  .lead-form { padding: 28px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 24px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .thanks { padding: 40px 24px; }
}
