/* =========================================================================
   Belgians of Seattle — belsea.org
   Design system. Tricolor (noir / or / rouge) reinterpreted warm + friendly.
   Three directions switch via [data-dir] on <html>; finer knobs via Tweaks.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,500&family=DM+Serif+Display:ital@0;1&family=Archivo:wght@500;600;700;800&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* --- raw brand --------------------------------------------------------- */
  --ink:        oklch(0.235 0.014 66);
  --ink-soft:   oklch(0.40 0.016 64);
  --ink-faint:  oklch(0.56 0.014 64);
  --cream:      oklch(0.972 0.014 84);
  --cream-2:    oklch(0.945 0.020 82);
  --paper:      oklch(0.992 0.008 88);
  --gold:       oklch(0.815 0.118 84);
  --gold-deep:  oklch(0.705 0.128 78);
  --gold-soft:  oklch(0.905 0.066 86);
  --red:        oklch(0.585 0.165 30);
  --red-deep:   oklch(0.505 0.158 30);
  --red-soft:   oklch(0.90 0.05 32);
  --char:       oklch(0.265 0.020 60);
  --line:       oklch(0.875 0.018 80);

  /* --- semantic (overridden per direction) ------------------------------ */
  --bg:         var(--cream);
  --bg-alt:     var(--paper);
  --surface:    var(--paper);
  --on-bg:      var(--ink);
  --muted:      var(--ink-soft);
  --accent:     var(--gold-deep);
  --accent-2:   var(--red);
  --accent-ink: var(--ink);          /* text/lines that sit on accent fills */
  --border:     var(--line);
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 1px 0 rgba(60,45,20,0.04), 0 18px 40px -28px rgba(60,45,20,0.45);

  --display:    'Newsreader', Georgia, serif;
  --display-wght: 500;
  --display-ital: 0;
  --body:       'Hanken Grotesk', system-ui, sans-serif;

  --motif:      0.9;                 /* decorative-icon liveliness 0..1 */
  --maxw:       1180px;
}

/* ===== Directions ========================================================= */

/* Café — warm cream, gold-forward, cozy brasserie */
:root[data-dir="cafe"] {
  --bg: var(--cream);
  --bg-alt: var(--paper);
  --surface: var(--paper);
  --accent: var(--gold-deep);
  --accent-2: var(--red);
  --display: 'Newsreader', Georgia, serif;
  --display-wght: 500;
}

/* Tricolore Blocks — graphic poster, black + tricolor color-blocking */
:root[data-dir="blocks"] {
  --bg: var(--cream-2);
  --bg-alt: var(--cream);
  --surface: var(--paper);
  --accent: var(--red);
  --accent-2: var(--gold-deep);
  --display: 'Archivo', 'Hanken Grotesk', sans-serif;
  --display-wght: 800;
  --radius: 6px;
  --radius-sm: 4px;
}

/* Editorial — light, airy, lots of whitespace, small tricolor accents */
:root[data-dir="editorial"] {
  --bg: var(--paper);
  --bg-alt: oklch(0.978 0.008 86);
  --surface: var(--paper);
  --accent: var(--ink);
  --accent-2: var(--red);
  --display: 'Newsreader', Georgia, serif;
  --display-wght: 400;
  --radius: 4px;
  --radius-sm: 3px;
  --shadow: none;
  --motif: 0.5;
}

/* font override knob (Tweaks) */
:root[data-font="newsreader"] { --display: 'Newsreader', Georgia, serif; }
:root[data-font="dmserif"]    { --display: 'DM Serif Display', Georgia, serif; --display-wght: 400; }
:root[data-font="archivo"]    { --display: 'Archivo', 'Hanken Grotesk', sans-serif; --display-wght: 800; }

/* ===== Reset / base ====================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--on-bg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: var(--display-wght);
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
:root[data-dir="blocks"] h1,
:root[data-dir="blocks"] h2,
:root[data-dir="blocks"] h3 { letter-spacing: -0.02em; text-transform: none; }
p { margin: 0; text-wrap: pretty; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(48px, 7vw, 104px) 0; }

/* ===== Icons ============================================================= */
.ico { display: inline-flex; align-items: center; justify-content: center; }
.ico-svg { width: 1em; height: 1em; display: block; }
.ico-lg .ico-svg { stroke-width: 1.3; }

/* ===== Eyebrow / kicker ================================================== */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--body);
  font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-2); white-space: nowrap;
}
.kicker .bar { width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

/* tricolor inline mark */
.tricolor {
  display: inline-flex; height: 1em; border-radius: 3px; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}
.tricolor i { width: 0.34em; height: 100%; display: block; }
.tricolor i:nth-child(1) { background: var(--ink); }
.tricolor i:nth-child(2) { background: var(--gold); }
.tricolor i:nth-child(3) { background: var(--red); }

/* ===== Buttons ========================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1;
  border: 1.5px solid transparent; transition: transform .15s ease, background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn .ico-svg { width: 1.05em; height: 1.05em; }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(40,30,10,.6); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--on-bg); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--ink); background: color-mix(in oklab, var(--ink) 5%, transparent); }
:root[data-dir="blocks"] .btn { border-radius: 4px; }

/* ===== Announcement ribbon ============================================== */
.ribbon {
  background: var(--ink); color: var(--cream);
  font-size: 13.5px; letter-spacing: 0.01em;
}
.ribbon .container { display: flex; align-items: center; gap: 14px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; }
.ribbon .flagmark { display: inline-flex; gap: 0; height: 13px; border-radius: 2px; overflow: hidden; }
.ribbon .flagmark i { width: 6px; }
.ribbon strong { color: var(--gold); font-weight: 600; }
.ribbon a { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--cream); font-weight: 600; opacity: .92; }
.ribbon a:hover { opacity: 1; }
.ribbon a .ico-svg { width: 15px; height: 15px; }

/* ===== Header / nav ===================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
}
.nav { display: flex; align-items: center; gap: 28px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand .glyph {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: grid; place-items: center; color: var(--cream); background: var(--ink);
  position: relative; overflow: hidden;
}
.brand .glyph .ico-svg { width: 23px; height: 23px; color: var(--gold); }
.brand .glyph::after { content:""; position:absolute; left:0; bottom:0; width:100%; height:5px;
  background: linear-gradient(90deg, var(--ink) 0 33.3%, var(--gold) 33.3% 66.6%, var(--red) 66.6% 100%); }
.brand .wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.brand .wordmark b { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; white-space: nowrap; }
.brand .wordmark span { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 8px 13px; border-radius: 9px; font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--on-bg); background: color-mix(in oklab, var(--ink) 5%, transparent); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--border);
  background: var(--surface); align-items: center; justify-content: center; }
.nav-toggle .ico-svg { width: 22px; height: 22px; }
.nav-social { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-social a { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); transition: color .15s, background .15s; }
.nav-social a:hover { color: var(--on-bg); background: color-mix(in oklab, var(--ink) 5%, transparent); }
.nav-social .ico-svg { width: 18px; height: 18px; }

/* ===== Hero ============================================================= */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-copy h1 { font-size: clamp(40px, 5.8vw, 70px); line-height: 1.16; }
.hero-copy h1 .em { color: var(--accent-2); font-style: italic; }
:root[data-dir="blocks"] .hero-copy h1 .em { font-style: normal; color: var(--accent); }
.hero-lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 46ch; margin-top: 30px; }
.hero-greet { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-family: var(--display); font-style: italic; font-size: 18px; color: var(--ink-soft); }
.hero-greet .tricolor { font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: var(--ink-faint); font-size: 13.5px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .ico-svg { width: 16px; height: 16px; color: var(--accent); }

/* featured-next event card in hero */
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow); overflow: hidden; position: relative;
}
.feature-card .fc-top {
  position: relative; padding: 22px 24px 30px; color: var(--cream);
  background:
    radial-gradient(120% 140% at 85% -10%, color-mix(in oklab, var(--accent) 55%, var(--char)) 0%, var(--char) 60%);
}
:root[data-dir="blocks"] .feature-card .fc-top { background: var(--ink); }
.feature-card .fc-top::after { content:""; position:absolute; left:0; bottom:0; width:100%; height:6px;
  background: linear-gradient(90deg, var(--ink) 0 33.3%, var(--gold) 33.3% 66.6%, var(--red) 66.6% 100%); opacity:.95; }
.fc-tag { display:inline-flex; align-items:center; gap:7px; font-size:11.5px; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase; color: var(--gold); }
.fc-tag .ico-svg { width: 15px; height: 15px; }
.fc-top h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.14; margin-top: 12px; color: var(--cream); }
.fc-when { margin-top: 14px; font-size: 14px; opacity: .9; display:flex; gap:16px; flex-wrap:wrap; }
.fc-when span { display:inline-flex; align-items:center; gap:7px; }
.fc-when .ico-svg { width: 15px; height: 15px; color: var(--gold); }
.fc-venues { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.fc-venue { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 9px 12px; border-radius: 11px; font-size: 14px;
  background: color-mix(in oklab, var(--cream) 12%, transparent);
  border: 1px solid color-mix(in oklab, var(--cream) 14%, transparent); }
.fc-venue .fcv-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--cream); }
.fc-venue .fcv-time { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; opacity: .92; }
.fc-venue .ico-svg { width: 15px; height: 15px; color: var(--gold); }
.fc-body { padding: 20px 24px 22px; }
.fc-body p { color: var(--muted); font-size: 14.5px; }
.fc-actions { margin-top: 18px; display:flex; gap:10px; flex-wrap: wrap; }
.fc-host { margin-top:16px; display:flex; align-items:flex-start; gap:10px; font-size:13px; color: var(--ink-faint); }
.fc-host .dot { width:30px; height:30px; border-radius:50%; background: var(--gold-soft); display:grid; place-items:center; color: var(--gold-deep); flex:none; }
.fc-host-text { line-height:1.4; display:flex; flex-direction:column; gap:4px; }
.fc-host-text b { color: var(--on-bg); font-weight:600; }
.fc-host-time { display:inline-flex; align-items:center; gap:6px; margin-top:2px; color: var(--accent-2); font-weight:600; font-size:12.5px; }
.fc-host-time .ico-svg { width:14px; height:14px; }
.fc-host .dot .ico-svg { width:17px; height:17px; }

/* floating decorative motifs */
.motif { position: absolute; color: var(--accent); opacity: calc(var(--motif) * 0.22); pointer-events:none; z-index:0; }
.motif .ico-svg { width: 100%; height: 100%; stroke-width: 1.1; }
.hero .hero-grid { position: relative; z-index: 1; }
.motif.m1 { width: 120px; height:120px; top: 4%; right: 46%; transform: rotate(-12deg); }
.motif.m2 { width: 90px; height: 90px; bottom: 2%; left: 38%; transform: rotate(10deg); color: var(--accent-2); }

/* ===== Section heading ================================================== */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.sec-head .lead h2 { font-size: clamp(30px, 3.6vw, 46px); margin-top: 14px; }
.sec-head .lead p { color: var(--muted); margin-top: 12px; max-width: 52ch; }
.sec-head .more { display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:14.5px; color: var(--accent-2); white-space:nowrap; }
.sec-head .more .ico-svg { width:17px; height:17px; transition: transform .2s; }
.sec-head .more:hover .ico-svg { transform: translateX(4px); }

/* ===== Events =========================================================== */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.event-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; display:flex; flex-direction:column; gap:14px; transition: transform .18s, box-shadow .2s, border-color .2s;
  position: relative; overflow: hidden;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in oklab, var(--accent) 40%, var(--border)); }
.event-card .ec-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.datechip {
  flex:none; width: 58px; text-align:center; border-radius: 12px; overflow:hidden; border:1px solid var(--border);
}
.datechip .m { background: var(--ink); color: var(--gold); font-size: 10.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; padding: 4px 0; }
.datechip .d { font-family: var(--display); font-size: 25px; font-weight: 600; padding: 4px 0 6px; color: var(--on-bg); }
.ec-type { display:inline-flex; align-items:center; gap:7px; font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  padding: 6px 11px; border-radius: 999px;
  background: color-mix(in oklab, var(--ink) 9%, var(--paper));
  color: var(--ink-soft); white-space: nowrap; flex: none; }
.ec-type.watch,
.ec-type.picnic { background: color-mix(in oklab, var(--ink) 9%, var(--paper)); color: var(--ink-soft); }
.ec-type .ico-svg { width: 14px; height:14px; }
.event-card h3 { font-size: 22px; }
.event-card .ec-meta { display:flex; flex-direction:column; gap:7px; color: var(--ink-faint); font-size: 13.5px; margin-top: 2px; }
.event-card .ec-meta span { display:inline-flex; align-items:center; gap:8px; }
.event-card .ec-meta .ico-svg { width: 15px; height:15px; color: var(--accent); }
.event-card p { font-size: 14px; color: var(--muted); }
.event-card .ec-foot { margin-top: auto; padding-top: 6px; display:flex; align-items:center; justify-content:space-between; }
.ec-region { font-size:12px; font-weight:600; letter-spacing:.08em; color: var(--ink-faint); text-transform:uppercase; }
.ec-rsvp { display:inline-flex; align-items:center; gap:7px; font-weight:600; font-size:14px; color: var(--accent-2); }
.ec-rsvp .ico-svg { width:16px; height:16px; transition: transform .2s; }
.event-card:hover .ec-rsvp .ico-svg { transform: translateX(3px); }

/* ===== Event details (agenda) ========================================== */
.ev-details { margin-top: clamp(40px, 5vw, 64px); }
.evd-head { margin-bottom: clamp(22px, 3vw, 34px); padding-top: clamp(26px, 3vw, 38px); border-top: 1px solid var(--border); }
.evd-head h3 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 12px; }
.evd-head p { color: var(--muted); margin-top: 10px; max-width: 56ch; }

.evd { display: grid; grid-template-columns: 92px 1fr; gap: clamp(18px, 2.4vw, 32px); align-items: start;
  padding: clamp(20px, 2.4vw, 28px) 0; border-top: 1px solid var(--border); }
.evd-date { display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 92px; padding: 14px 0; border-radius: 14px; background: var(--ink); color: var(--cream);
  position: sticky; top: 92px; }
.evd-date .d { font-family: var(--display); font-size: 34px; font-weight: 600; line-height: 1; }
.evd-date .m { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: 4px; font-weight: 700; }
.evd-date .wd { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in oklab, var(--cream) 60%, transparent); margin-top: 2px; }
.evd-date.hot { background: var(--red-deep); }
.evd-date.hot .m { color: var(--gold-soft); }
.evd-date.nat { background: var(--gold-deep); }
.evd-date.nat .m, .evd-date.nat .wd { color: var(--ink); }
.evd-date.nat .d { color: var(--ink); }

.evd-body { min-width: 0; }
.evd-top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.evd-body h4 { font-family: var(--display); font-size: clamp(19px, 2vw, 23px); line-height: 1.18; }
.evd-tag { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 11.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold-deep); white-space: nowrap; }
.evd-tag .ico-svg { width: 14px; height: 14px; }
.evd-tag.free { background: var(--red-soft); color: var(--red-deep); }
.evd-lead { color: var(--ink-soft); margin-top: 10px; font-size: 15px; max-width: 64ch; }

.evd-points { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.evd-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink-soft); }
.evd-points .ico-svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 1px; }

.evd-facts { margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.evd-facts > span, .evd-facts > a { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.evd-facts .ico-svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 2px; }
.evd-facts a { color: var(--accent-2); font-weight: 500; }
.evd-facts a:hover { text-decoration: underline; }

.evd-sub { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-alt); }
.evd-sub + .evd-sub { margin-top: 12px; }
.evd-sub-h { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 17px; font-weight: 600; }
.evd-sub-h .ico-svg { width: 18px; height: 18px; color: var(--accent-2); }
.evd-sub > p { color: var(--ink-soft); font-size: 14.5px; margin-top: 8px; }
.evd-sub .evd-loc { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-faint); margin-top: 6px; }
.evd-sub .evd-loc .ico-svg { width: 15px; height: 15px; color: var(--accent); }

.evd-timeline { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.evd-timeline li { display: grid; grid-template-columns: 116px 1fr; gap: 14px; padding: 9px 0; align-items: start; border-top: 1px dashed var(--border); }
.evd-timeline li:first-child { border-top: none; }
.evd-timeline .t { font-family: var(--display); font-weight: 600; font-size: 14.5px; color: var(--on-bg); }
.evd-timeline .x { display: inline-flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--ink-soft); }
.evd-timeline .x .ico-svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 1px; }

.evd-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; font-size: 13.5px; color: var(--ink-soft);
  padding: 10px 13px; border-radius: 10px; background: color-mix(in oklab, var(--ink) 5%, transparent); }
.evd-note .ico-svg { width: 16px; height: 16px; color: var(--ink-faint); flex: none; margin-top: 1px; }
.evd-note.warn { background: var(--red-soft); color: var(--red-deep); }
.evd-note.warn .ico-svg { color: var(--red-deep); }

.evd-perk { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; font-size: 14px; font-weight: 500;
  color: var(--gold-deep); padding: 11px 14px; border-radius: 10px; background: var(--gold-soft); }
.evd-perk .ico-svg { width: 18px; height: 18px; color: var(--gold-deep); flex: none; margin-top: 1px; }

.evd-banner { display: flex; align-items: center; gap: 16px; margin: 4px 0; padding: clamp(18px, 2.2vw, 24px) clamp(20px, 2.4vw, 28px);
  border-radius: var(--radius); background: var(--ink); color: var(--cream); }
.evd-banner .ico-svg { width: 30px; height: 30px; color: var(--gold); flex: none; }
.evd-banner p { font-size: clamp(15px, 1.5vw, 17px); color: color-mix(in oklab, var(--cream) 88%, transparent); }
.evd-banner b { color: var(--gold); }

@media (max-width: 600px) {
  .evd { grid-template-columns: 1fr; }
  .evd-date { flex-direction: row; gap: 8px; width: auto; align-self: start; padding: 8px 14px; position: static; }
  .evd-date .d { font-size: 24px; }
  .evd-date .m, .evd-date .wd { margin-top: 0; }
  .evd-timeline li { grid-template-columns: 1fr; gap: 3px; }
}

/* ===== News ============================================================= */
.news { background: var(--bg-alt); }
.news-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.news-list { display:flex; flex-direction: column; }
.news-item { display:grid; grid-template-columns: 132px 1fr; gap: 22px; padding: 24px 0; border-top: 1px solid var(--border); align-items:center; }
.news-item:first-child { border-top: none; padding-top: 0; }
.news-thumb { aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow:hidden; border:1px solid var(--border); }
.news-meta { display:flex; align-items:center; gap:10px; font-size:12px; color: var(--ink-faint); margin-bottom:8px; white-space:nowrap; }
.news-meta .tag { font-weight:700; letter-spacing:.08em; text-transform:uppercase; color: var(--accent-2); }
.news-item h3 { font-size: 21px; line-height:1.15; }
.news-item p { font-size: 14px; color: var(--muted); margin-top:8px; }
.news-side { background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); padding: 26px; position: sticky; top: 90px; }
.news-side h3 { font-size: 20px; margin-bottom: 6px; }
.news-side p { font-size: 14px; color: var(--muted); }
.bulletins { margin-top:18px; display:flex; flex-direction:column; gap:14px; }
.bulletin { display:flex; gap:12px; align-items:flex-start; font-size:13.5px; }
.bulletin > div { flex:1; min-width:0; }
.bulletin .bdot { flex:none; width:30px; height:30px; border-radius:9px; background: var(--gold-soft); color: var(--gold-deep); display:grid; place-items:center; }
.bulletin .bdot .ico-svg { width:17px; height:17px; }
.bulletin b { display:block; font-weight:600; line-height:1.35; margin-bottom:1px; }
.bulletin span { color: var(--ink-faint); }

/* ===== About ============================================================ */
.about-wrap { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items:center; }
.about-copy h2 { font-size: clamp(30px, 3.6vw, 46px); }
.about-copy p { color: var(--muted); margin-top: 18px; }
.about-points { margin-top: 26px; display:grid; gap: 16px; }
.about-point { display:flex; gap:14px; align-items:flex-start; }
.about-point .ap-ico { flex:none; width:44px; height:44px; border-radius:12px; display:grid; place-items:center;
  background: var(--surface); border:1px solid var(--border); color: var(--accent); }
.about-point .ap-ico .ico-svg { width:23px; height:23px; }
.about-point b { font-family: var(--display); font-size: 18px; font-weight:600; }
.about-point p { margin-top:3px; font-size:14px; }
.about-art { aspect-ratio: 1/1.04; border-radius: var(--radius); overflow:hidden; border:1px solid var(--border); position:relative; }
.about-badge { position:absolute; left:18px; bottom:18px; background: var(--ink); color:var(--cream); border-radius:14px; padding:14px 18px; max-width:74%; }
.about-badge b { font-family: var(--display); font-size:17px; color: var(--gold); }
.about-badge p { font-size:12.5px; color: color-mix(in oklab, var(--cream) 80%, transparent); margin-top:3px; }

/* ===== Gallery ========================================================== */
.gallery { }
.gal-grid { display:grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 14px; }
.gal-item { border-radius: var(--radius-sm); overflow:hidden; border:1px solid var(--border); position:relative; }
.gal-item.tall { grid-row: span 2; }
.gal-item.wide { grid-column: span 2; }
.gal-cap { position:absolute; left:10px; bottom:10px; font-family: ui-monospace, monospace; font-size:10.5px;
  background: color-mix(in oklab, var(--ink) 78%, transparent); color: var(--cream); padding: 3px 8px; border-radius: 6px; }

/* placeholder fill (striped) */
.ph {
  width:100%; height:100%;
  background-color: var(--cream-2);
  background-image: repeating-linear-gradient(135deg,
     color-mix(in oklab, var(--ink) 7%, transparent) 0 1.5px,
     transparent 1.5px 12px);
  display:grid; place-items:center;
}
.ph .ico-svg { width: 40px; height: 40px; color: color-mix(in oklab, var(--ink) 22%, transparent); stroke-width: 1.1; }
.ph.ph-gold { background-color: var(--gold-soft); }
.ph.ph-red  { background-color: var(--red-soft); }

/* ===== Newsletter ======================================================= */
.signup { }
.signup-card {
  position: relative; overflow:hidden;
  background: var(--ink); color: var(--cream);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(36px, 5vw, 64px);
  display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items:center;
}
.signup-card::after { content:""; position:absolute; left:0; top:0; height:100%; width:8px;
  background: linear-gradient(180deg, var(--ink) 0 33.3%, var(--gold) 33.3% 66.6%, var(--red) 66.6% 100%); }
.signup-card h2 { font-size: clamp(28px, 3.4vw, 42px); color: var(--cream); }
.signup-card h2 .gold { color: var(--gold); font-style: italic; }
:root[data-dir="blocks"] .signup-card h2 .gold { font-style: normal; }
.signup-card .sub { color: color-mix(in oklab, var(--cream) 78%, transparent); margin-top: 14px; max-width: 42ch; }
.signup-icons { display:flex; gap: 14px; margin-top: 22px; color: var(--gold); opacity:.92; }
.signup-icons .ico-svg { width: 26px; height: 26px; stroke-width: 1.2; }
.signup-form { display:flex; flex-direction:column; gap: 12px; }
.field { display:flex; gap:10px; background: color-mix(in oklab, var(--cream) 12%, transparent);
  border:1px solid color-mix(in oklab, var(--cream) 22%, transparent); border-radius: 12px; padding: 6px 6px 6px 16px; }
.field input { flex:1; background:transparent; border:none; outline:none; color: var(--cream); font-family:inherit; font-size:15px; }
.field input::placeholder { color: color-mix(in oklab, var(--cream) 55%, transparent); }
.field button { border:none; border-radius: 9px; padding: 0 18px; background: var(--gold); color: var(--ink); font-weight:700; display:inline-flex; align-items:center; gap:8px; }
.field button .ico-svg { width:17px; height:17px; }
.signup-fine { font-size: 12.5px; color: color-mix(in oklab, var(--cream) 58%, transparent); display:flex; align-items:center; gap:8px; }
.signup-fine .ok { color: var(--gold); }
.region-pills { display:flex; gap:8px; flex-wrap:wrap; margin-top: 2px; }
.region-pills span { font-size:12px; font-weight:600; padding:5px 11px; border-radius:999px;
  border:1px solid color-mix(in oklab, var(--cream) 22%, transparent); color: color-mix(in oklab, var(--cream) 82%, transparent); }

/* ===== Gallery empty state ============================================== */
.gallery-empty { display:flex; align-items:center; justify-content:center; min-height: 62vh; padding: 80px 0; text-align:center; }
.gallery-empty .kicker { justify-content:center; }
.gallery-empty h1 { font-family: var(--display); font-size: clamp(40px, 6vw, 68px); font-weight: 600; line-height: 1.05; margin: 18px 0 16px; }
.gallery-empty p { color: var(--muted); font-size: 17px; max-width: 46ch; margin: 0 auto; }

/* ===== Footer =========================================================== */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 56px; }
.foot-grid { display:flex; justify-content:center; gap: 96px; padding-bottom: 40px; text-align:center; flex-wrap:wrap; }
.foot-brand { display:flex; flex-direction:column; align-items:center; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { color: var(--muted); font-size: 14px; max-width: 34ch; }
.foot-social { justify-content:center; }
.foot-social { display:flex; gap:10px; margin-top:18px; }
.foot-social a { width:38px; height:38px; border-radius:10px; border:1px solid var(--border); display:grid; place-items:center; color: var(--muted); transition: .15s; }
.foot-social a:hover { color: var(--on-bg); border-color: var(--ink); transform: translateY(-2px); }
.foot-social .ico-svg { width:19px; height:19px; }
.foot-col h4 { font-family: var(--body); font-size:12px; letter-spacing:.14em; text-transform:uppercase; color: var(--ink-faint); margin-bottom:14px; }
.foot-col a { display:block; padding:6px 0; font-size:14.5px; color: var(--muted); }
.foot-col a:hover { color: var(--on-bg); }
.foot-bar { border-top:1px solid var(--border); padding: 20px 0; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:13px; color: var(--ink-faint); }
.foot-bar .tri { display:flex; align-items:center; gap:9px; }
.foot-bar .heart { color: var(--red); display:inline-flex; }
.foot-bar .heart .ico-svg { width:15px; height:15px; }

/* ===== Reveal animation ================================================= */
@media (prefers-reduced-motion: no-preference) {
  /* opacity stays 1 so content is NEVER hidden if transitions are throttled/paused;
     entrance is a transform-only rise that resolves to the real layout. */
  .js .reveal { transform: translateY(16px); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.in { transform: none; }
}

/* ===== Responsive ======================================================= */
@media (max-width: 940px) {
  .hero-grid, .news-wrap, .about-wrap, .signup-card { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-links { display: none; }
  .nav-social { display: none; }
  .nav-toggle { display: inline-flex; }
  .news-side { position: static; }
  .signup-card { text-align: left; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .events-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 92px 1fr; gap: 16px; }
  .gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .ribbon a { margin-left: 0; }
}

/* mobile nav drawer */
.mobile-drawer { display:none; }
.mobile-drawer.open { display:block; }
.mobile-drawer {
  position: fixed; inset: 0; z-index: 60; background: color-mix(in oklab, var(--ink) 40%, transparent);
}
.mobile-drawer .sheet { position:absolute; right:0; top:0; height:100%; width:min(82vw, 340px);
  background: var(--bg); padding: 22px; display:flex; flex-direction:column; gap:6px; box-shadow: -20px 0 50px -20px rgba(0,0,0,.4); }
.mobile-drawer .sheet .close { align-self:flex-end; width:42px; height:42px; border-radius:11px; border:1px solid var(--border); background:var(--surface); display:grid; place-items:center; }
.mobile-drawer .sheet .close .ico-svg { width:22px; height:22px; }
.mobile-drawer .sheet a { padding: 13px 12px; border-radius:11px; font-size:17px; font-weight:500; color: var(--on-bg); }
.mobile-drawer .sheet a:hover { background: color-mix(in oklab, var(--ink) 6%, transparent); }
.mobile-drawer .sheet .btn { margin-top: 12px; justify-content:center; }

/* =========================================================================
   Trade & Investment brief — components (prefix .t- / .compare / .co- / .office-)
   ========================================================================= */

/* page hero */
.t-hero { position: relative; overflow: hidden; padding: clamp(40px, 5vw, 76px) 0 clamp(36px, 4vw, 56px); }
.t-hero .container { position: relative; z-index: 1; }
.t-hero .crumb { display:inline-flex; align-items:center; gap:8px; font-size:13.5px; color: var(--ink-faint); margin-bottom: 22px; }
.t-hero .crumb a { color: var(--accent-2); font-weight:600; }
.t-hero .crumb .ico-svg { width:14px; height:14px; }
.t-hero h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.12; max-width: 16ch; }
.t-hero h1 .em { font-style: italic; color: var(--accent-2); }
:root[data-dir="blocks"] .t-hero h1 .em { font-style: normal; color: var(--accent); }
.t-hero .route { display:inline-flex; align-items:center; gap:12px; font-family: var(--display); font-style: italic;
  font-size: clamp(20px, 2.2vw, 27px); color: var(--ink-soft); margin-bottom: 8px; }
.t-hero .route .swap { display:inline-flex; align-items:center; gap:8px; }
.t-hero .route .pin { display:inline-flex; align-items:center; gap:6px; font-style: normal; font-family: var(--body); font-weight:600; font-size: 14px;
  color: var(--on-bg); background: var(--surface); border:1px solid var(--border); padding: 4px 12px; border-radius: 999px; }
.t-hero .route .pin .ico-svg { width:15px; height:15px; color: var(--accent); }
.t-hero .lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 58ch; margin-top: 26px; }
.t-hero .motif { width: 150px; height: 150px; top: 8%; right: 4%; transform: rotate(-8deg); }

/* big stat strip */
.statstrip { display:grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(32px, 4vw, 48px);
  border:1px solid var(--border); border-radius: var(--radius); overflow:hidden; background: var(--surface); box-shadow: var(--shadow); }
.statstrip .stat { padding: 24px 26px; border-right: 1px solid var(--border); }
.statstrip .stat:last-child { border-right: none; }
.statstrip .stat .n { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.2vw, 42px); line-height: 1; color: var(--on-bg); letter-spacing: -0.02em; }
.statstrip .stat .n em { font-style: normal; color: var(--accent-2); }
.statstrip .stat .l { font-size: 13px; color: var(--ink-faint); margin-top: 9px; line-height:1.4; }
.statstrip .stat .src { font-size: 11px; color: var(--ink-faint); margin-top: 6px; letter-spacing:.04em; text-transform: uppercase; opacity:.8; }

/* generic intro head for inner sections */
.t-lead { max-width: 62ch; margin-bottom: 34px; }
.t-lead h2 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 14px; }
.t-lead p { color: var(--muted); margin-top: 14px; }

/* sector chips */
.sectors { display:flex; flex-wrap:wrap; gap: 10px; margin-top: 6px; }
.sectors .chip { display:inline-flex; align-items:center; gap:9px; padding: 9px 15px; border-radius: 999px;
  background: var(--surface); border:1px solid var(--border); font-size: 14px; font-weight:500; color: var(--on-bg); }
.sectors .chip .ico-svg { width:17px; height:17px; color: var(--accent); }

/* card grid (Belgium's economic role) */
.t-cards { display:grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.t-card { background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); padding: 26px; position: relative; overflow:hidden;
  transition: transform .18s, box-shadow .2s, border-color .2s; }
.t-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in oklab, var(--accent) 36%, var(--border)); }
.t-card .ic { width:48px; height:48px; border-radius:13px; display:grid; place-items:center; background: var(--gold-soft); color: var(--gold-deep); margin-bottom: 16px; }
.t-card .ic .ico-svg { width:25px; height:25px; }
.t-card.red .ic { background: var(--red-soft); color: var(--red-deep); }
.t-card h3 { font-size: 21px; }
.t-card p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.t-card ul { margin: 12px 0 0; padding: 0; list-style: none; display:flex; flex-direction:column; gap: 8px; }
.t-card ul li { position: relative; padding-left: 20px; font-size: 14px; color: var(--ink-soft); }
.t-card ul li::before { content:""; position:absolute; left:2px; top:9px; width:7px; height:7px; border-radius:2px; background: var(--accent); transform: rotate(45deg); }

/* compare table (Seattle vs Belgium) */
.compare { border:1px solid var(--border); border-radius: var(--radius); overflow:hidden; background: var(--surface); box-shadow: var(--shadow); }
.compare-row { display:grid; grid-template-columns: 1fr 1fr; }
.compare-row + .compare-row { border-top: 1px solid var(--border); }
.compare-cell { padding: 17px 24px; font-size: 15.5px; display:flex; align-items:center; gap: 12px; }
.compare-cell.l { border-right: 1px solid var(--border); }
.compare-row.head .compare-cell { background: var(--ink); color: var(--cream); padding: 16px 24px; }
.compare-row.head .compare-cell .lbl { display:flex; flex-direction:column; gap:4px; line-height:1.1; }
.compare-row.head .compare-cell .lbl b { font-family: var(--display); font-weight:600; font-size: 19px; color: var(--cream); white-space:nowrap; }
.compare-row.head .compare-cell .lbl span { font-size:11px; letter-spacing:.14em; text-transform:uppercase; color: color-mix(in oklab, var(--cream) 62%, transparent); margin-top:3px; }
.compare-row.head .compare-cell.l { border-right-color: color-mix(in oklab, var(--cream) 18%, transparent); }
.compare-row.head .flagmark, .compare-cell .flagmark { display:inline-flex; height:18px; width:13px; border-radius:3px; overflow:hidden; flex:none; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06); }
.compare-row.head .flagmark i, .compare-cell .flagmark i { width:100%; height:33.33%; display:block; }
.flag-us i:nth-child(1){background:#3c3b6e}.flag-us i:nth-child(2){background:#fff}.flag-us i:nth-child(3){background:#b22234}
.flag-be i:nth-child(1){background:var(--ink)}.flag-be i:nth-child(2){background:var(--gold)}.flag-be i:nth-child(3){background:var(--red)}
.compare-cell .dotmark { width:7px; height:7px; border-radius:50%; flex:none; }
.compare-cell.l .dotmark { background: var(--accent-2); }
.compare-cell.r .dotmark { background: var(--accent); }

/* export categories list */
.cats-wrap { display:grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items:start; }
.catlist { display:grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.catlist .cat { display:flex; align-items:center; gap:11px; padding: 13px 16px; border:1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); font-size: 14.5px; font-weight:500; }
.catlist .cat .ico-svg { width:18px; height:18px; color: var(--accent); flex:none; }
.minicard { background: var(--ink); color: var(--cream); border-radius: var(--radius); padding: 26px; position: relative; overflow:hidden; }
.minicard::after { content:""; position:absolute; left:0; top:0; height:100%; width:6px; background: linear-gradient(180deg, var(--ink) 0 33.3%, var(--gold) 33.3% 66.6%, var(--red) 66.6% 100%); }
.minicard .k { font-size:11.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color: var(--gold); }
.minicard .big { font-family: var(--display); font-size: 38px; font-weight:600; margin: 10px 0 2px; color: var(--cream); letter-spacing:-0.02em; }
.minicard p { color: color-mix(in oklab, var(--cream) 78%, transparent); font-size: 14px; margin-top: 12px; }

/* company cards */
.co-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.co-card { background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); overflow:hidden; display:flex; flex-direction:column;
  transition: transform .18s, box-shadow .2s, border-color .2s; }
.co-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in oklab, var(--accent) 36%, var(--border)); }
.co-card .co-top { padding: 20px 22px 18px; border-bottom: 1px solid var(--border); }
.co-route { display:inline-flex; align-items:center; gap:8px; font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color: var(--accent-2); background: var(--red-soft); padding: 5px 11px; border-radius: 999px; }
.co-card.inbound .co-route { color: var(--gold-deep); background: var(--gold-soft); }
.co-card h3 { font-size: 23px; margin-top: 14px; }
.co-card .hq { display:flex; align-items:center; gap:8px; font-size:13px; color: var(--ink-faint); margin-top: 8px; }
.co-card .hq .ico-svg { width:15px; height:15px; color: var(--accent); }
.co-card .co-body { padding: 18px 22px 22px; flex:1; }
.co-card .co-body ul { margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap: 10px; }
.co-card .co-body li { position:relative; padding-left: 18px; font-size: 14px; color: var(--muted); line-height:1.45; }
.co-card .co-body li::before { content:""; position:absolute; left:0; top:8px; width:6px; height:6px; border-radius:2px; background: var(--accent); transform: rotate(45deg); }

/* port cards */
.port-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 22px; }
.port-card { background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); padding: 26px; position: relative; overflow:hidden; }
.port-card .ph-band { position:absolute; right:-10px; top:-10px; color: color-mix(in oklab, var(--accent) 16%, transparent); }
.port-card .ph-band .ico-svg { width: 96px; height: 96px; stroke-width: 1; }
.port-card .pk { display:inline-flex; align-items:center; gap:8px; font-size:11.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color: var(--accent-2); }
.port-card .pk .flagmark { display:inline-flex; height:14px; width:10px; border-radius:2px; overflow:hidden; }
.port-card .pk .flagmark i { width:100%; height:33.33%; display:block; }
.port-card h3 { font-size: 24px; margin-top: 12px; position:relative; }
.port-card ul { margin:14px 0 0; padding:0; list-style:none; display:flex; flex-direction:column; gap:8px; position:relative; }
.port-card li { position:relative; padding-left: 18px; font-size:14px; color: var(--muted); }
.port-card li::before { content:""; position:absolute; left:0; top:8px; width:6px; height:6px; border-radius:2px; background: var(--accent); transform: rotate(45deg); }

/* office (government) cards */
.office-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.office-card { background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); padding: 24px; display:flex; flex-direction:column; }
.office-card .oc-head { display:flex; align-items:flex-start; gap:14px; }
.office-card .oc-ic { width:46px; height:46px; border-radius:12px; flex:none; display:grid; place-items:center; background: var(--ink); color: var(--gold); }
.office-card .oc-ic .ico-svg { width:24px; height:24px; }
.office-card h3 { font-size: 20px; }
.office-card .oc-sub { font-size: 13px; color: var(--ink-faint); margin-top: 4px; }
.office-card .oc-rows { margin-top: 18px; display:flex; flex-direction:column; gap: 11px; }
.office-card .oc-row { display:flex; align-items:flex-start; gap:11px; font-size: 14px; color: var(--ink-soft); }
.office-card .oc-row .ico-svg { width:17px; height:17px; color: var(--accent); flex:none; margin-top:2px; }
.office-card .oc-row a { color: var(--accent-2); font-weight:500; word-break: break-word; }
.office-card .oc-row a:hover { text-decoration: underline; }
.office-card .oc-branch { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.office-card .oc-branch + .oc-branch { margin-top: 12px; }
.office-card .oc-branch b { font-size: 13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color: var(--ink-faint); display:block; margin-bottom: 8px; }
.office-card .oc-photo { width:64px; height:64px; border-radius:14px; flex:none; overflow:hidden; border:1px solid var(--border); background: var(--bg-alt); }
.office-card .oc-photo img { width:100%; height:100%; object-fit: cover; object-position: center top; display:block; }
.office-card.person .oc-head { align-items:center; }
.office-card.person h3 { font-size: 21px; }


/* key takeaway block */
.takeaway { background: var(--ink); color: var(--cream); border-radius: calc(var(--radius) + 8px); padding: clamp(36px, 5vw, 60px); position: relative; overflow:hidden; }
.takeaway::after { content:""; position:absolute; left:0; top:0; height:100%; width:8px; background: linear-gradient(180deg, var(--ink) 0 33.3%, var(--gold) 33.3% 66.6%, var(--red) 66.6% 100%); }
.takeaway .k { color: var(--gold); }
.takeaway h2 { color: var(--cream); font-size: clamp(28px, 3.4vw, 44px); margin-top: 14px; max-width: 20ch; }
.takeaway h2 .gold { color: var(--gold); font-style: italic; }
:root[data-dir="blocks"] .takeaway h2 .gold { font-style: normal; }
.takeaway .tk-grid { display:grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 56px); align-items:start; margin-top: 26px; }
.takeaway .tk-grid > p { color: color-mix(in oklab, var(--cream) 80%, transparent); font-size: 16px; }
.takeaway .tk-list { display:flex; flex-direction:column; gap: 12px; }
.takeaway .tk-list .ti { display:flex; align-items:flex-start; gap:12px; font-size: 15px; color: color-mix(in oklab, var(--cream) 88%, transparent); }
.takeaway .tk-list .ti .ico-svg { width:18px; height:18px; color: var(--gold); flex:none; margin-top:3px; }
.takeaway .tk-foot { margin-top: 28px; padding-top: 24px; border-top: 1px solid color-mix(in oklab, var(--cream) 16%, transparent);
  font-size: 16px; color: color-mix(in oklab, var(--cream) 86%, transparent); max-width: 70ch; }
.takeaway .tk-foot b { color: var(--gold); font-weight:600; }

/* local businesses placeholder */
.locals { background: var(--bg-alt); }
.locals .panel { border: 1px dashed color-mix(in oklab, var(--ink) 26%, var(--border)); border-radius: var(--radius);
  padding: clamp(32px, 4vw, 48px); text-align: center; background: var(--surface); }
.locals .panel .ico-wrap { display:inline-flex; gap:10px; color: var(--accent); margin-bottom: 16px; }
.locals .panel .ico-wrap .ico-svg { width:26px; height:26px; }
.locals .panel h3 { font-size: clamp(24px, 3vw, 34px); }
.locals .panel p { color: var(--muted); margin-top: 12px; max-width: 52ch; margin-left:auto; margin-right:auto; }
.locals .panel .btn { margin-top: 22px; }

/* business directory cards */
.biz-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 22px; }
.biz-card { display:flex; gap:18px; align-items:flex-start; background: var(--surface); border:1px solid var(--border);
  border-radius: var(--radius); padding: 24px; transition: transform .18s, box-shadow .2s, border-color .2s; }
.biz-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in oklab, var(--accent) 36%, var(--border)); }
.biz-card .biz-ic { width:52px; height:52px; border-radius:14px; flex:none; display:grid; place-items:center; background: var(--gold-soft); color: var(--gold-deep); }
.biz-card.red .biz-ic { background: var(--red-soft); color: var(--red-deep); }
.biz-card .biz-ic .ico-svg { width:27px; height:27px; }
.biz-card .biz-body { flex:1; min-width:0; }
.biz-card .biz-cat { display:inline-block; font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color: var(--accent-2); margin-bottom: 7px; }
.biz-card h3 { font-size: 22px; }
.biz-card p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.biz-card .biz-tie { display:inline-flex; align-items:center; gap:7px; margin-top:12px; font-size:12.5px; font-weight:600; color: var(--ink-faint); }
.biz-card .biz-tie .flagmark { display:inline-flex; height:13px; width:10px; border-radius:2px; overflow:hidden; }
.biz-card .biz-tie .flagmark i { width:100%; height:33.33%; display:block; }

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

/* =========================================================================
   Board / Founders page — components (prefix .bd-)
   ========================================================================= */
.bd-hero { position: relative; overflow: hidden; padding: clamp(40px, 5vw, 76px) 0 clamp(28px, 3vw, 44px); }
.bd-hero .container { position: relative; z-index: 1; }
.bd-hero .crumb { display:inline-flex; align-items:center; gap:8px; font-size:13.5px; color: var(--ink-faint); margin-bottom: 22px; }
.bd-hero .crumb a { color: var(--accent-2); font-weight:600; }
.bd-hero .crumb .ico-svg { width:14px; height:14px; }
.bd-hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.12; max-width: 17ch; }
.bd-hero h1 .em { font-style: italic; color: var(--accent-2); }
:root[data-dir="blocks"] .bd-hero h1 .em { font-style: normal; color: var(--accent); }
.bd-hero .lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 60ch; margin-top: 24px; }
.bd-hero .motif { width: 140px; height: 140px; top: 10%; right: 4%; transform: rotate(-8deg); }

/* members */
.bd-members { display:flex; flex-direction:column; gap: clamp(48px, 6vw, 88px); }
.bd-member { display:grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(28px, 4vw, 60px); align-items:start; }
.bd-member.flip .bd-photo-wrap { order: 2; }

/* portrait */
.bd-photo-wrap { position: sticky; top: 96px; }
.bd-photo { position: relative; border-radius: var(--radius); overflow: hidden; border:1px solid var(--border); aspect-ratio: 3/4; box-shadow: var(--shadow); }
.bd-photo img { width:100%; height:100%; object-fit: cover; }
.bd-photo::after { content:""; position:absolute; left:0; bottom:0; width:100%; height:7px;
  background: linear-gradient(90deg, var(--ink) 0 33.3%, var(--gold) 33.3% 66.6%, var(--red) 66.6% 100%); }
.bd-namecard { margin-top: 16px; display:flex; align-items:flex-start; gap: 13px; }
.bd-namecard .flagmark { display:inline-flex; flex-direction:column; height:34px; width:24px; border-radius:5px; overflow:hidden; flex:none;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06); margin-top: 4px; }
.bd-namecard .flagmark i { width:100%; height:33.33%; display:block; }
.bd-namecard .flagmark i:nth-child(1){ background: var(--ink); }
.bd-namecard .flagmark i:nth-child(2){ background: var(--gold); }
.bd-namecard .flagmark i:nth-child(3){ background: var(--red); }
.bd-namecard h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.08; }
.bd-namecard .role { display:flex; flex-wrap:wrap; gap:7px; margin-top: 9px; }
.bd-namecard .role span { font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  padding: 5px 11px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-deep); }
.bd-namecard .role span.alt { background: var(--red-soft); color: var(--red-deep); }
.bd-namecard .role span.ghost { background: transparent; border:1px solid var(--border); color: var(--ink-faint); }

/* bio body */
.bd-bio { display:flex; flex-direction:column; gap: 26px; padding-top: 4px; }
.bd-block .bl-h { display:inline-flex; align-items:center; gap:10px; font-family: var(--body);
  font-weight:700; font-size:12.5px; letter-spacing:.14em; text-transform:uppercase; color: var(--accent-2); margin-bottom: 12px; }
.bd-block .bl-h .ico { width:30px; height:30px; border-radius:9px; flex:none; display:grid; place-items:center;
  background: var(--surface); border:1px solid var(--border); color: var(--accent); }
.bd-block .bl-h .ico .ico-svg { width:17px; height:17px; }
.bd-block p { color: var(--ink-soft); font-size: 16px; line-height: 1.62; }
.bd-block p + p { margin-top: 12px; }

/* competency / hobby chips */
.bd-tags { display:flex; flex-wrap:wrap; gap: 9px; margin-top: 14px; }
.bd-tags .tag { font-size: 13px; font-weight:500; padding: 7px 13px; border-radius: 999px;
  background: var(--surface); border:1px solid var(--border); color: var(--on-bg); }
.bd-edu { margin-top: 4px; display:flex; flex-direction:column; gap: 10px; }
.bd-edu .deg { display:flex; gap:11px; align-items:flex-start; font-size:15px; color: var(--ink-soft); }
.bd-edu .deg .ico-svg { width:18px; height:18px; color: var(--accent); flex:none; margin-top:3px; }
.bd-edu .deg b { color: var(--on-bg); font-weight:600; }

/* hobby line */
.bd-hobbies { display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding-top: 18px; margin-top: 4px;
  border-top: 1px solid var(--border); font-size: 14.5px; color: var(--ink-faint); }
.bd-hobbies .lbl { display:inline-flex; align-items:center; gap:8px; font-weight:600; color: var(--accent-2); }
.bd-hobbies .lbl .ico-svg { width:16px; height:16px; }

/* closing note */
.bd-close { background: var(--bg-alt); }
.bd-join { background: var(--ink); color: var(--cream); border-radius: calc(var(--radius) + 8px);
  padding: clamp(36px, 5vw, 60px); position: relative; overflow:hidden; text-align:center; }
.bd-join::after { content:""; position:absolute; left:0; top:0; height:100%; width:8px;
  background: linear-gradient(180deg, var(--ink) 0 33.3%, var(--gold) 33.3% 66.6%, var(--red) 66.6% 100%); }
.bd-join h2 { color: var(--cream); font-size: clamp(26px, 3.2vw, 40px); max-width: 22ch; margin: 0 auto; }
.bd-join h2 .gold { color: var(--gold); font-style: italic; }
:root[data-dir="blocks"] .bd-join h2 .gold { font-style: normal; }
.bd-join p { color: color-mix(in oklab, var(--cream) 80%, transparent); margin: 14px auto 0; max-width: 50ch; }
.bd-join .hero-actions { justify-content:center; }

/* roots map */
.bd-roots-sec { background: var(--bg-alt); }
.bd-roots { display:grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(28px, 4vw, 60px); align-items:center; }
.bd-roots-copy h2 { font-size: clamp(26px, 3vw, 38px); line-height:1.14; max-width: 16ch; margin-top: 14px; }
.bd-roots-copy h2 .em { font-style: italic; color: var(--accent-2); }
:root[data-dir="blocks"] .bd-roots-copy h2 .em { font-style: normal; color: var(--accent); }
.bd-roots-copy > p { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 46ch; margin-top: 16px; }
.bd-roots-list { list-style:none; margin: 26px 0 0; padding:0; display:flex; flex-direction:column; gap: 14px; }
.bd-roots-list li { display:flex; align-items:center; gap: 13px; }
.bd-roots-list .flagmark { display:inline-flex; gap:0; height:22px; width:32px; border-radius:4px; overflow:hidden; flex:none; box-shadow: 0 1px 3px rgba(40,30,10,.18); }
.bd-roots-list .flagmark i { width: 33.34%; }
.bd-roots-list .flagmark i:nth-child(1){ background: var(--ink); }
.bd-roots-list .flagmark i:nth-child(2){ background: var(--gold); }
.bd-roots-list .flagmark i:nth-child(3){ background: var(--red); }
.bd-roots-list b { display:block; font-family: var(--display); font-size: 17px; font-weight:600; line-height:1.2; }
.bd-roots-list span { font-size: 13px; color: var(--ink-faint); }
.bd-roots-map { margin:0; border-radius: var(--radius); overflow:hidden; border:1px solid var(--border);
  box-shadow: 0 24px 48px -28px rgba(40,30,10,.45); }
.bd-roots-map img { display:block; width:100%; height:auto; }

@media (max-width: 940px) {
  .bd-member, .bd-member.flip { grid-template-columns: 1fr; }
  .bd-member.flip .bd-photo-wrap { order: 0; }
  .bd-photo-wrap { position: static; }
  .bd-photo { aspect-ratio: 4/3; max-width: 440px; }
  .bd-roots { grid-template-columns: 1fr; }
  .bd-roots-map { order: -1; max-width: 560px; }
}

@media (max-width: 940px) {
  .statstrip { grid-template-columns: 1fr 1fr; }
  .statstrip .stat:nth-child(2) { border-right: none; }
  .statstrip .stat:nth-child(1), .statstrip .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .t-cards, .co-grid, .port-grid, .office-grid { grid-template-columns: 1fr; }
  .cats-wrap, .takeaway .tk-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .statstrip { grid-template-columns: 1fr; }
  .statstrip .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .statstrip .stat:last-child { border-bottom: none; }
  .catlist { grid-template-columns: 1fr; }
  .compare-cell { padding: 14px 16px; font-size: 14px; }
  .t-hero .route { flex-wrap: wrap; }
}
