/* Daltonschool XCL EigenWijs — "De blinkpot"
   Native scrolling only. Animations: once-on-enter or transform/opacity scrubs. */
:root {
  --petrol: #004C6B;      /* logo XCL */
  --petrol-deep: #003349;
  --magenta: #E5057F;     /* logo chevron — large shapes only */
  --magenta-ink: #C2006A; /* magenta for text/buttons (5.6:1 on paper) */
  --sky: #82C0D9;         /* rainbow light blue */
  --blush: #F7A3CF;       /* rainbow pink */
  --paper: #F4F8FA;       /* cool school-paper white */
  --white: #FFFFFF;
  --ink: #0E2A36;
  --muted: #4F6570;
  --line: #D5E2E8;
  --fd: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --fh: "Playwrite BE VLG", "Segoe Print", cursive;
  --t-sm: .9rem; --t-base: 1.125rem; --t-lg: 1.3rem;
  --t-xl: clamp(1.6rem, 1.1rem + 1.6vw, 2.3rem);
  --t-2xl: clamp(2.3rem, 1.2rem + 4vw, 4.4rem);
  --t-3xl: clamp(3rem, 1rem + 7vw, 7.5rem);
  --gutter: clamp(1rem, .4rem + 2.6vw, 3rem);
  --max: 1320px; --measure: 62ch;
  --r-stone: 46% 54% 52% 48% / 55% 45% 55% 45%;
  --ease: cubic-bezier(.2,.7,.1,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--fd); font-size: var(--t-base); line-height: 1.6; font-variation-settings: "opsz" 16; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta-ink); text-decoration-thickness: 1.5px; text-underline-offset: .18em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 4px; }
p, li { max-width: var(--measure); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 750; line-height: 1.02; letter-spacing: -.02em; font-variation-settings: "opsz" 96, "wdth" 90; color: var(--petrol); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); line-height: 1.1; }
.hand { font-family: var(--fh); font-weight: 400; letter-spacing: 0; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--petrol); color: #fff; padding: .8rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244,248,250,.97); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,51,73,.5); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 80px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; color: var(--petrol); }
.brand img { width: 64px; height: auto; }
.brand span { font-weight: 750; font-size: 1.05rem; line-height: 1.1; font-variation-settings: "opsz" 24, "wdth" 85; }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .1rem; }
.nav li { position: relative; }
.nav a, .nav .sub-toggle { display: block; padding: .6rem .75rem; font: inherit; font-size: 1rem; font-weight: 600; color: var(--petrol); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 999px; }
.nav a:hover, .nav .sub-toggle:hover { background: rgba(130,192,217,.25); }
.nav [aria-current="page"] { color: var(--magenta-ink); }
.nav .sub-toggle::after { content: ""; display: inline-block; width: .42em; height: .42em; margin-left: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.2em) rotate(45deg); transition: transform .2s; }
.nav .sub-toggle[aria-expanded="true"]::after { transform: translateY(0) rotate(-135deg); }
.nav .sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; list-style: none; margin: 0; padding: .5rem; background: #fff; border-radius: 18px; box-shadow: 0 20px 50px -20px rgba(0,51,73,.45); display: none; }
.nav .sub.open { display: block; }
.nav .sub a { font-weight: 500; border-radius: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .8rem 1.4rem; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-pink { background: var(--magenta-ink); color: #fff; }
.btn-pink:hover { background: #A5005A; }
.btn-petrol { background: var(--petrol); color: #fff; }
.btn-line { border-color: currentColor; color: var(--petrol); background: transparent; }
.dark .btn-line { color: #fff; }
.header-cta { min-height: 44px; padding: .55rem 1.1rem; }
.menu-btn { display: none; background: none; border: 0; color: var(--petrol); padding: .5rem; cursor: pointer; min-width: 44px; min-height: 44px; }
.menu-btn svg { width: 30px; height: 30px; }
@media (max-width: 1100px) {
  .menu-btn { display: block; order: 3; }
  .nav { position: fixed; inset: 80px 0 0 0; background: var(--paper); padding: 1rem var(--gutter) 6rem; overflow-y: auto; display: none; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a, .nav .sub-toggle { font-size: 1.35rem; padding: 1rem .25rem; width: 100%; text-align: left; border-radius: 0; }
  .nav .sub { position: static; box-shadow: none; background: transparent; padding: 0 0 .75rem 1rem; }
  .nav .sub a { font-size: 1.1rem; padding: .6rem .25rem; }
}
@media (max-width: 560px) { .header-cta { display: none; } .brand span { font-size: .95rem; } .brand img { width: 54px; } }

/* ---------- hero with talent stones ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--paper) 0%, #E8F3F8 100%); }
.hero .wrap { position: relative; z-index: 2; padding-top: clamp(2.5rem, 6vw, 5.5rem); pointer-events: none; }
.hero .wrap > * { pointer-events: auto; }
.hero h1 { font-size: var(--t-3xl); line-height: .92; max-width: 11ch; color: var(--petrol); font-variation-settings: "opsz" 96, "wdth" 80; }
.hero h1 .x { color: var(--magenta); }
.hero .lede { font-size: var(--t-lg); margin-top: 1.2rem; max-width: 36ch; }
.hero .lede .hand { color: var(--magenta-ink); font-size: 1.05em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.stones { position: relative; height: clamp(300px, 42vw, 520px); margin-top: -2rem; }
.stones canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.stones-list { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0 var(--gutter) 2.5rem; margin: 0 auto; max-width: var(--max); }
.stones-list li { background: #fff; border-radius: var(--r-stone); padding: .7rem 1.2rem; font-weight: 650; color: var(--petrol); box-shadow: inset 0 -4px 0 rgba(0,0,0,.08); }
.js .stones-list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.stones-hint { position: absolute; z-index: 2; right: var(--gutter); bottom: 1.2rem; font-family: var(--fh); font-size: .85rem; color: var(--muted); pointer-events: none; }
html:not(.js) .stones, html:not(.js) .stones-hint { display: none; }

/* ---------- sections ---------- */
.sec { padding-block: clamp(4rem, 9vw, 8rem); }
.sec.tight { padding-block: clamp(3rem, 6vw, 5rem); }
.white { background: var(--white); }
.dark { background: var(--petrol); color: #EAF4F8; }
.dark h2, .dark h3 { color: #fff; }
.dark a { color: #fff; }
.pink { background: var(--blush); }
.sky { background: var(--sky); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem 4rem; align-items: end; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.head p { margin: 0; font-size: var(--t-lg); }
.head.solo { grid-template-columns: 1fr; }
.kicker { font-family: var(--fh); color: var(--magenta-ink); font-size: 1rem; margin-bottom: .6rem; display: block; }
.dark .kicker { color: var(--blush); }
@media (max-width: 820px) { .head { grid-template-columns: 1fr; } }

/* agenda strip: next date highlighted by JS from real dates */
.agenda { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.agenda li { background: #fff; border-radius: 24px; padding: 1.3rem 1.4rem; position: relative; border: 2px solid transparent; transition: transform .3s var(--ease); max-width: none; }
.agenda .what { font-weight: 750; color: var(--petrol); font-size: 1.15rem; display: block; }
.agenda time, .agenda .when { display: block; font-size: 1.05rem; margin-top: .25rem; }
.agenda .badge { position: absolute; top: -.8rem; right: 1rem; background: var(--magenta-ink); color: #fff; font-size: .8rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; display: none; }
.agenda li.next { border-color: var(--magenta); transform: rotate(-1deg); }
.agenda li.next .badge { display: inline-block; }
.agenda li.past { opacity: .55; }
.agenda li.past .what::after { content: " (voorbij)"; font-weight: 500; color: var(--muted); }
.agenda-note { margin-top: 1.4rem; }

/* pillars */
.pillars { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: baseline; }
.pillars li { font-size: clamp(2rem, 1rem + 4.6vw, 5.2rem); font-weight: 780; line-height: 1; font-variation-settings: "opsz" 96, "wdth" 78; color: #fff; max-width: none; }
.pillars li:nth-child(2) { color: var(--blush); } .pillars li:nth-child(3) { color: var(--sky); }
.pillars li::after { content: "–"; color: rgba(255,255,255,.35); margin-left: 1.4rem; }
.pillars li:last-child::after { content: ""; }

/* split / media */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.flip > :first-child { order: 2; }
.media { border-radius: 36px; overflow: hidden; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.blob { border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* a peek into the class: real sequences */
.days { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
.day { background: #fff; border-radius: 32px; padding: clamp(1.5rem, 3vw, 2.5rem); }
.day h3 { margin-bottom: 1.2rem; }
.day ol { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.day ol > li, ol.day > li { counter-increment: s; display: grid; grid-template-columns: 2.6rem 1fr; gap: .9rem; padding: .8rem 0; border-top: 1px dashed var(--line); max-width: none; }
.day ol > li::before, ol.day > li::before { content: counter(s); width: 2.4rem; height: 2.4rem; border-radius: var(--r-stone); background: var(--sky); color: var(--petrol-deep); display: grid; place-items: center; font-weight: 800; }
.day ol > li:nth-child(3n+2)::before, ol.day > li:nth-child(3n+2)::before { background: var(--blush); } .day ol > li:nth-child(3n)::before, ol.day > li:nth-child(3n)::before { background: #FFD27A; }
.day strong { color: var(--petrol); display: block; }
@media (max-width: 860px) { .days { grid-template-columns: 1fr; } }

/* dalton cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.cards li { max-width: none; }
.cards a { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 28px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s; }
.cards a:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 24px 40px -28px rgba(0,51,73,.6); }
.cards img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.cards .t { padding: 1.1rem 1.3rem 1.4rem; }
.cards h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.cards p { margin: 0; color: var(--muted); font-size: 1rem; }

/* leertrap (real steps from the school's own diagram) */
.leertrap { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: .6rem; height: clamp(260px, 30vw, 380px); margin-top: 2rem; }
.leertrap li { list-style: none; border-radius: 18px 18px 0 0; display: flex; align-items: flex-start; justify-content: center; padding-top: .9rem; font-family: var(--fh); font-size: clamp(1rem, .7rem + .9vw, 1.4rem); color: var(--petrol-deep); max-width: none; transform-origin: bottom; }
.leertrap li:nth-child(1) { height: 25%; background: #F6B26B; } .leertrap li:nth-child(2) { height: 50%; background: #B6D7A8; }
.leertrap li:nth-child(3) { height: 75%; background: #6AA84F; color: #fff; } .leertrap li:nth-child(4) { height: 100%; background: #3D85A6; color: #fff; }
.leertrap-arrow { font-family: var(--fh); color: var(--magenta-ink); margin-top: 1rem; }
.climber { position: absolute; left: 0; bottom: 25%; width: 44px; height: 44px; border-radius: var(--r-stone); background: var(--magenta); box-shadow: inset 0 -5px 0 rgba(0,0,0,.15); pointer-events: none; display: none; }
.js .climber { display: block; }

/* knappen */
.knappen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; list-style: none; padding: 0; margin: 0; }
.knappen li { background: #fff; border-radius: var(--r-stone); padding: 1.1rem 1.2rem; text-align: center; max-width: none; }
.knappen .vak { display: block; color: var(--muted); font-size: .95rem; }
.knappen .knap { display: block; font-weight: 780; color: var(--magenta-ink); font-size: 1.25rem; font-variation-settings: "opsz" 48, "wdth" 85; }
@media (max-width: 640px) { .knappen { grid-template-columns: repeat(2, minmax(0, 1fr)); } .knappen li { padding: 1rem .6rem; } .knappen .vak { hyphens: auto; overflow-wrap: anywhere; font-size: .88rem; } }

/* school day timeline (real hours) */
.dayline { position: relative; margin-top: 1.5rem; }
.dayline .bar { display: grid; grid-template-columns: var(--cols); height: 64px; border-radius: 999px; overflow: hidden; }
.dayline .seg { display: flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 700; color: var(--petrol-deep); white-space: nowrap; overflow: hidden; transform-origin: left; }
.dayline .ticks { display: grid; grid-template-columns: var(--cols); font-size: .8rem; color: var(--muted); margin-top: .4rem; }
.dayline .ticks span { white-space: nowrap; }
.day-list { display: none; }
@media (max-width: 760px) { .dayline { display: none; } .day-list { display: block; } }
.day-list ul { list-style: none; padding: 0; margin: 0; }
.day-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--line); max-width: none; }
.day-list b { color: var(--magenta-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem 2rem; margin: 0; }
.facts div { border-top: 2px solid var(--line); padding-top: .9rem; }
.dark .facts div { border-color: rgba(255,255,255,.25); }
.facts dt { font-size: var(--t-sm); color: var(--muted); font-weight: 600; }
.dark .facts dt { color: #BFD9E4; }
.facts dd { margin: .2rem 0 0; font-weight: 650; font-size: 1.15rem; }

/* agenda page */
.month { margin-bottom: 2.5rem; }
.month h3 { margin-bottom: .8rem; font-size: 1.5rem; }
.events { list-style: none; padding: 0; margin: 0; }
.events li { display: grid; grid-template-columns: minmax(14rem, 22rem) 1fr; gap: 1rem; padding: .75rem 0; border-top: 1px solid var(--line); max-width: none; align-items: baseline; }
.events time { font-weight: 700; color: var(--petrol); font-variant-numeric: tabular-nums; }
.events .cat { display: inline-block; font-size: .78rem; font-weight: 700; padding: .1rem .55rem; border-radius: 999px; margin-left: .5rem; background: rgba(130,192,217,.35); color: var(--petrol-deep); }
.events .cat.vak { background: rgba(247,163,207,.45); }
.events .cat.buiten { background: #CDE8C0; }
.events li.past { opacity: .5; }
.events li.next { background: #fff; border-radius: 14px; padding-inline: .8rem; outline: 2px solid var(--magenta-ink); opacity: 1; }
@media (max-width: 560px) { .events li { grid-template-columns: 1fr; gap: .1rem; } }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 2rem; font-size: .95rem; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.team-grid li { background: #fff; border-radius: 24px; padding: 1.3rem 1.4rem; max-width: none; }
.team-grid .role { font-weight: 780; color: var(--magenta-ink); font-size: .95rem; letter-spacing: .01em; display: block; margin-bottom: .3rem; font-variation-settings: "opsz" 24, "wdth" 85; }
.team-grid .names { margin: 0; padding: 0; list-style: none; }
.team-grid .names li { padding: 0; background: none; font-weight: 600; color: var(--petrol); }
.team-grid .note { color: var(--muted); font-size: .9rem; display: block; margin-top: .3rem; }
.director { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; background: #fff; border-radius: 36px; padding: 1.5rem; margin-bottom: 2rem; }
.director img { border-radius: var(--r-stone); aspect-ratio: 3/4; object-fit: cover; }
@media (max-width: 600px) { .director { grid-template-columns: 1fr; } .director img { max-width: 220px; } }

/* video */
.video { position: relative; border-radius: 32px; overflow: hidden; background: #000; }
.video video { width: 100%; height: auto; }
.video.portrait { max-width: 380px; margin-inline: auto; }

/* lists */
.ticks-list { list-style: none; padding: 0; margin: 0; columns: 2 16rem; column-gap: 2rem; }
.ticks-list li { break-inside: avoid; padding: .45rem 0 .45rem 2rem; position: relative; }
.ticks-list li::before { content: ""; position: absolute; left: 0; top: .75rem; width: 1.1rem; height: .9rem; border-radius: var(--r-stone); background: var(--sky); }
.ticks-list li:nth-child(even)::before { background: var(--blush); }
.prose h2 { font-size: var(--t-xl); margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.3rem; margin: 1.6rem 0 .5rem; }
.prose { max-width: 820px; }

/* final: blinkpot payoff */
.final { position: relative; background: var(--magenta-ink); color: #fff; overflow: hidden; }
.final .wrap { position: relative; z-index: 2; padding-block: clamp(4rem, 9vw, 7rem); pointer-events: none; }
.final .wrap > * { pointer-events: auto; }
.final h2 { color: #fff; font-size: var(--t-3xl); max-width: 12ch; line-height: .95; font-variation-settings: "opsz" 96, "wdth" 80; }
.final p { font-size: var(--t-lg); max-width: 46ch; }
.final .welcome { font-family: var(--fh); font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); color: #FFE3F1; opacity: 0; transform: translateY(12px) rotate(-2deg); transition: opacity .6s, transform .8s var(--ease); display: block; margin-top: 1rem; }
.final.done .welcome, html:not(.js) .final .welcome, .reduce .final .welcome { opacity: 1; transform: rotate(-2deg); }
.final canvas { position: absolute; right: 0; bottom: 0; width: min(560px, 60%); height: 100%; touch-action: pan-y; }
.final .btn-white { background: #fff; color: var(--magenta-ink); }
.final .btn-line { color: #fff; }
@media (max-width: 760px) { .final canvas { width: 100%; height: 55%; opacity: .9; } .final .wrap { padding-bottom: 16rem; } }

/* blinkpot progress jar (desktop) */
.blinkpot { position: fixed; left: 18px; bottom: 18px; z-index: 40; width: 74px; pointer-events: none; display: none; }
@media (min-width: 1180px) { .js .blinkpot { display: block; } }
.blinkpot svg { width: 74px; height: 92px; overflow: visible; }
.blinkpot .lbl { display: block; text-align: center; font-family: var(--fh); font-size: .72rem; color: var(--muted); margin-top: .1rem; }
.blinkpot .s { transform-box: fill-box; transform-origin: center; opacity: 0; transform: translateY(-60px); transition: transform .7s cubic-bezier(.3,1.5,.5,1), opacity .3s; }
.blinkpot .s.in { opacity: 1; transform: none; }

/* footer */
.site-footer { background: var(--petrol-deep); color: #D7E8EF; padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.site-footer a { color: #fff; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.foot h2 { font-size: 1.05rem; color: var(--blush); margin-bottom: .8rem; font-variation-settings: "opsz" 24; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: .45rem; }
.foot .logo { background: #fff; border-radius: 22px; padding: .6rem; width: 110px; margin-bottom: 1rem; }
.foot-base { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.15); margin-top: 2.5rem; padding-top: 1.4rem; font-size: .9rem; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }

/* mobile CTA dock */
.dock { display: none; }
@media (max-width: 760px) {
  .dock { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: .55rem var(--gutter) calc(.55rem + env(safe-area-inset-bottom)); background: rgba(244,248,250,.97); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
  .dock.show { transform: none; }
  .dock .btn { width: 100%; }
  body { padding-bottom: 76px; }
}

/* page hero (inner pages) */
.page-hero { background: linear-gradient(180deg, var(--paper), #E8F3F8); }
.page-hero .wrap { padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; }
.page-hero h1 { font-size: var(--t-3xl); line-height: .95; font-variation-settings: "opsz" 96, "wdth" 80; }
.page-hero p.lede { font-size: var(--t-lg); margin: 1rem 0 0; }
.page-hero .media { aspect-ratio: 4/3; }
.crumbs { font-size: var(--t-sm); color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr; } }
.subnav { position: sticky; top: 80px; z-index: 30; background: rgba(255,255,255,.97); border-block: 1px solid var(--line); }
.subnav ul { display: flex; gap: .3rem; list-style: none; margin: 0; padding: .55rem 0; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: block; white-space: nowrap; padding: .45rem .9rem; border-radius: 999px; text-decoration: none; font-weight: 650; color: var(--petrol); font-size: .95rem; }
.subnav a:hover { background: rgba(130,192,217,.3); }

/* reveal helpers (JS adds .js) */
.js [data-rise] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js [data-rise].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-rise] { opacity: 1; transform: none; }
}

/* round 1 critique */
.final p a { color: #fff; text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (min-width: 900px) {
  .hero { min-height: min(calc(100svh - 80px), 820px); display: flex; align-items: center; }
  .hero .wrap { width: 100%; padding-block: 4rem 6rem; }
  .stones { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; height: auto; margin: 0; }
  .stones::before { content: ""; position: absolute; inset: 14% 8% 0 10%; background: #fff; opacity: .55; border-radius: 48% 52% 0 0 / 38% 42% 0 0; }
}
@media (min-width: 900px) { .stones-hint { bottom: auto; top: 22%; right: calc(var(--gutter) + 4%); } }
a[href^="tel:"] { white-space: nowrap; }
@media (max-width: 899px) { .stones-hint { display: none; } }

.dw-media { position: sticky; top: 140px; }
@media (max-width: 860px) { .dw-media { position: static; } }.events li > span strong { font-weight: 700; }
.past-toggle { margin: 0 0 2rem; }
