@charset "UTF-8";
/* ==========================================================================
   TutorsGetAs — site.css
   Layout concept: left-aligned content laid on a 24px squared-paper ground,
   like a school exercise book. Each activity strand owns a hue that carries
   through nav, cards, badges and the timetable, so colour is wayfinding
   rather than decoration. Square 3px corners for surfaces, full pills for
   chips, so the two read as different kinds of object.

   No framework, no build step. Edit this file directly.
   Sections: 1 tokens · 2 reset · 3 type · 4 layout · 5 chrome · 6 components
             7 forms · 8 utilities · 9 motion & print
   ========================================================================== */

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

:root {
  color-scheme: light;

  /* Surfaces — cool-biased neutrals, never pure grey */
  --paper:        #ffffff;
  --paper-sunk:   #f3f5fa;
  --paper-raised: #ffffff;
  --paper-inked:  #141b2e;

  /* Ink */
  --ink:          #141b2e;
  --ink-soft:     #434e6c;
  --ink-faint:    #67708d;
  --ink-onDark:   #f4f6fc;
  --ink-onDark-soft: #b9c1d8;

  /* Lines */
  --line:         #d9dfee;
  --line-strong:  #b6c0d8;
  --grid-line:    #e4e9f5;

  /* Brand — deep teal. Interactive colour for links and primary buttons. */
  --brand:        #0b5a50;
  --brand-bright: #0e7a6c;
  --brand-tint:   #e6f2f0;
  --brand-onDark: #58cfbc;   /* accent that works on the inked footer */
  --logo-tile:    #0b5a50;

  /* Strand hues. Each page sets --strand/--strand-tint from these. */
  --stem:         #0b5a50;  --stem-tint:    #e4f1ef;
  --reading:      #4c3193;  --reading-tint: #ece7fa;
  --arts:         #a81b4d;  --arts-tint:    #fbe6ed;
  --mind:         #8a4b00;  --mind-tint:    #fbeedd;

  /* Defaults so any .strand- component works unscoped */
  --strand:       var(--brand);
  --strand-tint:  var(--brand-tint);

  /* Semantic */
  --ok:           #0f6b3f;
  --warn:         #8a4b00;
  --stop:         #a3182b;
  --focus:        #ffc233;

  /* Type */
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-text:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Type scale — 1.22 ratio, clamped for phone→desktop */
  --t-xs:   0.78rem;
  --t-sm:   0.875rem;
  --t-base: 1rem;
  --t-md:   1.125rem;
  --t-lg:   clamp(1.2rem,  0.4vw + 1.1rem,  1.4rem);
  --t-xl:   clamp(1.45rem, 1vw   + 1.2rem,  1.9rem);
  --t-2xl:  clamp(1.8rem,  1.8vw + 1.35rem, 2.5rem);
  --t-3xl:  clamp(2.1rem,  3.2vw + 1.4rem,  3.4rem);
  --t-4xl:  clamp(2.4rem,  5vw   + 1.4rem,  4.4rem);

  /* Space — 4px base */
  --s-1: 0.25rem; --s-2: 0.5rem;  --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;    --s-7: 2.75rem; --s-8: 4rem;
  --s-9: 6rem;

  --radius:       3px;
  --radius-lg:    6px;
  --shadow-sm:    0 1px 2px rgb(20 27 46 / 0.06), 0 1px 1px rgb(20 27 46 / 0.04);
  --shadow-md:    0 10px 24px -12px rgb(20 27 46 / 0.18);
  --measure:      66ch;
  --wrap:         76rem;
  --gutter:       1.25rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper:        #0f1422;
    --paper-sunk:   #141b2c;
    --paper-raised: #182135;
    --paper-inked:  #080b14;

    --ink:          #eef1f9;
    --ink-soft:     #b5bed6;
    --ink-faint:    #8b95b1;
    --ink-onDark:   #eef1f9;
    --ink-onDark-soft: #a8b1c9;

    --line:         #2a3349;
    --line-strong:  #3d4864;
    --grid-line:    #1b2335;

    --brand:        #58cfbc;
    --brand-bright: #74e0cd;
    --brand-tint:   #12302c;
    --logo-tile:    #108f7c;

    --stem:         #58cfbc;  --stem-tint:    #11302c;
    --reading:      #b49bff;  --reading-tint: #221a3d;
    --arts:         #ff8caf;  --arts-tint:    #3a1526;
    --mind:         #f0b259;  --mind-tint:    #33240f;

    --ok:           #5fd394;
    --warn:         #f0b259;
    --stop:         #ff8b8b;

    --shadow-sm:    0 1px 2px rgb(0 0 0 / 0.5);
    --shadow-md:    0 12px 28px -14px rgb(0 0 0 / 0.7);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper:        #0f1422;
  --paper-sunk:   #141b2c;
  --paper-raised: #182135;
  --paper-inked:  #080b14;

  --ink:          #eef1f9;
  --ink-soft:     #b5bed6;
  --ink-faint:    #8b95b1;
  --ink-onDark:   #eef1f9;
  --ink-onDark-soft: #a8b1c9;

  --line:         #2a3349;
  --line-strong:  #3d4864;
  --grid-line:    #1b2335;

  --brand:        #58cfbc;
  --brand-bright: #74e0cd;
  --brand-tint:   #12302c;
  --logo-tile:    #108f7c;

  --stem:         #58cfbc;  --stem-tint:    #11302c;
  --reading:      #b49bff;  --reading-tint: #221a3d;
  --arts:         #ff8caf;  --arts-tint:    #3a1526;
  --mind:         #f0b259;  --mind-tint:    #33240f;

  --ok:           #5fd394;
  --warn:         #f0b259;
  --stop:         #ff8b8b;

  --shadow-sm:    0 1px 2px rgb(0 0 0 / 0.5);
  --shadow-md:    0 12px 28px -14px rgb(0 0 0 / 0.7);
}

/* Strand scopes. Put .s-stem etc. on a section or card. */
.s-stem    { --strand: var(--stem);    --strand-tint: var(--stem-tint); }
.s-reading { --strand: var(--reading); --strand-tint: var(--reading-tint); }
.s-arts    { --strand: var(--arts);    --strand-tint: var(--arts-tint); }
.s-mind    { --strand: var(--mind);    --strand-tint: var(--mind-tint); }

/* ---------- 2. Reset ----------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--t-md);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* Inline icons carry .ic and default to the size of the text beside them.
   Component rules below (.card__top svg, .icon-btn svg) override this. */
.ic { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -0.15em; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

::selection { background: var(--strand); color: var(--paper); }

/* ---------- 3. Typography ------------------------------------------------ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); }
h4 { font-size: var(--t-lg); letter-spacing: -0.01em; }

p, ul, ol, dl, blockquote, figure, table { margin: 0; }

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-thickness: 2px; }

strong { font-weight: 650; }
small  { font-size: var(--t-sm); }

code, kbd, samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--paper-sunk);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.1em 0.35em;
}

.eyebrow {
  font-family: var(--font-text);
  font-size: var(--t-xs);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--strand);
  margin: 0 0 var(--s-3);
  display: block;
}

.lede {
  font-size: var(--t-lg);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 44ch;
}

.measure { max-width: var(--measure); }

/* Long-form text blocks (policies, FAQ answers, project write-ups) */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { font-size: var(--t-xl); margin-top: var(--s-7); }
.prose h3 { font-size: var(--t-lg); margin-top: var(--s-6); }
.prose h2 + *, .prose h3 + * { margin-top: var(--s-3); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: var(--s-2); }
.prose ol { list-style: decimal; }
.prose a { font-weight: 550; }

/* ---------- 4. Layout ---------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px))
                  max(var(--gutter), env(safe-area-inset-right, 0px));
}
.wrap--narrow { max-width: 54rem; }

.band { padding-block: var(--s-8); }
.band--tight { padding-block: var(--s-6); }
.band--sunk  { background: var(--paper-sunk); }
.band--inked { background: var(--paper-inked); color: var(--ink-onDark); }
.band--inked h1, .band--inked h2, .band--inked h3 { color: var(--ink-onDark); }
.band--inked p { color: var(--ink-onDark-soft); }

/* The squared-paper ground. Fades out downward so it never fights the text. */
.ruled {
  position: relative;
  background-image:
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to right,  var(--grid-line) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: center top;
}
.ruled::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom,
    transparent 0%,
    color-mix(in srgb, var(--paper) 70%, transparent) 62%,
    var(--paper) 100%);
}
.ruled > * { position: relative; z-index: 1; }

.stack       { display: flex; flex-direction: column; gap: var(--s-4); }
.stack--lg   { gap: var(--s-6); }
.stack--sm   { gap: var(--s-2); }
.row         { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.grid > * { min-width: 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-6);
}
.section-head p { color: var(--ink-soft); max-width: 48ch; margin-top: var(--s-2); }

.rule { border: 0; border-top: 1px solid var(--line); margin-block: var(--s-6); }

/* ---------- 5. Chrome: skip link, header, nav, footer -------------------- */

.skip {
  position: absolute;
  left: var(--s-4);
  top: -4rem;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius);
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip:focus { top: var(--s-3); }

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
@supports not (backdrop-filter: blur(1px)) {
  .masthead { background: var(--paper); }
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.brand:hover { color: var(--brand); }
.brand__mark { width: 30px; height: 30px; flex: none; color: var(--logo-tile); }
.brand__name span { color: var(--brand); }

.nav { margin-left: auto; display: flex; align-items: center; gap: var(--s-3); }
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--s-1);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.7rem;
  border-radius: var(--radius);
  font-size: var(--t-sm);
  font-weight: 550;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}
.nav__link:hover { color: var(--ink); background: var(--paper-sunk); }
.nav__link[aria-current="page"] {
  color: var(--ink);
  font-weight: 650;
  box-shadow: inset 0 -2px 0 var(--brand);
}

.nav__tools { display: flex; align-items: center; gap: var(--s-2); }
.masthead__tools { display: flex; align-items: center; gap: var(--s-2); margin-left: var(--s-2); }
@media (max-width: 62rem) { .masthead__tools { margin-left: auto; } }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
}
.icon-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.icon-btn svg { width: 20px; height: 20px; }

.nav-toggle { display: none; }

/* Mobile drawer */
@media (max-width: 62rem) {
  .nav { display: none; }
  .nav-toggle { display: inline-grid; }
  .nav.is-open {
    display: block;
    position: absolute;
    left: 0; right: 0; top: 100%;
    margin: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: var(--s-3) max(var(--gutter), env(safe-area-inset-left, 0px))
             var(--s-5) max(var(--gutter), env(safe-area-inset-right, 0px));
    max-height: calc(100vh - 4.25rem);
    overflow-y: auto;
  }
  .nav.is-open .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav.is-open .nav__link {
    min-height: 3rem;
    padding-inline: var(--s-3);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: var(--t-md);
  }
  .nav.is-open .nav__link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand); }
  .nav.is-open .nav__tools { margin: var(--s-4) 0 0; }
}

.sitefoot {
  background: var(--paper-inked);
  color: var(--ink-onDark-soft);
  padding-block: var(--s-8) var(--s-5);
  margin-top: var(--s-9);
  font-size: var(--t-sm);
}
.sitefoot a { color: var(--ink-onDark); text-decoration: none; }
.sitefoot a:hover { text-decoration: underline; }
.sitefoot h2 {
  font-family: var(--font-text);
  font-size: var(--t-xs);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8f9ab6;
  margin-bottom: var(--s-3);
}
.sitefoot__cols {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.sitefoot ul { list-style: none; padding: 0; display: grid; gap: var(--s-2); }
.sitefoot__brand { display: grid; gap: var(--s-3); }
.sitefoot__brand .brand { color: var(--ink-onDark); font-size: 1.15rem; }
.sitefoot .brand__name span { color: var(--brand-onDark); }
.sitefoot__brand .brand:hover { color: var(--brand-onDark); }
.sitefoot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #27304a;
  margin-top: var(--s-7);
  padding-top: var(--s-4);
  color: #8f9ab6;
  font-size: var(--t-xs);
}
.sitefoot__legal ul { display: flex; flex-wrap: wrap; gap: var(--s-4); }

/* ---------- 6. Components ----------------------------------------------- */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.875rem;
  padding: 0.6rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-text);
  font-size: var(--t-base);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn--primary {
  background: var(--strand);
  color: var(--paper);
  border-color: var(--strand);
}
[data-theme="dark"] .btn--primary,
.btn--primary { color: color-mix(in srgb, var(--paper) 94%, var(--strand)); }
.btn--primary:hover { background: color-mix(in srgb, var(--strand) 86%, var(--ink)); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--outline:hover { border-color: var(--ink); background: var(--paper-sunk); }

.btn--onDark {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.btn--onDark:hover { background: var(--ink-onDark-soft); }

.btn--ghost { background: transparent; color: var(--strand); padding-inline: 0.25rem; }
.btn--ghost:hover { text-decoration: underline; text-decoration-thickness: 2px; }

.btn--block { width: 100%; }

/* Inline "read more" link with a nudging arrow */
.more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: var(--t-sm);
  color: var(--strand);
  text-decoration: none;
}
.more svg { width: 1em; height: 1em; transition: transform 0.15s ease; }
.more:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.more:hover svg { transform: translateX(3px); }

/* Chips — pills, used for ages / formats / filters */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--strand) 35%, transparent);
  background: var(--strand-tint);
  color: var(--strand);
  font-size: var(--t-xs);
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.chip--plain {
  background: var(--paper-sunk);
  border-color: var(--line);
  color: var(--ink-soft);
}
.chip svg { width: 0.95em; height: 0.95em; }

.chip-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* Filter buttons (What's On) */
.filter {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font: inherit;
  font-size: var(--t-sm);
  font-weight: 600;
  cursor: pointer;
}
.filter:hover { color: var(--ink); border-color: var(--ink-faint); }
.filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* Cards */
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover {
  border-color: color-mix(in srgb, var(--strand) 45%, var(--line));
  box-shadow: var(--shadow-md);
}
.card__top {
  display: grid;
  place-items: center;
  padding: var(--s-6) var(--s-4);
  background: var(--strand-tint);
  border-bottom: 1px solid color-mix(in srgb, var(--strand) 18%, transparent);
  color: var(--strand);
}
.card__top svg { width: 44px; height: 44px; }
.card__body { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); flex: 1; }
.card__body p { color: var(--ink-soft); font-size: var(--t-base); }
.card__body .more { margin-top: auto; }
.card h3 { font-size: var(--t-lg); }

/* Whole card clickable, keyboard-accessible via the real link inside */
.card--link { position: relative; }
.card--link .card__link::after { content: ""; position: absolute; inset: 0; }
.card--link:has(.card__link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Strand card: the four activity strands on the home page */
.strand-card { display: grid; gap: var(--s-3); }
.strand-card__key {
  width: 2.75rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--strand);
}

/* Session list — the heart of the site: what's on, when, for whom */
.sessions { display: grid; gap: var(--s-3); list-style: none; padding: 0; margin: 0; }

.session {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-4);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-left: 4px solid var(--strand);
  border-radius: var(--radius);
  position: relative;
}
.session:hover { border-color: var(--line-strong); border-left-color: var(--strand); }
.session__date {
  display: grid;
  justify-items: center;
  gap: 0.1rem;
  padding: var(--s-2) 0;
  background: var(--strand-tint);
  border-radius: var(--radius);
  color: var(--strand);
  font-variant-numeric: tabular-nums;
}
.session__dow { font-size: var(--t-xs); font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; }
.session__day { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; line-height: 1; }
.session__mon { font-size: var(--t-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.session__main { display: grid; gap: var(--s-2); min-width: 0; }
.session__main h3 { font-size: var(--t-md); }
.session__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1) var(--s-4);
  font-size: var(--t-sm);
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.session__meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.session__meta svg { width: 0.95em; height: 0.95em; flex: none; }
.session__cta { flex: none; }
.session a::after { content: ""; position: absolute; inset: 0; }
.session a { text-decoration: none; }

@media (max-width: 40rem) {
  .session { grid-template-columns: 3.75rem 1fr; }
  .session__cta { grid-column: 2; justify-self: start; }
}

/* Timetable — a real day × strand grid, scrolls on its own */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.tt {
  width: 100%;
  min-width: 38rem;
  border-collapse: collapse;
  font-size: var(--t-sm);
  font-variant-numeric: tabular-nums;
  background: var(--paper-raised);
}
table.tt caption {
  caption-side: top;
  text-align: left;
  padding: var(--s-4);
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
table.tt th, table.tt td { padding: var(--s-3) var(--s-4); text-align: left; vertical-align: top; }
table.tt thead th {
  position: sticky;
  top: 0;
  background: var(--paper-sunk);
  border-bottom: 1px solid var(--line-strong);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  white-space: nowrap;
}
table.tt tbody tr + tr th, table.tt tbody tr + tr td { border-top: 1px solid var(--line); }
table.tt tbody th { font-weight: 650; white-space: nowrap; }
table.tt tbody tr:hover td, table.tt tbody tr:hover th { background: var(--paper-sunk); }

/* Steps — numbered only because these genuinely run in order */
.steps { list-style: none; counter-reset: step; padding: 0; display: grid; gap: var(--s-5); }
.steps > li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: var(--s-4);
}
.steps > li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--strand-tint);
  color: var(--strand);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-md);
  font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: var(--t-md); margin-bottom: var(--s-1); }
.steps p { color: var(--ink-soft); font-size: var(--t-base); }

/* Spec list — materials / duration / ages, as a definition list */
.spec {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--s-3) var(--s-5);
  margin: 0;
  padding: var(--s-5);
  background: var(--paper-sunk);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: var(--t-base);
}
.spec dt {
  font-size: var(--t-xs);
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  padding-top: 0.2rem;
}
.spec dd { margin: 0; color: var(--ink); }
@media (max-width: 34rem) {
  .spec { grid-template-columns: 1fr; gap: var(--s-1); }
  .spec dd { margin-bottom: var(--s-3); }
}

/* Facts — plain, checkable numbers. Not a hero stat wall. */
.facts {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-raised);
}
.facts > div { padding: var(--s-5); border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; }
.facts dt { font-size: var(--t-sm); color: var(--ink-faint); margin-bottom: var(--s-1); }
.facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 48rem) {
  .facts > div { border-left: 0; border-top: 1px solid var(--line); }
  .facts > div:first-child { border-top: 0; }
}

/* Quotes */
.quote {
  display: grid;
  gap: var(--s-4);
  padding: var(--s-5);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.quote blockquote { font-size: var(--t-md); line-height: 1.55; }
.quote blockquote p { text-wrap: pretty; }
.quote figcaption { display: grid; gap: 0.1rem; font-size: var(--t-sm); }
.quote figcaption b { font-weight: 650; }
.quote figcaption span { color: var(--ink-faint); }

/* Callout / notice */
.note {
  display: grid;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-5);
  background: var(--strand-tint);
  border: 1px solid color-mix(in srgb, var(--strand) 30%, transparent);
  border-radius: var(--radius);
  font-size: var(--t-base);
}
.note h2, .note h3 { font-size: var(--t-md); color: var(--strand); }
.note--plain { background: var(--paper-sunk); border-color: var(--line); }
.note--plain h2, .note--plain h3 { color: var(--ink); }

/* Accordion (FAQ) */
.qa { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-raised); overflow: hidden; }
.qa + .qa { margin-top: var(--s-3); }
.qa > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--t-md);
  font-weight: 700;
  letter-spacing: -0.01em;
  list-style: none;
}
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary:hover { background: var(--paper-sunk); }
.qa > summary::after {
  content: "";
  flex: none;
  width: 0.6rem; height: 0.6rem;
  border-right: 2px solid var(--ink-faint);
  border-bottom: 2px solid var(--ink-faint);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}
.qa[open] > summary::after { transform: rotate(225deg); }
.qa__body { padding: 0 var(--s-5) var(--s-5); }
.qa__body > * + * { margin-top: var(--s-3); }
.qa__body p { color: var(--ink-soft); max-width: var(--measure); }

/* Breadcrumbs */
.crumbs { font-size: var(--t-sm); color: var(--ink-faint); padding-block: var(--s-4) 0; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line-strong); }
.crumbs a { color: var(--ink-faint); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink-soft); }

/* Page header for interior pages */
.pagehead { padding-block: var(--s-7) var(--s-6); border-bottom: 1px solid var(--line); }
.pagehead h1 { max-width: 30ch; }
.pagehead .lede { margin-top: var(--s-4); }
.pagehead .chip-row { margin-top: var(--s-5); }

/* Hero */
.hero { padding-block: var(--s-8) var(--s-8); }
.hero__grid {
  display: grid;
  gap: var(--s-8);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
}
@media (max-width: 62rem) { .hero__grid { grid-template-columns: 1fr; gap: var(--s-7); } }
.hero h1 { font-size: var(--t-4xl); max-width: 18ch; }
.hero .lede { margin-top: var(--s-5); max-width: 42ch; font-size: var(--t-lg); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero__trust { margin-top: var(--s-4); font-size: var(--t-sm); color: var(--ink-faint); }

.panel {
  background: var(--paper-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--line);
  background: var(--paper-sunk);
}
.panel__head h2 { font-size: var(--t-md); }
.panel__head p { font-size: var(--t-sm); color: var(--ink-faint); margin: 0; }
.panel__body { padding: var(--s-4) var(--s-5) var(--s-5); display: grid; gap: var(--s-3); }
.panel__foot {
  padding: var(--s-4) var(--s-5);
  border-top: 1px solid var(--line);
  background: var(--paper-sunk);
  font-size: var(--t-sm);
}

/* Compact session row used inside the hero panel */
.mini {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-4);
  align-items: baseline;
  padding-block: var(--s-3);
  position: relative;
}
.mini + .mini { border-top: 1px solid var(--line); }
.mini__when {
  font-weight: 650;
  font-size: var(--t-sm);
  color: var(--strand);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.mini__what { min-width: 0; }
.mini__what a { color: var(--ink); text-decoration: none; font-weight: 600; }
.mini__what a::after { content: ""; position: absolute; inset: 0; }
.mini__what a:hover { color: var(--strand); text-decoration: underline; }
.mini__what small { display: block; color: var(--ink-faint); }

/* Contact details block */
.contact-list { display: grid; gap: var(--s-5); list-style: none; padding: 0; margin: 0; }
.contact-list > li { display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--s-4); }
.contact-list svg { width: 1.4rem; height: 1.4rem; color: var(--strand); margin-top: 0.2rem; }
.contact-list h3 { font-size: var(--t-base); font-family: var(--font-text); font-weight: 650; }
.contact-list p, .contact-list address { color: var(--ink-soft); font-style: normal; font-size: var(--t-base); }

.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.copy-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper-sunk);
  color: var(--ink-soft);
  border-radius: var(--radius);
  font: inherit;
  font-size: var(--t-xs);
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  min-height: 2rem;
}
.copy-btn:hover { color: var(--ink); border-color: var(--line-strong); }

/* ---------- 7. Forms ----------------------------------------------------- */

.form { display: grid; gap: var(--s-4); }
.form > .btn { justify-self: start; }
.form-row {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}
.form-row > * { min-width: 0; }
.field { display: grid; gap: var(--s-2); }
.field > label { font-size: var(--t-sm); font-weight: 650; }
.field__hint { font-size: var(--t-xs); color: var(--ink-faint); }
.field__err { font-size: var(--t-sm); font-weight: 600; color: var(--stop); }
.field__err:empty { display: none; }

input[type="text"], input[type="email"], input[type="tel"], input[type="search"],
select, textarea {
  width: 100%;
  min-height: 2.875rem;
  padding: 0.6rem 0.75rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font: inherit;
  font-size: var(--t-base);
}
textarea { min-height: 8rem; resize: vertical; line-height: 1.6; }
select {
  appearance: none;
  padding-right: 2.25rem;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 1.05rem) 1.25rem, calc(100% - 0.75rem) 1.25rem;
  background-size: 0.35rem 0.35rem;
  background-repeat: no-repeat;
}
input::placeholder, textarea::placeholder { color: var(--ink-faint); opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-faint); }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] {
  border-color: var(--stop);
  box-shadow: inset 0 0 0 1px var(--stop);
}

fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
legend { font-size: var(--t-sm); font-weight: 650; padding: 0; margin-bottom: var(--s-1); }

.check { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; font-size: var(--t-sm); }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.25rem; accent-color: var(--strand); }

.req { color: var(--stop); font-weight: 700; }

/* Honeypot — hidden from people, visible to naive bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.formmsg {
  padding: var(--s-4);
  border-radius: var(--radius);
  font-size: var(--t-base);
  border: 1px solid;
}
.formmsg--ok   { background: var(--brand-tint); border-color: var(--brand); color: var(--ink); }
.formmsg--bad  { background: color-mix(in srgb, var(--stop) 12%, var(--paper)); border-color: var(--stop); color: var(--ink); }

/* ---------- 8. Utilities ------------------------------------------------- */

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.hero__trust.mt-0 { margin-top: var(--s-4); }
.mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.muted { color: var(--ink-faint); }
.tabular { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.full { grid-column: 1 / -1; }

/* ---------- 9. Motion & print -------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .more:hover svg { transform: none; }
}

@media print {
  :root { --paper: #fff; --paper-raised: #fff; --paper-sunk: #fff; --ink: #000; --ink-soft: #222; --ink-faint: #444; --line: #999; }
  .masthead, .sitefoot, .skip, .nav-toggle, .filter, .copy-btn, .hero__actions, .btn { display: none !important; }
  body { font-size: 11pt; }
  .ruled { background-image: none; }
  .ruled::after { display: none; }
  .band { padding-block: 0.5cm; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .card, .session, .panel, .qa { break-inside: avoid; border-color: #999; box-shadow: none; }
  .qa__body { display: block !important; }
}

/* ---------- 10. Additions ------------------------------------------------ */

.btn--onDarkGhost {
  background: transparent;
  color: var(--ink-onDark);
  border-color: #46506d;
}
.btn--onDarkGhost:hover { border-color: var(--ink-onDark); background: rgb(255 255 255 / 0.07); }

.cta-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.cta-grid .row { justify-content: flex-end; }
@media (max-width: 52rem) {
  .cta-grid { grid-template-columns: 1fr; }
  .cta-grid .row { justify-content: flex-start; }
}

/* Past sessions, flagged by site.js from the date in the markup */
.session[data-past="true"] .session__cta,
.mini[data-past="true"] { filter: grayscale(1); }

/* Two-column text + aside used on About and Contact */
.split {
  display: grid;
  gap: var(--s-7);
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 58rem) { .split { grid-template-columns: 1fr; gap: var(--s-6); } }

/* Map-free location block */
.where {
  display: grid;
  gap: var(--s-3);
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-left: 4px solid var(--strand);
  border-radius: var(--radius);
  background: var(--paper-raised);
}
.where address { font-style: normal; font-size: var(--t-md); line-height: 1.5; }
.where ul { list-style: none; padding: 0; display: grid; gap: var(--s-2); font-size: var(--t-sm); color: var(--ink-soft); }
.where li { display: grid; grid-template-columns: 1.3rem 1fr; gap: var(--s-2); }
.where li svg { width: 1rem; height: 1rem; margin-top: 0.3rem; color: var(--strand); }

/* People / role list */
.roles { display: grid; gap: var(--s-4); list-style: none; padding: 0; }
.roles li {
  display: grid;
  gap: var(--s-1);
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-raised);
}
.roles b { font-size: var(--t-md); }
.roles span { color: var(--ink-soft); font-size: var(--t-base); }
