/* DeepICE Lite — www.deepice.ai
   Ink, gold and ivory: the DeepICE mark (a gold diamond on deep ink) shared with the NXT SAS Global group.
   Display: Newsreader (serif, optical sizes). Text: Hanken Grotesk. Both SIL OFL 1.1, served from /fonts. */

@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-latin-standard-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-latin-standard-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink-950: #06080c;
  --ink-900: #0b0f16;
  --ink-850: #0f141d;
  --ink-800: #141b27;
  --ink-700: #1d2635;
  --ink-600: #2a3445;
  --mist: #9aa3b2;
  --mist-2: #c4cad4;
  --ivory: #f4efe4;
  --paper: #faf8f3;
  --paper-2: #f1ece1;
  --text: #121821;
  --text-2: #4b5462;
  --text-3: #6c7482;
  --gold-200: #fbeaa0;
  --gold-300: #f6d873;
  --gold-400: #e8b84a;
  --gold-500: #d4a01c;
  --gold-600: #b5850f;
  --gold-700: #7f5d09;
  --ice: #9cc9de;
  --line-dark: rgba(255, 255, 255, 0.09);
  --line-dark-2: rgba(255, 255, 255, 0.16);
  --line-light: rgba(18, 24, 33, 0.1);
  --line-light-2: rgba(18, 24, 33, 0.18);
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4.2vw, 44px);
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ink-900);
  color: var(--mist-2);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
html { overflow-x: clip; }
/* Film grain over everything: a quiet texture that makes flat darks feel photographic. */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--ivory); }
button { font: inherit; color: inherit; }
::selection { background: var(--gold-300); color: var(--ink-900); }
:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--gold-300); color: var(--ink-900); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top 0.2s; }
.skip:focus { top: 12px; }

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

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font: 600 12.5px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-300);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow--plain::before { display: none; }
.display {
  font-family: var(--serif); font-optical-sizing: auto; font-weight: 340; letter-spacing: -0.022em; line-height: 1.02;
  font-size: clamp(44px, 6.6vw, 98px); color: var(--ivory); text-wrap: balance;
}
.display em, .title em { font-style: italic; font-weight: 300; color: var(--gold-300); }
.title {
  font-family: var(--serif); font-optical-sizing: auto; font-weight: 360; letter-spacing: -0.018em; line-height: 1.06;
  font-size: clamp(34px, 4.4vw, 64px); text-wrap: balance;
}
.title--sm { font-size: clamp(28px, 3.2vw, 44px); }
.lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.62; color: var(--mist-2); max-width: 62ch; text-wrap: pretty; }
.muted { color: var(--mist); }
.h3 { font-family: var(--serif); font-weight: 420; font-size: clamp(22px, 2vw, 28px); line-height: 1.18; letter-spacing: -0.01em; color: var(--ivory); }
.kicker { font: 600 13px/1.3 var(--sans); letter-spacing: 0.04em; color: var(--gold-300); }

/* ---------- Buttons ---------- */
.btn {
  --bg: linear-gradient(180deg, var(--gold-300), var(--gold-500));
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--ink-950); font: 650 15.5px/1 var(--sans); letter-spacing: 0.01em; text-decoration: none;
  cursor: pointer; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 12px 30px -12px rgba(226, 188, 78, 0.55);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), filter 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 18px 38px -14px rgba(226, 188, 78, 0.7); }
.btn:active { transform: translateY(0); filter: brightness(0.96); }
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); color: var(--ivory); box-shadow: inset 0 0 0 1px var(--line-dark-2); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.btn--dark { background: var(--ink-900); color: var(--ivory); box-shadow: 0 12px 30px -14px rgba(6, 8, 12, 0.6); }
.btn--line { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-light-2); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-300); text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.3s var(--ease);
}
.site-header[data-solid] { background: rgba(9, 12, 18, 0.78); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 1px 0 var(--line-dark); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ivory); flex: none; }
.brand img { height: 32px; width: auto; }
.site-footer .brand img { height: 38px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 10px 12px; border-radius: 10px; color: var(--mist-2); font-size: 15px; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ivory); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--gold-300); }
.header-cta { margin-left: 8px; min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, 0.06); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1.5px; margin: 4px auto; background: var(--ivory); transition: transform 0.3s var(--ease), opacity 0.2s; }
.site-header[data-open] .menu-btn span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.site-header[data-open] .menu-btn span:nth-child(2) { opacity: 0; }
.site-header[data-open] .menu-btn span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--gold-600), var(--gold-300)); opacity: 0.85; }

@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 28px;
    background: rgba(9, 12, 18, 0.97); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line-dark);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform 0.35s var(--ease), opacity 0.25s, visibility 0s 0.35s;
  }
  .site-header[data-open] .nav { transform: none; opacity: 1; visibility: visible; transition: transform 0.35s var(--ease), opacity 0.25s; }
  .nav a { padding: 15px 4px; font-size: 18px; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .header-cta { margin: 18px 0 0; justify-content: center; min-height: 52px; font-size: 16px; }
}

/* ---------- Sections ---------- */
.sec { position: relative; padding-block: clamp(84px, 11vw, 168px); overflow-x: clip; }
.sec--tight { padding-block: clamp(64px, 8vw, 112px); }
.sec--ink { background: var(--ink-900); }
.sec--deep { background: var(--ink-950); }
.sec--paper { background: var(--paper); color: var(--text-2); color-scheme: light; }
.sec--ivory { background: var(--ivory); color: var(--text-2); color-scheme: light; }
.sec--paper h1, .sec--paper h2, .sec--paper h3, .sec--paper h4, .sec--ivory h1, .sec--ivory h2, .sec--ivory h3, .sec--ivory h4,
.sec--paper .title, .sec--ivory .title, .sec--paper .h3, .sec--ivory .h3, .sec--paper .display, .sec--ivory .display { color: var(--text); }
.sec--paper .lead, .sec--ivory .lead { color: var(--text-2); }
.sec--paper .eyebrow, .sec--ivory .eyebrow, .sec--paper .kicker, .sec--ivory .kicker { color: var(--gold-700); }
.sec--paper .title em, .sec--ivory .title em, .sec--paper .display em, .sec--ivory .display em { color: var(--gold-600); }
.sec--paper .link-arrow, .sec--ivory .link-arrow { color: var(--gold-700); }
.sec--paper .muted, .sec--ivory .muted { color: var(--text-3); }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 80px); max-width: 860px; }
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head--split { max-width: none; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 40px 72px; }
.sec-head--split .lead { margin: 0; }
@media (max-width: 900px) { .sec-head--split { grid-template-columns: 1fr; } }
.glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.glow--gold { background: radial-gradient(circle, rgba(226, 188, 78, 0.35), transparent 65%); }
.glow--ice { background: radial-gradient(circle, rgba(110, 160, 190, 0.28), transparent 65%); }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line-dark-2), transparent); border: 0; margin: 0; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="zoom"] { transform: scale(0.96) translateY(18px); }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Screen frames (real product screenshots) ---------- */
.frame {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 2px 4px rgba(0, 0, 0, 0.2), 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 60px 120px -40px rgba(0, 0, 0, 0.5);
}
.sec--paper .frame, .sec--ivory .frame { box-shadow: 0 0 0 1px rgba(18, 24, 33, 0.08), 0 2px 4px rgba(18, 24, 33, 0.06), 0 30px 60px -24px rgba(18, 24, 33, 0.28); }
.frame img { width: 100%; }
.frame video { width: 100%; height: auto; display: block; }
.frame__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #eef0f4; border-bottom: 1px solid #e1e4ea; }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4d8df; }
.frame__bar span { margin-left: 10px; font: 500 11.5px/1 var(--sans); color: #7b8391; letter-spacing: 0.01em; }
.frame--phone { border-radius: 30px; padding: 8px; background: #0b0f16; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
.frame--phone img { border-radius: 23px; }
figure { margin: 0; }
.caption { margin-top: 14px; font-size: 13.5px; color: var(--mist); }
.sec--paper .caption, .sec--ivory .caption { color: var(--text-3); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: var(--ink-950); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero__media video { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__media video.is-on { opacity: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 8, 12, 0.94) 0%, rgba(6, 8, 12, 0.8) 30%, rgba(6, 8, 12, 0.28) 62%, rgba(6, 8, 12, 0.12) 100%),
    linear-gradient(0deg, rgba(6, 8, 12, 0.98) 0%, rgba(6, 8, 12, 0.55) 26%, rgba(6, 8, 12, 0) 52%),
    linear-gradient(180deg, rgba(6, 8, 12, 0.6) 0%, rgba(6, 8, 12, 0) 18%);
}
.hero__inner { position: relative; padding-top: calc(var(--header-h) + clamp(28px, 6vh, 84px)); padding-bottom: clamp(24px, 3.5vh, 40px); }
.hero__copy { max-width: 820px; }
.hero__copy .display { font-size: clamp(40px, 5.2vw, 78px); }
.hero__copy .lead { margin-top: 22px; max-width: 58ch; color: #d6dbe3; }
.hero__copy .actions { margin-top: 28px; }
.hero .display { animation: rise 1.4s var(--ease) both 0.15s; }
.hero .eyebrow { animation: rise 1.2s var(--ease) both; }
.hero .lead { animation: rise 1.4s var(--ease) both 0.35s; }
.hero .actions { animation: rise 1.4s var(--ease) both 0.5s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* The story told by the hero film, chapter by chapter, kept in step with the video. */
.story { margin-top: clamp(28px, 5vh, 64px); display: grid; gap: 18px; animation: rise 1.4s var(--ease) both 0.7s; }
.story__now { display: flex; align-items: baseline; gap: 18px; min-height: 2.6em; }
.story__num { font: 600 12.5px/1 var(--sans); letter-spacing: 0.18em; color: var(--gold-300); white-space: nowrap; }
.story__text { font-family: var(--serif); font-style: italic; font-weight: 340; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.2; color: var(--ivory); }
.story__text span { display: inline-block; animation: caption 0.9s var(--ease) both; }
@keyframes caption { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.story__rail { display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: 8px; padding: 0 120px 0 0; margin: 0; list-style: none; }
@media (max-width: 760px) { .story__rail { padding-right: 0; } }
.story__rail button {
  display: grid; gap: 10px; width: 100%; padding: 10px 0 0; border: 0; background: none; cursor: pointer; text-align: left;
  color: var(--mist); font: 500 12.5px/1.3 var(--sans);
}
.story__rail button:hover { color: var(--ivory); }
.story__rail .bar { position: relative; height: 2px; background: rgba(255, 255, 255, 0.16); border-radius: 2px; overflow: hidden; }
.story__rail .bar i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--f, 0)); background: linear-gradient(90deg, var(--gold-500), var(--gold-200)); }
.story__rail [aria-current="true"] { color: var(--ivory); }
.story__rail .lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__card {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 8vh); width: min(560px, 39vw); z-index: 2;
  opacity: 0; transform: translateY(24px) scale(0.98) perspective(1400px) rotateY(-7deg) rotateX(2deg); transform-origin: 100% 50%;
  transition: opacity 0.9s var(--ease), transform 1.2s var(--ease); pointer-events: none;
}
.hero__card.is-on { opacity: 1; transform: perspective(1400px) rotateY(-7deg) rotateX(2deg); }
.hero__card .frame { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 40px 90px -30px rgba(0, 0, 0, 0.85), 0 0 120px -30px rgba(226, 188, 78, 0.25); }
.hero__card .chip {
  position: absolute; left: -18px; bottom: -16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px;
  background: rgba(11, 15, 22, 0.86); backdrop-filter: blur(10px); color: var(--ivory); font: 600 13px/1.2 var(--sans);
  box-shadow: 0 0 0 1px var(--line-dark-2), 0 16px 30px -12px rgba(0, 0, 0, 0.6);
}
.hero__card .chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-300); box-shadow: 0 0 0 4px rgba(240, 211, 108, 0.18); }
.hero__pause {
  position: absolute; right: var(--gutter); bottom: clamp(28px, 4vh, 44px); z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(11, 15, 22, 0.6); backdrop-filter: blur(8px);
  color: var(--ivory); font: 600 12.5px/1 var(--sans); box-shadow: inset 0 0 0 1px var(--line-dark-2);
}
.hero__pause svg { width: 12px; height: 12px; }
.hero--page { min-height: min(88svh, 860px); }
.hero--page .hero__copy { max-width: 820px; }
@media (max-width: 1180px) { .hero__card { display: none; } }
@media (max-width: 760px) {
  .hero__media video, .hero__media img { object-position: 50% 30%; }
  .hero::before { background: linear-gradient(0deg, rgba(6, 8, 12, 0.98) 0%, rgba(6, 8, 12, 0.86) 44%, rgba(6, 8, 12, 0.25) 75%, rgba(6, 8, 12, 0.5) 100%); }
  .story__rail { gap: 5px; }
  .story__rail .lbl { display: none; }
  .hero__pause { top: calc(var(--header-h) + 12px); bottom: auto; }
}

/* ---------- Page hero (no film) ---------- */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(64px, 11vw, 150px)); padding-bottom: clamp(64px, 8vw, 112px); overflow: hidden; background: var(--ink-950); }
.page-hero .lead { margin-top: 26px; }
.page-hero__art { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.page-hero > .wrap { position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; font-size: 13.5px; color: var(--mist); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ivory); }

/* ---------- Editions ---------- */
.editions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.edition {
  position: relative; display: flex; flex-direction: column; min-height: 470px; padding: 28px 26px 26px; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)); box-shadow: inset 0 0 0 1px var(--line-dark);
  text-decoration: none; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s;
}
.edition:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(240, 211, 108, 0.35), 0 30px 60px -30px rgba(0, 0, 0, 0.8); background: linear-gradient(180deg, rgba(240, 211, 108, 0.08), rgba(255, 255, 255, 0.015)); }
.edition__n { font: 500 13px/1 var(--sans); color: var(--mist); letter-spacing: 0.08em; }
.edition h3 { margin: 70px 0 6px; font-family: var(--serif); font-weight: 380; font-size: 34px; line-height: 1.05; letter-spacing: -0.015em; }
.edition .who { color: var(--gold-300); font-size: 14px; font-weight: 600; margin: 0 0 18px; }
.edition ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 15px; color: var(--mist-2); }
.edition li { position: relative; padding-left: 15px; }
.edition li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; transform: rotate(45deg); background: var(--gold-400); }
.edition .more { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; color: var(--ivory); font-weight: 600; font-size: 14.5px; }
.edition .more svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.edition:hover .more svg { transform: translateX(4px); }
.edition__art { position: absolute; right: 22px; top: 22px; width: 54px; height: 54px; color: var(--gold-300); opacity: 0.5; stroke-width: 1.2; transition: transform 0.8s var(--ease), opacity 0.6s; }
.edition:hover .edition__art { transform: translateY(-3px) scale(1.06); opacity: 1; }
@media (max-width: 1080px) { .editions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .editions { grid-template-columns: 1fr; } .edition { min-height: 0; } .edition h3 { margin-top: 44px; } }

/* ---------- Scrolly: AI drafts, people publish ---------- */
.scrolly { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.scrolly__steps { display: grid; gap: 0; }
.step { padding: 38px 0 38px 28px; border-left: 1px solid var(--line-light-2); min-height: 52vh; display: flex; flex-direction: column; justify-content: center; transition: border-color 0.5s; position: relative; }
.step::before { content: ""; position: absolute; left: -1px; top: 38px; width: 2px; height: 0; background: var(--gold-500); transition: height 0.8s var(--ease); }
.step.is-on::before { height: calc(100% - 76px); }
.step .kicker { margin-bottom: 14px; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.12; margin-bottom: 14px; letter-spacing: -0.012em; }
.step p { margin: 0; max-width: 46ch; }
.step:not(.is-on) { opacity: 0.45; }
.step { transition: opacity 0.6s var(--ease); }
.scrolly__stage { position: sticky; top: calc(var(--header-h) + 12vh); display: grid; }
.scrolly__stage .frame { grid-area: 1 / 1; opacity: 0; transform: translateY(24px) scale(0.985); transition: opacity 0.8s var(--ease), transform 1s var(--ease); }
.scrolly__stage .frame.is-on { opacity: 1; transform: none; }
.stage-note { position: absolute; left: 22px; right: 22px; bottom: -64px; display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--text-3); }
@media (max-width: 960px) {
  .scrolly { grid-template-columns: 1fr; }
  .scrolly__stage { display: none; }
  .step { min-height: 0; opacity: 1 !important; padding: 28px 0 28px 22px; }
  .step .frame { display: block; margin-top: 22px; }
}
.step .frame { display: none; }
@media (max-width: 960px) { .step .frame { display: block; } }

/* ---------- Statement band ---------- */
.statement { font-family: var(--serif); font-weight: 330; font-size: clamp(34px, 5vw, 76px); line-height: 1.04; letter-spacing: -0.02em; color: var(--ivory); text-wrap: balance; max-width: 18ch; }
.statement em { color: var(--gold-300); font-style: italic; }

/* ---------- Feature grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); align-items: center; }
.grid-2--top { align-items: start; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }
.feat { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px var(--line-dark); transition: background 0.4s, box-shadow 0.4s; }
.feat:hover { background: rgba(255, 255, 255, 0.055); box-shadow: inset 0 0 0 1px var(--line-dark-2); }
.feat svg.ico { width: 30px; height: 30px; color: var(--gold-300); margin-bottom: 22px; }
.feat h3 { font: 600 18px/1.3 var(--sans); color: var(--ivory); margin-bottom: 8px; letter-spacing: -0.005em; }
.feat p { margin: 0; font-size: 15.5px; color: var(--mist); }
.sec--paper .feat, .sec--ivory .feat { background: #fff; box-shadow: 0 0 0 1px var(--line-light), 0 10px 30px -22px rgba(18, 24, 33, 0.3); }
.sec--paper .feat h3, .sec--ivory .feat h3 { color: var(--text); }
.sec--paper .feat p, .sec--ivory .feat p { color: var(--text-2); }
.sec--paper .feat svg.ico, .sec--ivory .feat svg.ico { color: var(--gold-600); }

.checks { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checks li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: rgba(240, 211, 108, 0.14) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0d36c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>") center / 12px no-repeat; }
.sec--paper .checks li::before, .sec--ivory .checks li::before { background-color: rgba(169, 131, 24, 0.12); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d6012' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>"); }
.checks strong { color: var(--ivory); font-weight: 600; }
.sec--paper .checks strong, .sec--ivory .checks strong { color: var(--text); }

/* Stacked screenshots that drift apart on scroll */
.stack { position: relative; aspect-ratio: 16 / 12; }
.duo { position: relative; padding-right: 22%; padding-bottom: 10%; }
.duo .frame:nth-child(2) { position: absolute; right: 0; bottom: 0; width: 34%; box-shadow: 0 30px 60px -20px rgba(6, 8, 12, 0.55); }
.duo .frame:nth-child(2) img { max-height: 460px; object-fit: cover; object-position: top; }
.duo--below { margin-top: clamp(32px, 4vw, 56px); max-width: 980px; margin-inline: auto; }
.tutor-shot { margin-top: clamp(32px, 4vw, 56px); max-width: 980px; margin-inline: auto; }
@media (max-width: 760px) { .duo { padding: 0; } .duo .frame:nth-child(2) { position: static; width: 62%; margin: 16px auto 0; } }
.stack .frame { position: absolute; width: 82%; }
.stack .frame:nth-child(1) { left: 0; top: 0; }
.stack .frame:nth-child(2) { right: 0; bottom: 0; }
@supports (animation-timeline: view()) {
  .stack .frame:nth-child(1) { animation: drift-a linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
  .stack .frame:nth-child(2) { animation: drift-b linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
  @keyframes drift-a { from { transform: translate(6%, 8%) rotate(-1.5deg); } to { transform: none; } }
  @keyframes drift-b { from { transform: translate(-6%, -6%) rotate(1.5deg); } to { transform: none; } }
}

/* Tutor answer anatomy (an explanatory diagram, not a screenshot) */
.anatomy { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)); box-shadow: inset 0 0 0 1px var(--line-dark-2); }
.anatomy__q { margin-left: auto; max-width: 78%; padding: 14px 18px; border-radius: 18px 18px 4px 18px; background: rgba(240, 211, 108, 0.14); color: var(--ivory); font-size: 15.5px; }
.anatomy__a { margin-top: 16px; max-width: 92%; padding: 18px 20px; border-radius: 18px 18px 18px 4px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line-dark); font-size: 15.5px; color: var(--mist-2); }
.anatomy__a p { margin: 0 0 10px; }
.anatomy__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font: 600 12px/1 var(--sans); background: rgba(255, 255, 255, 0.07); color: var(--mist-2); box-shadow: inset 0 0 0 1px var(--line-dark); }
.tag--gold { background: rgba(240, 211, 108, 0.12); color: var(--gold-200); box-shadow: inset 0 0 0 1px rgba(240, 211, 108, 0.28); }
.anatomy__note { margin-top: 18px; font-size: 12.5px; color: var(--mist); }
.voice { display: flex; align-items: center; gap: 3px; height: 18px; }
.voice i { width: 3px; border-radius: 2px; background: var(--gold-300); animation: eq 1.2s var(--ease-in-out) infinite; }
.voice i:nth-child(1) { height: 40%; animation-delay: -0.2s; } .voice i:nth-child(2) { height: 90%; animation-delay: -0.5s; } .voice i:nth-child(3) { height: 60%; animation-delay: -0.1s; } .voice i:nth-child(4) { height: 100%; animation-delay: -0.7s; } .voice i:nth-child(5) { height: 50%; animation-delay: -0.3s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }

/* Horizontal gallery */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 760px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--gutter) 30px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: thin; scrollbar-color: var(--ink-600) transparent; }
.gallery > * { scroll-snap-align: center; }
.gallery figcaption { margin-top: 16px; display: grid; gap: 4px; }
.gallery figcaption strong { color: var(--ivory); font-weight: 600; font-size: 16px; }
.gallery figcaption span { color: var(--mist); font-size: 14.5px; }
@media (max-width: 700px) { .gallery { grid-auto-columns: 86vw; } }

/* Bento for administrators */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 14px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 0 0 1px var(--line-light), 0 20px 40px -32px rgba(18, 24, 33, 0.35); color: var(--text-2); }
.tile h3 { font: 600 18px/1.3 var(--sans); color: var(--text); margin-bottom: 8px; }
.tile p { margin: 0; font-size: 15px; }
.tile .shot { margin: 22px -26px -26px 22px; border-radius: 12px 0 0 0; overflow: hidden; box-shadow: 0 0 0 1px var(--line-light); }
.tile .shot img { width: 100%; }
.tile--a { grid-column: span 4; grid-row: span 2; }
.tile--b { grid-column: span 2; grid-row: span 2; }
.tile--c { grid-column: span 2; }
.tile--wide { grid-column: span 3; }
.tile--dark { background: var(--ink-850); color: var(--mist-2); box-shadow: 0 0 0 1px var(--line-dark); }
.tile--dark h3 { color: var(--ivory); }
.tile .big { font-family: var(--serif); font-weight: 340; font-size: 54px; line-height: 1; color: var(--text); margin-bottom: 10px; letter-spacing: -0.02em; }
.tile--dark .big { color: var(--gold-300); }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile--a, .tile--b, .tile--c, .tile--wide { grid-column: span 2; grid-row: auto; } }
@media (min-width: 640px) and (max-width: 1000px) { .tile--c { grid-column: span 1; } }

/* Promises (the invariants, in buyer language) */
.promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); counter-reset: p; margin: 0; padding: 0; list-style: none; }
.promises li { counter-increment: p; display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px; padding: 26px 0; border-top: 1px solid var(--line-dark); }
.promises li::before { content: counter(p, decimal-leading-zero); grid-row: span 2; font: 400 30px/1 var(--serif); color: var(--gold-300); font-style: italic; }
.promises strong { color: var(--ivory); font: 600 17.5px/1.35 var(--sans); }
.promises span { color: var(--mist); font-size: 15.5px; }
@media (max-width: 820px) { .promises { grid-template-columns: 1fr; } }

/* Connections */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-l { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line-dark); color: var(--mist-2); font-size: 15px; }
.chip-l b { color: var(--ivory); font-weight: 600; }
.sec--paper .chip-l, .sec--ivory .chip-l { background: #fff; box-shadow: 0 0 0 1px var(--line-light); color: var(--text-2); }
.sec--paper .chip-l b, .sec--ivory .chip-l b { color: var(--text); }

/* Cards for resources */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 0 0 1px var(--line-light), 0 18px 40px -34px rgba(18, 24, 33, 0.45); text-decoration: none; color: var(--text-2); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line-light-2), 0 28px 50px -30px rgba(18, 24, 33, 0.45); }
.card .meta { font: 600 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-700); }
.card h3 { font-family: var(--serif); font-weight: 420; font-size: 25px; line-height: 1.16; color: var(--text); letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 15.5px; }
.card .date { margin-top: auto; font-size: 13.5px; color: var(--text-3); }
.card--feature { grid-column: span 2; background: var(--ink-900); color: var(--mist-2); box-shadow: 0 0 0 1px var(--line-dark); }
.card--feature h3 { color: var(--ivory); font-size: clamp(28px, 3vw, 40px); }
.card--feature .meta { color: var(--gold-300); }
.card--feature .date { color: var(--mist); }
@media (max-width: 960px) { .card--feature { grid-column: auto; } }
.books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .books { grid-template-columns: 1fr; } }
.book { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 26px; align-items: start; padding: 28px; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 0 0 1px var(--line-light), 0 18px 40px -34px rgba(18, 24, 33, 0.45); color: var(--text-2); }
.book img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 0 0 1px var(--line-light), 0 18px 30px -16px rgba(18, 24, 33, 0.5); }
.book h3 { font-family: var(--serif); font-weight: 420; font-size: 25px; line-height: 1.16; color: var(--text); letter-spacing: -0.01em; }
.book h3 span { display: block; margin-top: 6px; font: 500 15px/1.4 var(--sans); letter-spacing: 0; color: var(--text-2); }
.book p { margin: 12px 0 0; font-size: 15px; }
.book p a, .sec--ivory .lead a { color: var(--gold-700); }
.book dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 16px; margin: 16px 0 18px; font-size: 14.5px; }
.book dt { color: var(--text-3); }
.book dd { margin: 0; color: var(--text); font-variant-numeric: tabular-nums; }
.books__more { margin-top: 28px; }
@media (max-width: 520px) { .book { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 20px; } .book h3 { font-size: 21px; } .book dl { grid-template-columns: minmax(0, 1fr); gap: 0; } .book dd + dt { margin-top: 6px; } }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line-light-2); }
.faq details { border-bottom: 1px solid var(--line-light-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font-family: var(--serif); font-weight: 420; font-size: clamp(20px, 1.9vw, 25px); line-height: 1.25; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-light-2); background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121821' stroke-width='1.8' stroke-linecap='round'><path d='M12 6v12M6 12h12'/></svg>") center / 16px no-repeat; transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 60px 26px 0; color: var(--text-2); max-width: 78ch; }
.faq .ans p:last-child { margin: 0; }

/* CTA band */
.cta { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(48px, 7vw, 100px); background: radial-gradient(120% 140% at 85% 0%, rgba(226, 188, 78, 0.22), transparent 55%), linear-gradient(160deg, #141b27, #0b0f16 60%); box-shadow: inset 0 0 0 1px var(--line-dark-2); }
.cta .title { max-width: 16ch; }
.cta .lead { margin-top: 20px; }
.cta__mark { position: absolute; right: clamp(-60px, -2vw, 0px); bottom: -80px; width: clamp(240px, 32vw, 460px); opacity: 0.16; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink-950); padding: clamp(72px, 9vw, 120px) 0 36px; border-top: 1px solid var(--line-dark); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-grid h4 { font: 600 12.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist); margin-bottom: 18px; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: var(--mist-2); text-decoration: none; }
.footer-grid a:hover { color: var(--ivory); }
.footer-about p { max-width: 38ch; color: var(--mist); margin-top: 18px; }
.footer-group { margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.footer-group a { display: grid; gap: 4px; padding: 16px; border-radius: 14px; text-decoration: none; background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px var(--line-dark); transition: background 0.3s; }
.footer-group a:hover { background: rgba(255, 255, 255, 0.05); }
.footer-group b { color: var(--ivory); font-weight: 600; font-size: 14.5px; }
.footer-group span { color: var(--mist); font-size: 13px; line-height: 1.4; }
.footer-legal { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; color: var(--mist); font-size: 13.5px; }
.footer-legal nav { display: flex; gap: 20px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--ivory); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } .footer-group { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .footer-group { grid-template-columns: 1fr; } }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(20, 27, 39, 0.86); color: var(--ivory); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-dark-2); opacity: 0; transform: translateY(10px); transition: opacity 0.3s, transform 0.3s var(--ease); pointer-events: none; backdrop-filter: blur(8px); }
.to-top[data-visible] { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 18px; height: 18px; margin: auto; }

/* ---------- Article / prose ---------- */
.prose { color: var(--text-2); font-size: 18px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-family: var(--serif); font-weight: 430; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.18; color: var(--text); letter-spacing: -0.01em; }
.prose h3 { margin-top: 1.8em; font: 650 19px/1.35 var(--sans); color: var(--text); }
.prose p { margin: 0; }
.prose section > * + * { margin-top: 1.1em; }
.prose section + section { margin-top: 2em; }
.prose a { color: var(--gold-700); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose img { border-radius: 14px; box-shadow: 0 0 0 1px var(--line-light), 0 24px 50px -30px rgba(18, 24, 33, 0.45); }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 15.5px; }
.prose dt { color: var(--text-3); }
.prose dd { margin: 0; color: var(--text); }
.prose blockquote { margin: 1.6em 0; padding-left: 22px; border-left: 2px solid var(--gold-500); font-family: var(--serif); font-style: italic; font-size: 1.2em; color: var(--text); }
.prose .editorial-disclosure, .prose p:last-child:has(> em) { font-size: 14px; color: var(--text-3); }
.article-head { display: grid; gap: 18px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; color: var(--mist); }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label { font: 600 14px/1.3 var(--sans); color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 0; background: #fff; color: var(--text);
  font: 400 16px/1.4 var(--sans); box-shadow: inset 0 0 0 1px var(--line-light-2); transition: box-shadow 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold-500); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-size: 15px; }
.form-status[data-state="success"] { color: #1f6b3a; }
.form-status[data-state="error"] { color: #9b2c2c; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.plan { display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 0 0 1px var(--line-light), 0 20px 40px -34px rgba(18, 24, 33, 0.4); color: var(--text-2); }
.plan h3 { font-family: var(--serif); font-weight: 420; font-size: 30px; color: var(--text); }
.plan .price { margin: 18px 0 4px; font-family: var(--serif); font-size: 40px; font-weight: 360; color: var(--text); letter-spacing: -0.02em; }
.plan .per { font-size: 14px; color: var(--text-3); }
.plan ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; }
.plan li { position: relative; padding-left: 16px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; transform: rotate(45deg); background: var(--gold-500); }
.plan li b { color: var(--text); font-weight: 650; }
.plan--dark li b { color: var(--ivory); }
.plan .btn { margin-top: auto; justify-content: center; }
.plan .spacer { flex: 1; min-height: 26px; }
.plan--dark { background: var(--ink-900); color: var(--mist-2); box-shadow: 0 0 0 1px var(--line-dark); }
.plan--dark h3, .plan--dark .price { color: var(--ivory); }
.plan--dark .per { color: var(--mist); }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.table th { font: 600 13px/1.3 var(--sans); letter-spacing: 0.04em; color: var(--text-3); }
.table td:first-child { color: var(--text); font-weight: 500; }
.table .y { color: var(--gold-700); font-weight: 700; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line-light); padding: 6px 12px; }

/* ---------- Misc ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat { padding: 24px 0; border-top: 1px solid var(--line-dark-2); }
.stat b { display: block; font-family: var(--serif); font-weight: 340; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; color: var(--ivory); letter-spacing: -0.02em; }
.stat span { display: block; margin-top: 10px; color: var(--mist); font-size: 15px; }
.sec--paper .stat, .sec--ivory .stat { border-color: var(--line-light-2); }
.sec--paper .stat b, .sec--ivory .stat b { color: var(--text); }
.sec--paper .stat span, .sec--ivory .stat span { color: var(--text-3); }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.film { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--line-dark-2), 0 40px 90px -40px rgba(0, 0, 0, 0.8); }
.film video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.note { padding: 18px 20px; border-radius: 14px; background: rgba(240, 211, 108, 0.08); box-shadow: inset 0 0 0 1px rgba(240, 211, 108, 0.22); font-size: 14.5px; color: var(--mist-2); }
.sec--paper .note, .sec--ivory .note { background: rgba(169, 131, 24, 0.07); box-shadow: inset 0 0 0 1px rgba(169, 131, 24, 0.22); color: var(--text-2); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 10px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.notfound { min-height: 80svh; display: grid; place-items: center; text-align: center; padding-top: var(--header-h); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
}
@media print {
  .site-header, .site-footer, .to-top, .hero__media, .hero__pause { display: none !important; }
  body { background: #fff; color: #000; }
}
.grid-2c { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 620px) { .grid-2c { grid-template-columns: 1fr; } }

/* ---------- The app's learner fonts, for the "Try a look" demonstration ---------- */
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-latin-wght-normal.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
:root { --sans-base: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif; }

/* A chosen look re-colours the page (Education, Platform) or the hero (Home): the gold tokens take the theme's shades. */
[data-look="calm"] { --gold-200: #c9dcf2; --gold-300: #94b9e4; --gold-400: #6595d0; --gold-500: #3b6ea8; --gold-600: #2f5a8a; --gold-700: #24466b; }
[data-look="ocean"] { --gold-200: #bfe7f2; --gold-300: #7fd0e5; --gold-400: #3fb2cd; --gold-500: #0b7a9c; --gold-600: #08627e; --gold-700: #064a60; }
[data-look="forest"] { --gold-200: #cbe8cc; --gold-300: #95d199; --gold-400: #5fb465; --gold-500: #2e7d32; --gold-600: #256628; --gold-700: #1c4e1f; }
[data-look="sunset"] { --gold-200: #fad6c5; --gold-300: #f4a988; --gold-400: #e37e52; --gold-500: #c24e22; --gold-600: #9e3f1b; --gold-700: #7a3015; }
[data-look="lavender"] { --gold-200: #e3d8f5; --gold-300: #c5adeb; --gold-400: #a383da; --gold-500: #7e57c2; --gold-600: #66459f; --gold-700: #4f357c; }
[data-look="contrast"] { --gold-200: #ffffff; --gold-300: #ffffff; --gold-400: #9ec0ff; --gold-500: #4d8dff; --gold-600: #0040c1; --gold-700: #00339a; }
[data-font="rounded"] { --serif: "Nunito", ui-rounded, system-ui, sans-serif; --sans: "Nunito", ui-rounded, system-ui, sans-serif; }
[data-font="readable"] { --serif: "Atkinson Hyperlegible", system-ui, sans-serif; --sans: "Atkinson Hyperlegible", system-ui, sans-serif; }
.hero[data-font] { font-family: var(--sans); }
[data-font] .display, [data-font] .title, [data-font] .statement { font-weight: 700; letter-spacing: -0.012em; }
[data-font] .display em, [data-font] .title em { font-weight: 700; font-style: normal; }
[data-font] .story__text { font-style: normal; font-weight: 600; }
.btn, .eyebrow, .kicker, .link-arrow, .display em, .title em, .story__rail .bar i, .sw, .fc { transition: color 0.6s var(--ease), background-color 0.6s var(--ease), box-shadow 0.6s var(--ease), transform 0.35s var(--ease); }

/* The "Try a look" controls */
.looks-try { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 26px; padding: 10px 12px; width: fit-content; max-width: 100%; border-radius: 16px; background: rgba(11, 15, 22, 0.55); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-dark-2); animation: rise 1.4s var(--ease) both 0.6s; }
.looks-try__lbl { font: 600 13px/1 var(--sans); color: var(--ivory); padding-left: 4px; }
.swatches, .fonts { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.sw { width: 26px; height: 26px; border-radius: 50%; border: 0; cursor: pointer; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 55%, #fff), var(--c) 70%); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12); }
.sw:hover { transform: scale(1.12); }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink-900), 0 0 0 4px #fff; }
.fc { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px 0 8px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.07); color: var(--mist-2); font: 500 12.5px/1 var(--sans-base); box-shadow: inset 0 0 0 1px var(--line-dark); }
.fc b { font-size: 15px; font-weight: 700; color: var(--ivory); }
.fc:hover { background: rgba(255, 255, 255, 0.12); color: var(--ivory); }
.fc[aria-pressed="true"] { background: var(--gold-300); color: var(--ink-950); box-shadow: none; }
.fc[aria-pressed="true"] b { color: var(--ink-950); }

/* The learner's screen that changes look */
.hero__card--looks { pointer-events: auto; }
.looks-card { position: relative; }
.looks-card__stack { position: relative; aspect-ratio: 1366 / 768; background: #fff; }
.looks-card__stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.015); transition: opacity 0.7s var(--ease), transform 1.2s var(--ease); }
.looks-card__stack img.is-on { opacity: 1; transform: none; }
.looks-card .chip { position: absolute; left: -18px; bottom: -16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: rgba(11, 15, 22, 0.86); backdrop-filter: blur(10px); color: var(--ivory); font: 600 13px/1.2 var(--sans); box-shadow: 0 0 0 1px var(--line-dark-2), 0 16px 30px -12px rgba(0, 0, 0, 0.6); }
.looks-card .chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-300); }
.hero--page.hero--looks .hero__card { top: calc(var(--header-h) + 12vh); }
@media (max-width: 1180px) {
  .hero--looks .hero__card--looks[data-persist] { display: block; position: relative; right: auto; top: auto; width: auto; max-width: 560px; margin: 0 var(--gutter) 44px; transform: none; opacity: 1; order: 3; align-self: stretch; }
  .hero--looks.hero--page { display: flex; flex-direction: column; justify-content: flex-end; }
}
@media (max-width: 760px) { .looks-try { gap: 8px; } .looks-try__lbl { width: 100%; } }

/* ---------- Lighter cinematic header: a slow-moving still ---------- */
.page-hero--still { background: var(--ink-950); }
.page-hero__still { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.page-hero__still img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; filter: saturate(0.8); animation: drift 34s var(--ease-in-out) infinite alternate; }
.page-hero__still::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 8, 12, 0.95) 0%, rgba(6, 8, 12, 0.78) 45%, rgba(6, 8, 12, 0.45) 100%), linear-gradient(0deg, rgba(6, 8, 12, 1) 0%, rgba(6, 8, 12, 0) 40%); }
@keyframes drift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-2%, -1.5%, 0); } }
.page-hero--side .wrap > * { max-width: 600px; }

/* Pricing: how paying works, with real screens */
.bill-stack { position: absolute; z-index: 1; right: var(--gutter); top: calc(var(--header-h) + 48px); width: min(500px, 36vw); height: 590px; }
.bill { position: absolute; margin: 0; width: 86%; }
.bill .frame { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 60px -25px rgba(0, 0, 0, 0.8); }
.bill figcaption { margin-top: 10px; font: 600 13px/1.3 var(--sans); color: var(--ivory); display: flex; align-items: center; gap: 8px; }
.bill figcaption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-300); }
.bill--a { right: 0; top: 0; animation: floaty 9s var(--ease-in-out) infinite alternate; }
.bill--b { left: 0; top: 300px; width: 78%; animation: floaty 11s var(--ease-in-out) infinite alternate-reverse; }
.bill--c { right: 4%; top: 445px; width: 72%; animation: floaty 10s var(--ease-in-out) infinite alternate; }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.steps3 { margin: 30px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: s; max-width: 640px; }
.steps3 li { counter-increment: s; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line-dark); display: grid; gap: 6px; align-content: start; }
.steps3 b { color: var(--ivory); font: 650 16px/1.2 var(--sans); }
.steps3 b::before { content: counter(s) " · "; color: var(--gold-300); }
.steps3 span { color: var(--mist); font-size: 14px; line-height: 1.45; }
@media (max-width: 1180px) { .bill-stack { position: relative; right: auto; top: auto; width: auto; max-width: 520px; height: 500px; margin: 40px var(--gutter) 0; order: 2; align-self: stretch; } .page-hero--side { display: flex; flex-direction: column; } .page-hero--side > .wrap { order: 1; } }
@media (max-width: 640px) { .steps3 { grid-template-columns: 1fr; } .bill-stack { height: 430px; } .bill--b { top: 200px; } .bill--c { top: 300px; } }

/* About: the Deep ecosystem and how we build */
.eco { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.eco__item { display: grid; gap: 8px; align-content: start; padding: 28px; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 0 0 1px var(--line-light), 0 18px 40px -34px rgba(18, 24, 33, 0.45); text-decoration: none; color: var(--text-2); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.eco__item:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line-light-2), 0 28px 50px -30px rgba(18, 24, 33, 0.45); }
.eco__logo { display: flex; align-items: center; height: 64px; margin-bottom: 14px; }
.eco__logo img { max-height: 52px; width: auto; max-width: 100%; }
.eco__item b { color: var(--text); font: 650 17px/1.3 var(--sans); }
.eco__item span { font-size: 15px; }
@media (max-width: 960px) { .eco { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .eco { grid-template-columns: 1fr; } }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.principle { padding: 28px 24px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px var(--line-dark); }
.principle__n { font: italic 400 30px/1 var(--serif); color: var(--gold-300); }
.principle h3 { margin: 18px 0 8px; font: 650 19px/1.3 var(--sans); color: var(--ivory); }
.principle p { margin: 0; color: var(--mist); font-size: 15.5px; }
@media (max-width: 1000px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

/* Keep the hero copy clear of the floating screen on wide screens */
@media (min-width: 1181px) {
  .hero__card ~ .hero__inner .hero__copy { max-width: min(780px, calc(100vw - min(560px, 39vw) - 2 * var(--gutter) - 140px)); }
  .page-hero--side .display { font-size: clamp(40px, 4.4vw, 66px); }
}
@media (max-width: 1180px) and (min-width: 641px) { .bill-stack { height: 600px; } }

/* ---------- The whole site in the visitor's chosen look: surfaces from the app's own theme tokens ---------- */
[data-look="calm"] { --ink-950: #0b0f13; --ink-900: #11161b; --ink-850: #161c22; --ink-800: #1b222a; --ink-700: #222a33; --paper: #f3f6f9; --paper-2: #e9eef3; --ivory: #e9eef3; }
[data-look="ocean"] { --ink-950: #080e11; --ink-900: #0d161a; --ink-850: #121d22; --ink-800: #17242b; --ink-700: #1d2c34; --paper: #eef6fa; --paper-2: #e3eff5; --ivory: #e3eff5; }
[data-look="forest"] { --ink-950: #0a0e0b; --ink-900: #0f1510; --ink-850: #141b15; --ink-800: #19221a; --ink-700: #1f2a20; --paper: #f1f6f1; --paper-2: #e6eee6; --ivory: #e6eee6; }
[data-look="sunset"] { --ink-950: #120c0a; --ink-900: #1a1210; --ink-850: #211714; --ink-800: #291c18; --ink-700: #31221d; --paper: #fbf4ef; --paper-2: #f6eae2; --ivory: #f6eae2; }
[data-look="lavender"] { --ink-950: #0e0c12; --ink-900: #15121b; --ink-850: #1b1722; --ink-800: #211c2a; --ink-700: #282233; --paper: #f6f3fb; --paper-2: #eee9f7; --ivory: #eee9f7; }
[data-look="contrast"] { --ink-950: #000000; --ink-900: #000000; --ink-850: #0d0d0d; --ink-800: #000000; --ink-700: #0d0d0d; --paper: #ffffff; --paper-2: #f2f2f2; --ivory: #f2f2f2; --mist: #d9d9d9; --mist-2: #f0f0f0; --text: #000000; --text-2: #1a1a1a; --text-3: #333333; --line-dark: rgba(255, 255, 255, 0.4); --line-light: rgba(0, 0, 0, 0.45); }
body, .sec, .page-hero, .site-footer, .card--feature, .plan--dark, .tile--dark { transition: background-color 0.7s var(--ease), color 0.7s var(--ease); }
.site-header[data-solid] { background: color-mix(in srgb, var(--ink-900) 80%, transparent); }
@media (max-width: 1080px) { .nav { background: color-mix(in srgb, var(--ink-900) 97%, transparent); } }
.cta { background: radial-gradient(120% 140% at 85% 0%, color-mix(in srgb, var(--gold-400) 24%, transparent), transparent 55%), linear-gradient(160deg, var(--ink-800), var(--ink-900) 60%); }

/* Text size, as the app's three sizes */
[data-size="112"] main, [data-size="112"] .site-footer { zoom: 1.12; }
[data-size="125"] main, [data-size="125"] .site-footer { zoom: 1.25; }

/* Size buttons and the way back to gold */
.sizes { display: inline-flex; gap: 4px; }
.sz { min-width: 34px; height: 30px; padding: 0 8px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.07); color: var(--ivory); font: 700 12px/1 var(--sans-base); box-shadow: inset 0 0 0 1px var(--line-dark); }
.sz--112 { font-size: 13.5px; } .sz--125 { font-size: 15px; }
.sz:hover { background: rgba(255, 255, 255, 0.12); }
.sz[aria-pressed="true"] { background: var(--gold-300); color: var(--ink-950); box-shadow: none; }
.look-reset { display: inline-flex; align-items: center; gap: 8px; height: 38px; margin-left: 6px; padding: 0 14px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.07); color: var(--ivory); font: 600 13px/1 var(--sans-base); box-shadow: inset 0 0 0 1px var(--line-dark-2); white-space: nowrap; }
.look-reset i { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(180deg, #f6d873, #d4a01c); box-shadow: 0 0 0 3px rgba(212, 160, 28, 0.25); }
.look-reset:hover { background: rgba(255, 255, 255, 0.12); }
.look-reset[hidden] { display: none; }
@media (max-width: 1080px) { .look-reset { margin: 16px 0 0; justify-content: center; height: 48px; font-size: 15px; } }

/* ---------- Make it yours, make it fun: the tabs ---------- */
.funshow { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.5fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.funshow__tabs { display: grid; gap: 6px; }
.funshow__tabs [role="tab"] { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; width: 100%; padding: 16px 18px; border: 0; border-radius: 16px; background: transparent; color: var(--mist); text-align: left; cursor: pointer; overflow: hidden; transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.funshow__tabs [role="tab"]:hover { background: rgba(255, 255, 255, 0.035); }
.funshow__tabs [aria-selected="true"] { background: rgba(255, 255, 255, 0.055); box-shadow: inset 0 0 0 1px var(--line-dark-2); }
.ft__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); color: var(--gold-300); }
.ft__ico svg { width: 20px; height: 20px; }
.ft__t { display: grid; gap: 4px; }
.ft__t b { font: 650 16.5px/1.3 var(--sans); color: var(--ivory); }
.ft__t span { font-size: 14.5px; line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.6s var(--ease), opacity 0.5s var(--ease); }
[aria-selected="true"] .ft__t span { max-height: 140px; opacity: 1; }
.ft__bar { position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-500), var(--gold-200)); }
[data-funshow][data-inview]:not([data-touched]) [aria-selected="true"] .ft__bar { animation: ftbar 6s linear forwards; }
@keyframes ftbar { to { transform: scaleX(1); } }
.funshow__stage { position: sticky; top: calc(var(--header-h) + 24px); display: grid; }
.funshow__panel { grid-area: 1 / 1; }
.funshow__panel.is-on { animation: panelIn 0.7s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px) scale(0.99); } to { opacity: 1; transform: none; } }
.funshow__media { position: relative; }
.funshow__inset { position: absolute; left: -26px; bottom: -34px; width: 58%; }
/* A clip with an inset: the two stack, so the inset never hides what the clip shows. */
.funshow__media--stack .funshow__inset { position: relative; left: auto; right: auto; bottom: auto; width: 72%; margin: -18px 0 0 auto; }
.funshow__inset .frame { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 60px -20px rgba(0, 0, 0, 0.75); }
.funshow__panel .looks-try { margin-top: 26px; animation: none; }
.sec--paper .funshow__tabs [role="tab"] { color: var(--text-2); }
.sec--paper .funshow__tabs [role="tab"]:hover { background: rgba(18, 24, 33, 0.04); }
.sec--paper .funshow__tabs [aria-selected="true"] { background: #fff; box-shadow: 0 0 0 1px var(--line-light), 0 14px 30px -24px rgba(18, 24, 33, 0.35); }
.sec--paper .ft__ico { background: rgba(18, 24, 33, 0.05); color: var(--gold-600); }
.sec--paper .ft__t b { color: var(--text); }
.sec--paper .funshow__panel .looks-try { background: var(--ink-900); }
@media (max-width: 960px) {
  .funshow { grid-template-columns: 1fr; }
  .funshow__tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; gap: 8px; padding-bottom: 6px; }
  .funshow__tabs [role="tab"] { grid-template-columns: 30px auto; padding: 10px 14px; align-items: center; }
  .ft__ico { width: 30px; height: 30px; border-radius: 9px; }
  .ft__t span { display: none; }
  .funshow__stage { position: relative; top: auto; }
  .funshow__inset { left: auto; right: -8px; bottom: -24px; width: 62%; }
}

/* ---------- About: the group in three levels (NXT SAS Global; its group companies; its products) ---------- */
.org { --line: var(--gold-500); display: grid; justify-items: center; }
.org .eco__item { position: relative; padding: 24px 22px; }
.org .eco__logo { height: 52px; margin-bottom: 10px; }
.org .eco__logo img { max-height: 40px; }
.org__parent { position: relative; width: min(620px, 100%); padding-bottom: 40px; }
.org__parent::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 40px; background: var(--line); }
.eco__item--parent { text-align: center; justify-items: center; padding: 34px 32px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold-500) 45%, transparent), 0 26px 50px -34px rgba(18, 24, 33, 0.5); }
.org .eco__item--parent .eco__logo { justify-content: center; height: 80px; }
.org .eco__item--parent .eco__logo img { max-height: 62px; }
.eco__tag { display: inline-block; justify-self: start; margin-bottom: 2px; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--gold-500) 14%, transparent); color: var(--gold-700); font: 700 11px/1 var(--sans-base); letter-spacing: 0.12em; text-transform: uppercase; }
.eco__item--parent .eco__tag { justify-self: center; }
.eco__addr { font-size: 13.5px; color: var(--text-3); }
/* Level two: the two group companies either side of the line that runs down from NXT SAS Global */
.org__mid { display: grid; grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr); align-items: center; width: min(960px, 100%); }
.org__spine { align-self: stretch; justify-self: center; width: 1px; background: var(--line); }
.org__mid > .eco__item:first-child::after, .org__mid > .eco__item:last-child::before { content: ""; position: absolute; top: 50%; width: 44px; height: 1px; background: var(--line); }
.org__mid > .eco__item:first-child::after { right: -44px; }
.org__mid > .eco__item:last-child::before { left: -44px; }
.org__trunk { display: block; width: 1px; height: 40px; background: var(--line); }
/* Level three: the three products */
.org__products { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; padding-top: 32px; }
.org__products::before { content: ""; position: absolute; top: 0; height: 1px; left: calc((100% - 32px) / 6); right: calc((100% - 32px) / 6); background: var(--line); }
.org__products > .eco__item::before { content: ""; position: absolute; top: -32px; left: 50%; width: 1px; height: 32px; background: var(--line); }
.org__products > .eco__item--here::before { top: -34px; height: 34px; }
.eco__item--here { box-shadow: 0 0 0 2px var(--gold-400), 0 18px 40px -30px rgba(18, 24, 33, 0.45); }
.eco__here { position: absolute; top: -11px; right: 18px; padding: 5px 9px; border-radius: 999px; background: var(--gold-400); color: var(--ink-950); font: 700 11px/1 var(--sans-base); letter-spacing: 0.04em; }
@media (max-width: 760px) {
  .org__mid { grid-template-columns: 1fr; gap: 0; }
  .org__spine { height: 28px; }
  .org__mid > .eco__item::after, .org__mid > .eco__item::before { display: none; }
  .org__products { grid-template-columns: 1fr; gap: 28px; padding-top: 0; }
  .org__products::before { display: none; }
  .org__products > .eco__item::before { top: -28px; height: 28px; }
  .org__products > .eco__item:first-child::before { display: none; }
}

/* Footer strip: each name with its place in the group */
.footer-group em { font-style: normal; font: 700 10.5px/1 var(--sans-base); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 4px; }

.org .eco__item--parent .eco__logo { height: 80px; }
.org .eco__item--parent .eco__logo img { max-height: 62px; }

/* ---------- The group chart: draws itself, then a pulse of light flows down it; hovering lights a card's path ---------- */
/* 1. Drawing in (only when the script marks it data-anim, so without script or with motion off it simply shows) */
.org[data-anim] .eco__item { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease), box-shadow 0.4s var(--ease); }
.org[data-anim].is-drawn .eco__item { opacity: 1; transform: none; }
.org[data-anim] .org__parent::after, .org[data-anim] .org__spine, .org[data-anim] .org__trunk, .org[data-anim] .org__products > .eco__item::before { transform: scaleY(0); transform-origin: 50% 0; transition: transform 0.45s var(--ease-in-out); }
.org[data-anim] .org__mid > .eco__item:first-child::after { transform: scaleX(0); transform-origin: 100% 50%; transition: transform 0.35s var(--ease-in-out); }
.org[data-anim] .org__mid > .eco__item:last-child::before { transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.35s var(--ease-in-out); }
.org[data-anim] .org__products::before { transform: scaleX(0); transform-origin: 50% 50%; transition: transform 0.5s var(--ease-in-out); }
.org[data-anim].is-drawn .org__parent::after, .org[data-anim].is-drawn .org__spine, .org[data-anim].is-drawn .org__trunk, .org[data-anim].is-drawn .org__products > .eco__item::before,
.org[data-anim].is-drawn .org__mid > .eco__item:first-child::after, .org[data-anim].is-drawn .org__mid > .eco__item:last-child::before, .org[data-anim].is-drawn .org__products::before { transform: none; }
/* the order: parent, its line, the spine, both companies with their branches, the trunk, the bar, the drops and the three products */
.org[data-anim].is-drawn .org__parent .eco__item { transition-delay: 0s; }
.org[data-anim].is-drawn .org__parent::after { transition-delay: 0.5s; }
.org[data-anim].is-drawn .org__spine { transition-delay: 0.85s; transition-duration: 0.6s; }
.org[data-anim].is-drawn .org__mid > .eco__item { transition-delay: 1s; }
.org[data-anim].is-drawn .org__mid > .eco__item:first-child::after, .org[data-anim].is-drawn .org__mid > .eco__item:last-child::before { transition-delay: 1.05s; }
.org[data-anim].is-drawn .org__trunk { transition-delay: 1.45s; transition-duration: 0.3s; }
.org[data-anim].is-drawn .org__products::before { transition-delay: 1.7s; }
.org[data-anim].is-drawn .org__products > .eco__item::before { transition-delay: 2.1s; transition-duration: 0.3s; }
.org[data-anim].is-drawn .org__products > .eco__item:nth-child(1) { transition-delay: 2.1s; }
.org[data-anim].is-drawn .org__products > .eco__item:nth-child(2) { transition-delay: 2.25s; }
.org[data-anim].is-drawn .org__products > .eco__item:nth-child(3) { transition-delay: 2.4s; }
.org[data-anim] .eco__here { opacity: 0; }
.org[data-anim].is-drawn .eco__here { animation: herePop 0.7s var(--ease) 2.8s both; }
.org[data-anim].is-drawn .eco__item--here { animation: hereGlow 1.6s var(--ease) 2.9s 1; }
@keyframes herePop { 0% { opacity: 0; transform: scale(0.6); } 60% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: none; } }
@keyframes hereGlow { 0% { box-shadow: 0 0 0 2px var(--gold-400), 0 0 0 0 color-mix(in srgb, var(--gold-400) 55%, transparent); } 100% { box-shadow: 0 0 0 2px var(--gold-400), 0 0 0 18px color-mix(in srgb, var(--gold-400) 0%, transparent); } }
/* once drawn, hover and the pulse respond at once */
.org.is-flowing .eco__item, .org.is-flowing .org__parent::after, .org.is-flowing .org__spine, .org.is-flowing .org__trunk, .org.is-flowing .org__products::before, .org.is-flowing .org__products > .eco__item::before, .org.is-flowing .org__mid > .eco__item::after, .org.is-flowing .org__mid > .eco__item::before { transition-delay: 0s !important; transition-duration: 0.35s; }

/* 2. A pulse of light flowing from NXT SAS Global down to the companies and products, every six seconds */
@keyframes flowDown { 0% { background-position: 0 100%; } 14%, 100% { background-position: 0 0; } }
@keyframes flowLeft { 0% { background-position: 0 0; } 14%, 100% { background-position: 100% 0; } }
@keyframes flowRight { 0% { background-position: 100% 0; } 14%, 100% { background-position: 0 0; } }
@keyframes barGlow { 0%, 100% { box-shadow: none; background-color: var(--line); } 5% { box-shadow: 0 0 12px 1px var(--gold-300); background-color: var(--gold-300); } 13% { box-shadow: none; background-color: var(--line); } }
.org.is-flowing .org__parent::after, .org.is-flowing .org__spine, .org.is-flowing .org__trunk, .org.is-flowing .org__products > .eco__item::before { background: linear-gradient(180deg, var(--line) 0 38%, #fff6cf 50%, var(--line) 62% 100%) 0 100% / 100% 400% no-repeat, var(--line); animation: flowDown 6s linear infinite; }
.org.is-flowing .org__mid > .eco__item:first-child::after { background: linear-gradient(90deg, var(--line) 0 38%, #fff6cf 50%, var(--line) 62% 100%) 0 0 / 400% 100% no-repeat, var(--line); animation: flowLeft 6s linear infinite; }
.org.is-flowing .org__mid > .eco__item:last-child::before { background: linear-gradient(90deg, var(--line) 0 38%, #fff6cf 50%, var(--line) 62% 100%) 100% 0 / 400% 100% no-repeat, var(--line); animation: flowRight 6s linear infinite; }
.org.is-flowing .org__products::before { animation: barGlow 6s linear infinite; }
.org.is-flowing .org__parent::after { animation-delay: 0s; }
.org.is-flowing .org__spine { animation-delay: 0.45s; }
.org.is-flowing .org__mid > .eco__item:first-child::after, .org.is-flowing .org__mid > .eco__item:last-child::before { animation-delay: 0.95s; }
.org.is-flowing .org__trunk { animation-delay: 1.3s; }
.org.is-flowing .org__products::before { animation-delay: 1.5s; }
.org.is-flowing .org__products > .eco__item::before { animation-delay: 1.75s; }
.org:not([data-inview]) *, .org:not([data-inview])::before, .org:not([data-inview]) *::before, .org:not([data-inview]) *::after { animation-play-state: paused !important; }

/* 3. Hovering a card lights its path back to NXT SAS Global; the others step back */
.org.is-flowing:has(.org__mid .eco__item:hover, .org__products .eco__item:hover) .org__mid .eco__item:not(:hover),
.org.is-flowing:has(.org__mid .eco__item:hover, .org__products .eco__item:hover) .org__products .eco__item:not(:hover) { opacity: 0.55; }
.org:has(.eco__item--parent:hover) .org__parent::after, .org:has(.eco__item--parent:hover) .org__spine, .org:has(.eco__item--parent:hover) .org__trunk, .org:has(.eco__item--parent:hover) .org__products::before, .org:has(.eco__item--parent:hover) .org__products > .eco__item::before, .org:has(.eco__item--parent:hover) .org__mid > .eco__item::after, .org:has(.eco__item--parent:hover) .org__mid > .eco__item::before,
.org:has(.org__mid .eco__item:hover) .org__parent::after, .org:has(.org__mid .eco__item:hover) .org__spine, .org__mid > .eco__item:first-child:hover::after, .org__mid > .eco__item:last-child:hover::before,
.org:has(.org__products .eco__item:hover) .org__parent::after, .org:has(.org__products .eco__item:hover) .org__spine, .org:has(.org__products .eco__item:hover) .org__trunk, .org:has(.org__products .eco__item:hover) .org__products::before, .org__products > .eco__item:hover::before {
  background: var(--gold-300) !important; box-shadow: 0 0 10px 1px color-mix(in srgb, var(--gold-300) 70%, transparent); animation: none !important;
}
.org .eco__item:hover, .org[data-anim].is-drawn .eco__item:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold-400) 60%, transparent), 0 30px 50px -28px rgba(18, 24, 33, 0.5); }
.org .eco__item--here:hover { box-shadow: 0 0 0 2px var(--gold-400), 0 30px 50px -28px rgba(18, 24, 33, 0.5); }
@media (prefers-reduced-motion: reduce) { .org * , .org *::before, .org *::after { animation: none !important; } }
