/* =====================================================================
   Arena — riso-theme.css  (design system layer, loaded after styles.css
   on EVERY page). All riso-print styling lives here; see DESIGN.md.
   ===================================================================== */
:root {
  --ink:        #0B1A4A;   /* navy ink (primary) */
  --ink-2:      #2F55A8;   /* bright blue ink (second drum) */
  --paper-hi:   #FFFFFF;   /* clean paper: hero, seal disc */
  --riso-tint:  url(/art/riso-tint.png);   /* 2x tile, 256 css px, same screen as the hero */
  --riso-dots:  url(/art/riso-hl.png);     /* marker halftone, 6 css px */
}

/* ---------- 1. Paper ------------------------------------------------
   Light beige surfaces carry a faint two-ink halftone tint (same angle and
   pitch as the hero print). Darker beige surfaces and cards stay clean.   */
body, .partners { background-image: var(--riso-tint); background-size: 256px 256px; }

/* ---------- 2. Heroes ----------------------------------------------- */

.hero-full { background: var(--paper-hi); }
/* inner pages: a still riso print behind the title (data-riso-field="static") */
.hero, .curr-hero { position: relative; overflow: hidden; }
.hero > .container, .curr-hero > .container { position: relative; z-index: 2; }
.hero > .hero-bg, .curr-hero > .hero-bg { position: absolute; inset: 0; z-index: 0; }

/* ---------- 3. Titles: firm ink so they read over print ---------------- */
.hero-riso-h1, .hero:not(.zl-hero) h1, .curr-hero h1 { font-weight: 500; color: var(--ink); letter-spacing: -0.028em; }
.hero-riso-h1 em, .hero:not(.zl-hero) h1 em, .curr-hero h1 em { font-weight: 500; color: var(--ink-2); }
.hero:not(.zl-hero) .lede, .hero:not(.zl-hero) .sub, .curr-hero .thesis, .hero-riso-copy .lede { color: #26304F; }

/* ---------- 4. Eyebrow labels: a solid ink chip with a riso misregistration --- */
.eyebrow { color: var(--paper-hi); background: var(--ink); font-weight: 600; padding: .5em .85em .45em; border-radius: 2px;
  box-shadow: none; line-height: 1.2; gap: 8px; }
.eyebrow::before { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2); box-shadow: 0 0 0 1.5px var(--paper-hi); }
 .footer .eyebrow, [class*="dark"] .eyebrow { color: var(--ink); background: var(--paper-hi); box-shadow: none; }

/* ---------- 5. Keywords (.rh): blue ink + halftone marker that prints in ---- */
.rh { position: relative; z-index: 0; white-space: nowrap; font-style: italic; font-weight: 600; color: var(--ink-2); padding: 0 .06em;
  transition: color .5s ease var(--rh-d, .6s); }
.rh::after { content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .02em; height: .42em; z-index: -1;
  background: var(--riso-dots) 0 0 / 6px 6px repeat; clip-path: inset(0 0 0 0);
  transition: clip-path .75s cubic-bezier(.65,.05,.25,1) var(--rh-d, .6s); }
h1 .rh, .hero-riso-h1 .rh { font-weight: 500; }
h1 .rh::after, .hero-riso-h1 .rh::after { height: .34em; bottom: .06em; }
/* staggered print-in when the text block is revealed */
.rh:nth-of-type(1) { --rh-d: .55s; } .rh:nth-of-type(2) { --rh-d: .75s; } .rh:nth-of-type(3) { --rh-d: .95s; }
.rh:nth-of-type(4) { --rh-d: 1.15s; } .rh:nth-of-type(5) { --rh-d: 1.35s; }
.reveal:not(.in) .rh, .reveal:not(.in).rh { color: inherit; }
.reveal:not(.in) .rh::after, .reveal:not(.in).rh::after { clip-path: inset(0 100% 0 0); }
/* hover: the marker re-prints */
@keyframes rh-reprint { 0% { clip-path: inset(0 100% 0 0); } 100% { clip-path: inset(0 0 0 0); } }
.rh:hover::after { animation: rh-reprint .6s cubic-bezier(.65,.05,.25,1); }
@media (prefers-reduced-motion: reduce) {
  .rh, .rh::after { transition: none !important; animation: none !important; clip-path: none !important; }
}

/* eyebrow chips never collapse to a block (fixes the dot sitting on top of the text) */
.eyebrow { display: inline-flex !important; align-items: center; width: max-content !important; max-width: 100%; justify-self: start; align-self: start; }
.eyebrow::before { flex: none; }

/* ---------- 6. Contact promises: three readable ink-checked items ---------- */

/* ---------- 7. Quiet paper behind graphics and forms ----------
   The riso tint is decoration; wherever the reader has to parse something
   (timelines, steps, stats, cards, forms), the paper is plain beige.     */
.partners,
section:has(.timeline, .structure-row, .fp-ladder, .fp-rhythm, .fp-triptych, .cascade-list, .glance-grid, .stat-bar,
  .zl-stat-grid, .artifact-grid, .zl-card, .zl-career-grid, .way-list, .humans-grid, .tm-grid, .cohort-form, .principle) {
  background-color: var(--bg-paper); background-image: none;
}
section.section-alt:has(*), section.founder-strip, section.proof-strip { background-image: none; }

/* ---------- 8. Cards pop: lift + riso misregistration ---------- */
.zl-card, .tile, .glance-card, .prog-card, .stat {
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease; }
.zl-card:hover, .tile:hover, .glance-card:hover, .prog-card:hover{
  transform: translateY(-6px); border-color: var(--ink) !important; box-shadow: 0 18px 40px -22px rgba(11,26,74,.38) !important; }
.stat:hover { transform: translateY(-4px); }
.stat:hover .num { color: var(--ink-2); }

/* ---------- 9. Explorable sequences (riso-interact.js): quiet motion ---------- */
.rx-hint { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font: 600 12px/1.3 var(--font-mono); letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-2); }
.rx-hint::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-2); }
.rx-item { cursor: pointer; outline: none; transition: opacity .3s ease, color .3s ease; }
.rx-group.has-active .rx-item:not(.is-active) { opacity: .62; }
.rx-item:focus-visible { box-shadow: 0 0 0 2px var(--paper-hi), 0 0 0 4px var(--ink-2); border-radius: 6px; }
.rx-steps-box .rx-item.is-active .rtitle{ color: var(--ink-2); }
/* vertical lists: detail opens softly under the item */
.rx-detail { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .4s ease, opacity .3s ease; }
.rx-detail-in { overflow: hidden; }
.rx-detail p { margin: 12px 0 2px; padding: 12px 16px; max-width: 62ch; font-size: 15.5px; line-height: 1.55; color: var(--ink);
  background: var(--paper-hi); border-left: 3px solid var(--ink-2); border-radius: 0 6px 6px 0; }
.rx-item.is-active .rx-detail { grid-template-rows: 1fr; opacity: 1; }
/* shared detail panel under horizontal tracks: fixed footprint, text cross-fades */
.rx-panel { margin-top: 22px; }
.rx-panel-in { min-height: 9.5em; padding: 18px 22px 20px; background: var(--paper-hi); border: 1.5px solid var(--ink); border-radius: 10px;
  box-shadow: 0 18px 40px -22px rgba(11,26,74,.38); transition: opacity .18s ease; }
.rx-panel.is-swapping .rx-panel-in { opacity: .35; }
.rx-panel-k { display: block; font: 600 12px/1.4 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.rx-panel-d { font-size: 16px; line-height: 1.55; color: var(--ink); max-width: 72ch; }
.rx-panel-d .hl { background: none; color: inherit; font-weight: 600; }
.rx-panel-t { margin: 10px 0 0; padding-left: 14px; border-left: 3px solid var(--ink-2); font-size: 15px; line-height: 1.55; color: #26304F; max-width: 72ch; }
.rx-panel-t:empty { display: none; }
.fp-rung.is-active .fp-rung-title, .fp-rhythm-node.is-active .fp-rhythm-label { color: var(--ink-2); }

/* horizontal day-by-day timeline: one rail, dots centred on it, titles below */
.timeline { --tl-dot: 12px; --tl-rail: 40px; display: grid !important; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 !important;
  list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; top: var(--tl-rail); bottom: auto; height: 2px; width: auto; margin-top: -1px;
  left: calc(100% / 14); right: calc(100% / 14); background: var(--border-paper); }
.timeline::after { content: ""; position: absolute; top: var(--tl-rail); height: 2px; margin-top: -1px; left: calc(100% / 14);
  width: calc((100% / 7) * var(--rx-n, 0)); background: var(--ink-2); transition: width .6s cubic-bezier(.4,0,.2,1); }
.timeline .tl-row { display: flex !important; flex-direction: column; align-items: center; text-align: center; padding: 0 10px 6px !important;
  border: 0 !important; position: relative; grid-template-columns: none !important; min-width: 0; }
.timeline .tl-row::before { content: ""; position: absolute; top: var(--tl-rail); left: 50%; width: var(--tl-dot); height: var(--tl-dot);
  transform: translate(-50%, -50%) !important; border-radius: 50%; background: var(--paper-hi); border: 2px solid var(--ink-2);
  box-shadow: 0 0 0 4px var(--bg-paper); z-index: 1; transition: background-color .3s ease, box-shadow .3s ease; display: block !important; }
.timeline .tl-row.is-past::before { background: var(--ink-2); }
.timeline .tl-row.is-active::before { background: var(--ink-2); box-shadow: 0 0 0 4px var(--bg-paper), 0 0 0 7px rgba(47,85,168,.28); }
.timeline .tl-day { display: block; height: calc(var(--tl-rail) - 16px); line-height: 1; margin: 0; font-size: 12px; color: var(--text-ink-muted); }
.timeline .tl-title { font-size: clamp(15px, 1.25vw, 18px) !important; line-height: 1.3; }
.timeline .tl-desc{ display: none !important; }
.timeline .tl-row.is-active .tl-day, .timeline .tl-row.is-active .tl-title { color: var(--ink-2); }
@media (max-width: 820px) {
  .timeline { grid-template-columns: repeat(7, 150px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .timeline .tl-row { scroll-snap-align: start; }
  .timeline::before { left: 75px; right: auto; width: calc(150px * 6); } .timeline::after { left: 75px; width: calc(150px * var(--rx-n, 0)); }
}
/* horizontal week overview: four phase cards side by side */
.week-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.week-track .structure-row { display: flex !important; flex-direction: column; gap: 10px; padding: 22px 20px !important; border: 1.5px solid var(--border-paper) !important;
  border-radius: 10px; background: var(--card); grid-template-columns: none !important; transition: border-color .3s ease, opacity .3s ease; }
.week-track .structure-row .rbody { display: none; }
.week-track .structure-row .rtitle { font-size: clamp(18px, 1.5vw, 21px) !important; line-height: 1.25; }
.week-track .structure-row.is-active { border-color: var(--ink) !important; box-shadow: 0 18px 40px -22px rgba(11,26,74,.38); }
@media (max-width: 900px) { .week-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .week-track { grid-template-columns: 1fr; } }
/* who teaches it: one line */

@media (prefers-reduced-motion: reduce) {
  .rx-item, .rx-detail, .rx-panel-in, .timeline::after, .zl-card, .tile, .glance-card, .prog-card, .stat { transition: none !important; }
}

/* ---------- 10. Founder credentials: schools on one line, work on the next ---------- */

/* ---------- 11. Logos: transparent wordmarks only (same files as the homepage) ---------- */

/* ---------- 12. No photo backgrounds: former photo heroes are riso heroes ---------- */

/* former photo bands: a quiet pull-quote on paper */

/* ---------- 13. One texture only: the old random paper-grain overlay is off ---------- */
body::after { display: none !important; }

/* ---------- 14. Curriculum icons: literal line drawings that draw in and act out their meaning ---------- */
.ic { overflow: visible; color: var(--ink); }
.ic path, .ic circle, .ic rect { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s cubic-bezier(.65,.05,.3,1); }
.ic:not(.ic-in) path, .ic:not(.ic-in) circle, .ic:not(.ic-in) rect { stroke-dashoffset: 1; }
.ic > *:nth-child(2) { transition-delay: .08s; } .ic > *:nth-child(3) { transition-delay: .16s; } .ic > *:nth-child(4) { transition-delay: .24s; }
.ic > *:nth-child(n+5) { transition-delay: .32s; }
.ic-host { cursor: pointer; }
.ic-host:hover .ic, .ic-host.is-active .ic, .ic.ic-play { box-shadow: 0 18px 40px -22px rgba(11,26,74,.38); }
/* motions: play while the card/row is hovered (or once when the icon first appears) */

@keyframes ic-wave { 0%,100% { transform: rotate(0); } 30% { transform: rotate(-9deg); } 65% { transform: rotate(6deg); } }
@keyframes ic-tilt { 0%,100% { transform: rotate(0); } 45%,60% { transform: rotate(-16deg); } }
@keyframes ic-scribble { 0%,100% { transform: translate(0,0); } 25% { transform: translate(-5px,2px); } 50% { transform: translate(-1px,-1px); } 75% { transform: translate(-6px,1px); } }
@keyframes ic-hop { 0% { transform: translate(0,0); } 18% { transform: translate(7px,-12px); } 28% { transform: translate(14px,-10px); }
  45% { transform: translate(21px,-24px); } 55% { transform: translate(28px,-22px); } 72% { transform: translate(35px,-38px); } 82%,92% { transform: translate(42px,-36px); } 100% { transform: translate(0,0); } }
@keyframes ic-scan { 0%,100% { transform: translate(0,0); } 30% { transform: translate(-10px,-6px); } 65% { transform: translate(-3px,-12px); } }
@keyframes ic-spin { to { transform: rotate(360deg); } }
@keyframes ic-blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
@keyframes ic-pop { 0% { transform: scale(0); } 40% { transform: scale(1.12); } 55%,100% { transform: scale(1); } }
@keyframes ic-flip { 0%,15% { transform: rotate(0); } 55%,100% { transform: rotate(180deg); } }
@keyframes ic-move { 0%,10% { transform: translateX(0); } 45%,65% { transform: translateX(18px); } 100% { transform: translateX(0); } }
@keyframes ic-pulse { 0%,100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes ic-slide { 0%,10% { transform: translateX(0); } 45%,60% { transform: translateX(22px); } 100% { transform: translateX(0); } }
@keyframes ic-redraw { 0% { stroke-dashoffset: 1; } 60%,100% { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .ic *{ animation: none !important; transition: none !important; stroke-dashoffset: 0 !important; }
}

/* ---------- 15. Founder links + general inbox ---------- */

/* ---------- 16. Inner-page heroes: inverted print (navy paper, beige + brown ink, dots bounce in place) ---------- */
.hero-inv { background: var(--ink) !important; }
.hero-inv h1, .hero-inv .display, .hero-inv .cs-h1 { color: var(--paper-hi) !important; text-shadow: none !important; }
.hero-inv h1 em, .hero-inv .display em { color: #A9BEEA !important; }
.hero-inv .lede, .hero-inv .sub, .hero-inv .thesis, .hero-inv p { color: rgba(255, 255, 255,.86) !important; text-shadow: none !important; }
 .hero-inv .zl-hero-hosted-label { color: rgba(255, 255, 255,.62) !important; }
.hero-inv .rh { color: #A9BEEA; }
.hero-inv .eyebrow { color: var(--ink) !important; background: var(--paper-hi) !important; box-shadow: none !important; }
.hero-inv .eyebrow::before { background: #B8895C !important; box-shadow: 0 0 0 1.5px var(--paper-hi) !important; }
.hero-inv .btn-primary { background: var(--paper-hi) !important; color: var(--ink) !important; box-shadow: none !important; }
.hero-inv .btn-ghost { color: var(--paper-hi) !important; border-color: rgba(255, 255, 255,.45) !important; background: transparent !important; }
.hero-inv .btn-ghost:hover { border-color: var(--paper-hi) !important; }
.hero-inv a:not(.btn) { color: #A9BEEA; }
.hero-inv .zl-hero-hosted img { filter: brightness(0) invert(1); opacity: .9; }
 .hero-inv .hl { color: inherit; }
/* the section after an inverted hero starts clean (no seam line) */
.hero-inv + section { border-top: 0 !important; }
/* language toggle while the nav sits over an inverted hero */
body.zl-page .nav:not(.scrolled) .lang-switch { background: rgba(255, 255, 255,.10) !important; border-color: rgba(255, 255, 255,.35) !important; }
body.zl-page .nav:not(.scrolled) .lang-switch a:not(.lang-active) { color: rgba(255, 255, 255,.88) !important; }
body.zl-page .nav:not(.scrolled) .lang-switch a.lang-active { background: var(--paper-hi) !important; color: var(--ink) !important; }

/* ---------- 17. Site-wide cleanups (Sept 27 late) ---------- */
/* no announcement bar anywhere */
.ticker { display: none !important; } :root { --ticker-h: 0px; }
/* dots live only in the first section of each page: no tint on the beige below */
body, .partners, section:not(.hero-full):not(.hero-inv) { background-image: none !important; }
/* cards that used to overlap the hero edge now sit below it with breathing room */

/* line length: wider text boxes, no short last lines (see CONTENT-RULES.md, Type) */
.lede, .sub, .hero .sub, .hero-copy .lede, .lede-56, .sec-head .lede, .partners-sub, .thesis, .rbody, .card-p, .tl-desc, p { text-wrap: pretty; }
.hero .sub, .hero-copy .lede, .lede-56, .hero-riso-copy .lede, .curr-hero .thesis { max-width: 64ch !important; }
.sec-head .lede, .partners-sub { max-width: 68ch !important; }
.hero-copy, .hero-copy-wide, .zl-hero-copy { max-width: min(100%, 980px) !important; }
h1, h2, .h2, .display { text-wrap: balance; }

/* ---------- 18. Pillar cards: no icons; the pillar word carries the riso marker (same as "ship") ---------- */
.pillar-card h3 .rh{ font-weight: 500; font-size: 1em; }
.pillar-card h3 .rh::after{ height: .36em; bottom: .04em; }
.pillar-card, .pillars .glance-card { cursor: default; }
.pillar-card:hover .rh::after, .pillars .glance-card:hover .rh::after,
.pillar-card:focus-within .rh::after, .pillars .glance-card:focus-within .rh::after { animation: rh-reprint .7s cubic-bezier(.65,.05,.25,1); }
.pillar-card:hover .rh, .pillars .glance-card:hover .rh { color: var(--ink); transition: color .3s ease; }
/* inner-page hero headlines: wider box so they break into fewer lines (CONTENT-RULES §4) */
.hero-inv h1, .hero-inv .display, .hero-inv .cs-h1 { max-width: min(100%, 1020px) !important; }

/* ---------- 19. Spacing polish (Sept 28) ---------- */
/* a card's label chip gets breathing room above its title */
.prog-card > .eyebrow, .zl-card > .eyebrow, .tile > .eyebrow{ margin-bottom: 16px; }
.prog-card .eyebrow + .prog-h, .prog-card .eyebrow + h3 { margin-top: 0; }
/* the hint reads as a caption above the graphic, not part of it */
.rx-hint { margin-bottom: 34px !important; }
/* panels size to their tallest item (set in riso-interact.js) */
.rx-panel-in { min-height: 0; }
/* contact fine print (replaces the promise pills) */
.partners-fine { margin: 22px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--text-ink-muted); max-width: 52ch; }

/* ---------- 20. Header options preview (hero-options.js) ---------- */
.hero-opt { background: var(--paper-hi) !important; position: relative; overflow: hidden; }
.hero-opt h1, .hero-opt .display { color: var(--ink) !important; }
.hero-opt h1 em { color: var(--ink-2) !important; }
.hero-opt > .container { position: relative; z-index: 2; }
.hero-opt::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--border-paper); }
/* A: social kit — dot grid + large faded seal */
section.hero-opt.hero-opt-A:not(.hero-full), section.hero-opt.hero-opt-D:not(.hero-full) { background-image: radial-gradient(rgba(11,26,74,.28) 1.1px, transparent 1.4px) !important; background-size: 24px 24px !important; background-position: 12px 12px !important; }
@keyframes seal-turn { to { transform: translateY(-50%) rotate(360deg); } }
/* key words print in with the riso marker (A, B) */

/* C: the marker travels across the headline and settles on the key words */
.hw { position: relative; z-index: 0; }
.hw::after { content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .06em; height: .3em; z-index: -1; background: var(--riso-dots) 0 0 / 6px 6px repeat;
  opacity: 0; transform: scaleX(.4); transform-origin: left; transition: opacity .25s ease, transform .35s ease; }
.hw.hw-pass::after { opacity: .55; transform: scaleX(1); }
.hw.hw-on::after { opacity: 1; transform: scaleX(1); }
/* D: network canvas */
.hero-net { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
/* chooser */

@media (prefers-reduced-motion: reduce) {  .hw::after { transition: none; } }
section.hero-opt.hero-opt-A::before { display: block !important; }
section.hero-opt.hero-opt-A::before { inset: auto !important; left: auto !important; right: -120px !important; top: calc(50% + 90px) !important; bottom: auto !important;
  width: min(680px, 62vw) !important; height: auto !important; background: url(/art/seal-watermark.png) center / contain no-repeat !important; opacity: .085 !important; }
/* seal sits a fixed distance below the nav on every page, clear of the Contact button */
section.hero-opt.hero-opt-A::before { top: 130px !important; transform: none; animation-name: seal-turn-2 !important; }
@keyframes seal-turn-2 { to { transform: rotate(360deg); } }
/* social-kit header: warmer ivory, less stark than paper white (between --paper-hi and --bg-paper) */
section.hero-opt { background-color: #F5F7FA !important; }
/* headline key words: one marker per word (so wrapped lines are all marked), sweeping left to right */
.hw-m::after { opacity: 1 !important; transform: scaleX(0) !important; transform-origin: left center; height: .3em; bottom: .05em;
  transition: transform .55s cubic-bezier(.65,.05,.25,1) !important; }
.hw-m.hw-on::after { transform: scaleX(1) !important; }
.hw-m + .hw-m::after, .hw-m::after { left: -.02em; right: -.3em; }
@media (prefers-reduced-motion: reduce) { .hw-m::after { transition: none !important; } }

/* ---------- 21. Grouped Programs menu ---------- */
.nav-dd-menu.nav-dd-wide { display: grid; grid-template-columns: 300px 250px; gap: 4px 14px; min-width: 0; padding: 12px; }
@media (max-width: 980px) { .nav-dd-menu.nav-dd-wide { display: flex; } }

/* ---------- 21. Grouped Programs menu ---------- */
.nav-dd-menu.nav-dd-wide { display: grid; grid-template-columns: 300px 260px; gap: 4px 14px; min-width: 0; padding: 12px; }
@media (max-width: 980px) { .nav-dd-menu.nav-dd-wide { display: flex; } }

/* ---------- Nav dropdowns v2 (Sept 28): hover intent, motion, highlighted items ----------
   With JS (html.nav-js), menus open on hover after a short intent delay and close after a grace
   period, driven by .open; without JS the base :hover rule still works. */
html.nav-js .nav-dd:not(.open) .nav-dd-menu { opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); pointer-events: none; }
html.nav-js .nav-dd:not(.open) .nav-dd-chev { transform: none; }
html.nav-js .nav-dd.open .nav-dd-chev { transform: rotate(180deg); }
.nav-dd-menu { transform-origin: 24px 0; transition: opacity .22s cubic-bezier(.2,.7,.2,1), transform .28s cubic-bezier(.2,.7,.2,1), visibility 0s linear .28s !important; }
.nav-dd.open .nav-dd-menu { transition-delay: 0s !important; }
.nav-dd-btn { position: relative; }
.nav-dd-btn::after { content: ""; position: absolute; left: 0; right: 16px; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.nav-dd.open .nav-dd-btn::after { transform: scaleX(1); }
.nav-links .nav-dd-menu a { position: relative; padding-right: 34px; transition: background .18s, transform .22s cubic-bezier(.2,.7,.2,1); }
.nav-links .nav-dd-menu a::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--ink-2, #2F55A8); transform: scaleY(0); transition: transform .22s cubic-bezier(.2,.7,.2,1); }
.nav-links .nav-dd-menu a::after { content: "→"; position: absolute; right: 12px; top: 50%; transform: translate(-6px, -50%); opacity: 0; color: var(--ink-2, #2F55A8); transition: opacity .18s, transform .22s cubic-bezier(.2,.7,.2,1); }
.nav-links .nav-dd-menu a:hover, .nav-links .nav-dd-menu a:focus-visible { background: var(--bg-paper-soft); transform: translateX(3px); outline: none; }
.nav-links .nav-dd-menu a:hover::before, .nav-links .nav-dd-menu a:focus-visible::before, .nav-links .nav-dd-menu a[aria-current="page"]::before { transform: scaleY(1); }
.nav-links .nav-dd-menu a:hover::after, .nav-links .nav-dd-menu a:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
.nav-links .nav-dd-menu a:hover b { color: var(--ink-2, #2F55A8); }
@media (prefers-reduced-motion: no-preference) {
  .nav-dd.open .nav-dd-menu a { animation: nav-item-in .32s cubic-bezier(.2,.7,.2,1) both; }
  .nav-dd.open .nav-dd-menu a:nth-of-type(2) { animation-delay: .04s; } .nav-dd.open .nav-dd-menu a:nth-of-type(3) { animation-delay: .08s; } .nav-dd.open .nav-dd-menu a:nth-of-type(4) { animation-delay: .12s; }
}
@keyframes nav-item-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 980px) { html.nav-js .nav-links.open .nav-dd .nav-dd-menu { opacity: 1; visibility: visible; transform: none; pointer-events: auto; } .nav-links .nav-dd-menu a::after, .nav-dd-btn::after { display: none; } }

/* ---------- Header v3 (Sept 28): calmer CTA, clean edge, tidy mobile menu ---------- */
.nav { backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); }
.nav.scrolled { background: rgba(238, 241, 246,.86) !important; border-bottom: 1px solid rgba(226, 230, 238,.8) !important; box-shadow: 0 8px 24px -18px rgba(11,26,74,.35); }
.nav-cta .btn-primary { padding: 10px 18px !important; font-size: 14px !important; box-shadow: none !important; }
.nav-cta .btn-primary:hover { box-shadow: none !important; transform: translateY(-1px); }
.nav-links > a, .nav-dd-btn { font-size: 14.5px; letter-spacing: .005em; }
.nav-links > a { position: relative; }
.nav-links > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.nav-links > a:hover::after, .nav-links > a[aria-current="page"]::after { transform: scaleX(1); }
@media (min-width: 981px) { .nav-dd-menu { border-radius: 16px !important; box-shadow: 0 24px 50px -20px rgba(11,26,74,.35), 0 2px 6px rgba(11,26,74,.06) !important; background: #FFFFFF !important; } }
@media (max-width: 980px) {
  .nav-links.open { padding: 8px 24px 28px !important; }
  .nav-links.open .nav-dd-menu { background: transparent !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; }
  .nav-links.open .nav-dd-btn { padding: 18px 0 6px !important; border-top: 1px solid var(--border-paper); width: 100%; justify-content: flex-start; }
  .nav-links.open .nav-dd:first-child .nav-dd-btn { border-top: 0; }
  .nav-links.open > a:not(.nav-mobile-only) { padding: 14px 0 !important; border-top: 1px solid var(--border-paper); width: 100%; }
  .nav-links.open .nav-dd-menu a { padding: 8px 0 !important; font-size: 16px; }
  .nav-links.open .nav-dd-menu a::before, .nav-links.open .nav-dd-menu a::after { display: none; }
  .nav-links.open .nav-mobile-only { display: flex !important; justify-content: center; margin-top: 18px; padding: 14px 18px !important; border-radius: 999px; background: var(--ink); color: #FFFFFF !important; font-weight: 500; }
}

/* ---------- Chinese pages (html[lang="zh-CN"]) ---------- */

html[lang="zh-CN"] :is(h1, h2, h3, h4, .big, .pp-sc-big, .pp-jr-txt > span, .cs-h1, .display) em,
html[lang="zh-CN"] .partners-form .big{ font-style: normal; }
html[lang="zh-CN"] .eyebrow, html[lang="zh-CN"] .hp-cred-lab{ letter-spacing: .06em; }
html[lang="zh-CN"] body { line-break: strict; word-break: normal; }
html[lang="zh-CN"] :is(.h2, .cs-h1, .display, .pp-sc-beat h2, .hero-riso-h1) { word-break: keep-all; overflow-wrap: anywhere; line-height: 1.16; }
html[lang="zh-CN"] :is(.card-p, .pp-notes span, .pp-source, .lede) { text-wrap: pretty; }
html[lang="zh-CN"] em{ font-style: normal; }
html[lang="zh-CN"] .pg .pg-head .h2 { max-width: 11em; }
html[lang="zh-CN"] .hero .cs-h1 { max-width: 12em; }
.kp { display: inline-block; }

/* ---------- Programs menu v4 (Sept 29): grouped by length, thumbnails, compact ---------- */
.nav-dd-btn:focus { outline: none; }
.nav-dd-btn:focus-visible { outline: 2px solid var(--ink-2, #2F55A8); outline-offset: 4px; border-radius: 4px; }
@media (min-width: 981px) {
  .nav-dd-menu.nav-dd-wide { grid-template-columns: 330px 250px !important; gap: 0 10px !important; padding: 14px !important; }
  .nav-dd-menu { transform-origin: 30px -6px; }
  .nav-dd-sub { display: block; margin: 8px 10px 2px; padding-top: 8px; border-top: 1px solid #EEF1F6; font: 500 9.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-ink-muted); }
  .nav-links .nav-dd-menu a { padding: 7px 30px 7px 10px !important; gap: 1px !important; border-radius: 9px !important; }
  .nav-dd-menu a b { font-size: 13.5px !important; }
  .nav-dd-menu a span { font-size: 11.5px !important; line-height: 1.35 !important; }
  .nav-links .nav-dd-menu a:hover { transform: none !important; background: #EEF1F6 !important; }
}
@media (max-width: 980px) { .nav-links.open .nav-dd-sub { display: block; margin: 10px 0 2px; font: 500 9.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-ink-muted); } }
.nav-dd-sub { display: none; }
@media (min-width: 981px) { .nav-dd-sub { display: block; } }
/* ---------- Nav v5 (Sept 29): Jingjing's audience structure + grouped students menu ---------- */
@media (min-width: 981px) {
  .nav-dd-menu.nav-dd-stu { min-width: 340px; padding: 12px !important; }
  .nav-dd-stu a { padding-left: 64px !important; position: relative; min-height: 46px; justify-content: center; }
  .nav-dd-stu a::before { transform: none !important; left: 10px !important; top: 50% !important; bottom: auto !important; width: 44px !important; height: 34px !important; margin-top: -17px; border-radius: 6px !important; background: #ddd center / cover no-repeat !important; box-shadow: inset 0 0 0 1px rgba(11,26,74,.12); filter: saturate(.85); }
  .nav-dd-stu a:hover::before { filter: none; }
  .nav-dd-stu a[href^="/programs/remake"]::before { background-image: url(/photos/mix/pilot-classroom-800.webp) !important; }
  .nav-dd-stu a[href^="/programs/website-portfolio"]::before { background-image: url(/photos/isb-hq/isb-podium-duo-800.webp) !important; }
  .nav-dd-stu a[href^="/programs/product-intensive"]::before { background-image: url(/photos/isb-hq/isb-pitch-gesture-800.webp) !important; }
  .nav-dd-stu a[href^="/mentorship"]::before { background-image: url(/photos/isb-hq/isb-judges-test-800.webp) !important; }
  .nav-links > a.nav-top-link { font-size: 14.5px; }
}
@media (min-width: 981px) {
  .nav-dd-stu a, .nav-links .nav-dd-stu a { padding: 8px 12px !important; min-height: 0; }
  .nav-dd-stu a::before { display: none !important; }
  .nav-dd-stu .nav-dd-sub:first-child { border-top: 0; padding-top: 0; margin-top: 4px; }
}

@media (min-width: 981px) {
  .nav-dd-menu.nav-dd-stu { display: grid !important; grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: auto auto auto; column-gap: 8px; min-width: 580px; }
  .nav-dd-stu > .nav-dd-sub:nth-of-type(1) { grid-column: 1; grid-row: 1; }
  .nav-dd-stu > a:nth-of-type(1) { grid-column: 1; grid-row: 2; }
  .nav-dd-stu > a:nth-of-type(2) { grid-column: 1; grid-row: 3; }
  .nav-dd-stu > .nav-dd-sub:nth-of-type(2) { grid-column: 2; grid-row: 1; border-top: 0 !important; padding-top: 0 !important; margin-top: 4px !important; }
  .nav-dd-stu > a:nth-of-type(3) { grid-column: 2; grid-row: 2; }
  .nav-dd-stu > .nav-dd-sub:nth-of-type(3) { display: none !important; }
  .nav-dd-stu > a:nth-of-type(4) { grid-column: 2; grid-row: 3; }
}

@media (min-width: 981px) {
  .nav-dd-stu > .nav-dd-sub:nth-of-type(4) { grid-column: 1; grid-row: 4; }
  .nav-dd-stu > a:nth-of-type(5) { grid-column: 1; grid-row: 5; }
  .nav-dd-menu.nav-dd-stu { grid-template-rows: auto auto auto auto auto; }
}

@media (min-width: 981px) {
  .nav-dd-stu > .nav-dd-sub:nth-of-type(4) { grid-column: 2; grid-row: 4; }
  .nav-dd-stu > a:nth-of-type(5) { grid-column: 2; grid-row: 5; }
  .nav-dd-stu > .nav-dd-sub:nth-of-type(4) { border-top: 1px solid #EEF1F6 !important; padding-top: 8px !important; margin-top: 8px !important; }
}
@media (min-width: 981px) {
  .nav-dd-menu.nav-dd-edu { display: grid !important; grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: auto auto auto; column-gap: 8px; min-width: 560px; padding: 12px !important; }
  .nav-dd-edu > .nav-dd-sub:nth-of-type(1) { grid-column: 1; grid-row: 1; border-top: 0; padding-top: 0; margin-top: 4px; }
  .nav-dd-edu > a:nth-of-type(1) { grid-column: 1; grid-row: 2; } .nav-dd-edu > a:nth-of-type(2) { grid-column: 1; grid-row: 3; }
  .nav-dd-edu > .nav-dd-sub:nth-of-type(2) { grid-column: 2; grid-row: 1; border-top: 0; padding-top: 0; margin-top: 4px; }
  .nav-dd-edu > a:nth-of-type(3) { grid-column: 2; grid-row: 2; } .nav-dd-edu > a:nth-of-type(4) { grid-column: 2; grid-row: 3; }
  .nav-dd-edu a { padding: 8px 12px !important; }
}
/* For students menu v6: balanced two columns + full-width college band */
@media (min-width: 981px) {
  .nav-dd-menu.nav-dd-stu { grid-template-rows: auto auto auto auto !important; min-width: 600px; padding: 14px 14px 0 !important; overflow: hidden; }
  .nav-dd-stu > .nav-dd-sub:nth-of-type(4) { grid-column: 1 / -1 !important; grid-row: 4 !important; margin: 10px -14px 0 !important; padding: 12px 24px 0 !important; border-top: 1px solid #EEF1F6 !important; background: #EEF1F6; }
  .nav-dd-stu > a:nth-of-type(5) { grid-column: 1 / -1 !important; grid-row: 5 !important; margin: 0 -14px !important; padding: 6px 24px 14px !important; border-radius: 0 !important; background: #EEF1F6; flex-direction: row !important; align-items: baseline; gap: 12px !important; }
  .nav-dd-stu > a:nth-of-type(5):hover { background: #EEF1F6 !important; }
  .nav-links .nav-dd-menu a:hover { background: #EEF1F6 !important; }
  .nav-links .nav-dd-menu a:hover b { color: var(--ink-2, #2F55A8); }
  .nav-dd-stu .nav-dd-sub { color: var(--text-ink-muted); }
}
@media (min-width: 981px) {
  .nav-dd-stu > .nav-dd-sub:nth-of-type(4) { padding: 14px 24px 2px !important; margin-top: 12px !important; }
  .nav-dd-stu > a:nth-of-type(5) { flex-direction: column !important; align-items: flex-start !important; gap: 1px !important; padding: 6px 24px 16px !important; }
}
/* ===== Header + footer final loop (Sept 30) ===== */
/* For educators: wide enough that every description sits on one line */
@media (min-width: 981px) {
  .nav-dd-menu.nav-dd-edu { min-width: 640px; column-gap: 12px; }
  .nav-dd-edu a span { white-space: nowrap; }
}
/* phone menu: section names read as headings, sub-labels stay quiet */
@media (max-width: 980px) {
  .nav-links.open .nav-dd-btn, .nav-links.open > a.nav-top-link { font: 500 19px/1.2 var(--font-display) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--ink) !important; }
  .nav-links.open .nav-dd-btn { padding: 20px 0 4px !important; }
  .nav-links.open > a.nav-top-link { padding: 20px 0 16px !important; }
  .nav-links.open .nav-dd-sub { margin: 12px 0 0 !important; }
  .nav-links.open .nav-dd-menu a { padding: 7px 0 !important; font-size: 15.5px !important; }
}
/* footer: program names fit on one line */
@media (min-width: 821px) { .footer .footer-grid { grid-template-columns: 1.25fr 1.15fr 1fr .85fr; } }
@media (min-width: 981px) { .nav-dd-menu.nav-dd-edu { left: 50% !important; right: auto !important; margin-left: -320px; transform-origin: 50% -6px; } }
/* footer: space above a second heading in a column, on every page */
.footer-col a + h4 { margin-top: 22px !important; }
/* phone menu: current-page highlight keeps an inner margin, text stays on the column line */
@media (max-width: 980px) {
  .nav-links.open .nav-dd-menu a { padding: 7px 10px !important; margin-inline: -10px; width: calc(100% + 20px); border-radius: 8px; }
}
/* students menu: college item styled like every other item (no grey band) */
@media (min-width: 981px) {
  .nav-dd-stu > .nav-dd-sub:nth-of-type(4), .nav-dd-stu > a:nth-of-type(5) { background: none !important; }
  .nav-dd-stu > .nav-dd-sub:nth-of-type(4) { margin: 8px 0 0 !important; padding: 12px 12px 2px !important; }
  .nav-dd-stu > a:nth-of-type(5) { margin: 0 0 10px !important; padding: 8px 12px !important; border-radius: 9px !important; flex-direction: column !important; }
  .nav-dd-menu.nav-dd-stu { padding-bottom: 4px !important; }
}
.nav-links .nav-dd-menu a[aria-current="page"] { background: #EEF1F6 !important; }
.nav-links .nav-dd-menu a[aria-current="page"] b { color: var(--ink-2, #2F55A8); }
.nav-links .nav-dd-menu a:focus:not(:focus-visible) { background: none; }

/* Footer contact: email + LinkedIn beside the copyright line */
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer-contact { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; opacity: .85; transition: opacity .2s; }
.footer-contact a:hover, .footer-contact a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact svg { flex: none; }
@media (max-width: 600px) { .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* Chinese headings: keep-all only breaks at punctuation, which forces mid-phrase splits on phones
   ("产/品，"). Break normally with strict CJK line rules and balance the line lengths instead. */
html[lang="zh-CN"] :is(h1, h2, .h2, .cs-h1, .display, .hero-riso-h1) { word-break: normal !important; overflow-wrap: normal !important; line-break: strict; text-wrap: balance; }

/* Homepage hero: the print fades into the nav, so the resting nav is fully clear (no frosted band). */
body:has(.hero-full) .nav:not(.scrolled) { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: transparent !important; }

/* No typewriter type (founder, Oct 2026): every label that used the mono stack now uses the body
   sans as refined small caps. Tabular figures keep numbers (dates, times, counts) aligned. */
:root { --font-mono: var(--font-body, 'Geist', 'Inter', system-ui, -apple-system, sans-serif); }
/* Exception: the navy eyebrow badges keep the typewriter face. Plain (unboxed) eyebrows do not. */
:root { --font-typewriter: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace; }
.eyebrow { font-family: var(--font-typewriter); }
#programs .prog-card .eyebrow { font-family: var(--font-body); }
code, kbd, samp, pre { font-family: var(--font-body, 'Geist', system-ui, sans-serif); }

/* ===== Footer: header order (Oct 5) ===== */
/* columns: brand | For students | For families + For educators (one column, two sections) | About */
@media (min-width: 821px) { .footer .footer-grid { grid-template-columns: 1.25fr 1.15fr 1fr .85fr; } }
/* the second section in the shared column reads as its own block */
.footer .footer-col-split a + h4 { margin-top: 30px !important; }
/* tablets: brand block on its own row so every link fits on one line */
@media (min-width: 821px) and (max-width: 1100px) {
  .footer .footer-grid { grid-template-columns: 1.15fr 1fr .85fr; row-gap: 40px; }
  .footer .footer-brand { grid-column: 1 / -1; }
}
/* Chinese has no italic: keep the footer tagline upright at every width */
html[lang^="zh"] .footer .tag { font-style: normal; }
/* footer section headings: clearly the headline of each column (Oct 5) */
.footer .footer-col h4 { font-size: 13.5px !important; font-weight: 600 !important; color: #FFFFFF !important; letter-spacing: .12em !important; }
html[lang^="zh"] .footer .footer-col h4 { font-size: 16px !important; letter-spacing: .06em !important; }
@media (max-width: 760px) { .footer .footer-col h4 { font-size: 13px !important; } html[lang^="zh"] .footer .footer-col h4 { font-size: 16px !important; } }
/* footer links: same beige at 70% so the ivory section headings lead (contrast ~8:1, still AAA); full ivory on hover */
.footer .footer-col a { color: rgba(230, 233, 240,.70) !important; transition: color .2s ease; }
.footer .footer-col a:hover, .footer .footer-col a:focus-visible { color: #FFFFFF !important; }
/* ===== Audience nav (2026-10-16): For schools = 3 roles + events & partners; For families = dropdown ===== */
@media (min-width: 981px) {
  .nav-dd-menu.nav-dd-edu { grid-template-rows: auto auto auto auto; min-width: 660px; }
  .nav-dd-edu > a:nth-of-type(3) { grid-column: 1; grid-row: 4; }
  .nav-dd-edu > a:nth-of-type(4) { grid-column: 2; grid-row: 2; }
  .nav-dd-edu > a:nth-of-type(5) { grid-column: 2; grid-row: 3; }
  .nav-dd-menu.nav-dd-fam { min-width: 330px; padding: 12px !important; }
  .nav-dd-fam a { padding: 8px 12px !important; }
  .nav-dd-fam a span { white-space: nowrap; }
  .nav-dd-fam .nav-dd-sub:first-child { border-top: 0; padding-top: 0; margin-top: 4px; }
}
/* Chinese headings: keep a phrase on one line at desktop widths (DESIGN §5.3); phones may wrap */
.cs-h1 .nw { white-space: nowrap; }
@media (max-width: 760px) { .cs-h1 .nw { white-space: normal; } }
