/*
Theme Name:     EBF — Kadence Child
Theme URI:      https://europeanbamboo.org
Description:    Child theme for the European Bamboo Foundation. Loads the EBF design tokens, custom typography, and section/component CSS that the Gutenberg content blocks reference. Built on top of the free Kadence theme.
Author:         European Bamboo Foundation
Author URI:     https://europeanbamboo.org
Template:       kadence
Version:        1.0.0
Text Domain:    ebf-kadence-child
*/

/* =========================================================
   EBF Design tokens — transcribed from the Claude Design source.
   Source-of-truth values: brand-kit.html / assets/styles.css.
   Do not retune in isolation — keep this in sync with theme.json.
   ========================================================= */

:root {
  /* Colour: Paper + Forest */
  --ebf-bg:           #F2EDE4;
  --ebf-bg-2:         #EAE3D5;
  --ebf-bg-inverse:   #22271F;
  --ebf-fg:           #22271F;
  --ebf-fg-muted:     #5C6155;
  --ebf-fg-faint:     #8A8576;
  --ebf-rule:         #D2CCBE;
  --ebf-rule-strong:  #B6AE9C;
  --ebf-accent:       #3F5A40;
  --ebf-accent-ink:   #F2EDE4;

  /* Type */
  --ebf-f-display: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --ebf-f-body:    "IBM Plex Sans", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --ebf-f-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Spacing scale */
  --ebf-s-1: 4px;
  --ebf-s-2: 8px;
  --ebf-s-3: 12px;
  --ebf-s-4: 20px;
  --ebf-s-5: 32px;
  --ebf-s-6: 48px;
  --ebf-s-7: 72px;
  --ebf-s-8: 112px;
  --ebf-s-9: 160px;

  --ebf-container: 1240px;
  --ebf-container-narrow: 880px;
  --ebf-container-text: 680px;
}

/* =========================================================
   Site-wide typographic + colour overrides on Kadence.
   We scope to the front of the site only — wp-admin is left alone.
   ========================================================= */

body,
.entry-content,
.site-main {
  background: var(--ebf-bg);
  color: var(--ebf-fg);
  font-family: var(--ebf-f-body);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "kern";
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.site-header .site-branding,
.ebf h1, .ebf h2, .ebf h3, .ebf h4 {
  font-family: var(--ebf-f-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.entry-content p { text-wrap: pretty; }

::selection { background: var(--ebf-accent); color: var(--ebf-accent-ink); }

/* Default link treatment used by EBF sections — restrained underline */
.ebf a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.ebf a:hover { color: var(--ebf-accent); }

/* =========================================================
   Containers used by Gutenberg HTML blocks.
   Each pasted section is wrapped in <section class="ebf ebf-section ebf-<name>">
   so styles never leak to other site content.
   ========================================================= */

.ebf .ebf-container {
  max-width: var(--ebf-container);
  margin: 0 auto;
  padding: 0 var(--ebf-s-5);
}
.ebf .ebf-container-narrow {
  max-width: var(--ebf-container-narrow);
  margin: 0 auto;
  padding: 0 var(--ebf-s-5);
}
.ebf .ebf-container-text {
  max-width: var(--ebf-container-text);
  margin: 0 auto;
  padding: 0 var(--ebf-s-5);
}

.ebf-section {
  padding: var(--ebf-s-8) 0;
  border-top: 1px solid var(--ebf-rule);
}
.ebf-section.ebf-section--first { border-top: 0; }
.ebf-section.ebf-section--inverse {
  background: var(--ebf-bg-inverse);
  color: var(--ebf-bg);
}
.ebf-section.ebf-section--inverse h1,
.ebf-section.ebf-section--inverse h2,
.ebf-section.ebf-section--inverse h3 { color: var(--ebf-bg); }
.ebf-section.ebf-section--bg2 { background: var(--ebf-bg-2); }

/* Numbered eyebrow + display title shared by every section */
.ebf .ebf-section-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--ebf-s-6);
  margin-bottom: var(--ebf-s-6);
  align-items: baseline;
}
.ebf .ebf-section-head .ebf-num {
  font-family: var(--ebf-f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ebf-fg-muted);
}
.ebf .ebf-section-head .ebf-title {
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1;
  max-width: 22ch;
  margin: 0;
}
@media (max-width: 800px) {
  .ebf .ebf-section-head { grid-template-columns: 1fr; gap: var(--ebf-s-3); }
}

/* Small caps label used throughout */
.ebf .ebf-eyebrow {
  font-family: var(--ebf-f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ebf-fg-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--ebf-s-2);
}
.ebf .ebf-eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--ebf-fg-muted);
}

/* =========================================================
   Expo banner
   ========================================================= */
.ebf-expo-banner {
  background: var(--ebf-bg-inverse);
  color: var(--ebf-bg);
  font-family: var(--ebf-f-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.ebf-expo-banner-inner {
  display: flex;
  align-items: center;
  gap: var(--ebf-s-4);
  padding: 10px var(--ebf-s-5);
  max-width: var(--ebf-container);
  margin: 0 auto;
  flex-wrap: wrap;
}
.ebf-expo-banner .tag {
  padding: 2px 8px;
  border: 1px solid rgba(242, 237, 228, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10.5px;
}
.ebf-expo-banner .msg { flex: 1; }

/* =========================================================
   Hero
   ========================================================= */
.ebf-hero { padding: var(--ebf-s-8) 0 var(--ebf-s-7); position: relative; }
.ebf-hero-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--ebf-s-6);
  align-items: start;
}
.ebf-hero-meta {
  font-family: var(--ebf-f-mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ebf-fg-muted);
  position: sticky;
  top: 96px;
}
.ebf-hero-meta div + div { margin-top: var(--ebf-s-3); }
.ebf-hero-meta .k { color: var(--ebf-fg-faint); display: block; font-size: 10.5px; }
.ebf-hero-meta .v { color: var(--ebf-fg); }

.ebf-hero h1 {
  font-family: var(--ebf-f-display);
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0;
  font-weight: 400;
}
.ebf-hero h1 .em { font-style: italic; color: var(--ebf-accent); }
.ebf-hero h1 .grey { color: var(--ebf-fg-muted); }
.ebf-hero .ebf-lede {
  font-family: var(--ebf-f-display);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  color: var(--ebf-fg-muted);
  max-width: 32ch;
  margin-top: var(--ebf-s-5);
}
.ebf-hero-cta {
  margin-top: var(--ebf-s-6);
  display: flex;
  gap: var(--ebf-s-3);
  flex-wrap: wrap;
}

@media (max-width: 800px) {
  .ebf-hero-grid { grid-template-columns: 1fr; }
  .ebf-hero-meta { position: static; }
}

/* =========================================================
   Buttons
   ========================================================= */
.ebf .ebf-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--ebf-s-2);
  padding: 14px 22px;
  font-family: var(--ebf-f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--ebf-fg);
  background: var(--ebf-fg);
  color: var(--ebf-bg);
  cursor: pointer;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.ebf .ebf-btn:hover {
  background: var(--ebf-accent);
  border-color: var(--ebf-accent);
  color: var(--ebf-accent-ink);
}
.ebf .ebf-btn.ebf-btn--ghost {
  background: transparent;
  color: var(--ebf-fg);
}
.ebf .ebf-btn.ebf-btn--ghost:hover {
  background: var(--ebf-fg);
  color: var(--ebf-bg);
}
.ebf .ebf-btn .arrow {
  display: inline-block;
  transform: translateX(0);
  transition: transform 160ms ease;
}
.ebf .ebf-btn:hover .arrow { transform: translateX(3px); }

/* On dark sections, invert the default ghost button */
.ebf-section--inverse .ebf-btn {
  border-color: var(--ebf-bg);
  background: var(--ebf-bg);
  color: var(--ebf-fg);
}
.ebf-section--inverse .ebf-btn.ebf-btn--ghost {
  background: transparent;
  color: var(--ebf-bg);
}
.ebf-section--inverse .ebf-btn.ebf-btn--ghost:hover {
  background: var(--ebf-bg);
  color: var(--ebf-fg);
}

/* =========================================================
   Signal row (4-column proof bar)
   ========================================================= */
.ebf-signal-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ebf-rule);
  border-bottom: 1px solid var(--ebf-rule);
}
.ebf-signal {
  padding: var(--ebf-s-5) var(--ebf-s-4);
  border-left: 1px solid var(--ebf-rule);
}
.ebf-signal:first-child { border-left: 0; }
.ebf-signal .k {
  font-family: var(--ebf-f-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ebf-fg-muted);
}
.ebf-signal .v {
  font-family: var(--ebf-f-display);
  font-size: 28px;
  line-height: 1.15;
  margin-top: var(--ebf-s-3);
}
@media (max-width: 800px) {
  .ebf-signal-row { grid-template-columns: repeat(2, 1fr); }
  .ebf-signal:nth-child(3) { border-left: 0; }
  .ebf-signal:nth-child(3), .ebf-signal:nth-child(4) { border-top: 1px solid var(--ebf-rule); }
}

/* =========================================================
   Prose (mission paragraphs etc.)
   ========================================================= */
.ebf-prose p {
  font-family: var(--ebf-f-display);
  font-size: 22px;
  line-height: 1.45;
  color: var(--ebf-fg);
  margin: 0 0 var(--ebf-s-4);
}
.ebf-prose p:last-child { margin-bottom: 0; }
.ebf-prose .ebf-small {
  font-family: var(--ebf-f-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ebf-fg-muted);
}

/* =========================================================
   Focus grid (working groups)
   ========================================================= */
.ebf-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ebf-rule);
  border: 1px solid var(--ebf-rule);
}
.ebf-focus-cell {
  background: var(--ebf-bg);
  padding: var(--ebf-s-5);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: var(--ebf-s-3);
}
.ebf-focus-cell.ebf-focus-cell--alt { background: var(--ebf-bg-2); }
.ebf-focus-cell .ebf-num {
  font-family: var(--ebf-f-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--ebf-fg-muted);
}
.ebf-focus-cell h3 {
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
}
.ebf-focus-cell p {
  font-size: 14.5px;
  color: var(--ebf-fg-muted);
  line-height: 1.55;
  margin-top: auto;
  margin-bottom: 0;
}
@media (max-width: 900px) { .ebf-focus-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ebf-focus-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Roadmap (three phases)
   ========================================================= */
.ebf-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ebf-rule);
  border: 1px solid var(--ebf-rule);
}
.ebf-roadmap-cell {
  background: var(--ebf-bg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ebf-roadmap-cell .head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--ebf-f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ebf-fg-muted);
}
.ebf-roadmap-cell h3 {
  font-family: var(--ebf-f-display);
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
}
.ebf-roadmap-cell p {
  color: var(--ebf-fg-muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) { .ebf-roadmap-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Who-it-serves 6-up
   ========================================================= */
.ebf-chain-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--ebf-rule);
  border: 1px solid var(--ebf-rule);
}
.ebf-chain-cell {
  background: var(--ebf-bg);
  padding: 24px 20px;
}
.ebf-chain-cell h4 {
  font-family: var(--ebf-f-display);
  font-size: 18px;
  margin: 0;
  font-weight: 400;
}
@media (max-width: 900px) { .ebf-chain-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .ebf-chain-grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   Involvement cards
   ========================================================= */
.ebf-involve-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ebf-s-4);
}
.ebf-involve-card {
  border: 1px solid var(--ebf-rule);
  background: var(--ebf-bg);
  padding: var(--ebf-s-5);
  display: flex;
  flex-direction: column;
  gap: var(--ebf-s-3);
  text-decoration: none;
  color: inherit;
  min-height: 280px;
  transition: background 160ms ease, border-color 160ms ease;
}
.ebf .ebf-involve-card { border-bottom: 1px solid var(--ebf-rule); }
.ebf-involve-card:hover {
  background: var(--ebf-bg-2);
  border-color: var(--ebf-rule-strong);
  color: inherit;
}
.ebf-involve-card .tag {
  font-family: var(--ebf-f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ebf-fg-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--ebf-s-2);
}
.ebf-involve-card h3 {
  font-family: var(--ebf-f-display);
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-top: var(--ebf-s-3);
  margin-bottom: 0;
}
.ebf-involve-card .desc {
  color: var(--ebf-fg-muted);
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0;
}
.ebf-involve-card .meta {
  font-family: var(--ebf-f-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--ebf-fg-faint);
  margin-top: auto;
  padding-top: var(--ebf-s-4);
  border-top: 1px solid var(--ebf-rule);
  display: flex;
  justify-content: space-between;
  gap: var(--ebf-s-3);
  flex-wrap: wrap;
}
.ebf-involve-card .meta .go {
  color: var(--ebf-fg);
  display: inline-flex;
  gap: var(--ebf-s-2);
  align-items: center;
}
.ebf-involve-card:hover .meta .go { color: var(--ebf-accent); }
@media (max-width: 800px) { .ebf-involve-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Chips
   ========================================================= */
.ebf-chip {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--ebf-rule-strong);
  font-family: var(--ebf-f-mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ebf-fg-muted);
}
.ebf-chip.ebf-chip--accent {
  background: var(--ebf-accent);
  color: var(--ebf-accent-ink);
  border-color: var(--ebf-accent);
}

/* =========================================================
   FAQ
   ========================================================= */
.ebf-faq { max-width: 860px; }
.ebf-faq-item {
  border-top: 1px solid var(--ebf-rule);
  padding: var(--ebf-s-4) 0;
}
.ebf-faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--ebf-s-4);
  font-family: var(--ebf-f-display);
  font-size: 22px;
  line-height: 1.3;
}
.ebf-faq-item summary::-webkit-details-marker { display: none; }
.ebf-faq-item summary::after {
  content: "+";
  font-family: var(--ebf-f-mono);
  font-size: 18px;
  color: var(--ebf-fg-muted);
}
.ebf-faq-item[open] summary::after { content: "−"; }
.ebf-faq-item .a {
  padding-top: var(--ebf-s-3);
  color: var(--ebf-fg-muted);
  max-width: 60ch;
}

/* =========================================================
   Image zones (placeholders)
   ========================================================= */
.ebf-img-zone {
  position: relative;
  background: var(--ebf-bg-2);
  border: 1px solid var(--ebf-rule);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
}
.ebf-img-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 11px,
    rgba(182, 174, 156, 0.6) 11px 12px
  );
  z-index: 0;
}
.ebf-img-zone::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(182, 174, 156, 0.7);
  pointer-events: none;
  z-index: 0;
}
.ebf-img-zone .iz-inner {
  position: relative;
  z-index: 1;
  background: var(--ebf-bg);
  border: 1px solid var(--ebf-rule-strong);
  padding: 14px 18px;
  text-align: center;
  font-family: var(--ebf-f-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ebf-fg-muted);
  max-width: 80%;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.ebf-img-zone .iz-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ebf-fg);
}
.ebf-img-zone .iz-spec {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ebf-fg-faint);
}
.ebf-img-zone .iz-spec.note {
  text-transform: none;
  letter-spacing: 0.02em;
  max-width: 56ch;
}
.ebf-img-zone .iz-slug {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ebf-accent);
  text-transform: lowercase;
}
.ebf-img-zone.iz-cinema { aspect-ratio: 21 / 9; }
.ebf-img-zone.iz-wide   { aspect-ratio: 16 / 7; }
.ebf-img-zone.iz-photo  { aspect-ratio: 3 / 2; }

/* =========================================================
   Sub-page form layout (board / volunteer / founding member / stay informed)
   The form fields themselves are rendered by Fluent Forms / WPForms;
   we only style the page chrome around them.
   ========================================================= */
.ebf-form-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--ebf-s-6);
  padding: var(--ebf-s-7) 0 var(--ebf-s-8);
}
.ebf-form-aside { position: sticky; top: 96px; align-self: start; }
.ebf-form-aside .num {
  font-family: var(--ebf-f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ebf-fg-muted);
  margin-bottom: var(--ebf-s-3);
}
.ebf-form-aside h1 {
  font-family: var(--ebf-f-display);
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 400;
}
.ebf-form-aside p {
  font-family: var(--ebf-f-display);
  font-size: 18px;
  line-height: 1.45;
  color: var(--ebf-fg-muted);
  margin-top: var(--ebf-s-4);
}
.ebf-form-aside .meta-list {
  margin-top: var(--ebf-s-5);
  border-top: 1px solid var(--ebf-rule);
}
.ebf-form-aside .meta-list .row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--ebf-s-3);
  padding: var(--ebf-s-3) 0;
  border-bottom: 1px solid var(--ebf-rule);
  font-family: var(--ebf-f-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ebf-form-aside .meta-list .k { color: var(--ebf-fg-muted); }
.ebf-form-aside .meta-list .v { color: var(--ebf-fg); }
@media (max-width: 900px) {
  .ebf-form-shell { grid-template-columns: 1fr; }
  .ebf-form-aside { position: static; }
}

/* Restyle Fluent / WPForms inputs to match EBF aesthetic.
   These selectors cover both plugin namespaces. */
.ebf-form-body .fluentform input[type="text"],
.ebf-form-body .fluentform input[type="email"],
.ebf-form-body .fluentform input[type="tel"],
.ebf-form-body .fluentform input[type="url"],
.ebf-form-body .fluentform select,
.ebf-form-body .fluentform textarea,
.ebf-form-body .wpforms-form input[type="text"],
.ebf-form-body .wpforms-form input[type="email"],
.ebf-form-body .wpforms-form input[type="tel"],
.ebf-form-body .wpforms-form input[type="url"],
.ebf-form-body .wpforms-form select,
.ebf-form-body .wpforms-form textarea {
  background: var(--ebf-bg);
  border: 1px solid var(--ebf-rule-strong);
  border-radius: 0 !important;
  padding: 12px 14px;
  font-family: var(--ebf-f-body);
  font-size: 15px;
  color: var(--ebf-fg);
}
.ebf-form-body .fluentform input:focus,
.ebf-form-body .fluentform select:focus,
.ebf-form-body .fluentform textarea:focus,
.ebf-form-body .wpforms-form input:focus,
.ebf-form-body .wpforms-form select:focus,
.ebf-form-body .wpforms-form textarea:focus {
  outline: 2px solid var(--ebf-accent);
  outline-offset: 1px;
  border-color: var(--ebf-accent);
}
.ebf-form-body .fluentform button[type="submit"],
.ebf-form-body .wpforms-submit {
  display: inline-flex;
  align-items: center;
  gap: var(--ebf-s-2);
  padding: 14px 22px;
  font-family: var(--ebf-f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--ebf-fg);
  background: var(--ebf-fg);
  color: var(--ebf-bg);
  border-radius: 0;
  cursor: pointer;
}
.ebf-form-body .fluentform button[type="submit"]:hover,
.ebf-form-body .wpforms-submit:hover {
  background: var(--ebf-accent);
  border-color: var(--ebf-accent);
}

/* =========================================================
   Footer overrides (Kadence's footer keeps its slot —
   we restyle through these class hooks)
   ========================================================= */
.site-footer,
.ebf-footer {
  background: var(--ebf-bg);
  color: var(--ebf-fg);
  font-family: var(--ebf-f-body);
}
.ebf-footer-origin {
  font-family: var(--ebf-f-display);
  font-size: 18px;
  line-height: 1.4;
  color: var(--ebf-fg);
  max-width: 32ch;
}
.ebf-footer-meta {
  font-family: var(--ebf-f-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ebf-fg-muted);
}

/* =========================================================
   Print
   ========================================================= */
@media print {
  .ebf-expo-banner,
  .ebf-hero-cta { display: none; }
  .ebf-section { padding: 24px 0; }
}
