:root {
  --night: #0d1b1a;
  --deep: #14302d;
  --teal: #2f5d5a;
  --teal-2: #3f7a75;
  --mist: #a9c2bc;
  --sand: #f5efe6;
  --paper: #fffcf7;
  --ink: #1f2b29;
  --muted: #5b6966;
  --clay: #c0754f;
  --gold: #e8bb8c;
  --line: #e5dccd;
  --radius: 22px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: clip; margin: 0; font-family: var(--sans); color: var(--ink); background: var(--sand); line-height: 1.75; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, svg, canvas { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .55em; letter-spacing: -.01em; }
h1 { font-size: clamp(3rem, 7.5vw, 6.2rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
em.accent, .accent { font-style: italic; color: var(--clay); }
.dark .accent, .callout .accent { color: var(--gold); }
::selection { background: var(--gold); color: var(--night); }

.container { width: min(1180px, 92%); margin: 0 auto; }
.narrow { max-width: 50rem; }
.center { text-align: center; margin-inline: auto; }
.eyebrow { font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--clay); font-weight: 600; margin-bottom: 1.1rem; display: inline-flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.dark .eyebrow { color: var(--gold); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); }
.dark .lead, .hero .lead, .callout .lead { color: var(--mist); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(13, 27, 26, .86); backdrop-filter: blur(14px); border-color: rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--serif); font-size: 1.45rem; text-decoration: none; color: #fff; white-space: nowrap; }
.brand svg { width: 34px; height: 34px; }
.brand span { color: var(--gold); font-style: italic; }
.nav-links { display: flex; gap: 1.8rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: rgba(255,255,255,.82); font-size: .93rem; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold); }
.lang { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .25rem .85rem; font-size: .78rem !important; font-weight: 600; letter-spacing: .08em; }
.lang b { color: var(--gold); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; position: relative; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { position: absolute; left: 8px; right: 8px; height: 1.5px; background: #fff; content: ""; transition: transform .3s; }
.menu-toggle span { top: 19px; }
.menu-toggle span::before { top: -7px; left: 0; right: 0; }
.menu-toggle span::after { top: 7px; left: 0; right: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.8rem; border-radius: 999px; background: var(--clay); color: #fff !important; text-decoration: none; font-weight: 500; border: 1px solid var(--clay); transition: transform .25s, box-shadow .25s, background .25s; cursor: pointer; font: 500 1rem var(--sans); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(192,117,79,.7); }
.btn.ghost { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.dark .btn.ghost, .hero .btn.ghost { color: #fff !important; border-color: rgba(255,255,255,.5); }
.btn.ghost:hover { box-shadow: none; background: rgba(255,255,255,.08); }
.btn.small { padding: .55rem 1.2rem; font-size: .9rem; }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100vh, 1000px); display: flex; align-items: center; background: radial-gradient(ellipse at 70% 40%, #1d3f3b 0%, var(--night) 65%); color: #fff; overflow: hidden; padding: 8rem 0 5rem; }
.hero.short { min-height: min(78vh, 760px); }
.hero canvas.art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .container { position: relative; z-index: 2; pointer-events: none; }
.hero .container a, .hero .container button { pointer-events: auto; }
.hero h1 { max-width: 13ch; }
.hero .lead { max-width: 36rem; margin: 1.5rem 0 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-hint { position: absolute; bottom: 2rem; right: 4%; z-index: 2; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.hero-hint::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--mist), transparent); animation: drip 2.4s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero .badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 3.5rem; }
.hero .badges span { font-size: .75rem; padding: .35rem .9rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: var(--mist); backdrop-filter: blur(4px); }

/* ---------- Marquee ---------- */
.marquee { background: var(--clay); color: #fff; overflow: hidden; padding: 1.1rem 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 3rem; animation: marquee 40s linear infinite; font-family: var(--serif); font-size: 1.6rem; font-style: italic; }
.marquee-track span::after { content: "✦"; margin-left: 3rem; font-style: normal; font-size: .9rem; opacity: .7; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 7rem 0; position: relative; }
section.paper { background: var(--paper); }
section.dark, .dark { background: var(--night); color: #e8eeec; }
section.deep { background: var(--deep); color: #e8eeec; }
.dark h2, .dark h3, .dark h4, .deep h2, .deep h3, .deep h4 { color: #fff; }
.section-head { margin-bottom: 4rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.grid-2.top { align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.1rem; transition: transform .35s, box-shadow .35s; position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(20, 48, 45, .45); }
section.paper .card { background: var(--sand); }
.dark .card, .deep .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); color: #dbe5e2; }
.card .icon { width: 56px; height: 56px; margin-bottom: 1.3rem; color: var(--clay); }
.dark .card .icon, .deep .card .icon { color: var(--gold); }
.card.link { text-decoration: none; color: inherit; display: block; }
.card.link .more { color: var(--clay); font-weight: 500; font-size: .95rem; margin-top: 1rem; display: inline-block; }
.num-big { font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--clay); margin-bottom: .5rem; }
.dark .num-big, .deep .num-big { color: var(--gold); }

blockquote.big { margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-style: italic; line-height: 1.3; }
blockquote.big cite { display: block; font: normal 500 .85rem var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--clay); margin-top: 1.5rem; }
.dark blockquote.big cite { color: var(--gold); }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: .8rem 0 .8rem 2.1rem; border-bottom: 1px solid var(--line); position: relative; }
.dark .checklist li, .deep .checklist li { border-color: rgba(255,255,255,.1); }
.checklist li::before { content: ""; position: absolute; left: .2rem; top: 1.35rem; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--clay); box-shadow: 0 0 0 4px rgba(192,117,79,.12); }

.tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.tags span { padding: .5rem 1.1rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .92rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.stats > div { padding: 2.4rem 1.5rem; border-right: 1px solid rgba(255,255,255,.12); }
.stats > div:last-child { border-right: 0; }
.stats strong { display: block; font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 400; line-height: 1; color: var(--gold); margin-bottom: .6rem; }
.stats span { font-size: .9rem; color: var(--mist); }
.stats.light { border-color: var(--line); }
.stats.light > div { border-color: var(--line); }
.stats.light strong { color: var(--clay); }
.stats.light span { color: var(--muted); }

/* ---------- Tides explorer ---------- */
.tides { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.tide-stage { position: relative; aspect-ratio: 1; border-radius: 50%; }
.tide-stage canvas { width: 100%; height: 100%; }
.tide-readout { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; }
.tide-readout .phase { font-family: var(--serif); font-size: 2rem; font-style: italic; color: #fff; }
.tide-readout .timer { font-size: .8rem; letter-spacing: .2em; color: var(--mist); text-transform: uppercase; margin-top: .3rem; }
.tide-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.tide-tabs button { font: 500 .9rem var(--sans); padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: var(--mist); cursor: pointer; transition: all .25s; }
.tide-tabs button[aria-selected="true"] { background: var(--gold); color: var(--night); border-color: var(--gold); }
.tide-info h3 { font-size: 2.4rem; margin-bottom: .3rem; }
.tide-info .rate { color: var(--gold); font-size: .95rem; letter-spacing: .05em; margin-bottom: 1.2rem; display: block; }
.tide-note { font-size: .8rem; color: var(--mist); opacity: .75; margin-top: 2rem; }

/* ---------- PRM anatomy ---------- */
.prm { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.prm-figure { position: relative; max-width: 460px; margin: 0 auto; width: 100%; }
.prm-figure svg { width: 100%; height: auto; overflow: visible; }
.hotspot { cursor: pointer; }
.hotspot circle.ring { fill: none; stroke: var(--clay); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ping 2.6s ease-out infinite; }
.hotspot circle.dot { fill: var(--clay); transition: r .2s; }
.hotspot text { fill: #fff; font: 600 12px var(--sans); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.hotspot.active circle.dot, .hotspot:hover circle.dot { fill: var(--teal); }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.breathe-group { transform-box: fill-box; transform-origin: center; animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.025); } }
.prm-list { counter-reset: prm; display: grid; gap: .8rem; }
.prm-item { border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.4rem 1.1rem 4rem; position: relative; cursor: pointer; transition: all .3s; background: var(--paper); }
.prm-item::before { counter-increment: prm; content: counter(prm); position: absolute; left: 1.2rem; top: 1.05rem; width: 30px; height: 30px; border-radius: 50%; background: var(--sand); color: var(--clay); display: grid; place-items: center; font-weight: 600; font-size: .9rem; transition: all .3s; }
.prm-item h4 { margin: 0; font-size: 1.2rem; }
.prm-item p { margin: 0; max-height: 0; overflow: hidden; transition: max-height .45s ease, margin .3s; color: var(--muted); font-size: .95rem; }
.prm-item.active { border-color: var(--clay); box-shadow: 0 14px 40px -24px rgba(192,117,79,.7); }
.prm-item.active::before { background: var(--clay); color: #fff; }
.prm-item.active p { max-height: 12rem; margin-top: .5rem; }

/* ---------- Timeline (history) ---------- */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.15); }
.timeline .progress { position: absolute; left: 7px; top: 0; width: 1px; background: var(--gold); height: 0; transition: height .1s linear; }
.tl-item { position: relative; padding-bottom: 2.8rem; }
.tl-item::before { content: ""; position: absolute; left: calc(-2.5rem + 1px); top: .55rem; width: 13px; height: 13px; border-radius: 50%; background: var(--night); border: 1.5px solid var(--gold); }
.tl-year { font-family: var(--serif); font-size: 2.2rem; color: var(--gold); line-height: 1; margin-bottom: .4rem; }
.tl-item h4 { color: #fff; margin-bottom: .3rem; }
.tl-item p { color: var(--mist); margin: 0; max-width: 38rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; counter-reset: step; }
.step { position: relative; padding-top: 4.2rem; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; font-family: var(--serif); font-size: 3rem; color: var(--clay); line-height: 1; }
.step::after { content: ""; position: absolute; top: 1.5rem; left: 4.2rem; right: -1rem; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step h4 { margin-bottom: .4rem; }
.step p { font-size: .95rem; color: var(--muted); }
.dark .step p, .deep .step p { color: var(--mist); }
.dark .step::after, .deep .step::after { background: rgba(255,255,255,.15); }
.dark .step::before, .deep .step::before { color: var(--gold); }

/* ---------- Seminar journey ---------- */
.journey { display: grid; gap: 1.4rem; }
.stage-label { display: flex; align-items: baseline; gap: 1.2rem; margin: 3rem 0 1rem; }
.stage-label:first-child { margin-top: 0; }
.stage-label h3 { margin: 0; }
.stage-label p { margin: 0; color: var(--muted); }
.seminar { display: grid; grid-template-columns: 150px 1fr; gap: 2.2rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 2.4rem; transition: transform .35s, box-shadow .35s; }
.seminar:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(20,48,45,.45); }
.seminar .glyph { width: 150px; height: 150px; }
.seminar .glyph svg { width: 100%; height: 100%; }
.seminar .s-num { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--clay); font-weight: 600; }
.seminar h4 { font-size: 1.65rem; margin: .3rem 0 .6rem; }
.seminar p { margin: 0; color: var(--muted); }
.seminar ul { margin: .8rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .95rem; }
.seminar.exam { background: var(--deep); color: #dbe5e2; border-color: transparent; }
.seminar.exam h4 { color: #fff; }
.seminar.exam p, .seminar.exam ul { color: var(--mist); }
.seminar.exam .s-num { color: var(--gold); }

/* ---------- Hours bar ---------- */
.hours-bar { display: flex; height: 64px; border-radius: 999px; overflow: hidden; margin: 2rem 0 1rem; }
.hours-bar div { display: flex; align-items: center; padding: 0 1.6rem; color: #fff; font-weight: 500; font-size: .95rem; white-space: nowrap; width: 0; transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.hours-bar .a { background: var(--teal); }
.hours-bar .b { background: var(--clay); }
.hours-bar.visible .a { width: 55.6%; }
.hours-bar.visible .b { width: 44.4%; }
.hours-legend { display: flex; gap: 2rem; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.hours-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: .5rem; vertical-align: middle; }

/* ---------- Teachers ---------- */
.person { display: grid; grid-template-columns: 120px 1fr; gap: 1.8rem; align-items: start; }
.person .portrait { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; background: var(--deep); }
.person .portrait svg { width: 100%; height: 100%; }
.person .role { color: var(--clay); font-size: .9rem; font-weight: 500; margin-bottom: .8rem; }
.dark .person .role, .deep .person .role { color: var(--gold); }

/* ---------- Testimonials ---------- */
.quotes { position: relative; min-height: 15rem; }
.quote { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .8s, transform .8s; pointer-events: none; }
.quote.active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.quote p { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); font-style: italic; line-height: 1.35; color: #fff; }
.quote footer { background: none; padding: 0; color: var(--gold); font-size: .9rem; letter-spacing: .05em; }
.quote-dots { display: flex; gap: .6rem; margin-top: 2rem; }
.quote-dots button { width: 34px; height: 3px; border: 0; background: rgba(255,255,255,.2); cursor: pointer; padding: 0; transition: background .3s; }
.quote-dots button.active { background: var(--gold); }

/* ---------- Callout ---------- */
.callout { background: linear-gradient(135deg, var(--teal) 0%, var(--deep) 100%); color: #e8eeec; border-radius: 32px; padding: clamp(2.5rem, 6vw, 5rem); position: relative; overflow: hidden; }
.callout h2 { color: #fff; }
.callout .eyebrow { color: var(--gold); }
.callout canvas { position: absolute; right: -10%; top: -20%; width: 70%; height: 140%; opacity: .55; pointer-events: none; }
.callout > *:not(canvas) { position: relative; }
.status { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem 1rem; border-radius: 999px; background: rgba(232,187,140,.15); color: var(--gold); font-size: .8rem; font-weight: 600; margin-bottom: 1.3rem; border: 1px solid rgba(232,187,140,.4); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* ---------- Notice ---------- */
.notice { border-left: 3px solid var(--clay); background: var(--paper); padding: 1.6rem 2rem; border-radius: 0 var(--radius) var(--radius) 0; }
.notice h4 { margin-bottom: .5rem; }
.notice p:last-child { margin: 0; }

/* ---------- FAQ ---------- */
details { border-bottom: 1px solid var(--line); padding: 1.4rem 0; }
summary { cursor: pointer; font-family: var(--serif); font-size: 1.4rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--clay); font: 300 1.8rem var(--sans); line-height: 1; transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 1rem 0 0; color: var(--muted); }

/* ---------- Form ---------- */
form { display: grid; gap: 1.1rem; background: var(--paper); padding: clamp(1.6rem, 4vw, 2.8rem); border-radius: var(--radius); border: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-size: .85rem; font-weight: 500; display: grid; gap: .4rem; }
input, select, textarea { font: inherit; font-weight: 400; padding: .9rem 1.1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--sand); color: var(--ink); transition: border-color .2s, background .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.checkbox { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; color: var(--muted); }
.checkbox input { margin-top: .35rem; accent-color: var(--teal); }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }

/* ---------- Page hero background word ---------- */
.ghost-word { position: absolute; right: -2vw; bottom: -4vw; font-family: var(--serif); font-style: italic; font-size: 22vw; line-height: 1; color: rgba(255,255,255,.03); pointer-events: none; z-index: 1; white-space: nowrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--mist); padding: 5rem 0 2rem; font-size: .93rem; }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer h4 { color: #fff; font-size: 1.3rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer-big { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4rem); color: #fff; line-height: 1.05; margin-bottom: 1rem; }
.footer-big em { color: var(--gold); }
.disclaimer { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.6rem; font-size: .8rem; opacity: .75; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }
.split-line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.split-line > span { display: block; animation: rise 1.2s cubic-bezier(.2,.8,.2,1) both; }
.split-line:nth-child(2) > span { animation-delay: .12s; }
.split-line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .split-line > span { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .grid-2, .grid-3, .tides, .prm { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .seminar { grid-template-columns: 1fr; gap: 1rem; padding: 1.6rem; }
  .seminar .glyph { width: 100px; height: 100px; }
  .person { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .nav-links { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: flex-start; background: var(--night); padding: 2rem 6%; gap: 1.3rem; transform: translateY(-120%); transition: transform .4s; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 1.15rem; }
  section { padding: 4.5rem 0; }
  .tide-stage { max-width: 420px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) {
  .row, .grid-4, .grid-5, .steps, .footer-grid { grid-template-columns: 1fr; }
  .hours-bar div { font-size: .75rem; padding: 0 .8rem; }
}
