/*
 * Christiane Heilmann · site styles
 * Plain CSS, no build step. Edit and upload.
 *
 * 1. Tokens          5. Home sections
 * 2. Base            6. Course pages
 * 3. Layout          7. Dates, experiences, contact, text pages
 * 4. Components      8. Footer
 *                    9. Motion
 */

/* 1. Tokens ---------------------------------------------------------- */

:root {
  color-scheme: only light;
  --ink: #1B1F3B;
  --ink-soft: #3A3F60;
  --muted: #4B5070;
  --bg: #FFFFFF;
  --sand: #F6F4EE;
  --line: #E7E3D8;

  /* From the "Show your true colors" splash */
  --blue: #2F67A8;
  --sun: #FFC845;
  --sun-light: #FFD978;
  --green: #2F7D4F;
  --violet: #B07CC6;
  --orange: #FFB347;
  --red: #E2462F;
  --navy: #1B2559;

  /* Tints for chips and cards: rich enough to stand out on the watercolour wash */
  --tint-sun: #FFE7A6;
  --tint-orange: #FFD3B6;
  --tint-red: #F9C9C0;
  --tint-violet: #E4CDF0;
  --tint-green: #CBEBD3;
  --tint-blue: #CFE0F5;

  /* Surfaces on top of the wash */
  --edge: rgba(27, 31, 59, .12);
  --elev: 0 1px 2px rgba(27, 31, 59, .06), 0 10px 28px -10px rgba(27, 31, 59, .22);
  --elev-hover: 0 2px 4px rgba(27, 31, 59, .08), 0 18px 40px -12px rgba(27, 31, 59, .28);
  --frost: rgba(255, 255, 255, .72);

  /* Rainbow word: dark enough for 3:1 contrast on white at large sizes */
  --r1: #B07D00;
  --r2: #D46A00;
  --r3: #E2462F;
  --r4: #8C5BB8;
  --r5: #2F8A45;
  --r6: #2F67A8;
  --rainbow-cycle: 6s;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 32px;
  --radius-m: 24px;
  --radius-s: 18px;
  --gutter: clamp(20px, 4vw, 32px);
  --section: clamp(64px, 9vw, 104px);
}

/* 2. Base ------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.6;
  overflow-x: clip; /* not hidden: that would break the sticky header */
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); }
a:hover { color: var(--blue); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
  /* Long German words ("Erfahrungsberichte") hyphenate instead of overflowing */
  overflow-wrap: break-word;
  -webkit-hyphens: auto; hyphens: auto;
}

p { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 10;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 3. Layout ---------------------------------------------------------- */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--sand { background: rgba(246, 244, 238, .78); }
.section--tight-top { padding-top: 0; }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 40px; margin-bottom: 40px;
}

.title-xl {
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.title-l {
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
@media (max-width: 400px) {
  .title-xl { font-size: 34px; }
  .title-l { font-size: 30px; }
}
.lead { font-size: 21px; line-height: 1.5; color: var(--ink-soft); }
.muted { color: var(--muted); }

.split {
  display: flex; flex-wrap: wrap; gap: 48px 64px;
}
.split > * { flex: 1 1 420px; min-width: 0; }

/* 4. Components ------------------------------------------------------ */

.rainbow-bar { display: flex; height: 8px; }
.rainbow-bar span { flex: 1; }
.rainbow-bar span:nth-child(1) { background: var(--sun); }
.rainbow-bar span:nth-child(2) { background: #FF8A3D; }
.rainbow-bar span:nth-child(3) { background: var(--red); }
.rainbow-bar span:nth-child(4) { background: var(--violet); }
.rainbow-bar span:nth-child(5) { background: #4FA35F; }
.rainbow-bar span:nth-child(6) { background: var(--blue); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: var(--radius-s);
  font-family: var(--sans); font-size: 18px; font-weight: 700; line-height: 1.2;
  text-decoration: none; border: 0; cursor: pointer;
  transition: background-color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -8px rgba(27, 31, 59, .55); }
.btn--ink:hover { background: #343A66; color: #fff; }
.btn--sun { background: var(--sun); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(138, 90, 0, .18), 0 8px 20px -8px rgba(176, 125, 0, .55); }
.btn--sun:hover { background: var(--sun-light); color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); box-shadow: 0 6px 16px -8px rgba(27, 31, 59, .35); }
.btn--white:hover { background: #FFF6DC; color: var(--ink); }
.btn--small { min-height: 48px; padding: 0 20px; font-size: 17px; border-radius: 14px; }
.btn--wide { justify-content: space-between; }

.link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 700;
}

/* Rainbow word: each letter runs the same colour loop, one step later than the one before */
/*
 * On load the word types itself letter by letter, then the colours keep
 * flowing. The resting state (no animation, e.g. with "reduce motion")
 * is simply the finished, coloured word.
 */
.rainbow {
  white-space: nowrap; font-style: italic;
  --type-start: .55s;  /* after "Show your true" has risen in */
  --type-step: .13s;   /* time per letter */
}
.rainbow span {
  display: inline-block;
  animation:
    type-in .32s cubic-bezier(.2, .9, .3, 1.35) calc(var(--type-start) + var(--i) * var(--type-step)) backwards,
    rainbow var(--rainbow-cycle) linear calc(var(--i) * var(--rainbow-cycle) / 6 - var(--rainbow-cycle)) infinite;
}
/* Not yet typed: invisible and zero width, so each letter appears right after the previous one */
@keyframes type-in {
  0%   { opacity: 0; max-width: 0; transform: translateY(.22em) scale(.55); }
  1%   { opacity: 1; max-width: 1em; }
  100% { opacity: 1; max-width: 1em; transform: none; }
}
.rainbow span:nth-child(1) { color: var(--r1); }
.rainbow span:nth-child(2) { color: var(--r6); }
.rainbow span:nth-child(3) { color: var(--r5); }
.rainbow span:nth-child(4) { color: var(--r4); }
.rainbow span:nth-child(5) { color: var(--r3); }
.rainbow span:nth-child(6) { color: var(--r2); }
@keyframes rainbow {
  0%, 100% { color: var(--r1); }
  16.66% { color: var(--r2); }
  33.33% { color: var(--r3); }
  50% { color: var(--r4); }
  66.66% { color: var(--r5); }
  83.33% { color: var(--r6); }
}

/* Header: sticky; transparent at the very top, frosted once the page scrolls */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--edge), 0 12px 30px -20px rgba(27, 31, 59, .4);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-top {
  background: transparent; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 24px; padding-block: 14px;
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name { font-family: var(--serif); font-size: 26px; font-weight: 500; white-space: nowrap; }
.brand__sub { font-size: 14px; color: var(--muted); }
.site-header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
[id] { scroll-margin-top: 96px; }

/* Desktop: all links in one frosted pill bar */
.nav__list {
  list-style: none; margin: 0; padding: 4px; display: flex; flex-wrap: wrap; gap: 2px;
  border-radius: 999px; background: var(--frost); box-shadow: inset 0 0 0 1px var(--edge);
}
.nav__list a {
  display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; font-size: 17px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color .15s;
}
.nav__list a:hover { background: rgba(27, 31, 59, .07); color: var(--ink); }
.nav__list a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav__dot {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: var(--c-bg); box-shadow: 0 0 0 2px rgba(255, 255, 255, .85);
}
.nav__extra, .nav__lang, .menu-toggle, .menu-backdrop { display: none; }

.lang {
  display: flex; gap: 4px; padding: 4px; border-radius: 999px;
  background: var(--frost); box-shadow: inset 0 0 0 1px var(--edge);
}
.lang a {
  min-width: 44px; min-height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none;
}
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }

@media (max-width: 1079px) {
  /* Without JavaScript: the links wrap as pills below the name, nothing is cut off */
  .site-header .container { flex-wrap: wrap; }
  .nav { order: 3; flex-basis: 100%; }
  .nav__list { border-radius: 24px; }

  /* With JavaScript: a "Menü" button that opens a panel */
  .menu-js .site-header .container { flex-wrap: nowrap; }
  .menu-js .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 15px;
    border: 0; border-radius: 999px; background: var(--ink); color: #fff;
    font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
    box-shadow: 0 8px 20px -8px rgba(27, 31, 59, .55);
  }
  .menu-toggle__icon { position: relative; width: 18px; height: 12px; flex: none; }
  .menu-toggle__icon span {
    position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform .25s, top .25s;
  }
  .menu-toggle__icon span:nth-child(1) { top: 1px; }
  .menu-toggle__icon span:nth-child(2) { top: 9px; }
  .is-open .menu-toggle__icon span:nth-child(1) { top: 5px; transform: rotate(45deg); }
  .is-open .menu-toggle__icon span:nth-child(2) { top: 5px; transform: rotate(-45deg); }

  .menu-js .nav {
    position: absolute; top: calc(100% + 8px); right: var(--gutter);
    width: min(440px, calc(100% - 2 * var(--gutter)));
    max-height: calc(100dvh - 110px); overflow-y: auto;
    padding: 12px; border-radius: 28px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--edge), 0 30px 60px -20px rgba(27, 31, 59, .45);
    opacity: 0; visibility: hidden; transform: translateY(-12px) scale(.98); transform-origin: top right;
    transition: opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s .3s;
  }
  .menu-js .is-open .nav {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s;
  }
  .menu-js .nav__list {
    flex-direction: column; flex-wrap: nowrap; gap: 4px; padding: 0;
    background: none; box-shadow: none; border-radius: 0;
  }
  .menu-js .nav__list a { min-height: 56px; padding: 0 18px; border-radius: 18px; font-family: var(--serif); font-size: 24px; }
  .menu-js .nav__dot { width: 12px; height: 12px; }
  .menu-js .nav__extra {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    margin-top: 8px; padding: 16px 6px 4px; border-top: 1px solid var(--edge);
  }
  .menu-js .nav__extra .link { justify-content: center; }
  .menu-js .menu-backdrop {
    display: block; position: fixed; inset: 0; z-index: 25;
    background: rgba(27, 31, 59, .28); opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility 0s .3s;
  }
  .menu-open .menu-backdrop { opacity: 1; visibility: visible; transition: opacity .3s; }
}

@media (max-width: 600px) {
  .site-header .container { gap: 12px; }
  .brand__name { font-size: 20px; }
  .brand__sub { font-size: 13px; white-space: nowrap; }
  .brand__place { display: none; }
  /* Phones: the language switch moves into the menu panel (only when the menu works) */
  .menu-js .site-header__actions .lang { display: none; }
  .menu-js .nav__lang {
    display: flex; gap: 6px; padding: 4px; margin-bottom: 10px;
    border-radius: 999px; background: var(--sand);
  }
  .menu-js .nav__lang a {
    flex: 1; min-height: 48px; display: flex; align-items: center; justify-content: center;
    border-radius: 999px; font-weight: 700; text-decoration: none;
  }
  .menu-js .nav__lang a[aria-current="true"] { background: var(--ink); color: #fff; }
}
@media (max-width: 374px) {
  .brand__name { font-size: 18px; }
  .brand__sub { font-size: 12px; }
  .menu-js .menu-toggle { padding: 0 14px 0 12px; gap: 8px; }
}
@media (max-width: 349px) {
  /* Very small phones: icon-only menu button (the label stays for screen readers) */
  .menu-js .menu-toggle { padding: 0; width: 48px; justify-content: center; }
  .menu-toggle__label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
  }
}

html.menu-open { overflow: hidden; }

/* Course colours */
.c-nova      { --c-bg: var(--blue);  --c-fg: #fff;       --c-tag: rgba(255,255,255,.16); --c-text: var(--blue); }
.c-qsr       { --c-bg: var(--sun);   --c-fg: var(--ink); --c-tag: rgba(255,255,255,.55); --c-text: #8A5A00; }
.c-intuition { --c-bg: var(--green); --c-fg: #fff;       --c-tag: rgba(255,255,255,.16); --c-text: var(--green); }

/* Tickets (dates) */
.tickets { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.ticket {
  flex: 1 1 220px; min-width: 0; background: #fff; border-radius: var(--radius-m);
  overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--edge); box-shadow: var(--elev);
  transition: box-shadow .2s, transform .2s;
}
.ticket:hover { box-shadow: var(--elev-hover); transform: translateY(-2px); }
.ticket__head { padding: 22px 22px 18px; background: var(--t-bg, var(--blue)); color: var(--t-fg, #fff); }
.ticket__date { display: block; font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.ticket__year { display: block; font-size: 15px; font-weight: 700; margin-top: 4px; min-height: 1em; }
.ticket__body { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px 22px; flex: 1; }
.ticket__place { font-weight: 700; font-size: 20px; }
.ticket__note { color: var(--muted); font-size: 17px; }
.ticket__status { margin-top: auto; padding-top: 12px; font-size: 15px; font-weight: 700; color: var(--t-status, var(--blue)); }
.ticket--now         { --t-bg: var(--green);  --t-fg: #fff;       --t-status: var(--green); }
.ticket--open        { --t-bg: var(--blue);   --t-fg: #fff;       --t-status: var(--blue); }
.ticket--preparation { --t-bg: var(--sun);    --t-fg: var(--ink); --t-status: #8A4B00; }
.ticket--arrangement { --t-bg: var(--violet); --t-fg: var(--ink); --t-status: #6B3A88; }
/* Small icon before the place: in person, online or documentary */
.ticket__place { display: flex; align-items: center; gap: 8px; }
.ticket__place svg { width: 18px; height: 18px; flex: none; color: var(--t-status, var(--blue)); stroke-width: 2.2; }
/* Dates page: year headings */
.dates-group { font-size: clamp(28px, 3vw, 38px); margin: 40px 0 18px; }
.dates-group:first-child { margin-top: 0; }

/* Quote cards */
.quotes { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.quote {
  flex: 1 1 320px; min-width: 0; margin: 0; padding: 34px;
  border-radius: 28px; background: var(--q-bg, var(--tint-blue));
  border: 1px solid var(--edge); box-shadow: var(--elev);
}
.quote:nth-child(3n+1) { --q-bg: var(--tint-blue);  --q-mark: var(--blue); }
.quote:nth-child(3n+2) { --q-bg: var(--tint-sun);   --q-mark: #B06A00; }
.quote:nth-child(3n+3) { --q-bg: var(--tint-green); --q-mark: var(--green); }
.quote__mark { font-family: var(--serif); font-size: 72px; line-height: .6; color: var(--q-mark); margin-bottom: 6px; }
.quote blockquote { margin: 0; font-size: 21px; line-height: 1.5; }
.quote figcaption { margin-top: 22px; display: flex; flex-direction: column; gap: 2px; }
.quote__name { font-weight: 700; }
.quote__meta { font-size: 16px; color: var(--ink-soft); }
.quote__lang {
  margin-top: 8px; align-self: flex-start; font-size: 14px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--edge);
}
.quote details { margin-top: 18px; }
.quote summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.quote details p { margin-top: 12px; white-space: pre-line; }

/* Chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 16px; border-radius: 12px; font-size: 16px; line-height: 1.35; background: var(--tint-sun); box-shadow: inset 0 0 0 1px var(--edge); }
.chips li:nth-child(6n+2) { background: var(--tint-orange); }
.chips li:nth-child(6n+3) { background: var(--tint-red); }
.chips li:nth-child(6n+4) { background: var(--tint-violet); }
.chips li:nth-child(6n+5) { background: var(--tint-green); }
.chips li:nth-child(6n+6) { background: var(--tint-blue); }
.chips--large li { padding: 12px 18px; border-radius: 16px; font-size: 17px; }

/* Video */
.video { margin: 0; }
.video__frame {
  position: relative; border-radius: 28px; overflow: hidden;
  background: #0F1538; aspect-ratio: 16 / 9;
}
.video__frame video { width: 100%; height: 100%; object-fit: cover; }
.video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 96px; height: 96px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--sun); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.video__play svg { width: 36px; height: 36px; margin-left: 4px; }
.video__play:hover { background: var(--sun-light); }
.video figcaption { margin-top: 12px; font-size: 17px; color: var(--muted); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 32px 24px; }

/* Writer / prose */
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 32px; margin-top: 1.6em; }
.prose h3 { font-size: 24px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .3em; }
.prose a { font-weight: 700; }

/* 5. Home sections --------------------------------------------------- */

.hero { padding-block: 48px 88px; }
/* Phones: text above, picture below. From 700px (tablets, desktop): side by side */
.hero .container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 700px) {
  .hero .container { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 40px; }
}
.hero__text { min-width: 0; }
.hero__title {
  font-size: clamp(52px, 7.4vw, 112px); line-height: .95; letter-spacing: -0.02em;
}
.hero__tagline {
  margin-top: 22px; font-family: var(--serif); font-weight: 500;
  font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; color: var(--ink-soft);
}
.hero__lead { margin-top: 22px; max-width: 36ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
/*
 * The picture box is a size container: photo and splash are sized from its
 * width AND height (cqw / cqh), so they always fit inside it on any screen shape
 * and can never spill over the buttons.
 */
.hero__visual {
  position: relative; min-width: 0;
  height: clamp(360px, 44vw, 560px);
  container-type: size;
}
.hero__splash {
  --splash-w: min(112cqw, 150cqh);
  position: absolute; width: var(--splash-w);
  left: calc(50% - var(--splash-w) / 2);
  top: calc(46% - var(--splash-w) * .287);  /* image is 434 × 249 */
  transform: rotate(-8deg);
}
.hero__portrait {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%);
  width: min(66cqw, 78cqh); aspect-ratio: 1; object-fit: cover; object-position: 48% 28%;
  border-radius: 50%; border: 12px solid #fff;
  box-shadow: 0 24px 60px rgba(27,31,59,.22);
}
.hero__badge {
  position: absolute; right: 2%; bottom: 40px; max-width: 230px;
  background: var(--ink); color: #fff; border-radius: var(--radius-s);
  padding: 14px 20px; font-size: 16px; line-height: 1.35; transform: rotate(3deg);
}

/* Course cards: stacked on phones, horizontal rows on tablets, three columns from 1200px */
.offers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.offer {
  min-width: 0;
  background: var(--c-bg); color: var(--c-fg);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s;
}
.offer:hover { transform: translateY(-4px); }
.offer__label { font-family: var(--serif); font-size: 18px; opacity: .9; }
.offer__title { font-size: 32px; line-height: 1.05; letter-spacing: -0.01em; hyphens: auto; overflow-wrap: break-word; }
.offer__text { font-size: 18px; }
.offer__tag {
  align-self: flex-start; font-size: 16px; font-weight: 700;
  padding: 10px 16px; border-radius: 14px; background: var(--c-tag);
}
.offer .btn { margin-top: 4px; }
@media (max-width: 639px) {
  .offer { padding: 24px; gap: 12px; }
  .offer__title { font-size: 28px; }
  .offer__text { font-size: 17px; }
}

@media (min-width: 640px) and (max-width: 1199px) {
  /* Tablets (incl. iPad landscape): one card per row, name and title left, details right */
  .offer {
    display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    column-gap: 36px; row-gap: 14px; align-items: start; padding: 32px;
  }
  .offer__label { grid-column: 1; grid-row: 1; }
  .offer__title { grid-column: 1; grid-row: 2 / span 3; font-size: 34px; }
  .offer__text  { grid-column: 2; grid-row: 1 / span 2; }
  .offer__tag   { grid-column: 2; grid-row: 3; }
  .offer .btn   { grid-column: 2; grid-row: 4; margin-top: 0; }
}

@media (min-width: 1200px) {
  .offers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .offer { padding: 36px; gap: 16px; min-height: 460px; }
  .offer__title { font-size: clamp(32px, 2.9vw, 40px); }
  /* Note and button sit at the bottom so the three cards line up */
  .offer__tag { margin-top: auto; }
}

.online-note { margin-top: 24px; font-size: 17px; color: var(--ink-soft); }

.host-band { background: var(--orange); }
.host-band .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 28px 56px; padding-block: 72px;
}
.host-band__text { flex: 2 1 520px; min-width: 0; }
.host-band__text p { margin-top: 12px; max-width: 60ch; }

.about__quote { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 5.4vw, 76px); line-height: 1; letter-spacing: -0.02em; }
.about__quote em { color: var(--blue); }
.about__title { font-size: 28px; margin-bottom: 18px; }
.about__body .prose { color: var(--ink-soft); }
.about__quals-title { margin: 32px 0 14px; font-weight: 700; }

.video-band { background: var(--navy); color: #fff; overflow-x: clip; /* the artwork orb peeks out of the video corner */ }
.video-band .container { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; padding-block: 96px; }
.video-band__text { flex: 1 1 320px; min-width: 0; }
.video-band__text a { color: #fff; }
.video-band__kicker { font-size: 16px; font-weight: 700; color: var(--sun); margin-bottom: 12px; }
.video-band__caption { margin: 16px 0 24px; color: #CDD3EE; }
.video-band__media { flex: 2 1 560px; min-width: 0; position: relative; }
.video-band__orb {
  position: absolute; right: -40px; top: -48px; width: 160px; height: 160px;
  object-fit: cover; border-radius: 50%; z-index: 1;
}
@media (max-width: 700px) { .video-band__orb { display: none; } }

.world {
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--frost); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 48px clamp(24px, 4vw, 56px);
  display: flex; flex-wrap: wrap; gap: 36px 56px; align-items: center;
}
.world__intro { flex: 1 1 340px; min-width: 0; }
.stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 24px; }
.stat { display: flex; flex-direction: column; }
.stat__n { font-family: var(--serif); font-size: 56px; line-height: 1; }
.stat__label { font-size: 16px; color: var(--muted); }
.world .chips { flex: 1.4 1 420px; min-width: 0; }

.book-art { display: flex; flex-wrap: wrap; gap: 20px; }
.book {
  flex: 1 1 380px; min-width: 0; background: var(--tint-blue); border-radius: var(--radius);
  border: 1px solid var(--edge); box-shadow: var(--elev);
  padding: 36px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center;
}
.book img { width: 150px; border-radius: 8px; box-shadow: 0 18px 36px rgba(27,31,59,.22); transform: rotate(-3deg); }
.book__text { flex: 1 1 200px; min-width: 0; }
.book__kicker { font-size: 16px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.book__title { font-size: 26px; line-height: 1.15; margin-bottom: 18px; }
.book__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.art { flex: 1.3 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.art__grid { display: flex; gap: 20px; }
.art__grid img { flex: 1 1 0; min-width: 0; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.art__caption { font-size: 16px; font-weight: 700; color: var(--muted); }

.contact-block { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.contact-block__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding-block: 24px; }
.contact-block__text img { width: 460px; margin-bottom: 28px; }
.contact-block__text p { margin-top: 14px; max-width: 40ch; color: var(--ink-soft); }
.contact-card {
  flex: 1 1 400px; min-width: 0; background: var(--ink); color: #fff;
  border-radius: var(--radius); padding: 40px;
  display: flex; flex-direction: column; gap: 22px;
}
.contact-card a { color: #fff; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; color: #fff; }
.contact-card .btn--sun { color: var(--ink); margin-top: auto; }
.contact-card .btn--sun:hover { text-decoration: none; color: var(--ink); }
.contact-card__label { font-size: 14px; font-weight: 700; color: var(--sun); }
.contact-card__value { font-size: 21px; margin-top: 2px; }
.contact-card__value a { font-weight: 700; }

/* 6. Course pages ---------------------------------------------------- */

.page-hero { background: var(--c-bg, var(--sand)); color: var(--c-fg, var(--ink)); }
.page-hero .container { padding-block: clamp(56px, 8vw, 96px); }
.page-hero__kicker { font-family: var(--serif); font-size: 20px; opacity: .9; margin-bottom: 12px; }
.page-hero__title { font-size: clamp(48px, 6.4vw, 96px); line-height: .98; letter-spacing: -0.02em; max-width: 16ch; }
.page-hero__intro { margin-top: 24px; font-size: 21px; max-width: 46ch; }
.page-hero__intro a { color: inherit; }

.benefits { margin-top: 28px; }

.formats {
  background: #fff; border: 1px solid var(--edge); box-shadow: var(--elev);
  border-radius: var(--radius); padding: 36px;
}
.formats h2 { font-size: 30px; margin-bottom: 16px; }
.formats .btn { margin-top: 24px; }

.report summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 28px 32px; border-radius: var(--radius-m);
  background: #fff; border: 1px solid var(--edge); box-shadow: var(--elev);
}
.report summary::-webkit-details-marker { display: none; }
.report summary h2 { font-size: clamp(24px, 2.6vw, 34px); min-width: 0; }
.report summary svg { width: 28px; height: 28px; flex: none; transition: transform .2s; }
.report[open] summary svg { transform: rotate(45deg); }
.report[open] .prose { margin-top: 12px; padding: 32px; max-width: none; background: var(--frost); border-radius: var(--radius-m); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.report .prose > * { max-width: 72ch; }

/* 7. Dates, experiences, contact, text pages ------------------------- */

.page-head { padding-block: clamp(56px, 8vw, 88px) 40px; }
.page-head .prose { margin-top: 20px; max-width: 60ch; color: var(--ink-soft); }

.empty { padding: 32px; border-radius: var(--radius-m); background: #fff; border: 1px solid var(--edge); box-shadow: var(--elev); max-width: 60ch; }

.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 17px; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 18px; color: var(--ink);
  padding: 14px 16px; border: 2px solid #C9C5D6; border-radius: 14px; background: #fff;
  min-height: 52px;
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--tint-blue); }
.field--error input, .field--error textarea { border-color: var(--red); }
.field__error { color: #B3261E; font-size: 16px; font-weight: 700; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__privacy { font-size: 16px; color: var(--muted); }
.notice { padding: 20px 24px; border-radius: var(--radius-s); font-weight: 700; }
.notice--success { background: var(--tint-green); color: #1E5A35; }
.notice--error { background: var(--tint-red); color: #8A1F12; }

.text-page .prose { max-width: 72ch; }

/* 8. Footer ---------------------------------------------------------- */

.site-footer { background: rgba(246, 244, 238, .85); margin-top: var(--section); }
.site-footer .container {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding-block: 32px; font-size: 15px; color: var(--muted);
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.credit { display: inline-flex; align-items: center; gap: 6px; }
.credit svg { width: 16px; height: 16px; color: var(--red); }
.credit a { font-weight: 700; color: var(--ink); text-decoration: none; }
.credit a:hover { text-decoration: underline; }

.site-footer--flush { margin-top: 0; }

/* 9. Motion ---------------------------------------------------------- */
/*
 * All end states equal the normal styles above, so with "reduce motion"
 * (which switches animations off, see section 2) everything simply shows.
 */

/* Page entrance: hero and page headers */
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
.hero__title, .hero__tagline, .hero__lead, .hero__actions,
.page-hero__kicker, .page-hero__title, .page-hero__intro,
.page-head .container > * {
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) both;
}
.hero__tagline, .page-hero__title, .page-head .container > :nth-child(2) { animation-delay: .12s; }
.hero__lead, .page-hero__intro { animation-delay: .24s; }
.hero__actions { animation-delay: .36s; }

/* The colour splash blooms out like wet paint, then drifts gently */
.hero__splash {
  -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 70%);
          mask-image: radial-gradient(circle, #000 40%, transparent 70%);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: 300% 300%; mask-size: 300% 300%;
  animation:
    bloom 1.8s cubic-bezier(.16, .8, .3, 1) both,
    drift 16s ease-in-out 1.8s infinite alternate;
}
@keyframes bloom {
  0% {
    opacity: 0; filter: blur(16px);
    transform: rotate(-26deg) scale(.6);
    -webkit-mask-size: 0% 0%; mask-size: 0% 0%;
  }
  35% { opacity: 1; }
  100% {
    opacity: 1; filter: blur(0);
    transform: rotate(-8deg) scale(1);
    -webkit-mask-size: 300% 300%; mask-size: 300% 300%;
  }
}
@keyframes drift {
  0%   { transform: rotate(-8deg) scale(1) translate(0, 0); }
  50%  { transform: rotate(-5deg) scale(1.04) translate(1.5%, -1%); }
  100% { transform: rotate(-10deg) scale(1.02) translate(-1%, 1.5%); }
}

@keyframes pop {
  from { opacity: 0; transform: translate(-50%, -50%) scale(.82); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.hero__portrait { animation: pop 1s cubic-bezier(.2, .9, .3, 1.15) .45s both; }

@keyframes drop {
  from { opacity: 0; transform: translateY(-24px) rotate(14deg); }
  to   { opacity: 1; transform: rotate(3deg); }
}
.hero__badge { animation: drop .8s cubic-bezier(.2, .9, .3, 1.2) 1.1s both; }

/* Scroll reveal: only when JavaScript runs (class set in the page head) */
.reveal-on [data-reveal]:not([data-reveal="stagger"]),
.reveal-on [data-reveal="stagger"] > * {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
}
.reveal-on [data-reveal].is-in:not([data-reveal="stagger"]),
.reveal-on [data-reveal="stagger"].is-in > * {
  opacity: 1;
  transform: none;
}
.reveal-on [data-reveal="stagger"] > :nth-child(2) { transition-delay: 70ms; }
.reveal-on [data-reveal="stagger"] > :nth-child(3) { transition-delay: 140ms; }
.reveal-on [data-reveal="stagger"] > :nth-child(4) { transition-delay: 210ms; }
.reveal-on [data-reveal="stagger"] > :nth-child(5) { transition-delay: 280ms; }
.reveal-on [data-reveal="stagger"] > :nth-child(6) { transition-delay: 350ms; }
.reveal-on [data-reveal="stagger"] > :nth-child(7) { transition-delay: 420ms; }
.reveal-on [data-reveal="stagger"] > :nth-child(8) { transition-delay: 490ms; }
.reveal-on [data-reveal="stagger"] > :nth-child(9) { transition-delay: 560ms; }
.reveal-on [data-reveal="stagger"] > :nth-child(10) { transition-delay: 630ms; }
.reveal-on [data-reveal="stagger"] > :nth-child(11) { transition-delay: 700ms; }
.reveal-on [data-reveal="stagger"] > :nth-child(12) { transition-delay: 770ms; }

/* Watercolour wash: soft pools of the splash colours behind the whole site.
   They drift slowly; in browsers with scroll-driven animations they also
   turn as you scroll. Pale enough that text contrast stays the same. */
.wash {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
}
.wash__layer { position: absolute; inset: -20%; }
.wash span {
  position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%;
  background: radial-gradient(closest-side, var(--wash) 0%, transparent 100%);
  will-change: transform;
  animation: wash-float 34s ease-in-out infinite alternate;
}
.wash span:nth-child(1) { --wash: rgba(255, 200, 69, .34);  left: 2%;  top: 0%;   }
.wash span:nth-child(2) { --wash: rgba(47, 103, 168, .20);  left: 52%; top: 4%;   animation-duration: 41s; animation-delay: -8s; }
.wash span:nth-child(3) { --wash: rgba(176, 124, 198, .26); left: 22%; top: 40%;  animation-duration: 38s; animation-delay: -15s; }
.wash span:nth-child(4) { --wash: rgba(79, 163, 95, .20);   left: 60%; top: 48%;  animation-duration: 45s; animation-delay: -4s; }
.wash span:nth-child(5) { --wash: rgba(255, 138, 61, .20);  left: 0%;  top: 62%;  animation-duration: 36s; animation-delay: -21s; }
@keyframes wash-float {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(6vmax, -4vmax) scale(1.12); }
  66%  { transform: translate(-5vmax, 5vmax) scale(.92); }
  100% { transform: translate(3vmax, 2vmax) scale(1.06); }
}
@supports (animation-timeline: scroll()) {
  .wash__layer {
    animation: wash-scroll linear both;
    animation-timeline: scroll(root);
  }
  @keyframes wash-scroll {
    from { transform: rotate(0deg) scale(1); }
    to   { transform: rotate(32deg) scale(1.15); }
  }
}
/* Faint paper grain */
.wash::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .2 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .06;
}

/* Smooth page changes: content cross-fades, header and rainbow bar stay put */
@view-transition { navigation: auto; }
.site-header { view-transition-name: header; }
.rainbow-bar--top { view-transition-name: rainbow; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
