
/* Layout concept: editorial consulting firm. Dark navy bands (header, hero, outcomes, closing, footer) alternate with warm ivory reading sections.
   Gold is a small accent: rules, eyebrows, the stage path. One bold move: the five-stage staircase in the hero, repeated as the method line. */
:root {
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --bg: #F3F0E8;
  --surface: #FFFFFF;
  --fg: #101820;
  --muted: #4F5A63;
  --rule: #D8D4CB;
  --accent: #A88D5D;
  --accent-text: #7A6232;
  --btn-bg: #101820;
  --btn-fg: #F3F0E8;
  --btn-hover: #222C35;
  --focus: #7A6232;
  --danger: #A3281B;
  --ok: #2F6B3F;

  --band: #101820;
  --band-2: #14212B;
  --band-fg: #F3F0E8;
  --band-muted: #B9BEC2;
  --band-rule: rgba(243, 240, 232, 0.16);
  --band-accent: #C2A872;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121B23; --surface: #1A2530; --fg: #F3F0E8; --muted: #AEB6BC; --rule: #2B3743;
    --accent: #B49A67; --accent-text: #CDB680; --btn-bg: #C2A872; --btn-fg: #101820; --btn-hover: #D3BC88;
    --focus: #CDB680; --danger: #F08A7C; --ok: #7FC596;
    --band: #0A1016; --band-2: #0F1923;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121B23; --surface: #1A2530; --fg: #F3F0E8; --muted: #AEB6BC; --rule: #2B3743;
  --accent: #B49A67; --accent-text: #CDB680; --btn-bg: #C2A872; --btn-fg: #101820; --btn-hover: #D3BC88;
  --focus: #CDB680; --danger: #F08A7C; --ok: #7FC596;
  --band: #0A1016; --band-2: #0F1923;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.65 var(--sans); margin: 0; -webkit-text-size-adjust: 100%; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--band); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(1.95rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; }
p { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--band-accent); color: #101820; padding: 10px 16px; border-radius: 4px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.band :focus-visible, .hdr :focus-visible, .ftr :focus-visible { outline-color: var(--band-accent); }

.wrap { width: 100%; max-width: 1300px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.sec { padding-block: clamp(56px, 9vw, 112px); }
.sec.alt { background: var(--surface); border-block: 1px solid var(--rule); }
.band { background: var(--band); color: var(--band-fg); }
.band .muted { color: var(--band-muted); }
.muted { color: var(--muted); }
.eyebrow { font: 600 0.74rem/1.2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text); display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); flex: none; }
.band .eyebrow { color: var(--band-accent); }
.band .eyebrow::before { background: var(--band-accent); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; max-width: 62ch; }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 780px; }
.prose { max-width: 68ch; display: grid; gap: 16px; }
.prose h3 { margin-top: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 4px; border: 1px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-fg); font: 600 0.95rem/1 var(--sans); letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; text-align: center; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn.ghost:hover { background: var(--fg); color: var(--bg); }
.band .btn, .hdr .btn { background: var(--band-accent); border-color: var(--band-accent); color: #101820; }
.band .btn:hover, .hdr .btn:hover { background: #D6C28F; border-color: #D6C28F; }
.band .btn.ghost { background: transparent; color: var(--band-fg); border-color: rgba(243,240,232,0.5); }
.band .btn.ghost:hover { background: rgba(243,240,232,0.1); border-color: var(--band-fg); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.tlink { color: var(--accent-text); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.tlink:hover { color: var(--fg); }

/* Header */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--band); color: var(--band-fg); border-bottom: 1px solid var(--band-rule); }
.hdr-in { display: flex; align-items: center; gap: 20px; min-height: 68px; position: relative; }
.mark { text-decoration: none; display: flex; align-items: center; gap: 12px; line-height: 1; color: var(--band-fg); flex: none; }
.mark-t { display: grid; gap: 5px; }
.mark-img { width: 44px; height: 44px; border-radius: 6px; background: #fff; object-fit: contain; flex: none; }
.mark-a { font: 600 1.5rem/1 var(--serif); letter-spacing: 0.26em; }
.mark-b { font: 600 0.58rem/1 var(--sans); letter-spacing: 0.36em; color: var(--band-accent); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a.nl, .dd > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 0.9rem; font-weight: 500; text-decoration: none; color: var(--band-muted); border-bottom: 1px solid transparent; }
.nav a.nl:hover, .dd > a:hover { color: var(--band-fg); }
.nav [aria-current="page"] { color: var(--band-fg) !important; border-bottom-color: var(--band-accent); }
.dd { position: relative; display: flex; align-items: center; }
.caret { background: none; border: 0; color: var(--band-muted); width: 32px; min-height: 44px; cursor: pointer; font-size: 0.7rem; margin-left: -8px; }
.caret:hover { color: var(--band-fg); }
.dd-panel { display: none; position: absolute; top: 100%; left: -12px; width: min(740px, 92vw); background: var(--band); border: 1px solid var(--band-rule); padding: 8px; grid-template-columns: 1fr 1fr; gap: 2px; z-index: 25; border-radius: 4px; }
.dd.open .dd-panel { display: grid; }
.dd-panel a { display: grid; gap: 3px; padding: 12px 14px; text-decoration: none; border-radius: 4px; }
.dd-panel a:hover { background: var(--band-2); }
.dd-panel strong { font-weight: 600; font-size: 0.92rem; color: var(--band-fg); }
.dd-panel span { font-size: 0.8rem; line-height: 1.45; color: var(--band-muted); }
.hdr-cta { min-height: 44px; padding: 0 18px; font-size: 0.88rem; white-space: nowrap; }
.cta-short { display: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--band-rule); color: var(--band-fg); width: 44px; height: 44px; border-radius: 4px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; }
  .hdr-cta { margin-left: auto; }
  .nav { display: none; position: absolute; top: 100%; left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); flex-direction: column; align-items: stretch; background: var(--band); border-bottom: 1px solid var(--band-rule); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); max-height: calc(100vh - 80px); overflow-y: auto; margin: 0; }
  .menu-open .nav { display: flex; }
  .nav a.nl, .dd > a { min-height: 48px; border-bottom: 1px solid var(--band-rule); }
  .dd { display: block; }
  .caret { display: none; }
  .dd-panel { display: block; position: static; width: auto; border: 0; padding: 0 0 0 16px; background: none; }
  .dd-panel a { padding: 10px 0; border-bottom: 1px solid var(--band-rule); border-radius: 0; }
  .dd-panel span { display: none; }
  .dd-panel strong { font-weight: 500; color: var(--band-muted); }
  .dd-panel a:hover { background: none; }
}
@media (max-width: 520px) {
  .cta-long { display: none; } .cta-short { display: inline; }
  .mark-a { font-size: 1.3rem; letter-spacing: 0.22em; }
  .hdr-in { gap: 12px; }
}

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 104px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { margin-block: 24px; }
.hero .lead { color: var(--band-muted); margin-bottom: 36px; }
.hero-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--band-rule); font-size: 0.92rem; color: var(--band-muted); max-width: 60ch; }
.stair { width: 100%; height: auto; display: block; }
.stair .grid { stroke: var(--band-rule); stroke-width: 1; }
.stair .path { stroke: var(--band-accent); stroke-width: 1.6; fill: none; }
.stair .drop { stroke: var(--band-rule); stroke-width: 1; stroke-dasharray: 3 5; }
.stair .dot { fill: var(--band-accent); }
.stair text { font: 500 13px var(--sans); fill: var(--band-muted); }
.stair text.cap { font-size: 12px; letter-spacing: 0.04em; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-art { order: 2; max-width: 460px; } }
.page-hero { padding-block: clamp(48px, 7vw, 88px); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin-block: 20px; max-width: 20ch; }
.page-hero .lead { color: var(--band-muted); margin-bottom: 32px; }

/* Cards and grids */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid3, .grid2 { grid-template-columns: minmax(0, 1fr); } }
.card { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 28px; text-decoration: none; min-width: 0; transition: border-color 0.15s, transform 0.15s; }
.sec.alt .card { background: var(--bg); }
a.card:hover { border-color: var(--accent); }
.card .num { font: 600 0.78rem/1 var(--sans); letter-spacing: 0.16em; color: var(--accent-text); }
.card p { color: var(--muted); font-size: 0.97rem; }
.card .need { font-size: 0.88rem; border-top: 1px solid var(--rule); padding-top: 14px; margin-top: auto; }
.card .need strong { color: var(--fg); font-weight: 600; margin-right: 6px; }
.card .more { font-weight: 600; font-size: 0.92rem; color: var(--accent-text); }
.card ul.list { font-size: 0.93rem; color: var(--muted); }
.list { display: grid; gap: 10px; }
.list li { position: relative; padding-left: 22px; min-width: 0; }
.list li::before { content: ""; position: absolute; left: 0; top: 0.82em; width: 11px; height: 1px; background: var(--accent); }
.band .list li::before { background: var(--band-accent); }

.chal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.chal a { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 26px 8px 26px 0; border-bottom: 1px solid var(--rule); text-decoration: none; align-items: start; }
.chal a:nth-child(odd) { padding-right: 32px; }
.chal a:hover .go { color: var(--fg); }
.chal .go { font-weight: 600; font-size: 0.88rem; color: var(--accent-text); display: block; margin-top: 8px; }
.chal .n { font: 600 1.5rem/1 var(--serif); color: var(--accent-text); min-width: 28px; }
@media (min-width: 761px) { .chal a:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--rule); } }
@media (max-width: 760px) { .chal { grid-template-columns: minmax(0, 1fr); } .chal a:nth-child(odd) { padding-right: 0; } }

.outcomes { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.outcomes ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.outcomes li { padding: 20px 0; border-top: 1px solid var(--band-rule); font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; font-weight: 500; }
@media (max-width: 900px) { .outcomes { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .outcomes ul { grid-template-columns: minmax(0, 1fr); } }

/* Stage stepper */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; counter-reset: s; }
.steps li { position: relative; padding: 36px 20px 0 0; min-width: 0; }
.steps li::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 1px; background: var(--rule); }
.steps li::after { content: ""; position: absolute; top: 3px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--accent); }
.sec.alt .steps li::after { background: var(--surface); }
.band .steps li::before { background: var(--band-rule); }
.steps .k { font: 600 0.72rem/1 var(--sans); letter-spacing: 0.18em; color: var(--accent-text); display: block; margin-bottom: 8px; }
.steps h4 { margin-bottom: 8px; }
.steps p { font-size: 0.93rem; color: var(--muted); }
@media (max-width: 860px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { padding: 0 0 28px 40px; }
  .steps li::before { top: 8px; bottom: -8px; left: 6px; right: auto; width: 1px; height: auto; }
  .steps li:last-child::before { display: none; }
  .steps li::after { top: 2px; left: 0; }
}

/* Service page */
.svc { display: grid; grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr); gap: clamp(28px, 6vw, 88px); padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--rule); }
.svc:first-child { border-top: 0; }
.svc > header { display: grid; gap: 12px; align-content: start; position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); align-self: start; }
.svc > header p { color: var(--muted); font-size: 0.97rem; }
.svc-body { display: grid; gap: 14px; min-width: 0; }
.svc-body .sub { font: 600 0.74rem/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); margin-top: 8px; }
@media (max-width: 860px) { .svc { grid-template-columns: minmax(0, 1fr); } .svc > header { position: static; } }
.tag { display: inline-block; font: 600 0.7rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--accent); color: var(--accent-text); padding: 6px 10px; border-radius: 4px; }
.illus { border: 1px dashed var(--accent); border-radius: 4px; padding: 24px; display: grid; gap: 12px; background: var(--surface); }
.sec.alt .illus { background: var(--bg); }
.note { font-size: 0.9rem; color: var(--muted); border-left: 2px solid var(--accent); padding-left: 14px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 760px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

/* Tools */
.tool { background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 20px; min-width: 0; }
.sec.alt .tool { background: var(--bg); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .lbl { font-weight: 600; font-size: 0.9rem; }
.field .hint { font-size: 0.82rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; font: 400 1rem/1.4 var(--sans); color: var(--fg); background: var(--surface); border: 1px solid var(--muted); border-radius: 4px; }
.sec.alt .field input, .sec.alt .field select, .sec.alt .field textarea, .tool .field input, .tool .field select { background: var(--bg); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.field .err { color: var(--danger); font-size: 0.85rem; min-height: 0; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--danger); }
.checks { display: grid; gap: 4px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 0.93rem; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent-text); }
.formgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.formgrid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .formgrid { grid-template-columns: minmax(0, 1fr); } }
.ready-row { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--rule); }
.ready-row:first-of-type { border-top: 0; }
.ready-row p { font-size: 0.88rem; color: var(--muted); }
.ready-row strong { display: block; font-weight: 600; }
@media (max-width: 560px) { .ready-row { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
.out { border-top: 1px solid var(--rule); padding-top: 18px; display: grid; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 0.85rem; font-weight: 500; border: 1px solid var(--rule); padding: 6px 12px; border-radius: 4px; background: var(--surface); }
.chip.no { border-color: var(--danger); } .chip.part { border-color: var(--accent); } .chip.yes { border-color: var(--ok); }
.chip b { font-weight: 600; margin-right: 6px; }
.tablewrap { overflow-x: auto; }
table.lc { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 0.97rem; min-width: 320px; }
table.lc td { padding: 11px 0; border-top: 1px solid var(--rule); }
table.lc td:last-child { text-align: right; white-space: nowrap; }
table.lc tr.sub td { font-weight: 600; }
table.lc tr.tot td { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; border-top: 2px solid var(--fg); }
.lc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); }
@media (max-width: 860px) { .lc-grid { grid-template-columns: minmax(0, 1fr); } }
.inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; }
.inputs .full { grid-column: 1 / -1; }
@media (max-width: 420px) { .inputs { grid-template-columns: minmax(0, 1fr); } }

.panel { border: 1px solid var(--rule); border-radius: 4px; padding: 28px; background: var(--surface); display: grid; gap: 14px; }
.panel.ok { border-color: var(--ok); }
.panel.warn { border-color: var(--accent); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.cm { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--rule); }
.cm span { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.cm a, .cm b { font-weight: 600; overflow-wrap: anywhere; }
.cats { display: flex; flex-wrap: wrap; gap: 10px; }
.cats span { border: 1px solid var(--rule); padding: 8px 14px; border-radius: 4px; font-size: 0.92rem; background: var(--surface); }
.legal h2 { font-size: 1.7rem; margin-top: 36px; }
.legal p, .legal li { max-width: 70ch; }

/* Closing + footer */
.closing { padding-block: clamp(64px, 9vw, 112px); }
.closing-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; border-top: 1px solid var(--band-rule); padding-top: clamp(32px, 5vw, 56px); }
.closing h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 500; margin-bottom: 16px; }
@media (max-width: 760px) { .closing-in { grid-template-columns: minmax(0, 1fr); align-items: start; } }
.ftr { background: var(--band-2); color: var(--band-fg); border-top: 1px solid var(--band-rule); padding-block: 56px 32px; font-size: 0.92rem; }
.ftr-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.ftr h4 { font: 600 0.72rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--band-accent); margin-bottom: 16px; }
.ftr ul { display: grid; gap: 10px; }
.ftr a { text-decoration: none; color: var(--band-muted); }
.ftr a:hover { color: var(--band-fg); }
.ftr p { color: var(--band-muted); max-width: 40ch; }
.ftr-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--band-rule); color: var(--band-muted); font-size: 0.82rem; display: grid; gap: 8px; }
@media (max-width: 900px) { .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ftr-grid { grid-template-columns: minmax(0, 1fr); } }
main:focus { outline: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---- Additions: single-page anchors, footer social + address ---- */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.ftr-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; }
.ftr address { font-style: normal; color: var(--band-muted); line-height: 1.6; margin-bottom: 18px; }
.ftr address strong { display: block; color: var(--band-fg); font-weight: 600; margin-bottom: 4px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--band-rule); border-radius: 50%; color: var(--band-fg); transition: background .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--band-accent); border-color: var(--band-accent); color: #101820; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 900px) { .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ftr-grid { grid-template-columns: minmax(0, 1fr); } }
