
/* ─── Body-text font: Manrope sans (paired with Haben display) ─── */
.intro-sub,
.intro-body,
.b02__body p,
.b03__intro,
.b03__card-copy,
.b04__intro,
.b04__row-msg,
.b05__intro,
.b05__card-copy,
.step-note,
.final-body,
.foot__brand-tag,
.foot__legal {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: "kern", "liga", "ss01";
}

:root {
  --ink: #1a1a18;
  --ink-deep: #100f0e;
  --paper: #ede9df;
  --paper-deep: #e0d9c8;
  --accent: #FF8C53;
  --accent-deep: #c9591a;
  --muted: #45453f;
  --hair: #c4bfa8;
}

/* ── Client feedback: readability + typography ─────────────────
   1) --muted darkened above (small grey text was unreadable).
   2) Small uppercase labels in orange are too light → darker orange + min size.
   3) Headings balance lines; paragraphs avoid single-word last lines (no widows). */
.cust__opt-group h3,
.prod__card-cat,
.uc__card-sectors,
.ex__card-eyebrow,
.pilots__card-status,
.eco__card-role { color: var(--accent-deep) !important; }
.cust__opt-group h3 { font-size: 0.82rem !important; }
.prod__card-cat,
.uc__card-sectors,
.ex__card-eyebrow { font-size: 0.7rem !important; }
h1, h2, h3, h4, .intro-h { text-wrap: balance; }
p, li, .intro-sub { text-wrap: pretty; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); overflow-x: clip; }
body {
  background: var(--paper); color: var(--ink);
  font-family: 'Haben', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* No opacity gate — font-display:swap handles FOUT gracefully and keeps FCP fast.
   (.is-ready class is still toggled by JS but no longer hides content.) */
::selection { background: var(--accent); color: var(--ink); }
a { color: inherit; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01s !important; transition-duration: 0.01s !important; } }

/* ─── HEADER (real site header — solid default, transparent over cinema) ─── */
.h {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  padding: clamp(0.85rem, 1.4vw, 1.15rem) clamp(1rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: center;
  color: var(--ink);
  background: rgba(237, 233, 223, 0.85);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(26,26,24,0.06);
  transition: background 0.4s, color 0.4s, border-color 0.4s, text-shadow 0.4s;
}
.h[data-cinema] {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
  border-bottom-color: transparent;
}

/* Brand */
.h-brand {
  display: flex; align-items: baseline;
  gap: clamp(0.4rem, 0.9vw, 0.7rem);
  color: inherit;
  white-space: nowrap;
}
.h-brand-logo {
  display: block;
  width: auto;
  height: clamp(1.2rem, 1.45vw, 1.5rem);
  aspect-ratio: 1280 / 141;
  background-color: currentColor;
  -webkit-mask: url('../img/brand/logo.svg') no-repeat center / contain;
          mask: url('../img/brand/logo.svg') no-repeat center / contain;
  flex-shrink: 0;
  transition: background-color 0.4s;
}
.h-brand-tag {
  font-size: clamp(0.68rem, 0.82vw, 0.82rem);
  opacity: 0.65;
  font-weight: 400;
  letter-spacing: 0;
}

/* Nav */
.h-nav { justify-self: center; }
.h-nav ul {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  list-style: none;
}
.h-nav a {
  font-size: clamp(0.8rem, 0.92vw, 0.92rem);
  font-weight: 500;
  color: inherit;
  position: relative;
  padding: 0.25rem 0;
}
.h-nav a::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.h-nav a:hover::after,
.h-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.h-nav a[aria-current="page"]::after { background: var(--accent); height: 2px; }
.h-overlay a[aria-current="page"] { color: var(--accent); padding-left: 0.5rem; }

/* Right cluster */
.h-right {
  display: flex; align-items: center;
  gap: clamp(0.5rem, 1vw, 0.85rem);
}

.h-lang {
  display: inline-flex; align-items: center;
  gap: 0.4rem;
  padding: clamp(0.45rem, 0.7vw, 0.6rem) clamp(0.85rem, 1.2vw, 1.05rem);
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(0.62rem, 0.7vw, 0.68rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
  cursor: pointer;
  transition: opacity 0.3s;
  white-space: nowrap;
}
.h-lang:hover { opacity: 1; }
.h-lang-active { font-weight: 700; }
.h-lang-sep { opacity: 0.4; }
.h-lang-alt { opacity: 0.72; }
.h-lang-opt { color: inherit; opacity: 0.6; font-weight: 600; transition: opacity 0.3s; }
.h-lang-opt:hover { opacity: 1; }
.h-lang-opt.is-active { opacity: 1; font-weight: 700; }

.h-cta {
  display: inline-flex; align-items: center;
  padding: clamp(0.55rem, 0.9vw, 0.78rem) clamp(1rem, 1.4vw, 1.25rem);
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(0.62rem, 0.7vw, 0.68rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: none;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.h-cta:hover {
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-1px);
}
.h[data-cinema] .h-cta {
  background: #fff;
  color: var(--ink);
}
.h[data-cinema] .h-cta:hover {
  background: var(--accent);
  color: var(--ink);
}

/* Hamburger — hidden on desktop */
.h-burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: none; background: transparent; color: inherit;
  cursor: pointer; padding: 0;
  position: relative; z-index: 101;
}
.h-burger-bars,
.h-burger-bars::before,
.h-burger-bars::after {
  content: ''; display: block;
  width: 24px; height: 1.5px;
  background: currentColor;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s;
}
.h-burger-bars { position: relative; }
.h-burger-bars::before { position: absolute; left: 0; top: -7px; }
.h-burger-bars::after  { position: absolute; left: 0; top: 7px; }
.h.is-open .h-burger-bars { background: transparent; }
.h.is-open .h-burger-bars::before { transform: translateY(7px) rotate(45deg); }
.h.is-open .h-burger-bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* Responsive header — switch to flex so brand stays left and burger right */
@media (max-width: 1200px) {
  .h-nav { display: none; }
  .h-burger { display: inline-flex; }
  .h {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
@media (max-width: 700px) {
  .h-brand-tag { display: none; }
  .h-lang { display: none; }
  .h-cta { display: none; }
}

/* Mobile overlay menu */
.h-overlay {
  position: fixed; inset: 0;
  z-index: 100;
  background: var(--paper);
  display: flex; flex-direction: column;
  padding: clamp(5.5rem, 9vw, 7.5rem) clamp(1.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
.h-overlay[data-open] {
  opacity: 1; pointer-events: auto;
}
.h-overlay ul {
  list-style: none;
  display: flex; flex-direction: column;
  gap: clamp(0.5rem, 1.2vw, 0.85rem);
  margin: 0; padding: 0;
}
.h-overlay a {
  font-family: 'Haben', sans-serif;
  font-size: clamp(2rem, 7vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: inline-block;
  padding: 0.15rem 0;
  text-decoration: none;
  line-height: 1.05;
  position: relative;
  transition: color 0.3s, padding-left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.h-overlay a:hover { color: var(--accent); padding-left: 0.5rem; }

.h-overlay a::before {
  content: attr(data-n);
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.42em;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-right: 0.85em;
  vertical-align: 0.4em;
  font-variant-numeric: tabular-nums;
}
.h-overlay a[data-tbd] { color: var(--muted); }
.h-overlay a[data-tbd]::after {
  content: 'soon';
  font-family: 'Haben', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  vertical-align: super;
  margin-left: 0.5rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.55;
}
.h-overlay-foot {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--hair);
  font-size: 0.7rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted);
  font-family: 'Haben', sans-serif;
}
body.menu-locked { overflow: hidden; }

/* Inline TBD tag for desktop nav */
.h-nav a[data-tbd] {
  opacity: 0.5;
  cursor: not-allowed;
}
.h-nav a[data-tbd]:hover::after { transform: scaleX(0); }


/* ─── Legal prose (Privacy / Cookies / Terms) ─────────────────── */
.legal-prose { padding: clamp(2rem, 4vw, 3rem) 0 clamp(5rem, 9vw, 8rem); background: var(--paper); }
.legal-prose__inner { max-width: 760px; }
.legal-prose__inner h2 { font-family: 'Haben', sans-serif; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.025em; color: var(--ink); margin: clamp(2.5rem, 4vw, 3.5rem) 0 clamp(0.85rem, 1.4vw, 1.15rem); }
.legal-prose__inner h3 { font-family: 'Haben', sans-serif; font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 500; color: var(--ink); margin: clamp(1.75rem, 3vw, 2.25rem) 0 0.75rem; }
.legal-prose__inner p, .legal-prose__inner li { font-family: 'Manrope', sans-serif; font-size: clamp(0.98rem, 1.1vw, 1.05rem); line-height: 1.65; font-weight: 300; color: var(--ink); margin: 0 0 1.1rem; }
.legal-prose__inner ul, .legal-prose__inner ol { padding-left: 1.25rem; margin: 0 0 1.5rem; }
.legal-prose__inner li { margin-bottom: 0.5rem; }
.legal-prose__inner a { color: var(--accent); border-bottom: 1px solid currentColor; }
.legal-prose__inner a:hover { color: var(--ink); }
.legal-prose__inner strong { font-weight: 600; }

/* ═════════════════════════════════════════════════════════════
   SHARED FORM COMPONENT (CF7-driven) — used on every page that
   embeds a Contact Form 7 form. Mirrors the prototype form look.
   ═════════════════════════════════════════════════════════════ */
.cust__form { display: flex; flex-direction: column; gap: clamp(1rem, 1.75vw, 1.4rem); padding: clamp(1.75rem, 3vw, 2.5rem); background: var(--paper); border: 1px solid var(--hair); }
.cust__form-h { font-family: 'Haben', sans-serif; font-size: clamp(1.15rem, 1.5vw, 1.4rem); font-weight: 500; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 0.25rem; }
.cust__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 1.75vw, 1.4rem); }
@media (max-width: 600px) { .cust__form-row { grid-template-columns: 1fr; } }
.cust__field { display: flex; flex-direction: column; gap: 0.45rem; }
.cust__field > span { font-family: 'Manrope', sans-serif; font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.cust__field > span em { color: var(--accent); font-style: normal; }
.cust__field input, .cust__field textarea, .cust__field select,
.cust__form input[type="text"], .cust__form input[type="email"], .cust__form input[type="tel"], .cust__form textarea, .cust__form select {
  appearance: none; background: transparent; border: none; border-bottom: 1px solid rgba(26,26,24,0.25);
  padding: 0.65rem 0 0.55rem; font-size: 0.95rem; color: var(--ink); font-family: 'Manrope', sans-serif;
  font-weight: 400; transition: border-color 0.3s; border-radius: 0; resize: vertical; min-height: 2.5rem; width: 100%;
}
.cust__field textarea, .cust__form textarea { min-height: 4.5rem; }
.cust__field input:focus, .cust__field textarea:focus, .cust__field select:focus,
.cust__form input:focus, .cust__form textarea:focus, .cust__form select:focus { outline: none; border-bottom-color: var(--accent); }
.cust__check { display: flex; align-items: flex-start; gap: 0.6rem; font-family: 'Manrope', sans-serif; font-size: 0.88rem; color: var(--ink); cursor: pointer; margin-top: 0.5rem; line-height: 1.45; }
.cust__check input { width: 1.05rem; height: 1.05rem; margin-top: 0.15rem; flex-shrink: 0; }
.cust__check a { color: var(--accent); border-bottom: 1px solid currentColor; }
.cust__form button, .cust__form input[type="submit"] { align-self: flex-start; margin-top: 0.5rem; }

/* Honeypot — visually + a11y hidden, but present for bots */
.releaf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* CF7 plumbing — match brand styling */
.wpcf7 { width: 100%; }
.wpcf7-form { display: flex; flex-direction: column; gap: clamp(1rem, 1.75vw, 1.4rem); }
.wpcf7-form.cust__form { padding: clamp(1.75rem, 3vw, 2.5rem); position: relative; }
/* Keep the AJAX spinner out of flow so it never adds a blank row under the
   submit button when idle; it surfaces in the bottom-right during submission. */
.wpcf7-spinner { position: absolute; right: clamp(1.75rem, 3vw, 2.5rem); bottom: clamp(1.75rem, 3vw, 2.5rem); margin: 0; }
.wpcf7 .wpcf7-not-valid-tip { font-family: 'Manrope', sans-serif; font-size: 0.78rem; color: #B85820; margin-top: 0.35rem; font-weight: 500; }
.wpcf7 input.wpcf7-not-valid, .wpcf7 textarea.wpcf7-not-valid, .wpcf7 select.wpcf7-not-valid { border-bottom-color: #B85820; }
.wpcf7-response-output {
  font-family: 'Manrope', sans-serif; font-size: 0.9rem; line-height: 1.5; font-weight: 500;
  margin: 0.5rem 0 0 !important; padding: 0.85rem 1.1rem !important; border-radius: 0 !important; border-width: 1px !important;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: #2E5943; color: #2E5943; background: rgba(46,89,67,0.08); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: #B85820; color: #B85820; background: rgba(255,140,83,0.08); }
.wpcf7-list-item { margin: 0; }
.wpcf7-acceptance .wpcf7-list-item-label { font-size: 0.88rem; color: var(--ink); }



/* — shared content container (was missing from base → flush content bug) — */
.wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

/* ═══ SHARED COMPONENTS (consolidated into base — used on every page) ═══ */

/* — page hero, chapter eyebrow, CTA, hero banner — */
.cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: clamp(0.9rem, 1.2vw, 1.05rem) clamp(1.5rem, 2vw, 1.8rem);
  background: var(--ink); color: var(--paper);
  font-size: clamp(0.85rem, 1vw, 0.95rem); font-weight: 500; letter-spacing: 0.04em;
  border-radius: 999px;
  transition: background 0.35s, color 0.35s, transform 0.35s;
  border: 1px solid var(--ink);
}
.cta:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); transform: translateY(-2px); }
.cta-ghost { background: transparent; color: var(--ink); }
.cta-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.page-hero__body,
.proc__step-body,
.asses__intro,
.crit__item dd,
.pilot__country,
.submit-city__body,
.asses__field span,
.asses__field input {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: "kern", "liga", "ss01";
}
.cta {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: clamp(0.85rem, 1.2vw, 1.05rem) clamp(1.4rem, 1.9vw, 1.7rem);
  border-radius: 999px;
  font-family: 'Haben', sans-serif;
  font-size: clamp(0.78rem, 0.9vw, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), background 0.3s, color 0.3s, border-color 0.3s;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.cta .arrow { transition: transform 0.35s cubic-bezier(0.16,1,0.3,1); display: inline-block; }
.cta:hover .arrow { transform: translateX(4px); }
.cta--solid {
  background: var(--ink); color: var(--paper);
}
.cta--solid:hover { background: var(--accent); color: var(--ink); transform: translateY(-1px); }
.cta--ghost {
  background: transparent; color: var(--ink);
  border-color: rgba(26,26,24,0.25);
}
.cta--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-1px); }
.chap {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(0.85rem, 1.5vw, 1.25rem);
  margin: 0;
}
.chap__no {
  font-family: 'Haben', sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--accent);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: clamp(0.7rem, 1.2vw, 1rem);
}
.chap__no em { font-style: normal; }
.chap__no::after {
  content: '';
  display: inline-block;
  width: clamp(1.75rem, 3vw, 2.5rem);
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.chap__label {
  font-family: 'Haben', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(0.68rem, 0.78vw, 0.74rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
.page-hero {
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(4rem, 7vw, 6rem);
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
}
.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}
@media (max-width: 880px) {
.page-hero__inner { grid-template-columns: 1fr; gap: clamp(1.5rem, 3vw, 2.25rem); align-items: start; }
}
.page-hero__left { display: flex; flex-direction: column; gap: clamp(2rem, 4vw, 3rem); min-width: 0; }
.page-hero__h {
  font-size: clamp(1.9rem, 4.6vw, 4.25rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ink);
  max-width: 18ch;
  margin: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.page-hero__h em { font-style: normal; color: var(--accent); }
.page-hero__body {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.55;
  font-weight: 300;
  color: var(--ink);
  max-width: 56ch;
  margin: 0;
}
.page-hero__ctas {
  display: flex; flex-wrap: wrap;
  gap: clamp(0.6rem, 1.1vw, 0.9rem);
  margin-top: clamp(0.5rem, 1vw, 1rem);
}
.hero-banner {
  width: 100%;
  height: clamp(260px, 42vw, 480px);
  overflow: hidden;
  position: relative;
  margin: 0;
  background: var(--paper-deep);
}
.hero-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-banner__poster, .hero-banner__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-banner__video { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hero-banner__video { display: none; } }
/* <picture> wrappers (from releaf_picture) must fill their photo container so object-fit:cover
   resolves — otherwise the inner img keeps its natural height and the box clips/grows wrong. */
.hero-banner picture, .b02__photo picture, .b04__banner picture, .b05__banner picture,
.prod__card-photo picture, .uc__card-photo picture, .ex__card-photo picture,
.pilot__photo picture, .article__hero picture, .news__card-media picture,
.eco__card-logo picture { display: block; width: 100%; height: 100%; }
.hero-banner__caption {
  position: absolute;
  bottom: clamp(1rem, 2vw, 1.5rem);
  left: clamp(1rem, 3vw, 2.5rem);
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: 'Haben', sans-serif;
  font-size: clamp(0.6rem, 0.72vw, 0.68rem);
  letter-spacing: 0.32em;
  text-transform: uppercase; font-weight: 600;
  color: var(--paper);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
}
.hero-banner__caption::before {
  content: ''; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
}
h1, h2,
.page-hero__h, .intro-h, .uc__h, .pilots__h, .prod-section__h, .proof__h,
.matrix__h, .stats__h, .why__h, .ir__h, .brief__h, .brief-band__h,
.submit-city__h, .closer__h, .approach__h, .cust__h, .asses__h,
.b02__h, .b03__h, .b04__h, .b05__h,
.prod__card-name, .uc__card-name, .pilot__city, .types__card-title,
.thesis__row-name, .proc__step-title, .ex__card-name, .eco__card-name,
.media__item-title {
  font-family: 'Haben', sans-serif !important;
}
.chap__no,
.b02__num-no em, .b03__num-no em, .b04__num-no em, .b05__num-no em, .b06__num-no em,
.stage-corner-num,
.final-eyebrow em,
.b04__row-no,
.b05__card-num,
.b06__cta-num,
.proc__step-no,
.thesis__row-no {
  display: none !important;
}

/* — footer — */
.intro-sub,
.intro-body,
.b02__body p,
.b03__intro,
.b03__card-copy,
.b04__intro,
.b04__row-msg,
.b05__intro,
.b05__card-copy,
.step-note,
.final-body,
.foot__brand-tag,
.foot__legal {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: "kern", "liga", "ss01";
}
.foot {
  background: var(--ink-deep);
  color: rgba(237, 233, 223, 0.7);
  padding: clamp(4rem, 6vw, 6rem) clamp(1rem, 3vw, 2.5rem) clamp(1.5rem, 2.5vw, 2rem);
  border-top: 1px solid rgba(237, 233, 223, 0.14);
}
/* EU co-funding notice (client compliance request) */
.foot__eu {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.4rem);
  max-width: 1400px;
  margin: clamp(1.6rem, 3vw, 2.4rem) auto 0;
  padding-top: clamp(1.3rem, 2.5vw, 1.9rem);
  border-top: 1px solid rgba(237, 233, 223, 0.14);
}
.foot__eu-logo-wrap {
  flex: 0 0 auto;
  display: inline-flex;
  background: #fff;
  border-radius: 8px;
  padding: 7px 11px;
}
.foot__eu-logo-wrap img { height: clamp(34px, 4vw, 46px); width: auto; display: block; }
.foot__eu-text { display: flex; flex-direction: column; gap: 0.18rem; }
.foot__eu-line { font-size: clamp(0.74rem, 1vw, 0.85rem); font-weight: 500; color: rgba(237, 233, 223, 0.88); letter-spacing: 0.01em; }
.foot__eu-grant { font-size: 0.66rem; color: rgba(237, 233, 223, 0.4); letter-spacing: 0.05em; }
.foot__main {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: clamp(3rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 3vw, 2.5rem);
  border-bottom: 1px solid rgba(237,233,223,0.12);
  max-width: 1400px;
  margin-inline: auto;
}
@media (max-width: 900px) {
.foot__main { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 540px) {
.foot__main { grid-template-columns: 1fr; gap: 1.75rem; }
}
.foot__brand-logo {
  display: block;
  width: auto;
  height: clamp(1.5rem, 2.2vw, 2rem);
  aspect-ratio: 1280 / 141;
  background-color: var(--paper);
  -webkit-mask: url('../img/brand/logo.svg') no-repeat left center / contain;
          mask: url('../img/brand/logo.svg') no-repeat left center / contain;
  margin-bottom: clamp(0.85rem, 1.4vw, 1.15rem);
}
.foot__brand-tag {
  font-size: clamp(0.85rem, 0.95vw, 0.95rem);
  color: rgba(237, 233, 223, 0.55);
  max-width: 30ch;
  line-height: 1.55;
}
.foot__col-h {
  font-size: clamp(0.65rem, 0.78vw, 0.75rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: clamp(0.85rem, 1.4vw, 1.2rem);
}
.foot__col ul { list-style: none; padding: 0; margin: 0; }
.foot__col li + li { margin-top: clamp(0.45rem, 0.7vw, 0.6rem); }
.foot__col a {
  font-size: clamp(0.88rem, 1vw, 0.95rem);
  color: rgba(237, 233, 223, 0.78);
  transition: color 0.3s;
}
.foot__col a:hover { color: var(--paper); }
.foot__bottom {
  display: flex; justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap; gap: 1rem;
  font-size: clamp(0.7rem, 0.82vw, 0.82rem);
  color: rgba(237, 233, 223, 0.66);
  max-width: 1400px;
  margin-inline: auto;
}
.foot__bottom-left { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.foot__bottom-left a { color: rgba(237,233,223,0.7); transition: color 0.3s; }
.foot__bottom-left a:hover { color: var(--paper); }
.foot__bottom-right { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.foot__credit a { color: rgba(237,233,223,0.75); border-bottom: 1px solid rgba(237,233,223,0.25); transition: color 0.3s, border-color 0.3s; }
.foot__credit a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.foot__legal {
  margin-top: clamp(1.25rem, 2vw, 1.75rem);
  font-size: clamp(0.65rem, 0.76vw, 0.74rem);
  color: rgba(237, 233, 223, 0.3);
  line-height: 1.55;
  max-width: 1400px;
  margin-inline: auto;
}
/* ─── Cookie consent banner ───────────────────────────────────── */
.cookie-banner {
  position: fixed; left: 50%; bottom: clamp(1rem, 2.5vw, 1.75rem);
  transform: translateX(-50%);
  z-index: 130;
  width: min(680px, calc(100vw - 2rem));
  display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem);
  flex-wrap: wrap; justify-content: space-between;
  padding: clamp(1rem, 2vw, 1.4rem) clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--ink); color: var(--paper);
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text {
  font-family: 'Manrope', sans-serif; font-size: clamp(0.82rem, 1vw, 0.92rem);
  line-height: 1.5; font-weight: 300; color: rgba(237,233,223,0.85); margin: 0; flex: 1 1 280px;
}
.cookie-banner__text a { color: var(--accent); border-bottom: 1px solid currentColor; }
.cookie-banner__actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-banner .cta { font-size: 0.62rem; padding: 0.5rem 1rem; }
.cookie-banner .cta--solid { background: var(--paper); color: var(--ink); }
.cookie-banner .cta--solid:hover { background: var(--accent); color: var(--ink); }
.cookie-banner .cta--ghost { color: var(--paper); border-color: rgba(237,233,223,0.35); }
.cookie-banner .cta--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
@media (max-width: 480px) { .cookie-banner { flex-direction: column; align-items: stretch; } .cookie-banner__actions { justify-content: flex-end; } }

/* ────────────────────────────────────────────────────────────
   A11y · screen-reader-text (WP core does not inject this on the
   front end) + visible skip-link reveal on keyboard focus
   ──────────────────────────────────────────────────────────── */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto !important; clip-path: none; width: auto; height: auto;
  margin: 0; padding: 0.75rem 1.25rem; overflow: visible;
  top: 0.5rem; left: 0.5rem; z-index: 100000;
  background: var(--ink); color: var(--paper);
  font-family: 'Manrope', sans-serif; font-size: 0.85rem; font-weight: 600;
  text-decoration: none; border-radius: 4px;
}

/* ────────────────────────────────────────────────────────────
   A11y · consistent keyboard focus ring on all interactive
   elements (keyboard only — never on mouse/touch click)
   ──────────────────────────────────────────────────────────── */
/* Dual-tone ring (ink outline + accent halo) stays ≥3:1 against any
   surface — cream content, ink footer/closer bands, accent hovers —
   satisfying WCAG 1.4.11. outline isn't clipped by overflow:hidden;
   the accent halo only matters on the dark bands, which don't clip. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--accent);
  border-radius: 2px;
}
/* Pill CTAs: hug the rounded shape */
.cta:focus-visible, .intro-cta:focus-visible, .h-cta:focus-visible {
  outline-offset: 4px;
  border-radius: 999px;
}
/* Form fields use the minimalist underline aesthetic — a boxy outline ring
   looks heavy and out of place here. On keyboard focus we thicken the underline
   to a 2px accent line (via inset shadow → no layout shift) plus a faint accent
   wash. Clear, on-brand, and unobtrusive. Overrides the generic ring above. */
.cust__field input:focus-visible, .cust__field textarea:focus-visible, .cust__field select:focus-visible,
.cust__form input:focus-visible, .cust__form textarea:focus-visible, .cust__form select:focus-visible,
.asses__field input:focus-visible,
.wpcf7-form input:focus-visible, .wpcf7-form textarea:focus-visible, .wpcf7-form select:focus-visible {
  outline: none;
  border-bottom-color: var(--accent);
  box-shadow: inset 0 -2px 0 0 var(--accent);
  background: rgba(255, 140, 83, 0.06);
}

/* ============================================================
   Autonomous gallery slider (.rgal) — auto-crossfade band.
   Reusable component; markup via releaf_gallery(), JS gallery.js.
   ============================================================ */
.rgal { padding: clamp(3rem, 7vw, 6rem) 0; }
.rgal__head { margin: 0 0 clamp(1.4rem, 2.6vw, 2.2rem); }
.rgal__eyebrow {
  display: inline-block;
  font-family: 'Haben', sans-serif;
  font-weight: 500;
  font-size: clamp(0.62rem, 0.78vw, 0.72rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.rgal__h {
  font-family: 'Haben', sans-serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  max-width: 18ch;
}
.rgal__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: clamp(46px, 4vw, 60px);
  height: clamp(46px, 4vw, 60px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
  transition: background .25s ease, color .25s ease, transform .2s ease;
}
.rgal__arrow svg { width: 42%; height: 42%; }
.rgal__arrow--prev { left: clamp(0.8rem, 2.5vw, 2.2rem); }
.rgal__arrow--next { right: clamp(0.8rem, 2.5vw, 2.2rem); }
.rgal__arrow:hover { background: var(--accent); color: #fff; }
.rgal__arrow:active { transform: translateY(-50%) scale(0.93); }
.rgal__arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.rgal__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 86vh;
  overflow: hidden;
  background: var(--paper-deep);
}
.rgal__slides { position: absolute; inset: 0; }
.rgal__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease, visibility 0s linear 1.1s;
}
.rgal__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.1s ease, visibility 0s;
  z-index: 1;
}
.rgal__slide picture { display: block; width: 100%; height: 100%; }
.rgal__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rgal__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(2.4rem, 6vw, 4rem) clamp(1.2rem, 3vw, 2.2rem) clamp(1rem, 2vw, 1.4rem);
  font-family: 'Haben', sans-serif;
  font-weight: 400;
  font-size: clamp(0.78rem, 1.1vw, 0.95rem);
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(to top, rgba(16, 15, 14, 0.72) 0%, rgba(16, 15, 14, 0) 100%);
  z-index: 2;
}
.rgal__dots {
  position: absolute;
  right: clamp(1rem, 2.4vw, 1.8rem);
  bottom: clamp(1rem, 2.4vw, 1.8rem);
  display: flex;
  gap: 0.55rem;
  z-index: 3;
}
.rgal__dot {
  width: 9px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.rgal__dot:hover { background: rgba(255, 255, 255, 0.8); }
.rgal__dot.is-active { background: var(--accent); transform: scale(1.25); }
.rgal__dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 820px) {
  .rgal__h { max-width: none; }
  .rgal__arrow { width: 44px; height: 44px; }
}
@media (max-width: 640px) {
  .rgal__stage { aspect-ratio: 4 / 3; }
}
