/* ==========================================================================
   SeminarPartner — design system

   The palette comes from the SeminarPartner logo itself: the two values below
   were sampled from the artwork rather than converted from its CMYK spec,
   because the naive conversion lands far too bright (#6699FF / #2605FF).
     Blue   #6C8CC8  — the S, and "Seminar"
     Purple #503494  — the P, and "Partner"
   Purple leads (buttons, links, accents); blue supports. There is no black
   anywhere: body text and dark panels are built from the purple instead.
   No web fonts by design — every external request would need cookie consent.
   ========================================================================== */

:root {
  /* Text — very dark purple-grey, reads as near-black but stays in family. */
  --ink: #2a2438;
  --ink-soft: #4e4661;
  --ink-mute: #736c85;

  /* Primary accent. */
  --accent: #503494;
  --accent-dark: #3e2775;
  --accent-tint: #f0ecfa;

  /* Secondary accent. --blue-deep is the readable variant: plain --blue on
     white is only ~3:1 and fails contrast for anything but large display type. */
  --blue: #6c8cc8;
  --blue-deep: #4a6ba8;
  --blue-light: #a9c2ec;

  /* Filled dark panels: quote band, newsletter, footer, cookie bar. */
  --deep: #3a2470;
  --on-deep: #efecf8;
  --on-deep-mute: #bdb4d8;

  --paper: #ffffff;
  --sand: #f6f5fa;
  --sand-deep: #eae7f3;
  --line: #dedbe8;
  --focus: #1d4ed8;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.25rem + 0.9vw, 1.95rem);
  --step-3: clamp(1.8rem, 1.4rem + 1.7vw, 2.75rem);
  --step-4: clamp(2.2rem, 1.5rem + 2.9vw, 3.9rem);

  --gap: clamp(1rem, 0.7rem + 1.4vw, 1.75rem);
  --section: clamp(3.5rem, 2.2rem + 5vw, 7rem);
  --wrap: 1180px;
  --measure: 68ch;
  --radius: 3px;
  --shadow: 0 1px 2px rgba(42, 36, 56, 0.06), 0 8px 24px rgba(42, 36, 56, 0.09);
}

/* --- reset ------------------------------------------------------------- */

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

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.14;
  letter-spacing: -0.021em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p, ul, ol { margin: 0 0 1.15em; }
p { text-wrap: pretty; }
:is(h1, h2, h3, h4) + p { margin-top: -0.25em; }

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-dark); }

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

/* --- layout ------------------------------------------------------------ */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.wrap--narrow { width: min(100% - 2.5rem, 760px); }

.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--deep); color: var(--on-deep); }
.section--ink :is(h1, h2, h3) { color: #fff; }
.section--ink a { color: var(--blue-light); }

.prose { max-width: var(--measure); }
.prose > :last-child { margin-bottom: 0; }

.stack > * + * { margin-top: var(--gap); }

.grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
}
/* Genuinely two columns — auto-fit gave three at desktop width and left a
   fourth card stranded alone on the second row. */
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .grid--2 { grid-template-columns: 1fr; } }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); }

.eyebrow {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 56ch;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* --- buttons ----------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.8em 1.6em;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }

.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.section--ink .btn--ghost { color: #fff; }
.section--ink .btn--ghost:hover { background: #fff; color: var(--deep); }

.btn--small { padding: 0.55em 1.1em; font-size: var(--step--1); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* --- header ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 5rem;
}

.brand { margin-right: auto; display: flex; align-items: center; }
.brand img { height: 3.6rem; width: auto; }

.nav { display: flex; align-items: center; gap: 0.25rem; }

.nav__link {
  display: block;
  padding: 0.55rem 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
  font-size: var(--step--1);
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  white-space: nowrap;
}
.nav__link:hover { color: var(--accent); background: var(--sand); }
.nav__link[aria-current="page"] { color: var(--accent); }

.nav__group { position: relative; }

.nav__toggle {
  display: flex;
  align-items: center;
  gap: 0.3em;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 550;
  font-size: var(--step--1);
  color: var(--ink);
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
}
.nav__toggle:hover { color: var(--accent); background: var(--sand); }
.nav__toggle::after {
  content: "";
  width: 0.4em; height: 0.4em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.15em) rotate(45deg);
  transition: transform 0.15s ease;
}
.nav__toggle[aria-expanded="true"]::after { transform: translateY(0.1em) rotate(-135deg); }

.nav__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 15rem;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.nav__menu[hidden] { display: none; }
/* Invisible bridge across the gap to the label above. Without it, the pointer
   crosses dead space on its way to the menu and the hover is lost. */
.nav__menu::before {
  content: "";
  position: absolute;
  top: -0.6rem;
  left: 0;
  right: 0;
  height: 0.6rem;
}
.nav__menu a {
  display: block;
  padding: 0.6rem 0.75rem;
  color: var(--ink);
  text-decoration: none;
  font-size: var(--step--1);
  border-radius: var(--radius);
}
.nav__menu a:hover { background: var(--sand); color: var(--accent); }

.lang {
  display: flex;
  gap: 0.15rem;
  align-items: center;
  padding-left: 0.5rem;
  border-left: 1px solid var(--line);
}
.lang a, .lang span {
  padding: 0.3rem 0.45rem;
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-mute);
  border-radius: 2px;
}
.lang a:hover { color: var(--accent); background: var(--sand); }
.lang [aria-current="true"] { color: var(--ink); background: var(--sand-deep); }
.lang .is-draft { opacity: 0.55; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.5rem 0.7rem;
  font: inherit;
  font-size: var(--step--1);
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; order: 3; }
  .site-header__inner { flex-wrap: wrap; }
  .nav {
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 1rem;
    border-top: 1px solid var(--line);
    margin-top: 0.25rem;
    padding-top: 0.5rem;
  }
  .nav[hidden] { display: none; }
  .nav__link, .nav__toggle { padding: 0.7rem 0.5rem; width: 100%; font-size: var(--step-0); }
  .nav__menu {
    position: static;
    border: 0;
    box-shadow: none;
    padding: 0 0 0.5rem 1rem;
    min-width: 0;
  }
}

/* --- hero -------------------------------------------------------------- */

.hero { padding-block: clamp(2.5rem, 1rem + 6vw, 5.5rem); }

.hero__grid {
  display: grid;
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
}

.hero__figure { position: relative; }
.hero__figure img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

/* Stacked hero: words first, then one wide photograph of the people we work
   with. Used on the home page. */
/* Constrain the headline itself — a ch limit on the wrapper would be measured
   against the body font size, not the display size, and come out far too narrow. */
.hero--stacked h1 {
  max-width: min(100%, 52rem);
  margin-bottom: 0.35em;
}
.hero--stacked .lede { max-width: 58ch; }

.hero__wide {
  margin: clamp(2rem, 1.2rem + 3vw, 3.5rem) 0 0;
}
.hero__wide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius);
}
.hero__wide figcaption {
  margin-top: 0.85rem;
  font-size: var(--step--1);
  color: var(--ink-mute);
}

@media (max-width: 700px) {
  .hero--stacked .hero__text { max-width: none; }
  .hero__wide img { aspect-ratio: 4 / 3; }
}

.page-hero {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 0;
}
.page-hero__img {
  margin-top: clamp(2rem, 1rem + 3vw, 3.5rem);
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

/* --- stats ------------------------------------------------------------- */

.stats {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr));
}
.stat {
  background: var(--paper);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem) 1.25rem;
  text-align: center;
}
.stat__value {
  display: block;
  font-size: var(--step-3);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--blue-deep);
  line-height: 1;
}
.stat__label {
  display: block;
  margin-top: 0.5rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}

/* --- cards ------------------------------------------------------------- */

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { border-color: #bfb8d6; box-shadow: var(--shadow); }
.card__media {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  background: var(--sand-deep);
}
.card__body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.card__body > :last-child { margin-bottom: 0; margin-top: auto; padding-top: 0.75rem; }
.card h3 { font-size: var(--step-1); }
.card p { color: var(--ink-soft); font-size: var(--step--1); line-height: 1.6; }

.card__link { text-decoration: none; color: inherit; }
.card__link:hover h3 { color: var(--accent); }

.link-arrow {
  font-weight: 600;
  font-size: var(--step--1);
  text-decoration: none;
}
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { text-decoration: underline; }

/* --- logos ------------------------------------------------------------- */

.logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: center;
}
.logo-strip img {
  width: 100%;
  max-height: 3.25rem;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.68;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.logo-strip img:hover { filter: grayscale(0); opacity: 1; }

/* --- quote ------------------------------------------------------------- */

.quote {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}
.quote blockquote {
  margin: 0 0 1.5rem;
  font-size: var(--step-2);
  line-height: 1.4;
  letter-spacing: -0.015em;
  font-weight: 500;
}
.quote figcaption { font-size: var(--step--1); color: var(--ink-mute); }
.quote figcaption strong { display: block; color: var(--ink); font-size: var(--step-0); }
.section--ink .quote figcaption { color: var(--on-deep-mute); }
.section--ink .quote figcaption strong { color: #fff; }

/* --- team -------------------------------------------------------------- */

.team-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr));
}

.member {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  text-align: left;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.member:hover { border-color: #bfb8d6; box-shadow: var(--shadow); }
.member__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 22%;
  background: var(--sand-deep);
}
.member__body { padding: 1.1rem 1.2rem 1.3rem; }
.member__name { font-size: var(--step-1); margin-bottom: 0.25rem; }
.member__role {
  font-size: var(--step--1);
  color: var(--ink-mute);
  line-height: 1.45;
  margin: 0;
}

dialog.member-dialog {
  width: min(100% - 2rem, 46rem);
  max-height: 88vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(42, 36, 56, 0.3);
}
dialog::backdrop { background: rgba(42, 36, 56, 0.6); }
.member-dialog__inner { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.member-dialog__close {
  position: sticky;
  top: 0;
  float: right;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 2.25rem; height: 2.25rem;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.member-dialog h3 { margin-bottom: 0.15rem; }
.member-dialog__role { color: var(--accent); font-weight: 600; margin-bottom: 1.5rem; }
.member-dialog dt {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.35rem;
}
.member-dialog dd { margin: 0 0 1.4rem; }
.member-dialog dd ul { margin: 0; padding-left: 1.1rem; }

/* --- blog -------------------------------------------------------------- */

.post-meta {
  font-size: var(--step--1);
  color: var(--ink-mute);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25em 0.6em;
  border-radius: 2px;
  background: var(--accent-tint);
  color: var(--accent-dark);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--gap);
}
.filter-btn {
  font: inherit;
  font-size: var(--step--1);
  font-weight: 600;
  padding: 0.5em 1em;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 100px;
  cursor: pointer;
}
.filter-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.article-body {
  max-width: var(--measure);
  font-size: var(--step-1);
  line-height: 1.72;
}
.article-body p { margin-bottom: 1.3em; }
.article-body ol, .article-body ul { padding-left: 1.4em; margin-bottom: 1.3em; }
.article-body li { margin-bottom: 0.4em; }
.article-body .pull {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin: 2rem 0;
}
.article-body .note {
  font-size: var(--step-0);
  color: var(--ink-mute);
  background: var(--sand);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
}

/* --- forms ------------------------------------------------------------- */

.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-size: var(--step--1);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #c9c4d8;
  border-radius: var(--radius);
}
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { min-height: 9rem; resize: vertical; }
.field--check { display: flex; gap: 0.6rem; align-items: flex-start; }
.field--check input { width: auto; margin-top: 0.3rem; flex: none; }
.field--check label { font-weight: 400; font-size: var(--step--1); line-height: 1.5; }
.field__hint { font-size: var(--step--1); color: var(--ink-mute); margin-top: 0.3rem; }

/* --- footer ------------------------------------------------------------ */

.site-footer {
  background: var(--deep);
  color: var(--on-deep-mute);
  padding-block: var(--section) 2.5rem;
  font-size: var(--step--1);
}
.site-footer h2 {
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.site-footer a { color: #ddd8ec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55rem; }
/* Explicit tracks, not auto-fit: a repeat(auto-fit, …) cannot legally follow a
   flexible track, and the whole declaration would be dropped. */
.site-footer__grid {
  display: grid;
  gap: var(--gap) clamp(1rem, 0.5rem + 2vw, 3rem);
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
}

@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}
.site-footer__bottom {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: #a79ec6;
}
.site-footer__logo {
  height: 2.75rem;
  width: auto;
  margin-bottom: 1rem;
  /* The logo artwork is dark on transparent; lift it off the charcoal footer. */
  background: #fff;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius);
}

/* --- consent interface --------------------------------------------------- */

.cookie {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 150;
  background: var(--deep);
  color: var(--on-deep);
  padding: 1.5rem 1.25rem;
  box-shadow: 0 -4px 24px rgba(42, 36, 56, 0.28);
  max-height: 85vh;
  overflow-y: auto;
}
.cookie[hidden] { display: none; }
.cookie__title {
  font-size: var(--step-1);
  color: #fff;
  margin-bottom: 0.5rem;
}
.cookie__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  justify-content: space-between;
}
.cookie p { margin: 0; font-size: var(--step--1); max-width: 62ch; }
.cookie a { color: var(--blue-light); }

.cookie__actions { flex: none; }

/* All three first-layer buttons share one visual weight. Making "reject"
   quieter than "accept" would be a dark pattern. */
.btn--consent {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  min-width: 9.5rem;
}
.btn--consent:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn--consent-primary { background: #fff; border-color: #fff; color: var(--deep); }
.btn--consent-primary:hover { background: var(--sand-deep); color: var(--deep); }

.cookie__settings[hidden] { display: none; }
.consent-cat {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.consent-cat__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.35rem;
  cursor: pointer;
}
.consent-cat__head input { width: 1.05rem; height: 1.05rem; }
.consent-cat__head input:disabled { cursor: not-allowed; }
.consent-cat p { color: var(--on-deep-mute); }

.footer-link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #ddd8ec;
  cursor: pointer;
  text-decoration: none;
}
.footer-link-btn:hover { color: #fff; text-decoration: underline; }

@media (max-width: 720px) {
  .cookie__actions { width: 100%; }
  .btn--consent { flex: 1 1 auto; }
}

/* --- embeds ------------------------------------------------------------ */

.embed-gate {
  border: 1px dashed #c9c4d8;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  text-align: center;
  background: var(--sand);
}
.embed-gate p { max-width: 46ch; margin-inline: auto; color: var(--ink-soft); }

.embed-frame { width: 100%; min-height: 46rem; border: 0; }

/* --- print ------------------------------------------------------------- */

@media print {
  .site-header, .site-footer, .cookie, .btn { display: none !important; }
  body { font-size: 11pt; }
}

/* Two-paragraph testimonial: the second line is supporting, not headline. */
.quote blockquote p { margin: 0 0 1rem; }
.quote blockquote p:last-child { margin-bottom: 0; }
.quote .quote__second {
  font-size: var(--step-1);
  color: var(--on-deep-mute);
  font-weight: 400;
}

/* --- check lists --------------------------------------------------------- */

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.9rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.55em;
  width: 0.62rem;
  height: 0.34rem;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}
/* Neutral variant for factual lists (format, logistics) — a tick would imply
   a benefit where these are just statements. */
.check-list--plain li::before {
  border: 0;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: var(--blue-deep);
  transform: none;
  top: 0.68em;
}

/* --- legal documents ----------------------------------------------------- */

.legal-doc { font-size: var(--step-0); }
.legal-doc h2 {
  font-size: var(--step-2);
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.legal-doc h2:first-of-type { border-top: 0; padding-top: 0; }
.legal-doc h3 { font-size: var(--step-1); margin-top: 2rem; }
.legal-doc h4 { font-size: var(--step-0); margin-top: 1.5rem; }
.legal-doc p, .legal-doc li { color: var(--ink-soft); }
.legal-doc ul, .legal-doc ol { padding-left: 1.35rem; }
.legal-doc li { margin-bottom: 0.4rem; }
.legal-doc blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: var(--sand);
  border-left: 3px solid var(--accent);
  border-radius: 0;
}
.legal-doc blockquote p:last-child { margin-bottom: 0; }
.legal-doc strong { color: var(--ink); }

/* --- team cards ---------------------------------------------------------- */

.member__body { display: block; padding: 1.1rem 1.2rem 1.3rem; }
.member__name { display: block; font-size: var(--step-1); font-weight: 700; line-height: 1.2; }
.member__role {
  display: block;
  margin-top: 0.3rem;
  font-size: var(--step--1);
  color: var(--ink-mute);
  line-height: 1.45;
}
.member__more {
  display: block;
  margin-top: 0.9rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--accent);
}
.member__more::after { content: " \2192"; }
.member:hover .member__more { text-decoration: underline; }

.member-dialog__photo {
  float: right;
  width: 8.5rem;
  margin: 0 0 1rem 1.5rem;
  border-radius: var(--radius);
}
@media (max-width: 560px) {
  .member-dialog__photo { float: none; width: 7rem; margin: 0 0 1rem; }
}

.filters-empty { color: var(--ink-mute); margin-top: 2rem; }
.filters-empty[hidden] { display: none; }
.post-meta a { font-weight: 600; text-decoration: none; }
.post-meta a::before { content: "\2190  "; }
.post-meta a:hover { text-decoration: underline; }

/* --- purpose & values ---------------------------------------------------- */

/* The two statements are the point of the page, so they get display size
   rather than being buried in body copy. */
.statement {
  max-width: 34ch;
  padding: clamp(1.75rem, 1rem + 3vw, 3rem) 0;
  border-top: 2px solid var(--accent);
}
.statement--alt { border-top-color: var(--blue-deep); }
.statement__label {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.9rem;
}
.statement__text {
  font-size: var(--step-2);
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 500;
  margin: 0;
}

@media (min-width: 900px) {
  .statement { max-width: 46ch; }
}

.values {
  list-style: none;
  counter-reset: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
}
.value {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.value__num {
  display: block;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.value h3 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.value p { color: var(--ink-soft); font-size: var(--step--1); margin: 0; line-height: 1.6; }

/* --- contact ------------------------------------------------------------- */

.contact-grid {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  grid-template-columns: 1.35fr 1fr;
  align-items: start;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-form { max-width: 34rem; }

/* Hidden from people without being hidden from bots — display:none would be
   skipped by many scripts, which defeats the point of a honeypot. */
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field__error {
  margin: 0.35rem 0 0;
  font-size: var(--step--1);
  color: #a3231b;
  font-weight: 500;
}
.field__error[hidden] { display: none; }

.form-status {
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  font-size: var(--step--1);
}
.form-status[hidden] { display: none; }
.form-status--ok { background: #eaf5ee; color: #1c5c33; border-left: 3px solid #1c5c33; }
.form-status--error { background: #fbeceb; color: #a3231b; border-left: 3px solid #a3231b; }

.contact-details {
  background: var(--sand);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
}
.contact-details__label {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 1.75rem 0 0.4rem;
}
.contact-details__label:first-of-type { margin-top: 1.25rem; }
.contact-details address { font-style: normal; color: var(--ink-soft); }
.contact-details p { color: var(--ink-soft); font-size: var(--step--1); }
.contact-details__note {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-mute) !important;
}

/* --- clients & links ----------------------------------------------------- */

.logo-strip--large {
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
}
.logo-strip--large img { max-height: 4.5rem; }

.link-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.link-list li { margin-bottom: 0.75rem; }
.link-list a {
  font-weight: 600;
  text-decoration: none;
  font-size: var(--step-0);
}
.link-list a::after { content: " \2197"; font-weight: 400; }
.link-list a:hover { text-decoration: underline; }

/* --- readiness check ----------------------------------------------------- */

.readiness {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 3vw, 3rem);
  background: var(--paper);
  min-height: 26rem;
}

.readiness__progress { margin-bottom: 2rem; }
.readiness__progress[hidden] { display: none; }
.readiness__track {
  height: 4px;
  background: var(--sand-deep);
  border-radius: 100px;
  overflow: hidden;
}
.readiness__bar {
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 100px;
  transition: width 0.25s ease;
}
.readiness__count {
  margin: 0.75rem 0 0;
  font-size: var(--step--1);
  color: var(--ink-mute);
}

.readiness__intro {
  color: var(--ink-soft);
  border-left: 3px solid var(--blue-deep);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}
.readiness h2 { font-size: var(--step-2); outline: none; }

.answers { list-style: none; padding: 0; margin: 2rem 0 1.5rem; }
.answers li { margin-bottom: 0.6rem; }

.answer {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  padding: 1rem 1.15rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.12s ease, background-color 0.12s ease;
}
.answer:hover { border-color: var(--accent); background: var(--accent-tint); }
.answer.is-selected {
  border-color: var(--accent);
  background: var(--accent-tint);
  font-weight: 500;
}

.readiness__privacy,
.readiness__note {
  font-size: var(--step--1);
  color: var(--ink-mute);
  max-width: 60ch;
}
.readiness__privacy { margin-bottom: 1.75rem; }
.readiness__note { margin-top: 1.5rem; }

.readiness__topic,
.readiness__recommend {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--ink-soft);
}
.readiness__recommend { font-weight: 600; color: var(--ink); }

.readiness__restart { margin-top: 2.5rem; font-size: var(--step--1); color: var(--ink-mute); }

.link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
}
.link-button:hover { color: var(--accent-dark); }

.readiness__advice {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--sand);
  border-left: 3px solid var(--blue-deep);
  border-radius: 0;
  font-size: var(--step--1);
  color: var(--ink-soft);
  max-width: 62ch;
}

/* --- signup card --------------------------------------------------------- */

.signup-card {
  background: var(--sand);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
}
.signup-card p { color: var(--ink-soft); }
.signup-form { margin-top: 1.5rem; }
.signup-card__note {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--ink-mute) !important;
}

/* --- books & recommendations --------------------------------------------- */

.featured-book {
  display: grid;
  grid-template-columns: minmax(0, 200px) 1fr;
  gap: clamp(1.5rem, 1rem + 3vw, 3rem);
  align-items: center;
  background: var(--sand);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.featured-book img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.featured-book__sub { color: var(--ink-mute); margin-bottom: 1rem; }
@media (max-width: 640px) {
  .featured-book { grid-template-columns: 1fr; }
  .featured-book img { max-width: 12rem; }
}

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: baseline;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.jump-nav__label {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-right: 0.5rem;
}
.jump-nav a {
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink);
}
.jump-nav a:hover { border-color: var(--accent); color: var(--accent); }

.catalog { scroll-margin-top: 6rem; }
.catalog__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  margin-top: 2rem;
}
@media (max-width: 760px) { .catalog__grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.catalog__label {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1rem;
}

.book-list, .talk-list { list-style: none; padding: 0; margin: 0; }
.book-list li, .talk-list li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}
.book-list li:first-child, .talk-list li:first-child { border-top: 0; }
.book-list a, .talk-list a {
  font-weight: 600;
  text-decoration: none;
  display: inline;
}
.book-list a:hover, .talk-list a:hover { text-decoration: underline; }
.book-list__author, .talk-list__speaker {
  display: block;
  font-size: var(--step--1);
  color: var(--ink-mute);
  margin-top: 0.15rem;
}
.book-list__featured a { color: var(--accent); }
.book-list__featured a::after {
  content: "★";
  font-size: 0.8em;
  margin-left: 0.4em;
  color: var(--accent);
}

/* --- music streaming links (per block) ----------------------------------- */

.music-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
  margin: 1rem 0 0 !important;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.music-links__label {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.music-links a {
  font-weight: 600;
  font-size: var(--step--1);
  text-decoration: none;
}
.music-links a::after { content: " \2197"; font-weight: 400; }
.music-links a:hover { text-decoration: underline; }

/* --- book music video ---------------------------------------------------- */

.video-embed { margin: 2rem 0; }
/* The shared embed frame is tall for the booking calendar; a video is 16:9. */
.video-embed .embed-frame {
  min-height: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
}

.video-arcs {
  list-style: none;
  counter-reset: arc;
  padding: 0;
  margin: 2.5rem 0 0;
}
.video-arcs li {
  counter-increment: arc;
  position: relative;
  padding-left: 2.75rem;
  margin-bottom: 1.75rem;
}
.video-arcs li::before {
  content: counter(arc);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.9rem;
  height: 1.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: var(--step--1);
  border-radius: 50%;
}
.video-arcs h3 { font-size: var(--step-1); margin-bottom: 0.35rem; }
.video-arcs__sub {
  font-weight: 400;
  font-size: var(--step--1);
  color: var(--ink-mute);
}
.video-arcs p { color: var(--ink-soft); margin-bottom: 0; }
.video-arcs__note {
  margin-top: 0.6rem !important;
  font-size: var(--step--1);
  color: var(--ink-mute) !important;
  border-left: 2px solid var(--line);
  padding-left: 0.9rem;
}

/* --- book covers (catalog) ----------------------------------------------- */

.book-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.book-list__cover {
  flex: none;
  width: 46px;
  height: 69px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(42, 36, 56, 0.18);
  background: var(--sand-deep);
}
/* No cover yet: a quiet spine-like tile, so the row stays aligned and the
   gaps read as intentional rather than broken. Swapping in a real image
   later needs only the file — the template picks it up automatically. */
.book-list__cover--placeholder {
  display: block;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue-deep);
  background: var(--sand);
  box-shadow: none;
}
.book-list__meta { min-width: 0; }

/* --- full-bleed hero with text on the image ------------------------------ */

.hero-overlay { position: relative; isolation: isolate; }
.hero-overlay__img {
  width: 100%;
  height: clamp(30rem, 66vh, 46rem);
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
/* A light wash lifts the dark-purple text off the bright sky, strongest on
   the left where the text sits and fading out over the skydivers. */
.hero-overlay__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246,245,250,0.92) 0%, rgba(246,245,250,0.6) 42%, rgba(246,245,250,0) 72%);
}
.hero-overlay__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.hero-overlay__text { max-width: 38rem; }

/* Dark purple fill with a light-blue outline, in the brand colours. */
.hero-overlay__title {
  color: var(--deep);
  -webkit-text-stroke: 1.4px var(--blue-light);
  paint-order: stroke fill;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.55);
  margin-bottom: 0.5em;
}
.hero-overlay__eyebrow { color: var(--accent); }
.hero-overlay__lede { color: var(--ink); font-weight: 500; max-width: 34ch; }

/* A ghost button on a photo needs a solid backing to stay legible. */
.btn--on-image {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--deep);
  color: var(--deep);
}
.btn--on-image:hover { background: var(--deep); border-color: var(--deep); color: #fff; }

@media (max-width: 700px) {
  .hero-overlay__img { height: 34rem; object-position: center 30%; }
  /* Stronger, more even wash on small screens where text covers more of it. */
  .hero-overlay__scrim {
    background: linear-gradient(180deg, rgba(246,245,250,0.9) 0%, rgba(246,245,250,0.7) 55%, rgba(246,245,250,0.4) 100%);
  }
  .hero-overlay__title { -webkit-text-stroke-width: 1px; }
}

/* Compact variant of the overlay hero, for interior pages like Contact. */
.hero-overlay--compact .hero-overlay__img { height: clamp(22rem, 42vh, 30rem); }
@media (max-width: 700px) {
  .hero-overlay--compact .hero-overlay__img { height: 24rem; }
}
