/* Health-e-Habits — site styles
   Shares the visual system of the Video Game Minimap and Inside the Game sites:
   deep navy, Sora headlines, Inter body, glass surfaces, large radii, soft shadows.
   The Habits accent is yellow (#FFD93E), matching the Donate button on the sister sites. */

:root {
  --navy-950: #020913;
  --navy-900: #1F1D1A;
  --navy-850: #082249;
  --navy-800: #0B2D59;
  --card: #243250;
  --yellow: #FFD93E;
  --yellow-deep: #F5A623;
  --purple: #A259FF;
  --green: #81C884;
  --coral: #FF6B6B;
  --blue: #3B82F6;
  --cyan: #35D4E8;
  --ink: #2A2724;
  --slate: #5E5953;
  --muted: #8C867E;
  --line: #E8E2D6;
  --surface: #FFFFFF;
  --surface-soft: #F7F4EE;
  --surface-mid: #EFEAE0;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --shadow-sm: 0 10px 30px rgba(5, 24, 52, 0.08);
  --shadow-md: 0 24px 70px rgba(5, 24, 52, 0.13);
  --shadow-lg: 0 36px 110px rgba(1, 9, 24, 0.34);
  --page: min(1360px, calc(100% - 48px));
  --ease: cubic-bezier(.2,.8,.2,1);
  --font-display: 'Sora', Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: #5a5a5a transparent; }
html::-webkit-scrollbar { width: 11px; }
html::-webkit-scrollbar-thumb { background: #5a5a5a; border-radius: 8px; border: 3px solid transparent; background-clip: padding-box; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

main, .site-footer { position: relative; z-index: 10; }
body {
  margin: 0; min-width: 320px;
  color: var(--ink);
  background: #FFFFFF;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(255,217,62,.65); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; margin: 0 0 .5em; color: var(--navy-900); }
h1 { font-size: clamp(2.8rem, 5.6vw, 5.2rem); line-height: .96; letter-spacing: -.03em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 500; letter-spacing: -.02em; }
h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.015em; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--slate); }
.measure { max-width: 66ch; }
.muted { color: var(--slate); }
.kicker { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .13em; font-size: .76rem; font-weight: 800; color: #B07A00; margin-bottom: 18px; }
.kicker::before { content: ""; width: 30px; height: 2px; border-radius: 99px; background: linear-gradient(90deg, var(--yellow), var(--yellow-deep)); }
.small { font-size: .92rem; }

.accent { color: transparent; background-image: linear-gradient(90deg, #FFD93E, #FF9A3C, #FFD93E); background-size: 200% auto; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: hehGradient 8s ease infinite; }
@keyframes hehGradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.wrap { width: var(--page); margin-inline: auto; position: relative; z-index: 1; }
.section { position: relative; padding: clamp(64px, 8vw, 112px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }

/* Light sections: white surface with navy type, like the sister sites' light bands */
.section--light { background: var(--surface); color: var(--ink); z-index: 2; }
.section--light h1, .section--light h2, .section--light h3 { color: var(--navy-900); }
.section--light .lede { color: var(--slate); }
.section--light .muted { color: var(--slate); }
.section--light a { color: var(--navy-900); }
.section--soft { background: var(--surface-soft); color: var(--ink); z-index: 2; }
.section--soft h1, .section--soft h2, .section--soft h3 { color: var(--navy-900); }
.section--soft .lede, .section--soft .muted { color: var(--slate); }

/* Dark band with the rounded "sheet" edge the sister sites use */
.section--raised { background: linear-gradient(180deg, var(--surface-soft) 0%, #FFFFFF 100%); border-radius: 16px 16px 0 0; box-shadow: 0 -30px 70px rgba(5,24,52,.08); }
.section--glow::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 12% 0, rgba(255,217,62,.35), transparent 32%), radial-gradient(circle at 90% 100%, rgba(162,89,255,.14), transparent 30%); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 20px;
  border: 1px solid transparent; border-radius: 15px;
  cursor: pointer; font-weight: 700; font-size: .98rem; text-decoration: none; line-height: 1;
  transition: transform .22s var(--ease), box-shadow .22s, background .22s, border-color .22s;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-primary, .prose a.button-primary, .section--light a.button-primary { color: #2A1E00; background: var(--yellow); box-shadow: none; }
.button-primary:hover { background: #FFE067; }
.button-quiet, .prose a.button-quiet { background: #fff; color: var(--navy-900); border-color: var(--line); box-shadow: none; }
.button-quiet:hover { background: #fff; }
.hero .button-quiet { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); box-shadow: none; }
.section--light .button-quiet, .section--soft .button-quiet { background: #fff; color: var(--navy-900); border-color: var(--line); box-shadow: none; }
.button-small { min-height: 42px; padding: 9px 16px; border-radius: 13px; font-size: .9rem; }
.button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; margin-top: 30px; }

/* Promo bar: the yellow strip at the very top, fixed so it never scrolls; the sticky
   header covers it once the page scrolls past. Same mechanics as the Minimap and Inside the Game. */
:root { --promo-bar-height: 210px; }
.promo-bar { background: var(--surface); color: var(--ink); padding: 57px 0; position: fixed; top: 0; left: 0; right: 0; z-index: 5; }
.promo-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -24px; height: 24px; background: var(--surface); }
.promo-bar-inner { width: var(--page); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 0 14px 0 22px; }
.promo-bar-logo { height: clamp(48px, 18vw, 96px); width: auto; display: block; transform: translateX(-3.76%); }
.promo-bar-right { display: flex; align-items: center; gap: 22px; flex: 1 1 760px; min-width: 0; justify-content: flex-end; }
.promo-bar-search { display: flex; align-items: center; gap: 10px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 24px; flex: 0 1 560px; min-width: 0; }
.promo-bar-search input { flex: 1; border: 0; background: transparent; font: inherit; font-size: .96rem; color: var(--ink); min-width: 0; }
.promo-bar-search input:focus { outline: none; }
.promo-bar-search input::placeholder { color: var(--muted); }
.promo-bar-right .promo-bar-search .button-primary { white-space: nowrap; padding: 10px 22px; font-size: .86rem; min-height: 0; height: 48px; border-radius: 999px; background: var(--purple); color: #fff; box-shadow: none; }
.promo-bar-right .promo-bar-search .button-primary:hover { background: #8E45F2; box-shadow: none; }
.announce { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 320px; height: 96px; box-sizing: border-box; padding: 10px 16px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #FBF8F1; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.announce:hover { border-color: var(--yellow); transform: translateY(-1px); }
.announce-label { display: inline-block; align-self: flex-start; padding: 1px 8px; line-height: 1.4; border-radius: 999px; background: var(--yellow); color: #2A1E00; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.announce > * { flex: none; }
.announce strong { font-size: .86rem; line-height: 1.25; color: var(--navy-900); text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.announce-date { font-size: .74rem; line-height: 1.2; color: var(--muted); }
.promo-bar-right .button-primary { background: var(--coral); color: #fff; box-shadow: none; border-radius: 999px; padding: 10px 22px; font-size: .86rem; min-height: 48px; height: 48px; }
.promo-bar-right .button-primary:hover { box-shadow: none; background: #F25C5C; }
.promo-sister { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; padding-left: 22px; border-left: 1px solid rgba(42,30,0,.18); transition: opacity .16s ease; }
.promo-sister:hover { opacity: .8; }
.promo-sister-eyebrow { font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; line-height: 1; color: rgba(42,30,0,.7); }
.promo-sister-logo { height: 46px; width: auto; display: block; }
@media (max-width: 900px) {
  :root { --promo-bar-height: 250px; }
  .promo-bar { padding: 24px 0; }
  .promo-bar-inner { flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 0 16px; }
  .promo-bar-logo { height: 64px; transform: none; }
  .promo-bar-right { flex-direction: column; align-items: stretch; width: 100%; gap: 12px; }
  .promo-bar-search { flex: none; }
  .promo-bar-search .button-primary span { display: none; }
  .announce { width: auto; height: auto; }
}

/* Header: bare text over the hero at rest, a glass shell once the promo bar is scrolled past */
.site-header { position: sticky; top: 0; z-index: 60; padding: 14px 0 0; margin-top: var(--promo-bar-height); transition: padding .4s var(--ease); }
.site-header.is-compact { padding-top: 8px; }
.header-shell {
  width: var(--page); margin: 0 auto; min-height: 78px; padding: 10px 14px 10px 22px;
  border-radius: 16px; display: flex; align-items: center; gap: 20px;
  background: transparent; border: 1px solid transparent; box-shadow: none;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, min-height .4s var(--ease);
}
.site-header.is-compact .header-shell {
  min-height: 74px;
  background: rgba(255,255,255,.55);
  border-color: rgba(15,23,42,.08);
  box-shadow: 0 3px 8px rgba(15,23,42,.19), 0 12px 30px rgba(15,23,42,.15);
  -webkit-backdrop-filter: blur(44px) saturate(160%); backdrop-filter: blur(44px) saturate(160%);
}
.site-header.is-compact .nav-link, .site-header.is-compact .nav summary { color: #151922; }
.site-header.is-compact .nav-link::after, .site-header.is-compact .nav summary::after { background: linear-gradient(90deg, var(--yellow), var(--yellow-deep)); }
.site-header.is-compact .nav-toggle { border-color: rgba(42,30,0,.25); background: rgba(0,0,0,.06); }
.site-header.is-compact .nav-toggle span { background: #151922; }
.site-header.is-compact .nav--cta .button-primary { background: var(--yellow); color: #2A1E00; box-shadow: none; }
.site-header.is-compact .nav--cta .button-primary:hover { background: #FFE067; }
.site-header.is-compact .brand .brand-white { display: none; }
.site-header.is-compact .brand .brand-black { display: block; }
.brand .brand-black { display: none; }
.brand { display: inline-flex; align-items: center; text-decoration: none; margin-right: 29px; }
.brand img { height: 44px; width: auto; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav-link, .nav summary {
  border: 0; background: transparent; font-family: inherit;
  position: relative; display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none;
  padding: 10px 12px; border-radius: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
}
.nav-link::after, .nav summary::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--yellow), var(--yellow-deep)); transform: scaleX(0); opacity: 0; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav summary:hover::after, .nav summary.is-active::after { transform: scaleX(1); opacity: 1; }
.nav--cta .nav-link::after, .site-header.is-compact .nav--cta .nav-link::after { background: linear-gradient(90deg, var(--cyan), var(--purple)); }
.nav details { position: relative; }
.nav summary { list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary .chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nav .menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 210px; padding: 8px; border-radius: 16px; display: grid; gap: 2px;
  background: linear-gradient(135deg, rgba(7,18,43,.96), rgba(21,19,52,.94)); border: 1px solid rgba(255,255,255,.18); box-shadow: var(--shadow-lg); backdrop-filter: blur(16px); }
.nav .menu a { display: block; padding: 10px 12px; border-radius: 10px; color: #fff; text-decoration: none; font-size: .9rem; font-weight: 600; }
.nav .menu a:hover, .nav .menu a[aria-current="page"] { background: rgba(255,255,255,.08); }
.nav--cta { gap: 8px; margin-left: auto; }
.nav--cta .button { min-height: 42px; padding: 0 16px; font-size: .8rem; letter-spacing: .03em; border-radius: 13px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; border-radius: 2px; }

@media (max-width: 1080px) {
  .header-shell { flex-wrap: wrap; background: rgba(255,255,255,.85); border-color: rgba(15,23,42,.08); }
  .nav-link, .nav summary, .nav .menu a { color: #151922; }
  .nav-link::after, .nav summary::after { background: linear-gradient(90deg, var(--yellow), var(--yellow-deep)); }
  .nav .menu a:hover, .nav .menu a[aria-current="page"] { background: rgba(0,0,0,.07); }
  .nav-toggle { border-color: rgba(42,30,0,.25); background: rgba(0,0,0,.06); }
  .nav-toggle span { background: #151922; }
  .nav--cta .button-primary { background: var(--yellow); color: #2A1E00; box-shadow: none; }
  .brand .brand-white { display: none; }
  .brand .brand-black { display: block; }
  .nav-toggle { display: block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 0 6px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 6px; }
  .nav.is-open { display: flex; }
  .nav-link, .nav summary { padding: 12px 10px; font-size: .9rem; }
  .nav details { position: static; }
  .nav .menu { position: static; border: 0; box-shadow: none; background: transparent; padding: 0 0 6px 16px; backdrop-filter: none; }
  .nav--cta { flex-direction: row; flex-wrap: wrap; border-top: 0; margin: 0; padding-top: 4px; }
  .nav--cta.is-open { display: flex; }
}

/* Hero with a masked full-bleed photo. Geometry mirrors the Minimap: the photo tucks under the
   92px header, the copy centers in the space left under the promo bar, lifted 28px. */
.hero { position: sticky; top: 0; z-index: 0; background: #05060f; color: #fff; min-height: max(560px, calc(100vh - var(--promo-bar-height) + 56px)); display: grid; align-items: center; padding: 160px 0 20px; margin-top: -92px; overflow: clip; border-radius: 16px 16px 0 0; }
.hero-photo img { opacity: var(--hero-photo-fade, 1); }
.hero-slides { position: absolute; inset: 0; opacity: var(--hero-photo-fade, 1); overflow: hidden; }
.hero-slides img { opacity: 1; transform-origin: center; will-change: transform; }
.hero-photo-layer { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 2.4s ease-in-out; pointer-events: none; transform-origin: center; will-change: transform; }
.hero-photo-layer.is-on { opacity: 1; }
.hero-photo::after { z-index: 1; }
.hero--short { position: relative; }
main > *:not(.hero) { position: relative; z-index: 2; }
.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,6,15,.55) 0%, rgba(5,6,15,.25) 35%, rgba(5,6,15,.78) 75%, #05060f 100%), linear-gradient(90deg, rgba(5,6,15,.72) 0%, rgba(5,6,15,.2) 60%, rgba(5,6,15,0) 100%); }
.hero-copy { position: relative; z-index: 1; max-width: none; padding-left: 22px; transform: translateY(-28px); }
.hero h1 { max-width: 960px; margin: 0; color: #fff; font-family: var(--font-display); font-size: clamp(2.8rem, 6.8vw, 4.9rem); font-weight: 700; line-height: 1.06; letter-spacing: -.012em; }
.hero h1 .accent { display: block; margin-bottom: 22px; }
@media (min-width: 900px) { .hero h1 { white-space: nowrap; } }
.hero .lede { max-width: 62ch; margin: 0; font-size: clamp(1.14rem, 1.55vw, 1.33rem); line-height: 1.65; color: #C9D0E0; }
.hero .btn-row { margin-top: 30px; }
.hero--short { min-height: max(480px, calc(70vh - var(--promo-bar-height) + 56px)); }
.hero--plain { min-height: 0; margin-top: -92px; padding: 150px 0 40px; border-radius: 16px 16px 0 0; background: linear-gradient(180deg, var(--surface-soft), #FFFFFF); display: block; color: var(--ink); }
.hero--plain h1 { color: var(--navy-900); font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 700; line-height: 1.06; letter-spacing: -.012em; margin-bottom: 18px; }
@media (max-width: 899px) { .hero h1, .hero--plain h1 { font-size: clamp(2.35rem, 11vw, 2.9rem); line-height: .98; letter-spacing: -.045em; } .hero .lede { font-size: 1.06rem; } .hero-copy { padding-left: 0; transform: none; } .hero { padding-top: 150px; } .hero--plain { padding-top: 150px; } }

/* Two-column feature */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.feature .prose > :first-child { margin-top: 0; }
.feature--img-right { grid-template-columns: 1.1fr .9fr; }
.photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--4x3 { aspect-ratio: 4 / 3; }
.photo--3x4 { aspect-ratio: 3 / 4; max-height: 620px; }
.photo--16x9 { aspect-ratio: 16 / 9; }
.section--light .photo, .section--soft .photo { box-shadow: var(--shadow-md); }
@media (max-width: 860px) { .feature, .feature--img-right { grid-template-columns: 1fr; } .photo--3x4 { max-height: 440px; } }

/* Program "framework" cards, accent per brand */
.framework-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; margin-top: 44px; }
.framework-card { --accent: var(--yellow); position: relative; min-height: 300px; overflow: hidden; padding: 26px; border-radius: 30px; color: #fff; text-decoration: none; display: flex; flex-direction: column;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 78%, #000) 0%, color-mix(in srgb, var(--accent) 38%, #060a1c) 100%); box-shadow: var(--shadow-md); transition: transform .3s var(--ease), box-shadow .3s; }
.framework-card::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -90px; bottom: -105px; background: rgba(255,255,255,.12); box-shadow: -35px -25px 0 rgba(255,255,255,.05); }
.framework-card:hover { transform: translateY(-8px); box-shadow: 0 30px 70px rgba(5,24,52,.3); }
.framework-card img { width: 150px; }
.framework-card h3 { margin: auto 0 10px; font-size: 1.35rem; line-height: 1.12; position: relative; z-index: 1; padding-top: 36px; }
.framework-card p { color: rgba(255,255,255,.8); font-size: .92rem; margin: 0; position: relative; z-index: 1; }
.framework-card.c-yellow { --accent: var(--yellow); }
.framework-card.c-green { --accent: var(--green); }
.framework-card.c-coral { --accent: var(--coral); }
.framework-card.c-purple { --accent: var(--purple); }
@media (max-width: 1000px) { .framework-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .framework-grid { grid-template-columns: 1fr; } .framework-card { min-height: 0; } }

/* Dark info cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface-soft); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 12px; transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.card:hover { border-color: rgba(255,217,62,.5); transform: translateY(-4px); }
.card .card-photo { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; margin: -6px -6px 6px; }
.card .card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card .kicker { margin-bottom: 0; }
.card h3 { margin: 4px 0 0; color: var(--navy-900); }
.card p { margin: 0; color: var(--slate); font-size: .95rem; }
.card .button { align-self: flex-start; margin-top: auto; }
.section--light .card, .section--soft .card { background: var(--surface-soft); border-color: var(--line); }
.section--light .card h3, .section--soft .card h3 { color: var(--navy-900); }
.section--light .card p, .section--soft .card p { color: var(--slate); }
@media (max-width: 920px) { .cards, .cards--2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards, .cards--2 { grid-template-columns: 1fr; } }

/* Program rows (detail pages) and bios */
.program { display: grid; grid-template-columns: 96px 1fr; gap: 28px; align-items: start; padding: 32px; margin-top: 18px; border-radius: 22px; background: var(--surface-soft); border: 1px solid var(--line); }
.program__icon { width: 96px; border-radius: 18px; }
#team .program__icon { border-radius: 0; }
.program h3 { margin: 4px 0 .35em; }
.program p { color: var(--slate); }
.program .role { color: #B07A00; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px; }
.program .button { margin-top: 16px; }
.section--light .program, .section--soft .program { background: var(--surface); border-color: var(--line); }
.section--light .program p, .section--soft .program p { color: var(--slate); }
.section--light .program .role { color: #B07A00; }
@media (max-width: 640px) { .program { grid-template-columns: 1fr; gap: 16px; padding: 22px; } .program__icon { width: 72px; } }

.howto { display: block; padding: 24px 28px; border-radius: 20px; background: #FFF8D6; border: 1px solid #F3E39A; max-width: none; margin-top: 18px; }
.howto p { margin: 0; color: var(--ink); }
.howto a { color: var(--navy-900); }
.howto .ic { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--yellow); color: #2A1E00; }
.howto .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.xlinks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.xlinks a { position: relative; display: block; min-height: 220px; border-radius: 24px; overflow: hidden; text-decoration: none; color: #fff; box-shadow: var(--shadow-sm); }
.xlinks img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .5s var(--ease); }
.xlinks a:hover img { transform: scale(1.04); }
.xlinks h3 { position: absolute; left: 24px; bottom: 20px; margin: 0; z-index: 1; font-size: 1.5rem; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.xlinks a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,6,15,.85) 100%); }
@media (max-width: 600px) { .xlinks { grid-template-columns: 1fr; } .xlinks a { min-height: 170px; } }

/* Team tiles */
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 44px; }
.team a { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 20px; background: var(--surface-soft); border: 1px solid var(--line); color: var(--navy-900); text-decoration: none; transition: border-color .25s ease, transform .25s ease; }
.team a:hover { border-color: rgba(255,217,62,.5); transform: translateY(-4px); }
.team img { width: 64px; border-radius: 14px; }
.team h3 { font-size: 1.05rem; margin: 6px 0 0; }
.team p { font-size: .86rem; color: var(--slate); margin: 0; }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .team { grid-template-columns: 1fr 1fr; gap: 12px; } .team a { padding: 16px; } }

/* Quote */
.quote { text-align: center; max-width: 40ch; margin-inline: auto; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.quote cite { display: block; margin-top: 24px; font-style: normal; font-size: .95rem; color: var(--slate); }
.section--light .quote cite { color: var(--slate); }
.quote-mark { display: block; width: 44px; height: 44px; margin: 0 auto 22px; color: var(--yellow); }

/* Organizations */
.logos { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logos li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; place-items: center; min-height: 110px; }
.logos img { max-height: 64px; width: auto; object-fit: contain; }
@media (max-width: 900px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .logos { grid-template-columns: repeat(2, 1fr); gap: 10px; } .logos li { padding: 14px; min-height: 90px; } }

/* Prose (bios, speaker, blog) */
.prose { max-width: 72ch; }
.prose p, .prose li { color: var(--slate); }
.prose strong { color: var(--navy-900); }
.prose a { color: var(--navy-900); text-underline-offset: 3px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .6em; }
.prose img { border-radius: var(--radius-md); margin: 1.5em 0; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 1.6em; font-weight: 600; }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--yellow); }
.section--light .prose p, .section--light .prose li { color: var(--slate); }
.section--light .prose strong { color: var(--navy-900); }
.section--light .prose a { color: var(--navy-900); }

/* Testimonials */
.testimonial { padding: 28px; border-radius: 22px; background: var(--surface-soft); border: 1px solid var(--line); margin-bottom: 18px; }
.testimonial blockquote { margin: 0 0 18px; color: var(--ink); font-size: 1rem; }
.testimonial cite { font-style: normal; font-weight: 700; display: block; line-height: 1.4; color: var(--navy-900); }
.testimonial cite span { display: block; font-weight: 500; color: var(--slate); font-size: .92rem; }
.testimonial a { color: var(--navy-900); }

/* Forms */
.form { display: grid; gap: 16px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--navy-900); }
.form input, .form textarea, .form select { padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
.form select { appearance: none; }
.form select option { color: var(--ink); }
.form input::placeholder, .form textarea::placeholder { color: var(--muted); }
.form textarea { min-height: 150px; resize: vertical; }
.form .button { justify-self: start; }
.section--light .form input, .section--light .form textarea, .section--light .form select { background: var(--surface); border-color: var(--line); color: var(--ink); }
.hidden { position: absolute; left: -9999px; }

.fn-form { display: flex; align-items: center; gap: 10px; }
.fn-form input { flex: 1; min-width: 0; height: 48px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1rem; }
.fn-form input:focus { outline: 2px solid rgba(255,217,62,.7); outline-offset: 1px; }
.fn-form button { flex: none; width: 48px; height: 48px; border-radius: 12px; border: 0; background: linear-gradient(120deg, #FFD93E, #FF9A3C); color: #2A1E00; cursor: pointer; display: grid; place-items: center; transition: transform .2s, filter .2s; }
.fn-form button:hover { transform: translateY(-1px); filter: brightness(1.05); }
.fn-form button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.post-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--surface-soft); border: 1px solid var(--line); color: var(--navy-900); text-decoration: none; transition: transform .3s var(--ease), border-color .3s; }
.post-card:hover { transform: translateY(-5px); border-color: rgba(255,217,62,.5); }
.post-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 22px 24px 26px; }
.post-card time { font-size: .82rem; color: #B07A00; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.post-card h2 { font-size: 1.3rem; margin: 8px 0 8px; font-weight: 600; }
.post-card p { margin: 0; color: var(--slate); font-size: .95rem; }
@media (max-width: 760px) { .posts { grid-template-columns: 1fr; } }

.post { max-width: 76ch; margin-inline: auto; }
.post time { font-size: .82rem; color: #B07A00; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.post h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin-top: 12px; line-height: 1.18; letter-spacing: -.01em; margin-bottom: 14px; }
.post .byline { color: var(--slate); margin: 0; }
.post__hero { aspect-ratio: 16 / 9; margin: 32px 0 44px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
.post-nav a { display: block; padding: 18px 20px; border-radius: 16px; background: var(--surface-soft); border: 1px solid var(--line); color: var(--navy-900); text-decoration: none; font-weight: 600; }
.post-nav a:hover { border-color: rgba(255,217,62,.5); }
.post-nav span { display: block; font-size: .78rem; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.post-nav .next { text-align: right; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { text-align: left; } }

/* CTA card */
.cta-card { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 34px; border-radius: 30px; color: #fff;
  background: linear-gradient(135deg, #FFE27A, #FFD93E); box-shadow: var(--shadow-md); color: #2A1E00; }
.cta-icon { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 21px; color: #2A1E00; background: rgba(255,255,255,.45); border: 1px solid rgba(42,30,0,.1); }
.cta-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cta-card h2 { margin: 0 0 6px; font-size: clamp(1.45rem, 2.3vw, 2.2rem); font-weight: 600; color: #2A1E00; }
.cta-card p { margin: 0; color: rgba(42,30,0,.7); }
.cta-card .button-primary { background: var(--navy-900); color: #fff; }
.cta-card .button-quiet { background: rgba(255,255,255,.7); color: var(--navy-900); border-color: rgba(42,30,0,.12); box-shadow: none; }
.cta-card .actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .cta-card { grid-template-columns: 1fr; } .cta-icon { display: none; } }

/* Footer: the Minimap's structure on cream */
.site-footer { position: relative; background: var(--surface-soft); border-top: 1px solid var(--line); color: var(--navy-900); padding: 70px 0 0; margin-top: 0; overflow: clip; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 34px 24px; }
.footer-brand, .footer-col, .footer-news { flex: 0 1 auto; min-width: 0; }
.footer-logos { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-logo { height: 34px; width: auto; }
.footer-logo-divider { width: 1px; height: 24px; background: var(--line); }
.footer-brand p { color: var(--slate); font-size: .88rem; margin-top: 14px; white-space: nowrap; }
.footer-social { display: flex; gap: 33px; margin-top: 20px; }
.social-btn { width: 43px; height: 43px; display: grid; place-items: center; opacity: .85; transition: transform .25s, opacity .25s; }
.social-btn:hover { opacity: 1; transform: translateY(-2px); }
.social-btn img { width: 43px; height: 43px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-col strong { display: block; margin-bottom: 7px; font-size: 1rem; color: var(--navy-900); }
.footer-col a { color: var(--slate); text-decoration: none; font-size: .84rem; }
.footer-col a:hover { color: var(--navy-900); }
.footer-sister { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; font-weight: 600; }
.footer-sister--vgm { color: var(--purple) !important; }
.footer-sister--itg { color: var(--blue) !important; }
.footer-sister small { font-weight: 400; color: var(--muted); font-size: .76rem; }
.footer-audience-pills { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 6px; }
.footer-audience-pill { display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; line-height: 1; color: var(--slate); }
.footer-news { width: 320px; }
.fn-head { display: flex; align-items: center; gap: 12px; margin-bottom: 0; }
.fn-ic { width: 18px; height: 18px; display: grid; place-items: center; color: #D9D1C0; }
.fn-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fn-head strong { color: var(--navy-900); }
.footer-news small { display: block; color: var(--muted); font-size: .76rem; margin: 0; line-height: 1.6; }
.footer-news .fn-contact { margin-top: 6px; }
.footer-news small a { color: var(--navy-900); }
.footer-cta { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.ft-label { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.footer-cta-row p { margin: 0; color: var(--slate); font-size: .95rem; }
.footer-cta-row .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-cta-row .button { min-height: 44px; padding: 10px 18px; font-size: .9rem; }
.footer-cta-row .button-quiet { background: #fff; border-color: var(--line); box-shadow: none; }
.footer-cta-row p a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-cta-row p a:hover { color: var(--navy-900); }
.footer-bottom { margin-top: 48px; padding-top: 20px; display: grid; grid-template-columns: minmax(280px, 1fr) minmax(220px, 1fr); align-items: flex-start; gap: 20px; color: var(--muted); border-top: 1px solid var(--line); font-size: .77rem; }
.footer-legal { display: flex; flex-direction: column; gap: 8px; }
.footer-credits { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.footer-bottom a { color: var(--slate); text-decoration: underline; }
.footer-wordmark { display: flex; justify-content: center; margin-top: 56px; width: 100%; }
.footer-wordmark img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .footer-grid { display: grid; grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } .footer-news { width: auto; grid-column: 1 / -1; } .footer-bottom { display: flex; flex-direction: column; } .footer-credits { text-align: left; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand p { white-space: normal; } }

/* Misc */
.qr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 28px; margin-top: 40px; }
.qr-grid div { background: var(--surface-soft); border: 1px solid var(--line); border-radius: 22px; padding: 22px; color: var(--navy-900); }
.qr-grid h2 { font-size: 1.1rem; margin: 14px 0 0; font-weight: 600; }
@media (max-width: 700px) { .qr-grid { grid-template-columns: 1fr; } }
.skip { position: fixed; left: 16px; top: -90px; z-index: 1000; background: #fff; color: var(--navy-900); padding: 12px 18px; border-radius: 12px; transition: top .2s; }
.skip:focus { top: 16px; }
.logo-inline { max-width: 340px; margin-bottom: 26px; }

/* Scroll hint: the bouncing arrow pill from the Minimap */
.scroll-hint { position: fixed; left: 50%; bottom: clamp(20px, 4vh, 44px); translate: -50% 0; z-index: 20; width: 84px; height: 40px; border: 0; border-radius: 999px; background: rgba(30,34,44,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; cursor: pointer; animation: scroll-hint-bounce 3.4s ease-in-out infinite; transition: opacity .3s, visibility .3s; }
.scroll-hint:hover { background: rgba(30,34,44,.68); }
.scroll-hint svg { width: 18px; height: 18px; color: #fff; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.scroll-hint.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes scroll-hint-bounce { 0%, 45%, 100% { translate: -50% 0; } 15% { translate: -50% 9px; } 30% { translate: -50% 0; } 38% { translate: -50% 5px; } }
@media (max-width: 900px) { .scroll-hint { width: 68px; height: 34px; bottom: 18px; } .scroll-hint svg { width: 15px; height: 15px; } }

/* ---- Decode section: photo band fading into navy, centered heading, four expanding cards ---- */
.decode { position: relative; z-index: 2; margin-top: -56px; padding: 24px 0 clamp(90px, 10vw, 137px); border-radius: 16px 16px 0 0; background: #FBF8F1; box-shadow: 0 -40px 90px rgba(1,9,24,.35); overflow: clip; }
.decode-bg { position: absolute; top: 0; left: 0; right: 0; height: clamp(520px, 52vw, 640px); z-index: 0; pointer-events: none; overflow: hidden; border-radius: 16px 16px 0 0; }
.decode-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; opacity: 1; }
.decode-bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 100%; background: linear-gradient(to bottom, rgba(255,255,255,.1) 0%, rgba(255,255,255,.25) 15%, rgba(255,255,255,.45) 32%, rgba(255,255,255,.62) 48%, rgba(255,255,255,.78) 62%, rgba(255,255,255,.9) 76%, rgba(255,255,255,.97) 88%, #FFFFFF 100%); }
.decode-hero { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: center; min-height: 0; padding: clamp(80px, 9vw, 120px) 0 clamp(30px, 3.2vw, 46px); }
.section-heading { text-align: center; max-width: 900px; margin: 0 auto; translate: 0 calc((1 - var(--heading-reveal, 1)) * 56px); }
.section-heading h2 { margin: 0; font-family: var(--font-body); font-size: clamp(2.1rem, 3.6vw, 3.1rem); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; color: var(--navy-900); }
.section-heading p { max-width: 640px; margin: 16px auto 0; font-size: clamp(1.05rem, 1.3vw, 1.11rem); line-height: 1.6; color: var(--slate); text-wrap: pretty; }
.decode-inner { position: relative; z-index: 1; margin-top: 28px; }

.fw-grid { display: flex; gap: 14px; height: 560px; align-items: stretch; margin: 0; }
.fw-card { --accent: #FFD93E; --ink1: #1F1D1A; --ink2: rgba(31,29,26,.72); --chip: rgba(31,29,26,.08);
  position: relative; flex: 1 1 0%; min-width: 0; display: flex; flex-direction: column; overflow: hidden; padding: 20px 22px 22px; border-radius: 28px;
  background: #F3EFE6; border: 1px solid var(--line); color: var(--ink1); text-decoration: none; cursor: pointer; box-shadow: var(--shadow-sm); will-change: flex-grow;
  transition: flex-grow .75s cubic-bezier(.16,1,.3,1), background-color .6s ease, color .6s ease, box-shadow .4s ease;
  opacity: max(0, min(1, calc((var(--card-reveal, 1) - 0.5) / 0.5))); translate: 0 calc((1 - var(--card-reveal, 1)) * 220px); }
.fw-grid:hover .fw-card, .fw-grid:focus-within .fw-card, .fw-grid.has-hover .fw-card { flex-grow: .85; }
.fw-card:hover, .fw-card:focus-within, .fw-card.is-hover { flex-grow: 1.6 !important; box-shadow: 0 30px 70px rgba(5,24,52,.28); }
.fw-card.c-habits:hover, .fw-card.c-habits:focus-within, .fw-card.c-habits.is-hover { background: #FFD93E; --ink1: #564500; --ink2: rgba(86,69,0,.8); --chip: rgba(86,69,0,.12); }
.fw-card.c-tech:hover, .fw-card.c-tech:focus-within, .fw-card.c-tech.is-hover { background: #68CA7D; --ink1: #153D1E; --ink2: rgba(21,61,30,.8); --chip: rgba(21,61,30,.12); }
.fw-card.c-social:hover, .fw-card.c-social:focus-within, .fw-card.c-social.is-hover { background: #FF6B6B; --ink1: #620000; --ink2: rgba(98,0,0,.8); --chip: rgba(98,0,0,.12); }
.fw-card.c-gaming:hover, .fw-card.c-gaming:focus-within, .fw-card.c-gaming.is-hover { background: #A259FF; --ink1: #29005D; --ink2: rgba(41,0,93,.8); --chip: rgba(41,0,93,.12); }
.fw-card h3 { flex: none; margin: 0 0 14px; line-height: 0; }
.fw-card h3 img { height: 56px; width: auto; max-width: 100%; display: block; }
.fw-media { position: relative; flex: 1 1 auto; min-height: 0; margin: 0 -22px; border-radius: 20px; background: color-mix(in srgb, var(--accent) 22%, #fff); overflow: hidden; transition: background-color .6s ease; }
.fw-card.c-habits { --accent: #FFD93E; } .fw-card.c-tech { --accent: #68CA7D; } .fw-card.c-social { --accent: #FF6B6B; } .fw-card.c-gaming { --accent: #A259FF; }
.fw-card:hover .fw-media, .fw-card.is-hover .fw-media { background: rgba(255,255,255,.35); }
.fw-media img { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; max-width: none; translate: -50% -50%; object-fit: cover; display: block; }
.fw-desc { flex: none; max-height: 45px; overflow: hidden; margin-top: 14px; transition: max-height .75s cubic-bezier(.16,1,.3,1), margin-top .75s cubic-bezier(.16,1,.3,1); }
.fw-card:hover .fw-desc, .fw-card:focus-within .fw-desc, .fw-card.is-hover .fw-desc { max-height: 108px; margin-top: 16px; }
.fw-desc p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--ink2); transition: color .6s ease; text-wrap: pretty; }
.fw-cta { margin-top: 12px; display: inline-flex; gap: 8px; align-items: center; color: var(--ink1); font-weight: 700; font-size: .86rem; transition: color .6s ease; }
.fw-cta .explore-arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--chip); transition: transform .2s, background-color .6s ease; }
.fw-card:hover .explore-arrow, .fw-card.is-hover .explore-arrow { transform: translateX(3px); }
.fw-cta svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--ink1); }
@media (max-width: 900px) {
  .fw-grid { flex-direction: column; height: auto; gap: 16px; margin: 0; }
  .fw-card { flex: none; height: 320px; opacity: 1; translate: none; }
  .fw-desc { max-height: none; }
  .fw-card h3 img { height: 48px; }
  .section-heading { translate: none; }
}
@media (prefers-reduced-motion: reduce) { .fw-card { opacity: 1; translate: none; } .section-heading { translate: none; } }

/* Light page heads: bare nav over a light background needs dark text and the black logo */
html[data-nav="light"] .site-header:not(.is-compact) .nav-link, html[data-nav="light"] .site-header:not(.is-compact) .nav summary { color: var(--navy-900); }
html[data-nav="light"] .site-header:not(.is-compact) .nav-link::after, html[data-nav="light"] .site-header:not(.is-compact) .nav summary::after { background: linear-gradient(90deg, var(--yellow), var(--yellow-deep)); }
html[data-nav="light"] .site-header:not(.is-compact) .brand .brand-white { display: none; }
html[data-nav="light"] .site-header:not(.is-compact) .brand .brand-black { display: block; }
.section--light { border-top: 1px solid var(--line); }

/* Modal, after the Minimap's Sources window */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; padding: 24px; display: grid; place-items: center; background: rgba(31,29,26,.62); -webkit-backdrop-filter: blur(18px) saturate(120%); backdrop-filter: blur(18px) saturate(120%); }
.modal-backdrop[hidden] { display: none; }
.modal { width: min(720px, 100%); max-height: min(850px, calc(100vh - 48px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; padding: 26px; background: #FBF8F1; border: 1px solid var(--line); box-shadow: 0 40px 120px rgba(0,0,0,.42); }
.modal-wide { width: min(1260px, 100%); max-height: min(900px, calc(100vh - 48px)); }
.modal-header { flex: none; display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.modal-header small { color: #B07A00; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .7rem; }
.modal-header h2 { margin: 5px 0 0; font-size: 2rem; letter-spacing: -.012em; }
.icon-button { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface-soft); color: var(--navy-900); cursor: pointer; }
.icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.modal-intro { flex: none; color: var(--slate); margin: 14px 0 0; font-size: 1.05rem; }
.modal-content { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; color: var(--slate); padding-right: 4px; }
.modal-content .logos { margin-top: 26px; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.modal-content .logos li { min-height: 96px; padding: 14px 16px; border-radius: 16px; }
.modal-content .logos img { max-height: 56px; }
@media (max-width: 900px) { .modal-content .logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .modal-content .logos { grid-template-columns: repeat(2, 1fr); } }
.modal-footer { flex: none; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; }
@media (max-width: 700px) { .modal-backdrop { padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); } .modal { border-radius: 22px; padding: 20px; max-height: calc(100dvh - 16px - env(safe-area-inset-bottom)); } .modal-footer .button { flex: 1; justify-content: center; } }

/* Team section: near-black with the photo fading out gradually; the quote lives at the bottom */
.team-section { overflow: clip; background: #141210; color: #fff; padding-bottom: clamp(80px, 9vw, 130px); }
.team-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.team-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: .38; }
.team-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.75) 0%, rgba(20,18,16,.3) 20%, rgba(20,18,16,.3) 38%, rgba(20,18,16,.5) 50%, rgba(20,18,16,.72) 60%, rgba(20,18,16,.88) 70%, rgba(20,18,16,.97) 80%, #141210 90%, #141210 100%); }
.team-section .wrap { position: relative; z-index: 1; }
.team-section .section-heading h2 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.team-section .section-heading p { color: rgba(255,255,255,.85); text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.team-quote { margin-top: clamp(72px, 9vw, 120px); max-width: 60ch; }
.team-quote blockquote { font-size: clamp(1.4rem, 2.4vw, 2rem); color: #fff; }
.team-quote cite { color: rgba(255,255,255,.7); }
.team-quote cite a { color: #fff; }
.team-quote .quote-mark { color: var(--yellow); }
/* Team cards, after the Minimap's methodology cards */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; max-width: 1100px; margin: 44px auto 0; }
.team-card { display: block; min-height: 150px; background: rgba(30,27,24,.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: clamp(22px, 2.4vw, 30px); color: #fff; text-decoration: none; opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease, background-color .25s ease, border-color .25s ease; }
.team-grid.is-in .team-card { opacity: 1; transform: translateY(0); }
.team-card:nth-child(1) { transition-delay: 0ms; } .team-card:nth-child(2) { transition-delay: 70ms; } .team-card:nth-child(3) { transition-delay: 140ms; } .team-card:nth-child(4) { transition-delay: 210ms; } .team-card:nth-child(5) { transition-delay: 280ms; } .team-card:nth-child(6) { transition-delay: 350ms; }
.team-grid.is-in a.team-card:hover, .team-grid.is-in a.team-card:focus-visible { background: var(--yellow); border-color: var(--yellow); transform: translateY(0) scale(1.035); color: #2A1E00; }
.team-card h3 { margin: 0 0 10px; font-family: var(--font-body); font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; color: inherit; }
.team-card p { margin: 0; font-size: .94rem; line-height: 1.58; color: rgba(255,255,255,.66); transition: color .25s ease; }
a.team-card:hover p { color: rgba(42,30,0,.8); }
.team-card--empty { background: rgba(255,255,255,.06); border-style: dashed; border-color: rgba(255,255,255,.3); }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } .team-card { opacity: 1; transform: none; transition: none; min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .team-card { opacity: 1; transform: none; transition: none; } }

/* Quote carousel: manual, swipeable, with arrows and dots */
.quote-carousel { position: relative; margin: clamp(72px, 9vw, 120px) auto 0; max-width: 980px; text-align: center; }
.quote-carousel .quote-mark { color: var(--yellow); margin-bottom: 18px; }
.qc-viewport { overflow: hidden; cursor: grab; touch-action: pan-y; }
.qc-viewport:active { cursor: grabbing; }
.qc-track { display: flex; list-style: none; margin: 0; padding: 0; transition: transform .55s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.qc-slide { flex: 0 0 100%; min-width: 0; padding: 0 12px; box-sizing: border-box; user-select: none; }
.qc-slide blockquote { margin: 0 auto; max-width: 62ch; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.qc-slide cite { display: block; margin-top: 22px; font-style: normal; font-size: .95rem; color: rgba(255,255,255,.7); }
.qc-slide cite a { color: #fff; }
.qc-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 34px; }
.qc-arrow { width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.qc-arrow:hover { background: var(--yellow); border-color: var(--yellow); color: #2A1E00; transform: translateY(-1px); }
.qc-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qc-dots { display: flex; gap: 16px; }
.qc-dot { width: 6px; height: 6px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: background .2s, transform .2s; position: relative; }
.qc-dot::before { content: ""; position: absolute; inset: -8px; }
.qc-dot.is-active { background: var(--yellow); transform: scale(1.35); }
.qc-dot:hover { background: rgba(255,255,255,.6); }
@media (max-width: 560px) { .qc-controls { gap: 12px; } .qc-arrow { width: 42px; height: 42px; } }

/* Announcement card glow, after the Minimap's "See a real report first" card:
   a blurred conic halo washes across right-to-left, turns once, and fades (the arrival),
   while a thin ring of the same gradient keeps turning around the edge. Repeats every 10s. */
@property --an-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@property --an-wash { syntax: '<percentage>'; initial-value: 100%; inherits: false; }
.announce { position: relative; isolation: isolate; overflow: visible; }
.announce::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #FBF8F1; }
.an-halo { position: absolute; inset: -60px; z-index: -1; opacity: 0; pointer-events: none; border-radius: inherit;
  -webkit-mask-image: linear-gradient(to right, transparent calc(var(--an-wash) - 38%), #000 var(--an-wash)); mask-image: linear-gradient(to right, transparent calc(var(--an-wash) - 38%), #000 var(--an-wash));
  animation: anHaloWash 20s ease-out infinite, anHaloTurn 20s linear infinite, anHaloFade 20s ease-out infinite; }
.an-halo::before { content: ""; position: absolute; inset: 60px; border-radius: var(--radius-sm); filter: blur(26px);
  background: conic-gradient(from var(--an-angle), #FFD93E, #FFB03A, #FF8A3D, #FFB03A, #FFD93E, #FFC24A, #FFD93E); }
.an-ring { position: absolute; inset: -1.5px; z-index: 1; border-radius: calc(var(--radius-sm) + 1.5px); padding: 2px; pointer-events: none; opacity: 0; filter: blur(1px);
  background: conic-gradient(from var(--an-angle), #FFD93E, #FFB03A, #FF8A3D, #FFB03A, #FFD93E, #FFC24A, #FFD93E);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: anRingTurn 2.6s linear infinite, anRingFade 20s ease-out infinite; }
/* 10s cycle: wash 0-7%, halo lit 1.4-6%, faded by 18%, idle to 100% */
@keyframes anHaloWash { 0% { --an-wash: 104%; } 3.5% { --an-wash: -42%; } 100% { --an-wash: -42%; } }
@keyframes anHaloTurn { 0% { --an-angle: 0deg; } 9% { --an-angle: 360deg; } 100% { --an-angle: 360deg; } }
@keyframes anHaloFade { 0% { opacity: 0; } .7% { opacity: .95; } 3.1% { opacity: .9; } 9% { opacity: 0; } 100% { opacity: 0; } }
@keyframes anRingFade { 0% { opacity: 0; } 1% { opacity: .9; } 9% { opacity: .9; } 12% { opacity: 0; } 100% { opacity: 0; } }
@keyframes anRingTurn { to { --an-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) { .an-halo { display: none; } .an-ring { animation: none; } }

/* ---- Interior pages: thin white bar that becomes the permanav ---- */
html[data-layout="thin"] { --promo-bar-height: 0px; }
html[data-layout="thin"] .site-header { margin-top: 0; padding-top: 0; }
html[data-layout="thin"] .site-header.is-compact { padding-top: 8px; }
html[data-layout="thin"] .header-shell { width: 100%; min-height: 60px; padding: 6px 28px; border-radius: 0; background: #fff; border-color: transparent; box-shadow: 0 1px 0 rgba(15,23,42,.08); transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, min-height .4s var(--ease), width .4s var(--ease), border-radius .4s var(--ease), padding .4s var(--ease); }
html[data-layout="thin"] .site-header:not(.is-compact) .nav-link, html[data-layout="thin"] .site-header:not(.is-compact) .nav summary { color: #151922; }
html[data-layout="thin"] .site-header:not(.is-compact) .nav-link::after, html[data-layout="thin"] .site-header:not(.is-compact) .nav summary::after { background: linear-gradient(90deg, var(--yellow), var(--yellow-deep)); }
html[data-layout="thin"] .site-header:not(.is-compact) .nav--cta .nav-link::after { background: linear-gradient(90deg, var(--cyan), var(--purple)); }
html[data-layout="thin"] .site-header:not(.is-compact) .brand .brand-white { display: none; }
html[data-layout="thin"] .site-header:not(.is-compact) .brand .brand-black { display: block; }
html[data-layout="thin"] .site-header:not(.is-compact) .brand img { height: 36px; }
html[data-layout="thin"] .site-header:not(.is-compact) .nav--cta .button-primary { background: var(--yellow); color: #2A1E00; box-shadow: none; }
html[data-layout="thin"] .site-header:not(.is-compact) .nav-toggle { border-color: rgba(42,30,0,.25); background: rgba(0,0,0,.06); }
html[data-layout="thin"] .site-header:not(.is-compact) .nav-toggle span { background: #151922; }
html[data-layout="thin"] .site-header.is-compact .header-shell { width: var(--page); min-height: 74px; padding: 10px 14px 10px 22px; border-radius: 16px; }
html[data-layout="thin"] .hero, html[data-layout="thin"] .hero--plain { margin-top: 0; border-radius: 0; }
html[data-layout="thin"] .hero { padding-top: 90px; min-height: max(520px, calc(100vh - 60px)); }
html[data-layout="thin"] .hero--short { min-height: max(440px, 62vh); }
html[data-layout="thin"] .hero--plain { padding-top: 80px; }
@media (max-width: 899px) { html[data-layout="thin"] .hero, html[data-layout="thin"] .hero--plain { padding-top: 70px; } html[data-layout="thin"] .header-shell { padding: 6px 16px; } }

/* ---- Interior page head: headline styled like section headings, on a yellow/orange gradient ---- */
.page-head { position: relative; padding: 88px 0; min-height: 300px; display: grid; align-items: center; color: var(--navy-900); overflow: hidden; isolation: isolate; background: #FFC93C; }
.page-head .section-heading { width: var(--page); justify-self: center; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 90% at 8% 100%, #FF8A2E 0%, rgba(255,138,46,0) 60%),
    radial-gradient(55% 80% at 95% 0%, #FFE468 0%, rgba(255,228,104,0) 60%),
    radial-gradient(50% 70% at 75% 110%, #FFAE3C 0%, rgba(255,174,60,0) 65%),
    linear-gradient(115deg, #FFD93E 0%, #FFC13A 45%, #FF9A3C 100%); }
.page-head .section-heading { translate: none; max-width: 960px; }
.page-head h1 { margin: 0; font-family: var(--font-body); font-size: clamp(2.1rem, 3.6vw, 3.1rem); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; color: var(--navy-900); text-wrap: balance; }
.page-head p { max-width: 640px; margin: 16px auto 0; font-size: clamp(1.05rem, 1.3vw, 1.11rem); line-height: 1.6; color: rgba(31,29,26,.82); text-wrap: pretty; }
.page-head .btn-row { justify-content: center; margin-top: 26px; }
.page-head .button-primary { background: var(--navy-900); color: #fff; box-shadow: none; }
.page-head .button-primary:hover { background: #000; }
.page-head .button-quiet { background: rgba(255,255,255,.55); color: var(--navy-900); border-color: rgba(31,29,26,.12); box-shadow: none; }
.page-head .button-quiet:hover { background: rgba(255,255,255,.8); }
.page-head + .section { padding-top: 56px; }
@media (max-width: 899px) { .page-head { padding: 56px 0; min-height: 0; } }

/* widows */
.prose p, .lede, .card p, .program p, .section-heading p, .page-head p, .footer-cta-row p { text-wrap: pretty; }
.section-heading--eyebrow { translate: none; margin-bottom: 40px; }
.section-heading .eyebrow { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); margin: 0; }
.section-heading .eyebrow + h2 { margin-top: 10px; }
/* photo-backed centered copy section (VGM sources-style) */
.photo-section { position: relative; overflow: clip; background: #141210; color: #fff; padding: clamp(96px, 11vw, 150px) 0; display: grid; align-items: center; justify-items: center; min-height: 520px; }
.photo-section .section-heading { margin: 0 auto; }
.photo-section-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.photo-section-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; opacity: .42; }
.photo-section-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.85) 0%, rgba(20,18,16,.45) 30%, rgba(20,18,16,.45) 60%, rgba(20,18,16,.9) 100%); }
.photo-section-copy { position: relative; z-index: 1; margin-bottom: 0; max-width: 960px; }
.photo-section-copy h2 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.photo-section-copy p { color: rgba(255,255,255,.86); text-shadow: 0 1px 14px rgba(0,0,0,.4); max-width: 860px; font-size: clamp(1.08rem, 1.4vw, 1.2rem); line-height: 1.6; }
.photo-section-copy p + p { margin-top: 14px; }
.photo-section-copy a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.photo-section-copy strong { color: #fff; }
html .site-header .nav--cta .nav-link::after { background: linear-gradient(90deg, var(--cyan), var(--purple)) !important; }
.bio-actions { margin-top: 22px; }
/* sticky photo section with the next section sliding over it */
main > .photo-section--sticky:not(.hero) { position: sticky; top: 0; z-index: 0; }
.photo-section--sticky .photo-section-bg, .photo-section--sticky .photo-section-copy { transition: opacity .15s linear; }
main > .takeover { position: relative; z-index: 2; margin-top: -56px; border-radius: 16px 16px 0 0; background: #fff; box-shadow: 0 -12px 40px rgba(0,0,0,.18); padding-top: clamp(72px, 8vw, 110px); }

/* no button shadows anywhere */
.button, .button:hover, .button:focus-visible, .button:active, .promo-bar-search .button, .nav--cta .button, .fn-form button { box-shadow: none !important; }
/* anchors land clear of the permanav */
[id] { scroll-margin-top: 110px; }
.program[id] { scroll-margin-top: 120px; }
/* page head with a photo instead of the gradient */
.page-head--photo { background: #141210; color: #fff; padding: 96px 0; }
.page-head--photo::before, .page-head--photo::after { display: none; }
.page-head-photo { position: absolute; inset: 0; z-index: -1; }
.page-head-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.page-head-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.55) 0%, rgba(20,18,16,.25) 40%, rgba(20,18,16,.65) 100%); }
.page-head--photo h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.page-head--photo p { color: rgba(255,255,255,.9); text-shadow: 0 1px 16px rgba(0,0,0,.45); }
.page-head--photo .button-primary { background: var(--yellow); color: #2A1E00; }
.page-head--photo .button-primary:hover { background: #FFE067; }
.page-head--photo .section-heading { text-align: left; margin: 0 auto; max-width: 72ch; padding-left: 0; font-size: 16.32px; }
.page-head--photo h1 { max-width: 560px; }
.page-head--photo p { margin-left: 0; max-width: 560px; }
.page-head--photo .btn-row { justify-content: flex-start; }
.page-head-photo img { object-position: 62% 30%; }
.page-head-photo::after { background: linear-gradient(90deg, rgba(20,18,16,.62) 0%, rgba(20,18,16,.28) 42%, rgba(20,18,16,0) 65%), linear-gradient(180deg, rgba(20,18,16,.18) 0%, rgba(20,18,16,0) 35%, rgba(20,18,16,.22) 100%); }
.page-head-photo img { filter: brightness(1.08) contrast(1.02); }
@media (max-width: 899px) { .page-head--photo .section-heading { padding-left: 0; } }
/* speaker page layout: copy aligned with the permanav's left edge */
.page-head--photo .section-heading { max-width: none; margin: 0 auto; padding-left: 22px; font-size: inherit; }
.feature--copy-left { padding-left: 22px; align-items: start; }
.feature--copy-left .prose { max-width: 60ch; }
.feature--copy-left .prose > :first-child { margin-top: 0; }
.topic-card { background: var(--surface-soft); border: 1px solid var(--line); border-radius: 24px; padding: 32px 34px; }
.topic-card h2 { margin: 0 0 16px; font-size: 1.35rem; }
.topic-card ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 14px; }
.topic-card li { padding-left: 0; color: var(--slate); line-height: 1.55; }
.topic-card li strong { color: var(--navy-900); }
.photo--square { aspect-ratio: 1 / 1; width: 100%; max-width: none; justify-self: stretch; }
.photo--square img { width: 100%; height: 100%; object-fit: cover; }
.speaker-books .prose h2 { margin-top: 0; }
@media (max-width: 899px) { .feature--copy-left { padding-left: 0; } .photo--square { justify-self: start; } }
/* no image shadows */
.photo, .section--light .photo, .section--soft .photo, .photo--square, .post__hero, .photo img, .logo-inline, .program__icon, .team-card img, .card img, .xlinks a, .footer-logo { box-shadow: none !important; }
main > .page-head--sticky:not(.hero) { position: sticky; top: 0; z-index: 0; }
.page-head--sticky .page-head-photo, .page-head--sticky .section-heading { transition: opacity .15s linear; }
.page-head--sticky .page-head-photo { z-index: 0; }
.page-head--sticky .section-heading { position: relative; z-index: 1; }
/* blog posts: align to the permanav's margins */
.wrap.post { max-width: none; margin-inline: auto; }
.post > time, .post > h1, .post > .byline, .post > .prose, .post > .post-nav { margin-left: 22px; margin-right: 22px; }
.post > h1 { max-width: 20ch; }
.post > .prose { max-width: 72ch; }
.post__hero { width: 100%; margin: 32px 0 44px; aspect-ratio: 21 / 9; }
.post__hero img { width: 100%; height: 100%; object-fit: cover; }
.post-nav { max-width: none; }
@media (max-width: 899px) { .post > time, .post > h1, .post > .byline, .post > .prose, .post > .post-nav { margin-left: 0; margin-right: 0; } .post__hero { aspect-ratio: 16 / 9; } }
/* blog post: copy left, image right */
.post > .post-body { margin: 36px 22px 0; display: grid; grid-template-columns: minmax(0, 62ch) minmax(280px, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.post-body .prose { max-width: 62ch; }
.post-body .post__hero { margin: 0; aspect-ratio: auto; position: sticky; top: 110px; }
.post-body .post__hero img { height: auto; object-fit: contain; display: block; }
@media (max-width: 899px) { .post > .post-body { margin: 28px 0 0; grid-template-columns: 1fr; } .post-body .post__hero { position: static; order: -1; } }
.post-body .post__hero { border: 1px solid var(--line); }
.page-head--photo { min-height: 656px; }
@media (max-width: 899px) { .page-head--photo { min-height: 480px; } }

/* ---- Tracks (session menu) ---- */
.tracks-section .section-heading, .tiers-section .section-heading { margin-bottom: 44px; }
.tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.track { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 28px 30px 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.track-num { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, var(--yellow), var(--yellow-deep)); color: #2A1E00; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.track h3 { margin: 4px 0 2px; font-size: 1.22rem; }
.track-aud { margin: 0 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #B07A00; }
.track p { margin: 0; color: var(--slate); line-height: 1.6; }
@media (max-width: 760px) { .tracks { grid-template-columns: 1fr; } .track { grid-template-columns: 44px 1fr; padding: 22px; } .track-num { width: 44px; height: 44px; } }

/* ---- Pricing tiers ---- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.tier { display: flex; flex-direction: column; padding: 32px 30px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 24px; }
.tier--featured { background: #1F1D1A; color: #fff; border-color: #1F1D1A; }
.tier-kicker { margin: 0 0 10px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #B07A00; }
.tier--featured .tier-kicker { color: var(--yellow); }
.tier h3 { margin: 0 0 8px; font-size: 1.35rem; }
.tier--featured h3 { color: #fff; }
.tier-format { margin: 0 0 18px; color: var(--slate); font-size: .95rem; line-height: 1.5; min-height: 2.9em; }
.tier--featured .tier-format { color: rgba(255,255,255,.72); }
.tier-price { margin: 0 0 20px; font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; letter-spacing: -.02em; color: var(--navy-900); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tier--featured .tier-price { color: #fff; }
.tier-price small { font-family: var(--font-body); font-size: .8rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.tier--featured .tier-price small { color: rgba(255,255,255,.6); }
.tier ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; color: var(--slate); line-height: 1.55; flex: 1; }
.tier--featured ul { color: rgba(255,255,255,.82); }
.tier li { position: relative; padding-left: 22px; }
.tier li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--yellow), var(--yellow-deep)); }
.tier .button { align-self: flex-start; }
.tier--featured .button-primary { background: var(--yellow); color: #2A1E00; }
.tiers-note { margin: 26px auto 0; max-width: 760px; text-align: center; color: var(--slate); font-size: .95rem; }
.tiers-note a { color: var(--navy-900); }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; } .tier-format { min-height: 0; } }
.h-std { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -.025em; margin-bottom: .5em; }

/* eyebrows everywhere match VGM: Title Case, gray, tracked, no line */
.kicker, .card .eyebrow, .eyebrow { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: none; color: var(--muted); margin: 0 0 6px; }
.kicker::before { display: none; }
.card .eyebrow + h3 { margin-top: 0; }
/* quiet buttons go yellow on hover */
.button-quiet:hover, .section--light .button-quiet:hover, .section--soft .button-quiet:hover, .page-head .button-quiet:hover, .footer-cta-row .button-quiet:hover { background: var(--yellow); border-color: var(--yellow); color: #2A1E00; }
/* sections after a pinned head must paint over it */
main > .section:not(.section--light):not(.photo-section):not(.team-section):not(.section--raised) { background: #fff; }
main > .takeover ~ * { position: relative; z-index: 2; }
/* program subpages: three programs in one row */
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.program--col { grid-template-columns: 1fr; gap: 18px; margin-top: 0; padding: 28px; }
.program--col .program__icon { width: 84px; border-radius: 0; }
.program--col .program__icon { border-radius: 0 !important; }
.program-actions { margin-top: 28px; }
.program-actions + .howto { margin-top: 28px; }
@media (max-width: 900px) { .program-grid { grid-template-columns: 1fr; } }
.group-pointer { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 32px 36px; border-radius: 24px; background: var(--surface-soft); border: 1px solid var(--line); }
.group-pointer h2 { margin: 6px 0 8px; }
.group-pointer p:last-child { margin: 0; color: var(--slate); max-width: 88ch; }
@media (max-width: 760px) { .group-pointer { grid-template-columns: 1fr; } }
.xlinks h3, .xlinks a h3 { color: #fff !important; }
.program--col { align-content: start; grid-template-rows: auto 1fr; }
.tiers-note--top { margin: -16px 0 28px; padding: 18px 24px; max-width: none; background: #FFF8D6; border: 1px solid #F3E39A; border-radius: 16px; color: var(--slate); font-size: clamp(1.05rem, 1.3vw, 1.11rem); line-height: 1.6; text-align: center; }
.tiers-note--top strong { color: var(--navy-900); }
/* balanced headline lines (no one-word last lines) */
.section-heading h2, .page-head h1, .tier h3, .track h3 { text-wrap: balance; }
/* smaller Also See labels */
.xlinks h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; left: 22px; bottom: 18px; }
.tier li, .tier-format, .track p, .tiers-note, .group-pointer p, .howto p, .topic-card li, .testimonial blockquote, .post-card p { text-wrap: pretty; }
.tier-bundle { margin-top: 18px; display: grid; grid-template-columns: 1fr auto; gap: 6px 28px; align-items: center; padding: 24px 30px; border-radius: 24px; border: 1px dashed #E3C766; background: #fff; }
.tier-bundle .eyebrow { grid-column: 1; margin: 0; }
.tier-bundle p:not(.eyebrow) { grid-column: 1; margin: 0; color: var(--slate); line-height: 1.6; text-wrap: pretty; }
.tier-bundle p strong { color: var(--navy-900); }
.tier-bundle .button { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 760px) { .tier-bundle { grid-template-columns: 1fr; } .tier-bundle .button { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 10px; } }
.tier-bundle { background: var(--surface-soft); border: 1px solid var(--line); }
.section--raised:has(+ .group-section) { padding-bottom: 0; }
main > .group-section { padding-top: 18px; background: #fff; }
/* interior pages: 3D logo in the white bar, flat logo once it becomes the permanav */
.brand .brand-3d { display: none; }
html[data-layout="thin"] .site-header:not(.is-compact) .brand .brand-white,
html[data-layout="thin"] .site-header:not(.is-compact) .brand .brand-black { display: none; }
html[data-layout="thin"] .site-header:not(.is-compact) .brand .brand-3d { display: block; height: 48px; width: auto; }
html[data-layout="thin"] .site-header:not(.is-compact) .header-shell { min-height: 68px; }
@media (max-width: 899px) { html[data-layout="thin"] .site-header:not(.is-compact) .brand .brand-3d { height: 40px; } }
/* ---- Sticky section bar (On this page) ---- */
main > .subnav { position: sticky; top: 86px; z-index: 40; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
main > .subnav.takeover { margin-top: -56px; border-radius: 16px 16px 0 0; box-shadow: none; padding-top: 0; }
main > .subnav.is-stuck { border-radius: 0; }
.subnav-inner { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 12px 22px; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav-label { flex: none; margin-right: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.subnav a { position: relative; flex: none; padding: 9px 14px; border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--slate); text-decoration: none; transition: color .2s, background .2s; }
.subnav a:hover { color: var(--navy-900); background: var(--surface-soft); }
.subnav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--yellow), var(--yellow-deep)); transform: scaleX(0); transition: transform .3s var(--ease); }
.subnav a.is-active { color: var(--navy-900); }
.subnav a.is-active::after { transform: scaleX(1); }
main > .section.has-subnav { position: relative; z-index: 2; border-radius: 0; box-shadow: none; }
#programs, #how-it-works, #tracks, #tiers, #bundle, #also-see { scroll-margin-top: 160px; }
@media (max-width: 899px) { main > .subnav { top: 76px; } .subnav-label { display: none; } .subnav-inner { padding: 10px 12px; } }
.nw { white-space: nowrap; }
#about, #topics, #who-books { scroll-margin-top: 160px; }
.program h3, .card h3, .track h3, .tier h3, .topic-card h2, .h-std { line-height: 1.2; }
.footer-news { display: flex; flex-direction: column; gap: 14px; }
.fn-head strong { font-size: 1rem; font-weight: 700; }
/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: min(520px, calc(100% - 32px)); padding: 16px 20px; border-radius: 16px; background: #1F1D1A; color: #fff; box-shadow: 0 14px 40px rgba(0,0,0,.25); transition: opacity .3s ease, transform .3s ease; display: grid; gap: 4px; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast strong { color: var(--yellow); }
.toast span { color: rgba(255,255,255,.85); font-size: .95rem; line-height: 1.5; }
/* tool pages: linked logos, bordered screenshots */
.logo-link { display: inline-block; margin-bottom: 22px; transition: transform .25s var(--ease); }
.logo-link:hover { transform: translateY(-2px); }
.tool-section .logo-inline { display: block; height: auto; width: 260px; max-width: 100%; margin: 0; }
.tool-section .photo { display: block; border: 1px solid var(--line); }
.tool-section .muted a { color: var(--navy-900); }
.tool-section h2 { margin-top: 0; }
/* match the G marks: both G blocks render 96px tall */
.tool-section .logo-inline { width: auto; }
.tool-section .logo-inline[src*="vgm-logo-lg"] { height: 113px; }
.tool-section .logo-inline[src*="itg-logo-lg"] { height: 110px; }
/* both screenshots the same size */
.tool-section .feature { grid-template-columns: 1fr 1fr; }
.tool-section .photo { aspect-ratio: 1800 / 1017; }
.tool-section .photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .tool-section .feature { grid-template-columns: 1fr; } .tool-section .logo-inline[src*="vgm-logo-lg"] { height: 85px; } .tool-section .logo-inline[src*="itg-logo-lg"] { height: 83px; } }

/* Minimap page: sample report buttons + tight image corners */
.tool-section .btn-row { flex-wrap: wrap; gap: 12px; }
.button-dl { color: #fff !important; box-shadow: none; gap: 8px; }
.button-dl--vgm { background: var(--purple); }
.button-dl--vgm:hover { background: #8E45F2; }
.button-dl--itg { background: var(--blue); }
.button-dl--itg:hover { background: #2563EB; }
.tool-section .photo, .tool-section .photo img { border-radius: 16px; }

/* Footer wordmark: soft tint + VGM-style entrance */
.footer-wordmark img { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.footer-wordmark.is-in img { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .footer-wordmark img { opacity: 1; transform: none; transition: none; } }

/* Home team grid: 3 on top, 2 centered below */
@media (min-width: 901px) {
  .team-grid { grid-template-columns: repeat(6, 1fr); }
  .team-grid .team-card { grid-column: span 2; }
  .team-grid .team-card:nth-child(4) { grid-column: 2 / span 2; }
}

/* Programs page: audience label as big as the program title */
.card .card-aud { margin: 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; color: var(--navy-900); }

/* Mobile polish */
@media (max-width: 1080px) { .nav-toggle { margin-left: auto; } }
@media (max-width: 900px) {
  :root { --promo-bar-height: 128px; }
  html[data-layout="thin"] { --promo-bar-height: 0px; }
  .promo-bar-right:empty { display: none; }
}
@media (max-width: 1080px) { .header-shell:has(.nav.is-open) { background: #fff !important; } }
@media (max-width: 899px) { .page-head-photo::after { background: linear-gradient(180deg, rgba(20,18,16,.62) 0%, rgba(20,18,16,.55) 50%, rgba(20,18,16,.72) 100%); } }

/* Programs page: audience label on the dimmed photo */
.card-photo--label { position: relative; }
.card-photo--label img { filter: brightness(.82); }
.card-photo--label::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,0) 40%, rgba(20,18,16,.6) 100%); pointer-events: none; }
.card-photo-label { position: absolute; left: 20px; bottom: 16px; z-index: 1; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.1; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
/* Programs page: card copy lines up with the label on the photo */
.card:has(.card-photo--label) > :not(.card-photo) { margin-left: 14px; margin-right: 14px; }
.card:has(.card-photo--label) > .button { align-self: flex-start; }
