/* ─────────────────────────────────────────────────────────────────
   EMBARK Wireframes — Brand system (Aleo + EMBARK palette)
   Per EMBARK Logo Guidelines (2026): typeface Aleo, primary colors
   Brand Green #00B48D and Black, secondary Sporty Yellow #D7DF23
   and a grey scale (#F2F2F2 → #B3B3B3).
   ─────────────────────────────────────────────────────────────── */

@font-face {
  font-family: "Aleo";
  src: url("../fonts/aleo-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aleo";
  src: url("../fonts/aleo-italic-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Brand palette — EMBARK Logo Guidelines */
  --brand-green:   #00B48D;
  --brand-yellow:  #D7DF23;
  --brand-black:   #000000;
  --brand-white:   #FFFFFF;
  --grey-05:       #F2F2F2;
  --grey-10:       #E6E6E6;
  --grey-20:       #CCCCCC;
  --grey-30:       #B3B3B3;

  /* Working tokens (refer to brand where possible) */
  --ink:        #000000;
  --ink-2:      #1A1A1A;
  --ink-3:      #5C5C5C;
  --ink-4:      #8A8A8A;
  --rule:       #CCCCCC;        /* grey-20 */
  --rule-2:     #E6E6E6;        /* grey-10 */
  --paper:      #FFFFFF;
  --paper-2:    #F2F2F2;        /* grey-05 */
  --paper-card: #FFFFFF;
  --mark:       #00B48D;        /* brand green for annotations / accent */
  --mark-soft:  #D8F2EA;
  --accent:     #00B48D;        /* default accent — green */
  --accent-soft:#D8F2EA;
  --grid-line:  rgba(0,0,0,.05);

  /* Type families — Aleo for everything, per brand guidelines */
  --t-display: "Aleo", Georgia, serif;
  --t-body:    "Aleo", Georgia, serif;
  --t-serif:   "Aleo", Georgia, serif;
  --t-mono:    "Aleo", Georgia, serif;   /* keep monospace-feeling roles in Aleo too */

  /* Sizes (scaled from brand hierarchy: H1 36pt, sub 16pt, body 12pt, cap 7pt) */
  --s-cap:   11px;
  --s-tag:   12px;
  --s-body:  14px;
  --s-lead:  18px;
  --s-h4:    20px;
  --s-h3:    26px;
  --s-h2:    36px;
  --s-h1:    56px;
  --s-disp:  88px;

  /* Layout */
  --col-gutter: 24px;
  --pad: 40px;
  --rad: 0px;
}

/* Accent tweak — sporty yellow alternative (still brand-approved) */
.accent-yellow {
  --accent:      #D7DF23;
  --accent-soft: #F4F7B7;
  --mark:        #B0B81C;       /* yellow reads better as text when darkened a touch */
}

/* ── Reset within wireframes ─────────────────────────────────── */
.wf, .wf * { box-sizing: border-box; }
.wf {
  font-family: var(--t-body);
  color: var(--ink);
  background: var(--paper);
  font-size: var(--s-body);
  line-height: 1.5;
  width: 100%;
  height: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}

/* faint document grid that reads as wireframe */
.wf-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 8px 8px;
  pointer-events: none;
  opacity: .6;
}

/* ── Type ────────────────────────────────────────────────────── */
.wf .t-disp {
  font-family: var(--t-display);
  font-size: var(--s-disp);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.wf .t-h1 {
  font-family: var(--t-display);
  font-size: var(--s-h1);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 700;
}
.wf .t-h2 {
  font-family: var(--t-display);
  font-size: var(--s-h2);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.wf .t-h3 {
  font-size: var(--s-h3);
  line-height: 1.25;
  letter-spacing: -0.005em;
  font-weight: 600;
}
.wf .t-h4 {
  font-size: var(--s-h4);
  line-height: 1.35;
  font-weight: 600;
}
.wf .t-lead {
  font-family: var(--t-serif);
  font-size: var(--s-lead);
  line-height: 1.5;
  font-weight: 300;
}
.wf .t-body { font-size: var(--s-body); line-height: 1.55; font-weight: 400; }
.wf .t-cap  {
  font-family: var(--t-mono);
  font-size: var(--s-cap);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.wf .t-tag {
  font-family: var(--t-mono);
  font-size: var(--s-tag);
  letter-spacing: .02em;
  color: var(--ink-3);
  font-weight: 500;
}
.wf .t-num {
  font-family: var(--t-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: .02em;
}
.wf .ink-3 { color: var(--ink-3); }
.wf .ink-4 { color: var(--ink-4); }
.wf .mark  { color: var(--mark); }

/* ── Rules + dividers ────────────────────────────────────────── */
.wf hr.r1 { border:0; border-top:1px solid var(--rule); margin: 0; }
.wf hr.r2 { border:0; border-top:1px solid var(--ink); margin: 0; }
.wf hr.dot{ border:0; border-top:1px dashed var(--rule); margin: 0; }

/* ── Boxes / placeholders ────────────────────────────────────── */
.wf .ph {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-4);
  overflow: hidden;
}
.wf .ph::before, .wf .ph::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top right, transparent 49.5%, var(--rule) 49.5%, var(--rule) 50.5%, transparent 50.5%);
}
.wf .ph::after {
  background:
    linear-gradient(to bottom right, transparent 49.5%, var(--rule) 49.5%, var(--rule) 50.5%, transparent 50.5%);
}
.wf .ph-lbl {
  position: relative; z-index: 1;
  background: var(--paper);
  padding: 4px 8px;
  font-family: var(--t-mono);
  font-size: var(--s-cap);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-3);
  border: 1px solid var(--rule);
}
.wf .ph.solid::before, .wf .ph.solid::after { display: none; }
.wf .ph.solid { background: var(--paper-2); }

.wf .card {
  background: var(--paper-card);
  border: 1px solid var(--rule);
}
.wf .card.flat { background: transparent; }
.wf .card.outline { background: transparent; border: 1px solid var(--ink); }

/* ── Buttons ─────────────────────────────────────────────────── */
.wf .btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--brand-white);
  font-size: var(--s-body);
  font-family: var(--t-body);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--rad);
  cursor: default;
}
.wf .btn.primary { background: var(--accent); border-color: var(--accent); color: var(--brand-black); }
.wf .btn.ghost { background: transparent; color: var(--ink); }
.wf .btn.tiny  { padding: 7px 12px; font-size: 12.5px; }
.wf .btn .arr { font-family: var(--t-mono); }

/* ── Tag / chip ──────────────────────────────────────────────── */
.wf .chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--rule);
  background: var(--paper);
  font-family: var(--t-mono);
  font-size: var(--s-tag);
  letter-spacing: .02em;
  color: var(--ink-2);
}
.wf .chip.solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.wf .chip.mark  { background: var(--mark-soft); border-color: var(--mark); color: var(--mark); }

/* ── Annotation marks (the wireframe red note) ──────────────── */
.wf .anno {
  position: absolute;
  font-family: var(--t-mono);
  font-size: 10.5px;
  color: var(--mark);
  letter-spacing: .02em;
  pointer-events: none;
  display: flex; align-items: flex-start; gap: 6px;
}
.wf .anno .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mark);
  margin-top: 4px; flex: none;
}
.wf .anno .line { border-top: 1px dashed var(--mark); width: 24px; margin-top: 7px; }

/* ── Layout helpers ──────────────────────────────────────────── */
.wf .row { display: flex; }
.wf .col { display: flex; flex-direction: column; }
.wf .gap-4  { gap: 4px; }
.wf .gap-8  { gap: 8px; }
.wf .gap-12 { gap: 12px; }
.wf .gap-16 { gap: 16px; }
.wf .gap-20 { gap: 20px; }
.wf .gap-24 { gap: 24px; }
.wf .gap-32 { gap: 32px; }
.wf .gap-40 { gap: 40px; }
.wf .gap-56 { gap: 56px; }
.wf .center { align-items: center; }
.wf .between { justify-content: space-between; }
.wf .end { justify-content: flex-end; }
.wf .baseline { align-items: baseline; }
.wf .stretch { align-items: stretch; }
.wf .wrap { flex-wrap: wrap; }
.wf .grow { flex: 1 1 auto; }

.wf .pad   { padding: var(--pad); }
.wf .social-ico { opacity: .55; transition: opacity .18s ease, transform .18s ease; }
.wf .social-ico:hover { opacity: 1; transform: translateY(-1px); }
.wf .pad-x { padding-left: var(--pad); padding-right: var(--pad); }
.wf .pad-y { padding-top: var(--pad); padding-bottom: var(--pad); }

.wf .grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--col-gutter);
}
.wf .grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--col-gutter);
}
.wf .grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--col-gutter);
}
.wf .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--col-gutter);
}
.wf .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--col-gutter);
}

/* ── Frame chrome — page wrapper inside artboard ─────────────── */
.wf-page {
  position: relative;
  width: 100%;
  min-height: 100%;
  height: auto;
  background: var(--paper);
  overflow: visible; /* must stay visible so the side rail can position:sticky */
  display: flex;
  flex-direction: column;
}
.wf-page-scroll {
  flex: 1 1 auto;
  overflow: visible;
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* ── Top nav patterns ────────────────────────────────────────── */
.wf-nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  font-size: 13px;
  position: relative;
  gap: 32px;
}
.wf-nav-bar .brand {
  font-family: var(--t-mono);
  font-size: 14px;
  letter-spacing: .12em;
  font-weight: 500;
}
.wf-nav-bar nav { display: flex; gap: 24px; }
.wf-nav-bar nav a {
  color: var(--ink-2); text-decoration: none;
  position: relative; padding-bottom: 2px;
}
.wf-nav-bar nav a.active { color: var(--ink); border-bottom: 1px solid var(--ink); }
.wf-nav-bar .util { display: flex; align-items: center; gap: 18px; color: var(--ink-3); font-family: var(--t-mono); font-size: 11.5px; }

/* sticky underline variant — ZKM-style masthead: logo gets its own band */
.wf-nav-underline { padding: 0; border-bottom: 1px solid var(--rule); }
.wf-nav-underline .brand-row { display:flex; align-items:center; justify-content:space-between; padding: 26px var(--pad); border-bottom: 1px solid var(--rule-2); }
.wf-masthead-logo { height: 132px; width: auto; max-width: 60%; display: block; }
.wf-nav-underline nav { display:flex; gap: 36px; padding: 16px var(--pad); }
.wf-nav-underline nav a { color: var(--ink-3); text-decoration:none; font-family: var(--t-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding-bottom: 12px; }
.wf-nav-underline nav a.active { color: var(--ink); border-bottom: 2px solid var(--ink); }

/* Side rail nav */
.wf-rail {
  width: 280px;
  padding: 0;
  display: flex; flex-direction: column;
  background: var(--paper);
  flex: none;
  position: relative;
  z-index: 2;
  box-shadow: 4px 0 24px -8px rgba(0,0,0,.12);
}
/* Logo zone — white, generous clear space (room to breathe), hairline below */
.wf-rail-band {
  padding: 28px 20px 24px;
  display: flex; align-items: center;
  border-bottom: 1px solid var(--rule-2);
}
.wf-rail-logo { width: 100%; max-width: 240px; height: auto; display: block; }
/* Unframed wordmark — give it maximal presence, filling the rail band width */
.wf-rail-band-unframed { padding: 26px 16px 24px; }
.wf-rail-logo-unframed { max-width: 100%; }
.wf-rail-body {
  padding: 30px 26px 28px;
  display: flex; flex-direction: column; gap: 26px;
  flex: 1 1 auto;
}
.wf-rail nav { display: flex; flex-direction: column; gap: 2px; }
.wf-rail nav a {
  color: var(--ink-2); text-decoration: none;
  padding: 7px 10px; margin: 0 -10px;
  font-size: 13px; border-radius: var(--radius-sm, 7px);
  transition: background .15s, color .15s;
}
.wf-rail nav a:hover { background: var(--paper-2); color: var(--ink); }
.wf-rail nav a.active { background: var(--accent); color: #03251D; font-weight: 600; }
.wf-rail .sect-lbl {
  font-family: var(--t-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-top: 8px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.wf-footer-wrap {
  background: var(--ink);
  color: var(--paper);
  margin-top: auto;
  border-top: 1px solid var(--ink);
}
.wf-footer-cols {
  padding: 56px var(--pad) 40px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  font-family: var(--t-body);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(244,241,234,.18);
}
.wf-footer-cols .col-block { display: flex; flex-direction: column; gap: 8px; }
.wf-footer-cols .col-block .lbl {
  font-family: var(--t-mono);
  color: rgba(244,241,234,.55);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10.5px;
  margin-bottom: 6px;
}
.wf-footer-cols .col-block a {
  color: var(--paper);
  text-decoration: none;
  font-size: 13px;
}
.wf-footer-cost {
  padding: 28px var(--pad);
  display: flex;
  align-items: center;
  gap: 56px;
  border-bottom: 1px solid rgba(244,241,234,.18);
}
.wf-footer-util {
  padding: 16px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--t-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: rgba(244,241,234,.5);
}
.wf-footer-util a { color: rgba(244,241,234,.7); text-decoration: none; }

/* ── Misc display ────────────────────────────────────────────── */
.wf .meta-line {
  display: flex; gap: 14px; align-items: baseline;
  font-family: var(--t-mono); font-size: 11px; color: var(--ink-3);
  letter-spacing: .02em;
}
.wf .num-tag {
  font-family: var(--t-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .04em;
}
.wf .pull-quote {
  font-family: var(--t-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
}

/* ── Map placeholder ─────────────────────────────────────────── */
.wf .map-bg {
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}
.wf .map-bg::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(15,15,15,.05), transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 39px, var(--grid-line) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, var(--grid-line) 39px 40px);
}
.wf .map-pin {
  position: absolute;
  width: 10px; height: 10px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.wf .map-pin.lg { width: 14px; height: 14px; background: var(--ink); }
.wf .map-pin.mark { border-color: var(--mark); background: var(--mark); }

/* ── Small helpers ───────────────────────────────────────────── */
.wf .underline-link { /* legacy; overridden by brand link block below */ text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.wf .arrow-out::after { content: " ↗"; font-family: var(--t-mono); }
.wf .arrow-r::after   { content: " →"; font-family: var(--t-mono); }
.wf .full-w { width: 100%; }

/* ── Brief / cover page (intro card on canvas) ───────────────── */
.brief {
  font-family: var(--t-body);
  color: var(--ink);
  background: var(--paper);
  padding: 56px 64px;
  height: 100%;
  display: flex; flex-direction: column; gap: 32px;
}
.brief h1 {
  font-family: var(--t-display);
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0;
}
.brief .meta { font-family: var(--t-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.brief p { max-width: 60ch; font-size: 15px; line-height: 1.6; margin: 0; }
.brief .label { font-family: var(--t-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-bottom: 6px; }
.brief .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; }
.brief ul { margin: 0; padding-left: 18px; }
.brief li { margin-bottom: 4px; font-size: 14px; }
.brief .rule-top { border-top: 1px solid var(--ink); padding-top: 14px; }


/* ════════════════════════════════════════════════════════════════
   EMBARK — Hi-Fi upgrade layer
   Loaded AFTER styles.css. Elevates the mid-fi wireframe system to
   a production-quality visual design without touching the markup:
   real image treatments, depth, radius, refined type, hover states.
   ════════════════════════════════════════════════════════════════ */

:root {
  --radius:    10px;
  --radius-sm: 7px;
  --radius-lg: 16px;
  --ink:       #0B0E0D;
  --ink-2:     #1C201E;
  --ink-3:     #3C423F;
  --ink-4:     #97A09C;
  --rule:      #E4E7E5;
  --rule-2:    #EFF1F0;
  --paper:     #FFFFFF;
  --paper-2:   #F5F7F6;
  --paper-card:#FFFFFF;
  --accent:      #00B48D;
  --accent-deep: #007E63;
  --accent-soft: #E2F5EF;
  /* Yellow = "live / now" signal (per brand guidelines: Sporty Yellow).
     Green stays identity + primary action; yellow only flags what's current. */
  --live:        #D7DF23;
  --live-deep:   #585C0B;
  --live-soft:   #E3E87D;
  --shadow-sm: 0 1px 2px rgba(11,14,13,.04), 0 2px 8px -4px rgba(11,14,13,.08);
  --shadow-md: 0 2px 4px rgba(11,14,13,.04), 0 14px 32px -16px rgba(11,14,13,.16);
  --shadow-lg: 0 8px 60px -20px rgba(11,14,13,.28);
}

/* Kill the wireframe grid overlay everywhere */
.wf .wf-grid { display: none !important; }

/* Smoother global rendering */
.wf, .wf * { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.wf { background: var(--paper); }

/* ── Type polish ─────────────────────────────────────────────── */
/* Softer display weight — Aleo at 600 reads confident, not aggressive */
.wf .t-disp { letter-spacing: -0.018em; font-weight: 600; }
.wf .t-h1   { letter-spacing: -0.014em; font-weight: 600; }
.wf .t-h2   { letter-spacing: -0.012em; font-weight: 600; }
.wf .emb-hero h1 { font-weight: 600; letter-spacing: -0.018em; }
.wf .genre-name { font-weight: 600 !important; }
/* Near-black text throughout — drop muddy greys for body & leads */
.wf .t-lead { color: var(--ink-2); font-weight: 400; }
.wf .ink-3, .wf .t-body.ink-3, .wf .t-lead.ink-3 { color: var(--ink-2) !important; }
.wf .t-cap  { color: var(--accent-deep); font-weight: 700; letter-spacing: .14em; }
.wf .mark   { color: var(--accent-deep); }

/* ── Image treatments — replace X-cross placeholders ─────────── */
.wf .ph {
  background:
    radial-gradient(120% 120% at 0% 0%, #EEF2F0 0%, #E3E8E6 55%, #D8DEDB 100%);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  color: var(--ink-3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.wf .ph::before {
  /* soft media glyph instead of the wireframe X */
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 50% 46%, rgba(11,14,13,.10) 0 1px, transparent 1.5px),
    linear-gradient(135deg, transparent 0%, rgba(0,180,141,.06) 100%);
  background-size: 26px 26px, 100% 100%;
  background-position: center, center;
  opacity: .5;
}
.wf .ph::after { display: none; }
.wf .ph-lbl {
  position: absolute; left: 12px; bottom: 12px; top: auto;
  z-index: 2;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 5px 10px;
  border: none;
  border-radius: 999px;
  font-family: var(--t-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  max-width: calc(100% - 24px);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Dark "media-art still" treatment — applied to portrait/theme/artwork panels.
   Targeted by aspect ratio used for hero & WG imagery (4/5, 4/3, 16/10, 21/9, 1/1). */
.wf .ph[style*="4/5"], .wf .ph[style*="4 / 5"],
.wf .ph[style*="4/3"], .wf .ph[style*="4 / 3"],
.wf .ph[style*="16/10"], .wf .ph[style*="16 / 10"],
.wf .ph[style*="21/9"], .wf .ph[style*="21 / 9"] {
  background:
    radial-gradient(140% 120% at 15% 10%, #103a32 0%, #0c211c 45%, #07100d 100%);
  border-color: rgba(255,255,255,.08);
}
.wf .ph[style*="4/5"]::before, .wf .ph[style*="4 / 5"]::before,
.wf .ph[style*="4/3"]::before, .wf .ph[style*="4 / 3"]::before,
.wf .ph[style*="16/10"]::before, .wf .ph[style*="16 / 10"]::before,
.wf .ph[style*="21/9"]::before, .wf .ph[style*="21 / 9"]::before {
  background-image:
    radial-gradient(circle at 50% 50%, rgba(0,180,141,.22) 0 1px, transparent 1.5px),
    linear-gradient(120deg, rgba(0,180,141,.16), transparent 60%);
  background-size: 30px 30px, 100% 100%;
  opacity: .7;
}
.wf .ph[style*="4/5"] .ph-lbl, .wf .ph[style*="4 / 5"] .ph-lbl,
.wf .ph[style*="4/3"] .ph-lbl, .wf .ph[style*="4 / 3"] .ph-lbl,
.wf .ph[style*="16/10"] .ph-lbl, .wf .ph[style*="16 / 10"] .ph-lbl,
.wf .ph[style*="21/9"] .ph-lbl, .wf .ph[style*="21 / 9"] .ph-lbl {
  background: rgba(0,0,0,.45);
  color: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* ── Cards — depth + hover lift ──────────────────────────────── */
.wf .card {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.wf .card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: #D2D8D5;
}
.wf .card.outline {
  border: 1px solid var(--rule);
  background: var(--paper-2);
  box-shadow: none;
}
.wf .card.outline:hover { transform: none; box-shadow: var(--shadow-sm); }

/* ── Scroll-reveal motion layer ───────────────────────────────
   Base state is fully visible (safe for print/PDF/reduced-motion).
   Only when JS adds .reveal-on to the root do targets start hidden
   and reveal as they enter the viewport, with a staggered cadence. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on .rv {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .62s cubic-bezier(.2,.6,.2,1),
                transform .62s cubic-bezier(.2,.6,.2,1);
    will-change: opacity, transform;
  }
  .reveal-on .rv.in { opacity: 1; transform: none; }
}

/* ── Signature cinematic hero (homepage) ─────────────────────── */
.wf .emb-hero {
  position: relative; overflow: hidden; background: #06100D;
  min-height: 780px; display: flex; align-items: flex-end;
}
.wf .emb-hero .eh-bg { position: absolute; inset: 0; }
.wf .emb-hero .eh-bg img {
  width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%;
  animation: eh-drift 26s ease-in-out infinite alternate;
}
@keyframes eh-drift { from { transform: scale(1.06); } to { transform: scale(1.16) translate(-1.5%, -1%); } }
.wf .emb-hero .eh-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,10,8,.92) 0%, rgba(4,10,8,.55) 38%, rgba(4,10,8,.15) 70%, rgba(4,10,8,.35) 100%);
}
.wf .emb-hero .eh-grain {
  position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}
.wf .emb-hero .eh-inner { position: relative; z-index: 2; padding: 0 var(--pad) 60px; width: 100%; }
.wf .emb-hero .eh-cue {
  position: absolute; z-index: 2; left: var(--pad); top: 36px;
  color: rgba(255,255,255,.85); font-family: var(--t-mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  display: flex; align-items: center; gap: 9px;
}
.wf .emb-hero .eh-cue .ln { width: 34px; height: 1px; background: rgba(255,255,255,.5); position: relative; overflow: hidden; }
.wf .emb-hero .eh-cue .ln::after { content: ""; position: absolute; inset: 0; background: var(--live); transform: translateX(-100%); animation: eh-sweep 2.6s ease-in-out infinite; }
@keyframes eh-sweep { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
.wf .emb-hero .eh-credit {
  position: absolute; z-index: 2; right: var(--pad); bottom: 18px;
  color: rgba(255,255,255,.7); font-family: var(--t-mono); font-size: 10.5px; letter-spacing: .02em;
}
.wf .emb-hero h1 { color: #fff; }
.wf .emb-hero .eh-lede { color: rgba(255,255,255,.86); }
.wf .emb-hero .btn.glass { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.wf .emb-hero .btn.glass:hover { background: rgba(255,255,255,.16); }
@media (prefers-reduced-motion: reduce) {
  .wf .emb-hero .eh-bg img { animation: none; }
  .wf .emb-hero .eh-cue .ln::after { animation: none; }
}

/* Align each inner page's first heading with the rail "NETWORK" label,
   giving the rail logo breathing room. !important so it wins over the
   per-page inline paddingTop values on first blocks. */
.wf .wf-page-scroll > .pad:first-child,
.wf .wf-page-scroll > .grid-12.pad:first-child { padding-top: 28px !important; }

/* ── Buttons — radius, weight, hover ─────────────────────────── */
.wf .btn {
  border-radius: 999px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  letter-spacing: .01em;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
}
.wf .btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.wf .btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #03251D;
  font-weight: 700;
}
.wf .btn.primary:hover { background: #00C79B; }
.wf .btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.wf .btn.ghost:hover { border-color: var(--ink); background: var(--paper-2); box-shadow: none; transform: translateY(-1px); }
.wf .btn.tiny { padding: 8px 14px; }

/* ── Chips ───────────────────────────────────────────────────── */
.wf .chip {
  border-radius: 999px;
  padding: 5px 12px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink-2);
  font-weight: 500;
  transition: border-color .18s ease, background .18s ease;
}
.wf .chip:hover { border-color: var(--ink-4); }
.wf .chip.solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.wf .chip.mark  { background: var(--accent-soft); border-color: transparent; color: var(--accent-deep); font-weight: 600; }

/* ── Links ───────────────────────────────────────────────────── */
.wf .underline-link,
.wf a.underline-link {
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1.5px;
  background-repeat: no-repeat;
  background-position: left 100%;
  padding-bottom: 2px;
  transition: background-size .25s ease, color .2s ease;
  display: inline-block;
  width: fit-content;
  align-self: flex-start;
}
.wf .underline-link:visited,
.wf a.underline-link:visited { color: var(--ink); }
.wf .underline-link:hover,
.wf a.underline-link:hover {
  background-size: 100% 1.5px;
  color: var(--accent-deep);
}
/* Grant PDF links — ink (never WP/browser blue or purple visited). */
.wf a.embark-grant-pdf,
.wf a.embark-grant-pdf:link,
.wf a.embark-grant-pdf:visited {
  color: var(--ink) !important;
}
.wf a.embark-grant-pdf:hover {
  color: var(--accent-deep) !important;
}
.wf .underline-link.arrow-r::after,
.wf a.underline-link.arrow-r::after {
  content: " →";
  font-family: var(--t-mono);
  color: inherit;
}

/* ── Top nav bar ─────────────────────────────────────────────── */
.wf .wf-nav-bar {
  border-bottom: 1px solid var(--rule);
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  padding: 20px var(--pad);
}
.wf .wf-nav-bar nav a, .wf .wf-nav-underline nav a {
  position: relative;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .18s ease;
  border: none !important;
}
.wf .wf-nav-bar nav a::after, .wf .wf-nav-underline nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.wf .wf-nav-bar nav a:hover, .wf .wf-nav-underline nav a:hover { color: var(--ink); }
.wf .wf-nav-bar nav a.active, .wf .wf-nav-underline nav a.active { color: var(--ink); font-weight: 600; }
.wf .wf-nav-bar nav a.active::after, .wf .wf-nav-underline nav a.active::after { transform: scaleX(1); }
.wf .wf-nav-underline { border-bottom: 1px solid var(--rule); }

/* ── Side rail (white, logo zone with clear space) ───────────── */
.wf .wf-rail {
  border-right: none;
  background: var(--paper);
}
.wf .wf-rail nav a {
  border-radius: var(--radius-sm);
  padding: 7px 10px; margin: 0 -10px;
  color: var(--ink-2);
  transition: background .16s ease, color .16s ease;
}
.wf .wf-rail nav a:hover { background: var(--paper-2); color: var(--ink); }
.wf .wf-rail nav a.active { background: var(--accent); color: #03251D; font-weight: 600; }
.wf .wf-rail .sect-lbl { color: var(--accent-deep); font-weight: 700; }
/* active section on the white rail — ink label + yellow tick */
.wf .wf-rail .sect-lbl.sect-active {
  color: var(--ink); position: relative; padding-left: 11px;
}
.wf .wf-rail .sect-lbl.sect-active::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--live); border-radius: 2px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.wf .wf-footer-wrap { background: #07100D; }
.wf .wf-footer-cols {
  border-bottom-color: rgba(255,255,255,.1);
  display: grid;
  grid-template-columns: minmax(260px, 1.7fr) repeat(4, minmax(110px, 1fr));
  gap: 34px 40px;
  align-items: start;
}
.wf .wf-footer-cost { border-bottom-color: rgba(255,255,255,.1); }
.wf .wf-footer-cols .col-block a {
  transition: color .16s ease, padding-left .16s ease;
}
.wf .wf-footer-cols .col-block a:hover { color: var(--accent); padding-left: 3px; }
.wf-social { display: flex; gap: 8px; margin-top: 8px; }
.wf-social a {
  width: 34px; height: 34px; padding: 0 !important;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: rgba(255,255,255,.85) !important;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.wf-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #03251D !important;
  transform: translateY(-1px);
  padding-left: 0 !important;
}

/* ── Footer: stay-in-touch band (newsletter + social) ───────── */
.wf .wf-footer-touch {
  padding: 30px var(--pad);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px 64px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.wf .ft-news { display: flex; flex-direction: column; gap: 10px; flex: 1 1 360px; max-width: 460px; min-width: 260px; }
.wf .ft-news-row { display: flex; align-items: stretch; max-width: 380px; }
.wf .ft-news-input {
  flex: 1 1 auto;
  border: 1px solid rgba(255,255,255,.28);
  border-right: none;
  border-radius: 999px 0 0 999px;
  padding: 11px 18px;
  color: rgba(255,255,255,.5);
  font-size: 13px;
  display: flex; align-items: center;
}
.wf .ft-news-btn {
  flex: none;
  background: var(--accent);
  color: #03251D;
  font-weight: 700;
  border-radius: 0 999px 999px 0;
  padding: 11px 20px;
  font-size: 13px;
  display: flex; align-items: center;
  white-space: nowrap;
}
.wf .ft-follow { display: flex; flex-direction: column; gap: 10px; flex: 0 0 auto; }
.wf .ft-follow .wf-social { margin-top: 0; }
.wf hr.r1 { border-top-color: var(--rule); }
.wf hr.r2 { border-top-color: var(--ink); }

/* ── Stats: tighten numerals ─────────────────────────────────── */
.wf .t-disp.stat, .wf .grid-6 .t-disp, .wf .grid-4 .t-disp { font-feature-settings: "tnum" 1; }

/* ── Map: refined ────────────────────────────────────────────── */
.wf .map-bg {
  border-radius: var(--radius);
  background: linear-gradient(180deg, #F2F5F4 0%, #E9EEEC 100%);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.wf .map-pin { box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.wf .map-pin.lg { background: var(--accent); border-color: var(--accent); }
.wf .map-pin.mark { background: var(--accent-deep); border-color: var(--accent-deep); }

/* ── Accent-soft surfaces pick up the green tint ─────────────── */
.accent-yellow { --accent: #00B48D; --accent-soft: #E2F5EF; }

/* ── "Live / now" system — the yellow accent's single job ────── */
.wf .live-banner {
  background: var(--live) !important;
  color: var(--ink) !important;
  border: none !important;
}
.wf .live-banner .t-cap { color: var(--ink) !important; }
.wf .live-banner .t-tag { color: rgba(0,0,0,.7) !important; }
.wf .live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink); margin-right: 8px; vertical-align: middle;
  animation: emb-pulse 2s infinite;
}
@keyframes emb-pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
/* Open-call status chip — outline = rolling, filled black = has a deadline */
.wf .oc-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; letter-spacing: .04em; font-weight: 600;
  padding: 4px 11px; border-radius: 999px;
  border: 1px solid rgba(0,0,0,.32); color: var(--ink); white-space: nowrap;
}
.wf .oc-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.wf .oc-status.due { background: var(--ink); color: #fff; border-color: var(--ink); }
.wf .oc-status.due::before { background: #fff; }

/* Open-call rows — stay row-like (exclude from .grid-12 mobile stack) */
.wf .oc-list { display: flex; flex-direction: column; }
.wf .oc-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 5fr) minmax(0, 4fr) minmax(110px, 2fr);
  gap: 12px 16px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0,0,0,.18);
}
.wf .oc-row .oc-count { font-size: 26px; line-height: 1; }
.wf .oc-row .oc-status-wrap { justify-content: flex-end; }

/* "now" marker on news/listing rows — yellow-deep text, no fill */
.wf .t-tag.now, .wf .chip.now { color: var(--live-deep) !important; font-weight: 700; }
/* Shared LIVE chip — "open / act now" status & category (yellow = now) */
.wf .live-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--live-soft); color: var(--live-deep);
  border: 1px solid #E8EFB0; border-radius: 999px;
  padding: 5px 12px; font-weight: 700; font-size: 11px;
  letter-spacing: .04em; text-transform: uppercase; line-height: 1;
}
.wf .live-chip::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--live-deep); animation: emb-pulse 2s infinite;
}
.wf .live-chip.plain::before { display: none; }

/* News archive + article */
.wf .evt-title { letter-spacing: -0.02em; }

.wf .embark-article-body > p { margin: 0 0 1em; font-size: 15px; line-height: 1.6; }
.wf .embark-article-body > p:last-child { margin-bottom: 0; }
.wf .article-title { letter-spacing: -0.02em; }

/* Contact Form 7 — PageContact (grid-2 + card.outline + btn.primary) */
.wf .embark-cf7 .wpcf7 { margin: 0; }
.wf .embark-cf7 .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}
/* CF7 injects a fieldset for hidden keys — browser default = thin empty bar */
.wf .embark-cf7 fieldset {
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  min-inline-size: 0;
}
.wf .embark-cf7 .hidden-fields-container,
.wf .embark-cf7 .screen-reader-response:not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}
.wf .embark-cf7 .embark-cf7-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wf .embark-cf7 .embark-cf7-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.wf .embark-cf7 p { margin: 0; }
.wf .embark-cf7 br { display: none !important; }
.wf .embark-cf7 .embark-cf7-row2 > p { display: contents; }
.wf .embark-cf7 .embark-cf7-field,
.wf .embark-cf7 label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: default;
}
.wf .embark-cf7 .embark-cf7-label {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-3);
  line-height: 1.2;
}
.wf .embark-cf7 .wpcf7-form-control-wrap { display: block; width: 100%; }
.wf .embark-cf7 input.wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wf .embark-cf7 textarea.wpcf7-form-control,
.wf .embark-cf7 select.wpcf7-form-control {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius, 0);
  padding: 11px 12px;
  font-family: var(--t-body);
  font-size: var(--s-body, 15px);
  line-height: 1.4;
  color: var(--ink-4);
  box-shadow: none;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.wf .embark-cf7 textarea.wpcf7-form-control {
  min-height: 120px;
  height: 120px;
  resize: vertical;
}
.wf .embark-cf7 input.wpcf7-form-control::placeholder,
.wf .embark-cf7 textarea.wpcf7-form-control::placeholder {
  color: var(--ink-4);
  opacity: 1;
}
.wf .embark-cf7 select.wpcf7-form-control {
  color: var(--ink-4);
  background-color: var(--paper-2);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 2px), calc(100% - 11px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
  cursor: pointer;
}
.wf .embark-cf7 select.wpcf7-form-control option { color: var(--ink); }
.wf .embark-cf7 input.wpcf7-form-control:focus,
.wf .embark-cf7 textarea.wpcf7-form-control:focus,
.wf .embark-cf7 select.wpcf7-form-control:focus {
  border-color: var(--rule);
  box-shadow: var(--shadow-sm);
  background: var(--paper-2);
  color: var(--ink);
}
.wf .embark-cf7 input.wpcf7-form-control:not(:placeholder-shown),
.wf .embark-cf7 textarea.wpcf7-form-control:not(:placeholder-shown) {
  color: var(--ink);
}
.wf .embark-cf7 .embark-cf7-actions {
  display: flex;
  align-items: center;
}
.wf .embark-cf7 input.wpcf7-submit,
.wf .embark-cf7 .embark-cf7-submit,
.wf .embark-cf7 .wpcf7-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #03251D;
  font-family: var(--t-body);
  font-weight: 700;
  font-size: var(--s-body, 15px);
  line-height: 1.2;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: none;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.wf .embark-cf7 input.wpcf7-submit::after,
.wf .embark-cf7 .embark-cf7-submit::after {
  content: "→";
  font-family: var(--t-mono);
  font-weight: 600;
}
.wf .embark-cf7 input.wpcf7-submit:hover,
.wf .embark-cf7 .embark-cf7-submit:hover,
.wf .embark-cf7 .wpcf7-submit:hover {
  background: #00C79B;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.wf .embark-cf7 .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #b42318;
  margin-top: 4px;
}
.wf .embark-cf7 .wpcf7-response-output {
  margin: 8px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius, 0);
  border: 1px solid var(--rule);
  background: var(--paper-2);
  font-size: 14px;
}
.wf .embark-cf7 .wpcf7-mail-sent-ok,
.wf .embark-cf7 form.sent .wpcf7-response-output {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.wf .embark-cf7 .wpcf7-spinner {
  margin-left: 10px;
  background-color: var(--accent);
}
.wf .embark-cf7 .wpcf7-list-item { margin: 0; }
@media (max-width: 700px) {
  .wf .embark-cf7 .embark-cf7-row2 { grid-template-columns: 1fr; }
}

/* Inline live status text (with pulsing dot) for deadline/open lines */
.wf .live-text {
  color: var(--live-deep) !important; font-weight: 700;
  display: inline-flex; align-items: center; gap: 7px;
}
.wf .live-text::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--live-deep); animation: emb-pulse 2s infinite; flex: none;
}
.wf .live-text.nodot::before { display: none; }

/* ── Signature yellow marker — highlights ONE key word per heading.
   A refined highlighter swipe behind a single word: the brand gesture. ── */
.wf .yhl { position: relative; white-space: nowrap; z-index: 0; }
.wf .yhl::before {
  content: ""; position: absolute; left: -2px; right: -2px;
  bottom: 0.08em; height: 0.34em; background: var(--live);
  z-index: -1; border-radius: 1px; transform: skewX(-3deg);
}

/* ── Active-state marker on the green rail ───────────────────── */
.wf .wf-rail nav a.active { position: relative; }
.wf .wf-rail nav a.active::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px;
  background: var(--live); border-radius: 2px;
}
.wf .chip.solid { position: relative; }
.wf .chip.solid::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: -5px; height: 2px;
  background: var(--live); border-radius: 2px;
}

/* Yellow underline accent under section headings' right-side links */
.wf .underline-accent {
  background-image: linear-gradient(var(--live), var(--live));
  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%;
  padding-bottom: 3px; text-decoration: none;
}

.wf .ph.has-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: #07100D;
}
.wf .ph.has-img::before, .wf .ph.has-img::after { display: none; }
.wf .ph-credit {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  background: rgba(0,0,0,.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: rgba(255,255,255,.92);
  font-family: var(--t-mono);
  font-size: 9.5px;
  letter-spacing: .02em;
  padding: 3px 8px;
  border-radius: 999px;
  max-width: calc(100% - 20px);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ── PageHero shared system ──────────────────────────────────── */
.wf .sh-tick { display: inline-flex; gap: 4px; width: auto; height: 14px; background: none; }
.wf .sh-tick i { display: block; width: 5px; height: 14px; background: var(--live); transform: skewX(25deg); border-radius: 1px; }
.wf .page-hero-banner { border-radius: var(--radius); overflow: hidden; }
.wf .page-hero-scrim {
  position: absolute; inset: 0; border-radius: var(--radius); pointer-events: none;
  background: linear-gradient(to top, rgba(7,16,13,.84) 0%, rgba(7,16,13,.18) 46%, rgba(7,16,13,.04) 100%);
}

/* ── 404 page ────────────────────────────────────────────────── */
.wf .genre-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-card);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.wf .genre-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #D2D8D5; }
.wf .genre-media { position: relative; overflow: hidden; }
/* ── Editorial horizontal gallery rail (scalable — no fixed image count) ── */
.wf .hgal {
  display: flex; gap: 18px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding-left: var(--pad);
  margin: 0 calc(-1 * var(--pad)); padding: 6px var(--pad) 2px;
  align-items: flex-start;
  scrollbar-width: none; -ms-overflow-style: none;
}
.wf .hgal::-webkit-scrollbar { display: none; }
/* Width follows artwork aspect ratio at fixed rail height (HomeA GalleryRail). */
.wf .hgal-item { flex: 0 0 auto; margin: 0; scroll-snap-align: start; max-width: min(72vw, 750px); }
.wf .hgal-item.lead { flex-basis: auto; }
.wf .hgal-item .ph {
  width: auto;
  height: 420px;
  aspect-ratio: var(--hgal-ratio, 16 / 9);
  border-radius: var(--radius);
  overflow: hidden;
}
.wf .hgal-item .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wf .hgal-cap { margin-top: 10px; }
.wf .hgal-ctrl { display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--ink); padding-top: 16px; margin-top: 20px; }
.wf .hgal-arrow { appearance: none; -webkit-appearance: none; border: none; background: none; font-size: 26px; line-height: 1; color: var(--ink); cursor: pointer; padding: 2px 8px; transition: opacity .15s ease; }
.wf .hgal-arrow:hover:not(:disabled) { opacity: .55; }
.wf .hgal-arrow:disabled { opacity: .22; cursor: default; }
.wf .hgal-count { font-variant-numeric: tabular-nums; font-size: 13px; letter-spacing: .08em; color: var(--ink-2); min-width: 54px; text-align: center; }

/* Homepage / archive news — kind (Conference, Event) vs scope (All, WG3). */
.wf .news-row .news-kind {
  color: var(--ink-3);
  font-weight: 500;
}
.wf .news-row .news-scope {
  color: var(--accent);
  font-weight: 700;
}
.wf .news-row .news-kind.now { color: var(--live-deep); font-weight: 700; }

.wf .genre-media .ph { border-radius: 0; border: none; border-bottom: 1px solid var(--rule); }
/* Expressive hover — slow artwork zoom + yellow reveal sweep + index lift.
   The signature micro-interaction for the "What is media art?" gallery. */
.wf .genre-media .ph img { transition: transform .9s cubic-bezier(.2,.6,.2,1); will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .wf .genre-card:hover .genre-media .ph img { transform: scale(1.07); }
}
.wf .genre-media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--live); transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(.2,.6,.2,1); z-index: 2;
}
.wf .genre-card:hover .genre-media::after { transform: scaleX(1); }
.wf .genre-card:hover .genre-idx { background: var(--live); color: #07100D; }
.wf .genre-idx { transition: background .35s ease, color .35s ease; }
.wf .genre-card:hover .genre-name { color: var(--accent-deep); }
.wf .genre-name { transition: color .3s ease; }
.wf .genre-idx {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  font-family: var(--t-mono); font-weight: 700; font-size: 12px;
  color: #fff; letter-spacing: .04em;
  background: rgba(7,16,13,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  width: 30px; height: 30px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}
.wf .genre-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.wf .genre-name {
  font-family: var(--t-display); font-weight: 700; font-size: 19px; letter-spacing: -.01em;
  line-height: 1.1;
}
.wf .genre-desc { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); flex: 1; }
.wf .genre-note {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--t-mono); font-size: 11px; letter-spacing: .02em;
  color: var(--ink-2); padding-top: 10px; border-top: 1px solid var(--rule-2);
  text-transform: none;
}
.wf .genre-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live); flex: none; }

/* ── 404 page styles ─────────────────────────────────────────── */
.wf .nf-wrap {
  flex: 1 1 auto;
  min-height: 540px;
  display: flex; align-items: center; justify-content: center;
  padding: 64px var(--pad);
  background:
    radial-gradient(120% 90% at 50% 0%, #F4F8F7 0%, #FFFFFF 62%);
  position: relative;
  overflow: hidden;
}
.wf .nf-ghost {
  position: absolute;
  font-family: var(--t-display);
  font-weight: 700;
  font-size: 340px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #07100D;
  opacity: .04;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
.wf .nf-inner {
  position: relative; z-index: 1;
  max-width: 600px; width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}



  html, body { margin: 0; padding: 0; background: #FFFFFF; font-family: "Aleo", Georgia, serif; }
  #root { width: 100%; }
  .frame { width: 100%; position: relative; background: #FFF; overflow: visible; }
  .frame.wf { min-height: 100vh; overflow: visible; }
  .wf-grid { display: none !important; }
  /* Prototype scrolls on the window, so the page wrapper must not clip —
     otherwise it becomes the sticky container and the rail can't pin. */
  .wf .wf-page {
    overflow: visible !important;
    height: auto;
    min-height: 100vh;
  }
  a { cursor: pointer; }
  .wf-rail-band, .wf-rail-logo, .wf-rail-band img { cursor: pointer; }


/* ── responsive.css — EMBARK mobile (container queries, match HTML proto) ──
   Keyed to .wf inline size (≤640px = mobile). Same system as 08Aug prototype. */
.wf { container-type: inline-size; container-name: wfpage; }
.wf-rail-burger { display: none; }
.wf .show-mobile { display: none !important; }
.wf .map-caption-mobile { display: none; }

@media (max-width: 640px) {
  .wf .map-legend,
  .wf .map-overseas { display: none !important; }
  .wf .map-caption-mobile { display: flex; flex-direction: column; gap: 8px; padding: 12px 2px 0; }
}

@container wfpage (min-width: 641px) {
  .wf .wf-rail {
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: auto;
    max-height: 100vh;
    overflow-y: auto;
    background: transparent;
    border-right: none;
    box-shadow: none;
    padding-bottom: 22px;
    z-index: 5;
  }
  body.admin-bar .wf .wf-rail {
    top: 32px;
    max-height: calc(100vh - 32px);
  }
  .wf .wf-rail-body { flex: none; }
  .wf .wf-rail-body > div[style*="auto"] { margin-top: 20px !important; }
}

@container wfpage (max-width: 640px) {
  .wf-page {
    --pad: 20px;
    --col-gutter: 16px;
    --s-disp: 40px;
    --s-h1: 32px;
    --s-h2: 25px;
    --s-h3: 20px;
    --s-h4: 18px;
    --s-lead: 16px;
    --s-body: 15px;
    flex-direction: column !important;
    position: relative;
    overflow-x: clip;
  }
  .wf-page-scroll { overflow-x: clip; min-width: 0; }

  .wf-rail {
    width: 100% !important;
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--paper) !important;
    border-right: none;
    border-bottom: 1px solid var(--ink);
    min-height: 0 !important;
  }
  body.admin-bar .wf-rail { top: 32px; }
  .wf-rail.rail-open,
  .wf-rail.is-open {
    position: absolute;
    inset: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    border-bottom: none;
    z-index: 60;
  }
  .wf-rail-band,
  .wf-rail-band.wf-rail-band-unframed {
    justify-content: space-between;
    padding: 12px 20px !important;
    border-bottom: none !important;
  }
  .wf-rail-logo,
  .wf-rail-logo-unframed,
  .wf-rail .custom-logo-link img,
  .wf-rail .custom-logo {
    height: 46px !important;
    width: auto !important;
    max-width: 64vw;
  }

  .wf-rail-burger {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    color: var(--ink);
    padding: 6px 2px;
  }
  .wf-rail-burger .burger-lines { display: inline-flex; flex-direction: column; gap: 4px; }
  .wf-rail-burger .burger-lines i {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: transform .2s ease, opacity .2s ease;
  }
  .wf-rail.rail-open .burger-lines i:nth-child(1),
  .wf-rail.is-open .burger-lines i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .wf-rail.rail-open .burger-lines i:nth-child(2),
  .wf-rail.is-open .burger-lines i:nth-child(2) { opacity: 0; }
  .wf-rail.rail-open .burger-lines i:nth-child(3),
  .wf-rail.is-open .burger-lines i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .wf-rail-burger .burger-txt {
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink-3);
  }

  .wf-rail-body {
    display: none;
    padding: 14px 20px 26px !important;
    border-top: 1px solid var(--rule);
    gap: 20px !important;
    max-height: none;
    overflow: auto;
  }
  .wf-rail.rail-open .wf-rail-body,
  .wf-rail.is-open .wf-rail-body { display: flex; flex: 1 1 auto; }
  .wf-rail-body nav a { padding: 10px 0 !important; margin: 0 !important; font-size: 18px; }
  .wf-rail-body .sect-lbl { margin-top: 4px; }

  .wf .grid-12,
  .wf .grid-4,
  .wf .grid-3,
  .wf .grid-6 { grid-template-columns: 1fr !important; }
  .wf .grid-12 > *,
  .wf .grid-4 > *,
  .wf .grid-3 > *,
  .wf .grid-6 > * { grid-column: auto !important; }
  .wf .grid-12 > [style*="gridColumn"],
  .wf .grid-12 > [style*="grid-column"] { grid-column: auto !important; }

  .wf .row.between { flex-wrap: wrap; row-gap: 16px; }
  .wf .row.between > * { max-width: 100% !important; }
  .wf .row.between > .underline-link { margin-top: 4px; }
  .wf a.underline-link { display: inline-block; width: fit-content; align-self: flex-start; }
  .wf .see-all-row { width: fit-content; padding: 16px 0; border-top: 1px solid var(--ink); font-weight: 600; }

  .wf .evt-body { display: block !important; }
  .wf .evt-filter-rail { border-right: none !important; padding: 4px 0 20px !important; }
  .wf .evt-list-col { padding: 16px 0 0 !important; }
  .wf .evt-row {
    display: block !important;
    border-bottom: none !important;
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 16px !important;
    margin: 0 0 12px !important;
    background: #fff;
  }
  .wf .evt-row[style*="accent-soft"] { border-color: var(--accent) !important; }
  .wf .evt-row > * { margin-bottom: 8px; grid-column: auto !important; }
  .wf .evt-row > *:last-child { margin-bottom: 0; }
  .wf .evt-row > div:nth-child(1) { display: inline-flex !important; }
  .wf .evt-row > div:nth-child(2) { margin-top: 2px; }
  .wf .evt-row > div:nth-child(3) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 6px !important;
    align-items: flex-start !important;
  }
  .wf .evt-row > div:nth-child(3) .chip { align-self: flex-start; width: auto; flex: none; }
  .wf .evt-row > div:nth-child(4) { display: flex !important; flex-direction: column; gap: 4px; }
  .wf .evt-row > div:nth-child(5) {
    align-items: flex-start !important;
    border-top: 1px solid var(--rule-2);
    padding-top: 10px;
  }
  .wf .evt-title { font-size: 36px !important; line-height: 1.04 !important; }
  .wf .evt-photo-mosaic {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto !important;
    gap: 10px !important;
  }
  .wf .evt-photo-mosaic > div:first-child {
    grid-row: auto !important;
    grid-column: 1 / span 2 !important;
  }
  .wf .evt-photo-mosaic .ph { height: 160px !important; }

  .wf .emb-hero { min-height: 860px !important; }
  .wf .emb-hero .eh-bg img { object-position: 50% 52%; animation-duration: 34s; }
  .wf .emb-hero .eh-scrim {
    background: linear-gradient(to top, rgba(4,10,8,.96) 0%, rgba(4,10,8,.78) 30%, rgba(4,10,8,.18) 60%, rgba(4,10,8,.28) 100%) !important;
  }
  .wf .emb-hero .eh-inner { padding-bottom: 44px !important; }
  .wf .emb-hero .eh-lede { margin-top: 14px !important; }
  .wf .emb-hero .eh-credit { bottom: 12px; font-size: 9.5px; }
  .wf .emb-hero .eh-inner .row { flex-wrap: wrap; gap: 10px; }
  .wf .t-disp { font-size: clamp(36px, 10vw, 72px) !important; }

  .wf .meta-line { flex-wrap: wrap; gap: 6px 14px; }
  .wf .meta-line > span { white-space: nowrap; }
  .wf .del-row { grid-template-columns: 64px 1fr !important; }
  .wf .del-row > .t-cap { grid-column: 2 !important; }
  .wf .embark-about-mission .t-disp { font-size: clamp(32px, 8vw, 46px) !important; }
  .wf .embark-about-mission .grid-12 > [style*="grid-column"],
  .wf .embark-about-deliverables .grid-12 > [style*="grid-column"] { grid-column: 1 / -1 !important; }
  .wf .brief-stats { grid-template-columns: 1fr !important; }
  .wf .brief-stats > .col { padding: 18px 0 !important; border-left: none !important; border-top: 1px solid rgba(255,255,255,.16); }
  .wf .brief-stats > .col:first-child { border-top: none; padding-top: 0 !important; }

  .wf .embark-wg-row {
    display: flex !important;
    flex-direction: column;
    gap: 16px;
  }
  .wf .embark-wg-row > [style*="grid-column"] { grid-column: auto !important; width: 100%; }
  .wf .embark-wg-aside.end,
  .wf .embark-wg-aside { align-items: flex-start !important; }
  .wf .wg3-focus .wg-strand,
  .wf .wg-focus .wg-strand {
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 18px 16px !important;
    margin-bottom: 14px;
    background: #fff;
  }

  .wf .news-row { display: block !important; padding: 18px 0 !important; }
  .wf .news-row .news-kind {
    display: inline-block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-3);
  }
  .wf .news-row .news-scope {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
  }
  .wf .news-row .news-kind.now { color: var(--live-deep); font-weight: 700; }
  .wf .news-row .news-date { display: inline; font-family: var(--t-mono); font-size: 11px; color: var(--ink-3); }
  .wf .news-row .news-kind::after { content: none; }
  .wf .news-row .news-date::after { content: " · "; color: var(--rule); }
  .wf .news-row .news-date > .t-tag { display: inline; }
  .wf .news-row .news-title {
    display: block;
    margin-top: 7px !important;
    font-size: 17px !important;
    line-height: 1.3 !important;
  }
  .wf .news-row .news-arrow { display: none !important; }
  .wf .article-title { font-size: 34px !important; line-height: 1.08 !important; }

  .wf .glance-grid .glance-cell,
  .wf .embark-glance-grid > div {
    padding: 18px 0 !important;
    border-left: none !important;
  }
  .wf .glance-grid .glance-cell:not(:first-child),
  .wf .embark-glance-grid > div:not(:first-child) { border-top: 1px solid rgba(255,255,255,.16); }
  .wf .embark-glance-grid > div:first-child { border-top: none; padding-top: 0 !important; }

  .wf .mc-roster-grid,
  .wf .embark-mc-roster { grid-template-columns: 1fr 1fr !important; gap: 18px 16px !important; }
  .wf .core-grid,
  .wf .embark-core-grid { grid-template-columns: 1fr 1fr !important; gap: 22px 14px !important; }
  .wf .ppl-stats,
  .wf .embark-ppl-stats { grid-template-columns: 1fr 1fr !important; }
  .wf .ppl-stats > .col,
  .wf .embark-ppl-stats > div { padding: 18px 0 !important; border-left: none !important; }
  .wf .ppl-stats > .col:nth-child(even),
  .wf .embark-ppl-stats > div:nth-child(even) {
    padding-left: 20px !important;
    border-left: 1px solid var(--rule) !important;
  }
  .wf .ppl-stats > .col:nth-child(n+3),
  .wf .embark-ppl-stats > div:nth-child(n+3) { border-top: 1px solid var(--rule); }

  .wf .net-summary { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 0 !important; }
  .wf .net-summary > div { padding: 16px 18px !important; margin: 0 !important; border-right: none !important; }
  .wf .net-summary > div:nth-child(even) { border-left: 1px solid rgba(255,255,255,.16); }
  .wf .net-summary > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); }
  .wf .net-summary > div:nth-child(odd) { padding-left: 0 !important; }
  .wf .net-directory { max-height: 380px !important; }
  .wf .map-legend, .wf .map-overseas { display: none !important; }
  .wf .map-caption-mobile { display: flex; flex-direction: column; gap: 8px; padding: 12px 2px 0; }

  .wf .page-hero-banner .ph { aspect-ratio: 4 / 5 !important; }
  .wf .page-hero-banner figcaption { left: 18px !important; right: 18px !important; bottom: 30px !important; }
  .wf .page-hero-banner figcaption h1 { font-size: 26px !important; line-height: 1.14 !important; max-width: none !important; }
  .wf .page-hero-banner .chip { left: 18px !important; }
  .wf .page-hero-banner .page-hero-credit {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    max-width: none !important;
    text-align: left !important;
    color: var(--ink-3) !important;
    margin-top: 12px !important;
  }

  /* About — problem figure stays 16/9 (proto); caption tightens; columns stack. */
  .wf .embark-about-problem-ph { aspect-ratio: 16 / 9 !important; }
  .wf .embark-about-problem-figure figcaption {
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
  }
  .wf .embark-about-problem-figure .t-h3 { font-size: 22px !important; line-height: 1.2 !important; }
  .wf .embark-problem-cols { grid-template-columns: 1fr !important; }
  .wf .embark-problem-cols > div { margin-right: 0 !important; padding: 18px 0 0 !important; }

  /* Grants hub titles */
  .wf .embark-grants-h1 { font-size: 40px !important; line-height: 1.05 !important; max-width: none !important; }
  .wf .embark-grant-row .t-h4 { font-size: 18px !important; }

  .wf .wf-page-scroll > .pad:first-child { padding-top: 18px !important; }
  .wf .wf-page-scroll > .pad:first-child > .embark-identity,
  .wf .wf-page-scroll > .pad:first-child > div[style*="border-top"] {
    border-top: none !important;
    padding-top: 0 !important;
  }
  .wf .embark-identity-follow {
    margin-left: 0 !important;
    width: 100%;
    margin-top: 4px;
  }
  .wf .why-band-title { font-size: 38px !important; line-height: 1.02; }
  .wf .section-head { padding-top: 6px; }

  .wf .wf-footer-cols {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 22px 18px !important;
    padding: 30px var(--pad) 6px;
  }
  .wf .wf-footer-cols .col-block { flex: 1 1 auto !important; }
  .wf .wf-footer-cols .col-block:first-child {
    grid-column: 1 / -1;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(244,241,234,.14);
  }
  .wf .wf-footer-cols .col-block:not(:first-child) { border-top: none; padding: 0; }
  .wf .wf-footer-cols .col-block .lbl { color: var(--accent) !important; margin-bottom: 8px; }
  .wf .wf-footer-cols .col-block a { font-size: 14px; padding: 4px 0; }
  .wf .wf-footer-touch { flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px var(--pad); }
  .wf .wf-footer-touch .ft-news { flex: 0 0 auto !important; width: 100%; max-width: 100%; min-width: 0; }
  .wf .wf-footer-touch .ft-news-row,
  .wf .wf-footer-touch .ft-news-input { max-width: 100%; }
  .wf .wf-footer-cost { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px var(--pad); }
  .wf .wf-footer-util { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px var(--pad); text-align: left; }
  .wf .wf-footer-util > div { flex-wrap: wrap; gap: 12px !important; }

  .wf .hide-mobile { display: none !important; }
  .wf .show-mobile { display: flex !important; }

  .wf .stat-grid { grid-template-columns: 1fr 1fr !important; gap: 22px 18px !important; }
  .wf .stat-grid > * { grid-column: auto !important; }

  .wf .oc-list {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px;
    margin-top: 20px !important;
    border-top: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin-left: calc(-1 * var(--pad));
    margin-right: calc(-1 * var(--pad));
    padding-left: var(--pad);
    padding-right: var(--pad);
  }
  .wf .oc-list::-webkit-scrollbar { display: none; }
  .wf .oc-row {
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    text-align: left;
    flex: 0 0 76%;
    scroll-snap-align: start;
    padding: 18px !important;
    border: none !important;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
  }
  .wf .oc-row > * { grid-column: auto !important; }
  .wf .oc-row .t-num,
  .wf .oc-row .oc-count { font-size: 32px !important; line-height: 1 !important; color: var(--accent-deep); }
  .wf .oc-row .t-h4 { font-size: 17px !important; line-height: 1.25 !important; margin-top: 2px !important; }
  .wf .oc-row .oc-target { font-size: 13px !important; }
  .wf .oc-row .oc-status-wrap { justify-content: flex-start !important; margin-top: 8px; }
  .wf .oc-row .oc-status {
    display: inline-block;
    font-family: var(--t-mono);
    font-size: 11px;
    letter-spacing: .04em;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--paper-2);
    color: var(--ink-2);
  }
  .wf .oc-row .oc-status.due { background: var(--live); color: var(--brand-black); font-weight: 700; }

  .wf .hgal {
    gap: 12px;
    scroll-snap-type: x mandatory;
    align-items: flex-start;
    overflow-x: auto;
    margin-left: calc(-1 * var(--pad));
    margin-right: calc(-1 * var(--pad));
    padding-left: var(--pad);
    padding-right: var(--pad);
  }
  .wf .hgal-item,
  .wf .hgal-item.lead { flex: 0 0 84% !important; scroll-snap-align: start; }
  .wf .hgal-item .ph { width: 100% !important; height: 300px !important; aspect-ratio: auto !important; }
  .wf .hgal-item .ph img { width: 100% !important; height: 100% !important; object-fit: cover !important; }

  .wf .embark-grant-row > [style*="grid-column"],
  .wf .embark-policy-row > [style*="grid-column"] { grid-column: 1 / -1 !important; }

  /* Contact form: single column on phone */
  .wf .embark-cf7 .embark-cf7-row2 { grid-template-columns: 1fr !important; }
}

html.embark-rail-open,
html.embark-rail-open body { overflow: hidden; }

/* ── WordPress integration ────────────────────────────────────── */
html, body { height: 100%; }
body { margin: 0; }
.frame.wf { min-height: 100vh; }
.wf-rail .custom-logo-link { display: block; line-height: 0; }
.wf-rail .custom-logo-link img,
.wf-rail .custom-logo {
  height: 116px;
  width: auto;
  max-width: 100%;
  display: block;
}
.wf-footer-cols .col-block a { display: block; }
.embark-wg-bar:hover { background: var(--accent-soft); }

/* People / Grants desktop grids (08 Aug) */
.wf .embark-mc-roster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 24px;
}
.wf .embark-core-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px 16px;
}
.wf .embark-ppl-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@container wfpage (max-width: 1100px) and (min-width: 641px) {
  .wf .embark-mc-roster { grid-template-columns: repeat(2, 1fr); }
  .wf .embark-core-grid { grid-template-columns: repeat(3, 1fr); }
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
