/* ==========================================================================
   Hugh Turner — Consultancy & Development
   Brand: Navy #1B365D (PMS 534 C) · Gold #C69214 (PMS 10123 C / 1245 C)
   Type:  Aleo (headings, per logo spec) · Karbon (tagline, licensed font)
          Figtree is the free fallback until a Karbon web licence is bought.
   ========================================================================== */

:root {
  --navy: #1B365D;
  --navy-900: #12253F;
  --navy-700: #24456F;
  --navy-100: #E8EDF4;
  --gold: #C69214;          /* spec HEX — RGB in spec converts to #BE8E09; confirm with Phive */
  --gold-600: #A87B10;      /* darker gold for text on white (contrast) */
  --gold-100: #F8F0DC;
  --slate: #7A7D9C;         /* lilac-grey from the logo's top facets */
  --ink: #1E2533;
  --muted: #5A6375;
  --line: #DDE2EA;
  --bg: #FFFFFF;
  --bg-soft: #F6F7FA;

  --font-head: "Aleo", Georgia, "Times New Roman", serif;
  --font-body: "Karbon", "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(18, 37, 63, .06), 0 8px 24px rgba(18, 37, 63, .08);
  --shadow-lg: 0 20px 50px rgba(18, 37, 63, .18);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--navy); text-decoration-color: rgba(198, 146, 20, .6); text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.section--navy .eyebrow, .hero .eyebrow { color: var(--gold); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy-900); padding: 8px 14px; border-radius: 6px; z-index: 1000; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 1rem/1 var(--font-body);
  padding: 15px 26px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--navy-900); }
.btn--gold:hover { background: #D9A42A; color: var(--navy-900); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.btn--ghost-light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.nav__brand img { height: 52px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-weight: 500; color: var(--ink); text-decoration: none;
}
.nav__links a:hover { color: var(--navy); background: var(--navy-100); }
.nav__links a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.nav__cta { margin-left: 10px; padding: 12px 20px !important; font-size: .95rem; }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--navy); }
.nav__toggle svg { width: 28px; height: 28px; }

@media (max-width: 920px) {
  .nav { height: 72px; }
  .nav__brand img { height: 42px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; box-shadow: var(--shadow);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__links a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold); padding-left: 14px; }
  .nav__links a.nav__cta { margin: 14px 0 0; display: flex; justify-content: center; border-bottom: 0; border-radius: 999px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 20%, #24456F 0%, transparent 60%), var(--navy);
  color: #fff;
  padding: clamp(72px, 10vw, 140px) 0 clamp(72px, 9vw, 120px);
}
.hero::after {
  /* faint hexagon lattice, echoing the logo's 30° construction */
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16.2V48.5L28 64.7 0 48.5V16.2Z M28 64.7V97' fill='none' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E");
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: rgba(255,255,255,.82); }
.hero__tagline { font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-size: .85rem; margin-bottom: 22px; }
.hero__mark { justify-self: center; width: min(340px, 80%); filter: drop-shadow(0 30px 60px rgba(0,0,0,.35)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero__mark { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } .hero__mark { width: 180px; order: -1; justify-self: start; } }

.page-hero { background: var(--navy); color: #fff; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -60px; top: -40px; width: 340px; height: 390px; background: url("../assets/img/logo-icon.svg") no-repeat center / contain; opacity: .08; }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero .lead { color: rgba(255,255,255,.8); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 24px; }
.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: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card--value { border-top: 4px solid var(--gold); }

.icon-hex {
  width: 56px; height: 64px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: var(--navy);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  color: var(--gold);
}
.icon-hex svg { width: 26px; height: 26px; }

.service {
  display: grid; grid-template-columns: auto 1fr; gap: 26px;
  padding: 34px; border-radius: var(--radius-lg); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.service .icon-hex { margin: 0; }
.service ul { margin: 0; padding-left: 18px; color: var(--muted); }
.service ul li { margin-bottom: 4px; }
.service__synergy { margin-top: 16px; padding: 14px 16px; background: var(--gold-100); border-radius: 10px; font-size: .95rem; }
.service__synergy strong { color: var(--navy); }
@media (max-width: 640px) { .service { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.synergy { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.synergy__col { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: 28px; }
.synergy__col h3 { color: var(--gold); }
.synergy__col ul { margin: 0; padding-left: 18px; color: rgba(255,255,255,.85); }
.synergy__plus { align-self: center; font-family: var(--font-head); font-size: 2.6rem; color: var(--gold); }
@media (max-width: 860px) { .synergy { grid-template-columns: 1fr; } .synergy__plus { justify-self: center; } }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 22px;
  background: var(--gold); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.8); }

/* Stage 2 placeholders — clearly marked so they are never mistaken for final copy */
.placeholder {
  border: 2px dashed var(--gold); background: var(--gold-100); border-radius: var(--radius);
  padding: 18px 20px; color: #6B5310; font-size: .95rem;
}
.placeholder::before { content: "Stage 2 content — to be supplied"; display: block; font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }

.founder { text-align: left; }
.founder__avatar {
  width: 96px; height: 110px; margin-bottom: 18px; background: var(--navy-100);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  display: grid; place-items: center; font-family: var(--font-head); font-size: 2rem; color: var(--navy);
}
.founder__role { color: var(--gold-600); font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }

.transparency { border-left: 4px solid var(--gold); padding: 6px 0 6px 22px; }

/* ---------- Insights ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 32px; }
.search { flex: 1 1 280px; position: relative; }
.search input { width: 100%; padding: 14px 16px 14px 46px; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: #fff; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; color: var(--muted); }
.select { padding: 13px 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: #fff; color: var(--ink); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 .92rem var(--font-body); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

.post { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post__band { height: 8px; background: var(--navy); }
.post--whitepaper .post__band { background: var(--gold); }
.post--case .post__band { background: var(--slate); }
.post__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post__meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-bottom: 12px; }
.tag { background: var(--navy-100); color: var(--navy); padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.tag--gold { background: var(--gold-100); color: #6B5310; }
.post h3 { font-size: 1.22rem; }
.post p { color: var(--muted); font-size: .97rem; }
.post__foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; font-size: .9rem; }
.post__foot button, .post__foot a { font: 600 .95rem var(--font-body); color: var(--navy); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.post__foot button:hover, .post__foot a:hover { color: var(--gold-600); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; display: none; }
.sample-note { font-size: .85rem; color: var(--muted); margin-top: -16px; margin-bottom: 28px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
label { font-weight: 600; font-size: .92rem; color: var(--navy); display: block; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #C9D0DB; border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: 3px solid rgba(198,146,20,.35); outline-offset: 0; }
textarea { min-height: 150px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); font-weight: 400; }
.consent input { margin-top: 5px; }
.form-status { font-size: .95rem; min-height: 1.4em; margin: 0; }
.form-status.ok { color: #1D6B3A; }
.form-status.err { color: #A3261B; }
.hp { position: absolute; left: -9999px; }

.contact-card { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 30px; }
.contact-card dl { margin: 0; display: grid; gap: 14px; }
.contact-card dt { font-weight: 600; color: var(--navy); font-size: .9rem; }
.contact-card dd { margin: 0; color: var(--muted); }

/* Embedded Ask Hugh panel on Contact */
.chat-embed { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #fff; display: flex; flex-direction: column; height: 560px; }

/* ---------- Newsletter ---------- */
.newsletter { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input[type="email"] { flex: 1 1 220px; border-radius: 999px; padding: 14px 18px; }
.newsletter .btn { padding: 14px 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.78); padding: 72px 0 28px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 48px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr; gap: 36px; } }
.footer__logo { width: 260px; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-weight: 600; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.socials a:hover { background: var(--gold); color: var(--navy-900); }
.socials svg { width: 18px; height: 18px; }
.site-footer .newsletter input[type="email"] { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.site-footer .newsletter input::placeholder { color: rgba(255,255,255,.55); }
.site-footer .form-status.ok { color: #9FE0B5; }
.site-footer .form-status.err { color: #FFB4A8; }
.footer__disclaimer { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: rgba(255,255,255,.6); }
.footer__credit { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.6) !important; }
.footer__credit:hover { color: var(--gold) !important; }
.footer__credit img { width: 28px; height: 28px; object-fit: contain; border-radius: 4px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 16px; font-size: .85rem; color: rgba(255,255,255,.5); }

/* ---------- Ask Hugh chatbot ---------- */
.askhugh-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px 10px 10px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; font: 600 1rem var(--font-body);
  box-shadow: var(--shadow-lg); transition: transform .15s ease;
}
.askhugh-fab:hover { transform: translateY(-2px); }
.askhugh-fab img { width: 38px; height: 38px; }
.askhugh-fab[aria-expanded="true"] { display: none; }

.askhugh-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 100;
  width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100vh - 44px));
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: none; flex-direction: column; overflow: hidden; border: 1px solid var(--line);
}
.askhugh-panel.open { display: flex; }
@media (max-width: 520px) { .askhugh-panel { right: 12px; bottom: 12px; } }
.ah-head { background: var(--navy); color: #fff; padding: 16px 18px; display: flex; gap: 12px; align-items: center; }
.ah-head img { width: 40px; height: 40px; }
.ah-head strong { font-family: var(--font-head); font-weight: 400; font-size: 1.2rem; display: block; line-height: 1.1; }
.ah-head span { font-size: .8rem; color: rgba(255,255,255,.7); }
.ah-close { margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; border-radius: 6px; }
.ah-close:hover { background: rgba(255,255,255,.12); }
.ah-close svg { width: 20px; height: 20px; }
.ah-notice { background: var(--gold-100); color: #6B5310; font-size: .8rem; padding: 8px 16px; line-height: 1.45; }
.ah-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--bg-soft); }
.ah-msg { max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: .95rem; line-height: 1.5; white-space: pre-wrap; }
.ah-msg a { color: inherit; font-weight: 600; }
.ah-msg--bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.ah-msg--user { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.ah-typing { align-self: flex-start; display: flex; gap: 4px; padding: 14px; }
.ah-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--slate); animation: blink 1s infinite; }
.ah-typing i:nth-child(2) { animation-delay: .15s; } .ah-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.ah-suggest { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 14px 0; background: #fff; }
.ah-suggest button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: 500 .82rem var(--font-body); color: var(--navy); cursor: pointer; }
.ah-suggest button:hover { border-color: var(--gold); }
.ah-form { display: flex; gap: 8px; padding: 12px 14px 14px; background: #fff; }
.ah-form input { flex: 1; border-radius: 999px; padding: 12px 16px; }
.ah-form button { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; background: var(--gold); color: var(--navy-900); cursor: pointer; display: grid; place-items: center; }
.ah-form button svg { width: 20px; height: 20px; }

/* ---------- Gated download modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(18,37,63,.6); padding: 20px; }
.modal.open { display: flex; }
.modal__box { background: #fff; border-radius: var(--radius-lg); padding: 34px; width: min(520px, 100%); box-shadow: var(--shadow-lg); position: relative; }
.modal__close { position: absolute; right: 14px; top: 14px; background: none; border: 0; cursor: pointer; padding: 6px; color: var(--muted); }
.modal__close svg { width: 22px; height: 22px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Founder personas */
.tag--ai { margin-left: 8px; vertical-align: middle; letter-spacing: .04em; text-transform: none; font-size: .75rem; background: var(--navy-100); color: var(--navy); }
.founder__quote { margin: 18px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--gold); font-family: var(--font-head); font-size: 1.12rem; color: var(--navy); line-height: 1.45; }
.founder__sub { font-family: var(--font-body); font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); margin: 20px 0 10px; }
.founder__list { margin: 0; padding-left: 18px; color: var(--muted); }
.founder__list li { margin-bottom: 6px; }
.founder__list strong { color: var(--navy); }
.founder__photo { margin: -30px -30px 22px; position: relative; }
.founder__photo img { width: 100%; aspect-ratio: 648 / 472; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.founder__photo figcaption { position: absolute; right: 12px; bottom: 10px; background: rgba(18,37,63,.72); color: #fff; font-size: .72rem; padding: 3px 9px; border-radius: 999px; letter-spacing: .02em; }
.founder { overflow: hidden; }

/* ---------- Article pages ---------- */
.article-hero .crumbs { font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.article-hero .crumbs a { color: rgba(255,255,255,.85); }
.article-meta { color: rgba(255,255,255,.7); font-size: .95rem; margin: 0; }
.article-meta a { color: #fff; }
.framework__step { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 24px 26px; border-top: 4px solid var(--gold); }
.framework__step span { display: inline-grid; place-items: center; width: 34px; height: 38px; background: var(--navy); color: var(--gold); font-weight: 700; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); margin-bottom: 10px; }
.framework__step h3 { margin: 0 0 2px; font-size: 1.4rem; }
.framework__step p { margin: 0; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.article-toc { position: sticky; top: 108px; font-size: .9rem; }
.article-toc__title { font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .75rem; color: var(--gold-600); margin-bottom: 10px; }
.article-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.article-toc li a { display: block; padding: 6px 0 6px 14px; color: var(--muted); text-decoration: none; line-height: 1.35; }
.article-toc li a:hover { color: var(--navy); }
@media (max-width: 960px) { .article-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; } .article-toc { position: static; } }
@media (max-width: 640px) {
  .lifecycle li { font-size: .72rem; }
  .table-wrap { border: 0; overflow: visible; }
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose thead { display: none; }
  .prose tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
  .prose td { border-top: 0; padding: 6px 14px; white-space: normal !important; }
  .prose td:first-child { background: var(--navy) !important; color: #fff !important; padding: 10px 14px; }
  .prose tbody tr:nth-child(even) td:not(:first-child) { background: #fff; }
  .prose td:not(:first-child)::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); margin-top: 4px; }
  .prose td:last-child { padding-bottom: 12px; }
}
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.2em; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; margin-top: 1.8em; scroll-margin-top: 100px; }
.prose h4 { font-size: 1.1rem; margin-top: 1.6em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th { background: var(--navy); color: #fff; text-align: left; font-weight: 600; padding: 12px 14px; }
.prose td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:nth-child(even) td { background: var(--bg-soft); }
.prose td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
.callout { margin: 24px 0; padding: 16px 20px; background: var(--navy-100); border-left: 4px solid var(--navy); border-radius: 0 var(--radius) var(--radius) 0; }
.callout--gold { background: var(--gold-100); border-left-color: var(--gold); }
.lifecycle { list-style: none; padding: 0 !important; margin: 24px 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: lc; }
.lifecycle li { margin: 0; padding: 8px 14px 8px 12px; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .06em; border-radius: 999px; }
.lifecycle li:not(:last-child)::after { content: " →"; color: var(--gold); }
.checklist-box { list-style: none; padding-left: 0 !important; }
.checklist-box li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checklist-box li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border: 2px solid var(--gold); border-radius: 5px; background: #fff; }
.pub-note, .article-disclaimer { font-size: .88rem; color: var(--muted); }
.article-disclaimer { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); }
.prose a { word-break: break-word; }

.steps-list { padding-left: 22px; }
.steps-list li { margin-bottom: 10px; padding-left: 4px; }
.steps-list li::marker { color: var(--gold-600); font-weight: 700; }
.framework.grid-4 .framework__step h3 { font-size: 1.2rem; }

/* Risk tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 26px; }
@media (max-width: 760px) { .tiers { grid-template-columns: 1fr; } }
.tier { border-radius: var(--radius); padding: 18px 18px 8px; border-top: 4px solid; background: var(--bg-soft); }
.tier h4 { margin: 0 0 10px; font-size: 1.05rem; }
.tier ul { padding-left: 18px; margin: 0; font-size: .95rem; }
.tier li { margin-bottom: 6px; }
.tier__level { margin: 0 0 2px; font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.tier--low { border-color: #2E7D4F; } .tier--low .tier__level { color: #2E7D4F; }
.tier--med { border-color: var(--gold); } .tier--med .tier__level { color: var(--gold-600); }
.tier--high { border-color: #A3261B; } .tier--high .tier__level { color: #A3261B; }
