:root {
  --paper: #f7f4ec;
  --surface: #fffdf8;
  --ink: #121614;
  --muted: #666c68;
  --soft: #e7e1d4;
  --line: rgba(18, 22, 20, 0.14);
  --green: #1b8a6b;
  --blue: #183a5a;
  --gold: #c9a84c;
  --coral: #ff6b35;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(18, 22, 20, 0.12);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin-top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 68px;
  padding: 0 clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(247, 244, 236, 0.18);
  background: rgba(18, 22, 20, 0.82);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 0.65rem; width: fit-content; font-weight: 700; }
.brand img { width: 2rem; height: 2rem; object-fit: contain; }
.site-nav { display: flex; gap: 1.7rem; color: rgba(255,255,255,0.68); font-size: 0.82rem; font-weight: 650; }
.site-nav a { transition: color 160ms ease; }
.site-nav a:hover { color: var(--white); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 0.8rem; }
.mobile-menu-button {
  display: none;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
}
.mobile-menu-icon {
  position: relative;
  width: 1rem;
  height: 0.72rem;
}
.mobile-menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}
.mobile-menu-icon span:nth-child(1) { top: 0; }
.mobile-menu-icon span:nth-child(2) { top: calc(50% - 1px); }
.mobile-menu-icon span:nth-child(3) { top: calc(100% - 2px); }
.mobile-menu-button[aria-expanded="true"] .mobile-menu-icon span:nth-child(1) { top: calc(50% - 1px); transform: rotate(45deg); }
.mobile-menu-button[aria-expanded="true"] .mobile-menu-icon span:nth-child(2) { opacity: 0; }
.mobile-menu-button[aria-expanded="true"] .mobile-menu-icon span:nth-child(3) { top: calc(50% - 1px); transform: rotate(-45deg); }
.mobile-menu {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 19;
  display: none;
  padding: 0.75rem 1rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  background: rgba(18, 22, 20, 0.96);
  color: var(--white);
  backdrop-filter: blur(18px);
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 720;
}
.mobile-menu a:last-child { border-bottom: 0; }
.language-switch { display: flex; gap: 0.15rem; padding: 0.16rem; border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; background: rgba(255,255,255,0.08); }
.lang-button { width: 2rem; height: 1.8rem; border: 0; border-radius: 999px; background: transparent; color: rgba(255,255,255,0.68); font-size: 0.68rem; font-weight: 800; }
.lang-button.is-active { background: var(--white); color: var(--ink); }
.nav-cta, .primary-cta { border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 750; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.nav-cta { min-height: 2.35rem; padding: 0.55rem 1rem; border-color: var(--white); background: var(--white); color: var(--ink); font-size: 0.76rem; white-space: nowrap; }
.primary-cta { min-height: 3rem; padding: 0.75rem 1.35rem; font-size: 0.9rem; }
.nav-cta:hover, .primary-cta:hover { transform: translateY(-1px); }
.primary-cta:hover { background: #27302c; border-color: #27302c; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: min(760px, calc(84svh - 68px));
  overflow: hidden;
  background: #101513;
  color: var(--white);
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: hero-breathe 18s ease-in-out infinite alternate; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,9,10,0.82) 0%, rgba(6,9,10,0.64) 44%, rgba(6,9,10,0.18) 100%); }
.hero-inner { position: relative; z-index: 1; width: min(1120px, 100%); padding: clamp(5rem, 11vh, 7.5rem) clamp(1.25rem, 5vw, 4rem) clamp(3.25rem, 7vh, 4.75rem); }
.eyebrow { margin-bottom: 0.9rem; color: var(--green); font-size: 0.7rem; font-weight: 850; letter-spacing: 0.16em; text-transform: uppercase; }
.hero .eyebrow { color: #91d8ca; }
h1 { max-width: 10ch; margin-bottom: 1rem; font-size: clamp(3.8rem, 8.8vw, 7.4rem); font-weight: 560; line-height: 0.92; letter-spacing: 0; }
h2 { max-width: 17ch; margin-bottom: 1rem; font-size: clamp(2rem, 4.2vw, 4rem); font-weight: 560; line-height: 1.02; letter-spacing: 0; }
h3 { margin-bottom: 0.55rem; font-size: clamp(1.22rem, 2vw, 1.65rem); font-weight: 680; line-height: 1.15; letter-spacing: 0; }
.hero-statement { max-width: 43rem; margin-bottom: 1rem; color: rgba(255,255,255,0.96); font-size: clamp(1.16rem, 2vw, 1.65rem); line-height: 1.32; font-weight: 560; }
.hero-lede, .thesis-copy > p:last-child, .decision-copy > p:not(.eyebrow):not(.section-index), .references-copy > p:last-child, .closing-section > p:not(.eyebrow) { max-width: 42rem; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.18rem); line-height: 1.65; }
.hero-lede { color: rgba(255,255,255,0.76); margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.hero-actions .primary-cta { background: var(--white); border-color: var(--white); color: var(--ink); }
.text-link { color: rgba(255,255,255,0.8); font-size: 0.88rem; font-weight: 750; border-bottom: 1px solid rgba(255,255,255,0.34); }
.trust-line { margin: 1rem 0 0; color: rgba(255,255,255,0.58); font-size: 0.78rem; line-height: 1.5; }

.thesis-section, .system-section, .insights-section, .coaches-section, .decision-section, .references-section, .closing-section {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(3.8rem, 6.5vw, 6.25rem) clamp(1.25rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
}
.system-section::before, .decision-section::before, .closing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("./assets/hero-lifestyle-v2.png");
  background-size: cover;
  background-position: center;
  filter: saturate(0.85);
}
.system-section::before { clip-path: inset(8% 0 8% 48%); }
.decision-section::before { opacity: 0.12; background-image: url("./assets/fridge-to-recipe-v2.png"); background-position: right center; clip-path: inset(6% 52% 6% 0); }
.closing-section::before { opacity: 0.13; clip-path: inset(0 0 0 0); }
.section-index { margin-bottom: 1.5rem; color: #918e85; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.15em; }
.thesis-section { display: grid; grid-template-columns: 0.25fr 1.15fr 0.8fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; border-top: 0; }
.thesis-copy { max-width: 45rem; }
.thesis-points { display: grid; margin-top: 2.4rem; border-top: 1px solid var(--line); }
.thesis-points span { padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--blue); font-size: 0.9rem; font-weight: 750; }

.photo-story-section {
  max-width: none;
  padding: 0 clamp(1.25rem, 5vw, 3rem) clamp(3.8rem, 6.5vw, 6.25rem);
}
.photo-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 0.75fr);
  gap: 0.9rem;
  width: min(1200px, 100%);
  margin: 0 auto;
}
.photo-story-stack { display: grid; gap: 0.9rem; }
.photo-tile {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 20px 58px rgba(18,22,20,0.11);
  aspect-ratio: 4 / 3;
}
.photo-tile-large { aspect-ratio: 16 / 10; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.meal-scroll-composite {
  --meal-progress: 0;
  position: relative;
  isolation: isolate;
  background: #121614;
}
.meal-scroll-composite::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(18,22,20,0.02), rgba(18,22,20,calc(var(--meal-progress) * 0.34)));
}
.meal-scroll-composite .meal-scroll-photo {
  position: absolute;
  inset: 0;
  transform: scale(calc(1.14 - var(--meal-progress) * 0.22));
  transform-origin: center;
  filter: saturate(calc(1.04 - var(--meal-progress) * 0.1));
  transition: transform 90ms linear, filter 90ms linear;
  will-change: transform;
}
.meal-scroll-composite .meal-scroll-screen {
  position: absolute;
  top: 50%;
  right: clamp(0.8rem, 4vw, 3rem);
  bottom: auto;
  left: auto;
  z-index: 2;
  width: min(28rem, 38%);
  height: auto;
  max-height: 91%;
  object-fit: contain;
  border-radius: clamp(1rem, 2vw, 1.65rem);
  box-shadow: 0 26px 76px rgba(18,22,20,0.26);
  opacity: clamp(0, calc((var(--meal-progress) - 0.16) * 1.85), 1);
  transform: translateY(-50%) scale(calc(0.93 + var(--meal-progress) * 0.07));
  transform-origin: center;
  transition: opacity 90ms linear, transform 90ms linear;
  will-change: opacity, transform;
}

.section-heading { display: grid; grid-template-columns: 0.25fr minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); margin-bottom: clamp(2rem, 4vw, 3.3rem); }
.compact-heading { margin-bottom: 2rem; }
.system-layout { display: grid; grid-template-columns: minmax(14rem, 0.48fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; margin-left: calc(0.25 / 1.25 * 100%); }
.phone-frame { overflow: hidden; margin: 0; border: 1px solid rgba(18,22,20,0.14); border-radius: 2rem; background: var(--surface); box-shadow: var(--shadow); }
.phone-frame img { width: 100%; height: 100%; object-fit: cover; }
.phone-fader {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(145deg, #f8faf8, #ede8dc);
}
.phone-fader::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.34), inset 18px 0 38px rgba(255,255,255,0.18);
}
.phone-fader img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: none;
  transition: opacity 820ms ease;
}
.phone-fader img.is-active {
  z-index: 1;
  opacity: 1;
  transform: none;
}
.phone-fader img.is-before {
  opacity: 0;
  transform: none;
}
.motion-image { transition: box-shadow 260ms ease-out; }
.motion-image img { transform: scale(1.012); }
.phone-fader.motion-image img { transform: none; }
.shape-scroll-image {
  --shape-progress: 0;
  clip-path: inset(
    calc(var(--shape-progress) * 5%)
    calc(var(--shape-progress) * 3%)
    calc(var(--shape-progress) * 5%)
    calc(var(--shape-progress) * 3%)
    round calc(8px + var(--shape-progress) * 34px)
  );
  transform: translateY(calc((0.5 - var(--shape-progress)) * 18px)) scale(calc(0.965 + var(--shape-progress) * 0.07));
  transform-origin: center;
  transition: box-shadow 260ms ease-out;
  will-change: clip-path, transform;
}
.shape-scroll-image img {
  transform: scale(calc(1.08 - var(--shape-progress) * 0.045)) translateY(calc((0.5 - var(--shape-progress)) * -14px));
  transition: transform 120ms linear;
}
.system-phone { width: min(18rem, 100%); aspect-ratio: 944 / 2048; justify-self: center; }
.memory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
.memory-grid article, .insight-list article, .reference-grid article, .coach-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.54);
}
.memory-grid article { min-height: 9rem; padding: 1.25rem; }
.memory-grid span, .reference-grid span { display: block; margin-bottom: 1rem; color: var(--blue); font-size: 0.76rem; font-weight: 850; text-transform: uppercase; letter-spacing: 0.12em; }
.memory-grid p, .insight-list p, .reference-grid p, .coach-card p:last-child { margin-bottom: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.58; }

.insights-section { background: #fbf7ed; max-width: none; }
.insights-section > * { width: min(1200px, 100%); margin-left: auto; margin-right: auto; }
.insight-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.85rem; }
.insight-list article { padding: 1.25rem; }
.insight-list strong { display: block; margin-bottom: 2.5rem; color: var(--green); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; }

.coach-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-left: calc(0.25 / 1.25 * 100%); }
.coach-card { position: relative; min-height: 16.5rem; padding: clamp(1.4rem, 2.6vw, 2.15rem); }
.coach-card img { width: 3.9rem; height: 3.9rem; margin-bottom: 2.4rem; object-fit: contain; }
.coach-label { position: absolute; top: 1.35rem; right: 1.35rem; color: #969184; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; }

.decision-section { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.decision-copy { max-width: 39rem; }
.product-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(13.5rem, 0.74fr) minmax(9rem, 0.42fr);
  gap: clamp(1rem, 3vw, 1.8rem);
  align-items: center;
}
.product-showcase::before {
  content: "";
  position: absolute;
  inset: 7% 4% 6% 0;
  z-index: -1;
  border: 1px solid rgba(24,58,90,0.12);
  border-radius: 8px;
  background: rgba(255,253,248,0.52);
  box-shadow: 0 26px 80px rgba(18,22,20,0.08);
}
.showcase-phone {
  width: min(23rem, 100%);
  aspect-ratio: 944 / 2048;
  justify-self: end;
  border-radius: 1.65rem;
}
.showcase-rail {
  display: grid;
  gap: 1rem;
  align-content: center;
  padding-right: clamp(0rem, 1.5vw, 1rem);
}
.showcase-rail .phone-frame {
  width: min(10.2rem, 100%);
  aspect-ratio: 944 / 2048;
  border-radius: 1.2rem;
  box-shadow: 0 16px 42px rgba(18,22,20,0.1);
}
.showcase-rail .phone-frame:first-child { justify-self: end; }
.showcase-rail .phone-frame:last-child { justify-self: start; margin-left: 0.6rem; }

.references-section { display: grid; grid-template-columns: minmax(3rem, 0.25fr) minmax(18rem, 0.95fr) minmax(20rem, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); background: #111715; color: var(--white); max-width: none; }
.references-section .section-index, .references-section .references-copy, .references-section .reference-grid { width: min(1200px, 100%); }
.references-section .references-copy, .references-section .reference-grid { min-width: 0; }
.references-section .eyebrow { color: #91d8ca; }
.references-section h2 { color: var(--white); }
.references-copy > p:last-child { color: rgba(255,255,255,0.68); }
.reference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.reference-grid article { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); padding: 1.15rem; }
.reference-grid span { color: #f4d36b; }
.reference-grid small { display: block; margin: -0.45rem 0 0.85rem; color: rgba(255,255,255,0.46); font-size: 0.78rem; font-weight: 650; line-height: 1.45; }
.reference-grid p { color: rgba(255,255,255,0.68); }

.closing-section { display: flex; flex-direction: column; align-items: center; max-width: none; padding-block: clamp(4.8rem, 8vw, 7rem); background: var(--soft); text-align: center; }
.closing-section h2 { max-width: 16ch; }
.closing-section > p:not(.eyebrow) { max-width: 38rem; margin-bottom: 1.8rem; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 2rem; min-height: 90px; padding: 1.5rem clamp(1.25rem, 5vw, 4rem); border-top: 1px solid var(--line); color: var(--muted); font-size: 0.76rem; }
.footer-brand { color: var(--ink); font-size: 0.9rem; }
.footer-brand img { width: 1.65rem; height: 1.65rem; }
.footer-links { display: flex; align-items: center; gap: 1rem; }
.footer-links a { color: var(--muted); transition: color 160ms ease; }
.footer-links a:hover { color: var(--ink); }

.legal-page { max-width: 1120px; margin: 0 auto; padding: clamp(3.5rem, 6vw, 5.75rem) clamp(1.25rem, 5vw, 3rem); }
.legal-hero { max-width: 52rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.legal-hero h1 { max-width: 12ch; color: var(--ink); font-size: clamp(2.7rem, 5.4vw, 5rem); }
.legal-hero p { max-width: 45rem; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.16rem); line-height: 1.7; }
.legal-updated { margin-top: 1.4rem; color: var(--green) !important; font-size: 0.84rem !important; font-weight: 700; }
.legal-layout { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); border-top: 1px solid var(--line); padding-top: clamp(2.5rem, 5vw, 4rem); }
.legal-toc { position: sticky; top: 92px; display: grid; align-content: start; gap: 0.45rem; height: fit-content; }
.legal-toc a { padding: 0.55rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; font-weight: 650; transition: color 160ms ease; }
.legal-toc a:hover { color: var(--ink); }
.legal-content { display: grid; gap: 2.25rem; min-width: 0; }
.legal-section { padding-bottom: 2.25rem; border-bottom: 1px solid var(--line); }
.legal-section h2 { max-width: none; margin-bottom: 1rem; font-size: clamp(1.7rem, 3vw, 2.65rem); }
.legal-section h3 { margin-top: 1.4rem; font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.legal-section p, .legal-section li { color: var(--muted); font-size: 0.98rem; line-height: 1.72; }
.legal-section p { max-width: 52rem; margin-bottom: 1rem; }
.legal-section ul { display: grid; gap: 0.6rem; max-width: 52rem; margin: 0; padding-left: 1.2rem; }
.legal-section a { color: var(--green); font-weight: 750; text-decoration: underline; text-underline-offset: 0.2em; }

.article-page { max-width: 1120px; margin: 0 auto; padding: clamp(3.5rem, 6vw, 5.75rem) clamp(1.25rem, 5vw, 3rem); }
.article-hero { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(16rem, 0.62fr); gap: clamp(2rem, 7vw, 6rem); align-items: end; padding-bottom: clamp(3rem, 6vw, 5rem); }
.article-hero h1 { max-width: 12ch; color: var(--ink); font-size: clamp(2.7rem, 5.2vw, 5.2rem); }
.article-hero p { max-width: 44rem; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.18rem); line-height: 1.7; }
.article-visual { overflow: hidden; margin: 0; border-radius: 8px; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.article-visual img { width: 100%; height: 100%; object-fit: cover; }
.classified-system {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(20rem, 0.88fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding: clamp(2rem, 5vw, 3.25rem);
  border: 1px solid rgba(18, 22, 20, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.7), rgba(231,225,212,0.72)),
    var(--surface);
  box-shadow: 0 22px 70px rgba(18,22,20,0.09);
}
.classified-copy h2 { max-width: 13ch; margin-bottom: 1rem; font-size: clamp(2rem, 4.2vw, 3.8rem); line-height: 1.03; }
.classified-copy p:not(.eyebrow) { max-width: 35rem; color: var(--muted); font-size: 1rem; line-height: 1.72; }
.classified-panel {
  position: relative;
  overflow: hidden;
  min-height: 31rem;
  padding: 1rem;
  border: 1px solid rgba(247,244,236,0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(27,138,107,0.13) 1px, transparent 1px),
    linear-gradient(180deg, rgba(201,168,76,0.11) 1px, transparent 1px),
    linear-gradient(145deg, #0e1412 0%, #171714 58%, #251a16 100%);
  background-size: 44px 44px, 44px 44px, auto;
  color: var(--paper);
  box-shadow: 0 28px 80px rgba(18,22,20,0.24);
}
.classified-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.04) 1px, transparent 1px, transparent 6px);
  pointer-events: none;
  mix-blend-mode: screen;
}
.classified-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,53,0.75), rgba(27,138,107,0.85), transparent);
  animation: classified-scan 5s ease-in-out infinite;
}
.classified-panel-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(247,244,236,0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.classified-panel-top span:first-child { color: var(--gold); }
.classified-core {
  position: absolute;
  inset: 5.2rem 1.4rem auto auto;
  width: min(16rem, 45%);
  aspect-ratio: 1;
  pointer-events: none;
}
.classified-core span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(247,244,236,0.2);
  border-radius: 50%;
  transform: rotate(0deg);
  animation: classified-ring 18s linear infinite;
}
.classified-core span:nth-child(2) { inset: 17%; border-color: rgba(27,138,107,0.5); animation-duration: 12s; animation-direction: reverse; }
.classified-core span:nth-child(3) { inset: 34%; border-color: rgba(201,168,76,0.55); animation-duration: 8s; }
.classified-core span::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 20px rgba(255,107,53,0.75);
}
.secret-layer-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 4.2rem 0 1rem;
  padding: 0;
  list-style: none;
}
.secret-layer-list li {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(247,244,236,0.12);
  border-radius: 6px;
  background: rgba(247,244,236,0.055);
  backdrop-filter: blur(8px);
}
.secret-layer-list li span { color: rgba(201,168,76,0.9); font-size: 0.72rem; font-weight: 900; letter-spacing: 0; }
.secret-layer-list li strong { min-width: 0; color: rgba(247,244,236,0.88); font-size: 0.82rem; line-height: 1.2; overflow-wrap: anywhere; }
.secret-layer-list li.is-redacted {
  border-color: rgba(255,107,53,0.2);
  background:
    repeating-linear-gradient(135deg, rgba(255,107,53,0.15), rgba(255,107,53,0.15) 4px, rgba(247,244,236,0.05) 4px, rgba(247,244,236,0.05) 9px);
}
.secret-layer-list li.is-redacted strong {
  width: fit-content;
  padding: 0.18rem 0.45rem;
  background: rgba(18,22,20,0.78);
  color: rgba(247,244,236,0.74);
  text-transform: uppercase;
}
.classified-panel p {
  position: relative;
  z-index: 1;
  max-width: 28rem;
  margin: 0;
  color: rgba(247,244,236,0.68);
  font-size: 0.82rem;
  line-height: 1.55;
}
.article-body { border-top: 1px solid var(--line); padding-top: clamp(2.5rem, 5vw, 4rem); }
.article-meta { position: sticky; top: 92px; align-self: start; display: grid; gap: 0.7rem; color: var(--muted); font-size: 0.82rem; line-height: 1.5; }
.article-content { display: grid; gap: 1.3rem; max-width: 58rem; margin: 0 auto; min-width: 0; }
.article-content > p { max-width: 54rem; color: var(--muted); font-size: 1.04rem; line-height: 1.78; }
.feature-article-card { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 1.1rem; align-content: start; padding: 1.35rem 0; border-top: 1px solid var(--line); }
.feature-article-card span { color: var(--green); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.14em; }
.feature-article-card h2 { max-width: none; margin-bottom: 0.55rem; font-size: clamp(1.45rem, 2.3vw, 2rem); line-height: 1.12; }
.feature-article-card p { max-width: 54rem; margin-bottom: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.7; }
.article-photo-break {
  overflow: hidden;
  margin: 0.65rem 0 1.35rem;
  border-radius: 8px;
  box-shadow: 0 20px 58px rgba(18,22,20,0.11);
  aspect-ratio: 3 / 2;
}
.article-photo-break-slim { aspect-ratio: 16 / 9; }
.article-photo-break img { width: 100%; height: 100%; object-fit: cover; }
.article-signature { display: grid; justify-items: start; gap: 0.15rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); color: var(--blue); font-weight: 800; }
.twimly-signature-mark { width: min(18rem, 82vw); height: auto; }
.article-signature span { color: var(--blue); font-size: 1.05rem; letter-spacing: 0.01em; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.beta-modal[hidden] { display: none; }
.beta-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 1rem; }
.beta-backdrop { position: absolute; inset: 0; background: rgba(20, 24, 21, 0.5); backdrop-filter: blur(8px); }
.beta-dialog { position: relative; z-index: 1; width: min(38rem, 100%); max-height: 92dvh; overflow: auto; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); box-shadow: 0 24px 70px rgba(20,24,21,0.2); }
.beta-dialog h2 { max-width: 12ch; font-size: clamp(2rem, 5vw, 3.2rem); }
.beta-close { position: absolute; top: 1rem; right: 1rem; width: 2.35rem; height: 2.35rem; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); font-size: 1.35rem; line-height: 1; }
.beta-copy, .beta-note { color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
.beta-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.beta-form label { display: grid; gap: 0.45rem; color: var(--ink); font-size: 0.76rem; font-weight: 650; }
.beta-form input { width: 100%; min-height: 3rem; padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: 0.45rem; outline: none; background: var(--white); color: var(--ink); }
.beta-form input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(27,138,107,0.16); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.beta-submit { width: 100%; margin-top: 0.4rem; }
.beta-note { margin-bottom: 0; }
.beta-note.is-success { color: var(--green); }
.beta-note.is-error { color: #9a3f38; }
.modal-open { overflow: hidden; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .mobile-menu-button { display: grid; }
  .thesis-section { grid-template-columns: 0.2fr 1.3fr; }
  .thesis-points { grid-column: 2; margin-top: 0; }
  .system-layout, .coach-grid { margin-left: 0; }
  .insight-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .decision-section { grid-template-columns: 1fr; }
  .product-showcase { max-width: 42rem; }
  .references-section { grid-template-columns: 0.2fr 1fr; }
  .reference-grid { grid-column: 2; }
  .classified-system { grid-template-columns: 1fr; }
  .classified-copy h2 { max-width: 16ch; }
  .classified-panel { min-height: 29rem; }
}

@media (max-width: 680px) {
  .site-header { min-height: 60px; padding-inline: 1rem; }
  .mobile-menu { top: 60px; }
  .brand span { font-size: 0.95rem; }
  .brand img { width: 1.8rem; height: 1.8rem; }
  .header-actions { gap: 0.5rem; }
  .header-actions .nav-cta { display: none; }
  .mobile-menu-button { width: 2.15rem; height: 2.15rem; }
  .nav-cta { min-height: 2.15rem; padding-inline: 0.75rem; font-size: 0.68rem; }
  .language-switch { padding: 0.1rem; }
  .lang-button { width: 1.7rem; height: 1.6rem; font-size: 0.62rem; }
  .hero { min-height: calc(76svh - 60px); }
  .hero-shade { background: linear-gradient(180deg, rgba(6,9,10,0.72) 0%, rgba(6,9,10,0.62) 38%, rgba(6,9,10,0.9) 100%); }
  .hero-image { object-position: 62% center; }
  .hero-inner { padding-top: 4.4rem; padding-bottom: 2.6rem; }
  h1 { font-size: clamp(3.3rem, 17vw, 5.4rem); }
  h2 { font-size: clamp(2rem, 10vw, 3rem); line-height: 1.04; }
  .hero-statement { font-size: clamp(1.08rem, 5vw, 1.45rem); }
  .hero-actions { align-items: stretch; }
  .hero-actions .primary-cta, .primary-cta { width: 100%; }
  .text-link { width: fit-content; }
  .thesis-section, .system-section, .insights-section, .coaches-section, .decision-section, .references-section, .closing-section { padding-block: 4.5rem; }
  .thesis-section, .section-heading, .system-layout, .references-section { display: block; }
  .photo-story-section { padding-bottom: 4.5rem; }
  .photo-story-grid { grid-template-columns: 1fr; }
  .photo-story-stack { grid-template-columns: 1fr; }
  .photo-tile, .photo-tile-large { aspect-ratio: 4 / 3; }
  .meal-scroll-composite .meal-scroll-screen { width: min(13.2rem, 48%); right: 0.9rem; border-radius: 1rem; }
  .thesis-points, .system-phone, .reference-grid { margin-top: 2rem; }
  .system-phone { width: min(15.2rem, 74vw); }
  .memory-grid, .insight-list, .coach-grid, .reference-grid { grid-template-columns: 1fr; }
  .memory-grid article { min-height: 0; }
  .coach-card { min-height: 0; padding: 1.4rem; }
  .coach-card img { width: 3.6rem; height: 3.6rem; margin-bottom: 2rem; }
  .product-showcase { grid-template-columns: minmax(0, 1fr); }
  .product-showcase::before { inset: 6% -0.65rem 7%; }
  .showcase-phone { width: min(16.4rem, 78vw); justify-self: center; }
  .showcase-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-right: 0; }
  .showcase-rail .phone-frame { width: min(9rem, 38vw); }
  .showcase-rail .phone-frame:first-child, .showcase-rail .phone-frame:last-child { justify-self: center; margin-left: 0; }
  .closing-section { padding-inline: 1.25rem; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .footer-links { flex-wrap: wrap; }
  .legal-page { padding-top: 3.6rem; }
  .legal-layout { display: block; }
  .legal-toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 2.5rem; }
  .legal-toc a { font-size: 0.78rem; }
  .article-page { padding-top: 3.6rem; }
  .article-hero, .article-body { display: block; }
  .article-visual, .article-meta { margin-top: 2rem; }
  .article-meta { position: static; }
  .article-content { grid-template-columns: 1fr; }
  .classified-system { margin-top: 0.5rem; padding: 1rem; }
  .classified-panel { min-height: 0; padding: 0.85rem; }
  .classified-panel-top { display: grid; gap: 0.35rem; font-size: 0.62rem; }
  .classified-core { width: 9rem; opacity: 0.45; }
  .secret-layer-list { grid-template-columns: 1fr; margin-top: 3.2rem; }
  .secret-layer-list li { min-height: 2.55rem; }
  .feature-article-card { grid-template-columns: 1fr; gap: 0.35rem; }
  .form-row { grid-template-columns: 1fr; }
  .beta-modal { align-items: end; padding: 0; }
  .beta-dialog { width: 100%; max-height: 94dvh; border-radius: 1rem 1rem 0 0; padding: 1.5rem 1rem calc(1.5rem + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
  .reveal { opacity: 1; transform: none; }
  .motion-image { transform: none !important; }
  .classified-panel::after, .classified-core span { animation: none; }
  .shape-scroll-image { clip-path: none; transform: none; }
  .shape-scroll-image img { transform: scale(1.012); }
  .meal-scroll-composite .meal-scroll-photo { transform: scale(1.02); }
  .meal-scroll-composite .meal-scroll-screen { opacity: 1; transform: translateY(-50%); }
}

@keyframes hero-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

@keyframes classified-scan {
  0%, 100% { transform: translateY(0); opacity: 0.25; }
  45% { transform: translateY(20rem); opacity: 0.8; }
  70% { transform: translateY(9rem); opacity: 0.45; }
}

@keyframes classified-ring {
  to { transform: rotate(360deg); }
}
