/* ==========================================================================
   CyruTech Capital — site styles
   No framework. Tokens first, then base, layout, components, pages.
   ========================================================================== */

:root {
  --ink: #0a0f0d;
  --ink-2: #101714;
  --ink-3: #18211d;
  --paper: #f5f3ee;
  --paper-2: #ebe8df;
  --white: #ffffff;

  --green: #1db954;          /* brand */
  --green-bright: #3ee07a;   /* accents on ink */
  --green-deep: #0b7a36;     /* text on paper (AA) */

  --on-ink: #f5f3ee;
  --on-ink-muted: rgba(245, 243, 238, 0.66);
  --on-ink-faint: rgba(245, 243, 238, 0.42);
  --on-paper: #0a0f0d;
  --on-paper-muted: #4a524e;

  --line-ink: rgba(245, 243, 238, 0.12);
  --line-paper: rgba(10, 15, 13, 0.12);

  --font-sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 12vw, 160px);
  --radius: 18px;
  --radius-sm: 10px;
  --header-h: 76px;

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--on-paper);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html.nav-open, html.nav-open body { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"], .phases, .courses { list-style: none; padding: 0; margin: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--green); color: var(--ink); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--green); color: var(--ink); font-weight: 600;
  padding: 10px 16px; border-radius: 999px;
}
.skip-link:focus { top: 12px; }
.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;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink-2 { background: var(--ink-2); color: var(--on-ink); }
.section--paper-2 { background: var(--paper-2); }
.section--tight { padding-block: clamp(64px, 8vw, 104px); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-paper-muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.section--ink .eyebrow, .section--ink-2 .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--on-ink-muted); }

.display {
  font-size: clamp(2.6rem, 6.4vw, 6rem);
  line-height: 0.98; letter-spacing: -0.035em; font-weight: 500;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 1.02; letter-spacing: -0.03em; font-weight: 500;
  text-wrap: balance;
}
.h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.2; letter-spacing: -0.015em; font-weight: 500; }
.serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
.accent { color: var(--green-deep); }
.section--ink .accent, .section--ink-2 .accent, .hero .accent, .page-hero .accent, .cta-band .accent { color: var(--green-bright); }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--on-paper-muted); max-width: 60ch; text-wrap: pretty; }
.section--ink .lead, .section--ink-2 .lead, .hero .lead, .page-hero .lead { color: var(--on-ink-muted); }
.muted { color: var(--on-paper-muted); }
.prose p { color: var(--on-paper-muted); max-width: 68ch; text-wrap: pretty; }
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--on-paper); font-weight: 600; }

.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 80px); max-width: 860px; }
.section-head--split {
  max-width: none; grid-template-columns: 1fr; align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.3fr 1fr; gap: 48px; }
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--green); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 16px; letter-spacing: -0.005em; white-space: nowrap;
  cursor: pointer; transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-1px); background: var(--green-bright); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --bg: transparent; --fg: currentColor; border-color: var(--line-ink); }
.btn--ghost:hover { background: rgba(245, 243, 238, 0.08); border-color: var(--on-ink-faint); }
.btn--dark { --bg: var(--ink); --fg: var(--on-ink); }
.btn--dark:hover { background: var(--ink-3); }
.btn--outline { --bg: transparent; --fg: var(--on-paper); border-color: var(--line-paper); }
.btn--outline:hover { background: var(--white); border-color: var(--on-paper-muted); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--on-ink);
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile nav and clip it. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(10, 15, 13, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-ink);
  opacity: 0; transition: opacity 0.3s;
}
.site-header.is-scrolled::before, html.nav-open .site-header::before { opacity: 1; }
.site-header .wrap { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500;
  color: var(--on-ink-muted); transition: color 0.2s, background-color 0.2s;
}
.nav a:hover { color: var(--on-ink); background: rgba(245, 243, 238, 0.06); }
.nav a[aria-current="page"] { color: var(--on-ink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--green);
}
.header-cta { display: flex; align-items: center; gap: 8px; }
.header-cta .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-ink); background: transparent; cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--on-ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-block; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 24px var(--gutter) 40px; background: var(--ink);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  html.nav-open .nav {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s;
  }
  .nav a {
    font-size: clamp(1.6rem, 7vw, 2.2rem); letter-spacing: -0.02em; padding: 14px 0; border-radius: 0;
    border-bottom: 1px solid var(--line-ink); color: var(--on-ink);
  }
  .nav a:hover { background: none; color: var(--green-bright); }
  .nav a[aria-current="page"] { color: var(--green-bright); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .nav-mobile-cta { display: flex; margin-top: 28px; border: 0; border-radius: 999px; font-size: 17px; padding: 0 24px; color: var(--ink); }
  .nav .nav-mobile-cta:hover { color: var(--ink); background: var(--green-bright); }
}
@media (min-width: 1024px) { .nav .nav-mobile-cta { display: none; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--on-ink);
  padding-top: calc(var(--header-h) + clamp(56px, 9vw, 120px));
  padding-bottom: clamp(56px, 7vw, 96px);
}
.bg-grid {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(var(--line-ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-ink) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 10%, transparent 75%);
}
.bg-glow {
  position: absolute; z-index: -1; pointer-events: none; border-radius: 50%;
  width: min(900px, 120vw); aspect-ratio: 1; right: -18%; top: -30%;
  background: radial-gradient(circle at center, rgba(29, 185, 84, 0.28), rgba(29, 185, 84, 0.06) 45%, transparent 70%);
  filter: blur(10px);
}
@media (prefers-reduced-motion: no-preference) {
  .bg-glow { animation: drift 18s ease-in-out infinite alternate; }
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-6%, 8%, 0) scale(1.08); }
}
.grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.45fr 1fr; } }
.hero .display { font-size: clamp(2.6rem, 5.6vw, 5.4rem); }
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.hero .display .serif { color: var(--green-bright); }

.hero-stats {
  margin-top: clamp(56px, 8vw, 104px); padding-top: 28px; border-top: 1px solid var(--line-ink);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px;
}
@media (min-width: 760px) { .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-value { font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: -0.03em; line-height: 1; font-weight: 500; }
.stat-value .serif { color: var(--green-bright); }
.stat-label { margin-top: 10px; font-size: 14px; color: var(--on-ink-muted); max-width: 22ch; }

/* Orbit visual */
.orbit { position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 1; }
.orbit svg { width: 100%; height: 100%; overflow: visible; }
.orbit .ring { fill: none; stroke: var(--line-ink); stroke-width: 1; }
.orbit .ring--dash { stroke-dasharray: 2 7; stroke: rgba(245, 243, 238, 0.24); }
.orbit .spoke { stroke: rgba(29, 185, 84, 0.35); stroke-width: 1; }
.orbit .node { fill: var(--ink-2); stroke: rgba(245, 243, 238, 0.28); stroke-width: 1; }
.orbit .node-dot { fill: var(--green); }
.orbit .label { fill: var(--on-ink); font: 500 15px var(--font-sans); letter-spacing: -0.01em; }
.orbit .sublabel { fill: var(--on-ink-faint); font: 400 12px var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; }
.orbit .core { fill: var(--green); }
.orbit .core-text { fill: var(--ink); font: 600 30px var(--font-sans); letter-spacing: -0.04em; }
.orbit .pulse { fill: none; stroke: var(--green); stroke-width: 1; opacity: 0; transform-origin: 260px 260px; transform-box: view-box; }
@media (prefers-reduced-motion: no-preference) {
  .orbit .spin { transform-origin: 260px 260px; transform-box: view-box; animation: spin 90s linear infinite; }
  .orbit .spin--rev { animation-direction: reverse; animation-duration: 140s; }
  .orbit .pulse { animation: pulse 4s var(--ease) infinite; }
  .orbit .pulse--2 { animation-delay: 2s; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.6); }
}
@media (max-width: 1023px) { .orbit { max-width: 420px; } }
@media (max-width: 520px) { .orbit .label { font-size: 17px; } .orbit .sublabel { font-size: 13px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--on-ink);
  padding-top: calc(var(--header-h) + clamp(64px, 9vw, 128px));
  padding-bottom: clamp(64px, 8vw, 112px);
}
.page-hero .bg-glow { right: -30%; top: -60%; }
.page-hero-inner { display: grid; gap: 26px; justify-items: start; max-width: 980px; }
.page-hero .display { font-size: clamp(2.5rem, 5.8vw, 5.2rem); }
.page-hero .display .serif { color: var(--green-bright); }

/* ---------- Portfolio ---------- */
.portfolio { display: grid; gap: 20px; }
@media (min-width: 760px) { .portfolio { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.venture {
  position: relative; display: flex; flex-direction: column; gap: 22px;
  padding: clamp(22px, 3vw, 32px); border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line-paper);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.venture:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -30px rgba(10, 15, 13, 0.35); border-color: transparent; }
.venture-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.venture-index { font-size: 13px; color: var(--on-paper-muted); font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.tag {
  display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500; background: var(--paper); color: var(--on-paper-muted); border: 1px solid var(--line-paper);
}
.venture-logo {
  height: clamp(140px, 16vw, 190px); display: grid; place-items: center; border-radius: var(--radius-sm);
  background: var(--paper); padding: 28px;
}
.venture-logo img { max-height: 64px; width: auto; max-width: 78%; object-fit: contain; transition: transform 0.5s var(--ease); }
.venture-logo--tall img { max-height: 92px; }
.venture:hover .venture-logo img { transform: scale(1.04); }
.venture h3 { font-size: 1.5rem; letter-spacing: -0.02em; font-weight: 500; }
.venture p { color: var(--on-paper-muted); }
.venture-foot { margin-top: auto; padding-top: 6px; }
.venture a.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.venture .link-arrow { color: var(--on-paper); }
.venture-note { font-size: 14px; color: var(--on-paper-muted); }

/* ---------- Program (timeline) ---------- */
.phases { display: grid; gap: 0; border-top: 1px solid var(--line-ink); counter-reset: phase; }
@media (min-width: 900px) { .phases { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.phase { position: relative; padding: 32px 0 36px; border-bottom: 1px solid var(--line-ink); display: grid; gap: 14px; align-content: start; }
@media (min-width: 900px) {
  .phase { padding: 40px 36px 8px 0; border-bottom: 0; }
  .phase + .phase { padding-left: 36px; border-left: 1px solid var(--line-ink); }
}
.phase::before {
  content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 6px rgba(29, 185, 84, 0.15);
}
@media (min-width: 900px) { .phase + .phase::before { left: 36px; } }
.phase-when { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-faint); }
.phase h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); letter-spacing: -0.03em; font-weight: 500; line-height: 1.05; }
.phase p { color: var(--on-ink-muted); max-width: 38ch; }

.benefits {
  margin-top: clamp(64px, 8vw, 104px); display: grid; gap: 1px; background: var(--line-ink);
  border: 1px solid var(--line-ink); border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.benefit { background: var(--ink-2); padding: clamp(24px, 3vw, 34px); display: grid; gap: 10px; align-content: start; transition: background-color 0.3s; }
.benefit:hover { background: var(--ink-3); }
.benefit-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(29, 185, 84, 0.12); color: var(--green-bright); margin-bottom: 8px;
}
.benefit-icon svg { width: 20px; height: 20px; }
.benefit h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.benefit p { color: var(--on-ink-muted); font-size: 15.5px; }
.benefit a { color: var(--green-bright); border-bottom: 1px solid rgba(62, 224, 122, 0.4); }

/* ---------- Split layouts ---------- */
.split { display: grid; gap: clamp(40px, 6vw, 88px); align-items: start; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1.15fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--center { align-items: center; }
  .sticky { position: sticky; top: calc(var(--header-h) + 32px); }
}
.stack { display: grid; gap: 24px; justify-items: start; }

/* ---------- Course list ---------- */
.courses { border-top: 1px solid var(--line-paper); counter-reset: course; }
.course {
  display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; padding: 26px 0;
  border-bottom: 1px solid var(--line-paper); counter-increment: course;
}
.course::before {
  content: counter(course, decimal-leading-zero); grid-row: span 2;
  font-size: 14px; color: var(--green-deep); font-variant-numeric: tabular-nums; padding-top: 6px; letter-spacing: 0.06em;
}
.course h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -0.02em; font-weight: 500; }
.course p { color: var(--on-paper-muted); max-width: 56ch; }

/* Course cards (bootcamp page) */
.course-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .course-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.course-card {
  display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 32px); border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line-paper); min-height: 260px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.course-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -30px rgba(10, 15, 13, 0.3); }
.course-card .num { font-size: 13px; letter-spacing: 0.1em; color: var(--green-deep); font-variant-numeric: tabular-nums; }
.course-card .course-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--green-bright); }
.course-card .course-icon svg { width: 22px; height: 22px; }
.course-card h3 { font-size: 1.35rem; letter-spacing: -0.02em; font-weight: 500; margin-top: 6px; }
.course-card p { color: var(--on-paper-muted); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 20px; }
@media (min-width: 960px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quote {
  display: flex; flex-direction: column; gap: 28px; padding: clamp(26px, 3vw, 36px);
  border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-paper);
}
.quote-mark { font-family: var(--font-serif); font-size: 64px; line-height: 0.5; color: var(--green); height: 24px; }
.quote blockquote p { font-size: 1.08rem; line-height: 1.55; color: var(--on-paper); text-wrap: pretty; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line-paper); }
.avatar {
  width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--green-bright); font-weight: 600; font-size: 15px; letter-spacing: 0.02em;
}
.quote-name { font-weight: 600; line-height: 1.3; }
.quote-role { font-size: 14px; color: var(--on-paper-muted); line-height: 1.4; }

/* ---------- Contact ---------- */
.contact-info { list-style: none; padding: 0; display: grid; gap: 0; margin-top: 12px; border-top: 1px solid var(--line-ink); width: 100%; }
.contact-row { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-ink); align-items: start; }
.contact-row .ci {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-ink);
  display: grid; place-items: center; color: var(--green-bright);
}
.contact-row .ci svg { width: 18px; height: 18px; }
.contact-row .ci-label { display: block; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-ink-faint); }
.contact-row .ci-value { display: block; margin: 4px 0 0; font-size: 1.08rem; overflow-wrap: anywhere; }
.contact-row .ci-value a { border-bottom: 1px solid var(--line-ink); transition: border-color 0.2s, color 0.2s; }
.contact-row .ci-value a:hover { color: var(--green-bright); border-color: var(--green-bright); }

.form-card {
  background: var(--paper); color: var(--on-paper); border-radius: calc(var(--radius) + 4px);
  padding: clamp(24px, 4vw, 44px); box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.6);
}
.form-card h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); letter-spacing: -0.025em; font-weight: 500; }
.form-card > p { margin-top: 8px; color: var(--on-paper-muted); }
.form { display: grid; gap: 18px; margin-top: 28px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--on-paper-muted); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--line-paper); background: var(--white); font-size: 16px; line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8b928e; }
.field input:hover, .field textarea:hover { border-color: rgba(10, 15, 13, 0.28); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-deep); box-shadow: 0 0 0 4px rgba(29, 185, 84, 0.18); }
.field [aria-invalid="true"] { border-color: #c2412d; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(194, 65, 45, 0.16); }
.field-error { font-size: 13.5px; color: #b03a26; min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; margin-top: 4px; }
.form-foot small { color: var(--on-paper-muted); font-size: 13.5px; }
.form-status { font-size: 15px; border-radius: 12px; padding: 14px 16px; }
.form-status:empty { display: none; }
.form-status[data-state="success"] { background: rgba(29, 185, 84, 0.12); color: #0a5c29; border: 1px solid rgba(29, 185, 84, 0.35); }
.form-status[data-state="error"] { background: rgba(194, 65, 45, 0.08); color: #8f2f1f; border: 1px solid rgba(194, 65, 45, 0.3); }
.spinner {
  width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent;
  animation: spin 0.7s linear infinite; display: none;
}
.btn[aria-busy="true"] .spinner { display: inline-block; }
.btn[aria-busy="true"] svg { display: none; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; border-radius: calc(var(--radius) + 8px);
  background: var(--ink); color: var(--on-ink); padding: clamp(40px, 7vw, 88px);
  display: grid; gap: 32px; align-items: end;
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.5fr auto; } }
.cta-band .bg-glow { right: -40%; top: -80%; }
.cta-band .h2 .serif { color: var(--green-bright); }
.cta-band p { color: var(--on-ink-muted); margin-top: 16px; max-width: 52ch; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 20px; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-paper);
}
.plan--featured { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.plan-badge {
  position: absolute; top: clamp(28px, 4vw, 44px); right: clamp(28px, 4vw, 44px);
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: var(--green); color: var(--ink);
}
.plan h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); letter-spacing: -0.025em; font-weight: 500; padding-right: 96px; }
.plan .plan-sub { color: var(--on-paper-muted); margin-top: -10px; }
.plan--featured .plan-sub { color: var(--on-ink-muted); }
.checks { display: grid; gap: 12px; padding: 22px 0 0; margin: 0; list-style: none; border-top: 1px solid var(--line-paper); }
.plan--featured .checks { border-color: var(--line-ink); }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checks svg { width: 18px; height: 18px; color: var(--green-deep); margin-top: 4px; }
.plan--featured .checks svg { color: var(--green-bright); }
.plan .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Feature list (SullDog) ---------- */
.features { display: grid; gap: 1px; background: var(--line-paper); border: 1px solid var(--line-paper); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature { background: var(--white); padding: clamp(26px, 3.4vw, 40px); display: grid; gap: 12px; align-content: start; }
.feature .num { font-size: 13px; letter-spacing: 0.1em; color: var(--green-deep); font-variant-numeric: tabular-nums; }
.feature h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -0.02em; font-weight: 500; line-height: 1.2; }
.feature p { color: var(--on-paper-muted); }

/* ---------- Team ---------- */
.team { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.member { padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-paper); display: grid; gap: 18px; }
.member .avatar { width: 64px; height: 64px; font-size: 20px; }
.member-name { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.member-role { color: var(--on-paper-muted); font-size: 15px; }

/* ---------- Values / principles ---------- */
.values { display: grid; gap: 0; border-top: 1px solid var(--line-paper); }
.value { display: grid; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--line-paper); }
@media (min-width: 760px) { .value { grid-template-columns: 0.9fr 1.4fr; gap: 40px; } }
.value h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -0.02em; font-weight: 500; }
.value p { color: var(--on-paper-muted); }

/* ---------- Media ---------- */
.media-frame { border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Scheduler ---------- */
.scheduler {
  border-radius: calc(var(--radius) + 4px); background: var(--white); overflow: hidden;
  border: 1px solid var(--line-paper); box-shadow: 0 40px 100px -60px rgba(10, 15, 13, 0.5);
}
.scheduler-fallback { text-align: center; margin-top: 20px; color: var(--on-paper-muted); font-size: 15px; }
.scheduler-fallback a { color: var(--on-paper); border-bottom: 1px solid currentColor; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink); padding-top: clamp(72px, 9vw, 120px); }
.footer-top { display: grid; gap: 48px; padding-bottom: 56px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 40px; } }
.footer-brand img { height: 34px; width: auto; }
.footer-brand p { margin-top: 20px; color: var(--on-ink-muted); max-width: 34ch; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-ink); display: grid; place-items: center;
  color: var(--on-ink-muted); transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.socials a:hover { color: var(--ink); background: var(--green); border-color: var(--green); }
.socials svg { width: 18px; height: 18px; }
.footer-col h2 { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-faint); }
.footer-col ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.footer-col a { color: var(--on-ink-muted); transition: color 0.2s; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--on-ink); }
.footer-word {
  font-size: clamp(4rem, 17vw, 15.5rem); line-height: 0.8; letter-spacing: -0.06em; font-weight: 600;
  color: transparent; -webkit-text-stroke: 1px rgba(245, 243, 238, 0.14);
  user-select: none; white-space: nowrap; overflow: hidden; margin-bottom: -0.08em;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 24px; border-top: 1px solid var(--line-ink); font-size: 14px; color: var(--on-ink-faint);
}

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; }
.notfound .page-hero-inner { justify-items: center; margin-inline: auto; }
.notfound .code { font-size: clamp(6rem, 22vw, 14rem); line-height: 0.85; letter-spacing: -0.06em; font-weight: 600; color: transparent; -webkit-text-stroke: 1.5px rgba(245, 243, 238, 0.3); }

/* ---------- Minimal motion ---------- */
/* Scroll progress line under the header */
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; z-index: 1;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
  transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}

/* Header settles in on load */
@media (prefers-reduced-motion: no-preference) {
  .js .site-header .wrap { animation: header-in 0.9s var(--ease) backwards; }
}
@keyframes header-in { from { opacity: 0; } }
/* Never transform the header: it would become the containing block for the fixed mobile nav. */

/* Headlines: words rise in sequence (spans added by site.js) */
.js [data-split] .w { display: inline-block; opacity: 0; transform: translateY(0.35em); filter: blur(6px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
  transition-delay: calc(0.08s + var(--i, 0) * 0.055s); }
.js [data-split].is-in .w { opacity: 1; transform: none; filter: none; }

/* Count-up numbers keep a steady width */
[data-count] { font-variant-numeric: tabular-nums; }

/* Program timeline: the rule draws across, dots pop in */
.js .phases[data-reveal] { opacity: 1; transform: none; border-top-color: transparent; position: relative; }
.js .phases[data-reveal]::after {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--line-ink);
  transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s var(--ease) 0.1s;
}
.js .phases[data-reveal].is-in::after { transform: none; }
.js .phases[data-reveal] .phase::before { transform: scale(0); transition: transform 0.6s var(--ease); }
.js .phases[data-reveal].is-in .phase::before { transform: none; }
.js .phases[data-reveal].is-in .phase:nth-child(1)::before { transition-delay: 0.2s; }
.js .phases[data-reveal].is-in .phase:nth-child(2)::before { transition-delay: 0.7s; }
.js .phases[data-reveal].is-in .phase:nth-child(3)::before { transition-delay: 1.2s; }

/* Photo unmasks and settles */
.js .media-reveal[data-reveal] { opacity: 1; transform: none; clip-path: inset(10% 10% 10% 10% round var(--radius));
  transition: clip-path 1.3s var(--ease); }
.js .media-reveal[data-reveal].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js .media-reveal img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.js .media-reveal.is-in img { transform: none; }

/* Eyebrow dot breathes on hero sections */
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow::before, .page-hero .eyebrow::before { animation: breathe 2.8s ease-in-out infinite; }
}
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29, 185, 84, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(29, 185, 84, 0); }
}

/* Footer wordmark rises slowly */

/* Quiet hover details */
.course { transition: padding-left 0.4s var(--ease); }
.course:hover { padding-left: 8px; }
.benefit-icon { transition: transform 0.4s var(--ease), background-color 0.3s; }
.benefit:hover .benefit-icon { transform: translateY(-3px); background: rgba(29, 185, 84, 0.2); }
.socials a { transition: color 0.2s, border-color 0.2s, background-color 0.2s, transform 0.3s var(--ease); }
.socials a:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  .js [data-split] .w { opacity: 1; transform: none; filter: none; transition: none; }
  .js .phases[data-reveal]::after, .js .phases[data-reveal] .phase::before { transform: none; }
  .js .media-reveal[data-reveal] { clip-path: none; }
  .js .media-reveal img { transform: none; }
  .course:hover { padding-left: 0; }
}

/* ==========================================================================
   Detailed motion layer
   ========================================================================== */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* --- Cross-page transitions (Chrome/Edge/Safari 18.2+, ignored elsewhere) --- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* --- Hero cursor spotlight --- */
.spotlight {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 0.6s;
  background: radial-gradient(520px circle at var(--sx, 50%) var(--sy, 50%), rgba(62, 224, 122, 0.10), transparent 60%);
}
.hero.is-pointer .spotlight { opacity: 1; }

/* --- Hero content drifts out on scroll (vars set by site.js) --- */
.hero-copy { transform: translate3d(0, calc(var(--hp, 0) * 70px), 0); opacity: calc(1 - var(--hp, 0) * 0.9); will-change: transform, opacity; }
.orbit svg { transform: translate3d(calc(var(--mx, 0) * 14px), calc(var(--my, 0) * 14px + var(--hp, 0) * -60px), 0); transition: transform 0.6s var(--ease); }
.orbit .core-g { transform: translate(calc(var(--mx, 0) * -8px), calc(var(--my, 0) * -8px)); transition: transform 0.6s var(--ease); }

/* --- Orbit: rings draw, spokes fade, nodes pop, packets travel --- */
.js .orbit .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease) 0.3s; }
.js .orbit.is-in .draw { stroke-dashoffset: 0; }
.js .orbit .spokes { opacity: 0; transition: opacity 1.2s ease 1.1s; }
.js .orbit.is-in .spokes { opacity: 1; }
.js .orbit .node-g { opacity: 0; transform: scale(0.4); transform-box: fill-box; transform-origin: center;
  transition: opacity 0.7s var(--ease), transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(0.9s + var(--i) * 0.16s); }
.js .orbit.is-in .node-g { opacity: 1; transform: none; }
.orbit .packet { fill: var(--green-bright); filter: drop-shadow(0 0 4px rgba(62, 224, 122, 0.9)); }
.orbit .node-g .node { transition: stroke 0.3s, fill 0.3s; }
.orbit .node-g:hover .node { stroke: var(--green); fill: #12321f; }
@media (prefers-reduced-motion: no-preference) {
  .orbit .core-g image { animation: float 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes float { 50% { transform: translateY(-4px); } }

/* --- Marquee ticker --- */
.marquee {
  overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line-paper);
  padding-block: clamp(18px, 2.4vw, 28px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; align-items: center; }
.mq-item { font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; font-weight: 500; white-space: nowrap; padding-inline: clamp(18px, 2.4vw, 32px); }
.mq-serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--green-deep); }
.mq-star { color: var(--green); font-size: 0.9rem; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- Serif phrases get a drawn underline after the words land --- */
.js .hero .display .serif, .js .page-hero .display .serif {
  background: linear-gradient(rgba(62, 224, 122, 0.45), rgba(62, 224, 122, 0.45)) no-repeat 0 94% / 0% 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 1.3s var(--ease) 1s;
}
.js .hero .display.is-in .serif, .js .page-hero .display.is-in .serif { background-size: 100% 2px; }

/* --- Footer wordmark letters --- */
.js [data-split="chars"] .ch { display: inline-block; opacity: 0; transform: translateY(60%) rotate(6deg);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 0.06s); }
.js [data-split="chars"].is-in .ch { opacity: 1; transform: none; }
.footer-word { transition: -webkit-text-stroke-color 0.5s; }
.footer-word:hover { -webkit-text-stroke-color: rgba(62, 224, 122, 0.5); }

/* --- Sliding nav highlight (desktop) --- */
.nav-pill { display: none; }
@media (min-width: 1024px) {
  .nav { position: relative; }
  .nav-pill {
    display: block; position: absolute; top: 50%; left: 0; height: 36px; margin-top: -18px; width: 0; z-index: -1;
    border-radius: 999px; background: rgba(245, 243, 238, 0.08); opacity: 0; pointer-events: none;
    transition: transform 0.45s var(--ease), width 0.45s var(--ease), opacity 0.25s;
  }
  .nav.has-pill a:hover { background: transparent; }
}

/* --- Buttons: light sweep --- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 50%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg) translateX(0); opacity: 0;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:hover::after { animation: sweep 0.9s var(--ease); }
}
@keyframes sweep { 0% { opacity: 1; transform: skewX(-20deg) translateX(0); } 100% { opacity: 1; transform: skewX(-20deg) translateX(400%); } }

/* --- Cursor spotlight on cards (class added by site.js) --- */
.spot { position: relative; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(360px circle at var(--x, 50%) var(--y, 50%), rgba(29, 185, 84, 0.09), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.spot:hover::before { opacity: 1; }
.section--ink .spot::before, .section--ink-2 .spot::before { background: radial-gradient(360px circle at var(--x, 50%) var(--y, 50%), rgba(62, 224, 122, 0.14), transparent 45%); }
.spot > * { position: relative; z-index: 1; }

/* --- 3D tilt cards --- */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt .venture-logo, .tilt .course-icon { transform: translateZ(24px); }

/* --- Featured plan: rotating glow border --- */
.plan--featured { background: transparent; border-color: transparent; isolation: isolate; }
.plan--featured::before {
  content: ""; position: absolute; inset: -2px; z-index: -2; border-radius: calc(var(--radius) + 2px);
  background: conic-gradient(from var(--angle), rgba(245, 243, 238, 0.14) 0deg, rgba(245, 243, 238, 0.14) 200deg, var(--green) 290deg, var(--green-bright) 330deg, rgba(245, 243, 238, 0.14) 360deg);
  box-shadow: 0 30px 80px -40px rgba(29, 185, 84, 0.55);
}
.plan--featured::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: calc(var(--radius) - 1px); background: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .plan--featured::before { animation: angle 5s linear infinite; }
}
@keyframes angle { to { --angle: 360deg; } }

/* --- Quote marks pop in --- */
.js .quote[data-reveal] .quote-mark { opacity: 0; transform: scale(0.3) translateY(14px); transform-origin: left bottom;
  transition: opacity 0.6s var(--ease) 0.35s, transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s; }
.js .quote[data-reveal].is-in .quote-mark { opacity: 1; transform: none; }

/* --- Contact rows --- */
.contact-row .ci { transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.5s var(--ease); }
.contact-row:hover .ci { background: var(--green); color: var(--ink); border-color: var(--green); transform: rotate(-10deg) scale(1.06); }

/* --- Course cards: icon lifts and spins slightly --- */
.course-card .course-icon { transition: transform 0.5s var(--ease), background-color 0.3s, color 0.3s; }
.course-card:hover .course-icon { background: var(--green); color: var(--ink); }

/* --- Eyebrow decode: keep width steady while scrambling --- */
.eyebrow.is-scrambling { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .hero-copy, .orbit svg, .orbit .core-g { transform: none !important; opacity: 1 !important; }
  .spotlight, .orbit .packet { display: none; }
  .js .orbit .draw { stroke-dashoffset: 0; }
  .js .orbit .spokes, .js .orbit .node-g { opacity: 1; transform: none; }
  .js [data-split="chars"] .ch { opacity: 1; transform: none; }
  .js .hero .display .serif, .js .page-hero .display .serif { background-size: 100% 2px; }
  .js .quote[data-reveal] .quote-mark { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ==========================================================================
   How it works — animated explainer
   ========================================================================== */
.explainer { display: grid; gap: 20px; }
@media (min-width: 1000px) { .explainer { grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: stretch; } }
.x-stage {
  position: relative; isolation: isolate; overflow: hidden; border-radius: calc(var(--radius) + 4px);
  background: var(--ink-2); border: 1px solid var(--line-ink); padding: clamp(10px, 2vw, 24px);
  display: grid; place-items: center;
}
.x-stage .bg-grid { opacity: 0.35; background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.x-svg { width: 100%; height: auto; max-height: 520px; overflow: visible; }

/* svg parts */
.x-label { fill: var(--on-ink-muted); font: 500 14px var(--font-sans); letter-spacing: -0.005em; }
.x-strong { fill: var(--on-ink); font-weight: 600; font-size: 15px; }
.x-caption { fill: var(--green-bright); font: 500 12px var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; }
.x-person { fill: var(--ink-3); stroke: rgba(245, 243, 238, 0.5); stroke-width: 1.5; }
.x-track { stroke: rgba(245, 243, 238, 0.22); stroke-width: 1.2; }
.x-idea { fill: #ffd84d; filter: drop-shadow(0 0 6px rgba(255, 216, 77, 0.9)); }
.x-scan { fill: none; stroke: var(--green-bright); stroke-width: 1.5; stroke-dasharray: 6 10; transform-origin: 300px 215px; transform-box: view-box; }
.x-cap { fill: var(--ink-3); stroke: rgba(62, 224, 122, 0.55); stroke-width: 1.2; }
.x-cap-text { fill: var(--on-ink); font: 600 14px var(--font-sans); letter-spacing: -0.01em; }
.x-coin circle { fill: var(--green); }
.x-coin text, .x-equity text { fill: var(--ink); font: 700 11px var(--font-sans); }
.x-equity rect { fill: #f5f3ee; }
.x-line { fill: none; stroke: rgba(62, 224, 122, 0.45); stroke-width: 1.4; }
.x-node { fill: var(--ink-3); stroke: rgba(245, 243, 238, 0.35); stroke-width: 1.2; }
.x-dot { fill: var(--green); }
.x-packet { fill: var(--green-bright); filter: drop-shadow(0 0 5px rgba(62, 224, 122, 0.9)); }
.x-axis { stroke: rgba(245, 243, 238, 0.3); stroke-width: 1; }
.x-bar { fill: rgba(62, 224, 122, 0.35); }
.x-bar:nth-of-type(5) { fill: var(--green); }
.x-trend { fill: none; stroke: var(--green-bright); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.x-halo { fill: rgba(29, 185, 84, 0.12); stroke: rgba(62, 224, 122, 0.35); stroke-width: 1; }
.x-core { fill: var(--green); }
.x-spark { fill: var(--ink); }
.x-badge { fill: rgba(29, 185, 84, 0.16); stroke: var(--green-bright); stroke-width: 1; }
.x-badge-text { fill: var(--green-bright); font: 600 13px var(--font-sans); }
@media (max-width: 640px) {
  .x-label { font-size: 19px; } .x-strong { font-size: 20px; } .x-caption { font-size: 15px; }
  .x-cap-text { font-size: 17px; } .x-badge-text { font-size: 15px; }
}

/* step states (data-step on .explainer) */
.x-svg g, .x-svg text { transition: opacity 0.6s var(--ease); }
.x-step1-only, .x-step2-only, .x-step3-only, .x-step4-only, .x-from2, .x-from4, .x-experts { opacity: 0; }
[data-step="1"] .x-step1-only, [data-step="2"] .x-step2-only, [data-step="3"] .x-step3-only, [data-step="4"] .x-step4-only { opacity: 1; }
[data-step="2"] .x-from2, [data-step="3"] .x-from2, [data-step="4"] .x-from2 { opacity: 1; }
[data-step="4"] .x-from4 { opacity: 1; }
[data-step="3"] .x-experts { opacity: 1; }
[data-step="4"] .x-experts { opacity: 0.55; }
[data-step="2"] .x-from2 .x-cap { stroke: var(--green-bright); }
.x-founder { opacity: 0.45; }
[data-step="1"] .x-founder { opacity: 1; }

.x-draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease); }
[data-step="3"] .x-links .x-draw, [data-step="4"] .x-links .x-draw { stroke-dashoffset: 0; }
[data-step="4"] .x-from4 .x-draw { stroke-dashoffset: 0; transition-delay: 0.6s; transition-duration: 1.4s; }
.x-links .x-line:nth-child(2) { transition-delay: 0.1s; } .x-links .x-line:nth-child(3) { transition-delay: 0.2s; } .x-links .x-line:nth-child(4) { transition-delay: 0.3s; }

.x-expert { transform-box: fill-box; transform-origin: center; }
.x-expert .x-node, .x-expert .x-dot { transform-box: fill-box; transform-origin: center; transform: scale(0.3); transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); transition-delay: calc(var(--i) * 0.12s); }
[data-step="3"] .x-expert .x-node, [data-step="3"] .x-expert .x-dot, [data-step="4"] .x-expert .x-node, [data-step="4"] .x-expert .x-dot { transform: none; }

.x-bar { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 0.8s var(--ease); transition-delay: calc(0.2s + var(--i) * 0.12s); }
[data-step="4"] .x-bar { transform: none; }

.x-startup { transform-box: fill-box; transform-origin: center; transform: scale(0.75); transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1); }
[data-step="2"] .x-startup { transform: scale(0.95); }
[data-step="3"] .x-startup { transform: scale(1.12); }
[data-step="4"] .x-startup { transform: scale(1.32); }
@media (prefers-reduced-motion: no-preference) {
  .x-scan { animation: spin 7s linear infinite; }
  .x-halo { animation: halo 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes halo { 50% { transform: scale(1.12); opacity: 0.6; } }

/* side panel */
.x-side { display: flex; flex-direction: column; gap: 22px; }
.x-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 1000px) { .x-tabs { grid-template-columns: 1fr; } }
.x-tab {
  position: relative; display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line-ink); background: transparent; color: var(--on-ink-muted);
  font-size: 16px; font-weight: 500; overflow: hidden; transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.x-tab:hover { color: var(--on-ink); border-color: var(--on-ink-faint); }
.x-tab[aria-selected="true"] { background: var(--ink-3); color: var(--on-ink); border-color: rgba(62, 224, 122, 0.4); }
.x-tab-num { font-size: 12px; letter-spacing: 0.1em; color: var(--on-ink-faint); font-variant-numeric: tabular-nums; }
.x-tab[aria-selected="true"] .x-tab-num { color: var(--green-bright); }
.x-tab-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.x-tab-bar span { display: block; height: 100%; background: var(--green-bright); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.x-panel { display: grid; gap: 10px; padding: 4px 2px; }
.x-panel h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); letter-spacing: -0.025em; font-weight: 500; line-height: 1.1; }
.x-panel p { color: var(--on-ink-muted); max-width: 46ch; }
.js .x-panel[hidden] { display: none; }
.js .x-panel:not([hidden]) { animation: panel-in 0.6s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
.x-play {
  align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-ink); color: var(--on-ink-muted); border-radius: 999px; padding: 8px 16px; font-size: 14px;
}
.x-play:hover { color: var(--on-ink); border-color: var(--on-ink-faint); }
.x-play::before { content: ""; width: 8px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.x-play[aria-pressed="true"]::before { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent currentColor; }
.x-play-play, .x-play[aria-pressed="true"] .x-play-pause { display: none; }
.x-play[aria-pressed="true"] .x-play-play { display: inline; }
html:not(.js) .x-tabs, html:not(.js) .x-play { display: none; }

/* --- Scroll-driven explainer: the stage pins while scrolling walks the steps --- */
.js .x-scrolly { position: relative; height: calc(100vh - var(--header-h) + 4 * 60vh); height: calc(100svh - var(--header-h) + 4 * 60svh); }
.js .x-pin {
  position: sticky; top: var(--header-h); display: flex; align-items: center;
  height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); padding-block: 16px;
}
.js .x-pin .explainer { width: 100%; }
.js .x-pin .x-svg { max-height: calc(100svh - var(--header-h) - 120px); }
.x-hint { display: none; }
.js .x-hint { display: flex; align-items: center; gap: 10px; margin-top: auto; font-size: 13px; color: var(--on-ink-faint); }
.x-hint-mouse { width: 16px; height: 24px; border: 1.5px solid currentColor; border-radius: 9px; position: relative; flex: none; }
.x-hint-mouse::after { content: ""; position: absolute; left: 50%; top: 5px; width: 2px; height: 5px; margin-left: -1px; border-radius: 2px; background: var(--green-bright); }
@media (prefers-reduced-motion: no-preference) { .x-hint-mouse::after { animation: wheel 1.6s ease-in-out infinite; } }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(7px); } }
.x-tab-bar span { transition: transform 0.12s linear; }
@media (max-width: 999px) {
  .js .x-pin .explainer { gap: 12px; }
  .js .x-pin .x-stage { padding: 6px; }
  .js .x-pin .x-svg { max-height: calc(100svh - var(--header-h) - 290px); }
  .js .x-pin .x-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .js .x-pin .x-tab { justify-content: center; padding: 10px 6px; }
  .js .x-pin .x-tab-title { display: none; }
  .js .x-pin .x-tab-num { font-size: 13px; }
  .js .x-pin .x-side { gap: 10px; }
  .js .x-pin .x-panel h3 { font-size: 1.4rem; }
  .js .x-pin .x-panel p { font-size: 15.5px; }
  .js .x-hint { display: none; }
}

/* ==========================================================================
   Consulting
   ========================================================================== */
.features--icons .feature .benefit-icon { background: rgba(29, 185, 84, 0.1); color: var(--green-deep); }
.features--icons .feature:hover .benefit-icon { transform: translateY(-3px); background: var(--green); color: var(--ink); }
.consult-sub { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-paper-muted); }
.consult-how { margin-top: clamp(56px, 7vw, 88px); display: grid; gap: 28px; }
.process { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; position: relative; }
@media (min-width: 860px) { .process { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.process-step { position: relative; display: grid; gap: 10px; align-content: start; }
.process-dot {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--paper); border: 1px solid var(--line-paper); font-weight: 600; font-size: 15px; color: var(--on-paper);
  transition: background-color 0.5s, color 0.5s, border-color 0.5s; transition-delay: calc(0.3s + var(--i) * 0.25s);
}
.process-step h3 { font-size: 1.25rem; letter-spacing: -0.015em; font-weight: 500; margin-top: 6px; }
.process-step p { color: var(--on-paper-muted); font-size: 15.5px; }
@media (min-width: 860px) {
  .process::before, .process::after { content: ""; position: absolute; left: 20px; right: 20px; top: 20px; height: 1px; background: var(--line-paper); }
  .process::after { background: var(--green); height: 2px; top: 19px; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s var(--ease) 0.3s; }
  .process.is-in::after { transform: none; }
}
.js .process[data-reveal] { opacity: 1; transform: none; }
.process.is-in .process-dot, html:not(.js) .process-dot { background: var(--ink); color: var(--green-bright); border-color: var(--ink); }
.consult-foot {
  margin-top: clamp(56px, 7vw, 88px); padding-top: 32px; border-top: 1px solid var(--line-paper);
  display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; justify-content: space-between;
}
.chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-paper); background: var(--white); font-size: 15px; transition: border-color 0.3s, transform 0.3s var(--ease); }
.chip:hover { border-color: var(--green-deep); transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  .x-coin, .x-equity, .x-idea, .x-packet { display: none; }
  .process::after { transform: none; }
}

/* ==========================================================================
   Booking
   ========================================================================== */
.booking {
  display: grid; border-radius: calc(var(--radius) + 6px); overflow: hidden;
  background: var(--white); border: 1px solid var(--line-paper);
  box-shadow: 0 50px 120px -70px rgba(10, 15, 13, 0.55);
}
@media (min-width: 960px) { .booking { grid-template-columns: 300px 1fr; min-height: 560px; } }
.bk-info {
  padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px;
  background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; isolation: isolate;
}
.bk-info::after {
  content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; right: -200px; bottom: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 185, 84, 0.35), transparent 65%);
}
.bk-mark { width: 44px; height: auto; }
.bk-org { color: var(--on-ink-muted); font-size: 14px; margin-top: 6px; }
.bk-title { font-size: 1.7rem; letter-spacing: -0.025em; font-weight: 500; line-height: 1.1; }
.bk-facts { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.bk-facts li { display: flex; align-items: center; gap: 10px; color: var(--on-ink-muted); font-size: 15px; }
.bk-facts svg { width: 18px; height: 18px; color: var(--green-bright); flex: none; }
.bk-note { color: var(--on-ink-faint); font-size: 14px; margin-top: auto; }
.bk-chosen { display: none; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 12px; background: rgba(29, 185, 84, 0.14); color: var(--on-ink); font-size: 14.5px; font-weight: 500; }
.bk-chosen svg { width: 18px; height: 18px; color: var(--green-bright); flex: none; margin-top: 1px; }
.booking[data-stage="details"] .bk-chosen, .booking[data-stage="done"] .bk-chosen { display: flex; animation: panel-in 0.5s var(--ease); }

/* Author display rules would otherwise override the hidden attribute. */
[hidden] { display: none !important; }
.bk-main { padding: clamp(20px, 3vw, 36px); min-width: 0; }
.bk-step.is-active { animation: bk-in 0.55s var(--ease); }
@keyframes bk-in { from { opacity: 0; transform: translateX(14px); } }
.bk-pick { display: grid; gap: clamp(24px, 3vw, 36px); }
@media (min-width: 760px) { .bk-pick { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.bk-h { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }

.bk-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.bk-nav { display: flex; gap: 6px; }
.bk-arrow {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-paper); background: var(--white);
  display: grid; place-items: center; cursor: pointer; color: var(--on-paper); transition: background-color 0.2s, border-color 0.2s, opacity 0.2s;
}
.bk-arrow svg { width: 16px; height: 16px; }
.bk-arrow:hover:not(:disabled) { background: var(--paper); border-color: var(--on-paper-muted); }
.bk-arrow:disabled { opacity: 0.35; cursor: not-allowed; }
.bk-weekdays, .bk-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.bk-weekdays span { text-align: center; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-paper-muted); padding-bottom: 8px; }
.bk-day {
  aspect-ratio: 1; min-height: 38px; border-radius: 50%; border: 0; background: transparent; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--on-paper); position: relative; font-variant-numeric: tabular-nums;
  transition: background-color 0.2s, color 0.2s, transform 0.3s var(--ease);
}
.bk-day:not(:disabled):not(.bk-day--blank) { background: rgba(29, 185, 84, 0.1); color: var(--green-deep); }
.bk-day:not(:disabled):hover { background: rgba(29, 185, 84, 0.22); transform: scale(1.06); }
.bk-day:disabled { color: rgba(10, 15, 13, 0.28); font-weight: 400; cursor: default; }
.bk-day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.bk-day.is-selected, .bk-day.is-selected:hover { background: var(--ink) !important; color: var(--green-bright) !important; animation: pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes pop { 0% { transform: scale(0.8); } 100% { transform: scale(1); } }
.bk-day--blank { cursor: default; }

.bk-times { display: flex; flex-direction: column; min-width: 0; }
.bk-tz { font-size: 13.5px; color: var(--on-paper-muted); margin: 4px 0 16px; }

.bk-slot {
  width: 100%; min-height: 46px; border-radius: 12px; border: 1px solid rgba(11, 122, 54, 0.4); background: var(--white);
  color: var(--green-deep); font-weight: 600; font-size: 15px; cursor: pointer; font-variant-numeric: tabular-nums;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.25s var(--ease);
  animation: slot-in 0.5s var(--ease) both; animation-delay: calc(var(--i, 0) * 0.025s);
}

@keyframes slot-in { from { opacity: 0; transform: translateY(6px); } }

.bk-details { display: grid; gap: 18px; max-width: 680px; }
.bk-back {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; cursor: pointer;
  color: var(--on-paper-muted); font-size: 14.5px; font-weight: 500;
}
.bk-back svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.bk-back:hover { color: var(--on-paper); }
.bk-back:hover svg { transform: translateX(-3px); }
.bk-summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--paper); font-weight: 600; }
.bk-summary svg { width: 18px; height: 18px; color: var(--green-deep); flex: none; }
@media (min-width: 960px) { .bk-summary { display: none; } }
.field select {
  width: 100%; min-height: 50px; padding: 12px 40px 12px 16px; border-radius: 12px; border: 1px solid var(--line-paper);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a524e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
  -webkit-appearance: none; appearance: none; font-size: 16px; cursor: pointer;
}
.field select:focus { outline: none; border-color: var(--green-deep); box-shadow: 0 0 0 4px rgba(29, 185, 84, 0.18); }
.bk-format { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bk-format legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 7px; width: 100%; }
.bk-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bk-radio span {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 12px; border: 1px solid var(--line-paper);
  cursor: pointer; font-weight: 500; transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.bk-radio svg { width: 18px; height: 18px; }
.bk-radio:hover span { border-color: var(--on-paper-muted); }
.bk-radio input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--green-bright); }
.bk-radio input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 3px; }

.bk-done { display: grid; gap: 16px; justify-items: start; max-width: 620px; padding-block: clamp(8px, 3vw, 32px); }
.bk-check { width: 64px; height: 64px; }
.bk-check circle { fill: rgba(29, 185, 84, 0.12); stroke: var(--green); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.8s var(--ease) 0.1s forwards; }
.bk-check path { fill: none; stroke: var(--green-deep); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.5s var(--ease) 0.7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.bk-done-title { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.03em; font-weight: 500; outline: none; }
.bk-done-text { color: var(--on-paper-muted); max-width: 52ch; }
.bk-done-text strong { color: var(--on-paper); }
.bk-again { margin-top: 4px; }
.bk-empty { color: var(--on-paper-muted); padding: 24px 0; }
.bk-empty a { color: var(--on-paper); border-bottom: 1px solid currentColor; font-weight: 600; }

/* ---------- Booking: creative layer ---------- */
/* Clocks */
.bk-clocks { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 10px; }
@media (min-width: 560px) and (max-width: 959px) { .bk-clocks { grid-template-columns: 1fr 1fr; } }
.bk-clocks.is-single { grid-template-columns: 1fr; }
.bk-clock { margin: 0; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: rgba(245, 243, 238, 0.05); border: 1px solid var(--line-ink); }
.bk-clock svg { width: 44px; height: 44px; flex: none; }
.bk-clock figcaption { display: flex; flex: 1; align-items: baseline; justify-content: space-between; gap: 8px; line-height: 1.25; min-width: 0; }
.ck-label { font-size: 12px; color: var(--on-ink-faint); letter-spacing: 0.04em; }
.bk-clock strong { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ck-face { fill: var(--ink-2); stroke: rgba(245, 243, 238, 0.22); stroke-width: 1.2; }
.ck-tick { stroke: rgba(245, 243, 238, 0.3); stroke-width: 1.2; stroke-linecap: round; }
.ck-tick--major { stroke: rgba(245, 243, 238, 0.7); stroke-width: 1.8; }
.ck-h, .ck-m { stroke: var(--on-ink); stroke-linecap: round; }
.ck-h { stroke-width: 3; } .ck-m { stroke-width: 2; }
.ck-s { stroke: var(--green-bright); stroke-width: 1; stroke-linecap: round; }
.ck-c { fill: var(--green-bright); }

/* Progress */
.bk-progress { list-style: none; padding: 0; margin: 0 0 22px; display: flex; align-items: center; gap: 0; font-size: 13px; font-weight: 600; color: var(--on-paper-muted); }
.bk-progress li { display: flex; align-items: center; gap: 8px; }
.bk-progress li + li::before { content: ""; width: clamp(18px, 5vw, 56px); height: 2px; margin: 0 10px; border-radius: 2px; background: var(--line-paper);
  background-image: linear-gradient(var(--green), var(--green)); background-repeat: no-repeat; background-size: 0% 100%; transition: background-size 0.6s var(--ease); }
.bk-progress span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; border: 1px solid var(--line-paper); transition: background-color 0.4s, color 0.4s, border-color 0.4s; }
[data-stage="pick"] .bk-progress [data-p="pick"],
[data-stage="details"] .bk-progress [data-p="pick"], [data-stage="details"] .bk-progress [data-p="details"],
[data-stage="done"] .bk-progress li { color: var(--on-paper); }
[data-stage="pick"] .bk-progress [data-p="pick"] span,
[data-stage="details"] .bk-progress [data-p="pick"] span, [data-stage="details"] .bk-progress [data-p="details"] span,
[data-stage="done"] .bk-progress li span { background: var(--ink); color: var(--green-bright); border-color: var(--ink); }
[data-stage="details"] .bk-progress [data-p="details"]::before, [data-stage="done"] .bk-progress li::before { background-size: 100% 100%; }

/* Month heading + slide */
.bk-month { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.bk-month .serif { color: var(--green-deep); font-size: 1.15em; }
.bk-year { font-size: 0.7em; color: var(--on-paper-muted); font-weight: 500; }
.bk-grid-wrap { overflow: hidden; margin: -4px; padding: 4px; }
.bk-grid.slide-next { animation: slide-next 0.45s var(--ease); }
.bk-grid.slide-prev { animation: slide-prev 0.45s var(--ease); }
@keyframes slide-next { from { opacity: 0; transform: translateX(28px); } }
@keyframes slide-prev { from { opacity: 0; transform: translateX(-28px); } }

/* Day cells: entrance, meter, selection glow */
.bk-day { display: grid; place-items: center; animation: day-in 0.5s var(--ease) both; animation-delay: calc(var(--i, 0) * 0.012s); }
@keyframes day-in { from { opacity: 0; transform: scale(0.7); } }
.bk-num { position: relative; z-index: 1; }
.bk-meter {
  position: absolute; left: 50%; bottom: 6px; width: 16px; height: 3px; margin-left: -8px; border-radius: 3px;
  background: rgba(11, 122, 54, 0.18); overflow: hidden;
}
.bk-meter::after { content: ""; position: absolute; inset: 0; width: calc(var(--fill, 0.5) * 100%); background: var(--green-deep); border-radius: inherit; }
.bk-day.is-selected .bk-meter { background: rgba(62, 224, 122, 0.25); }
.bk-day.is-selected .bk-meter::after { background: var(--green-bright); }
.bk-day.is-today::after { bottom: auto; top: 4px; }
.bk-day.is-selected { box-shadow: 0 0 0 4px rgba(29, 185, 84, 0.18), 0 10px 24px -10px rgba(10, 15, 13, 0.6); }
.bk-legend { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--on-paper-muted); }
.bk-legend-day { position: relative; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: rgba(29, 185, 84, 0.1); color: var(--green-deep); flex: none; }
.bk-legend-day i { position: absolute; left: 50%; bottom: 4px; width: 12px; height: 2.5px; margin-left: -6px; border-radius: 2px; background: linear-gradient(90deg, var(--green-deep) 65%, rgba(11, 122, 54, 0.2) 65%); }

/* Sky */
.bk-sky {
  --sun: #ffd666; --sky-top: #fff3d6;
  position: relative; border-radius: 16px; overflow: hidden; margin-bottom: 18px;
  background: linear-gradient(180deg, var(--sky-top), var(--paper) 92%);
  border: 1px solid var(--line-paper); transition: background 0.8s;
}
.bk-sky svg { display: block; width: 100%; height: 104px; }
.bk-arc { fill: none; stroke: rgba(10, 15, 13, 0.18); stroke-width: 1.2; stroke-dasharray: 3 5; }
.bk-horizon { stroke: rgba(10, 15, 13, 0.22); stroke-width: 1; }
.bk-sun { transition: transform 0.7s cubic-bezier(0.34, 1.4, 0.64, 1); }
.bk-sun-glow { fill: var(--sun); opacity: 0.28; transition: fill 0.8s; }
.bk-sun-core { fill: var(--sun); transition: fill 0.8s, opacity 0.5s; }
.bk-rays line { stroke: var(--sun); stroke-width: 2; stroke-linecap: round; transition: stroke 0.8s; }
.bk-moon { fill: #e8ecf5; opacity: 0; transition: opacity 0.5s; }
.bk-stars circle { fill: #fff; }
.bk-stars { opacity: 0; transition: opacity 0.8s; }
.bk-sky.is-night { background: linear-gradient(180deg, #0b1424, #1b2a3d 95%); border-color: transparent; }
.bk-sky.is-night .bk-stars { opacity: 0.85; }
.bk-sky.is-night .bk-moon { opacity: 1; }
.bk-sky.is-night .bk-sun-core, .bk-sky.is-night .bk-rays { opacity: 0; }
.bk-sky.is-night .bk-arc { stroke: rgba(255, 255, 255, 0.2); }
.bk-sky.is-night .bk-horizon { stroke: rgba(255, 255, 255, 0.2); }
.bk-preview { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 6px 16px 12px; line-height: 1.1; }
.bk-preview-time { font-family: var(--font-serif); font-style: italic; font-size: 1.9rem; color: var(--on-paper); }
.bk-preview-sub { font-size: 12.5px; color: var(--on-paper-muted); }
.bk-sky.is-night .bk-preview-time { color: #fff; }
.bk-sky.is-night .bk-preview-sub { color: rgba(255, 255, 255, 0.7); }
@media (prefers-reduced-motion: no-preference) {
  .bk-rays { animation: spin 24s linear infinite; transform-box: fill-box; transform-origin: center; }
}

/* Slot groups */
.bk-slot-groups { max-height: 340px; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; }
@media (max-width: 759px) { .bk-slot-groups { max-height: none; } }
.bk-group { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-paper-muted); margin: 14px 0 8px; }
.bk-group:first-child { margin-top: 0; }
.bk-group::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ffd666; }
.bk-group--afternoon::before { background: #ffa25c; }
.bk-group--evening::before { background: #6b7cff; }
.bk-group::after { content: ""; flex: 1; height: 1px; background: var(--line-paper); }
.bk-slots { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bk-slot-item { display: flex; gap: 6px; animation: slot-in 0.45s var(--ease) both; animation-delay: calc(var(--i, 0) * 0.03s); }
.bk-slot-item .bk-slot { flex: 1 1 auto; min-width: 0; animation: none; }
.bk-slot-item.is-selected { grid-column: 1 / -1; }
.bk-slot-item.is-selected .bk-slot { flex-basis: 50%; background: var(--ink); color: var(--green-bright); border-color: var(--ink); }
.bk-slot:hover { border-color: var(--green-deep); background: rgba(29, 185, 84, 0.06); }
.bk-continue {
  flex: 0 0 0; width: 0; padding: 0; overflow: hidden; opacity: 0; border: 0; border-radius: 12px; cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 15px;
  background: var(--green); color: var(--ink); transition: flex-basis 0.4s var(--ease), opacity 0.3s;
}
.bk-continue svg { width: 16px; height: 16px; }
.bk-slot-item.is-selected .bk-continue { flex: 1 1 50%; width: auto; padding: 0 14px; opacity: 1; }
.bk-continue:hover { background: var(--green-bright); }

/* Confetti */
.bk-done { position: relative; }
.bk-confetti { position: absolute; left: 32px; top: 32px; width: 0; height: 0; pointer-events: none; z-index: 2; }
.bk-confetti i {
  position: absolute; width: 8px; height: 12px; border-radius: 2px; opacity: 0;
  animation: confetti 1.6s cubic-bezier(0.15, 0.6, 0.35, 1) forwards; animation-delay: var(--d, 0s);
}
@keyframes confetti {
  0% { opacity: 1; transform: translate(0, 0) rotate(0); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 160px)) rotate(var(--r)); }
}

@media (prefers-reduced-motion: reduce) {
  .bk-check circle, .bk-check path { stroke-dashoffset: 0; animation: none; }
  .bk-slot, .bk-step.is-active, .bk-day.is-selected, .bk-day, .bk-slot-item, .bk-grid.slide-next, .bk-grid.slide-prev { animation: none; }
  .bk-confetti { display: none; }
}

/* ==========================================================================
   Signature layer — editorial, engineered details
   ========================================================================== */
.mono-label, .venture-index, .x-tab-num, .phase-when, .course-card .num, .feature .num, .footer-col h2, .consult-sub, .bk-group, .ft-meta, .stat-label {
  font-family: var(--font-mono); letter-spacing: 0.04em;
}
.mono-label { font-size: 12px; text-transform: uppercase; color: var(--on-paper-muted); }
.footer-col h2, .consult-sub, .bk-group { font-size: 11.5px; }

/* --- Intro curtain (first visit per session) --- */
.intro-curtain { display: none; }
html.intro .intro-curtain {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; pointer-events: none;
  background: var(--ink); color: var(--on-ink);
  animation: curtain-up 0.8s cubic-bezier(0.76, 0, 0.24, 1) 1.05s forwards;
}
.intro-inner { display: grid; justify-items: center; gap: 14px; }
.intro-inner img { width: 64px; height: auto; animation: intro-mark 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.intro-name { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--on-ink-muted); animation: intro-fade 0.6s ease 0.2s both; }
.intro-bar { width: 140px; height: 1px; background: var(--line-ink); overflow: hidden; }
.intro-bar span { display: block; height: 100%; background: var(--green-bright); transform-origin: 0 50%; animation: intro-bar 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.1s both; }
@keyframes curtain-up { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes intro-mark { from { opacity: 0; transform: scale(0.6) rotate(-12deg); } }
@keyframes intro-fade { from { opacity: 0; letter-spacing: 0.5em; } }
@keyframes intro-bar { from { transform: scaleX(0); } }
html.intro .hero, html.intro .page-hero { --intro-delay: 1.15s; }
.js .hero [data-reveal], .js .page-hero [data-reveal] { transition-delay: calc(var(--intro-delay, 0s) + var(--d, 0s)); }
.js .hero [data-split] .w, .js .page-hero [data-split] .w { transition-delay: calc(var(--intro-delay, 0s) + 0.08s + var(--i, 0) * 0.055s); }

/* --- Topographic field --- */
.topo {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 72% 40%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 85% 85% at 72% 40%, #000 20%, transparent 80%);
}
.page-hero .topo { -webkit-mask-image: radial-gradient(ellipse 80% 90% at 85% 30%, #000 15%, transparent 78%); mask-image: radial-gradient(ellipse 80% 90% at 85% 30%, #000 15%, transparent 78%); }

/* --- Manifesto --- */
.manifesto { padding-block: clamp(96px, 14vw, 200px) clamp(72px, 10vw, 140px); background: var(--paper); }
.manifesto .wrap { display: grid; gap: 34px; }
.manifesto-text {
  font-size: clamp(2rem, 4.6vw, 4.3rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 500; max-width: 22ch; text-wrap: balance;
}
.manifesto-text .serif { color: var(--green-deep); }
.js .manifesto-text .sw { opacity: var(--o, 0.14); transition: opacity 0.2s linear; }
.manifesto-sign { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--on-paper-muted); }

/* --- Portfolio index --- */
.vindex { list-style: none; padding: 0; margin: 0; border-bottom: 1px solid var(--line-paper); counter-reset: none; }
.vrow { border-top: 1px solid var(--line-paper); }
.vrow-link {
  position: relative; isolation: isolate; display: grid; align-items: center; column-gap: clamp(16px, 3vw, 40px);
  grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "num name go" ". cat cat" ". more more";
  padding: clamp(22px, 3vw, 34px) clamp(8px, 1.5vw, 20px); color: var(--on-paper); transition: color 0.45s var(--ease);
}
@media (min-width: 900px) {
  .vrow-link { grid-template-columns: 64px minmax(0, 1.3fr) minmax(0, 1fr) auto; grid-template-areas: "num name cat go" ". more more more"; }
}
.vrow-link::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}
.vrow-num { grid-area: num; font-family: var(--font-mono); font-size: 12px; color: var(--on-paper-muted); align-self: start; padding-top: 0.9em; transition: color 0.45s; }
.vrow-name {
  grid-area: name; font-size: clamp(2.1rem, 5.6vw, 5rem); line-height: 1; letter-spacing: -0.045em; font-weight: 500;
  transition: transform 0.6s var(--ease), letter-spacing 0.6s var(--ease);
}
.vrow-cat { grid-area: cat; font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--on-paper-muted); transition: color 0.45s; margin-top: 8px; }
@media (min-width: 900px) { .vrow-cat { margin-top: 0; } }
.vrow-go {
  grid-area: go; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-paper); white-space: nowrap;
  transition: background-color 0.45s, color 0.45s, border-color 0.45s, transform 0.45s var(--ease);
}
.vrow-go svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.vrow-more { grid-area: more; display: grid; grid-template-rows: 1fr; }
.vrow-more-inner { overflow: hidden; min-height: 0; display: flex; align-items: center; gap: 20px; padding-top: 16px; }
.vrow-desc { color: var(--on-paper-muted); max-width: 56ch; transition: color 0.45s; }
.vrow-logo { flex: none; width: 116px; height: 64px; border-radius: 12px; background: var(--white); border: 1px solid var(--line-paper); display: grid; place-items: center; padding: 10px; }
.vrow-logo img { max-height: 30px; max-width: 92px; width: auto; height: auto; }
.vrow-logo--tall img { max-height: 42px; }
@media (hover: hover) and (pointer: fine) {
  .vrow-more { grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
  .vrow-more-inner { padding-top: 0; opacity: 0; transition: padding-top 0.55s var(--ease), opacity 0.35s; }
  .vrow-link:hover .vrow-more-inner, .vrow-link:focus-visible .vrow-more-inner { padding-top: 16px; opacity: 1; transition-delay: 0s, 0.12s; }
  .vrow-logo { display: none; }
  .vrow-link:hover, .vrow-link:focus-visible { color: var(--on-ink); }
  .vrow-link:hover::before, .vrow-link:focus-visible::before { transform: scaleY(1); transform-origin: 50% 0; }
  .vrow-link:hover .vrow-name, .vrow-link:focus-visible .vrow-name { transform: translateX(14px); }
  .vrow-link:hover .vrow-num, .vrow-link:hover .vrow-cat, .vrow-link:hover .vrow-desc,
  .vrow-link:focus-visible .vrow-num, .vrow-link:focus-visible .vrow-cat, .vrow-link:focus-visible .vrow-desc { color: var(--on-ink-muted); }
  .vrow-link:hover .vrow-go, .vrow-link:focus-visible .vrow-go { background: var(--green); color: var(--ink); border-color: var(--green); }
  .vrow-link:hover .vrow-go svg { transform: translate(2px, -2px) rotate(45deg); }
  .vrow-link:hover .vrow-more, .vrow-link:focus-visible .vrow-more { grid-template-rows: 1fr; }
}
.vrow-link:focus-visible { outline-offset: -2px; }
/* the index is dimmed except the hovered row */
@media (hover: hover) and (pointer: fine) {
  .vindex:hover .vrow-link:not(:hover) .vrow-name { opacity: 0.35; }
  .vrow-name { transition: transform 0.6s var(--ease), opacity 0.45s; }
}
.vpreview {
  position: fixed; left: 0; top: 0; z-index: 90; width: 260px; height: 170px; pointer-events: none;
  border-radius: 18px; background: var(--white); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
  display: grid; place-items: center; padding: 30px; opacity: 0; transform: translate3d(-9999px, 0, 0);
  transition: opacity 0.3s; overflow: hidden;
}
.vpreview.is-on { opacity: 1; }
.vpreview img { max-width: 100%; max-height: 80px; width: auto; height: auto; transition: transform 0.4s var(--ease), opacity 0.25s; }
.vpreview.is-swap img { transform: translateY(14px) scale(0.92); opacity: 0; }
.vpreview::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid var(--line-paper); }

/* --- Sections that open from a card to full-bleed --- */
.expand { clip-path: inset(0 calc(var(--ex, 0) * clamp(12px, 4vw, 56px)) round calc(var(--ex, 0) * 44px)); }

/* --- Velocity marquee --- */
.js .marquee-track.is-js { animation: none; will-change: transform; }

/* --- Cursor --- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 250; width: 36px; height: 36px; margin: -18px 0 0 -18px; pointer-events: none;
  border-radius: 50%; border: 1px solid rgba(245, 243, 238, 0.9); mix-blend-mode: difference; opacity: 0;
  display: grid; place-items: center; transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background-color 0.35s, border-color 0.35s, opacity 0.3s;
}
.cursor.is-on { opacity: 1; }
.cursor.is-link { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(245, 243, 238, 0.9); }
.cursor.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--green); border-color: var(--green); mix-blend-mode: normal; }
.cursor.is-text { opacity: 0; }
.cursor-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); opacity: 0; transform: scale(0.6); transition: opacity 0.2s, transform 0.3s var(--ease); white-space: nowrap; }
.cursor.is-label .cursor-label { opacity: 1; transform: none; }
.cursor.is-down { transform: scale(0.85); }

/* --- Footer details --- */
.footer-word { font-weight: 500; }
.footer-word .ch { transition-property: opacity, transform, font-weight, color; }
.ft-meta { display: inline-flex; flex-wrap: wrap; gap: 6px 22px; font-size: 12px; }
.to-top {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; padding: 0;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--on-ink-faint); transition: color 0.2s;
}
.to-top:hover { color: var(--green-bright); }
.to-top span { display: inline-block; transition: transform 0.3s var(--ease); }
.to-top:hover span { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  .js .manifesto-text .sw { opacity: 1; }
  .expand { clip-path: none; }
  .cursor, .vpreview { display: none; }
}

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .bg-glow, .bg-grid, .grain, .footer-word { display: none !important; }
  .hero, .page-hero, .section--ink, .section--ink-2, .site-footer { background: #fff !important; color: #000 !important; }
}

/* Keep whole-card links clickable above spotlight/tilt layers */
.spot > .venture-foot { position: static; }
.venture a.stretched::after { z-index: 2; }
.venture .venture-logo { pointer-events: none; }

/* Phones: the in-form summary shows the chosen time; skip the duplicate in the info panel */
@media (max-width: 959px) {
  .booking[data-stage="details"] .bk-chosen, .booking[data-stage="done"] .bk-chosen { display: none; }
}

/* Phones: logo above the description in portfolio rows */
@media (max-width: 599px) {
  .vrow-more-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* --- News strip: background wire + latest bar --- */
.newswire {
  position: absolute; inset: -10% -20%; z-index: -1; pointer-events: none;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(8px, 2vw, 28px);
  transform: rotate(-6deg);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 80%);
  opacity: 0.9;
}
.nw-row { overflow: hidden; white-space: nowrap; }
.nw-track { display: flex; width: max-content; align-items: center; }
.nw-item {
  font-size: clamp(3rem, 9vw, 8.5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05;
  color: transparent; -webkit-text-stroke: 1px rgba(62, 224, 122, 0.24);
  padding-inline: 0.35em;
}
.nw-row--1 .nw-item { font-family: var(--font-serif); font-style: italic; font-weight: 400; -webkit-text-stroke: 0; color: rgba(245, 243, 238, 0.06); }
.nw-sep { color: rgba(62, 224, 122, 0.18); font-size: clamp(1rem, 2vw, 1.8rem); }
@media (prefers-reduced-motion: no-preference) {
  .nw-row--0 .nw-track { animation: marquee 90s linear infinite; }
  .nw-row--1 .nw-track { animation: marquee 120s linear infinite reverse; }
  .nw-row--2 .nw-track { animation: marquee 105s linear infinite; }
}

.newsbar {
  position: relative; margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line-ink);
  background: linear-gradient(90deg, rgba(29, 185, 84, 0.08), transparent 60%);
}
.hero { padding-bottom: 0; }
.newsbar-inner { display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); min-height: 56px; }
.newsbar-label {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-bright);
}
.newsbar-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 0 rgba(62, 224, 122, 0.6); }
@media (prefers-reduced-motion: no-preference) {
  .newsbar-dot { animation: nb-ping 2s ease-out infinite; }
}
@keyframes nb-ping { 70%, 100% { box-shadow: 0 0 0 8px rgba(62, 224, 122, 0); } }
.newsbar-view { position: relative; flex: 1; min-width: 0; height: 56px; overflow: hidden; }
.newsbar-list { list-style: none; margin: 0; padding: 0; }
.newsbar-item {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 12px; min-width: 0;
  opacity: 0; transform: translateY(100%); visibility: hidden;
  transition: opacity .5s var(--ease, ease), transform .6s var(--ease, ease), visibility 0s .6s;
}
.newsbar-item.is-on { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.newsbar-item.is-out { opacity: 0; transform: translateY(-100%); visibility: visible; }
.newsbar-tag {
  flex: none; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--on-ink-muted); border: 1px solid var(--line-ink); border-radius: 999px; padding: 3px 9px;
}
.newsbar-item a {
  color: var(--on-ink); text-decoration: none; font-size: 0.95rem; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s;
}
.newsbar-item a:hover, .newsbar-item a:focus-visible { background-size: 100% 1px; color: var(--green-bright); }
/* No JS: show headlines as a horizontally scrollable row */
html:not(.js) .newsbar-view { height: auto; overflow-x: auto; }
html:not(.js) .newsbar-list { display: flex; gap: 32px; padding-block: 16px; }
html:not(.js) .newsbar-item { position: static; opacity: 1; transform: none; visibility: visible; flex: none; }
@media (max-width: 599px) { .newsbar-tag { display: none; } }
@media print { .newswire, .newsbar { display: none; } }
