/* ───────────────────────────────────────────────────────────
   Institutional / diplomatic — Mockup 02
   Mukhtar Sabri Consulting
   Navy + gold, serif display + system sans, 12-col grid.
   ─────────────────────────────────────────────────────────── */

:root {
  /* colour */
  --bg:         #fafaf6;            /* warm off-white */
  --paper:      #ffffff;
  --ink:        #131826;            /* near-black with navy bias */
  --ink-2:      #3a4055;
  --ink-3:      #6a7080;
  --rule:       #d9d4c5;
  --rule-2:     #c2bdae;
  --navy:       #0e2a47;            /* primary */
  --navy-2:     #1a3a5e;
  --navy-3:     #234d77;
  --gold:       #b88332;            /* accent */
  --gold-2:     #d6a141;
  --gold-3:     #e8be67;

  /* type */
  --serif: "Tinos", "Source Serif 4", "Source Serif Pro", "Charter", "Iowan Old Style", Georgia, "Times New Roman", Times, serif;
  --sans:  ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", "Liberation Sans", Arial, sans-serif;
  --mono:  ui-monospace, "JetBrains Mono", "IBM Plex Mono", "Menlo", "Consolas", monospace;

  /* scale (mobile first) */
  --fs-meta:    0.75rem;     /* 12px */
  --fs-eyebrow: 0.6875rem;   /* 11px */
  --fs-body:    1rem;        /* 16px */
  --fs-lede:    1.125rem;    /* 18px */
  --fs-h3:      1.25rem;
  --fs-h2:      1.875rem;
  --fs-h1:      2.5rem;

  /* spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2rem;
  --s-6: 3rem;
  --s-7: 5rem;
  --s-8: 8rem;

  --container: 76rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --ease: cubic-bezier(.2,.6,.2,1);
}

@media (min-width: 56rem) {
  :root {
    --fs-h1:    3.75rem;
    --fs-h2:    2.5rem;
    --fs-h3:    1.5rem;
    --fs-lede:  1.25rem;
  }
}

/* reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  color-adjust: exact;
}
@media print {
  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.gold { color: var(--gold); }
strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }

/* ─── topbar ───────────────────────────────────────── */
.topbar {
  background: var(--navy);
  color: #cbd5e1;
}
.topbar__strip {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.45rem var(--gutter);
  font-family: var(--mono);
  font-size: var(--fs-meta);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.topbar__strip p { margin: 0; }

/* ─── nav ──────────────────────────────────────────── */
.nav {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; text-decoration: none; color: var(--ink); }
.brand__logo { display: block; height: 30px; width: auto; }
.brand__tag {
  font-family: var(--sans);
  font-size: 0.4375rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
  padding-left: 2px;
}
@media (max-width: 30rem) {
  .brand__logo { height: 25px; }
  .brand__tag { font-size: 0.375rem; letter-spacing: 0.14em; }
}

.nav__links { display: none; }
.nav__links a {
  display: inline-block;
  padding: 0.4rem 0;
  margin-left: var(--s-4);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  position: relative;
}
.nav__links a:hover { color: var(--navy); }
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  inset: auto 0 -2px 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta {
  background: var(--navy);
  color: #fff !important;
  padding: 0.55rem 1rem !important;
  border-radius: 2px;
}
.nav__cta:hover { background: var(--gold); }

.nav__toggle {
  background: transparent;
  border: 1px solid var(--rule-2);
  border-radius: 2px;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav__toggle .bar { display: block; width: 20px; height: 2px; background: var(--navy); }

@media (min-width: 56rem) {
  .nav__toggle { display: none; }
  .nav__links { display: flex; align-items: center; }
}

.nav.is-open .nav__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: var(--s-3) var(--gutter);
}
.nav.is-open .nav__links a {
  margin: 0;
  padding: 0.6rem 0;
  width: 100%;
  border-bottom: 1px solid var(--rule);
}
.nav.is-open .nav__cta { background: var(--navy); width: auto; }

/* ─── shared ───────────────────────────────────────── */
.h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-3);
  color: var(--ink);
}
.kicker {
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin: 0 0 var(--s-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  border-radius: 2px;
  transition: background 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease), border-color 200ms var(--ease);
}
.btn:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.btn--large { padding: 1.05rem 1.75rem; font-size: 0.9375rem; }

.placeholder {
  display: inline;
  background: rgba(184,131,50,0.1);
  padding: 0.05em 0.35em;
  border-bottom: 1px dashed var(--gold);
  font-style: italic;
  color: var(--ink-3);
}

.link {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: color 200ms var(--ease);
}
.link:hover { color: var(--gold); }

.section__head {
  max-width: 60ch;
  margin: 0 0 var(--s-6);
}
.section__num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-3);
}
.section__lede {
  font-size: var(--fs-lede);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 56ch;
  margin: var(--s-3) 0 0;
}

/* ─── hero ─────────────────────────────────────────── */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #f4f0e0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 80px);
  pointer-events: none;
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) var(--gutter) clamp(3rem, 7vw, 6rem);
  position: relative;
  z-index: 2;
}
.hero__rule {
  width: 4rem;
  height: 3px;
  background: var(--gold);
  margin-bottom: var(--s-4);
}
.hero__eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin: 0 0 var(--s-4);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--fs-h1);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-5);
  max-width: 22ch;
  color: #fff;
  animation: rise 800ms var(--ease) both;
}
.hero__title .gold { font-style: italic; font-weight: 600; }
.hero__lede {
  font-size: var(--fs-lede);
  color: #e3dccb;
  line-height: 1.55;
  margin: 0 0 var(--s-5);
  max-width: 60ch;
  animation: rise 800ms var(--ease) both;
  animation-delay: 150ms;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  animation: rise 800ms var(--ease) both;
  animation-delay: 300ms;
}
.hero__bands {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  height: 8px;
  z-index: 2;
}
.hero__bands span { flex: 1; height: 100%; }
.hero__bands span:nth-child(1) { background: var(--gold); }
.hero__bands span:nth-child(2) { background: var(--gold-2); }
.hero__bands span:nth-child(3) { background: var(--navy-3); }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── dateline / stats ─────────────────────────────── */
.dateline {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.dateline dl {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-4) var(--gutter);
  display: grid;
  gap: var(--s-3);
  grid-template-columns: 1fr;
}
@media (min-width: 56rem) {
  .dateline dl { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
}
.dateline dl > div {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--gold);
  padding-left: var(--s-3);
}
.dateline dt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  margin-bottom: 0.25rem;
}
.dateline dd {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--ink);
}
.dateline sup { font-size: 0.65em; color: var(--gold); top: -0.4em; }

/* ─── what I do ────────────────────────────────────── */
.what {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-7) var(--gutter);
}
.what__grid {
  display: grid;
  gap: var(--s-4);
}
@media (min-width: 56rem) {
  .what__grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
}
.what__grid article {
  background: var(--paper);
  border-top: 3px solid var(--gold);
  padding: var(--s-4);
  border-bottom: 1px solid var(--rule);
}
.what__grid h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 0 0 var(--s-3);
  color: var(--ink);
}
.what__grid p { color: var(--ink-2); margin: 0; max-width: 30ch; line-height: 1.55; }

/* ─── services ─────────────────────────────────────── */
.services {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.services > .section__head, .services > .services__grid {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.services > .section__head { padding-top: var(--s-7); }
.services__grid {
  display: grid;
  gap: 0;
  padding-bottom: var(--s-7);
  border: 1px solid var(--rule);
  border-radius: 2px;
}
@media (min-width: 38rem) { .services__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 56rem) { .services__grid { grid-template-columns: repeat(3, 1fr); } }
.services__grid {
  border-bottom: none;
  margin-bottom: var(--s-7);
  padding: 0;
  background: var(--bg);
}
.card {
  background: var(--paper);
  padding: var(--s-5) var(--s-4);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: background 200ms var(--ease);
}
.card:hover { background: #f7f3e6; }
@media (min-width: 56rem) {
  .card:nth-child(3n) { border-right: none; }
}
@media (min-width: 38rem) and (max-width: 55.999rem) {
  .card:nth-child(2n) { border-right: none; }
}
.card:last-child { border-bottom: none; }

/* 4-pillar variant of the "what I do" grid — 2x2 on desktop */
@media (min-width: 56rem) {
  .what__grid--four { grid-template-columns: repeat(2, 1fr); }
}

/* 7-card services variant — gapped, individually bordered cards */
.services__grid--seven {
  gap: var(--s-3);
  background: transparent;
  border: none;
}
.services__grid--seven .card {
  border: 1px solid var(--rule);
  border-radius: 2px;
}

.card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card__num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.card__tag {
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}
.card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--ink);
}
.card p { margin: 0; color: var(--ink-2); line-height: 1.55; font-size: 0.9375rem; }

/* ─── BuildDesk feature ────────────────────────────── */
.builddesk {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-7) var(--gutter);
}
.builddesk__grid {
  display: grid;
  gap: var(--s-6);
  align-items: start;
}
@media (min-width: 56rem) {
  .builddesk__grid { grid-template-columns: 1fr 1.15fr; gap: var(--s-7); }
}
.builddesk__lede {
  font-family: var(--serif);
  font-size: var(--fs-lede);
  line-height: 1.45;
  margin: 0 0 var(--s-3);
  color: var(--ink);
  max-width: 32ch;
}
.builddesk__copy p { color: var(--ink-2); margin: 0 0 var(--s-3); }
.builddesk__bullets {
  margin: var(--s-3) 0 var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.builddesk__bullets li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.builddesk__bullets li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.85em;
  top: 0.3em;
}

.builddesk__shot {
  margin: 0;
  position: relative;
  border: 1px solid var(--navy);
  background: var(--paper);
  padding: 12px 12px 0;
  box-shadow: 0 24px 48px -16px rgba(14,42,71,0.18), 0 0 0 1px var(--rule);
}
.builddesk__shot::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.builddesk__shot img { width: 100%; }
.builddesk__shot figcaption {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-align: right;
  padding: var(--s-2) 0;
  text-transform: uppercase;
}

/* ─── about (homepage teaser — white band) ─────────── */
.about {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.about > .section__head, .about > .about__grid {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.about > .section__head { padding-top: var(--s-7); }
.about > .about__grid { padding-bottom: var(--s-7); }
.about__grid {
  display: grid;
  gap: var(--s-5);
  align-items: start;
}
@media (min-width: 56rem) {
  .about__grid { grid-template-columns: 0.72fr 1.28fr; gap: var(--s-7); }
}
.about__photo {
  margin: 0;
  border: 1px solid var(--navy);
  padding: 0;
  background: var(--paper);
  position: relative;
}
.about__photo::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.about__photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(0.25) brightness(0.98);
}
.about__photo figcaption {
  background: var(--navy);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.8125rem;
  padding: var(--s-3);
  border-top: 1px solid var(--gold);
}
.about__photo figcaption strong {
  color: var(--gold-3);
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1px;
}

.about__copy { max-width: 72ch; }
.about__copy p {
  margin: 0 0 var(--s-3);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
}
.about__copy em { font-style: italic; color: var(--navy); font-weight: 600; }
.about__copy strong { color: var(--ink); font-weight: 600; }

/* ─── FAQ ──────────────────────────────────────────── */
.faq {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-7) var(--gutter);
}
.faq__grid {
  background: var(--paper);
  border: 1px solid var(--rule);
  max-width: 56rem;
}
.faq details { border-bottom: 1px solid var(--rule); padding: 0; }
.faq details:last-child { border-bottom: none; }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-4);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋";
  color: var(--gold);
  font-weight: 600;
  transition: transform 200ms var(--ease);
}
.faq details[open] summary::after { content: "－"; }
.faq details p {
  margin: 0;
  padding: 0 var(--s-4) var(--s-4);
  color: var(--ink-2);
  line-height: 1.6;
  border-top: 1px solid var(--rule);
  padding-top: var(--s-3);
}

/* ─── contact CTA ──────────────────────────────────── */
.contact {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 80px);
  pointer-events: none;
}
.contact__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-7) var(--gutter);
  position: relative;
  z-index: 2;
}
.contact__eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin: 0 0 var(--s-3);
}
.contact__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-4);
  color: #fff;
  max-width: 30ch;
}
.contact__title .gold { font-style: italic; font-weight: 600; }
.contact__email {
  font-family: var(--mono);
  font-size: 1rem;
  margin: 0 0 var(--s-5);
  color: #cbd5e1;
}
.contact__email a { color: var(--gold-3); text-decoration: underline; text-underline-offset: 0.2em; }
.contact__email a:hover { color: #fff; }

/* ─── footer ───────────────────────────────────────── */
.footer {
  background: #08172a;
  color: #94a3b8;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-7) var(--gutter) var(--s-5);
  display: grid;
  gap: var(--s-5);
}
@media (min-width: 56rem) {
  .footer__inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--s-6); }
}
.footer__logo { display: block; height: 30px; width: auto; margin-bottom: var(--s-3); }
.footer__tagline { font-size: 0.875rem; line-height: 1.5; max-width: 30ch; margin: 0; }
.footer__head {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin: 0 0 var(--s-3);
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__col a {
  text-decoration: none;
  color: #cbd5e1;
  font-size: 0.875rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.footer__col a:hover { color: var(--gold-3); border-color: var(--gold); }
.footer__bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-4) var(--gutter);
  border-top: 1px solid #14253c;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7c95;
}
@media (min-width: 56rem) {
  .footer__bar { flex-direction: row; justify-content: space-between; }
}
.footer__bar p { margin: 0; }

/* ═══════════════════════════════════════════════════
   INNER PAGES  (About · Services · Contact · Legal)
   ═══════════════════════════════════════════════════ */

/* ─── compact page hero (navy band) ────────────────── */
.page-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #f4f0e0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 80px);
  pointer-events: none;
}
.page-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2.75rem, 6vw, 4.5rem) var(--gutter);
  position: relative;
  z-index: 2;
}
.page-hero__rule { width: 4rem; height: 3px; background: var(--gold); margin-bottom: var(--s-4); }
.page-hero__eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin: 0 0 var(--s-3);
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--fs-h1);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-3);
  color: #fff;
  max-width: 22ch;
}
.page-hero h1 .gold { font-style: italic; }
.page-hero__lede {
  font-size: var(--fs-lede);
  color: #e3dccb;
  line-height: 1.55;
  margin: 0;
  max-width: 56ch;
}
.page-hero__bands { position: absolute; inset: auto 0 0 0; display: flex; height: 6px; z-index: 2; }
.page-hero__bands span { flex: 1; }
.page-hero__bands span:nth-child(1) { background: var(--gold); }
.page-hero__bands span:nth-child(2) { background: var(--gold-2); }
.page-hero__bands span:nth-child(3) { background: var(--navy-3); }

/* ─── generic section wrapper ──────────────────────── */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-7) var(--gutter);
}
.section--tight { padding-top: var(--s-6); padding-bottom: var(--s-6); }
.section--paper { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section--paper > .section__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-7) var(--gutter);
}

/* ─── prose (About bio) ────────────────────────────── */
.prose { max-width: 66ch; }
.prose p {
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 var(--s-4);
}
.prose p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 3.4em;
  float: left;
  line-height: 0.82;
  padding: 0.07em 0.09em 0 0;
  color: var(--navy);
  font-weight: 600;
}
.prose em { font-style: italic; color: var(--navy); font-weight: 600; }
.prose strong { font-weight: 600; }

/* ─── about layout ─────────────────────────────────── */
.about-grid {
  display: grid;
  gap: var(--s-6);
  align-items: start;
}
@media (min-width: 56rem) {
  .about-grid { grid-template-columns: 1.5fr 0.85fr; gap: var(--s-7); }
}
.about-aside .about__photo { margin-bottom: var(--s-4); }
.about-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--gold);
  padding: var(--s-4);
}
.about-card p.kicker { margin-bottom: var(--s-3); }
.about-card ul { display: flex; flex-direction: column; gap: 0.55rem; }
.about-card li {
  font-size: 0.9375rem;
  color: var(--ink-2);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.45;
}
.about-card li::before { content: "▪"; position: absolute; left: 0; color: var(--gold); }

/* ─── timeline ─────────────────────────────────────── */
.timeline { border-top: 1px solid var(--rule); }
.timeline__row {
  display: grid;
  gap: var(--s-1) var(--s-4);
  grid-template-columns: 1fr;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 44rem) {
  .timeline__row { grid-template-columns: 15rem 1fr; }
}
.timeline__org {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.timeline__role { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.5; }

/* ─── services detail page ─────────────────────────── */
.svc-detail {
  display: grid;
  gap: var(--s-3) var(--s-6);
  grid-template-columns: 1fr;
  padding: var(--s-6) 0;
  border-top: 1px solid var(--rule);
}
@media (min-width: 56rem) {
  .svc-detail {
    grid-template-columns: auto minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }
}
.svc-detail:last-child { border-bottom: 1px solid var(--rule); }
.svc-detail__num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.svc-detail__main h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-3);
  color: var(--ink);
}
.svc-detail__desc { color: var(--ink-2); margin: 0; line-height: 1.65; }
.svc-detail__who {
  font-size: 0.875rem;
  color: var(--ink-2);
  background: var(--bg);
  border-left: 2px solid var(--gold);
  padding: 0.5rem 0.85rem;
  margin: 0 0 var(--s-4);
}
.svc-detail__who strong { color: var(--navy); }
.svc-detail__incl-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  margin: 0 0 var(--s-2);
}
.svc-detail__incl { display: flex; flex-direction: column; gap: 0.45rem; }
.svc-detail__incl li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.svc-detail__incl li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.85em;
  top: 0.25em;
}

/* ─── contact page ─────────────────────────────────── */
.contact-grid {
  display: grid;
  gap: var(--s-6);
}
@media (min-width: 52rem) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
}
.contact-single { max-width: 44rem; margin: 0 auto; }
.webweezl-form { min-height: 22rem; }
.contact-block {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--gold);
  padding: var(--s-5) var(--s-4);
}
.contact-block h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.375rem;
  margin: 0 0 var(--s-2);
  letter-spacing: -0.01em;
}
.contact-block > p { color: var(--ink-2); margin: 0 0 var(--s-4); font-size: 0.9375rem; }
.embed-slot {
  border: 1px dashed var(--rule-2);
  border-radius: 2px;
  background: var(--bg);
  min-height: 18rem;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--s-5);
}
.embed-slot p {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin: 0;
  max-width: 30ch;
  line-height: 1.6;
}
.contact-direct {
  text-align: center;
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
}
.contact-direct p { margin: 0; color: var(--ink-2); }
.contact-direct a { color: var(--navy); font-weight: 600; }

/* ─── legal pages ──────────────────────────────────── */
.legal { max-width: 52rem; }
.legal h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  margin: var(--s-6) 0 var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
  color: var(--navy);
}
.legal h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  margin: var(--s-4) 0 var(--s-2);
  color: var(--ink);
}
.legal p {
  font-style: normal;
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0 0 var(--s-3);
  max-width: 72ch;
}
.legal address {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 var(--s-3);
}
.legal a { color: var(--navy); }
.legal ul { margin: 0 0 var(--s-4); padding-left: 1.25rem; list-style: disc; color: var(--ink-2); max-width: 72ch; }
.legal li { margin-bottom: 0.4rem; line-height: 1.6; font-size: 1.0625rem; }
.legal__updated {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-bottom: var(--s-5) !important;
}
.legal__note {
  background: rgba(184,131,50,0.08);
  border-left: 3px solid var(--gold);
  padding: var(--s-3) var(--s-4);
  font-size: 0.9375rem;
  margin: 0 0 var(--s-5);
}

/* ─── services CTA card (homepage grid) ────────────── */
.services__grid--seven .card--cta {
  background: var(--navy);
  border-color: var(--navy);
  text-decoration: none;
  justify-content: space-between;
}
.services__grid--seven .card--cta:hover { background: var(--navy-2); }
.card--cta h3 { color: #fff; }
.card--cta p { color: #c4cedb; }
.card__num--cta { color: var(--gold-3); }
.card__tag--cta { color: var(--gold-3); border-color: var(--gold); }
.card__cta-link {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gold-3);
  margin-top: var(--s-2);
}
.card--cta:hover .card__cta-link { color: #fff; }

/* ─── cookie consent banner ────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--navy);
  border-top: 3px solid var(--gold);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-5);
  padding: var(--s-3) var(--gutter);
  box-shadow: 0 -10px 36px rgba(0,0,0,0.28);
  animation: cookie-rise 380ms var(--ease) both;
}
@keyframes cookie-rise { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-banner--hide { transform: translateY(110%); transition: transform 300ms var(--ease); }
.cookie-banner__text {
  margin: 0;
  flex: 1 1 24rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #cbd5e1;
}
.cookie-banner__text a { color: var(--gold-3); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); flex-shrink: 0; }
.cookie-banner__btn {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.cookie-banner__btn--accept { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.cookie-banner__btn--accept:hover { background: var(--gold-2); border-color: var(--gold-2); }
.cookie-banner__btn--ghost { background: transparent; color: #cbd5e1; border-color: rgba(255,255,255,0.4); }
.cookie-banner__btn--ghost:hover { color: #fff; border-color: #fff; }

/* ─── cookie preferences modal ─────────────────────── */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 42, 71, 0.7);
  padding: var(--s-4);
  overflow-y: auto;
  animation: cookie-modal-in 200ms var(--ease) both;
}
.cookie-modal--hide { animation: cookie-modal-out 200ms var(--ease) both; }
@keyframes cookie-modal-in  { from { opacity: 0 } to { opacity: 1 } }
@keyframes cookie-modal-out { from { opacity: 1 } to { opacity: 0 } }

.cookie-modal__panel {
  background: var(--bg);
  border-top: 3px solid var(--gold);
  max-width: 44rem;
  width: 100%;
  max-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.cookie-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--rule);
  flex-shrink: 0;
}
.cookie-modal__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0;
}
.cookie-modal__close {
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--ink-3);
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 2px;
  transition: color 200ms var(--ease), background 200ms var(--ease);
}
.cookie-modal__close:hover { color: var(--navy); background: var(--rule); }

.cookie-modal__intro {
  margin: 0;
  padding: var(--s-4) var(--s-5);
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.55;
  border-bottom: 1px solid var(--rule);
  flex-shrink: 0;
}
.cookie-modal__intro a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  text-decoration: none;
}
.cookie-modal__intro a:hover { color: var(--gold); }

.cookie-modal__sections {
  padding: 0 var(--s-5);
  overflow-y: auto;
  flex: 1 1 auto;
}

.cookie-cat {
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--rule);
}
.cookie-cat:last-child { border-bottom: 0; }
.cookie-cat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-2);
}
.cookie-cat__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--navy);
  margin: 0;
}
.cookie-cat__always {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.22rem 0.55rem;
  border-radius: 2px;
}
.cookie-cat__desc {
  margin: 0 0 var(--s-3);
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.55;
}

.cookie-cat__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.cookie-cat__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.cookie-cat__table th,
.cookie-cat__table td {
  padding: 0.55rem 0.75rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}
.cookie-cat__table th {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--bg);
  font-weight: 600;
}
.cookie-cat__table tr:last-child td { border-bottom: 0; }
.cookie-cat__table td { color: var(--ink-2); }
.cookie-cat__table td:first-child { color: var(--navy); font-weight: 600; white-space: nowrap; }

/* Toggle switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 2.6rem;
  height: 1.4rem;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-toggle__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--rule-2);
  border-radius: 999px;
  transition: background 200ms var(--ease);
}
.cookie-toggle__slider::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 1rem;
  height: 1rem;
  background: #fff;
  border-radius: 50%;
  transition: transform 200ms var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.cookie-toggle__input:checked + .cookie-toggle__slider { background: var(--gold); }
.cookie-toggle__input:checked + .cookie-toggle__slider::before { transform: translateX(1.2rem); }
.cookie-toggle__input:focus-visible + .cookie-toggle__slider {
  outline: 2px solid var(--gold-3);
  outline-offset: 2px;
}

.cookie-modal__actions {
  padding: var(--s-4) var(--s-5);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  justify-content: flex-end;
  flex-shrink: 0;
  background: var(--paper);
}
/* In the modal, ghost buttons sit on light bg — invert their colors */
.cookie-modal__actions .cookie-banner__btn--ghost {
  color: var(--navy);
  border-color: var(--rule-2);
}
.cookie-modal__actions .cookie-banner__btn--ghost:hover {
  color: var(--ink);
  border-color: var(--ink-3);
  background: var(--bg);
}
@media (max-width: 32rem) {
  .cookie-modal__actions { flex-direction: column-reverse; }
  .cookie-modal__actions .cookie-banner__btn { width: 100%; }
}

/* ─── footer cookie-settings link (button styled as link) ─── */
.footer__col-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 0 0 1px 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
  color: #cbd5e1;
  font-size: 0.875rem;
  border-bottom: 1px solid transparent;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.footer__col-btn:hover { color: var(--gold-3); border-color: var(--gold); }
.footer__col-btn:focus-visible {
  outline: 2px solid var(--gold-3);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════
   BLOG  (listing + individual post template)
   ═══════════════════════════════════════════════════ */

/* ─── blog index listing ───────────────────────────── */
.blog-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.blog-list__item {
  border-bottom: 1px solid var(--rule);
}
.blog-list__link {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-1) var(--s-5);
  padding: var(--s-5) 0;
  text-decoration: none;
  color: inherit;
  transition: background 200ms var(--ease);
}
@media (min-width: 56rem) {
  .blog-list__link {
    grid-template-columns: 11rem 1fr 7rem;
    align-items: baseline;
    padding: var(--s-5) var(--s-3);
  }
}
.blog-list__link:hover { background: var(--paper); }
.blog-list__link:hover .blog-list__title { color: var(--gold); }

.blog-list__date {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  align-self: center;
}
.blog-list__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0;
  transition: color 200ms var(--ease);
}
.blog-list__excerpt {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: var(--s-2) 0 0;
  max-width: 60ch;
  grid-column: 1 / -1;
}
@media (min-width: 56rem) {
  .blog-list__excerpt { grid-column: 2 / 3; }
}
.blog-list__reading {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  align-self: center;
  justify-self: start;
}
@media (min-width: 56rem) {
  .blog-list__reading { justify-self: end; }
}
.blog-list__empty {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--ink-3);
  padding: var(--s-6) 0;
  text-align: center;
}

/* ─── individual post ──────────────────────────────── */
.post {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-6) var(--gutter) var(--s-7);
}
.post__eyebrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 var(--s-3);
}
.post__eyebrow-num { color: var(--gold); margin-right: 0.5rem; }

.post__head { margin-bottom: var(--s-5); }
.post__head-inner { max-width: 44rem; }
.post__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 var(--s-4);
}
.post__byline {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0;
}
.post__byline-author { color: var(--navy); font-weight: 600; }
.post__byline-dot { color: var(--rule-2); }

.post__hero {
  margin: 0 0 var(--s-6);
  background: var(--paper);
  border: 1px solid var(--rule);
}
.post__hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.post__body {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
}

/* prose-post: styles for HTML injected from {{body_html}} */
.prose-post {
  max-width: 44rem;
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--ink);
}
.prose-post > * + * { margin-top: var(--s-4); }
.prose-post p { margin: 0; }
.prose-post h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-top: var(--s-6);
}
.prose-post h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3125rem;
  line-height: 1.3;
  color: var(--navy);
  margin-top: var(--s-5);
}
.prose-post h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: var(--s-5);
}
.prose-post a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  text-decoration: none;
}
.prose-post a:hover { color: var(--gold); }
.prose-post strong { color: var(--ink); font-weight: 600; }
.prose-post em { font-style: italic; }
.prose-post ul, .prose-post ol { padding-left: 1.5rem; }
.prose-post ul { list-style: disc; }
.prose-post ol { list-style: decimal; }
.prose-post li { margin: 0.4rem 0; }
.prose-post li::marker { color: var(--gold); }
.prose-post blockquote {
  border-left: 3px solid var(--gold);
  padding: var(--s-2) var(--s-4);
  margin: var(--s-5) 0;
  font-style: italic;
  color: var(--ink-2);
  background: rgba(184,131,50,0.05);
}
.prose-post blockquote p { margin: 0; }
.prose-post code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 0.1em 0.35em;
  border-radius: 2px;
}
.prose-post pre {
  font-family: var(--mono);
  font-size: 0.9375rem;
  line-height: 1.6;
  background: var(--ink);
  color: #f4f0e0;
  padding: var(--s-4);
  overflow-x: auto;
  border-left: 3px solid var(--gold);
}
.prose-post pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.prose-post hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: var(--s-6) 0;
}
.prose-post img {
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  margin: var(--s-5) 0;
}
.prose-post figure { margin: var(--s-5) 0; }
.prose-post figcaption {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-top: var(--s-2);
  text-align: center;
}

.post__foot {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
}
.post__back {
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: color 200ms var(--ease);
}
.post__back:hover { color: var(--gold); }

/* ─── reduced motion ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
