:root {
  --ink: #0A0A0A;
  --ink-2: #1C1C1F;
  --ink-line: #34343A;
  --paper: #F5F5F2;
  --white: #FFFFFF;
  --wall: #D11F26;
  --signal: #FF3B3B;
  --grey: #555559;
  --grey-d: #8A8A8E;
  --grey-l: #C8C8CC;
  --rule: #DADAD6;

  --display: 'Space Grotesk', system-ui, sans-serif;
  --slogan: 'Archivo', 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --wx: 58%;              /* where the wall stands in a hero */
  --section: clamp(64px, 8vw, 112px);
  --header: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
::selection { background: #FFC2C2; color: var(--ink); }
html { scroll-padding-top: var(--header); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--wall); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--signal); }

.container { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; }
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; }
h2 { font-size: clamp(2.125rem, 4.4vw, 3.25rem); line-height: 1.04; letter-spacing: -0.035em; }
h3 { font-size: 1.3125rem; line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; }
p { margin: 0; }
.lead { font-size: 1.1875rem; line-height: 1.55; color: var(--grey); max-width: 38em; text-wrap: balance; }

/* Buttons: square corners, like the square line caps in the mark */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: -0.005em;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--white); }
.btn-ghost-light { border-color: #4A4A50; color: var(--paper); background: transparent; }
.btn-ghost-light:hover { border-color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--wall); }
.btn-ghost { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-signal { background: var(--signal); color: var(--ink); }
.btn-signal:hover { background: var(--paper); }
.btn-outline-signal { border-color: var(--signal); background: transparent; color: var(--paper); }
.btn-outline-signal:hover { background: var(--signal); color: var(--ink); }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; white-space: nowrap; }
.link-btn:hover { color: var(--wall); }
.dark .link-btn:hover { color: var(--signal); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--paper); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--ink-line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 40px; height: 40px; }
.brand-name { display: flex; flex-direction: column; gap: 3px; }
.brand-name b { font-family: var(--display); font-weight: 700; font-size: 1.375rem; line-height: 1; letter-spacing: -0.04em; }
.brand-name span { font-family: var(--display); font-weight: 500; font-size: 0.5625rem; letter-spacing: 0.62em; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 0.9375rem; color: var(--grey-l); transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--paper); }
.nav-end { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 14px; }
.lang button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 6px 0 4px; font-size: 0.875rem; font-weight: 600; color: var(--grey-d); cursor: pointer; transition: color .15s, border-color .15s; }
.lang button:hover { color: var(--paper); }
.lang button[aria-pressed="true"] { color: var(--paper); border-bottom-color: var(--signal); }
.nav .btn { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--paper); margin: 6px 0; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero: the wall ---------- */
.hero { background: var(--ink); color: var(--paper); overflow: hidden; }
.hero-inner { position: relative; padding: clamp(56px, 9vw, 112px) 0 clamp(56px, 8vw, 96px); }
/* Home hero fills the screen under the header (+1px border), so the next section never peeks in on shorter screens */
.hero:not(.course-hero) .hero-inner {
  display: flex; flex-direction: column; justify-content: center;
  min-height: calc(100vh - var(--header) - 1px); min-height: calc(100svh - var(--header) - 1px);
}
.hero-grid {
  position: absolute; top: 0; bottom: 0; left: var(--wall-x, var(--wx)); right: -50vw;
  background-image: linear-gradient(rgba(245,245,242,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(245,245,242,.06) 1px, transparent 1px);
  background-size: 40px 40px; background-position: -1px -1px;
}
.wall { position: absolute; top: 0; bottom: 0; left: var(--wall-x, var(--wx)); width: 6px; margin-left: -3px; background: var(--signal); z-index: 2; transform-origin: top; }

/* Draggable wall (home hero): looks the same, only gains a wider grab area */
.wall.is-draggable { cursor: ew-resize; touch-action: pan-y; }
.wall.is-draggable::before { content: ''; position: absolute; top: 0; bottom: 0; left: -18px; right: -18px; }
.wall.is-draggable:focus { outline: none; }
.wall.is-draggable:focus-visible { outline: 2px solid var(--paper); outline-offset: 6px; }
body.dragging-wall { cursor: ew-resize; user-select: none; -webkit-user-select: none; }

.headline { position: relative; z-index: 1; margin-bottom: clamp(40px, 6vw, 72px); }
.hl {
  font-family: var(--slogan); font-weight: 800; font-stretch: 112%;
  font-size: clamp(2.5rem, 7.4vw, 6.75rem); line-height: 0.95; letter-spacing: -0.035em;
  margin: 0; width: 100%; text-wrap: balance;
}
.hl-solid { color: var(--paper); clip-path: inset(-0.3em calc(100% - var(--wall-x, var(--wx))) -0.3em -0.3em); }
.hl-wire {
  position: absolute; inset: 0;
  color: transparent; -webkit-text-stroke: max(1.5px, 0.016em) var(--paper);
  clip-path: inset(-0.3em -0.3em -0.3em var(--wall-x, var(--wx)));
  transform: translate(0.05em, -0.035em);
  user-select: none;
}

.hero-body { position: relative; z-index: 1; display: grid; grid-template-columns: calc(var(--wx) - 6%) 1fr; column-gap: 12%; align-items: end; }
.hero-body .lead { color: var(--grey-l); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hero-facts li { display: flex; gap: 14px; align-items: baseline; font-size: 0.9375rem; color: var(--grey-l); }
.hero-facts li::before { content: ''; flex: none; width: 10px; height: 0; border-top: 2px solid var(--grey-d); transform: translateY(-4px); }

@media (prefers-reduced-motion: no-preference) {
  .wall { animation: wall-in .7s cubic-bezier(.6,0,.2,1) both; }
  .hl-wire { animation: clip-through .6s .55s cubic-bezier(.2,.7,.2,1) both; }
  .hero-grid { animation: fade .8s .55s ease-out both; }
  @keyframes wall-in { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  @keyframes clip-through { from { opacity: 0; transform: translate(-0.04em, 0); } to { opacity: 1; transform: translate(0.05em, -0.035em); } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
/* Menu links target the content inside each section (not the section itself),
   so the heading lands just under the header instead of after the section's top padding */
.anchor { scroll-margin-top: 60px; }
.section-white { background: var(--white); }
.section-head { display: grid; grid-template-columns: 5fr 7fr; gap: 24px 64px; align-items: end; padding-bottom: 22px; border-bottom: 2px solid var(--ink); }
.section-head .lead { justify-self: end; }

/* Approach */
.approach { display: grid; grid-template-columns: 5fr 7fr; gap: 48px 64px; }
.approach-intro { position: sticky; top: 112px; align-self: start; display: grid; gap: 24px; }
.approach-list { list-style: none; margin: 0; padding: 0; }
.approach-list li { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--rule); }
.approach-list li:first-child { border-top: 2px solid var(--ink); }
.approach-list p { color: var(--grey); }

/* Level meter */
.level { display: inline-flex; align-items: center; gap: 10px; }
.level-bars { display: inline-flex; gap: 3px; }
.level-bars i { width: 6px; height: 14px; background: var(--rule); }
.level-bars i.on { background: var(--ink); }
.dark .level-bars i { background: var(--ink-line); }
.dark .level-bars i.on { background: var(--paper); }

/* Home: course list. Hovering raises the wall on the card's edge. */
.course-cards { display: grid; grid-template-columns: 1fr 1fr; }
.course-card {
  position: relative; display: flex; flex-direction: column; gap: 22px;
  padding: 40px 44px 44px; text-decoration: none; color: inherit;
  border-bottom: 1px solid var(--rule); transition: background-color .2s;
}
.course-card + .course-card { border-left: 1px solid var(--rule); }
.course-card::before {
  content: ''; position: absolute; left: -3px; top: 0; bottom: 0; width: 6px; background: var(--signal);
  transform: scaleY(0); transform-origin: top; transition: transform .35s cubic-bezier(.6,0,.2,1);
}
.course-card:first-child::before { left: 0; }
a.course-card:hover, .course-card:focus-visible { background: var(--paper); }
a.course-card:hover::before, .course-card:focus-visible::before { transform: scaleY(1); }
.course-card:focus-visible { outline-offset: -2px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 0.9375rem; }
.card-meta > span:first-child { font-weight: 600; }
.course-card h3 { font-size: clamp(1.875rem, 3.2vw, 2.625rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; }
.course-card .card-sum { color: var(--grey); max-width: 32em; }
.card-topics { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; font-size: 0.9375rem; }
/* Dashes are drawn as borders: browsers round border widths to whole screen pixels,
   so every dash looks the same thickness even at 125% or 150% scaling */
.card-topics li { position: relative; padding: 5px 0 5px 18px; line-height: 24px; break-inside: avoid; }
.card-topics li::before { content: ''; position: absolute; left: 0; top: 16px; width: 8px; height: 0; border-top: 2px solid var(--ink); }
.card-foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; font-size: 0.9375rem; }
.card-foot .next { color: var(--grey); }
.card-foot .next b { color: var(--ink); font-weight: 600; }
.card-link { font-family: var(--display); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a.course-card:hover .card-link { color: var(--wall); }
.courses-note { margin-top: 24px; font-size: 0.9375rem; color: var(--grey); }

/* Formats */
.formats { display: grid; grid-template-columns: 7fr 5fr; gap: 48px 72px; margin-top: 8px; }
.format h3 { font-size: 1.75rem; letter-spacing: -0.03em; font-weight: 700; }
.format > p { color: var(--grey); margin-top: 10px; max-width: 32em; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(step); grid-row: span 2; font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1; }
.steps b { font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.015em; }
.steps span { color: var(--grey); font-size: 0.9375rem; }

/* Offer: fixed price per workshop */
.offer { align-self: start; background: var(--white); border: 1px solid var(--rule); padding: 22px 28px; display: grid; gap: 16px; }
.offer-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.offer-price b { font-family: var(--display); font-weight: 700; font-size: clamp(2.75rem, 5vw, 3.75rem); letter-spacing: -0.04em; line-height: 1; }
.offer-price span { color: var(--grey); }
.offer-list { list-style: none; margin: 0; padding: 0; }
.offer-list li { position: relative; padding: 8px 0 8px 22px; border-top: 1px solid var(--rule); font-size: 0.9375rem; }
.offer-list li:last-child { border-bottom: 1px solid var(--rule); }
.offer-list li::before { content: ''; position: absolute; left: 0; top: 1.15em; width: 10px; height: 0; border-top: 2px solid var(--ink); }
.offer h3 { font-size: 1.125rem; letter-spacing: -0.01em; }
.offer .offer-list { margin-top: -10px; }
.price-table { width: 100%; border-collapse: collapse; margin-top: -10px; font-size: 0.9375rem; }
.price-table th, .price-table td { padding: 9px 0; border-top: 1px solid var(--rule); text-align: left; vertical-align: baseline; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 1px solid var(--rule); }
.price-table th { font-weight: 500; }
.price-table th a { text-decoration: none; }
.price-table th a:hover { text-decoration: underline; text-underline-offset: 3px; }
.price-table td { padding-left: 16px; white-space: nowrap; color: var(--grey); }
.price-table td:last-child { text-align: right; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.125rem; }
.price-table tr.is-soon th, .price-table tr.is-soon td { color: var(--grey); font-family: var(--body); font-weight: 400; font-size: 0.9375rem; }
.offer-note { font-size: 0.875rem; color: var(--grey); margin-top: -10px; }
.offer .btn { width: 100%; }
.aside .offer-price b { font-size: 2.75rem; }

/* Coming soon */
.tag { display: inline-flex; align-items: center; padding: 2px 10px; border: 1px solid currentColor; font-size: 0.8125rem; font-weight: 600; }
.status { margin-bottom: 20px; }
.tag-dark { color: var(--signal); }
.course-card.is-soon,
.course-card.is-soon h3,
.course-card.is-soon .card-meta,
.course-card.is-soon .card-topics,
.course-card.is-soon .card-foot .next,
.course-card.is-soon .card-foot .next b { color: var(--grey); }
.course-card.is-soon .card-meta > span:first-child { font-weight: 400; }
.course-card.is-soon .card-topics li::before { border-top-color: var(--grey); }
.course-card.is-soon .level-bars i.on { background: var(--grey); }
.course-card.is-soon .card-meta .tag { color: var(--wall); font-weight: 600; }
.course-card.is-soon .card-link { text-decoration: none; color: var(--grey); }
.aside-text { color: var(--grey); font-size: 0.9375rem; }
.agenda-soon { margin-top: 20px; color: var(--grey); }

/* Contact */
.contact { background: var(--ink); color: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px 80px; }
.contact .lead { color: var(--grey-l); margin-top: 24px; }
.contact-details { margin: 40px 0 0; display: grid; }
.contact-details div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--ink-line); }
.contact-details dt { color: var(--grey-d); font-size: 0.9375rem; }
.contact-details dd { margin: 0; }
.contact-details a { text-decoration: none; }
.contact-details a:hover { text-decoration: underline; text-underline-offset: 3px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.9375rem; font-weight: 500; }
.field label .opt { color: var(--grey-d); font-weight: 400; }
.input {
  width: 100%; min-height: 50px; padding: 12px 14px; background: var(--ink-2); border: 1px solid var(--ink-line);
  border-radius: 0; color: var(--paper); transition: border-color .15s;
}
.input::placeholder { color: #6E6E74; }
.input:hover { border-color: #55555C; }
.input:focus { outline: none; border-color: var(--paper); box-shadow: 0 0 0 1px var(--paper); }
textarea.input { min-height: 104px; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--grey-l) 50%), linear-gradient(135deg, var(--grey-l) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field.invalid .input { border-color: var(--signal); }
.error { color: var(--signal); font-size: 0.875rem; display: none; }
.field.invalid .error { display: block; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.9375rem; color: var(--grey-l); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--signal); }
.consent a { color: var(--paper); }
.consent .error { grid-column: 2; }
.consent.invalid .error { display: block; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-actions p { color: var(--grey-d); font-size: 0.875rem; }
.form-actions .send-error { flex-basis: 100%; color: var(--signal); font-size: 0.9375rem; }
.send-error a { color: var(--paper); }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
/* Honeypot: off screen for people, still filled in by spam bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: none; border-left: 6px solid var(--signal); padding: 8px 0 8px 24px; }
.form-success h3 { font-size: 1.75rem; letter-spacing: -0.03em; font-weight: 700; }
.form-success p { color: var(--grey-l); margin-top: 10px; }
.form-success .link-btn { margin-top: 20px; color: var(--paper); }
.sent .form { display: none; }
.sent .form-success { display: block; }

/* ---------- Course page ---------- */
.course-hero { --wx: 62%; }
.course-hero .hero-inner { padding-top: clamp(40px, 6vw, 72px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 clamp(32px, 5vw, 56px); padding: 0; font-size: 0.9375rem; color: var(--grey-d); position: relative; z-index: 1; }
.crumbs li + li::before { content: '/'; margin-right: 10px; color: var(--ink-line); }
.crumbs a { text-decoration: none; color: var(--grey-l); }
.crumbs a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.ch-grid { position: relative; z-index: 1; display: grid; grid-template-columns: calc(var(--wx) - 6%) 1fr; column-gap: 12%; align-items: start; }
.ch-title { position: relative; }
.ch-title > * { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(2.75rem, 6.6vw, 5.75rem); line-height: 0.96; letter-spacing: -0.045em; text-wrap: balance; }
/* The title sits in a column, not the full hero, so the cut is set in px by NC.draggableWall (--cut, from the title's left edge) */
.ch-title .hl-solid { clip-path: inset(-0.3em calc(100% - var(--cut, 100%)) -0.3em -0.3em); }
.ch-title .hl-wire { clip-path: inset(-0.3em -0.3em -0.3em var(--cut, 100%)); }
/* Hero buttons cut by the wall: solid left of it, outline right of it (copy built by NC.draggableWall) */
.wall-pair { position: relative; margin-top: 32px; }
.wall-pair > .hero-actions { margin-top: 0; }
.wall-pair > .wall-solid { clip-path: inset(-12px calc(100% - var(--cut, 100%)) -12px -12px); }
.wall-pair > .wall-wire { position: absolute; inset: 0; clip-path: inset(-12px -12px -12px var(--cut, 100%)); transform: translate(3px, -2px); }
.wall-wire .btn { background: transparent; border-color: var(--paper); color: transparent; -webkit-text-stroke: 0.8px var(--paper); }
.wall-wire .btn:hover { color: var(--paper); -webkit-text-stroke: 0; }
/* Keyboard focus shows the real button whole */
.wall-pair:has(:focus-visible) > .wall-solid { clip-path: none; }
.wall-pair:has(:focus-visible) > .wall-wire { visibility: hidden; }
.course-hero .lead { color: var(--grey-l); margin-top: 28px; }
.facts { margin: 0; display: grid; }
.facts div { display: grid; grid-template-columns: 104px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid var(--ink-line); font-size: 0.9375rem; }
.facts div:last-child { border-bottom: 1px solid var(--ink-line); }
.facts dt { color: var(--grey-d); }
.facts dd { margin: 0; }

.course-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px 80px; }
.course-main > section + section { margin-top: clamp(64px, 8vw, 96px); }
.course-main h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); letter-spacing: -0.03em; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.prose { display: grid; gap: 18px; margin-top: 24px; max-width: 40em; }
.prose p:first-child { font-size: 1.1875rem; }
.prose p + p { color: var(--grey); }


.agenda { list-style: none; margin: 0; padding: 0; }
.agenda li { display: grid; grid-template-columns: 136px 1fr; gap: 4px 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.agenda time { font-variant-numeric: tabular-nums; font-weight: 500; font-size: 0.9375rem; padding-top: 2px; }
.agenda b { font-family: var(--display); font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.015em; display: block; }
.agenda p { color: var(--grey); font-size: 0.9375rem; margin-top: 4px; max-width: 36em; }
.agenda li > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.agenda li > div > p { flex-basis: 100%; }
.kinds { display: inline-flex; gap: 6px; }
.kind { display: inline-block; padding: 2px 8px; border: 1px solid var(--ink); font-size: 0.75rem; font-weight: 500; line-height: 1.4; }
.kind-lab { background: var(--ink); color: var(--paper); }
.agenda li.brk { padding: 12px 0; background: repeating-linear-gradient(-45deg, transparent 0 6px, rgba(10,10,10,.035) 6px 7px); }
.agenda li.brk time, .agenda li.brk span { color: var(--grey); font-size: 0.875rem; font-weight: 400; }
.agenda-total { margin-top: 16px; font-size: 0.9375rem; color: var(--grey); }

.req { margin: 0; }
.req div { display: grid; grid-template-columns: 200px 1fr; gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.req dt { font-family: var(--display); font-weight: 600; }
.req dd { margin: 0; color: var(--grey); }

.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px 64px; }
.faq-intro { position: sticky; top: 112px; align-self: start; display: grid; gap: 20px; }
.faq-intro a { color: var(--ink); text-underline-offset: 3px; }
.faq-intro a:hover { color: var(--wall); }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-family: var(--display); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--wall); }
.faq details p { color: var(--grey); padding: 0 48px 22px 0; max-width: 40em; }
.plus { position: relative; flex: none; width: 20px; height: 20px; }
.plus::before, .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: currentColor; transition: transform .25s; }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0); }

.aside { position: sticky; top: 104px; align-self: start; background: var(--white); border: 1px solid var(--rule); border-top: 6px solid var(--ink); padding: 28px; display: grid; gap: 24px; }
.aside h2 { font-size: 1.375rem; letter-spacing: -0.02em; }
.aside-team { padding-top: 22px; border-top: 1px solid var(--rule); display: grid; gap: 14px; font-size: 0.9375rem; color: var(--grey); }
.aside .btn { width: 100%; }

.trainer { background: var(--ink); color: var(--paper); }
.trainer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 80px; align-items: center; }
.trainer-photo { margin: 0; }
.trainer-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ink-2); }
.trainer-body h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); letter-spacing: -0.03em; padding-bottom: 16px; border-bottom: 2px solid var(--paper); }
.trainer-name { font-family: var(--display); font-weight: 700; font-size: clamp(2.25rem, 4.4vw, 3.5rem); letter-spacing: -0.04em; line-height: 1; margin-top: 32px; }
.trainer-role { font-size: 1.1875rem; color: var(--grey-l); margin-top: 10px; }
.trainer-bio { color: var(--grey-l); margin: 24px 0 28px; max-width: 36em; }
.trainer .facts { margin-bottom: 28px; }
.trainer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.trainer-links:empty { display: none; }
.icon-link { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid #4A4A50; color: var(--paper); transition: background-color .15s, color .15s, border-color .15s; }
.icon-link svg { width: 22px; height: 22px; }
.icon-link:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.other-course { background: var(--white); }
.other-course h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); letter-spacing: -0.03em; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.other-course .course-cards { grid-template-columns: 1fr; }
.other-course .course-card { padding-left: 32px; }

.not-found { padding: var(--section) 0; display: grid; gap: 20px; justify-items: start; }

/* Footer */
.site-footer { background: var(--ink); color: var(--grey-l); border-top: 1px solid var(--ink-line); padding: 56px 0 40px; font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, minmax(max-content, 1fr)); gap: 40px; }   /* columns never narrower than their text, so the email stays on one line */
.footer-grid h3 { font-size: 0.9375rem; color: var(--paper); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.footer-brand p { margin-top: 18px; max-width: 30ch; }
.footer-brand .brand { color: var(--paper); }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--ink-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--grey-d); font-size: 0.875rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { gap: 22px; }
  .approach, .contact-grid, .course-layout, .trainer-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .trainer-photo { max-width: 440px; }
  .approach-intro, .aside { position: static; }
  .formats { grid-template-columns: 1fr; gap: 48px; }
  .section-head { grid-template-columns: 1fr; }
  .section-head .lead { justify-self: start; }
  .footer-grid { grid-template-columns: repeat(3, minmax(max-content, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .course-card { padding: 36px 32px 40px; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-links, .nav-end .btn { display: none; }
  .site-header.menu-open .nav-links {
    display: grid; gap: 0; position: absolute; left: 0; right: 0; top: 72px; background: var(--ink);
    padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--ink-line);
  }
  .site-header.menu-open .nav-links li { border-top: 1px solid var(--ink-line); }
  .site-header.menu-open .nav-links a { display: block; padding: 16px 0; font-size: 1.0625rem; color: var(--paper); }
  .course-cards { grid-template-columns: 1fr; }
  .course-card + .course-card { border-left: 0; }
  .course-card::before, .course-card:first-child::before { left: 0; }
  .ch-grid { grid-template-columns: 1fr; row-gap: 40px; }
  .course-hero .wall, .course-hero .hero-grid { display: none; }
}
@media (max-width: 720px) {
  :root { --wx: 64%; }
  .wall-pair > .wall-solid { clip-path: none; }
  .wall-pair > .wall-wire { display: none; }
  .hero-body { grid-template-columns: 1fr; row-gap: 40px; background: var(--ink); padding: 4px var(--gutter) 56px; margin: 0 calc(-1 * var(--gutter)) calc(-1 * clamp(56px, 8vw, 96px)); z-index: 3; }
  .headline { margin-bottom: 32px; }
  .hero:not(.course-hero) .hero-body { margin-top: auto; }   /* the ink panel stays pinned to the bottom; spare height goes to the wall above it */
  .hero-facts { padding-top: 28px; border-top: 1px solid var(--ink-line); }
  .approach-list li { grid-template-columns: 1fr; gap: 8px; }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-details div { grid-template-columns: 80px 1fr; }
  .course-card { padding: 32px 20px 36px; }
  .other-course .course-card { padding-left: 20px; }
  .card-topics { columns: 1; }
  .agenda li { grid-template-columns: 1fr; }
  .req div { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 96px 1fr; }
}
@media (max-width: 420px) {
  .hero-actions .btn { flex: 1 1 100%; }
}
