/* ==========================================================================
   Equus Physio Care — main.css
   Vanilla CSS. Mobile-first: base styles = the 390 artboard,
   the 1440 artboard is reached by fluid interpolation + two breakpoints.

   Breakpoints
     900px   layout switch  — stacked lists become the desktop grids
     1200px  header switch  — burger becomes the full horizontal nav
   ========================================================================== */

/* 1 — FONTS ================================================================
   Self-hosted variable subsets. The browser fetches latin-ext only if a
   glyph in that range actually appears, so the usual cost is latin only. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/newsreader-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/newsreader-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/newsreader-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/newsreader-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* 2 — TOKENS ============================================================== */

:root {
  /* Colour — the whole palette. Nothing outside this list. */
  --c-bg:      #FFFFFF;
  --c-ink:     #111111;
  --c-body:    #545454;
  --c-muted:   #6E6E6E;
  --c-rule:    #E4E4E4;
  --c-accent:  #8A5E1E;

  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-ui: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Fluid ramps. Each interpolates linearly from the 390 artboard value
     to the 1440 one, then holds. Anchors noted as  mobile -> desktop. */

  --pad:          clamp(20px,   6.4762vw -  5.257px,  88px);  /*  20 ->  88 */
  --maxw:         1440px;

  --fs-xl:        clamp(44px,   4.5714vw + 26.171px,  92px);  /*  44 ->  92 */
  --fs-hero-home: clamp(44px,   1.3333vw + 38.800px,  58px);  /*  44 ->  58 */
  --fs-hero-oc:   clamp(40px,   3.2381vw + 27.371px,  74px);  /*  40 ->  74 */
  --fs-l:         clamp(30px,   1.5238vw + 24.057px,  46px);  /*  30 ->  46 */
  --fs-m:         clamp(22px,   0.4762vw + 20.143px,  27px);  /*  22 ->  27 */
  --fs-m-tight:   clamp(19px,   0.7619vw + 16.029px,  27px);  /*  19 ->  27 */
  --fs-body:      clamp(15.5px, 0.0476vw + 15.314px,  16px);  /* 15.5 -> 16 */
  --fs-s:         13.5px;
  --fs-caption:   11.5px;
  --fs-eyebrow:   10.5px;

  --sec-top:      clamp(40px,   6.0952vw + 16.229px, 104px);  /*  40 -> 104 */
  --sec-lg:       clamp(48px,   6.0952vw + 24.229px, 112px);  /*  48 -> 112 */
  --sec-md:       clamp(40px,   4.5714vw + 22.171px,  88px);  /*  40 ->  88 */
  --sec-sm:       clamp(24px,   1.5238vw + 18.057px,  40px);  /*  24 ->  40 */

  --header-h:     64px;
  --nav-gap:      clamp(18px, 2.36vw, 34px);

  --measure:      620px;   /* body-copy line length */
}

@media (min-width: 1200px) {
  :root { --header-h: 96px; }
}


/* 3 — RESET =============================================================== */

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

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

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-body);
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

a { color: inherit; text-decoration: none; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
  margin: 0;
}

/* Never scroll the page sideways — wide content scrolls inside its own box. */
body { overflow-x: hidden; }


/* 4 — LAYOUT ============================================================== */

/* Full-bleed background/rule, capped inner column.
   Above 1440 the content letterboxes on white, as designed. */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Ghost renders bleed across the full artboard, not the padded column. */
.bleed {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
}

.section      { margin-top: var(--sec-lg); }
.section--md  { margin-top: var(--sec-md); }

/* A section that opens on a rule, with the design's 40px gap below it. */
.section-rule       { border-top: 1px solid var(--c-rule); padding-top: var(--sec-sm); }
.section-rule--major{ border-top: 1px solid var(--c-ink);  padding-top: var(--sec-sm); }

.stack > * + * { margin-top: var(--flow, 24px); }


/* 5 — TYPOGRAPHY ========================================================== */

.eyebrow {
  font-family: var(--font-ui);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.eyebrow--muted { color: var(--c-muted); }
.eyebrow--ink   { color: var(--c-ink); }

.display-xl, .display-l, .display-m {
  font-family: var(--font-display);
  font-weight: 300;
  font-optical-sizing: auto;
  color: var(--c-ink);
  text-wrap: pretty;
}

.display-xl {
  font-size: var(--fs-xl);
  line-height: 1.03;
  letter-spacing: -0.023em;
}
.display-l {
  font-size: var(--fs-l);
  line-height: 1.14;
  letter-spacing: -0.016em;
}
.display-m {
  font-size: var(--fs-m);
  line-height: 1.32;
}
.display-m--tight { font-size: var(--fs-m-tight); line-height: 1.34; }

@media (min-width: 900px) {
  .display-xl { line-height: 1.0;  letter-spacing: -0.025em; }
  .display-l  { line-height: 1.1;  letter-spacing: -0.018em; }
}

.lead, .prose p {
  font-size: var(--fs-body);
  line-height: 1.68;
  color: var(--c-body);
}
.prose > * + * { margin-top: 20px; }
.measure { max-width: var(--measure); }

/* Line breaks the desktop artboard sets by hand. */
.br-lg { display: none; }
@media (min-width: 900px) { .br-lg { display: inline; } }

.text-s       { font-size: var(--fs-s); line-height: 1.6; }
.text-caption { font-size: var(--fs-caption); line-height: 1.6; color: var(--c-muted); }
.text-muted   { color: var(--c-muted); }
.text-ink     { color: var(--c-ink); }
.accent       { color: var(--c-accent); }

em, .italic { font-style: italic; }


/* 6 — BUTTONS & LINKS ===================================================== */

.btn {
  display: inline-block;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  transition: background-color 140ms linear, color 140ms linear;
}

.btn--primary {
  background: var(--c-ink);
  color: var(--c-bg);
  font-size: 12.5px;
  padding: 17px 36px;
}
.btn--primary:hover,
.btn--primary:focus-visible { background: var(--c-accent); }

.btn--secondary {
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-ink);
  font-size: 11.5px;
  padding: 15px 30px;
}
.btn--secondary:hover,
.btn--secondary:focus-visible { background: var(--c-ink); color: var(--c-bg); }

/* Compact secondary — guest-lecture and partner rows. */
.btn--compact { font-size: 11px; padding: 13px 24px; }

.btn--block { display: block; width: 100%; padding-inline: 0; }

/* Full width while the column is narrow, inline once the desktop grid gives
   it room. */
.btn--block-sm { display: block; width: 100%; padding-inline: 0; }
@media (min-width: 900px) {
  .btn--block-sm { display: inline-block; width: auto; padding-inline: 36px; }
}

/* Tertiary: body-size text on a hairline. */
.link-rule {
  display: inline-block;
  font-size: var(--fs-s);
  line-height: 1.6;
  color: var(--c-body);
  border-bottom: 1px solid var(--c-rule);
  padding-bottom: 2px;
  transition: color 140ms linear, border-color 140ms linear;
}
.link-rule:hover,
.link-rule:focus-visible { color: var(--c-ink); border-bottom-color: var(--c-ink); }

button.link-rule {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-rule);
  border-radius: 0;
  padding: 0 0 2px;
  cursor: pointer;
  font-family: var(--font-ui);
}


/* 7 — HEADER & NAVIGATION ================================================= */

.site-header {
  position: relative;
  z-index: 60;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-rule);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand__mark {
  height: 30px;
  width: auto;
  position: relative;
  top: -3px;
}
.brand__word {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 10.5px;
  line-height: 1.05;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink);
  max-width: 100px;
}
.brand__word em {
  display: block;
  font-style: italic;
  font-size: 1.33em;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--c-accent);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Desktop nav — hidden until 1200px, where all six labels plus the CTA fit. */
.nav { display: none; }
.nav__link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--c-body);
  padding-top: 4px;
  padding-bottom: 3px;
  /* transparent rule on every item keeps optical centring identical */
  border-bottom: 1px solid transparent;
  transition: color 140ms linear;
}
.nav__link:hover,
.nav__link:focus-visible { color: var(--c-ink); }
.nav__link[aria-current="page"] {
  color: var(--c-ink);
  border-bottom-color: var(--c-accent);
}

/* Header CTA is a reduced variant of the primary button. */
.site-header .btn--primary { font-size: 11.5px; padding: 15px 26px; }

/* Burger */
.burger {
  width: 44px;
  height: 44px;
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.burger__bar {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--c-ink);
}
.burger__label {
  display: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink);
}

/* Header CTA appears alongside the burger from 700px up; below that the
   sticky bar (or the panel) carries the action. */
.site-header__cta { display: none; }
@media (min-width: 700px) { .site-header__cta { display: inline-block; } }

@media (min-width: 1200px) {
  .nav { display: flex; align-items: center; gap: var(--nav-gap); }
  .burger { display: none; }
  .site-header__actions { gap: var(--nav-gap); }
  .brand { gap: 14px; position: relative; top: 4px; }
  .brand__mark { height: 38px; top: -4px; }
  .brand__word { font-size: 11.4px; max-width: 108px; }
}

/* Mobile nav panel */
.nav-panel {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--c-bg);
  padding: 24px var(--pad) 0;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}
[data-nav-open] .nav-panel { display: flex; }
/* The header is static in normal flow; it pins only while the panel is open,
   so the panel always meets it instead of floating mid-page. */
[data-nav-open] .site-header { position: fixed; top: 0; left: 0; right: 0; }
[data-nav-open] .burger__bar { display: none; }
[data-nav-open] .burger__label { display: block; }
[data-nav-open] .burger { flex-direction: row; align-items: center; }
[data-nav-open] body { overflow: hidden; }

.nav-panel__link {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 32px;
  line-height: 1.2;
  color: var(--c-ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--c-rule);
}
.nav-panel__link[aria-current="page"] { color: var(--c-accent); }
.nav-panel__foot {
  margin-top: auto;
  padding: 32px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.nav-panel__foot a[href^="mailto"] { font-size: var(--fs-s); color: var(--c-body); }


/* 8 — FOOTER ============================================================== */

/* The two rules that frame the page — under the header and over the footer —
   run the full width of the screen. Every other rule is capped by .wrap at
   1440 and centred. */
.site-footer {
  border-top: 1px solid var(--c-rule);
  margin-top: 56px;
  background: var(--c-bg);
}
.site-footer__inner {
  padding-block: 40px 28px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand__mark { height: 40px; width: auto; align-self: flex-start; }
.footer-brand__name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ink);
}
.footer-brand__line {
  font-size: var(--fs-s);
  line-height: 1.6;
  color: var(--c-body);
  max-width: 260px;
}

/* Mobile: the two link groups collapse into a single 2-column grid of
   hairline rows (46px tap targets). `display: contents` on the groups lets
   all six links become items of the same grid, in the designed order. */
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  row-gap: 2px;
}
.footer-nav { display: contents; }
.footer-nav a {
  font-size: 14px;
  color: var(--c-body);
  padding: 15px 0;
  border-top: 1px solid var(--c-rule);
  transition: color 140ms linear;
}
.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--c-ink); }
.footer-nav__heading { display: none; }

.footer-contact { display: flex; flex-direction: column; gap: 10px; }
/* "Site" and "More" drop away on mobile — the hairline rows carry the
   grouping. "Contact" stays, as an accent eyebrow. */
.footer-contact__heading {
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.footer-contact__mail {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  color: var(--c-ink);
  align-self: flex-start;
  border-bottom: 1px solid var(--c-rule);
  padding-bottom: 3px;
}

.footer-accreditations {
  border-top: 1px solid var(--c-rule);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 24px;
}
.footer-accreditations img { width: auto; mix-blend-mode: multiply; }

.footer-legal {
  border-top: 1px solid var(--c-rule);
  padding-top: 22px;
  font-size: var(--fs-caption);
  line-height: 1.6;
  color: var(--c-muted);
}
.footer-notice {
  font-size: var(--fs-caption);
  line-height: 1.6;
  color: var(--c-muted);
}
.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--fs-caption);
  color: var(--c-muted);
}
.footer-base a {
  color: inherit;
  border-bottom: 1px solid var(--c-rule);
  padding-bottom: 1px;
  transition: color 140ms linear, border-color 140ms linear;
}
.footer-base a:hover,
.footer-base a:focus-visible { color: var(--c-ink); border-bottom-color: var(--c-ink); }

.social { display: flex; align-items: center; gap: 20px; }
/* The mark stays 20px, but the touch target is expanded to 40px with a
   pseudo-element — no layout shift, and adjacent icons meet without
   overlapping (20px icon + 20px gap = 40px between centres). */
.social a { position: relative; line-height: 0; transition: opacity 140ms linear; }
.social a::after { content: ''; position: absolute; inset: -10px; }
.social a:hover, .social a:focus-visible { opacity: 0.55; }
.social svg { width: 22px; height: 22px; fill: var(--c-ink); }

@media (min-width: 900px) {
  /* Desktop closes the last section with its own bottom margin; the footer
     sits straight underneath. */
  .site-footer { margin-top: 0; }
  .site-footer__inner {
    padding-block: 72px 44px;
    display: block;
  }
  .footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 56px;
  }
  /* The nav stays one landmark but spans the two middle columns, so its two
     groups land exactly on the 1.4 / 1 / 1 / 1.2 track the design specifies. */
  .footer-links {
    grid-column: 2 / 4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .footer-nav a { font-size: var(--fs-s); padding: 0; border-top: 0; }
  .footer-nav__heading {
    display: block;
    margin-bottom: 6px;
    font-size: var(--fs-eyebrow);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-muted);
  }
  .footer-contact { gap: 12px; }
  .footer-contact__heading { margin-bottom: 6px; color: var(--c-muted); }
  .footer-contact__mail {
    font-family: var(--font-ui);
    font-size: var(--fs-s);
    font-weight: 400;
    color: var(--c-body);
    border-bottom: 0;
    padding-bottom: 0;
  }
  .footer-accreditations {
    padding: 26px 0 30px;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 34px;
  }
  .footer-bottom {
    border-top: 1px solid var(--c-rule);
    padding-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .footer-legal { border-top: 0; padding-top: 0; }
  .footer-base { align-items: baseline; gap: 24px; }
  .social svg { width: 20px; height: 20px; }
}

@media (min-width: 1200px) {
  /* At 1440 the notice is designed to hold on a single line. */
  .footer-notice { white-space: nowrap; }
}


/* 9 — STICKY CTA BAR ====================================================== */
/* Home and Online Consultation only. Mobile widths, where the header has
   no room for the CTA. */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--c-bg);
  border-top: 1px solid var(--c-rule);
  padding: 14px var(--pad);
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
}
.sticky-cta .btn { padding-block: 18px; }

/* Clears the fixed bar so the end of the footer stays reachable.
   Belongs on <body> — the bar overlays the footer, not just <main>. */
.has-sticky-cta { padding-bottom: 84px; }

@media (min-width: 700px) {
  .sticky-cta { display: none; }
  .has-sticky-cta { padding-bottom: 0; }
}


/* 10 — FORMS ============================================================== */

.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--c-rule);
  border-radius: 0;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 16px;          /* 16px minimum — stops iOS zooming on focus */
  color: var(--c-ink);
  outline: none;
  transition: border-color 140ms linear;
}
.field input { height: 48px; padding: 0; }
.field textarea {
  line-height: 1.68;
  padding: 8px 0 14px;
  resize: none;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--c-muted); opacity: 1; }
.field input:focus,
.field textarea:focus { border-bottom-color: var(--c-ink); }

@media (min-width: 900px) {
  .field { gap: 10px; }
  .field input { height: 52px; }
  .field textarea { padding: 10px 0 16px; }
}

/* Native select, dressed as an underlined input: no box, no UA arrow, the
   same rule and the same height. The chevron is a background image because an
   ::after would need a wrapper element — a select cannot carry one. */
.field select {
  width: 100%;
  height: 48px;
  padding: 0 26px 0 0;
  border: 0;
  border-bottom: 1px solid var(--c-rule);
  border-radius: 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23111111' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 12px 8px;
  font-family: var(--font-ui);
  font-size: 16px;          /* 16px minimum — stops iOS zooming on focus */
  color: var(--c-ink);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 140ms linear;
}
.field select:focus { border-bottom-color: var(--c-ink); }

/* Nothing chosen yet reads as a placeholder, like the inputs do. The list
   items themselves stay in ink. Degrades to ink without :has(), which is
   legible either way. */
.field select:has(option[value=""]:checked) { color: var(--c-muted); }
.field select option { color: var(--c-ink); }

@media (min-width: 900px) { .field select { height: 52px; } }

/* Labelled blocks, for a form long enough that one flat list of ten fields
   would read as a wall. The legend sits above an ink rule; the field labels
   share the eyebrow style but stay in accent, so the two levels do not
   collapse into each other.

   min-width: 0 is not optional — a fieldset carries an intrinsic minimum
   width from its contents, and inside the grid column that is exactly what
   made the contact page scroll sideways at 900px before it was bounded. */
.form-block { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-block__legend {
  display: block;
  width: 100%;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--c-ink);
}
.form-block__legend + .field { margin-top: 24px; }
.form-block .field + .field { margin-top: 26px; }
.form-block + .form-block { margin-top: 16px; }

.field__req { color: var(--c-muted); }
.form-note { max-width: var(--measure); }

@media (min-width: 900px) {
  .form-block__legend + .field { margin-top: 30px; }
  .form-block .field + .field { margin-top: 34px; }
  .form-block + .form-block { margin-top: 20px; }
}


/* 11 — MEDIA ============================================================== */

/* Ghost anatomical renders. They bleed into the page white — never place
   one on a coloured panel, and never crop them. */
.ghost {
  display: block;
  width: 88%;
  margin-inline: auto;
}
.ghost > img { width: 100%; height: auto; }
@media (min-width: 900px) { .ghost { width: 80%; } }

.ghost--wide { width: 94%; }
@media (min-width: 900px) { .ghost--wide { width: 90%; } }

/* Their vertical placement is part of the composition, not a generic gap. */
.ghost--hero { margin-top: 24px; }
.ghost--gait { margin-top: 28px; }
@media (min-width: 900px) {
  .ghost--hero { margin-top: 8px; }
  .ghost--gait { margin-top: 48px; }
}

.logo-blend { mix-blend-mode: multiply; }

/* Fixed-height logo box, logo optically centred inside it. */
.logo-box { display: flex; align-items: center; }
.logo-box img { width: auto; max-width: 100%; mix-blend-mode: multiply; }


/* 12 — LIST ROWS ========================================================== */
/* The recurring pattern: a stack of rows divided by hairlines, closed by
   one on the last item. */

.rows { display: flex; flex-direction: column; }
.rows > * { border-top: 1px solid var(--c-rule); }
.rows > *:last-child { border-bottom: 1px solid var(--c-rule); }


/* Shown only once the two-column contact layout is in play — below that the
   email already sits above the form and the notice is in the footer. */
.u-from-lg { display: none; }


/* 13 — ACCESSIBILITY ====================================================== */

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}
.btn--primary:focus-visible { outline-color: var(--c-ink); }

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

.skip-link {
  position: absolute;
  top: 0; left: 0;
  z-index: 100;
  transform: translateY(-120%);
  background: var(--c-ink);
  color: var(--c-bg);
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.skip-link:focus { transform: translateY(0); }

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


/* 14 — ACCREDITATION LOGO SCALE ===========================================
   The seven marks are optically balanced, not scaled to a common height,
   and each context uses its own set. Kept explicit so the values stay
   legible and adjustable. */

.acc-logo { width: auto; mix-blend-mode: multiply; }

/* Homepage band */
.accreditations__logos .l-fei   { height: 59px; }
.accreditations__logos .l-irvap { height: 62px; }
.accreditations__logos .l-ises  { height: 38px; }
.accreditations__logos .l-ias,
.accreditations__logos .l-aow,
.accreditations__logos .l-ramp  { height: 30px; }
.accreditations__logos .l-iaat  { height: 35px; }

@media (min-width: 900px) {
  .accreditations__logos .l-fei   { height: 70px; }
  .accreditations__logos .l-irvap { height: 73px; }
  .accreditations__logos .l-ises  { height: 46px; }
  .accreditations__logos .l-ias,
  .accreditations__logos .l-aow,
  .accreditations__logos .l-ramp  { height: 35px; }
  .accreditations__logos .l-iaat  { height: 41px; }
}

/* Footer */
.footer-accreditations .l-fei   { height: 40px; }
.footer-accreditations .l-irvap { height: 42px; }
.footer-accreditations .l-ises  { height: 26px; }
.footer-accreditations .l-iaat  { height: 24px; }
.footer-accreditations .l-ias,
.footer-accreditations .l-aow,
.footer-accreditations .l-ramp  { height: 18px; }

@media (min-width: 900px) {
  .footer-accreditations .l-fei   { height: 51px; }
  .footer-accreditations .l-irvap { height: 54px; }
  .footer-accreditations .l-ises  { height: 35px; }
  .footer-accreditations .l-iaat  { height: 32px; }
  .footer-accreditations .l-ias,
  .footer-accreditations .l-aow,
  .footer-accreditations .l-ramp  { height: 27px; }
}


/* 15 — PAGE: HOME ========================================================= */

.hero { padding-top: var(--sec-top); }

.hero-lockup { margin-top: 22px; }
.hero-lockup__mark { height: 76px; width: auto; }

.hero__title {
  margin-top: 18px;
  font-size: var(--fs-hero-home);
  line-height: 1.03;
  letter-spacing: -0.022em;
  font-variation-settings: 'opsz' 60;
}

.hero__lead { margin-top: 24px; }

.hero-foot__actions { display: none; }

@media (min-width: 700px) {
  .hero-foot__actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    flex: none;
  }
}

@media (min-width: 900px) {
  .hero-lockup {
    margin-top: 34px;
    display: flex;
    align-items: center;
    gap: 48px;
  }
  .hero-lockup__mark { height: 122px; flex: none; }
  .hero__title { margin-top: 14px; flex: 1; line-height: 1.06; letter-spacing: -0.02em; }
  .hero-foot {
    margin-top: 56px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 64px;
  }
  .hero__lead { margin-top: 0; }
}

/* -- authority band ------------------------------------------------------ */

.authority {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--c-rule);
}
.authority__item { padding: 24px 0; border-bottom: 1px solid var(--c-rule); }
.authority__title { margin-top: 10px; line-height: 1.3; }
.authority__desc  { margin-top: 6px; color: var(--c-body); }

@media (min-width: 900px) {
  .authority {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding-top: var(--sec-sm);
  }
  .authority__item { padding: 0; border-bottom: 0; }
  .authority__title,
  .authority__desc { margin-top: 12px; }
}

/* -- accreditations ------------------------------------------------------ */

.accreditations { padding: 24px 0 26px; border-bottom: 1px solid var(--c-rule); }
.accreditations__logos {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 26px;
}

@media (min-width: 900px) {
  .accreditations {
    margin-top: 72px;
    border-top: 1px solid var(--c-rule);
    padding: 30px 0;
    display: flex;
    align-items: center;
    gap: 40px;
  }
  .accreditations__logos {
    margin-top: 0;
    flex: 1;
    justify-content: space-between;
    gap: 24px 34px;
  }
}

/* 4-up as soon as the columns are wide enough to read — not tied to the
   navigation breakpoint. */
@media (min-width: 1080px) {
  .authority { grid-template-columns: repeat(4, 1fr); }
}

/* -- method -------------------------------------------------------------- */

.method { padding-top: 48px; }
.method__title { margin-top: 16px; }
.method__body {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 900px) {
  .method {
    margin-top: 128px;
    padding-top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }
  .method__title { margin-top: 26px; }
  .method__body { margin-top: 0; padding-top: 8px; gap: 22px; }
}

/* -- publication --------------------------------------------------------- */

.publication { margin-top: 84px; }
.publication__title { margin-top: 16px; max-width: 700px; }
.publication__meta  { margin-top: 14px; color: var(--c-body); }
.publication__cta   { margin-top: 18px; }
.publication__doi   { margin-top: 12px; font-size: 12.5px; color: var(--c-muted); }

@media (min-width: 900px) {
  .publication {
    margin-top: var(--sec-lg);
    border-top: 1px solid var(--c-rule);
    padding-top: var(--sec-sm);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
  }
  .publication__title { margin-top: 0; }
  .publication__meta  { margin-top: 20px; }
  .publication__cta   { margin-top: 26px; }
}

/* -- online consultation block ------------------------------------------- */

.oc-block {
  margin-top: 56px;
  border-top: 1px solid var(--c-rule);
  padding-top: 32px;
  padding-bottom: 64px;
}
.oc-block__portrait { width: 100%; height: 380px; object-fit: cover; }
.oc-block__eyebrow  { margin-top: 28px; }
.oc-block__title    { margin-top: 16px; max-width: 640px; }
.oc-block__lead     { margin-top: 16px; }

.deliverables { margin-top: 28px; display: flex; flex-direction: column; }
.deliverables li {
  border-top: 1px solid var(--c-rule);
  padding: 14px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-ink);
}
.deliverables li:last-child { border-bottom: 1px solid var(--c-rule); }

.oc-block__cta { margin-top: 20px; }
.oc-block__cta .btn { display: none; }

@media (min-width: 700px) {
  .oc-block__cta .btn { display: inline-block; }
}

@media (min-width: 900px) {
  .oc-block {
    margin-top: var(--sec-lg);
    padding-top: 56px;
    padding-bottom: 120px;
    display: grid;
    grid-template-columns: 368px 1fr;
    gap: 88px;
    align-items: start;
  }
  .oc-block__portrait { height: 496px; }
  .oc-block__eyebrow  { margin-top: 0; }
  .oc-block__title    { margin-top: 26px; }
  .oc-block__lead     { margin-top: 24px; }

  .deliverables {
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    column-gap: 56px;
  }
  .deliverables li { padding: 16px 0; font-size: 14.5px; }
  .deliverables li:nth-child(4) { border-bottom: 1px solid var(--c-rule); }

  .oc-block__cta {
    margin-top: 48px;
    display: flex;
    align-items: center;
    gap: 28px;
  }
}


/* 16 — SHARED PAGE HEAD ===================================================
   Every page but the homepage opens on eyebrow → Display XL → lead. */

.page-head { padding-top: var(--sec-top); }
.page-head__title { margin-top: 18px; }
.page-head__lead  { margin-top: 20px; }

@media (min-width: 900px) {
  .page-head__title { margin-top: 34px; }
  .page-head__lead  { margin-top: 40px; }
}

/* Standalone repeat of the legal notice (Online Consultation). */
.legal-note {
  margin-top: var(--sec-md);
  border-top: 1px solid var(--c-rule);
  padding-top: 22px;
  font-size: var(--fs-caption);
  line-height: 1.6;
  color: var(--c-muted);
  max-width: 780px;
}

/* Closes a page whose last section has no bottom rule of its own. */
.page-end { padding-bottom: 48px; }
@media (min-width: 900px) { .page-end { padding-bottom: 120px; } }


/* 17 — PAGE: ABOUT ======================================================== */

/* The subtitle is body-grey at Display L size — deliberately not ink. */
.about-sub {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 300;
  font-optical-sizing: auto;
  font-size: clamp(26px, 1.9048vw + 18.571px, 46px);   /* 26 -> 46 */
  line-height: 1.18;
  color: var(--c-body);
  max-width: 900px;
}

.about-body { margin-top: 28px; }
.about-portrait { width: 100%; }
.about-portrait > img { width: 100%; height: 400px; object-fit: cover; }
.about-prose { margin-top: 20px; }
.about-prose > * + * { margin-top: 20px; }

@media (min-width: 900px) {
  .about-sub { margin-top: 26px; line-height: 1.1; letter-spacing: -0.018em; }
  .about-prose > * + * { margin-top: 24px; }
}

/* 620px is the designed measure, not a floor: minmax lets it give way when
   the viewport is narrower, so the two columns can start at 1024 without
   ever overflowing. At 1440 it resolves to exactly 620px. */
@media (min-width: 1024px) {
  .about-body {
    margin-top: var(--sec-md);
    display: grid;
    grid-template-columns: minmax(0, 620px) minmax(260px, 1fr);
    gap: 88px;
    align-items: start;
  }
  /* Desktop shows the portrait uncropped beside the bio; narrower screens
     crop it to a band above. */
  .about-portrait { order: 2; }
  .about-portrait > img { height: auto; object-fit: initial; }
  .about-prose { order: 1; margin-top: 0; }
}

.quals { margin-top: var(--sec-lg); }
.quals__list { margin-top: 24px; display: flex; flex-direction: column; }
.qual {
  border-top: 1px solid var(--c-rule);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qual:last-child { border-bottom: 1px solid var(--c-rule); }
.qual__logo { display: flex; align-items: center; }
.qual__logo img { width: auto; max-width: 180px; mix-blend-mode: multiply; }
.qual__name { font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--c-ink); }
.qual__desc { font-size: 12.5px; line-height: 1.62; color: var(--c-body); }

/* Mobile: the box is exactly the mark's height. Bounded by max-width so the
   per-logo modifiers cannot out-specify the desktop 70px box below. */
@media (max-width: 899.98px) {
  .qual__logo { height: 26px; }
  .qual--irvap .qual__logo, .qual--fei .qual__logo { height: 56px; }
  .qual--ises .qual__logo { height: 32px; }
  .qual--ias  .qual__logo { height: 24px; }
  .qual--iaat .qual__logo { height: 30px; }
}

@media (min-width: 900px) {
  .quals__list {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
    row-gap: 48px;
  }
  .qual { padding: 22px 0 0; gap: 14px; }
  .qual:last-child { border-bottom: 0; }
  /* Desktop: one 70px box for all seven, each mark capped inside it. */
  .qual__logo { height: 70px; }
  .qual__logo img { max-width: 100%; }
  .qual--ramp .qual__logo img,
  .qual--aow  .qual__logo img { max-height: 32px; }
  .qual--irvap .qual__logo img,
  .qual--fei   .qual__logo img { max-height: 70px; }
  .qual--ises .qual__logo img { max-height: 41px; }
  .qual--ias  .qual__logo img { max-height: 30px; }
  .qual--iaat .qual__logo img { max-height: 38px; }
}

@media (min-width: 1080px) {
  .quals__list { grid-template-columns: repeat(4, 1fr); }
}


/* 18 — PAGE: ONLINE CONSULTATION ========================================== */

.oc-hero__title { font-size: var(--fs-hero-oc); line-height: 1.05; letter-spacing: -0.02em; }
@media (min-width: 900px) { .oc-hero__title { line-height: 1.04; letter-spacing: -0.022em; } }

.hero-aside { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; flex: none; }

.included { margin-top: 40px; }
.included__figure {
  margin-top: 32px;
  border-top: 1px solid var(--c-ink);
  padding-top: 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}
.included__amount {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--c-ink);
}
.included__note { font-size: var(--fs-s); color: var(--c-body); }
.included__label { margin-top: 40px; }
.spec-rows { margin-top: 18px; display: flex; flex-direction: column; }

.spec-row {
  border-top: 1px solid var(--c-rule);
  padding: 16px 0;
  display: grid;
  grid-template-columns: 34px 1fr 22px;
  gap: 12px;
  align-items: center;
}
.spec-row:last-child { border-bottom: 1px solid var(--c-rule); }
.spec-row__n { font-size: 13px; color: var(--c-muted); }
.spec-row__icon { justify-self: end; width: 22px; height: 22px; }

@media (min-width: 900px) {
  .included {
    margin-top: 96px;
    border-top: 1px solid var(--c-rule);
    padding-top: var(--sec-sm);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
  }
  .included__price { display: flex; flex-direction: column; }
  .included__label { order: -1; margin-top: 0; }
  .included__figure {
    margin-top: 16px;
    border-top: 0;
    padding-top: 0;
    display: block;
  }
  .included__amount {
    display: block;
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 20px;
    line-height: 1.34;
    letter-spacing: 0;
  }
  .included__note { display: block; margin-top: 10px; }

  .spec-rows { margin-top: 0; }
  .spec-row { grid-template-columns: 40px 1fr 26px; gap: 24px; padding: 20px 0; }
  .spec-row__n { font-size: var(--fs-s); }
  .spec-row__icon { width: 26px; height: 26px; }
}

/* No rule above "How to book" on mobile — the render above it does the
   separating; desktop reinstates the hairline. */
.oc-book { margin-top: 32px; }
@media (min-width: 900px) {
  .oc-book {
    margin-top: 72px;
    border-top: 1px solid var(--c-rule);
    padding-top: var(--sec-sm);
  }
}

/* The trot render is set to ride up into the section below it. */
.ghost--trot { margin-top: 32px; }
@media (min-width: 900px) { .ghost--trot { margin: 72px auto -40px; } }

.steps { margin-top: 18px; display: flex; flex-direction: column; }
.step { border-top: 1px solid var(--c-rule); padding: 20px 0; }
.step:last-child { border-bottom: 1px solid var(--c-rule); }
.step__icon { width: 26px; height: 26px; margin-bottom: 8px; }
.step__n { font-size: 13px; color: var(--c-muted); }
.step__title { margin-top: 8px; font-size: 20px; }
.step__text { margin-top: 6px; font-size: var(--fs-s); line-height: 1.6; }

@media (min-width: 900px) {
  .steps {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px;
  }
  .step { border: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
  .step:last-child { border-bottom: 0; }
  .step__icon { width: 30px; height: 30px; margin-bottom: 6px; }
  .step__n { font-size: var(--fs-s); }
  .step__title { margin-top: 0; font-size: var(--fs-m); }
  .step__text { margin-top: 0; }
}

.oc-final { margin-top: 44px; border-top: 1px solid var(--c-rule); padding-top: 28px; }
.oc-final__note { margin-top: 14px; font-size: var(--fs-s); color: var(--c-muted); }
.oc-final__actions { display: none; }

@media (min-width: 700px) {
  .oc-final__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
}
@media (min-width: 900px) {
  .oc-final {
    margin-top: var(--sec-md);
    padding-top: var(--sec-sm);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
  }
  .oc-final__title { max-width: 640px; }
  .oc-final__note { display: none; }
}


/* 19 — PAGE: RESEARCH ===================================================== */

/* "Publications  ·  1 entry" — closed by an ink rule, not a hairline. */
.list-head {
  margin-top: 40px;
  border-bottom: 1px solid var(--c-ink);
  padding-bottom: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.pub { border-bottom: 1px solid var(--c-rule); padding: 28px 0; }
.pub__year { font-family: var(--font-display); font-weight: 300; font-size: 32px; line-height: 1; color: var(--c-ink); }
.pub__title { margin-top: 16px; }
.pub__authors { margin-top: 14px; font-size: var(--fs-s); line-height: 1.6; }
.pub__ref { margin-top: 4px; font-size: var(--fs-s); line-height: 1.6; }
.pub__kind { display: none; }
.pub__cta { margin-top: 18px; }
.pub__doi { margin-top: 12px; font-size: 12.5px; color: var(--c-muted); }
.pub-note { margin-top: 24px; font-size: var(--fs-s); line-height: 1.6; color: var(--c-muted); }

@media (min-width: 900px) {
  .list-head { margin-top: 96px; padding-bottom: 16px; }
  .pub {
    padding: 48px 0;
    display: grid;
    grid-template-columns: 160px 1fr 220px;
    gap: 48px;
    align-items: start;
  }
  .pub__year { font-size: var(--fs-l); }
  .pub__title { margin-top: 0; max-width: 720px; }
  .pub__authors { margin-top: 22px; max-width: 720px; }
  .pub__aside { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
  .pub__kind { display: block; }
  .pub__cta, .pub__doi { margin-top: 0; }
  .pub-note { margin-top: 40px; }
}


/* 20 — PAGE: COURSES ====================================================== */

.course-block { margin-top: 40px; border-top: 1px solid var(--c-ink); padding-top: 24px; }
.course-block__title { margin-top: 18px; max-width: 700px; }
.course-block__status { margin-top: 16px; }
.course-block__text { margin-top: 20px; }

.booklet { margin-top: 28px; border-top: 1px solid var(--c-rule); padding-top: 22px; }
.booklet__title { font-size: 22px; }
.booklet__meta { margin-top: 8px; font-size: var(--fs-s); line-height: 1.6; max-width: 420px; }
.booklet__cta { margin-top: 20px; }
.booklet__alt { margin-top: 14px; }

@media (min-width: 900px) {
  .course-block {
    margin-top: var(--sec-md);
    padding-top: var(--sec-sm);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
  }
  .course-block__title { margin-top: 0; font-size: var(--fs-l); }
  .course-block__status { margin-top: 20px; }
  .course-block__text { margin-top: 26px; }
  .booklet {
    margin-top: 40px;
    padding-top: 32px;
    max-width: 820px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
  }
  .booklet__title { font-size: var(--fs-m); }
  .booklet__meta { margin-top: 10px; }
  .booklet__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; flex: none; }
  .booklet__cta, .booklet__alt { margin-top: 0; }
}

.lectures-block {
  margin-top: 44px;
  border-top: 1px solid var(--c-ink);
  padding-top: 22px;
}
@media (min-width: 900px) {
  .lectures-block { margin-top: 112px; padding-top: var(--sec-sm); }
}

.lectures { margin-top: 20px; display: flex; flex-direction: column; }
.lecture {
  border-top: 1px solid var(--c-rule);
  padding: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.lecture:last-child { border-bottom: 1px solid var(--c-rule); }
.lecture__org {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--c-ink);
}
.lecture__title { font-family: var(--font-display); font-weight: 300; font-size: 20px; line-height: 1.34; color: var(--c-ink); }
.lecture__url { font-size: 12.5px; color: var(--c-muted); overflow-wrap: anywhere; }

@media (min-width: 900px) {
  .lectures { margin-top: 40px; }
  .lecture {
    padding: 26px 0;
    display: grid;
    grid-template-columns: 260px 1fr 220px;
    gap: 48px;
    align-items: center;
  }
  .lecture__title { font-size: 24px; }
  .lecture__url { font-size: var(--fs-s); line-height: 1.6; }
  .lecture .btn { justify-self: end; font-size: 10.5px; white-space: nowrap; }
}


/* 21 — PAGE: CONTACT ====================================================== */

.contact-grid { margin-top: 40px; }
.contact-mail {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 20px;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-rule);
  padding-bottom: 4px;
}
.contact-form { margin-top: 40px; display: flex; flex-direction: column; gap: 26px; }
.form-actions { display: flex; align-items: center; gap: 28px; }
.form-actions .btn { width: 100%; padding-block: 18px; }

.contact-aside { margin-top: 48px; display: flex; flex-direction: column; gap: 40px; }
.contact-aside__value { margin-top: 14px; }
.contact-aside__legal { border-top: 1px solid var(--c-rule); padding-top: 22px; }

/* Success and error share one shell; only the eyebrow colour differs.
   Error is stated in ink, not red — the palette has no alert colour. */
.form-state { border-top: 1px solid var(--c-ink); padding-top: 28px; }
.form-state[hidden] { display: none; }
.form-state__title { margin-top: 16px; }
.form-state__text  { margin-top: 16px; }
.form-state__again { margin-top: 28px; }

@media (min-width: 900px) {
  .contact-form { gap: 34px; }
  .form-actions { margin-top: 6px; }
  .form-actions .btn { width: auto; padding: 17px 36px; }
  .contact-aside__mail {
    display: inline-block;
    margin-top: 16px;
    font-family: var(--font-display);
    font-weight: 300;
    font-size: var(--fs-m);
    color: var(--c-ink);
    border-bottom: 1px solid var(--c-rule);
    padding-bottom: 4px;
  }
  .form-state { padding-top: 40px; }
  .form-state__title { margin-top: 26px; }
  .form-state__text  { margin-top: 24px; }
  .form-state__again { margin-top: 40px; }
}

/* Same as About: 700px is the designed width, and minmax guarantees the
   aside keeps at least 240px rather than pushing the page wider. */
@media (min-width: 1024px) {
  .contact-grid {
    margin-top: 80px;
    display: grid;
    grid-template-columns: minmax(0, 700px) minmax(240px, 1fr);
    gap: 96px;
    align-items: start;
  }
  .contact-mail { display: none; }
  .contact-form { margin-top: 0; }
  .contact-aside { margin-top: 0; }
  .u-from-lg { display: block; }
}

/* The render rides up under the two columns, before the footer. /book uses
   the same composition, so it shares the rule rather than restating it. */
.ghost--contact, .ghost--book { margin-top: 32px; }
@media (min-width: 900px) {
  .ghost--contact, .ghost--book { margin: -64px auto 32px; }
}


/* 22 — PAGE: PARTNERSHIPS ================================================= */

.partners { margin-top: 40px; border-top: 1px solid var(--c-ink); display: flex; flex-direction: column; }
.partner {
  border-bottom: 1px solid var(--c-rule);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.partner__logo { height: 60px; display: flex; align-items: center; }
.partner__logo img { width: auto; max-height: 60px; max-width: min(200px, 100%); mix-blend-mode: multiply; }
.partner--wibbi .partner__logo img { max-width: 140px; }
.partner--sleip .partner__logo img { max-height: 44px; max-width: 180px; }
.partner__text { font-size: var(--fs-s); line-height: 1.6; }

@media (min-width: 900px) {
  .partners {
    margin-top: var(--sec-md);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  /* Hairlines are drawn by the cells themselves, and stop short of the
     page margins — cols 1 and 3 shed their outer padding. */
  .partner {
    padding: 44px 44px 40px;
    gap: 18px;
    align-items: stretch;
    border-right: 1px solid var(--c-rule);
  }
  .partner:nth-child(3n + 1) { padding-left: 0; }
  .partner:nth-child(3n)     { padding-right: 0; border-right: 0; }

  .partner__logo { height: 76px; }
  .partner__logo img { max-height: 76px; object-fit: contain; object-position: left center; }
  .partner--globus .partner__logo,
  .partner--qualescy .partner__logo { height: 96px; }
  .partner--globus .partner__logo img,
  .partner--qualescy .partner__logo img { max-height: 96px; max-width: 250px; }
  .partner--wibbi .partner__logo img { max-width: 150px; }
  .partner--sleip .partner__logo img { max-height: 57px; max-width: 150px; }
  .partner .btn { align-self: flex-start; margin-top: 6px; }
}


/* 23 — PAGE: 404 ==========================================================
   The landing spot for retired French URLs, so it has to route people
   somewhere useful rather than just apologise. */

.notfound-links { margin-top: 40px; display: flex; flex-direction: column; }
.notfound-links a {
  border-top: 1px solid var(--c-rule);
  padding: 18px 0;
  color: var(--c-ink);
  transition: color 140ms linear;
}
.notfound-links a:last-child { border-bottom: 1px solid var(--c-rule); }
.notfound-links a:hover,
.notfound-links a:focus-visible { color: var(--c-accent); }
.notfound-links__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-m);
  line-height: 1.32;
}
.notfound-links__desc {
  display: block;
  margin-top: 4px;
  font-size: var(--fs-s);
  line-height: 1.6;
  color: var(--c-body);
}
.notfound-cta { margin-top: var(--sec-md); }

@media (min-width: 900px) {
  .notfound-links { margin-top: var(--sec-sm); }
  .notfound-links a {
    padding: 22px 0;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    align-items: baseline;
  }
  .notfound-links__desc { margin-top: 0; }
}


/* 24 — COOKIE CONSENT =====================================================
   Sits below the sticky booking bar in the stack but above the page, and
   publishes its own height so the booking bar can move out of its way. */

.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: var(--c-bg);
  border-top: 1px solid var(--c-ink);
}
.consent__inner {
  padding-block: 20px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.consent__text {
  font-size: var(--fs-s);
  line-height: 1.6;
  color: var(--c-body);
  max-width: 780px;
}
.consent__text a {
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-rule);
  padding-bottom: 1px;
}
.consent__text a:hover,
.consent__text a:focus-visible { border-bottom-color: var(--c-ink); }

/* Refusing must be as easy as accepting: same row, same size, no hierarchy
   beyond the house button styles. */
.consent__actions { display: flex; gap: 12px; }
.consent__actions .btn { flex: 1; padding-inline: 0; }

@media (min-width: 700px) {
  .consent__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
  .consent__actions { flex: none; gap: 14px; }
  .consent__actions .btn { flex: none; }
  .consent__actions .btn--primary { padding: 15px 30px; }
  .consent__actions .btn--secondary { padding: 14px 26px; }
}

/* The booking bar steps up by exactly the banner's height while it shows. */
.sticky-cta { bottom: var(--consent-h, 0px); }
.has-sticky-cta { padding-bottom: calc(84px + var(--consent-h, 0px)); }


/* 25 — PAGE: LEGAL ========================================================
   The only long-form reading page on the site. Sections open on a hairline
   and the measure is held tight, as elsewhere. */

.legal { margin-top: var(--sec-md); }
.legal__section {
  border-top: 1px solid var(--c-rule);
  padding-top: var(--sec-sm);
  margin-top: var(--sec-sm);
}
.legal__section:first-child { margin-top: 0; }
.legal__title { margin-bottom: 20px; }
.legal p, .legal li {
  font-size: var(--fs-body);
  line-height: 1.68;
  color: var(--c-body);
  max-width: var(--measure);
}
.legal p + p { margin-top: 16px; }
.legal a { color: var(--c-ink); border-bottom: 1px solid var(--c-rule); padding-bottom: 1px; }
.legal a:hover, .legal a:focus-visible { border-bottom-color: var(--c-ink); }

.legal ul { margin-top: 16px; display: flex; flex-direction: column; }
.legal li {
  border-top: 1px solid var(--c-rule);
  padding: 14px 0;
  font-size: var(--fs-s);
}
.legal li:last-child { border-bottom: 1px solid var(--c-rule); }
.legal li strong { color: var(--c-ink); font-weight: 500; }

/* Facts the client still has to supply, kept visible on purpose. */
.legal .todo { color: var(--c-accent); }

.legal__updated {
  margin-top: var(--sec-sm);
  font-size: var(--fs-caption);
  color: var(--c-muted);
}

@media (min-width: 900px) {
  .legal__section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
  }
  .legal__title { margin-bottom: 0; }
}


/* 26 — FORM VALIDATION ====================================================
   The palette has no alert colour, so an error is stated in ink and named
   in words rather than signalled by hue alone — which also happens to be
   the accessible way to do it. */

.field__error {
  font-size: var(--fs-caption);
  line-height: 1.5;
  color: var(--c-ink);
}
.field__error:empty { display: none; }

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] { border-bottom-color: var(--c-ink); }

/* Bot trap: off-screen rather than display:none, which scrapers detect. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions .form-status {
  font-size: var(--fs-s);
  color: var(--c-muted);
}
.btn[disabled] { opacity: 0.5; cursor: default; }
