/* Darzi and Sons: bottle green, brass and chalk with a faint pinstripe. Bodoni Moda for headings, Manrope for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #0F2A24;
  --surface: #13332C;
  --soft: #16382F;
  --ink: #EDEAE2;
  --muted: #B9C2BB;
  --line: #2A4A41;
  --line-strong: #43665B;
  --brand: #B08D57;
  --brand-hover: #C6A26A;
  --brand-ink: #0A1C18;
  --brand-text: #D1AE76;
  --eyebrow: #D1AE76;
  --input-bg: #0F2A24;
  --menu-bg: #0F2A24;
  --badge-bg: #B08D57;
  --badge-ink: #0A1C18;
  --out-bg: #EDEAE2;
  --out-ink: #0A1C18;
  --out-accent: #0F2A24;
  --out-btn: #0F2A24;
  --out-btn-ink: #EDEAE2;
  --head: "Bodoni Moda", Didot, Georgia, serif;
  --body: "Manrope", system-ui, sans-serif;
  --radius: 0;
  --radius-lg: 0;
  --btn-radius: 0;
  --wrap: 1180px;
  color-scheme: dark;
}
body { background-image: repeating-linear-gradient(90deg, rgba(237,234,226,.025) 0 1px, transparent 1px 22px); }
h1, h2, h3 { font-weight: 500; }
.btn { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .84rem; }
.btn-ghost { border-color: var(--brand); }

.header { background: #0A1C18; border-bottom: 1px solid var(--brand); }
.header > .wrap { min-height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 44px; height: 44px; flex: none; }
.logo span { display: grid; line-height: 1.1; }
.logo b { font: italic 500 1.5rem var(--head); }
.logo small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav a { font-size: .9rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand-text); box-shadow: inset 0 -2px 0 var(--brand); }
.nav-toggle { border-color: var(--line-strong); color: var(--ink); }

/* hero: a tape-measure edge on the left, a chalkboard on the right */
.hero { position: relative; padding-block: clamp(40px, 7vw, 96px); }
.hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: #E2C46F repeating-linear-gradient(180deg, #0A1C18 0 2px, transparent 2px 12px); opacity: .85; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero::before { width: 8px; } }
.hero h1 { font-size: clamp(2.8rem, 7.4vw, 5.8rem); line-height: .98; margin: 16px 0 20px; }
.hero h1 span { display: block; font-style: italic; color: var(--brand-text); }
.hero .t-actions { margin-top: 28px; }
.board { margin: 0; padding: 16px; background: #1B1F1D; border: 10px solid #6B4E2E; box-shadow: inset 0 0 40px rgba(0,0,0,.6); }
.board svg { width: 100%; height: auto; }
.board figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 10px; border-top: 1px dashed rgba(237,234,226,.4); color: #E9E6DC; font-size: .9rem; font-family: "Bodoni Moda", serif; font-style: italic; }
.board b { font-style: normal; color: #E2C46F; }

.ledger-band { background: #EDEAE2; color: #0A1C18; --muted: #4C5A55; --line: #CFC9B9; }
.ledger-band .eyebrow { color: #7A5A2A; }
.ledger-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .ledger-grid { grid-template-columns: minmax(0, 1fr); } }
.ledger { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ledger th, .ledger td { padding: 14px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.ledger th { font: 500 1.25rem var(--head); }
.ledger th a { text-decoration: none; }
.ledger th a:hover { text-decoration: underline; }
.ledger td { color: var(--muted); font-size: .92rem; }
.ledger td:last-child { text-align: right; font-weight: 700; color: #0A1C18; font-size: 1.05rem; }
@media (max-width: 480px) { .ledger td:nth-child(2) { display: none; } .ledger th { font-size: 1.05rem; } }

.c-card { background: var(--surface); border: 1px solid var(--line); }
.c-body h3 { font: 500 1.5rem var(--head); }
.c-filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.fit-band { border-block: 1px solid var(--line); background: #0A1C18; }
.fit-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-left: 1px solid var(--line); }
@media (max-width: 820px) { .fit-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .fit-steps { grid-template-columns: 1fr; } }
.fit-steps li { display: grid; gap: 8px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fit-steps span { font: italic 500 2.6rem var(--head); color: var(--brand-text); }
.fit-steps b { font-size: 1.1rem; }
.fit-steps p { color: var(--muted); }
.quotes li { background: transparent; border: 1px solid var(--line); }
.quotes blockquote { font: italic 500 1.2rem/1.5 var(--head); }

.page-head { border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-style: italic; }
.numbers-band { background: #0A1C18; }
.card, .cd-side, .adm-steps li, .done { background: var(--surface); border-color: var(--line); }
.tool-out .preview { background: #16382F; margin-bottom: 4px; }

.cta-band { padding-block: clamp(48px, 7vw, 88px); background: var(--brand); color: #0A1C18; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-style: italic; }
.cta-band p { margin-top: 6px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: #0A1C18; color: #EDEAE2; }
.cta-band .btn-ghost { border-color: #0A1C18; color: #0A1C18; }
.footer { background: #0A1C18; color: var(--muted); --footer-line: var(--line); }
.footer h2 { color: var(--brand-text); }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: var(--brand-text); }
