/* ==========================================================================
   ALKEBULAN — Pan-African trade execution & market access platform
   Every colour is sampled from the Alkebulan logomark (charcoal #323237,
   gold #DAA520, off-white #F0F0F0, greys #5A5A5E / #828284 / #959597) or is
   a tint or shade of one of those same hues. Geometry follows the mark:
   right angles, no radii, one continuous line that turns.
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */
:root {
  --ink:          #1B1B1E;
  --charcoal:     #323237;
  --charcoal-2:   #414145;
  --charcoal-3:   #5A5A5E;

  --paper:        #F0EEE9;
  --paper-2:      #F7F6F3;
  --paper-3:      #E4E1DA;

  --gold:         #DAA520;
  --gold-soft:    #E8C367;
  --gold-deep:    #7A5C12;

  --text-dark:    #1B1B1E;
  --text-muted:   #5A5A5E;
  --text-light:   #F0EEE9;
  --text-light-muted: #959597;

  --warn:         #8C2F1E;

  --rule-light:   rgba(27, 27, 30, 0.14);
  --rule-dark:    rgba(240, 238, 233, 0.16);
  --rule-gold:    rgba(218, 165, 32, 0.42);

  --display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono:    "Fira Code", ui-monospace, monospace;

  --shell:  1240px;
  --gutter: 32px;
  --rhythm: 112px;
}
@media (max-width: 900px) { :root { --gutter: 22px; --rhythm: 72px; } }

/* ----------------------------------------------------------------- 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-dark);
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--ink);
  padding: 10px 18px; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* ---------------------------------------------------------------- 3. Shell */
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding-inline: var(--gutter); }

.band { padding-block: var(--rhythm); }
.band--tight { padding-block: calc(var(--rhythm) * 0.62); }
.band--dark { background: var(--charcoal); color: var(--text-light); }
.band--ink  { background: var(--ink); color: var(--text-light); }
.band--alt  { background: var(--paper-2); }
.band--line { border-top: 1px solid var(--rule-light); }
.band--dark.band--line, .band--ink.band--line { border-top-color: var(--rule-dark); }

/* ----------------------------------------------------------- 4. Typography */
h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 700;
  letter-spacing: -0.022em; line-height: 1.08; margin: 0; text-wrap: balance;
}
.t-hero    { font-size: clamp(2.5rem, 5.6vw, 4.35rem); font-weight: 800; letter-spacing: -0.034em; }
.t-display { font-size: clamp(2rem, 3.9vw, 3.1rem); }
.t-section { font-size: clamp(1.65rem, 2.9vw, 2.4rem); }
.t-sub     { font-size: clamp(1.12rem, 1.55vw, 1.32rem); font-weight: 700; line-height: 1.28; }

.lede {
  font-size: clamp(1.06rem, 1.45vw, 1.24rem); line-height: 1.62;
  color: var(--text-muted); max-width: 62ch; margin: 22px 0 0;
}
.band--dark .lede, .band--ink .lede, .hero .lede { color: var(--text-light-muted); }

p { margin: 18px 0 0; max-width: 68ch; }
p:first-child { margin-top: 0; }

.eyebrow {
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-deep); margin: 0 0 20px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); flex: none; }
.band--dark .eyebrow, .band--ink .eyebrow, .hero .eyebrow { color: var(--gold-soft); }

.brand-line {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.16;
  max-width: none;
}
.brand-line em { font-style: normal; color: var(--gold-deep); }
.band--dark .brand-line em, .band--ink .brand-line em, .site-footer .brand-line em { color: var(--gold); }

.fine { font-size: 0.875rem; line-height: 1.6; color: var(--text-muted); max-width: 72ch; }
.band--dark .fine, .band--ink .fine { color: var(--text-light-muted); }

/* ------------------------------------- 5. Signature: the corridor geometry */
.rule { height: 1px; background: var(--rule-light); border: 0; margin: 0; }
.band--dark .rule, .band--ink .rule { background: var(--rule-dark); }

/* -------------------------------------------------------------- 6. Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none;
  padding: 15px 24px; border: 1px solid transparent; background: none; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn__arrow { display: block; width: 18px; height: 1px; background: currentColor; position: relative; transition: width 0.2s ease; }
.btn__arrow::after {
  content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg); transform-origin: right center;
}
.btn:hover .btn__arrow { width: 28px; }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--dark { background: var(--charcoal); color: var(--text-light); }
.btn--dark:hover { background: var(--ink); }
.btn--ghost { border-color: var(--rule-light); color: var(--text-dark); }
.btn--ghost:hover { border-color: var(--charcoal); background: var(--charcoal); color: var(--text-light); }
.btn--ghost-light { border-color: var(--rule-dark); color: var(--text-light); }
.btn--ghost-light:hover { border-color: var(--gold); color: var(--gold); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.link-gold {
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-deep); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  padding-bottom: 4px; border-bottom: 1px solid var(--rule-gold);
  transition: border-color 0.2s ease, gap 0.2s ease;
}
.link-gold:hover { border-bottom-color: var(--gold); gap: 16px; }
.band--dark .link-gold, .band--ink .link-gold { color: var(--gold); }

/* --------------------------------------------------------------- 7. Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper); border-bottom: 1px solid var(--rule-light);
  transition: background-color 0.28s ease, border-color 0.28s ease;
}
.site-header--over {
  position: fixed; left: 0; right: 0;
  background: transparent; border-bottom-color: transparent; color: var(--text-light);
}
.site-header--over.is-stuck { background: var(--ink); border-bottom-color: var(--rule-dark); }

.nav { display: flex; align-items: center; gap: 40px; min-height: 82px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; flex: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__word { font-family: var(--display); font-weight: 800; font-size: 1.0625rem; letter-spacing: 0.16em; text-transform: uppercase; }

.nav__links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav__link {
  font-size: 0.8438rem; font-weight: 500; text-decoration: none;
  padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav__link:hover { border-bottom-color: var(--gold); }
.nav__link[aria-current="page"] { border-bottom-color: var(--gold); color: var(--gold-deep); }
.site-header--over .nav__link[aria-current="page"] { color: var(--gold); }
.nav__cta { padding: 12px 20px; }

.nav__toggle {
  display: none; margin-left: auto; background: none;
  border: 1px solid var(--rule-light); color: inherit;
  width: 46px; height: 42px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.site-header--over .nav__toggle { border-color: var(--rule-dark); }
.nav__toggle span { display: block; width: 18px; height: 1px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 1140px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink); color: var(--text-light);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 28px; border-bottom: 1px solid var(--rule-dark);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__link { padding: 16px 0; border-bottom: 1px solid var(--rule-dark); font-size: 1rem; }
  .nav__link[aria-current="page"] { color: var(--gold); }
  .nav__cta { margin-top: 22px; justify-content: space-between; }
}

/* ----------------------------------------------------------------- 8. Hero */
.hero { position: relative; background: var(--ink); color: var(--text-light); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(27,27,30,0.90) 0%, rgba(27,27,30,0.72) 42%, rgba(27,27,30,0.95) 100%);
}
.hero__inner { display: flex; flex-direction: column; justify-content: flex-end; min-height: 88vh; padding-top: 190px; padding-bottom: 78px; }
.hero--short .hero__inner { min-height: 62vh; padding-top: 172px; padding-bottom: 62px; }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: end; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: 34px; } }

.hero__meta {
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-light-muted);
  border-top: 1px solid var(--rule-dark); padding-top: 18px;
  display: grid; gap: 9px; margin-top: 34px;
}
.hero__meta b { color: var(--gold); font-weight: 500; }

/* ---------------------------------------------------------- 9. Image slots */
.imgslot {
  position: relative; background: var(--charcoal);
  background-image:
    radial-gradient(120% 100% at 12% 0%, rgba(218,165,32,0.16) 0%, rgba(218,165,32,0) 58%),
    repeating-linear-gradient(135deg, rgba(240,238,233,0.035) 0 1px, rgba(240,238,233,0) 1px 9px);
  overflow: hidden; display: flex; align-items: flex-end;
}
.imgslot::before {
  content: ""; position: absolute; right: -6%; top: 50%;
  width: 46%; aspect-ratio: 1; transform: translateY(-50%);
  background: url("../img/mark-outline.svg") center / contain no-repeat; opacity: 0.14;
}
.imgslot__note {
  position: relative; font-family: var(--mono); font-size: 0.6875rem; line-height: 1.5;
  letter-spacing: 0.06em; color: var(--text-light-muted);
  padding: 16px 18px; max-width: 40ch; margin: 20px;
  border-left: 1px solid var(--gold); background: rgba(27,27,30,0.55);
}
.imgslot__note b { display: block; color: var(--gold); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 5px; }

.imgslot--hero { position: absolute; inset: 0; align-items: flex-start; justify-content: flex-end; }
.imgslot--hero .imgslot__note { margin: 108px 24px 0; }
@media (max-width: 900px) { .imgslot--hero .imgslot__note { display: none; } }

.imgslot--wide     { aspect-ratio: 21 / 8; }
.imgslot--broad    { aspect-ratio: 16 / 9; }
.imgslot--portrait { aspect-ratio: 4 / 5; }
.imgslot--square   { aspect-ratio: 1; }

/* ------------------------------------------------- 10. Grids and panels */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--wide-left { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
@media (max-width: 900px) { .split, .split--even, .split--wide-left { grid-template-columns: 1fr; gap: 40px; } }

.sticky-head { position: sticky; top: 118px; }
@media (max-width: 900px) { .sticky-head { position: static; } }

.cols { display: grid; gap: 1px; background: var(--rule-light); border: 1px solid var(--rule-light); }
.cols--2 { grid-template-columns: repeat(2, 1fr); }
.cols--3 { grid-template-columns: repeat(3, 1fr); }
.cols--4 { grid-template-columns: repeat(4, 1fr); }
.band--dark .cols, .band--ink .cols { background: var(--rule-dark); border-color: var(--rule-dark); }
.cols > * { background: var(--paper); padding: 40px 34px; }
.band--alt .cols > * { background: var(--paper-2); }
.band--dark .cols > * { background: var(--charcoal); }
.band--ink .cols > * { background: var(--ink); }
@media (max-width: 1020px) { .cols--4 { grid-template-columns: repeat(2, 1fr); } .cols--3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .cols--2, .cols--4 { grid-template-columns: 1fr; } }

.cell__index {
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.18em;
  color: var(--gold-deep); display: block; margin-bottom: 18px;
}
.band--dark .cell__index, .band--ink .cell__index { color: var(--gold); }
.cell p { font-size: 0.9375rem; color: var(--text-muted); }
.band--dark .cell p, .band--ink .cell p { color: var(--text-light-muted); }

.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule-light); border-block: 1px solid var(--rule-light); }
@media (max-width: 900px) { .lines { grid-template-columns: 1fr; } }
.line { background: var(--paper); display: flex; flex-direction: column; }
.line__body { padding: 44px 40px 48px; display: flex; flex-direction: column; flex: 1; }
.line__no { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.2em; color: var(--gold-deep); margin-bottom: 22px; }
.line h3 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.line p { color: var(--text-muted); font-size: 1rem; }
.line .link-gold { margin-top: auto; padding-top: 30px; align-self: flex-start; }
@media (max-width: 720px) { .line__body { padding: 34px 24px 38px; } }

/* -------------------------------------------------------- 11. Corridor rail */
.corridor__track { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: relative; }
.corridor__track::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--rule-gold); }
.stop { position: relative; padding: 30px 22px 0 0; }
.stop::before { content: ""; position: absolute; left: 0; top: 3px; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.stop__no { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.18em; color: var(--gold-deep); display: block; margin-bottom: 8px; }
.band--dark .stop__no, .band--ink .stop__no { color: var(--gold); }
.stop__name { font-family: var(--display); font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em; }
.stop__note { font-size: 0.8125rem; color: var(--text-muted); margin-top: 8px; }
.band--dark .stop__note, .band--ink .stop__note { color: var(--text-light-muted); }

@media (max-width: 880px) {
  .corridor__track { grid-auto-flow: row; grid-auto-columns: auto; padding-left: 26px; }
  .corridor__track::before { left: 4px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .stop { padding: 0 0 30px 0; }
  .stop::before { left: -26px; top: 8px; }
  .stop:last-child { padding-bottom: 0; }
}

/* ------------------------------------------------------------- 12. Journey */
.journey__rail { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--rule-dark); position: relative; }
.journey__tab {
  appearance: none; background: none; border: 0; border-right: 1px solid var(--rule-dark);
  color: var(--text-light-muted); text-align: left; padding: 22px 16px 26px;
  cursor: pointer; font-family: var(--body); position: relative;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.journey__tab:last-child { border-right: 0; }
.journey__tab::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.journey__tab[aria-selected="true"] { color: var(--text-light); background: rgba(240,238,233,0.04); }
.journey__tab[aria-selected="true"]::before { transform: scaleX(1); }
.journey__tab:hover { color: var(--text-light); }
.journey__tab .n { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.18em; display: block; margin-bottom: 10px; color: var(--gold); }
.journey__tab .s { font-family: var(--display); font-weight: 700; font-size: 0.9375rem; line-height: 1.2; display: block; }

.journey__panel { display: none; padding-top: 52px; }
.journey__panel.is-active { display: block; }
.journey__panel .stage__no { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 20px; }
.journey__panel h3 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.journey__panel p { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--text-light-muted); max-width: 58ch; }

@media (max-width: 900px) {
  .journey__rail { display: none; }
  .journey__panels { padding-left: 28px; position: relative; }
  .journey__panels::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 1px; background: var(--rule-gold); }
  .journey__panel { display: block; padding: 0 0 40px; position: relative; }
  .journey__panel::before { content: ""; position: absolute; left: -28px; top: 10px; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
  .journey__panel h3 { font-size: 1.5rem; }
  .journey__panel p { font-size: 1rem; }
}

/* ----------------------------------------------------------- 13. Ecosystem */
.ecosystem { display: block; width: 100%; height: auto; }
.ecosystem-fallback { display: none; }
@media (max-width: 760px) { .ecosystem { display: none; } .ecosystem-fallback { display: block; } }
.eco-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--rule-dark); border-block: 1px solid var(--rule-dark); }
.eco-list li { background: var(--charcoal); padding: 16px 18px; font-size: 0.9375rem; display: flex; gap: 12px; align-items: baseline; }
.eco-list li span { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.16em; color: var(--gold); flex: none; }

/* ------------------------------------------------ 14. Lists and statements */
.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { padding: 17px 0 17px 30px; border-bottom: 1px solid var(--rule-light); position: relative; font-size: 1rem; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 26px; width: 12px; height: 12px; border-left: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.band--dark .tick-list li, .band--ink .tick-list li { border-bottom-color: var(--rule-dark); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 0; list-style: none; }
.chips li { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--rule-gold); color: var(--gold-deep); padding: 9px 15px; }
.band--dark .chips li, .band--ink .chips li { color: var(--gold); }

.statement { border-left: 2px solid var(--gold); padding: 6px 0 6px 28px; font-size: 0.9375rem; line-height: 1.68; color: var(--text-muted); max-width: 74ch; }
.band--dark .statement, .band--ink .statement { color: var(--text-light-muted); }

.pull { font-family: var(--display); font-weight: 700; font-size: clamp(1.35rem, 2.6vw, 2.05rem); letter-spacing: -0.024em; line-height: 1.24; max-width: 24ch; margin: 0; }

.defs { border-top: 1px solid var(--rule-light); }
.band--dark .defs, .band--ink .defs { border-top-color: var(--rule-dark); }
.def { display: grid; grid-template-columns: 60px minmax(0, 300px) minmax(0, 1fr); gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--rule-light); align-items: start; }
.band--dark .def, .band--ink .def { border-bottom-color: var(--rule-dark); }
.def__no { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.16em; color: var(--gold-deep); padding-top: 6px; }
.band--dark .def__no, .band--ink .def__no { color: var(--gold); }
.def h3 { font-size: 1.25rem; }
.def p { margin: 0; color: var(--text-muted); font-size: 0.9688rem; }
@media (max-width: 880px) { .def { grid-template-columns: 1fr; gap: 12px; padding: 26px 0; } .def__no { padding-top: 0; } }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule-dark); margin: 24px 0 0; }
.strip > div { background: var(--ink); padding: 34px 26px; }
.strip dt { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.strip dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.0625rem; line-height: 1.34; letter-spacing: -0.012em; }
@media (max-width: 880px) { .strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .strip { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ 15. Pathways */
.pathways { display: grid; gap: 1px; background: var(--rule-light); border: 1px solid var(--rule-light); }
.pathways--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .pathways--3 { grid-template-columns: 1fr; } }
.pathway { background: var(--paper-2); padding: 34px 30px 32px; display: flex; flex-direction: column; }
.pathway__no { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.18em; color: var(--gold-deep); margin-bottom: 20px; }
.pathway h3 { font-size: 1.2rem; }
.pathway p { font-size: 0.9375rem; color: var(--text-muted); }
.pathway .link-gold { margin-top: auto; padding-top: 26px; align-self: flex-start; }

/* ---------------------------------------------------------------- 16. Form */
.form { display: grid; gap: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 720px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 9px; }
.field > label, .field > legend {
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted); padding: 0;
}
.field .opt { color: var(--charcoal-3); text-transform: none; letter-spacing: 0.04em; }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field > legend { margin-bottom: 9px; }

.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field select, .field textarea, .field input[type="file"] {
  font-family: var(--body); font-size: 1rem; color: var(--text-dark);
  background: var(--paper-2); border: 1px solid var(--rule-light); border-radius: 0;
  padding: 14px 16px; width: 100%;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--charcoal-3) 50%), linear-gradient(135deg, var(--charcoal-3) 50%, transparent 50%);
  background-position: calc(100% - 20px) 24px, calc(100% - 14px) 24px;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); outline: none; box-shadow: inset 0 -2px 0 var(--gold);
}

.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radios label {
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--rule-light); padding: 12px 16px; cursor: pointer; background: var(--paper-2);
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.radios input { position: absolute; opacity: 0; width: 0; height: 0; }
.radios label:has(input:checked) { border-color: var(--charcoal); background: var(--charcoal); color: var(--text-light); }
.radios label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }

.field__error { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; color: var(--warn); display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--warn); box-shadow: inset 0 -2px 0 var(--warn); }
.field.has-error .radios label { border-color: var(--warn); }
.field.has-error .field__error { display: block; }

.form__notice { display: none; border-left: 2px solid var(--warn); background: rgba(140, 47, 30, 0.07); padding: 16px 20px; font-size: 0.9375rem; }
.form__notice.is-visible { display: block; }

.form__success { display: none; border: 1px solid var(--rule-gold); padding: 46px 40px; background: var(--paper-2); }
.form__success.is-visible { display: block; }
.is-hidden { display: none !important; }

.state-preview { display: grid; gap: 10px; margin-top: 26px; }
.state-preview button {
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: none; border: 1px dashed var(--rule-light); padding: 11px 16px;
  cursor: pointer; text-align: left; color: var(--text-muted);
}
.state-preview button:hover { border-color: var(--gold); color: var(--gold-deep); }

/* ------------------------------------------------------------ 17. Insights */
.article-list { display: grid; gap: 1px; background: var(--rule-light); border-block: 1px solid var(--rule-light); }
.article-card {
  background: var(--paper); padding: 38px 24px 38px 0; display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 170px; gap: 40px; align-items: start;
  text-decoration: none; transition: background-color 0.2s ease, padding-left 0.2s ease;
}
.article-card:hover { background: var(--paper-2); padding-left: 18px; }
.article-card__meta { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); display: grid; gap: 8px; }
.article-card__meta i { font-style: normal; color: var(--text-muted); }
.article-card h3 { font-size: clamp(1.25rem, 2.1vw, 1.6rem); }
.article-card p { font-size: 0.9375rem; color: var(--text-muted); margin-top: 12px; }
.article-card__read { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); text-align: right; }
@media (max-width: 900px) { .article-card { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; } .article-card__read { text-align: left; } }

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 52px; }
.prose h3 { font-size: 1.2rem; margin-top: 38px; }
.prose p { font-size: 1.0625rem; }
.prose ul:not(.tick-list) { padding-left: 20px; margin-top: 18px; }
.prose li { margin-bottom: 10px; }
.prose figure { margin: 44px 0; }
.prose figcaption { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 12px; }
.prose a { color: var(--gold-deep); }

.doc-toc { border-top: 1px solid var(--rule-light); border-bottom: 1px solid var(--rule-light); padding: 22px 0; display: grid; gap: 10px; }
.doc-toc a { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-decoration: none; color: var(--text-muted); }
.doc-toc a:hover { color: var(--gold-deep); }

/* -------------------------------------------------------------- 18. Footer */
.site-footer { background: var(--ink); color: var(--text-light); padding-top: 86px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.8fr)); gap: 48px; padding-bottom: 62px; }
@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 620px) { .footer__top { grid-template-columns: 1fr; } }

.footer__desc { font-size: 0.9375rem; color: var(--text-light-muted); max-width: 40ch; margin-top: 24px; }
.footer__brandline { margin-top: 30px; font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
.footer__brandline em { font-style: normal; color: var(--gold); }
.footer h4 { font-family: var(--mono); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.footer a { font-size: 0.9375rem; text-decoration: none; color: var(--text-light-muted); transition: color 0.18s ease; }
.footer a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid var(--rule-dark); padding: 26px 0 34px;
  display: flex; flex-wrap: wrap; gap: 18px 30px; justify-content: space-between;
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-light-muted);
}

.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: var(--ink); border-top: 1px solid var(--gold); color: var(--text-light);
  padding: 20px var(--gutter); display: none;
}
.cookie.is-visible { display: block; }
.cookie__inner { max-width: var(--shell); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; justify-content: space-between; }
.cookie p { font-size: 0.875rem; color: var(--text-light-muted); margin: 0; max-width: 64ch; }
.cookie .btn { padding: 11px 18px; }

/* -------------------------------------------------------------- 19. Motion */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s cubic-bezier(0.22,0.61,0.36,1), transform 0.7s cubic-bezier(0.22,0.61,0.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
.draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); transition: stroke-dashoffset 1.6s cubic-bezier(0.4,0,0.2,1); }
.is-in .draw, .draw.is-in { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .draw { stroke-dashoffset: 0; }
}

/* ----------------------------------------------------------- 20. Utilities */
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.mt-72 { margin-top: 72px; }
/* Utilities must use logical properties and out-specify
   :root :where(.is-layout-flow) > :first-child (0,2,0).
   The repeated class is deliberate: it lifts each to 0,3,0
   without resorting to !important. */
.band .mt-0.mt-0,   .wp-block-cover.hero .mt-0.mt-0   { margin-block-start: 0; }
.band .mt-24.mt-24, .wp-block-cover.hero .mt-24.mt-24 { margin-block-start: 24px; }
.band .mt-40.mt-40, .wp-block-cover.hero .mt-40.mt-40 { margin-block-start: 40px; }
.band .mt-56.mt-56, .wp-block-cover.hero .mt-56.mt-56 { margin-block-start: 56px; }
.band .mt-72.mt-72, .wp-block-cover.hero .mt-72.mt-72 { margin-block-start: 72px; }

.center-narrow { max-width: 820px; }
.text-center { text-align: center; }
.text-center .eyebrow, .text-center .btn-row { justify-content: center; }
.text-center p { margin-left: auto; margin-right: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media print {
  .site-header, .cookie, .site-footer, .btn, .imgslot { display: none !important; }
  body { background: #fff; color: #000; }
  .band { padding-block: 24px; }
}

/* --------------------------------------------- 21. Copy-status placeholders */
.placeholder {
  font-family: var(--mono); font-size: 0.75rem; line-height: 1.6;
  letter-spacing: 0.04em; color: var(--gold-deep);
  border: 1px dashed var(--rule-gold); padding: 18px 22px;
  display: block; max-width: 74ch; margin: 0;
}
.band--dark .placeholder, .band--ink .placeholder, .form__success .placeholder { color: var(--gold); }
.prose .placeholder { margin-bottom: 40px; }

.role { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin-top: 10px; }
.band--dark .role, .band--ink .role { color: var(--gold); }

.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.9375rem; }
.plain a { color: var(--gold-deep); text-decoration: none; }
.plain a:hover { text-decoration: underline; }

.footer__top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
.footer__nav ul, .footer__contact ul { columns: 1; }
@media (min-width: 1001px) { .footer__nav ul { columns: 2; column-gap: 32px; } }
/* Section headings in the sticky column are short labels from the copy doc,
   so they sit one step down the scale to avoid awkward wraps. */
.sticky-head .t-display { font-size: clamp(1.65rem, 2.9vw, 2.4rem); }