/* ==========================================================================
   BECCO — Insurance for the Future of Technology
   Design system + site styles
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --brand-blue: #0f75bc;
  --brand-grey: #3a3a3c;
  --blue-bright: #2e9be8;
  --cyan: #62d6f5;
  --navy-deep: #16255f;

  /* Surfaces */
  --ink: #04060e;
  --surface: #080d1c;
  --surface-2: #0d1428;
  --surface-3: #121b33;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #e9eefb;
  --text-dim: #a7b6d4;
  --text-muted: #7286a8;

  /* Semantic */
  --ok: #3ddc97;
  --warn: #f5b544;
  --stop: #f4626b;

  /* Type */
  --font-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 860px;
  --radius: 14px;
  --radius-lg: 22px;
  --nav-h: 74px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); letter-spacing: -0.015em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: 0.45em; }
::selection { background: var(--brand-blue); color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2.75rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.75rem, var(--wrap-narrow)); margin-inline: auto; }
section { position: relative; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--alt { background: linear-gradient(180deg, var(--surface) 0%, var(--ink) 100%); }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--brand-blue), transparent);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--text-dim); max-width: 62ch; line-height: 1.62; }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.85rem 1.7rem;
  line-height: 1.25;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.28s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; margin-right: -0.15rem; transition: transform 0.28s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  background: linear-gradient(135deg, var(--brand-blue), var(--blue-bright));
  color: #fff;
  box-shadow: 0 6px 26px -8px rgba(46, 155, 232, 0.75);
}
.btn--primary:hover { box-shadow: 0 12px 38px -10px rgba(46, 155, 232, 0.9); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: var(--blue-bright); background: rgba(46, 155, 232, 0.08); transform: translateY(-2px); }
.btn--sm { padding: 0.58rem 1.25rem; font-size: 0.86rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(6, 9, 20, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav__inner { width: min(100% - 2.75rem, var(--wrap)); margin-inline: auto; display: flex; align-items: center; gap: 2rem; }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 2rem; margin-left: auto; align-items: center; }
.nav__links a:not(.btn) {
  font-size: 0.9rem; color: var(--text-dim); font-weight: 400;
  position: relative; padding: 0.35rem 0; transition: color 0.22s;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--blue-bright); transition: width 0.3s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links a:not(.btn):hover::after,
.nav__links a:not(.btn)[aria-current="page"]::after { width: 100%; }
.nav__links a:not(.btn)[aria-current="page"] { color: var(--text); }
.nav__cta { margin-left: 0.75rem; flex: none; }
.nav__toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong);
  border-radius: 9px; width: 42px; height: 38px; color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__toggle span { display: block; width: 17px; height: 1.5px; background: currentColor; position: relative; transition: 0.3s var(--ease); }
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.5px; background: currentColor; transition: 0.3s var(--ease);
}
.nav__toggle span::before { top: -5.5px; }
.nav__toggle span::after { top: 5.5px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 940px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(6, 9, 20, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.4rem 1.6rem;
    margin-left: 0;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: 0.3s var(--ease);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav.is-open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a:not(.btn) { padding: 0.95rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta { margin: 1.4rem 0 0; align-self: stretch; padding: 0.9rem 1.5rem; font-size: 0.95rem; }
}

/* ---------- Backdrop FX ---------- */
.fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.fx__grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(46, 155, 232, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 155, 232, 0.075) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
}
.fx__glow {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.75;
}
.fx__glow--a { width: 620px; height: 620px; top: -320px; left: 8%; background: radial-gradient(circle, rgba(15, 117, 188, 0.6), transparent 68%); }
.fx__glow--b { width: 520px; height: 520px; top: -180px; right: -80px; background: radial-gradient(circle, rgba(22, 37, 95, 0.9), transparent 70%); }
.fx__scan {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(98, 214, 245, 0.55), transparent);
  animation: scan 9s linear infinite;
}
@keyframes scan { 0% { top: 6%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 94%; opacity: 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(4rem, 10vw, 8rem)) 0 clamp(4rem, 8vw, 7rem); }
.hero__inner { position: relative; z-index: 1; }
.hero h1 { max-width: 15ch; }
.hero h1 .grad {
  background: linear-gradient(105deg, var(--blue-bright) 0%, var(--cyan) 55%, #a9e8ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--text-dim); max-width: 58ch; margin: 1.6rem 0 2.4rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim); border: 1px solid var(--line-strong); border-radius: 100px;
  padding: 0.45rem 1rem 0.45rem 0.75rem; margin-bottom: 1.9rem;
  background: rgba(255, 255, 255, 0.025);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.6); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }

/* hero split */
.hero__split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 940px) { .hero__split { grid-template-columns: 1fr; } }

/* Terminal-ish card */
.termcard {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(18, 27, 51, 0.9), rgba(8, 13, 28, 0.85));
  backdrop-filter: blur(10px);
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
}
.termcard__bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.1rem; border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.06em;
}
.termcard__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); display: block; }
.termcard__bar i:first-child { background: rgba(244, 98, 107, 0.6); }
.termcard__bar span { margin-left: auto; }
.termcard__body { padding: 1.3rem 1.4rem; font-family: var(--font-mono); font-size: 0.82rem; line-height: 2; }
.termcard__body .k { color: var(--text-muted); }
.termcard__body .v { color: var(--cyan); }
.termcard__body .row { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed rgba(255,255,255,0.055); padding: 0.15rem 0; }
.termcard__body .row:last-child { border-bottom: 0; }

/* ---------- Trust strip ---------- */
.strip { border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { padding: 1.9rem 1.5rem; border-right: 1px solid var(--line); }
.strip__item:last-child { border-right: 0; }
.strip__n { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.15rem); font-weight: 600; letter-spacing: -0.03em; color: #fff; line-height: 1; margin-bottom: 0.45rem; }
.strip__n em { font-style: normal; color: var(--blue-bright); }
.strip__l { font-size: 0.83rem; color: var(--text-muted); letter-spacing: 0.01em; }
@media (max-width: 780px) {
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .strip__item { border-bottom: 1px solid var(--line); }
  .strip__item:nth-child(2n) { border-right: 0; }
  .strip__item:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ---------- Grid / cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(18, 27, 51, 0.55), rgba(8, 13, 28, 0.4));
  padding: 1.7rem 1.6rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(46, 155, 232, 0.11), transparent 45%);
  opacity: 0; transition: opacity 0.35s;
}
.card:hover { border-color: rgba(46, 155, 232, 0.42); transform: translateY(-3px); }
.card:hover::after { opacity: 1; }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 0; }
.card__ico {
  width: 42px; height: 42px; border-radius: 11px; margin-bottom: 1.15rem;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(46, 155, 232, 0.2), rgba(46, 155, 232, 0.04));
  border: 1px solid rgba(46, 155, 232, 0.25);
  color: var(--cyan);
}
.card__ico svg { width: 20px; height: 20px; }
.card__tag {
  position: absolute; top: 1.2rem; right: 1.2rem;
  font-family: var(--font-mono); font-size: 0.63rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--text-muted); border: 1px solid var(--line); border-radius: 5px; padding: 0.15rem 0.45rem;
}
.card--feature { padding: 2.1rem 1.9rem; }
.card--flat { background: rgba(255, 255, 255, 0.018); }

/* numbered cards */
.card__num {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--blue-bright);
  letter-spacing: 0.14em; margin-bottom: 0.9rem;
}

/* ---------- Coverage / feature list ---------- */
.featurelist { list-style: none; padding: 0; margin: 1.1rem 0 0; }
.featurelist li {
  position: relative; padding-left: 1.6rem; font-size: 0.92rem; color: var(--text-dim); margin-bottom: 0.55rem;
}
.featurelist li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-bright); box-shadow: 0 0 0 3px rgba(46, 155, 232, 0.15);
}

/* ---------- Split feature (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--rev > *:first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > *:first-child { order: 0; } }
.mediaframe {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.95);
}
.mediaframe img { width: 100%; height: 100%; object-fit: cover; }
.mediaframe::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(190deg, rgba(4, 6, 14, 0) 40%, rgba(4, 6, 14, 0.55) 100%);
}

/* ---------- Table ---------- */
.tablewrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 560px; }
thead th {
  text-align: left; padding: 1rem 1.3rem;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 500;
  background: rgba(255, 255, 255, 0.03); border-bottom: 1px solid var(--line);
}
tbody td { padding: 1.05rem 1.3rem; border-bottom: 1px solid var(--line); color: var(--text-dim); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background 0.22s; }
tbody tr:hover { background: rgba(46, 155, 232, 0.045); }
td strong, th strong { color: var(--text); font-weight: 600; }
.num { font-family: var(--font-mono); color: var(--cyan); font-size: 0.9rem; white-space: nowrap; }
.cell-sub { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 0.15rem; }

/* ---------- Appetite chips ---------- */
.appetite { display: grid; gap: 2.5rem; }
.appetite__group { }
.appetite__head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.35rem; }
.appetite__head h3 { margin: 0; }
.pill {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.15em; text-transform: uppercase;
  border-radius: 100px; padding: 0.28rem 0.75rem; border: 1px solid; font-weight: 500;
}
.pill--target { color: var(--ok); border-color: rgba(61, 220, 151, 0.4); background: rgba(61, 220, 151, 0.08); }
.pill--maybe { color: var(--warn); border-color: rgba(245, 181, 68, 0.4); background: rgba(245, 181, 68, 0.08); }
.pill--decline { color: var(--stop); border-color: rgba(244, 98, 107, 0.4); background: rgba(244, 98, 107, 0.08); }
.chips { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.chip {
  border: 1px solid var(--line); border-radius: 10px; padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02); font-size: 0.9rem; color: var(--text-dim);
  transition: 0.28s var(--ease);
}
.chip strong { display: block; color: var(--text); font-weight: 500; font-size: 0.94rem; }
.chip small { display: block; color: var(--text-muted); font-size: 0.76rem; line-height: 1.45; margin-top: 0.15rem; }
.chip--target:hover { border-color: rgba(61, 220, 151, 0.45); transform: translateY(-2px); }
.chip--maybe:hover { border-color: rgba(245, 181, 68, 0.45); transform: translateY(-2px); }
.chip--decline { opacity: 0.6; }

/* ---------- Accordion (FAQ) ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; text-align: left; background: none; border: 0; color: var(--text);
  padding: 1.4rem 3rem 1.4rem 0; cursor: pointer; position: relative;
  font-family: var(--font-display); font-size: clamp(1rem, 1.35vw, 1.12rem); font-weight: 500; letter-spacing: -0.015em;
  transition: color 0.22s;
}
.acc__btn:hover { color: var(--blue-bright); }
.acc__btn::after {
  content: ""; position: absolute; right: 0.4rem; top: 50%; width: 11px; height: 11px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg); transition: transform 0.32s var(--ease); color: var(--text-muted);
}
.acc__item.is-open .acc__btn::after { transform: translateY(-25%) rotate(225deg); color: var(--blue-bright); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.38s var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__inner > div { padding: 0 3rem 1.7rem 0; color: var(--text-dim); font-size: 0.96rem; }
.acc__inner code {
  font-family: var(--font-mono); font-size: 0.84em; color: var(--cyan);
  background: rgba(46, 155, 232, 0.1); padding: 0.1em 0.4em; border-radius: 4px;
}
.quote {
  border-left: 2px solid var(--brand-blue); padding: 0.2rem 0 0.2rem 1.1rem;
  margin: 1rem 0; color: var(--text); font-style: italic; font-size: 0.95rem;
}
.example {
  margin-top: 1rem; border: 1px solid var(--line); border-radius: 10px; padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.02); font-size: 0.88rem;
}
.example b {
  display: block; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; font-weight: 500;
}

/* ---------- Steps ---------- */
.steps { counter-reset: s; display: grid; gap: 1rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; align-items: start;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem;
  background: rgba(255, 255, 255, 0.018); transition: 0.3s var(--ease);
}
.step:hover { border-color: rgba(46, 155, 232, 0.35); }
.step__n {
  counter-increment: s; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--cyan);
  border: 1px solid rgba(46, 155, 232, 0.3); background: rgba(46, 155, 232, 0.08);
}
.step__n::before { content: "0" counter(s); }
.step h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.step p { font-size: 0.93rem; color: var(--text-dim); margin: 0; }

/* ---------- People ---------- */
.person {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.9rem;
  background: linear-gradient(165deg, rgba(18, 27, 51, 0.5), rgba(8, 13, 28, 0.35));
}
.person__top { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.4rem; }
.person__av {
  width: 58px; height: 58px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: #fff; letter-spacing: -0.02em;
  background: linear-gradient(140deg, var(--brand-blue), var(--navy-deep));
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.person__name { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; letter-spacing: -0.02em; }
.person__role { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--blue-bright); margin-top: 0.2rem; }
.person p { font-size: 0.93rem; color: var(--text-dim); }
.person__meta { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.3rem; }
.tag {
  font-size: 0.73rem; font-family: var(--font-mono); letter-spacing: 0.06em;
  border: 1px solid var(--line); border-radius: 6px; padding: 0.25rem 0.55rem; color: var(--text-muted);
}

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden;
  border: 1px solid rgba(46, 155, 232, 0.28); border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, rgba(22, 37, 95, 0.65), rgba(8, 13, 28, 0.8));
  text-align: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(46,155,232,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(46,155,232,0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 72%);
}
.cta > * { position: relative; }
.cta h2 { margin-bottom: 0.6rem; }
.cta p { color: var(--text-dim); max-width: 58ch; margin-inline: auto; }
.cta .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--surface); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__logo img { height: 24px; margin-bottom: 1.1rem; }
.footer p, .footer li { font-size: 0.88rem; color: var(--text-muted); }
.footer h4 {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--text); margin-bottom: 1.1rem; font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 0.6rem; }
.footer ul a { transition: color 0.22s; }
.footer ul a:hover { color: var(--blue-bright); }
.footer__legal {
  border-top: 1px solid var(--line); padding-top: 1.8rem;
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between;
  font-size: 0.79rem; color: var(--text-muted); line-height: 1.6;
}
.footer__legal p { font-size: 0.79rem; max-width: 68ch; margin: 0; }

/* ---------- Page header (inner pages) ---------- */
.pagehead { position: relative; padding: calc(var(--nav-h) + clamp(3.5rem, 7vw, 5.5rem)) 0 clamp(2.5rem, 5vw, 4rem); }
.pagehead__inner { position: relative; z-index: 1; }
.pagehead h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); max-width: 18ch; }
.crumb { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.1rem; }
.crumb a { color: var(--blue-bright); }

/* ---------- Notice ---------- */
.notice {
  border: 1px solid var(--line); border-left: 2px solid var(--brand-blue); border-radius: 10px;
  padding: 1.3rem 1.5rem; background: rgba(255, 255, 255, 0.02); font-size: 0.86rem; color: var(--text-muted);
}
.notice strong { color: var(--text-dim); }

/* ---------- Anchor nav (in-page) ---------- */
.subnav { position: sticky; top: var(--nav-h); z-index: 40; background: rgba(6, 9, 20, 0.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 1.8rem; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 0.95rem 0; font-size: 0.85rem; color: var(--text-muted); white-space: nowrap; border-bottom: 1px solid transparent; transition: 0.24s; }
.subnav a:hover, .subnav a.is-active { color: var(--text); border-bottom-color: var(--blue-bright); }

.subnav + .section { padding-top: clamp(3rem, 5vw, 4.75rem); }
.pagehead + .subnav { margin-top: -1rem; }

/* ---------- Reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .fx__scan { display: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Utilities ---------- */
.mono { font-family: var(--font-mono); }
.dim { color: var(--text-dim); }
.muted { color: var(--text-muted); }
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--brand-blue); color: #fff;
  padding: 0.7rem 1.2rem; border-radius: 0 0 8px 0; z-index: 200;
}
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }

/* ==========================================================================
   Forms — broker submission
   ========================================================================== */
.formcard {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(18, 27, 51, 0.55), rgba(8, 13, 28, 0.4));
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.formgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1.15rem; }
.formgrid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .formgrid { grid-template-columns: 1fr; } .formgrid .full { grid-column: auto; } }

.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label:not(.check) {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-muted); font-weight: 500;
}
.field label:not(.check) .req { color: var(--blue-bright); }
.field .hint { font-size: 0.76rem; color: var(--text-muted); line-height: 1.5; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 0.8rem 0.95rem;
  transition: border-color 0.24s var(--ease), background 0.24s, box-shadow 0.24s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: 0.75; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.26); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  background: rgba(46, 155, 232, 0.055);
  box-shadow: 0 0 0 3px rgba(46, 155, 232, 0.16);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237286a8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 16px;
  padding-right: 2.5rem; cursor: pointer;
}
.field select option { background: #0d1428; color: var(--text); }
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) { border-color: rgba(244, 98, 107, 0.55); }

/* checkbox */
.check { display: flex; gap: 0.75rem; align-items: flex-start; cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none;
  width: 19px; height: 19px; flex: none; margin-top: 0.15rem;
  border: 1px solid var(--line-strong); border-radius: 5px;
  background: rgba(255, 255, 255, 0.03); cursor: pointer;
  transition: 0.22s var(--ease);
}
.check input:checked {
  background: linear-gradient(135deg, var(--brand-blue), var(--blue-bright));
  border-color: transparent;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--brand-blue), var(--blue-bright));
  background-size: 13px, auto; background-position: center; background-repeat: no-repeat;
}
.check input:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 2px; }
.check span {
  font-family: var(--font-body); font-size: 0.86rem; font-weight: 400;
  letter-spacing: normal; text-transform: none;
  color: var(--text-muted); line-height: 1.6;
}
.check span .req { color: var(--blue-bright); }
.check a { color: var(--blue-bright); }

/* honeypot */
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

/* form status message */
.formstatus {
  display: none; margin-top: 1.2rem; border-radius: 10px; padding: 0.95rem 1.15rem;
  font-size: 0.9rem; border: 1px solid;
}
.formstatus.is-shown { display: block; }
.formstatus--ok { color: var(--ok); border-color: rgba(61, 220, 151, 0.4); background: rgba(61, 220, 151, 0.08); }
.formstatus--err { color: var(--stop); border-color: rgba(244, 98, 107, 0.4); background: rgba(244, 98, 107, 0.08); }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.form-actions .btn { min-width: 190px; }
.form-actions .note { font-size: 0.79rem; color: var(--text-muted); line-height: 1.55; flex: 1 1 220px; }

/* contact rail */
.rail { display: grid; gap: 1rem; align-content: start; }
.railcard {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
}
.railcard h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.railcard p, .railcard li { font-size: 0.9rem; color: var(--text-dim); }
.railcard a { color: var(--blue-bright); word-break: break-word; }
.railcard .label {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.7rem;
}
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* ==========================================================================
   Insights — listing + article
   ========================================================================== */

/* ---------- Post cover art (procedural, no photography needed) ---------- */
.cover {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 16 / 9; background: var(--surface-2);
  border: 1px solid var(--line);
}
.cover::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46,155,232,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,155,232,0.14) 1px, transparent 1px);
  background-size: 34px 34px;
}
.cover::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 90% at 22% 18%, rgba(46,155,232,0.55), transparent 62%),
              radial-gradient(ellipse 80% 80% at 82% 88%, rgba(22,37,95,0.9), transparent 65%);
}
.cover--risk::after {
  background: radial-gradient(ellipse 70% 90% at 20% 20%, rgba(244,98,107,0.4), transparent 60%),
              radial-gradient(ellipse 80% 80% at 85% 85%, rgba(15,117,188,0.75), transparent 65%);
}
.cover--broker::after {
  background: radial-gradient(ellipse 70% 90% at 25% 80%, rgba(61,220,151,0.32), transparent 60%),
              radial-gradient(ellipse 80% 80% at 80% 15%, rgba(15,117,188,0.8), transparent 65%);
}
.cover--market::after {
  background: radial-gradient(ellipse 70% 90% at 18% 25%, rgba(98,214,245,0.45), transparent 60%),
              radial-gradient(ellipse 80% 80% at 88% 82%, rgba(22,37,95,0.95), transparent 65%);
}
.cover__mark {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 1;
  opacity: 0.9;
}
.cover__mark svg { width: 42%; max-width: 190px; height: auto; }
.cover__mark svg circle { fill: none; stroke: rgba(255,255,255,0.5); stroke-width: 4; }
.cover--lg { aspect-ratio: 21 / 9; border-radius: var(--radius-lg); }

/* ---------- Post cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.posts--2 { grid-template-columns: repeat(2, 1fr); }
.posts--1 { grid-template-columns: minmax(0, 420px); }
@media (max-width: 980px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

.post {
  display: flex; flex-direction: column; gap: 1.15rem;
  transition: transform 0.32s var(--ease);
}
.post:hover { transform: translateY(-4px); }
.post:hover .post__title { color: var(--blue-bright); }
.post:hover .cover { border-color: rgba(46,155,232,0.45); }
.post .cover { transition: border-color 0.3s var(--ease); }
.post__body { display: flex; flex-direction: column; flex: 1; }
.post__cat {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--blue-bright); margin-bottom: 0.65rem; font-weight: 500;
}
.post__title {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.28; margin-bottom: 0.6rem;
  transition: color 0.24s;
}
.post__excerpt { font-size: 0.92rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 1.1rem; flex: 1; }
.post__meta {
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--text-muted);
}
.post__meta .sep { opacity: 0.5; }

/* featured */
.featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
@media (max-width: 900px) { .featured { grid-template-columns: 1fr; } }
.featured .post__title { font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.16; }
.featured .post__excerpt { font-size: 1.02rem; }
.featured .cover { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }

/* ---------- Category filter ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.filter {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.5rem 1rem; border-radius: 100px; cursor: pointer;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,0.02); color: var(--text-muted);
  transition: 0.26s var(--ease);
}
.filter:hover { color: var(--text); border-color: rgba(255,255,255,0.3); }
.filter.is-active { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--brand-blue), var(--blue-bright)); }
.posts .post.is-hidden { display: none; }
.filter-empty { display: none; color: var(--text-muted); font-size: 0.95rem; padding: 2rem 0; }
.filter-empty.is-shown { display: block; }

.article-cover + .section { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* ---------- Article ---------- */
.article-head { position: relative; padding: calc(var(--nav-h) + clamp(3rem, 6vw, 4.5rem)) 0 0; }
.article-head__inner { position: relative; z-index: 1; }
.article-head h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 20ch; margin-bottom: 1.2rem; }
.article-standfirst { font-size: clamp(1.05rem, 1.6vw, 1.24rem); color: var(--text-dim); max-width: 60ch; line-height: 1.6; }

.byline { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 2.2rem 0 0; }
.byline__av {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; color: #fff;
  background: linear-gradient(140deg, var(--brand-blue), var(--navy-deep));
  border: 1px solid rgba(255,255,255,0.14);
}
.byline__who { font-size: 0.92rem; color: var(--text); font-weight: 500; }
.byline__what { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--text-muted); text-transform: uppercase; margin-top: 0.1rem; }
.byline__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); }
.byline__meta { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text-muted); display: flex; align-items: center; gap: 0.7rem; }
.byline__share { margin-left: auto; display: flex; gap: 0.5rem; }
.share-btn {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--text-muted); background: rgba(255,255,255,0.02);
  transition: 0.26s var(--ease); cursor: pointer;
}
.share-btn:hover { color: var(--blue-bright); border-color: var(--blue-bright); transform: translateY(-2px); }
.share-btn svg { width: 15px; height: 15px; }
@media (max-width: 620px) { .byline__share { margin-left: 0; width: 100%; } }

/* prose */
.prose { max-width: 68ch; margin-inline: auto; font-size: 1.04rem; line-height: 1.78; color: var(--text-dim); }
.prose > * + * { margin-top: 1.35em; }
.prose h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem); color: var(--text);
  margin-top: 2.6em; margin-bottom: 0; scroll-margin-top: calc(var(--nav-h) + 24px);
}
.prose h3 { font-size: clamp(1.1rem, 1.7vw, 1.28rem); color: var(--text); margin-top: 2em; margin-bottom: 0; }
.prose h2 + *, .prose h3 + * { margin-top: 0.85em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: rgba(46,155,232,0.4); transition: text-decoration-color 0.24s; }
.prose a:hover { text-decoration-color: var(--blue-bright); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--blue-bright); }
.prose code {
  font-family: var(--font-mono); font-size: 0.85em; color: var(--cyan);
  background: rgba(46,155,232,0.1); padding: 0.12em 0.42em; border-radius: 4px;
}
.prose hr { border: 0; height: 1px; background: var(--line); margin: 3em 0; }
.prose figcaption, .prose .caption { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.7em; }

.pullquote {
  border-left: 2px solid var(--brand-blue);
  padding: 0.4rem 0 0.4rem 1.6rem;
  margin: 2.4em 0 !important;
  font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.4; letter-spacing: -0.02em; color: var(--text); font-weight: 500;
}
.pullquote cite { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); font-style: normal; margin-top: 0.9rem; }

.takeaways {
  border: 1px solid rgba(46,155,232,0.28); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(22,37,95,0.42), rgba(8,13,28,0.55));
  padding: 1.7rem 1.8rem; margin: 2.4em 0 !important;
}
.takeaways h3 {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue-bright); margin: 0 0 1rem; font-weight: 500;
}
.takeaways ul { list-style: none; padding: 0; margin: 0; }
.takeaways li { position: relative; padding-left: 1.7rem; font-size: 0.95rem; margin-bottom: 0.7rem; line-height: 1.6; }
.takeaways li:last-child { margin-bottom: 0; }
.takeaways li::before {
  content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-bright); box-shadow: 0 0 0 3px rgba(46,155,232,0.18);
}

/* reading progress */
.progress { position: fixed; top: 0; left: 0; height: 2px; z-index: 110; width: 0;
  background: linear-gradient(90deg, var(--brand-blue), var(--cyan)); transition: width 0.1s linear; }

/* author bio */
.authorbox {
  display: grid; grid-template-columns: auto 1fr; gap: 1.3rem;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.8rem;
  background: rgba(255,255,255,0.02); margin-top: 3.5rem;
}
.authorbox .byline__av { width: 54px; height: 54px; font-size: 1rem; }
.authorbox h3 { font-size: 1.1rem; margin-bottom: 0.15rem; }
.authorbox p { font-size: 0.9rem; color: var(--text-dim); margin: 0.7rem 0 0; }
@media (max-width: 520px) { .authorbox { grid-template-columns: 1fr; } }

/* article footer disclaimer */
.article-note {
  max-width: 68ch; margin: 2.5rem auto 0; font-size: 0.8rem; color: var(--text-muted);
  border-top: 1px solid var(--line); padding-top: 1.5rem; line-height: 1.65;
}

/* subscribe band */
.subscribe { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
@media (max-width: 760px) { .subscribe { grid-template-columns: 1fr; } }
.subscribe form { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.subscribe input {
  flex: 1 1 240px; font-family: var(--font-body); font-size: 0.95rem; color: var(--text);
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong); border-radius: 100px;
  padding: 0.85rem 1.3rem; transition: 0.24s var(--ease);
}
.subscribe input::placeholder { color: var(--text-muted); }
.subscribe input:focus { outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 3px rgba(46,155,232,0.16); }

/* ==========================================================================
   Partners / capacity logos
   ========================================================================== */
.plogos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 940px) { .plogos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plogos { grid-template-columns: 1fr; } }

.plogo {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(18, 27, 51, 0.5), rgba(8, 13, 28, 0.35));
  padding: 1.4rem; height: 100%;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.plogo:hover { border-color: rgba(46, 155, 232, 0.42); transform: translateY(-3px); }
.plogo:hover .plogo__plate { background: #fff; }
.plogo:hover .plogo__name { color: var(--blue-bright); }

.plogo__plate {
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.93);
  border-radius: 10px; padding: 1.5rem 1.75rem; min-height: 96px;
  margin-bottom: 1.3rem;
  transition: background 0.3s var(--ease);
}
.plogo__plate img { width: auto; max-width: 100%; height: auto; }
.plogo__plate--type span {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  letter-spacing: -0.02em; color: #141414;
}

.plogo__role {
  font-family: var(--font-mono); font-size: 0.63rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--blue-bright); margin-bottom: 0.5rem; font-weight: 500;
}
.plogo__name {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  letter-spacing: -0.015em; color: var(--text); margin-bottom: 0.5rem;
  transition: color 0.24s;
}
.plogo__line { font-size: 0.88rem; color: var(--text-dim); line-height: 1.6; margin: 0; }

/* ==========================================================================
   WordPress additions
   ========================================================================== */

/* Featured-image covers */
.cover--photo { background: var(--surface-2); }
.cover--photo::before, .cover--photo::after { display: none; }
.cover--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Photo avatars */
.person__av--photo, .byline__av--photo { overflow: hidden; padding: 0; background: var(--surface-2); }
.person__av--photo img, .byline__av--photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* Pagination */
.pagination {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem); align-items: center;
}
.pagination .page-numbers {
  min-width: 42px; height: 42px; padding: 0 0.9rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: 100px;
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-dim);
  transition: 0.26s var(--ease);
}
.pagination .page-numbers:hover { color: var(--text); border-color: var(--blue-bright); }
.pagination .page-numbers.current {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--brand-blue), var(--blue-bright));
}
.pagination .page-numbers.dots { border-color: transparent; }

/* Footer menus rendered by wp_nav_menu */
.footer .menu { list-style: none; padding: 0; margin: 0; }
.footer .menu li { margin-bottom: 0.6rem; }
.footer .menu a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.22s; }
.footer .menu a:hover { color: var(--blue-bright); }

/* Block editor output inside .prose */
.prose .wp-block-image { margin: 2em 0; }
.prose .wp-block-image img { border-radius: 12px; }
.prose .wp-block-quote {
  border-left: 2px solid var(--brand-blue); padding: 0.2rem 0 0.2rem 1.1rem;
  margin: 1.6em 0; color: var(--text); font-style: italic;
}
.prose .wp-block-table table { min-width: 0; }
.prose .wp-block-table { overflow-x: auto; }
.prose .wp-block-separator { border: 0; height: 1px; background: var(--line); margin: 3em 0; }
.prose .wp-block-button__link {
  display: inline-flex; align-items: center; padding: 0.85rem 1.7rem; border-radius: 100px;
  background: linear-gradient(135deg, var(--brand-blue), var(--blue-bright));
  color: #fff; text-decoration: none; font-weight: 500;
}
.prose .wp-block-embed { margin: 2em 0; }
