/* Hallmark · shape: the dive, shallow to deep by age · genre: editorial · theme: custom · job: book · idea: "the page is a sea you go down through: the shallows are the children's classes, the deep water is the cabinet, and a gauge on the side counts the age from 6 to 100" · vibe: "calm sea, warm room, serious care"
 * paper: oklch(98% 0.006 95), the white of the logo · water: the tricolour blue of the logo · accent: oklch(87% 0.17 95) the yellow heart of the logo, with the logo red as a quiet second accent (Roxana: the visual identity uses the logo's colours) · display: Archivo 780 · body: Archivo 400 · outlier: Mansalva, one role, the handwritten note on the hero photo · hero: the motto set large beside a real photo of a girl drawing in the yellow room, a handwritten note on the photo · nav: brand left, five links, a quiet call action right, floating bar · footer: the dream of the country house as a statement, then the legal name · imagery: photographs from the centre's own Facebook page and the fars.ro set · signature: the water deepening from sea-glass to night blue as you scroll past the ages, with the age gauge
 * axes: light/grotesk-heavy/chromatic-blue · posture: committed, the sea carries the surfaces, yellow stays a signal · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V5 · weakest: H, seven course layers risk a long middle; each layer is one card with one fact line, three carry photos, the rest are type on deepening water */
/* Hallmark · finish-review: subagent · 8 findings · 8 resolved (gauge shown from 960px with the age dot, chip on phones; summer moved to the shallows; Roxana leads the people section; yellow back to a signal; skills set as type; meta under heads; teen copy; dead band gone) · gap: Roxana photo */
/* Hallmark · dismissed render · the fallback warning is a capture timing artefact: document.fonts reports Archivo and Mansalva loaded in the live page */
/* Hallmark · waive 23 · the deep sections are sea surfaces under the committed posture, the yellow accent stays on buttons and the gauge dot · the dive needs the water itself to change colour */
/* Hallmark · dismissed F4 · the dark fill is the selected state of the day tabs, not a second primary button; the only filled button is the yellow WhatsApp one */
/* Hallmark · answered F7 · the pills are the nav bar, the gauge label and the skill words, each a small floating tag on the water, and boxes take the card radius */
/* Hallmark · waive 77 · the summer section carries a five-row table of weeks, themes and prices beside its head · the table is the offer and the section mass */
/* Hallmark · dismissed F20 · the orphan word is the reduced-motion fallback of the sliding skill words, where they wrap as a cloud; with motion on they run as two lines */
/* Hallmark · dismissed 58 · the page total runs past 450 words because the owner asked for a fuller site and the timetable, prices and credentials are the client's own leaflet; every 900px screen stays near 80 */
/* Hallmark · waive 78 · the calendar day names and the form side note are labels inside a timetable and a form, set at title size so six columns fit · a 52px day name would not fit a sixth of the container */
/* Hallmark · waive 39b · each calendar slot is a whole timetable card that opens its course window, so it takes the card height, not a button height · the slot holds time, course and age */
/* Hallmark · waive 83 · a gallery of the centre's own work, photographs from its Facebook page · the owner asked for swipe galleries on Acasă and Cursuri, and four photos show at a time */
@import url("./tokens.css?v=7");
@import url("./base.css?v=2");

/* ---------- base ---------- */
body { font-weight: 400; }
h1, h2, h3 { font-weight: var(--display-weight); letter-spacing: var(--tracking-display); color: inherit; }
h1 { font-size: var(--text-display); line-height: 1.02; max-width: 14ch; }
h2 { font-size: var(--text-section); line-height: 1.06; max-width: 22ch; }
h3 { font-size: var(--text-2xl); line-height: 1.1; }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-modal); background: var(--color-accent); color: var(--color-accent-ink); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); }
.skip:focus-visible { top: var(--space-md); }
.lead { font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink-2); max-width: 34ch; }
section { position: relative; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); font-weight: 650; text-decoration: none; white-space: nowrap; border: 2px solid transparent; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-deep); }
.btn--primary:active { transform: translateY(1px); }
.btn--quiet { min-height: 44px; border-color: var(--color-ink); color: var(--color-ink); background: transparent; }
.btn--quiet:hover { background: var(--color-ink); color: var(--color-paper); }
.btn--quiet:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.link { font-weight: 650; color: var(--color-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; text-decoration-color: var(--color-accent-deep); transition: color var(--dur-short) var(--ease-out); }
.link:hover { color: var(--color-ink-2); text-decoration-color: var(--color-ink); }
.link:active { color: var(--color-muted); }
.link:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: var(--space-sm) 0 auto; z-index: var(--z-sticky-nav); pointer-events: none; }
.nav__bar { pointer-events: auto; display: flex; align-items: center; gap: var(--space-lg); max-width: calc(var(--container) - 2 * var(--gutter)); margin-inline: auto; width: calc(100% - 2 * var(--space-md)); min-height: 64px; padding: var(--space-xs) var(--space-xs) var(--space-xs) var(--space-md); background: color-mix(in oklab, var(--color-paper) 88%, transparent); backdrop-filter: blur(12px); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); }
.nav__brand { display: inline-flex; align-items: center; gap: var(--space-sm); font-weight: 650; text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.nav__brand img { width: 40px; height: 40px; }
.nav__brand:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; border-radius: 8px; }
.nav__links { display: flex; gap: var(--space-xs); margin-left: auto; }
.nav__links a { padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-pill); text-decoration: none; font-size: var(--text-sm); font-weight: 650; color: var(--color-ink-2); white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.nav__links a:hover { background: var(--color-paper-2); color: var(--color-ink); }
.nav__links a:active { background: var(--color-paper-3); }
.nav__links a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.nav__menu { display: none; position: relative; }
.nav__menu summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 0 var(--space-md); border-radius: var(--radius-pill); font-weight: 650; color: var(--color-ink); background: var(--color-paper-2); transition: background-color var(--dur-short) var(--ease-out); }
.nav__menu summary::-webkit-details-marker { display: none; }
.nav__menu summary:hover { background: var(--color-paper-3); }
.nav__menu summary:active { background: var(--color-sea-1); }
.nav__menu summary:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.nav__menu[open] summary { background: var(--color-ink); color: var(--color-paper); }
.nav__drop { position: fixed; left: var(--space-md); right: var(--space-md); top: calc(64px + var(--space-lg)); display: grid; gap: var(--space-2xs); padding: var(--space-sm); background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: var(--radius-inner); box-shadow: var(--shadow-card); z-index: var(--z-dropdown); }
.nav__drop a { padding: var(--space-sm) var(--space-md); border-radius: var(--space-xs); text-decoration: none; font-weight: 650; }
.nav__drop a:hover { background: var(--color-paper-2); }
.nav__drop a:active { background: var(--color-paper-3); }
.nav__drop a[aria-current="page"] { background: var(--color-sea-1); }
.nav__drop a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
@media (max-width: 62rem) { .nav__links { display: none; } .nav__menu { display: block; margin-left: auto; } }

/* ---------- age gauge: a left rail on laptops, a chip on phones ---------- */
.gauge { position: fixed; left: var(--space-md); top: 50%; translate: 0 -50%; z-index: var(--z-sticky); display: grid; justify-items: center; gap: var(--space-xs); font-size: var(--text-xs); font-weight: 650; color: var(--color-ink-2); }
.gauge__line { position: relative; width: 2px; height: 40vh; background: var(--color-rule); border-radius: 2px; }
.gauge__dot { position: absolute; left: 50%; top: 0; width: 14px; height: 14px; translate: -50% -50%; border-radius: 50%; background: var(--color-accent); border: 2px solid var(--color-ink); transform: translateY(calc(var(--age-pos, 0) * 40vh)); transition: transform var(--dur-long) var(--ease-out); }
.gauge.is-deep { color: var(--color-on-deep-2); }
.gauge.is-deep .gauge__line { background: var(--color-rule-deep); }
.nav__age { margin-left: var(--space-md); white-space: nowrap; font-size: var(--text-sm); font-weight: 650; color: var(--color-ink); background: var(--color-sea-1); padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); }
.nav__age::before, .age-chip::before { content: "aici: "; font-weight: 400; color: var(--color-ink-2); }
.age-chip { display: none; }
@media (max-width: 75rem) {
  .nav__age { display: none; }
  .age-chip { display: block; position: fixed; left: var(--space-md); bottom: var(--space-md); z-index: var(--z-sticky); margin: 0; font-size: var(--text-sm); font-weight: 650; color: var(--color-ink); background: var(--color-paper); border: 1px solid var(--color-rule); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); box-shadow: var(--shadow-card); }
}
@media (max-width: 60rem) { .gauge { display: none; } }
@media (prefers-reduced-motion: reduce) { .gauge__dot { transition: none; } }

/* ---------- loader (only with JS, first visit) ---------- */
.loader { display: none; }
.js .loader.is-on { display: grid; position: fixed; inset: 0; z-index: var(--z-modal); place-content: center; justify-items: center; gap: var(--space-md); background: var(--color-sea-1); color: var(--color-ink); transition: opacity var(--dur-long) var(--ease-in), transform var(--dur-long) var(--ease-in); }
.loader__mark { width: 112px; height: 112px; }
.loader__count { font-size: var(--text-3xl); font-weight: 780; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.loader.is-gone { opacity: 0; transform: translateY(-24px); pointer-events: none; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(var(--color-paper) 30%, var(--color-paper-3)); padding-top: var(--space-4xl); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--space-2xl); align-items: center; min-height: calc(100svh - var(--space-4xl) - var(--space-2xl)); padding-bottom: var(--space-3xl); }
.hero__text { display: grid; gap: var(--space-lg); }
.hero__do { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xs); }
.hero__art { position: relative; margin: 0; justify-self: end; width: min(100%, 520px); }
.hero__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.hero__note { position: absolute; left: calc(-1 * var(--space-2xl)); bottom: var(--space-xl); font-family: var(--font-outlier); font-size: var(--text-2xl); line-height: 1; background: var(--color-accent); color: var(--color-accent-ink); padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-pill); rotate: -4deg; }
.js .hero__note { clip-path: inset(0 100% 0 0 round 999px); animation: write 1.1s var(--ease-out) 0.5s forwards; }
@keyframes write { to { clip-path: inset(0 0 0 0 round 999px); } }
@media (prefers-reduced-motion: reduce) { .js .hero__note { animation: none; clip-path: none; } }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 96px); fill: var(--color-sea-1); }
@media (max-width: 52rem) {
  .hero { padding-top: var(--space-4xl); }
  .hero__in { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: var(--space-xl); padding-bottom: var(--space-4xl); }
  .hero__art { justify-self: stretch; width: 100%; }
  .hero__photo { aspect-ratio: 4 / 3.4; }
  .hero__note { left: var(--space-md); bottom: calc(-1 * var(--space-lg)); font-size: var(--text-xl); }
}

/* ---------- skills marquee ---------- */
.skills { background: var(--color-sea-1); padding-block: var(--space-2xl) var(--space-3xl); }
.skills__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-md) var(--space-2xl); margin-bottom: var(--space-2xl); }
.skills__head p { color: var(--color-ink-2); max-width: 36ch; }
.marquee { position: relative; display: grid; gap: var(--space-md); }
.marquee__row { display: flex; gap: var(--space-md); width: max-content; margin: 0; padding: 0; list-style: none; animation: drift 60s linear infinite; }
.marquee__row--back { animation-direction: reverse; }
.marquee__row { gap: var(--space-2xl); }
.marquee__row li { font-size: clamp(2.5rem, 5vw, 5.5rem); line-height: 1.05; font-weight: var(--display-weight); letter-spacing: -0.03em; white-space: nowrap; color: var(--color-ink); }
.marquee__row li:nth-child(even) { color: var(--color-sea-3); }
.marquee:hover .marquee__row, .marquee:focus-within .marquee__row, .marquee.is-paused .marquee__row, .marquee.is-off .marquee__row { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
.marquee__pause { justify-self: end; margin-right: var(--gutter); margin-top: var(--space-xs); background: none; border: 0; padding: var(--space-xs) 0; font-size: var(--text-sm); font-weight: 650; color: var(--color-ink); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.marquee__pause:hover { color: var(--color-ink-2); }
.marquee__pause:active { color: var(--color-muted); }
.marquee__pause:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .marquee__row { animation: none; flex-wrap: wrap; width: auto; padding-inline: var(--gutter); gap: var(--space-xs) var(--space-xl); } .marquee__row li { white-space: normal; font-size: var(--text-3xl); } .marquee__pause { display: none; } }

/* ---------- mission statement ---------- */
.mission { padding-top: var(--section-gap-s); }
.skills { padding-bottom: var(--section-gap-s); }
.mission__text { font-size: clamp(1.875rem, 3.2vw + 0.6rem, 3.75rem); line-height: 1.12; font-weight: 650; letter-spacing: -0.02em; max-width: 28ch; }
.mission__text .w { transition: opacity var(--dur-short) linear; }
.js .mission__text .w { opacity: 0.2; }
.js .mission__text .w.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .mission__text .w { opacity: 1; } }
.mission__by { margin-top: var(--space-xl); font-weight: 650; color: var(--color-ink-2); }

/* ---------- the week ---------- */
.week { background: linear-gradient(var(--color-sea-1), var(--color-paper-2) 30%); padding-top: var(--space-2xl); padding-bottom: var(--section-gap); }
.week__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-md) var(--space-2xl); margin-bottom: var(--space-xl); }
.week__head p { color: var(--color-ink-2); }
.week__tabs { display: none; }
.js .week__tabs { display: flex; gap: var(--space-xs); overflow-x: auto; padding-bottom: var(--space-xs); margin-bottom: var(--space-lg); scrollbar-width: none; }
.week__tabs button { flex-shrink: 0; min-height: 44px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); border: 2px solid var(--color-ink); background: transparent; color: var(--color-ink); font-weight: 650; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.week__tabs button:hover { background: var(--color-paper-3); }
.week__tabs button:active { transform: translateY(1px); }
.week__tabs button[aria-selected="true"] { background: var(--color-ink); color: var(--color-paper); }
.week__tabs button:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.week__days { display: grid; gap: var(--space-xl); }
.js .week__days .day[hidden] { display: none; }
.js .day__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.day { background: var(--color-paper); border-radius: var(--radius-card); padding: var(--space-xl); }
.day__name { font-size: var(--text-title); margin-bottom: var(--space-md); }
.slots { list-style: none; margin: 0; padding: 0; display: grid; }
.slots li { display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto; gap: var(--space-lg); align-items: baseline; padding-block: var(--space-lg); border-top: 1px solid var(--color-rule); }
.slots li:first-child { border-top: 0; padding-top: 0; }
.slots time { font-weight: 650; font-size: var(--text-xl); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.slot__what { font-size: var(--text-xl); font-weight: 650; letter-spacing: -0.01em; }
.slot__who { color: var(--color-ink-2); white-space: nowrap; }
.day__more { margin-top: var(--space-lg); color: var(--color-ink-2); }
@media (max-width: 48rem) { .slots li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); } .day { padding: var(--space-lg); } }

/* ---------- the depths: stacked layers ---------- */
.depths { background: linear-gradient(var(--color-sea-1) 0, var(--color-sea-2) 22%, var(--color-sea-3) 55%, var(--color-sea-4) 85%, var(--color-sea-5) 100%); padding-block: var(--space-2xl) var(--section-gap); }
.depths__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-md) var(--space-2xl); margin-bottom: var(--space-2xl); }
.depths__head p { color: var(--color-ink); }
.stack { display: grid; gap: var(--space-xl); }
.layer { position: sticky; top: calc(88px + var(--i, 0) * 14px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-2xl); align-items: center; min-height: 26rem; padding: var(--space-2xl); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.layer__text { display: grid; gap: var(--space-md); align-content: center; }
.layer__text > p:not([class]) { font-size: var(--text-lead); line-height: 1.5; max-width: 48ch; }
.layer h3 { font-size: clamp(2rem, 2.4vw + 1rem, 3.25rem); line-height: 1.04; }
.layer__age { font-weight: 650; margin-top: calc(-1 * var(--space-xs)); }
.layer__when { font-weight: 650; }
.layer__when a { white-space: nowrap; }
.layer a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.layer a:hover { text-decoration-color: var(--color-accent); }
.layer a:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.layer:not(:has(.layer__photo)):not(:has(.layer__big)) { grid-template-columns: minmax(0, 1fr); }
.layer:not(:has(.layer__photo)):not(:has(.layer__big)) .layer__text { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-2xl); align-items: start; }
.layer:not(:has(.layer__photo)):not(:has(.layer__big)) .layer__text > :not(h3):not(.layer__age) { grid-column: 2; }
.layer:not(:has(.layer__photo)):not(:has(.layer__big)) .layer__text > p:not([class]) { grid-row: 1 / span 2; }
.layer__big { font-size: clamp(3.5rem, 7vw, 7.5rem); line-height: 0.95; font-weight: var(--display-weight); letter-spacing: -0.04em; justify-self: end; text-align: right; opacity: 0.9; font-variant-numeric: tabular-nums; }
.layer__photo { width: 100%; height: 22rem; object-fit: cover; border-radius: var(--radius-inner); }
.layer--1 { --i: 0; background: var(--color-paper); color: var(--color-ink); }
.layer--2 { --i: 1; background: var(--color-sea-1); color: var(--color-ink); }
.layer--3 { --i: 2; background: color-mix(in oklab, var(--color-sea-1) 50%, var(--color-sea-2)); color: var(--color-ink); }
.layer--4 { --i: 3; background: var(--color-sea-2); color: var(--color-ink); }
.layer--5 { --i: 4; background: var(--color-sea-3); color: var(--color-on-deep); }
.layer--6 { --i: 5; background: var(--color-sea-4); color: var(--color-on-deep); }
.layer--7 { --i: 6; background: var(--color-sea-5); color: var(--color-on-deep); border: 1px solid var(--color-rule-deep); }
.layer--5 a:focus-visible, .layer--6 a:focus-visible, .layer--7 a:focus-visible { outline-color: var(--color-focus-deep); }
.days { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); font-size: var(--text-lead); }
.days b { display: inline-block; min-width: 6.5rem; font-weight: 650; }
@media (max-width: 52rem) {
  .layer .layer__text { grid-template-columns: minmax(0, 1fr) !important; }
  .layer .layer__text > * { grid-column: auto !important; grid-row: auto !important; }
  .layer { position: relative; top: auto; grid-template-columns: minmax(0, 1fr); min-height: 0; padding: var(--space-xl) var(--space-lg); gap: var(--space-lg); }
  .layer__photo { height: 15rem; order: -1; }
  .layer:not(:has(.layer__photo)):not(:has(.layer__big)) .layer__text { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-2xl); align-items: start; }
.layer:not(:has(.layer__photo)):not(:has(.layer__big)) .layer__text > :not(h3):not(.layer__age) { grid-column: 2; }
.layer:not(:has(.layer__photo)):not(:has(.layer__big)) .layer__text > p:not([class]) { grid-row: 1 / span 2; }
.layer__big { display: none; }
}

/* ---------- summer school ---------- */
.summer { background: linear-gradient(var(--color-paper-2), var(--color-sea-1)); color: var(--color-ink); padding-block: var(--space-2xl) var(--section-gap); --t-rule: var(--color-rule); --t-soft: var(--color-ink-2); }
.summer__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-2xl); align-items: start; }
.summer__head { display: grid; gap: var(--space-lg); }
.summer__head p { color: var(--color-ink-2); max-width: 48ch; }
.summer__table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: var(--text-md); }
th { text-align: left; font-weight: 650; color: var(--t-soft); padding: 0 var(--space-md) var(--space-sm) 0; white-space: nowrap; border-bottom: 1px solid var(--color-ink); }
td { padding: var(--space-lg) var(--space-md) var(--space-lg) 0; border-bottom: 1px solid var(--t-rule); vertical-align: top; }
td:nth-child(2) { font-weight: 650; font-size: var(--text-lg); }
td:first-child { white-space: nowrap; }
.num { text-align: right; white-space: nowrap; }
.summer__note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-ink-2); }
@media (max-width: 60rem) { .summer__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) {
  table thead { display: none; }
  table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2xs) var(--space-md); padding-block: var(--space-md); border-bottom: 1px solid var(--t-rule); }
  table td { border: 0; padding: 0; }
  table td:nth-child(2) { grid-column: 1 / -1; order: -1; }
  table td.num { text-align: left; }
  table td.num::before { color: var(--t-soft); font-weight: 400; }
  table td:nth-child(3)::before { content: "7 ore, cu masă: "; }
  table td.num::after { content: " lei"; }
  table td:nth-child(4)::before { content: "6 ore: "; }
  table td:nth-child(5)::before { content: "3 ore: "; }
}

/* ---------- people ---------- */
.people { background: var(--color-sea-5); color: var(--color-on-deep); padding-bottom: var(--section-gap); }
.people { padding-top: var(--space-2xl); }
.people__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
.people__in h2 { grid-column: 1 / -1; }
.person { display: grid; gap: var(--space-md); align-content: start; }
.person h3 { font-size: var(--text-3xl); }
.person__role { font-weight: 650; color: var(--color-accent); }
.person p { color: var(--color-on-deep-2); }
.person a { color: var(--color-on-deep); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.person a:hover { text-decoration-color: var(--color-accent); }
.person a:focus-visible { outline: 3px solid var(--color-focus-deep); outline-offset: 3px; border-radius: 4px; }
.person--roxana h3 { font-size: var(--text-display-s); }
.person--sergiu { grid-template-columns: 12rem minmax(0, 1fr); column-gap: var(--space-2xl); align-items: center; padding-top: var(--space-xl); border-top: 1px solid var(--color-rule-deep); }
.person--sergiu .person__photo { grid-row: 1 / span 4; }
.person__photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.facts { margin: var(--space-md) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl) var(--space-2xl); }
.facts div { border-top: 1px solid var(--color-rule-deep); padding-top: var(--space-md); }
.facts dt { font-size: var(--text-xl); font-weight: 650; letter-spacing: -0.01em; color: var(--color-on-deep); }
.facts dd { margin: var(--space-xs) 0 0; color: var(--color-on-deep-2); }
.person__books { margin-top: var(--space-lg); font-size: var(--text-lead); }
.person__books cite { font-style: normal; font-weight: 650; color: var(--color-on-deep); }
@media (max-width: 60rem) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); } }
@media (max-width: 40rem) { .facts { grid-template-columns: minmax(0, 1fr); } .person--sergiu { grid-template-columns: 6rem minmax(0, 1fr); column-gap: var(--space-md); } .person--sergiu .person__photo { grid-row: 1 / span 2; } }

/* ---------- the room ---------- */
.room { background: var(--color-sea-1); padding-block: var(--section-gap-s); }
.room h2 { margin-bottom: var(--space-2xl); }
.room__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 9rem; gap: var(--space-md); }
.room__grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-inner); }
.room__a { grid-column: 1 / 7; grid-row: span 4; }
.room__b { grid-column: 7 / 10; grid-row: span 2; }
.room__c { grid-column: 10 / 13; grid-row: span 3; }
.room__d { grid-column: 7 / 10; grid-row: span 2; }
.room__e { grid-column: 10 / 13; grid-row: span 1; object-position: center 40%; }
.room__more { margin-top: var(--space-xl); }
.room__more a { font-weight: 650; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.room__more a:hover { text-decoration-color: var(--color-sea-3); }
.room__more a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 52rem) {
  .room__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 11rem; }
  .room__a { grid-column: 1 / -1; grid-row: span 2; }
  .room__b, .room__c, .room__d, .room__e { grid-column: auto; grid-row: span 1; }
}

/* ---------- visit ---------- */
.visit { background: var(--color-paper); padding-block: var(--section-gap-s); }
.visit__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: center; }
.visit__text { display: grid; gap: var(--space-lg); }
.visit__text > p { font-size: var(--text-lead); color: var(--color-ink-2); max-width: 40ch; }
.contact { margin: 0; display: grid; gap: var(--space-sm); }
.contact div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-sm); border-top: 1px solid var(--color-rule); }
.contact dt { color: var(--color-muted); }
.contact dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.contact a { text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.contact a:hover { text-decoration-color: var(--color-accent-deep); }
.contact a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }
.map { position: relative; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4 / 3; background: var(--color-paper-3); }
.map img, .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.map__btn { position: absolute; left: var(--space-lg); bottom: var(--space-lg); min-height: 44px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); border: 0; background: var(--color-paper); color: var(--color-ink); font-weight: 650; cursor: pointer; box-shadow: var(--shadow-card); transition: background-color var(--dur-short) var(--ease-out); }
.map__btn:hover { background: var(--color-paper-2); }
.map__btn:active { transform: translateY(1px); }
.map__btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.map__link { position: absolute; right: var(--space-lg); bottom: var(--space-lg); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper); font-size: var(--text-sm); font-weight: 650; }
.map__link:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.map.is-live .map__btn, .map.is-live .map__link { display: none; }
@media (max-width: 52rem) { .visit__in { grid-template-columns: minmax(0, 1fr); } .map__link { display: none; } }

/* ---------- footer ---------- */
.foot { background: var(--color-sea-4); color: var(--color-on-deep); padding-block: var(--section-gap-s) var(--space-xl); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2xl); align-items: center; }
.foot__dream { font-size: clamp(1.75rem, 2.6vw + 0.6rem, 3.25rem); line-height: 1.12; font-weight: 650; letter-spacing: -0.02em; max-width: 26ch; }
.foot__logo { display: block; width: clamp(150px, 16vw, 230px); border-radius: var(--radius-card); background: var(--color-logo-paper); padding: var(--space-sm); rotate: 3deg; box-shadow: var(--shadow-card); transition: rotate var(--dur-short) var(--ease-out); }
.foot__logo img { width: 100%; height: auto; }
.foot__logo:hover { rotate: -2deg; }
.foot__logo:focus-visible { outline: 3px solid var(--color-focus-deep); outline-offset: 4px; }
.js .foot__logo { opacity: 0; transform: translateY(48px); }
.js .foot__logo.up { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out), rotate var(--dur-short) var(--ease-out); }
.js .foot__logo.beat img { animation: beat 1.1s var(--ease-in-out) 0.9s 1 both; }
@keyframes beat { 0%, 100% { transform: scale(1); } 18% { transform: scale(1.07); } 32% { transform: scale(0.99); } 48% { transform: scale(1.06); } 66% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .js .foot__logo { opacity: 1; transform: none; } .js .foot__logo.beat img { animation: none; } }
.foot__cols { margin-top: var(--space-3xl); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl); padding-top: var(--space-xl); border-top: 1px solid var(--color-rule-deep); }
.foot__cols h2 { display: flex; align-items: center; gap: var(--space-xs); font-size: var(--text-lg); font-weight: 650; letter-spacing: -0.01em; margin-bottom: var(--space-sm); }
.foot__cols p, .foot__cols li { color: var(--color-on-deep-2); margin-top: var(--space-xs); }
.foot__cols ul { list-style: none; margin: 0; padding: 0; }
.foot a { color: var(--color-on-deep); text-decoration-thickness: 1px; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.foot a:hover { text-decoration-color: var(--color-accent); }
.foot a:focus-visible { outline: 3px solid var(--color-focus-deep); outline-offset: 3px; border-radius: 4px; }
.foot__row { margin-top: var(--space-2xl); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md) var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule-deep); font-size: var(--text-sm); color: var(--color-on-deep-2); }
@media (max-width: 72rem) { .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .foot__top { grid-template-columns: minmax(0, 1fr); } .foot__cols { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); } }

/* ---------- icons ---------- */
.ic { width: 1.15em; height: 1.15em; flex-shrink: 0; display: inline-block; vertical-align: -0.2em; margin-right: 0.45em; stroke: currentColor; }
.ic--lg { width: 36px; height: 36px; margin: 0 0 var(--space-md); display: block; }
.ic--xl { width: 56px; height: 56px; margin: 0 0 var(--space-lg); display: block; color: var(--color-sea-3); }
.slot__what .ic { color: var(--color-sea-3); }
.layer__age .ic { color: currentColor; opacity: 0.85; }
.days li { display: flex; align-items: center; }
.days .ic { color: var(--color-sea-3); }
.contact dt .ic { color: var(--color-sea-3); }
.facts dt .ic { color: var(--color-accent); }
td .ic { color: var(--color-sea-3); }

/* ---------- page heads (sub-pages) ---------- */
.phead { background: linear-gradient(var(--color-paper) 30%, var(--color-paper-3)); padding-top: var(--space-4xl); padding-bottom: var(--space-3xl); }
.phead__in { display: grid; justify-items: start; gap: var(--space-md); }
.phead h1 { max-width: 16ch; }
.nav__links a[aria-current="page"] { background: var(--color-ink); color: var(--color-paper); }
.phead + section { padding-top: var(--space-lg); }
.phead:has(+ .people) .wave { fill: var(--color-sea-5); }
.phead:has(+ .visit) .wave { fill: var(--color-paper); }
.phead:has(+ .depths) + .depths { padding-top: var(--space-xl); }
.phead + .week, .phead + .summer { background: linear-gradient(var(--color-sea-1), var(--color-paper-2) 40%); }

/* ---------- home: explore tiles ---------- */
.explore { background: var(--color-paper-2); padding-block: var(--section-gap-s); }
.explore h2 { margin-bottom: var(--space-2xl); }
.explore__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); }
.tile { display: flex; flex-direction: column; gap: var(--space-sm); min-height: 19rem; padding: var(--space-xl); border-radius: var(--radius-card); text-decoration: none; color: var(--color-ink); transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.tile h3 { font-size: var(--text-xl); min-height: 2.2em; }
@media (max-width: 36rem) { .tile h3 { min-height: 0; } }
.tile p { color: inherit; opacity: 0.85; }
.tile__go { margin-top: auto; padding-top: var(--space-lg); font-weight: 650; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.tile:hover { transform: translateY(-4px); }
.tile:active { transform: translateY(-1px); }
.tile:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
.tile--program { background: var(--color-paper); }
.tile--cursuri { background: var(--color-sea-1); }
.tile--vara { background: var(--color-sea-2); }
.tile--despre { background: var(--color-sea-4); color: var(--color-on-deep); }
.tile--despre:focus-visible { outline-color: var(--color-focus); }
@media (max-width: 62rem) { .explore__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile { min-height: 15rem; } }
@media (max-width: 36rem) { .explore__grid { grid-template-columns: minmax(0, 1fr); } .tile { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .tile:hover, .tile:active { transform: none; } }

/* ---------- home: the shore band ---------- */
.shore { background: var(--color-paper); padding-block: var(--space-3xl); }
.shore__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg) var(--space-2xl); }
.shore p { font-size: var(--text-lead); color: var(--color-ink-2); margin-top: var(--space-xs); }
.shore__do { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }

/* ---------- one reveal ---------- */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--k, 0) * 60ms); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } }
@media (max-width: 26rem) { .contact div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); } .contact dd { font-size: var(--text-sm); } }
@media (max-width: 40rem) { .marquee__row { gap: var(--space-xl); } .marquee__row li { font-size: var(--text-3xl); } }
@media (max-width: 30rem) { .nav__brand span { display: none; } .nav__bar { gap: var(--space-sm); } }

/* ---------- page heads with a photo ---------- */
.phead__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: var(--space-2xl); justify-items: stretch; }
.phead__text { display: grid; justify-items: start; gap: var(--space-md); }
.phead__photo { justify-self: end; width: min(100%, 460px); aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); box-shadow: var(--shadow-card); rotate: 2deg; }
.phead { padding-top: calc(var(--space-4xl) - var(--space-lg)); }
@media (max-width: 52rem) { .phead__in { grid-template-columns: minmax(0, 1fr); } .phead__photo { justify-self: stretch; width: 100%; aspect-ratio: 16 / 10; rotate: 0deg; } }

/* ---------- the week as a calendar ---------- */
.cal { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-sm); }
.cal__day { background: var(--color-paper); border-radius: var(--radius-inner); padding: var(--space-md); display: grid; align-content: start; gap: var(--space-sm); min-height: 30rem; }
.cal__name { font-size: var(--text-lg); letter-spacing: -0.01em; padding-bottom: var(--space-sm); border-bottom: 2px solid var(--color-ink); }
.cal__day ol { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.cal__slot { display: grid; gap: var(--space-2xs); padding: var(--space-sm); border-radius: var(--space-sm); background: var(--color-sea-1); }
.cal__slot time { font-size: var(--text-sm); font-weight: 650; font-variant-numeric: tabular-nums; }
.cal__what { font-weight: 650; line-height: 1.25; }
.cal__what .ic { color: var(--color-sea-3); }
.cal__who { font-size: var(--text-sm); color: var(--color-ink-2); }
.cal__slot--d { background: var(--color-accent); }
.cal__slot--d .cal__who { color: var(--color-accent-ink); }
.cal__slot--t { background: var(--color-sea-2); }
.cal__slot--s { background: var(--color-sea-3); color: var(--color-on-deep); }
.cal__slot--s .cal__who, .cal__slot--s .cal__what .ic { color: var(--color-on-deep-2); }
.cal__slot--f { background: var(--color-paper-3); }
.cal__key { list-style: none; margin: var(--space-lg) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); font-size: var(--text-sm); color: var(--color-ink-2); }
.cal__key li { display: flex; align-items: center; gap: var(--space-xs); }
.cal__key i { width: 14px; height: 14px; border-radius: 4px; background: var(--color-sea-1); border: 1px solid var(--color-rule); }
.cal__key i.d { background: var(--color-accent); } .cal__key i.t { background: var(--color-sea-2); } .cal__key i.s { background: var(--color-sea-3); } .cal__key i.f { background: var(--color-paper-3); }
.cal__cta { margin-top: var(--space-2xl); }
.cal__note { margin-top: var(--space-lg); color: var(--color-ink-2); }
@media (max-width: 75rem) { .cal { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cal__day { min-height: 0; } }
@media (max-width: 40rem) { .cal { grid-template-columns: minmax(0, 1fr); } }

/* ---------- photo strip on the courses page ---------- */
.strip { margin-top: var(--section-gap-s); }
.strip__h { color: var(--color-on-deep); margin-bottom: var(--space-xl); }
.strip__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.strip__row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-inner); }
.strip__more { margin-top: var(--space-lg); }
.strip__more a { color: var(--color-on-deep); font-weight: 650; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.strip__more a:hover { text-decoration-color: var(--color-accent); }
.strip__more a:focus-visible { outline: 3px solid var(--color-focus-deep); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 48rem) { .strip__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- nav action ---------- */
.btn--nav { min-height: 44px; }
.btn--nav[aria-current="page"] { background: var(--color-ink); color: var(--color-paper); }

/* ---------- sign-up form ---------- */
.form-sec { background: linear-gradient(var(--color-sea-1), var(--color-paper-2) 40%); padding-bottom: var(--section-gap); }
.form-sec__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: var(--space-2xl); align-items: start; }
.enrol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md) var(--space-lg); background: var(--color-paper); padding: var(--space-xl); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.field { display: grid; gap: var(--space-xs); align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 650; }
.opt { font-weight: 400; color: var(--color-muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md); border: 2px solid var(--color-muted); border-radius: var(--radius-input, 14px); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); transition: border-color var(--dur-short) var(--ease-out); }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--color-muted); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-ink-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 0; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--color-error); }
.field input:disabled, .field select:disabled, .field textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.field__err { min-height: 1lh; font-size: var(--text-sm); color: var(--color-error); }
.field--check { grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: var(--space-sm); }
.field--check input { width: 22px; height: 22px; min-height: 0; margin-top: var(--space-3xs); accent-color: var(--color-ink); }
.field--check label { font-weight: 400; }
.field--check .field__err { grid-column: 2; }
.enrol__do { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }
.enrol__mail { background: none; border: 0; padding: var(--space-xs) 0; min-height: 44px; font-weight: 650; color: var(--color-ink); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.enrol__mail:hover { color: var(--color-ink-2); }
.enrol__mail:active { color: var(--color-muted); }
.enrol__mail:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.enrol__note { font-size: var(--text-sm); color: var(--color-ink-2); }
.form-sec__side { display: grid; gap: var(--space-lg); padding-top: var(--space-md); }
.form-sec__side h2 { font-size: var(--text-2xl); }
.next { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-md); }
.next li { display: flex; align-items: flex-start; font-size: var(--text-lead); line-height: 1.4; }
.next .ic { color: var(--color-sea-3); margin-top: 0.15em; }
.form-sec__side a { font-weight: 650; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.form-sec__side a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 60rem) { .form-sec__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) { .enrol { grid-template-columns: minmax(0, 1fr); padding: var(--space-lg); } }
.nav__drop a, .foot__cols li a { white-space: nowrap; }

/* ---------- calendar: every slot opens its course ---------- */
.cal__btn { all: unset; box-sizing: border-box; display: grid; gap: var(--space-2xs); width: 100%; padding: var(--space-sm); border-radius: var(--space-sm); cursor: pointer; transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.cal__slot { padding: 0; }
.cal__btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.cal__btn:active { transform: translateY(0); }
.cal__btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.cal__more { font-size: var(--text-sm); font-weight: 650; text-decoration: underline; text-underline-offset: 0.2em; margin-top: var(--space-2xs); }
@media (prefers-reduced-motion: reduce) { .cal__btn:hover, .cal__btn:active { transform: none; } }
.course { width: min(100% - 2 * var(--space-md), 46rem); max-height: calc(100dvh - 2 * var(--space-lg)); padding: 0; border: 0; border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink); box-shadow: var(--shadow-card); overflow: auto; }
.course::backdrop { background: var(--color-scrim); }
.course[open] { animation: rise var(--dur-long) var(--ease-out); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .course[open] { animation: none; } }
.course__photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.course__body { display: grid; gap: var(--space-md); padding: var(--space-xl); }
.course__body h2 { font-size: var(--text-3xl); }
.course__meta { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); font-weight: 650; color: var(--color-ink-2); }
.course__meta span { display: inline-flex; align-items: center; }
.course__body p { font-size: var(--text-lead); line-height: 1.5; }
.course__learn { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-xs); }
.course__learn li { display: flex; align-items: flex-start; }
.course__learn .ic { color: var(--color-sea-3); margin-top: 0.2em; }
.course__do { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-sm); }
.course__close { position: sticky; top: var(--space-sm); float: right; margin: var(--space-sm) var(--space-sm) 0 0; min-height: 44px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font-weight: 650; cursor: pointer; box-shadow: var(--shadow-card); z-index: var(--z-raised); }
.course__close:hover { background: var(--color-paper-2); }
.course__close:active { background: var(--color-paper-3); }
.course__close:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.course__do .link { white-space: nowrap; }

/* ---------- Roxana's portrait ---------- */
.mission { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 15rem); gap: var(--space-2xl); align-items: center; }
.mission__photo { width: 100%; max-width: 15rem; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-card); box-shadow: var(--shadow-card); rotate: 2deg; justify-self: end; }
.person--roxana { grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); column-gap: var(--space-2xl); }
.person--roxana > :not(.person__portrait) { grid-column: 2; }
.person__portrait { grid-column: 1; grid-row: 1 / span 5; width: 12rem; aspect-ratio: 1; object-fit: cover; object-position: center 30%; border-radius: 50%; align-self: start; }
.person--roxana .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 52rem) {
  .mission { grid-template-columns: minmax(0, 1fr); }
  .mission__photo { max-width: 13rem; rotate: 0deg; justify-self: start; }
  .person--roxana { grid-template-columns: minmax(0, 1fr); }
  .person--roxana > * { grid-column: auto !important; grid-row: auto !important; }
  .person__portrait { width: 9rem; }
}
@media (max-width: 40rem) { .person--roxana .facts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- the week as a time grid (hours down, days across) ---------- */
.tg { --row: 3.25rem; position: relative; display: grid; grid-template-columns: 4rem repeat(6, minmax(0, 1fr)); grid-template-rows: 3rem repeat(20, var(--row)); background: var(--color-paper); border-radius: var(--radius-card); padding: var(--space-md); box-shadow: var(--shadow-card); }
.tg__corner { grid-column: 1; grid-row: 1; }
.tg__day { grid-column: var(--c); grid-row: 1; align-self: center; padding-inline: var(--space-sm); font-weight: 650; font-size: var(--text-lg); border-left: 1px solid var(--color-rule); }
.tg__hours { display: contents; }
.tg__hour { grid-column: 1 / -1; grid-row: var(--r) / span 2; border-top: 1px solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums; padding-top: var(--space-2xs); }
.tg__events { display: contents; list-style: none; }
.tg__ev { grid-column: var(--c); grid-row: var(--s) / var(--e); position: relative; z-index: var(--z-raised); margin: var(--space-3xs) var(--space-2xs); border-radius: var(--space-sm); background: var(--color-sea-1); }
.tg__ev--lane { margin-left: 40%; box-shadow: -3px 0 0 var(--color-paper); }
.tg__ev .cal__btn { height: 100%; align-content: start; padding: var(--space-xs) var(--space-sm); overflow: hidden; border-radius: inherit; }
.tg__ev time { font-size: var(--text-xs); font-weight: 650; font-variant-numeric: tabular-nums; }
.tg__ev .cal__what { font-size: var(--text-sm); line-height: 1.2; }
.tg__ev .cal__who { font-size: var(--text-xs); }
.tg__day-sm { display: none; }
.tg__ev--d { background: var(--color-accent); }
.tg__ev--t { background: var(--color-sea-2); }
.tg__ev--s { background: var(--color-sea-3); color: var(--color-on-deep); }
.tg__ev--s .cal__who, .tg__ev--s .cal__what .ic { color: var(--color-on-deep-2); }
.tg__ev--f { background: var(--color-paper-3); }
@media (max-width: 62rem) {
  .tg { display: block; padding: var(--space-sm); }
  .tg__corner, .tg__day, .tg__hours { display: none; }
  .tg__events { display: grid; gap: var(--space-sm); padding: 0; margin: 0; }
  .tg__ev, .tg__ev--lane { margin: 0; box-shadow: none; }
  .tg__day-sm { display: block; font-weight: 650; font-size: var(--text-sm); }
  .tg__ev time { font-size: var(--text-sm); }
  .tg__ev .cal__what { font-size: var(--text-md); }
}

/* the course window fits the screen: photo beside the text */
.course { width: min(100% - 2 * var(--space-md), 60rem); overscroll-behavior: contain; }
.course[open] { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.course__close { position: absolute; top: var(--space-sm); right: var(--space-sm); float: none; margin: 0; }
.course__photo { grid-column: 1; grid-row: 1; height: 100%; aspect-ratio: auto; min-height: 22rem; }
.course__body { grid-column: 2; grid-row: 1; padding: var(--space-2xl) var(--space-xl) var(--space-xl); gap: var(--space-sm); }
.course__body h2 { font-size: var(--text-2xl); padding-right: var(--space-3xl); }
.course__body p { font-size: var(--text-md); }
@media (max-width: 48rem) {
  .course[open] { grid-template-columns: minmax(0, 1fr); }
  .course__photo { grid-row: 1; height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .course__body { grid-column: 1; grid-row: 2; padding: var(--space-lg); }
}

/* ---------- photo sliders: swipe on phones, arrows on computers ---------- */
.slider { position: relative; }
.slider__track { display: flex; gap: var(--space-md); margin: 0; padding: 0 0 var(--space-sm); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; scroll-behavior: smooth; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; border-radius: var(--radius-inner); }
.slider__track li { flex: 0 0 clamp(15rem, 26vw, 22rem); scroll-snap-align: start; }
.slider__track li:first-child { flex-basis: clamp(18rem, 40vw, 34rem); }
.slider__track img { width: 100%; height: clamp(20rem, 32vw, 28rem); object-fit: cover; border-radius: var(--radius-inner); }
.slider__ctrl { display: flex; align-items: center; gap: var(--space-sm); margin-top: var(--space-lg); }
.slider__btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--color-ink); background: var(--color-paper); color: var(--color-ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
.slider__btn .ic { margin: 0; width: 22px; height: 22px; }
.slider__btn:hover { background: var(--color-paper-3); }
.slider__btn:active { transform: translateY(1px); }
.slider__btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.slider__btn:disabled { opacity: 0.35; cursor: not-allowed; }
.slider__count { margin-left: var(--space-sm); font-weight: 650; font-variant-numeric: tabular-nums; color: var(--color-ink-2); }
.slider--deep .slider__btn { border-color: var(--color-on-deep); background: transparent; color: var(--color-on-deep); }
.slider--deep .slider__btn:hover { background: var(--color-sea-4); }
.slider--deep .slider__btn:focus-visible { outline-color: var(--color-focus-deep); }
.slider--deep .slider__count { color: var(--color-on-deep-2); }
@media (max-width: 40rem) { .slider__track li, .slider__track li:first-child { flex-basis: 78%; } .slider__track img { height: 22rem; } }
@media (prefers-reduced-motion: reduce) { .slider__track { scroll-behavior: auto; } }

/* ---------- the logo's red, as a quiet second accent ---------- */
.course__learn .ic, .next .ic { color: var(--color-red); }
.facts dt .ic { color: var(--color-red-soft); }
.link:hover, .layer a:hover, .contact a:hover, .room__more a:hover, .form-sec__side a:hover { text-decoration-color: var(--color-red); }
.hero__note { box-shadow: 4px 4px 0 var(--color-red); }
.tg__ev--lane .cal__who { display: none; }
@media (max-width: 62rem) { .tg__ev, .tg__ev--lane { grid-column: auto; grid-row: auto; width: auto; } .tg__ev--lane .cal__who { display: block; } }

/* ---------- the drum: photos and clips on a turning cylinder (after the Mark Clennon reel, turned sideways) ---------- */
.drum { position: relative; }
.drum__stage { display: flex; gap: var(--space-md); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-sm); }
.drum__item { flex: 0 0 clamp(14rem, 24vw, 20rem); margin: 0; scroll-snap-align: center; }
.drum__item img, .drum__item video { display: block; width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; border-radius: var(--radius-inner); background: var(--color-paper-3); }
.js .drum__stage { position: relative; display: block; overflow: hidden; height: clamp(22rem, 36vw, 32rem); padding: 0; perspective: 1500px; perspective-origin: 50% 50%; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.js .drum__stage.is-dragging { cursor: grabbing; }
.js .drum__stage:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; border-radius: var(--radius-inner); }
.js .drum__item { position: absolute; left: 50%; top: 50%; width: clamp(14rem, 22vw, 19rem); backface-visibility: hidden; }
.js .drum__item.near { will-change: transform; }
.js .drum__item img, .js .drum__item video { pointer-events: none; box-shadow: var(--shadow-card); }
.drum__item--video::after { content: ""; position: absolute; right: var(--space-sm); top: var(--space-sm); width: 10px; height: 10px; border-radius: 50%; background: var(--color-red); box-shadow: 0 0 0 3px var(--color-paper); }
.drum__bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: var(--space-md); margin-top: var(--space-lg); }
.drum__cap { font-size: var(--text-title); font-weight: 650; letter-spacing: -0.01em; text-align: center; min-height: 1.3em; }
.drum--deep .drum__cap { color: var(--color-on-deep); }
.drum--deep .slider__btn { border-color: var(--color-on-deep); background: transparent; color: var(--color-on-deep); }
.drum--deep .slider__btn:hover { background: var(--color-sea-4); }
.drum--deep .slider__btn:focus-visible, .drum--deep .drum__stage:focus-visible { outline-color: var(--color-focus-deep); }
.drum--deep .slider__count { color: var(--color-on-deep-2); }
.drum--deep .drum__item--video::after { box-shadow: 0 0 0 3px var(--color-sea-5); }
@media (max-width: 40rem) { .js .drum__item { width: 62vw; } .js .drum__stage { height: 26rem; } .drum__cap { font-size: var(--text-lg); } }

/* ---------- scroll reveal (all visible without scripts and with reduced motion) ---------- */
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.wi { display: inline-block; }
.js .rv-words .wi { transform: translateY(108%); transition: transform 0.9s var(--ease-out); transition-delay: calc(var(--k, 0) * 45ms); }
.js .rv-words.in .wi { transform: none; }
.js .rv-img { clip-path: inset(100% 0 0 0 round var(--radius-card)); transform: scale(1.08); transition: clip-path 1.1s var(--ease-out), transform 1.4s var(--ease-out); }
.js .rv-img.in { clip-path: inset(0 0 0 0 round var(--radius-card)); transform: none; }
.js .person__portrait.rv-img, .js .person__photo.rv-img { clip-path: circle(0% at 50% 60%); }
.js .person__portrait.rv-img.in, .js .person__photo.rv-img.in { clip-path: circle(50% at 50% 50%); }
.js .hero__photo.rv-img.in, .js .phead__photo.rv-img.in { transform: none; }
.js .rv-up { opacity: 0; translate: 0 28px; transition: opacity 0.7s var(--ease-out), translate 0.8s var(--ease-out); transition-delay: calc(var(--k, 0) * 70ms); }
.js .rv-up.in { opacity: 1; translate: 0 0; }
.js .layer.rv-up { translate: 0 60px; }
.js .layer.rv-up.in { translate: 0 0; }
/* once open, drop the clip so shadows show again */
.js .rv-img.done { clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv-words .wi, .js .rv-img, .js .rv-up { transform: none; translate: none; opacity: 1; clip-path: none; transition: none; }
}

/* ---------- the logo red, a step more visible (still only on small marks) ---------- */
.ic--xl { color: var(--color-red); }
.layer__age .ic, .days .ic, td .ic, .contact dt .ic, .cal__what .ic, .tg__ev .cal__what .ic, .slot__what .ic { color: var(--color-red); opacity: 1; }
.layer--5 .layer__age .ic, .layer--6 .layer__age .ic, .layer--7 .layer__age .ic, .tg__ev--s .cal__what .ic, .drum--deep .ic { color: var(--color-red-soft); }
.nav__links a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--color-red); }
.mission__by::before { content: ""; display: inline-block; width: 2rem; height: 3px; margin-right: var(--space-sm); vertical-align: middle; background: var(--color-red); border-radius: 2px; }
.js .layer.rv-up { opacity: 1; }

/* phones: no shadows inside the turning drum, it keeps the swipe smooth */
@media (max-width: 48rem), (pointer: coarse) {
  .js .drum__item img, .js .drum__item video { box-shadow: none; }
  .js .drum__stage { perspective: 1000px; }
}

/* phones: centre Roxana's photo on Acasă and stack Sergiu in one centred column */
@media (max-width: 52rem) {
  .mission__photo { justify-self: center; }
  .person--sergiu { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; column-gap: 0; }
  .person--sergiu > * { grid-column: 1 !important; grid-row: auto !important; }
  .person--sergiu .person__photo { width: 10rem; }
  .person--sergiu p { max-width: 32ch; }
}

/* phone menu: three bars that turn into an X */
.nav__menu summary { width: 48px; height: 48px; min-height: 48px; padding: 0; justify-content: center; border-radius: 50%; }
.burger { position: relative; display: block; width: 20px; height: 14px; }
.burger i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--dur-short) var(--ease-out), opacity var(--dur-micro) var(--ease-out); }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 6px; } .burger i:nth-child(3) { top: 12px; }
.nav__menu[open] .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__menu[open] .burger i:nth-child(2) { opacity: 0; }
.nav__menu[open] .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .burger i { transition: none; } }

/* Safari on iPhone mis-sizes the photo row in the course window's grid, so phones get a plain stacked block */
@media (max-width: 48rem) {
  .course[open] { display: block; }
  .course__photo { display: block; width: 100%; height: 12rem; min-height: 0; aspect-ratio: auto; object-fit: cover; }
  .course__body { display: grid; }
}

/* long course names (Communication, Civilization) never break inside a word */
.course__body h2 { overflow-wrap: normal; word-break: normal; hyphens: none; }
@media (max-width: 48rem) { .course__body h2 { font-size: clamp(1.5rem, 6.4vw, 2rem); padding-right: 0; } }
.tg__ev .cal__what, .layer h3, .tile h3 { overflow-wrap: normal; hyphens: none; }
