/* =========================================================
   Jeff Utecht — 2027 site design system
   Dark "stage" sections + warm ivory reading sections.
   Fonts: Plus Jakarta Sans (display), Inter (body), Instrument Serif (italic accents)
   ========================================================= */

:root {
  --ink: #0B1120;
  --navy: #0F172A;
  --slate: #1E293B;
  --slate-2: #334155;
  --amber: #D97706;
  --amber-hot: #F59E0B;
  --amber-soft: #FEF3C7;
  --ivory: #FAF7F2;
  --sand: #F1ECE3;
  --mist: #E2E8F0;
  --white: #FFFFFF;
  --text: #0F172A;
  --muted: #5B6578;
  --muted-light: #A8B3C4;
  --line: rgba(15, 23, 42, 0.10);
  --line-light: rgba(255, 255, 255, 0.12);

  --f-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;

  --radius: 18px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
:focus-visible { outline: 3px solid var(--amber-hot); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--amber-hot); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0 0 1em; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.hl { color: var(--amber); }
.on-dark .hl, .on-navy .hl { color: var(--amber-hot); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 900px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Section shells ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section.tight { padding: clamp(56px, 7vw, 88px) 0; }
.on-dark { background: var(--ink); color: #E5E9F0; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-navy { background: var(--navy); color: #E5E9F0; }
.on-navy h2, .on-navy h3 { color: var(--white); }
.on-sand { background: var(--sand); }
.on-white { background: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow, .on-navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--amber-hot); }

.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--muted); max-width: 640px; }
.on-dark .lead, .on-navy .lead { color: var(--muted-light); }

.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow::before { display: none; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }
.sec-head.split-head { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.sec-head.split-head > div { max-width: 680px; flex: 1 1 520px; }
.sec-head.split-head > .lead, .sec-head.split-head > p { flex: 0 1 440px; margin-bottom: 6px; }
.sec-head h2 { margin-bottom: 16px; }
.sec-head p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--amber); --fg: var(--white);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px;
  font-family: var(--f-display); font-weight: 700; font-size: 15.5px; letter-spacing: -.005em;
  color: var(--fg); background: var(--bg);
  border: 2px solid var(--bg); border-radius: 999px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), color .3s, border-color .3s;
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 14px 34px -12px rgba(217, 119, 6, .55); }
.btn .arr { transition: transform .35s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.on-dark .btn::before, .on-navy .btn::before, .hero .btn::before, .page-hero .btn::before, .site-header .btn::before { background: var(--white); }
.on-dark .btn:hover, .on-navy .btn:hover, .hero .btn:hover, .page-hero .btn:hover, .site-header .btn:hover { color: var(--ink); }
.header-light .site-header:not(.scrolled) .btn::before { background: var(--ink); }
.header-light .site-header:not(.scrolled) .btn:hover { color: var(--white); }

.btn-ghost { --bg: transparent; --fg: var(--text); border-color: rgba(15, 23, 42, .22); }
.btn-ghost::before { background: var(--text); }
.btn-ghost:hover { color: var(--white); border-color: var(--text); box-shadow: none; }
.on-dark .btn-ghost, .on-navy .btn-ghost, .hero .btn-ghost, .page-hero .btn-ghost { --fg: var(--white); border-color: rgba(255,255,255,.35); }
.on-dark .btn-ghost:hover, .on-navy .btn-ghost:hover, .hero .btn-ghost:hover, .page-hero .btn-ghost:hover { color: var(--ink); border-color: var(--white); }

.btn-sm { padding: 11px 20px; font-size: 14.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-weight: 700; font-size: 15px;
  color: var(--amber);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  padding-bottom: 3px;
  transition: background-size .4s var(--ease-out);
}
.text-link:hover { background-size: 100% 2px; }
.on-dark .text-link, .on-navy .text-link { color: var(--amber-hot); }

.play-btn {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: 15px;
  background: none; border: 0; padding: 0;
}
.play-btn .ring {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid rgba(255,255,255,.5);
  position: relative; transition: transform .4s var(--ease-out), background .3s, border-color .3s;
}
.play-btn .ring::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid var(--amber-hot); opacity: 0;
  animation: pulse 2.4s var(--ease) infinite;
}
.play-btn:hover .ring { transform: scale(1.08); background: var(--amber); border-color: var(--amber); }
.play-btn svg { margin-left: 3px; }
.play-btn small { display: block; font-family: var(--f-body); font-weight: 500; font-size: 13px; color: var(--muted-light); }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200; pointer-events: none;
  background: linear-gradient(90deg, var(--amber), var(--amber-hot)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .4s, box-shadow .4s, height .4s var(--ease-out), transform .45s var(--ease-out);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.scrolled {
  height: 66px;
  background: rgba(11, 17, 32, .84);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line-light);
}
.site-header.hide { transform: translateY(-100%); }
.header-light .site-header:not(.scrolled) .brand-text strong,
.header-light .site-header:not(.scrolled) .main-nav > a:not(.btn) { color: var(--text); }
.header-light .site-header:not(.scrolled) .brand-text span { color: var(--muted); }
.header-light .site-header:not(.scrolled) .nav-toggle span { background: var(--text); }

.brand { display: flex; align-items: center; gap: 12px; position: relative; z-index: 120; }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; transition: transform .5s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--f-display); font-weight: 800; font-size: 17px; letter-spacing: .06em; color: var(--white); }
.brand-text span { font-size: 11.5px; letter-spacing: .06em; color: var(--muted-light); margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a:not(.btn) {
  position: relative; padding: 8px 13px;
  font-family: var(--f-display); font-weight: 600; font-size: 15px;
  color: rgba(255,255,255,.86); transition: color .25s;
}
.main-nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px;
  background: var(--amber-hot); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.main-nav > a:not(.btn):hover { color: var(--white); }
.main-nav > a:not(.btn):hover::after, .main-nav > a.active::after { transform: scaleX(1); transform-origin: left; }
.main-nav .btn { margin-left: 12px; }

.nav-toggle { display: none; width: 46px; height: 46px; background: none; border: 0; position: relative; z-index: 120; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .4s var(--ease-out), opacity .3s, top .4s var(--ease-out); }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white); background: var(--ink);
  overflow: hidden; isolation: isolate;
  padding-top: calc(var(--header-h) + 60px);
}
.hero-media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  animation: kenburns 24s var(--ease) forwards;
}
@keyframes kenburns { from { transform: scale(1.16) translate3d(0, 2%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(11,17,32,.78) 0%, rgba(11,17,32,.35) 30%, rgba(11,17,32,.5) 60%, rgba(11,17,32,.97) 100%),
    linear-gradient(90deg, rgba(11,17,32,.95) 0%, rgba(11,17,32,.78) 42%, rgba(11,17,32,.25) 75%, rgba(11,17,32,.1) 100%);
}
.spotlight {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(560px circle at var(--mx, 72%) var(--my, 35%), rgba(245, 158, 11, .22), transparent 62%);
  mix-blend-mode: screen;
}
.hero-inner { width: 100%; padding-bottom: clamp(36px, 5vw, 64px); }
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 5rem); max-width: 16ch; margin-bottom: 26px; }
.hero h1 .serif { color: var(--amber-hot); }
.hero .lead { color: #D3DAE5; max-width: 590px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 34px; }

/* Split-line reveal for headlines */
.split .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.15s var(--ease-out); }
.split.in .line > span { transform: none; }
.split .line:nth-child(2) > span { transition-delay: .09s; }
.split .line:nth-child(3) > span { transition-delay: .18s; }
.split .line:nth-child(4) > span { transition-delay: .27s; }
.fade-late { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease-out) .45s, transform 1s var(--ease-out) .45s; }
.in .fade-late, .fade-late.in { opacity: 1; transform: none; }

/* Rotating word */
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(40%); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); white-space: nowrap; }
.rotator > span.on { opacity: 1; transform: none; }
.rotator > span.out { opacity: 0; transform: translateY(-40%); }

/* ---------- Marquee ---------- */
.marquee {
  --gap: 52px;
  position: relative; display: flex; overflow: hidden; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { flex-shrink: 0; display: flex; align-items: center; gap: var(--gap); padding-right: var(--gap); min-width: 100%; animation: marquee var(--dur, 60s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee-item { display: inline-flex; align-items: center; gap: var(--gap); white-space: nowrap; font-family: var(--f-display); font-weight: 700; font-size: clamp(15px, 1.4vw, 17px); color: rgba(255,255,255,.72); }
.marquee-item::after { content: "✦"; color: var(--amber-hot); font-size: 11px; }
.hero-marquee { position: relative; border-top: 1px solid var(--line-light); padding: 22px 0; background: rgba(11,17,32,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-marquee .marquee { margin-left: 170px; }
.hero-marquee .label { position: absolute; left: 28px; top: 50%; transform: translateY(-50%); z-index: 2; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-hot); background: var(--ink); padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(245,158,11,.35); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.94); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal-scale.in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .reveal-scale, .no-js .fade-late { opacity: 1; transform: none; }
.no-js .split .line > span { transform: none; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 40px 28px 8px 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.8rem, 5.4vw, 4.6rem); line-height: 1; letter-spacing: -.045em; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-num .suf { color: var(--amber); }
.stat-label { margin-top: 16px; font-family: var(--f-display); font-weight: 700; font-size: 15.5px; }
.stat-desc { margin-top: 6px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Double Transition diagram ---------- */
.dt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.dt-visual { position: relative; width: 100%; max-width: 580px; justify-self: center; }
.dt-visual svg { width: 100%; height: auto; overflow: visible; }
.dt-path { fill: none; stroke-width: 3; stroke-linecap: round; }
.dt-path.ai { stroke: var(--amber-hot); }
.dt-path.gen { stroke: #7DD3FC; }
.dt-path.lead { stroke: var(--white); stroke-width: 4.5; }
.dt-gridlines line { stroke: rgba(255,255,255,.06); }
.dt-label { font-family: var(--f-display); font-weight: 700; font-size: 17px; fill: var(--white); }
.dt-label.small { font-size: 11.5px; fill: var(--muted-light); letter-spacing: .16em; font-weight: 700; }
.dt-label.ai { fill: var(--amber-hot); }
.dt-label.gen { fill: #7DD3FC; }
.dt-node { fill: var(--ink); stroke: var(--white); stroke-width: 3; }
.dt-node-glow { fill: var(--amber-hot); transform-box: fill-box; transform-origin: center; animation: glow 2.6s var(--ease) infinite; }
@keyframes glow { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(2.6); opacity: 0; } }
.dt-fade { opacity: 0; transition: opacity .8s var(--ease-out); }
.dt-visual.done .dt-fade { opacity: 1; }
.dt-points { margin-top: 32px; }
.dt-point { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 22px 0; border-top: 1px solid var(--line-light); }
.dt-point:last-child { border-bottom: 1px solid var(--line-light); }
.dt-point .dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 6px; }
.dt-point h3 { font-size: 19px; margin-bottom: 4px; }
.dt-point p { margin: 0; font-size: 15.5px; color: var(--muted-light); }

/* ---------- Keynote rows ---------- */
.talks { border-top: 1px solid var(--line); }
.talk {
  position: relative; display: grid; grid-template-columns: 90px 1.1fr 1.3fr 60px; gap: 28px; align-items: center;
  padding: 38px 0; border-bottom: 1px solid var(--line); isolation: isolate;
  transition: padding .5s var(--ease-out), color .4s;
}
.talk::before {
  content: ""; position: absolute; inset: 0 -28px; z-index: -1; border-radius: var(--radius);
  background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-out);
}
.talk:hover::before, .talk:focus-visible::before { transform: scaleY(1); transform-origin: top; }
.talk:hover, .talk:focus-visible { color: var(--white); padding-left: 24px; padding-right: 24px; }
.talk-num { font-family: var(--f-serif); font-style: italic; font-size: 46px; line-height: 1; color: var(--amber); }
.talk:hover .talk-num { color: var(--amber-hot); }
.talk-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; transition: color .4s; }
.talk:hover .talk-tag { color: var(--amber-hot); }
.talk h3 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); margin: 0; letter-spacing: -.03em; }
.talk p { margin: 0; color: var(--muted); font-size: 16px; transition: color .4s; }
.talk:hover p { color: #CBD3DF; }
.talk-arrow { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: transform .5s var(--ease-out), background .4s, border-color .4s; }
.talk:hover .talk-arrow { background: var(--amber); border-color: var(--amber); transform: rotate(-45deg); color: var(--white); }

/* ---------- Photo band ---------- */
.photo-band { position: relative; height: clamp(440px, 74vh, 760px); overflow: hidden; background: var(--ink); color: var(--white); isolation: isolate; }
.photo-band img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; will-change: transform; z-index: -2; }
.photo-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,17,32,.94) 0%, rgba(11,17,32,.2) 55%, rgba(11,17,32,.35) 100%); }
.photo-band .wrap { height: 100%; display: flex; align-items: flex-end; padding-bottom: clamp(40px, 6vw, 80px); }
.photo-band blockquote { margin: 0; max-width: 920px; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1.12; letter-spacing: -.01em; }
.photo-band cite { display: block; margin-top: 20px; font-family: var(--f-display); font-style: normal; font-size: 13.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-hot); }

/* ---------- Gallery marquee ---------- */
.gallery-sec { overflow: hidden; }
.gallery { display: grid; gap: 16px; }
.gallery .marquee { --gap: 16px; }
.gallery .marquee-track img { height: clamp(200px, 24vw, 320px); width: auto; border-radius: 16px; object-fit: cover; filter: saturate(.92); transition: filter .4s, transform .6s var(--ease-out); }
.gallery .marquee-track img:hover { filter: saturate(1.1); transform: scale(1.03); }

/* ---------- About split ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.portrait { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: #8f2f22; }
.portrait img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 50% 15%; will-change: transform; }
.portrait-card {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  padding: 16px 18px; border-radius: 14px;
  background: rgba(11, 17, 32, .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--white); display: flex; align-items: center; gap: 14px; font-size: 14.5px; line-height: 1.4;
}
.portrait-card b { font-family: var(--f-display); }
.live { width: 10px; height: 10px; border-radius: 50%; background: #22C55E; flex-shrink: 0; animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 12px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.about-copy h2 { max-width: 17ch; }
.about-copy p { color: var(--muted); }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0 34px; }
.cred { padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; font-size: 14.5px; line-height: 1.45; color: var(--muted); transition: transform .4s var(--ease-out), box-shadow .4s; }
.cred:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(15,23,42,.35); }
.cred strong { display: block; font-family: var(--f-display); color: var(--text); font-size: 16px; margin-bottom: 2px; }

/* ---------- Audience tracks ---------- */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.track {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 24px; padding: clamp(32px, 4vw, 52px); min-height: 460px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  color: var(--white); background: var(--slate);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.track:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(11,17,32,.7); }
.track .bgimg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease-out); }
.track:hover .bgimg { transform: scale(1.12); }
.track::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(170deg, rgba(11,17,32,.5) 0%, rgba(11,17,32,.96) 62%); }
.track.amber::after { background: linear-gradient(170deg, rgba(146,64,14,.55) 0%, rgba(11,17,32,.96) 62%); }
.track .tag { align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(6px); }
.track h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 14px; letter-spacing: -.03em; }
.track p { color: #CBD3DF; max-width: 46ch; }
.track ul { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.track li { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.09); color: #E2E8F0; }
.track .go { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 700; }
.track .go i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); transition: transform .5s var(--ease-out); font-style: normal; }
.track:hover .go i { transform: translateX(6px) rotate(-45deg); }
.track-link::after { content: ""; position: absolute; inset: 0; }

/* ---------- Testimonials ---------- */
.quotes-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.quotes { display: grid; }
.quote { grid-area: 1 / 1; opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); pointer-events: none; margin: 0; }
.quote.on { opacity: 1; transform: none; pointer-events: auto; }
.quote p { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.18; letter-spacing: -.01em; color: var(--white); margin: 0 0 28px; }
.quote p::before { content: "\201C"; color: var(--amber-hot); }
.quote p::after { content: "\201D"; color: var(--amber-hot); }
.quote footer { font-family: var(--f-display); font-weight: 700; font-size: 15px; color: var(--white); }
.quote footer span { display: block; font-weight: 500; color: var(--muted-light); font-size: 14px; margin-top: 2px; font-family: var(--f-body); }
.quote-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.quotes-grid > * { min-width: 0; }
.quote-dot { width: 40px; height: 4px; border-radius: 4px; border: 0; padding: 0; background: rgba(255,255,255,.18); position: relative; overflow: hidden; }
.quote-dot::before { content: ""; position: absolute; inset: -10px 0; }
.quote-dot i { position: absolute; inset: 0; background: var(--amber-hot); transform-origin: left; transform: scaleX(0); }
.quote-dot.on i { animation: fillbar var(--qdur, 7s) linear forwards; }
.quotes.paused .quote-dot.on i { animation-play-state: paused; }
@keyframes fillbar { to { transform: scaleX(1); } }
.quote-aside { padding: 34px; border-radius: 22px; border: 1px solid var(--line-light); background: rgba(255,255,255,.03); }
.quote-aside h3 { font-size: 20px; }
.quote-aside p { color: var(--muted-light); font-size: 15.5px; }

/* ---------- Video ---------- */
.video-feature { display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px; }
.vcard {
  position: relative; display: block; width: 100%; text-align: left; padding: 0; border: 0; background: var(--slate);
  border-radius: var(--radius); overflow: hidden; isolation: isolate; color: var(--white); aspect-ratio: 16 / 9;
}
.vcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); z-index: -2; }
.vcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,17,32,.94) 0%, rgba(11,17,32,.25) 55%, rgba(11,17,32,.05) 100%); }
.vcard:hover img { transform: scale(1.06); }
.vcard-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.vcard h3 { font-size: 16.5px; margin: 0; line-height: 1.3; color: var(--white); }
.vcard .meta { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-hot); margin-bottom: 6px; }
.vcard .pbtn { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); transition: transform .4s var(--ease-out), background .3s, border-color .3s; }
.vcard:hover .pbtn { background: var(--amber); border-color: var(--amber); transform: scale(1.1); }
.vcard .pbtn svg { margin-left: 2px; }
.vcard .dur { position: absolute; top: 14px; right: 14px; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(11,17,32,.75); }
.vcard .yr { position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: var(--amber); color: var(--white); }
.vcard.big { grid-row: span 2; aspect-ratio: auto; min-height: 420px; }
.vcard.big h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); }
.vcard.big .pbtn { width: 76px; height: 76px; }
.vcard.big .vcard-body { padding: 28px 30px; }
.video-side { display: grid; gap: 22px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-grid .vcard-title { margin-top: 12px; font-family: var(--f-display); font-weight: 700; font-size: 16px; line-height: 1.35; }
.vgroup + .vgroup { margin-top: 72px; }
.vgroup h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 24px; }

.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; background: rgba(5, 8, 16, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-frame { width: min(1120px, 100%); aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; transform: scale(.94); transition: transform .5s var(--ease-out); box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.modal.open .modal-frame { transform: none; }
.modal-frame iframe { width: 100%; height: 100%; border: 0; }
.modal-close { position: absolute; top: 20px; right: 20px; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: var(--white); font-size: 28px; line-height: 1; transition: transform .4s var(--ease-out), background .3s; }
.modal-close:hover { transform: rotate(90deg); background: var(--amber); border-color: var(--amber); }

/* ---------- Books ---------- */
.books { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); }
.book { display: grid; grid-template-columns: 190px 1fr; gap: 34px; align-items: center; padding: 34px; border-radius: 24px; background: rgba(255,255,255,.035); border: 1px solid var(--line-light); transition: border-color .4s, background .4s; }
.book:hover { border-color: rgba(245,158,11,.4); background: rgba(255,255,255,.05); }
.book-cover { perspective: 900px; }
.book-cover .inner { position: relative; border-radius: 3px 9px 9px 3px; overflow: hidden; transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out); box-shadow: 0 30px 50px -18px rgba(0,0,0,.75); transform: rotateY(-16deg) rotateX(4deg); transform-style: preserve-3d; }
.book-cover .inner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,0,0,.35) 0%, rgba(255,255,255,.16) 4%, transparent 14%, transparent 75%, rgba(0,0,0,.18) 100%); pointer-events: none; }
.book-cover img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.cover-fallback { aspect-ratio: 2 / 3; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 16px 18px; background: linear-gradient(170deg, #1D4E89 0%, #0B1120 85%); color: var(--white); }
.cover-fallback b { font-family: var(--f-display); font-size: 34px; line-height: .92; letter-spacing: -.03em; }
.cover-fallback small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #93C5FD; line-height: 1.4; }
.cover-fallback span { font-family: var(--f-display); font-weight: 700; font-size: 11.5px; letter-spacing: .28em; color: var(--white); }
.book h3 { font-size: clamp(1.45rem, 2.2vw, 1.95rem); margin-bottom: 6px; }
.book .sub { font-size: 14px; font-weight: 600; color: var(--amber-hot); margin-bottom: 14px; }
.book p { color: var(--muted-light); font-size: 15.5px; }
.bulk { margin-top: 28px; padding: 28px 32px; border-radius: 20px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: linear-gradient(110deg, rgba(217,119,6,.24), rgba(217,119,6,.04)); border: 1px solid rgba(245,158,11,.32); }
.bulk p { margin: 0; color: #E5E9F0; max-width: 720px; }

/* ---------- Schedule ---------- */
.next-up {
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center;
  padding: 30px 34px; border-radius: 24px; margin-bottom: 40px;
  background: var(--ink); color: var(--white); position: relative; overflow: hidden; isolation: isolate;
}
.next-up::before { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; right: -140px; top: -220px; background: radial-gradient(circle, rgba(245,158,11,.38), transparent 65%); }
.next-date { text-align: center; padding: 14px 18px; border-radius: 16px; background: var(--amber); min-width: 108px; }
.next-date .m { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.next-date .d { display: block; font-family: var(--f-display); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.04em; margin-top: 4px; }
.next-up .label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-hot); display: flex; align-items: center; gap: 10px; }
.next-up h3 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); margin: 8px 0 4px; color: var(--white); }
.next-up .when { color: var(--muted-light); font-size: 15px; }
.countdown { display: flex; gap: 10px; }
.countdown div { text-align: center; min-width: 66px; padding: 10px 8px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--line-light); }
.countdown b { display: block; font-family: var(--f-display); font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); }

.sched-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.chips { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.chip { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-family: var(--f-display); font-weight: 700; font-size: 14px; color: var(--muted); transition: background .3s, color .3s; }
.chip.on { background: var(--ink); color: var(--white); }
.legend { display: flex; gap: 18px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; }
.dot-stage { background: var(--amber); }
.dot-cohort { background: #0EA5E9; }

.months { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.month { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 12px; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); animation: fadeUp .6s var(--ease-out) both; animation-delay: var(--d, 0s); }
.month:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -28px rgba(15,23,42,.35); }
.month h3 { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; margin: 0 0 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.month h3 small { font-family: var(--f-body); font-weight: 600; font-size: 12.5px; color: var(--muted); letter-spacing: 0; }
.month ul { list-style: none; margin: 0; padding: 0; }
.month li { display: grid; grid-template-columns: 10px 76px 1fr; gap: 10px; align-items: baseline; padding: 10px 0; font-size: 14.8px; line-height: 1.4; border-bottom: 1px dashed var(--line); }
.month li:last-child { border-bottom: 0; }
.month li i { width: 8px; height: 8px; border-radius: 50%; transform: translateY(-1px); }
.month li b { font-family: var(--f-display); font-size: 13.5px; }
.month li.past { opacity: .45; }
.month li.today b { color: var(--amber); }
.month li .now { display: inline-block; margin-left: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--white); background: #16A34A; padding: 2px 7px; border-radius: 999px; vertical-align: 1px; }
.sched-empty { padding: 28px; border-radius: 16px; border: 1px dashed var(--line); text-align: center; color: var(--muted); grid-column: 1 / -1; }
.sched-foot { margin-top: 36px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.sched-foot p { margin: 0; color: var(--muted); }

/* ---------- Insights (RSS) ---------- */
.rss-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rss-card { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s; animation: fadeUp .7s var(--ease-out) both; animation-delay: var(--d, 0s); }
.rss-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -30px rgba(15,23,42,.4); border-color: transparent; }
.rss-meta { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.rss-card h3 { font-size: 19px; line-height: 1.3; margin-bottom: 10px; }
.rss-card h3 a::after { content: ""; position: absolute; inset: 0; }
.rss-card p { font-size: 15px; color: var(--muted); margin-bottom: 20px; flex-grow: 1; }
.rss-card .more { font-family: var(--f-display); font-weight: 700; font-size: 14px; display: inline-flex; gap: 8px; transition: color .3s, gap .3s; }
.rss-card:hover .more { color: var(--amber); gap: 12px; }
.rss-status { grid-column: 1 / -1; padding: 36px; border-radius: 16px; border: 1px dashed var(--line); text-align: center; color: var(--muted); }
.skeleton { min-height: 230px; background: linear-gradient(100deg, var(--white) 30%, var(--sand) 50%, var(--white) 70%) 0 0 / 300% 100%; animation: shimmer 1.6s linear infinite; border-radius: 18px; border: 1px solid var(--line); }
@keyframes shimmer { to { background-position: -150% 0; } }

/* ---------- Big CTA ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  background: var(--amber); color: var(--ink);
  padding: clamp(90px, 12vw, 160px) 0;
}
.cta::before { content: ""; position: absolute; left: 50%; top: 50%; width: 180vmax; height: 180vmax; margin: -90vmax 0 0 -90vmax; z-index: -1; background: conic-gradient(from 0deg, #D97706, #F59E0B, #B45309, #EA9A1A, #D97706); animation: spin 24s linear infinite; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, transparent 35%, rgba(120,53,15,.4)); }
@keyframes spin { to { transform: rotate(360deg); } }
.cta h2 { font-size: clamp(2.6rem, 7vw, 6rem); letter-spacing: -.045em; line-height: .98; color: var(--ink); max-width: 13ch; margin: 0 auto 26px; }
.cta h2 .serif { color: var(--white); }
.cta p { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 620px; margin: 0 auto 36px; color: rgba(11,17,32,.85); }
.cta .btn { --bg: var(--ink); --fg: var(--white); }
.cta .btn::before { background: var(--white); }
.cta .btn:hover { color: var(--ink); box-shadow: 0 18px 40px -16px rgba(11,17,32,.5); }
.cta .btn-ghost { --bg: transparent; --fg: var(--ink); border-color: rgba(11,17,32,.45); }
.cta .btn-ghost::before { background: var(--ink); }
.cta .btn-ghost:hover { color: var(--white); border-color: var(--ink); }
.cta .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-light); padding: 88px 0 36px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand { font-family: var(--f-display); font-weight: 800; font-size: 28px; letter-spacing: -.02em; color: var(--white); margin-bottom: 14px; line-height: 1.1; }
.footer-brand .serif { color: var(--amber-hot); }
.site-footer h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin: 8px 0 18px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { transition: color .25s; }
.site-footer a:hover { color: var(--amber-hot); }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.social a { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px 9px 12px; border-radius: 999px; border: 1px solid var(--line-light); color: #E5E9F0; font-family: var(--f-display); font-weight: 700; font-size: 13.5px; transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease-out); }
.social a:hover { background: var(--amber); border-color: var(--amber); color: var(--white); transform: translateY(-2px); }
.footer-bottom { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line-light); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13.5px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--white); padding: calc(var(--header-h) + clamp(70px, 10vw, 130px)) 0 clamp(70px, 9vw, 120px); }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg.flip { transform: scaleX(-1); }
.page-hero .bg.right { left: auto; width: min(58%, 860px); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%); mask-image: linear-gradient(90deg, transparent 0%, #000 40%); }
.page-hero .bg.right img { object-position: 50% 14%; opacity: .8; }
@media (max-width: 760px) { .page-hero .bg.right { width: 100%; } .page-hero .bg.right img { opacity: .35; } }
.page-hero .bg.bright img { opacity: .75; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; animation: kenburns 24s var(--ease) forwards; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,17,32,.97) 0%, rgba(11,17,32,.75) 55%, rgba(11,17,32,.35) 100%); }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); max-width: 16ch; margin-bottom: 24px; }
.page-hero h1 .serif { color: var(--amber-hot); }
.page-hero .lead { margin-bottom: 34px; color: #D3DAE5; }

/* ---------- Generic cards / programs ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 30px; border-radius: 20px; background: var(--white); border: 1px solid var(--line);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 28px 54px -30px rgba(15,23,42,.4); }
.card .num { font-family: var(--f-serif); font-style: italic; font-size: 42px; line-height: 1; color: var(--amber); margin-bottom: 22px; }
.card .pill { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #92400E; background: var(--amber-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .text-link { margin-top: auto; padding-top: 10px; align-self: flex-start; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 1px; top: 6px; width: 13px; height: 7px; border-left: 2.5px solid var(--amber); border-bottom: 2.5px solid var(--amber); transform: rotate(-45deg); }
.on-dark .ticks li, .on-navy .ticks li { color: var(--muted-light); }
.on-dark .card h3, .on-navy .card h3 { color: var(--text); }
.on-dark .card .ticks li, .on-navy .card .ticks li { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; counter-reset: step; }
.step { padding: 32px 0 0; position: relative; border-top: 1px solid var(--line-light); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--f-serif); font-style: italic; font-size: 36px; color: var(--amber-hot); margin-bottom: 14px; line-height: 1; }
.step::after { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--amber-hot); transition: width 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
.step.in::after { width: 100%; }
.step h3 { font-size: 19px; }
.step p { color: var(--muted-light); font-size: 15px; }

/* ---------- Planner kit ---------- */
.tab-bar { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); margin-bottom: 22px; }
.tab-btn { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-family: var(--f-display); font-weight: 700; font-size: 14.5px; color: var(--muted); transition: background .3s, color .3s; }
.tab-btn.active { background: var(--ink); color: var(--white); }
.bio-panel { display: none; }
.bio-panel.active { display: block; animation: fadeUp .6s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.bio-box { padding: clamp(26px, 4vw, 40px); border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.bio-box p { font-size: 17px; line-height: 1.75; margin: 0; }
.copy-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.copy-row strong { font-family: var(--f-display); }
.copy-row small { color: var(--muted); font-size: 13px; margin-left: 8px; }
.copy-btn { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: var(--ivory); padding: 9px 16px; border-radius: 999px; font-family: var(--f-display); font-weight: 700; font-size: 14px; transition: background .3s, color .3s, border-color .3s; white-space: nowrap; }
.copy-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.copy-btn.copied { background: #16A34A; border-color: #16A34A; color: var(--white); }
.assets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.asset { border-radius: 16px; overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform .45s var(--ease-out), box-shadow .45s; }
.asset:hover { transform: translateY(-5px); box-shadow: 0 24px 44px -28px rgba(15,23,42,.4); }
.asset .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.asset img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.asset .ph.contain img { object-fit: contain; padding: 18px; }
.asset div.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; font-size: 14.5px; }
.asset a { font-family: var(--f-display); font-weight: 700; color: var(--amber); white-space: nowrap; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.25rem); transition: color .3s; }
.faq summary:hover { color: var(--amber); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; color: var(--text); transition: transform .45s var(--ease-out), background .3s, border-color .3s, color .3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .45s var(--ease-out); }
.faq details[open] summary .pm { background: var(--amber); border-color: var(--amber); color: var(--white); transform: rotate(180deg); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .ans { padding: 0 0 26px; color: var(--muted); max-width: 740px; animation: fadeUp .5s var(--ease-out); }
.faq .ans p:last-child { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.form-card { padding: clamp(28px, 4vw, 44px); border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(15,23,42,.35); }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { position: relative; margin-bottom: 18px; }
.form-group > label, .form-group > .lbl { display: block; font-family: var(--f-display); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--mist); background: var(--ivory);
  font: inherit; font-size: 16px; color: var(--text); transition: border-color .25s, background .25s, box-shadow .25s;
}
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--amber); background: var(--white); box-shadow: 0 0 0 4px rgba(217,119,6,.14); }
.interest-chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.interest-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.interest-chips label { margin: 0; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--mist); background: var(--ivory); font-size: 14.5px; cursor: pointer; transition: all .25s; }
.interest-chips label:hover { border-color: var(--amber); }
.interest-chips input:checked + label { background: var(--ink); color: var(--white); border-color: var(--ink); }
.interest-chips input:focus-visible + label { outline: 3px solid var(--amber-hot); outline-offset: 2px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-status { padding: 14px 16px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.form-status.ok { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.form-status.err { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.side-card { padding: 32px; border-radius: 24px; background: var(--ink); color: #E5E9F0; margin-bottom: 22px; position: relative; overflow: hidden; isolation: isolate; }
.side-card::before { content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; right: -130px; top: -150px; background: radial-gradient(circle, rgba(245,158,11,.32), transparent 65%); }
.side-card h3 { color: var(--white); }
.side-card p { color: var(--muted-light); font-size: 15.5px; }
.side-card.light { background: var(--white); color: var(--text); border: 1px solid var(--line); }
.side-card.light::before { display: none; }
.side-card.light h3 { color: var(--text); }
.calendly-slot { margin-top: 18px; padding: 30px 20px; border-radius: 14px; border: 1.5px dashed rgba(255,255,255,.22); text-align: center; font-size: 14px; color: var(--muted-light); }
.mini-sched { list-style: none; margin: 0; padding: 0; }
.mini-sched li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; }
.mini-sched li:last-child { border-bottom: 0; }
.mini-sched b { font-family: var(--f-display); min-width: 82px; color: var(--amber); }
.promise { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--muted-light); }
.promise + .promise { margin-top: 14px; }
.promise svg { flex-shrink: 0; margin-top: 3px; color: var(--amber-hot); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav > a:not(.btn) { padding: 8px 9px; font-size: 14.5px; }
  .talk { grid-template-columns: 64px 1fr 56px; }
  .talk p { grid-column: 2 / 3; }
  .talk-arrow { grid-row: 1 / 3; grid-column: 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: 110; height: 100vh; height: 100dvh;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
    padding: 100px 32px 40px; background: var(--ink);
    clip-path: circle(0% at calc(100% - 46px) 34px); transition: clip-path .7s var(--ease-out), visibility 0s .7s;
    visibility: hidden;
  }
  .nav-open .main-nav { clip-path: circle(150% at calc(100% - 46px) 34px); visibility: visible; transition: clip-path .7s var(--ease-out), visibility 0s; }
  .main-nav > a:not(.btn) { font-size: clamp(28px, 8vw, 40px); font-weight: 800; color: var(--white) !important; padding: 6px 0 !important; letter-spacing: -.03em; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease-out); }
  .main-nav > a:not(.btn)::after { left: 0; right: auto; width: 40px; }
  .nav-open .main-nav > a { opacity: 1; transform: none; }
  .nav-open .main-nav > a:nth-child(2) { transition-delay: .05s; }
  .nav-open .main-nav > a:nth-child(3) { transition-delay: .1s; }
  .nav-open .main-nav > a:nth-child(4) { transition-delay: .15s; }
  .nav-open .main-nav > a:nth-child(5) { transition-delay: .2s; }
  .nav-open .main-nav > a:nth-child(6) { transition-delay: .25s; }
  .main-nav .btn { margin: 24px 0 0; opacity: 0; transition: opacity .5s .3s; }
  .nav-open .main-nav .btn { opacity: 1; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: transparent !important; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none !important; }
  .nav-open .brand-text strong { color: var(--white) !important; }
  .nav-open .nav-toggle span { background: var(--white) !important; }
  .nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 32px 20px 24px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .dt-grid, .about-grid, .quotes-grid, .contact-grid { grid-template-columns: 1fr; }
  .dt-visual { max-width: 460px; }
  .tracks, .books { grid-template-columns: 1fr; }
  .cards-3, .rss-grid, .video-grid, .assets-grid { grid-template-columns: 1fr 1fr; }
  .video-feature { grid-template-columns: 1fr; }
  .vcard.big { aspect-ratio: 16 / 9; grid-row: auto; min-height: 0; }
  .video-side { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .next-up { grid-template-columns: auto 1fr; }
  .countdown { grid-column: 1 / -1; }
  .about-grid .portrait { max-width: 520px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .brand-text span { display: none; }
  .hero h1 { max-width: none; }
  .hero-marquee .marquee { margin-left: 170px; }
.hero-marquee .label { display: none; }
  .hero-marquee .marquee { margin-left: 0; }
  .months { grid-template-columns: 1fr; }
  .talk { grid-template-columns: 1fr 48px; gap: 10px 16px; padding: 28px 0; }
  .talk-num { font-size: 32px; }
  .talk > div, .talk p { grid-column: 1 / 2; }
  .talk-arrow { grid-row: 1 / 2; grid-column: 2; width: 46px; height: 46px; }
  .talk:hover, .talk:focus-visible { padding-left: 0; padding-right: 0; color: inherit; }
  .talk:hover::before { transform: scaleY(0); }
  .talk:hover p { color: var(--muted); }
  .talk:hover .talk-tag { color: var(--muted); }
  .cards-3, .rss-grid, .video-grid, .assets-grid, .video-side, .creds, .form-row, .steps { grid-template-columns: 1fr; }
  .book { grid-template-columns: 1fr; padding: 26px; }
  .book-cover { max-width: 180px; }
  .track { min-height: 400px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .next-up { grid-template-columns: 1fr; padding: 26px; gap: 20px; }
  .next-date { justify-self: start; }
  .countdown div { min-width: 0; flex: 1; }
  .chips { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; padding: 9px 14px; font-size: 13.5px; white-space: nowrap; }
  .hero h1 { font-size: clamp(2.15rem, 9.6vw, 2.8rem); }
  .hero .split .line, .hero .split .line > span { display: inline; overflow: visible; }
  .hero-actions .btn-row { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; }
  .photo-band { height: 520px; }
  .quote-dot { width: 30px; }
  .tab-bar { display: flex; border-radius: 18px; }
  .tab-btn { flex: 1 1 100%; border-radius: 14px; text-align: left; }
}

/* ---------- Event resource pages (unlinked, e.g. osba26) ---------- */
.sched-link { color: inherit; border-bottom: 1.5px solid rgba(217,119,6,.45); transition: color .25s, border-color .25s; }
.sched-link:hover { color: var(--amber); border-color: var(--amber); }
.event-chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #E5E9F0; margin-bottom: 26px; backdrop-filter: blur(6px); }
.event-chip b { color: var(--amber-hot); }
.event-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.agenda { padding: 26px; border-radius: 22px; background: rgba(11,17,32,.75); border: 1px solid var(--line-light); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.agenda h2 { font-size: 20px; margin: 0 0 4px; color: var(--white); }
.agenda .venue { font-size: 13px; color: var(--muted-light); margin-bottom: 6px; }
.agenda .day { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-hot); margin: 16px 0 4px; }
.agenda a { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line-light); color: #E5E9F0; font-size: 14.5px; line-height: 1.35; transition: color .25s; }
.agenda a:hover { color: var(--amber-hot); }
.agenda a small { display: block; color: var(--muted-light); font-size: 12.5px; margin-top: 3px; }
.agenda a time { font-family: var(--f-display); font-weight: 700; font-size: 13px; white-space: nowrap; padding: 4px 9px; border-radius: 8px; background: rgba(255,255,255,.08); }
.sessions { display: grid; gap: 22px; }
.session { display: grid; grid-template-columns: 230px 1fr; gap: clamp(24px, 4vw, 48px); padding: clamp(26px, 3.5vw, 40px); border-radius: 24px; background: var(--white); border: 1px solid var(--line); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); scroll-margin-top: 90px; }
.session:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(15,23,42,.4); }
.session .when { border-right: 1px solid var(--line); padding-right: clamp(20px, 3vw, 40px); }
.session .when .d { font-family: var(--f-display); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.session .when .t { font-family: var(--f-display); font-weight: 800; font-size: 30px; letter-spacing: -.03em; line-height: 1.1; margin: 6px 0 10px; }
.session .when .r { font-size: 14px; color: var(--muted); line-height: 1.45; }
.session .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.session .tags .pill { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #92400E; background: var(--amber-soft); padding: 6px 12px; border-radius: 999px; }
.session .tags .pill.dark { color: var(--white); background: var(--ink); }
.session h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); letter-spacing: -.025em; margin-bottom: 12px; }
.session p { color: var(--muted); max-width: 680px; margin: 0; }
.res { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.res a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 12px; font-family: var(--f-display); font-weight: 700; font-size: 14.5px; background: var(--ivory); border: 1.5px solid var(--mist); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out); }
.res a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); transform: translateY(-2px); }
.res a .ic { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--amber-soft); color: #92400E; transition: background .3s, color .3s; }
.res a:hover .ic { background: var(--amber); color: var(--white); }
.res a .ext { opacity: .45; font-size: 12px; }
.embed-card { border-radius: 22px; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.embed-card iframe { width: 100%; border: 0; display: block; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.two-col h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
@media (max-width: 960px) { .event-hero-grid, .two-col { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .session { grid-template-columns: 1fr; } .session .when { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 18px; } }

/* ---------- Proof stats + voice cards ---------- */
.proof-stats { display: grid; gap: 14px; margin-bottom: 22px; }
.proof-stats > div { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line-light); }
.proof-stats b { font-family: var(--f-display); font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--amber-hot); line-height: 1; }
.proof-stats span:not([data-count]) { font-size: 14.5px; color: var(--muted-light); line-height: 1.4; }
.voice { margin: 0; justify-content: space-between; }
.voice p { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.3; color: var(--text) !important; margin-bottom: 26px; }
.voice footer b { display: block; font-family: var(--f-display); font-size: 15.5px; color: var(--text); }
.voice footer span { font-size: 13.5px; color: var(--muted); }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-scale, .fade-late { opacity: 1; transform: none; }
  .split .line > span { transform: none; }
  .marquee-track { animation: none !important; }
}
