/* Kodiak Capital Advisors — Ghost theme
   Layout: white header, spruce-green bands for heroes and calls to action,
   pale stone sections for content, dark-green footer. */

:root {
  --primary: #123B2F;      /* spruce green: brand, buttons, bands */
  --footer: #0E2A22;       /* deeper green: footer */
  --accent: #2F5F6E;       /* glacier blue-teal: eyebrows, links, icons */
  --ink: #18221E;          /* body text */
  --ink-2: #2F3A35;        /* secondary text on light */
  --muted: #4C5752;        /* supporting text */
  --muted-2: #5A6560;      /* captions, meta */
  --line: #D7DCD8;         /* borders */
  --line-soft: #E3E8E5;
  --stone: #F3F4F1;        /* page ground */
  --white: #FFFFFF;
  --on-dark: #DCE6E2;      /* body text on green */
  --on-dark-2: #CFE0E3;    /* eyebrows on green */
  --chip: #E3EBE7;
  --warn-bg: #F6F1E8; --warn-line: #E2D5BE; --warn-ink: #4A3B22;

  /* Ghost's custom-font settings (Settings → Design → Brand) override these when set */
  --font-display: var(--gh-font-heading, "Newsreader", Georgia, "Times New Roman", serif);
  --font-body: var(--gh-font-body, "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif);
  --font-logo: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--primary); }
h1, h2, h3 { text-wrap: balance; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(16px, 2rem);
  padding-right: max(16px, 2rem);
}

/* ---------- Type ---------- */
.eyebrow {
  margin: 0;
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow a { color: inherit; text-decoration: none; }
.on-dark .eyebrow { color: var(--on-dark-2); }
.display {
  margin: 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(38px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.01em;
}
.h2 {
  margin: 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1;
}
.h3 {
  margin: 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: 25px; line-height: 1.2;
}
.lede { margin: 0; max-width: 36em; font-size: 19px; }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--muted-2); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { display: flex; flex-direction: column; gap: 24px; }
.more { font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 4px;
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
}
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: #0B2A21; color: var(--white); }
.btn-light { background: var(--stone); color: var(--primary); }
.btn-light:hover { background: var(--white); color: var(--primary); }
.btn-ghost-light { border-color: rgba(243,244,241,0.55); color: var(--stone); }
.btn-ghost-light:hover { border-color: var(--stone); color: var(--white); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: var(--white); }
.btn-outline:hover { background: var(--stone); color: var(--primary); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px; padding-top: 18px; padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #111111; }
.brand:hover { color: #111111; }
.brand svg { flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; gap: 5px; line-height: 1; font-family: var(--font-logo); font-weight: 500; }
.brand-name { font-size: 27px; letter-spacing: 0.12em; }
.brand-sub { font-size: 7.7px; letter-spacing: 0.43em; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 6px; }
.nav .nav-current a {
  color: var(--primary); font-weight: 600;
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px;
}
@media (max-width: 900px) {
  .site-header .wrap { padding-bottom: 0; }
  .nav { order: 3; width: 100%; overflow-x: auto; border-top: 1px solid var(--line-soft); }
  .nav ul { flex-wrap: nowrap; padding: 12px 0; gap: 22px; }
  .nav a { white-space: nowrap; }
  .brand-name { font-size: 23px; }
  .brand-sub { font-size: 6.6px; }
}
@media (max-width: 420px) {
  .header-cta { display: none; }
}

/* ---------- Bands ---------- */
.band { position: relative; overflow: hidden; background: var(--primary); color: var(--stone); }
.band .contours { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.16; pointer-events: none; }
.band .wrap { position: relative; }
.band .display, .band .h2 { color: var(--white); }
.band .lede, .band p { color: var(--on-dark); }

.hero .wrap { padding-top: 96px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.page-hero .wrap { padding-top: 80px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 22px; }
.page-hero .display { max-width: 16em; font-size: clamp(38px, 4.8vw, 62px); }
.page-hero .lede { max-width: 38em; }

.glance {
  flex: 1 1 380px; min-width: 0;
  background: rgba(8,28,22,0.45); border: 1px solid rgba(207,224,227,0.25); border-radius: var(--radius);
  padding: 28px 30px;
}
.glance .eyebrow { margin-bottom: 14px; }
.glance dl { margin: 0; }
.glance dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(207,224,227,0.2); }
.glance dt { color: #BFD0CB; white-space: nowrap; }
.glance dd { margin: 0; text-align: right; font-weight: 600; color: var(--white); font-variant-numeric: tabular-nums; }

.jump { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 10px; }
.jump a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(243,244,241,0.45); color: var(--stone); font-size: 15px; font-weight: 600; text-decoration: none;
}
.jump a:hover { border-color: var(--stone); color: var(--white); }

.cta-band .wrap { padding-top: 84px; padding-bottom: 84px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 56px; }
.cta-band .copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }

/* ---------- Sections ---------- */
.section { background: var(--stone); }
.section > .wrap { padding-top: 92px; padding-bottom: 92px; }
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-white + .section-white { border-top: 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px; margin-bottom: 44px; }
.section-head .stack { flex: 1 1 520px; min-width: 0; }
.section-head > p { flex: 1 1 360px; min-width: 0; margin: 0; max-width: 30em; }
.section-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: 40px; }
.section-foot p { margin: 0; max-width: 44em; }
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split > .main { flex: 999 1 560px; min-width: 0; }
.split > .side { flex: 1 1 340px; min-width: 0; align-self: flex-start; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; gap: 14px;
}
.card p { margin: 0; color: var(--muted); }
.section-white .card { background: var(--stone); }
.icon { color: var(--accent); }

/* Strategy grid (home) */
.strat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.strat-cell {
  padding: 32px 28px; display: flex; flex-direction: column; gap: 12px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0;
}
.strat-cell .tag { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.strat-cell h3 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 30px; line-height: 1.1; }
.strat-cell h3 a { color: inherit; text-decoration: none; }
.strat-cell h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.strat-cell p { margin: 0; color: var(--muted); font-size: 16px; }

/* Steps (home) */
.steps { margin: 28px 0 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 22px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .n { flex: 0 0 36px; font-family: var(--font-display); font-size: 26px; line-height: 1.2; color: var(--primary); font-variant-numeric: tabular-nums; }
.steps strong { display: block; font-weight: 600; }
.steps span.t { color: var(--muted); }

/* Fee panel */
.fee-panel { display: flex; flex-direction: column; gap: 20px; }
.fee-panel .fee { display: flex; flex-direction: column; gap: 4px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.fee-big { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--primary); font-variant-numeric: tabular-nums; }
.fee-panel .fee span:last-child, .fee-panel p { color: var(--muted); font-size: 15px; margin: 0; }

/* People (home + team) */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.person { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.person .photo { flex: 0 0 140px; height: 170px; }
.person .bio { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.person .bio p { margin: 0; color: var(--muted); }
.role { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.photo {
  border-radius: 4px; overflow: hidden; background: #E3E8E5;
  display: flex; align-items: center; justify-content: center; color: var(--muted-2); font-size: 13px;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-empty { border: 1px dashed #A9B4AE; }

/* Post list */
.post-list { display: flex; flex-direction: column; }
.post-list a {
  display: flex; flex-direction: column; gap: 4px; padding: 20px 0; border-top: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
}
.post-list a:last-child { border-bottom: 1px solid var(--line); }
.post-list .pt { font-family: var(--font-display); font-size: 23px; line-height: 1.25; }
.post-list a:hover .pt { text-decoration: underline; text-underline-offset: 5px; }
.post-list .pm { font-size: 14px; color: var(--muted-2); }
.post-list .px { font-size: 16px; color: var(--muted); }

/* Subscribe card */
.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; gap: 16px;
}
.form-card p { margin: 0; color: var(--muted); font-size: 15px; }
.form-card label { font-size: 14px; font-weight: 600; }
.input {
  min-height: 48px; padding: 0 14px; border: 1px solid #A9B4AE; border-radius: 4px;
  font: inherit; font-size: 16px; background: var(--white); color: var(--ink); width: 100%;
}
.subscribe-form { display: flex; flex-direction: column; gap: 10px; }
.subscribe-form .msg { display: none; font-size: 15px; margin: 0; }
.subscribe-form.success .msg-success { display: block; color: #1F6B45; }
.subscribe-form.error .msg-error { display: block; color: #9A3324; }
.subscribe-form.loading button { opacity: 0.7; }

/* ---------- Strategy detail ---------- */
.principles { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.principles li { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 2px solid var(--primary); }
.principles strong { font-family: var(--font-display); font-weight: 500; font-size: 23px; line-height: 1.2; }
.principles span { color: var(--muted); font-size: 16px; }

.detail { display: flex; flex-wrap: wrap; gap: 28px 64px; padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.detail:last-child { border-bottom: 0; }
.detail .lead { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.detail .body { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.detail .body > p { margin: 0; color: var(--ink-2); }
.detail h2 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 3.4vw, 44px); line-height: 1.05; }
.detail .summary { margin: 0; font-family: var(--font-display); font-size: 21px; line-height: 1.4; color: var(--ink-2); }
.pill { align-self: flex-start; margin: 0; padding: 6px 12px; border-radius: 4px; background: #E7EEF0; color: #1F4653; font-size: 14px; font-weight: 600; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; }
.facts > div { padding: 16px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.facts dt { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.facts dd { margin: 0; }
.note { padding: 18px 20px; border-radius: var(--radius); background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); font-size: 15px; }
.note strong { display: block; margin-bottom: 2px; }

.table-box { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.table-box table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 16px; }
.table-box th { text-align: left; padding: 18px 22px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); border-bottom: 1px solid var(--line); }
.table-box td { padding: 18px 22px; border-bottom: 1px solid var(--line-soft); }
.table-box tr:last-child td { border-bottom: 0; }
.table-box td.s { font-family: var(--font-display); font-size: 20px; }
.table-box td.s a { color: var(--ink); }
.table-box td.a { color: var(--muted); }

/* ---------- Who we serve ---------- */
.client { display: flex; flex-wrap: wrap; gap: 24px 64px; padding: 56px 0; border-bottom: 1px solid var(--line); }
.client:first-child { padding-top: 0; }
.client:last-child { border-bottom: 0; padding-bottom: 0; }
.client .lead { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.client .body { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.client h2 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 36px; line-height: 1.1; }
.client .body p { margin: 0; color: var(--ink-2); }
.chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--chip); color: #1E3A31; font-size: 15px; font-weight: 500; }
.checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; }
.checklist svg { flex: 0 0 auto; margin-top: 3px; }
.minimum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; padding: 22px 26px; margin-top: 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.minimum .k { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.minimum .v { font-family: var(--font-display); font-size: 30px; color: var(--primary); font-variant-numeric: tabular-nums; }

/* ---------- How we work ---------- */
.numcards { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.numcards li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.numcards .n { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--primary); }
.numcards strong { font-weight: 600; font-size: 18px; }
.numcards span.t { color: var(--muted); font-size: 16px; }
.fee-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.fee-col { border-top: 2px solid var(--primary); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.fee-col .k { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.fee-col .fee-big { font-size: 56px; }
.hwm { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 24px 26px; border-radius: var(--radius); background: var(--stone); border: 1px solid var(--line); }
.hwm svg { flex: 0 0 auto; max-width: 100%; }
.hwm p { flex: 1 1 280px; min-width: 0; margin: 0; color: var(--ink-2); font-size: 16px; }
.two-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.two-cards .card h2 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 30px; line-height: 1.15; }
.two-cards ul { margin: 0; padding-left: 20px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.regbox { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: center; }
.regbox .copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.regbox .copy p { margin: 0; }
.regbox .actions { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Team ---------- */
.profile { display: flex; flex-wrap: wrap; gap: 32px 56px; padding: 64px 0; border-bottom: 1px solid var(--line); }
.profile:first-child { padding-top: 0; }
.profile:last-child { border-bottom: 0; padding-bottom: 0; }
.profile .photo { flex: 0 0 280px; max-width: 100%; height: 340px; font-size: 14px; }
.profile .bio { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.profile h2 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 44px; line-height: 1.05; }
.profile .bio p { margin: 0; color: var(--ink-2); max-width: 38em; }
.profile .links { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 6px; font-size: 15px; }

/* ---------- Connect ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.contact-grid .side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.contact-grid .main { flex: 999 1 560px; min-width: 0; }
.contact-list { margin: 0; }
.contact-list > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.contact-list > div:last-child { border-bottom: 1px solid var(--line-soft); }
.contact-list dt { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
.next-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.next-steps li { display: flex; gap: 16px; }
.next-steps .n { flex: 0 0 auto; font-family: var(--font-display); font-size: 30px; line-height: 1.1; color: var(--primary); }
.next-steps strong { display: block; font-weight: 600; }
.next-steps span.t { color: var(--muted); font-size: 16px; }

/* ---------- Posts & generic pages ---------- */
.article-head .wrap, .article-body, .article-foot { max-width: 760px; }
.article-head { background: var(--white); border-bottom: 1px solid var(--line); }
.article-head .wrap { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 16px; }
.article-head h1 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; }
.article-head .excerpt { margin: 0; font-size: 20px; color: var(--muted); }
.article-head .meta { margin: 0; font-size: 15px; color: var(--muted-2); }
.article-feature { max-width: 1040px; margin: 40px auto 0; padding-left: max(16px, 2rem); padding-right: max(16px, 2rem); }
.article-feature img { width: 100%; border-radius: var(--radius); }
.article-feature figcaption { margin-top: 8px; font-size: 14px; color: var(--muted-2); }
.article-body { margin: 0 auto; padding: 48px max(16px, 2rem) 32px; }
.article-foot { margin: 0 auto; padding: 0 max(16px, 2rem) 72px; }

.gh-content { font-size: 18px; line-height: 1.7; color: var(--ink); }
.gh-content > * { margin-top: 0; margin-bottom: 1.2em; }
.gh-content h2 { font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: 1.2; margin-top: 1.6em; margin-bottom: 0.5em; }
.gh-content h3 { font-family: var(--font-display); font-weight: 500; font-size: 25px; line-height: 1.25; margin-top: 1.4em; margin-bottom: 0.4em; }
.gh-content h4 { font-size: 18px; font-weight: 600; margin-top: 1.4em; margin-bottom: 0.4em; }
.gh-content blockquote { margin-left: 0; padding-left: 20px; border-left: 3px solid var(--primary); font-family: var(--font-display); font-size: 21px; color: var(--ink-2); }
.gh-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.gh-content figure { margin-left: 0; margin-right: 0; }
.gh-content figcaption { font-size: 14px; color: var(--muted-2); margin-top: 8px; text-align: center; }
.gh-content table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.gh-content th, .gh-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.gh-content pre { overflow-x: auto; background: #10201B; color: #E6ECEA; padding: 18px; border-radius: var(--radius); font-size: 15px; }
.gh-content code { font-size: 0.9em; }
.gh-content .kg-width-wide { position: relative; width: min(1040px, calc(100vw - 32px)); left: 50%; transform: translateX(-50%); }
.gh-content .kg-width-full { position: relative; width: 100vw; left: 50%; transform: translateX(-50%); }
.gh-content .kg-width-full img { border-radius: 0; }

.post-subscribe { margin-top: 48px; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; font-size: 15px; }
.pagination .page-number { color: var(--muted-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #C9D4D0; font-size: 15px; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer-cols > div, .footer-cols nav { display: flex; flex-direction: column; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--white); margin-bottom: 4px; }
.footer-brand .brand-text { gap: 4px; }
.footer-brand .brand-name { font-size: 22px; }
.footer-brand .brand-sub { font-size: 7px; letter-spacing: 0.4em; }
.footer-h { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #9FB3AC; }
.site-footer a { color: #E6ECEA; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { font-style: normal; display: flex; flex-direction: column; gap: 10px; }
.disclosure { margin: 0; padding-top: 28px; border-top: 1px solid rgba(201,212,208,0.2); font-size: 13px; line-height: 1.6; color: #A7B7B1; max-width: 72em; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section > .wrap { padding-top: 64px; padding-bottom: 64px; }
  .hero .wrap { padding-top: 64px; padding-bottom: 72px; }
  .page-hero .wrap { padding-top: 56px; padding-bottom: 56px; }
  .card, .form-card { padding: 24px; }
  .profile .photo { flex-basis: 100%; height: 320px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
html { scroll-behavior: smooth; }
