/* Blueprint sales consultancy
   Palette: drawing-office navy, brass gold, cool drafting paper, pencil-blue lines.
   Type: Barlow Condensed for headings (bold, engineered), Public Sans for reading. */
:root {
  --navy: #14213d;
  --navy-deep: #0e182e;
  --navy-2: #1c2c50;
  --gold: #c9a13b;
  --gold-soft: #e3c77a;
  --paper: #f3f6fb;
  --paper-2: #e6ecf6;
  --white: #ffffff;
  --ink: #14213d;
  --muted: #47546f;
  --line: #cfd8e8;
  --pencil: #8fa6d1;
  --on-navy: #e4eaf6;
  --on-navy-muted: #aebad3;

  --f-head: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Public Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --radius: 4px;
  --wrap: 1200px;
  --shadow: 0 18px 40px -18px rgba(14, 24, 46, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  color-scheme: light;
  accent-color: var(--gold);
  text-wrap: pretty;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: .005em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--navy); padding: 10px 16px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--f-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: background-color .2s, color .2s, transform .15s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: var(--s5); min-height: 72px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 168px; height: 44px; object-fit: contain; object-position: left center; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: var(--s5); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s5); }
.site-nav ul a { text-decoration: none; font-weight: 500; font-size: .98rem; padding: 8px 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { border-bottom-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: var(--s4); }
.header-phone { font-weight: 600; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.header-phone:hover { text-decoration: underline; }
.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--navy); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px;
    box-shadow: 0 20px 30px -20px rgba(14,24,46,.3);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--line); color: var(--navy); box-shadow: inset 3px 0 0 var(--gold); padding-left: 12px; }
  .header-actions { flex-direction: column; align-items: stretch; padding-top: 16px; }
  .header-phone { padding: 10px 0; }
}

/* Blueprint ground */
.blueprint {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(143,166,209,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,166,209,.16) 1px, transparent 1px),
    linear-gradient(rgba(143,166,209,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,166,209,.07) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  color: var(--on-navy);
}

/* Hero */
.hero { padding: var(--s8) 0 var(--s8); position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: var(--s8); } .hero { padding: 88px 0 96px; } }
.hero-copy { min-width: 0; }
.kicker { display: block; font-family: var(--f-body); font-size: 1.05rem; font-weight: 600; color: var(--gold-soft); letter-spacing: 0; text-transform: none; margin-bottom: var(--s4); line-height: 1.4; }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 5.2rem); font-weight: 800; text-transform: uppercase; color: var(--white); line-height: .96; letter-spacing: .01em; }
.hero .lede { margin-top: var(--s5); font-size: 1.15rem; color: var(--on-navy); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero-actions .btn-line { color: var(--white); }
.hero-note { margin-top: var(--s5); font-size: .95rem; color: var(--on-navy-muted); }
.hero-note a { color: var(--white); font-weight: 600; }

.page-hero { padding: var(--s8) 0; }
.page-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 800; text-transform: uppercase; color: var(--white); line-height: .98; max-width: 16em; }
.page-hero .lede { margin-top: var(--s5); font-size: 1.12rem; max-width: 40em; color: var(--on-navy); }
.crumbs { font-size: .9rem; color: var(--on-navy-muted); margin-bottom: var(--s5); }
.crumbs a { color: var(--on-navy); }

/* Drawing sheet */
.sheet {
  position: relative; margin: 0; min-width: 0;
  border: 1px solid rgba(143,166,209,.5);
  background: rgba(14,24,46,.55);
  padding: var(--s5) var(--s5) var(--s5);
}
.sheet::before, .sheet::after {
  content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--gold);
}
.sheet::before { top: -7px; left: -7px; border-right: 0; border-bottom: 0; }
.sheet::after { bottom: -7px; right: -7px; border-left: 0; border-top: 0; }
.sheet-head { display: flex; justify-content: space-between; gap: var(--s4); font-family: var(--f-head); font-size: 1.05rem; font-weight: 600; color: var(--white); padding-bottom: var(--s3); border-bottom: 1px solid rgba(143,166,209,.4); margin-bottom: var(--s4); }
.sheet-head span:last-child { color: var(--pencil); font-weight: 500; }
.cadence { padding: 0 0 0 44px; position: relative; }
.cadence ol { list-style: none; margin: 0; padding: 0; }
.cadence::before { content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; border-left: 1px solid var(--pencil); }
.cadence-dim {
  position: absolute; left: -2px; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); transform-origin: center;
  background: var(--navy-deep); padding: 0 8px; font-family: var(--f-head); font-size: .95rem; color: var(--gold-soft); white-space: nowrap; margin-left: 16px;
}
.cadence .tick-top, .cadence .tick-bot { position: absolute; left: 8px; width: 13px; border-top: 1px solid var(--pencil); }
.cadence .tick-top { top: 8px; } .cadence .tick-bot { bottom: 8px; }
.cadence li { display: grid; grid-template-columns: 58px 92px 1fr; gap: var(--s3); align-items: baseline; padding: 11px 0; border-bottom: 1px dashed rgba(143,166,209,.28); font-size: .95rem; }
.cadence li:last-of-type { border-bottom: 0; }
.cadence .day { font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.cadence .ch { display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-weight: 600; }
.cadence .ch svg { width: 16px; height: 16px; color: var(--pencil); flex: none; transform: translateY(2px); }
.cadence .what { color: var(--on-navy); min-width: 0; }
.sheet figcaption { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid rgba(143,166,209,.4); font-size: .9rem; color: var(--on-navy-muted); }
@media (max-width: 520px) {
  .sheet { padding: var(--s4); }
  .cadence { padding-left: 36px; }
  .cadence li { grid-template-columns: 52px 1fr; row-gap: 2px; }
  .cadence .what { grid-column: 2; }
}

/* Sections */
.section { padding: var(--s9) 0; }
@media (max-width: 767px) { .section { padding: 72px 0; } }
.section-paper { background: var(--paper); }
.section-head { max-width: 46rem; margin-bottom: var(--s7); }
.section-head p { margin-top: var(--s4); color: var(--muted); font-size: 1.1rem; }
.blueprint .section-head p { color: var(--on-navy); }
.blueprint h2 { color: var(--white); }

/* Services list (home) */
.services-split { display: grid; gap: var(--s7); }
@media (min-width: 960px) { .services-split { grid-template-columns: 4fr 7fr; gap: var(--s8); } .services-split .section-head { position: sticky; top: 110px; align-self: start; margin-bottom: 0; } }
.services-split .section-head { margin-bottom: 0; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.svc { display: grid; gap: var(--s4); padding: var(--s6) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .svc { grid-template-columns: 64px 1fr; gap: var(--s5); } }
.svc-icon { width: 56px; height: 56px; border: 1.5px solid var(--navy); display: grid; place-items: center; color: var(--navy); position: relative; }
.svc-icon::after { content: ""; position: absolute; right: -5px; bottom: -5px; width: 10px; height: 10px; background: var(--gold); }
.svc-icon svg { width: 28px; height: 28px; }
.svc h3 { font-size: 1.9rem; }
.svc h3 a { text-decoration: none; }
.svc h3 a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.svc p { margin-top: var(--s3); color: var(--muted); }
.svc-gets { list-style: none; margin: var(--s4) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.svc-gets li { font-size: .88rem; font-weight: 500; padding: 4px 10px; border: 1px solid var(--line); background: var(--paper); border-radius: 2px; }
.text-link { display: inline-block; margin-top: var(--s4); font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.text-link:hover { text-decoration-color: var(--navy); }

/* Photo split */
.split { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s8); } .split.flip > :first-child { order: 2; } }
.split > * { min-width: 0; }
.photo-frame { position: relative; }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.photo-frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.photo-frame { z-index: 0; isolation: isolate; }
@media (max-width: 600px) { .photo-frame::before { inset: 12px -10px -12px 10px; } }
.prose p + p { margin-top: var(--s4); }
.prose h2 + p { margin-top: var(--s5); }
.prose p { color: var(--muted); }
.prose .big { font-size: 1.2rem; color: var(--ink); }
.ticks { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: var(--s3); }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 10px; border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg); transform-origin: 40% 60%; }

/* Gantt schedule */
.gantt { border: 1px solid rgba(143,166,209,.45); background: rgba(14,24,46,.45); }
.g-row { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid rgba(143,166,209,.28); }
.g-row:last-child { border-bottom: 0; }
@media (min-width: 860px) { .g-row { grid-template-columns: 300px 1fr; } }
.g-label { padding: var(--s5); min-width: 0; }
@media (min-width: 860px) { .g-label { border-right: 1px solid rgba(143,166,209,.28); } }
.g-label h3 { color: var(--white); font-size: 1.6rem; }
.g-label .wk { display: block; font-family: var(--f-head); color: var(--gold); font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.g-label p { color: var(--on-navy); font-size: .95rem; margin-top: var(--s2); }
.g-track { display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; padding: 0 var(--s4) var(--s5); position: relative;
  background-image: linear-gradient(90deg, rgba(143,166,209,.18) 1px, transparent 1px); background-size: calc(100% / 12) 100%; background-origin: content-box; }
@media (min-width: 860px) { .g-track { padding: var(--s5) var(--s4); } }
.g-bar { grid-column: var(--s) / var(--e); height: 22px; background: var(--gold); border-radius: 2px; position: relative; grid-row: 1; }
.g-bar.ghost { background: transparent; border: 1.5px dashed var(--gold-soft); }
.g-scale { display: none; }
@media (min-width: 860px) {
  .g-scale { display: grid; grid-template-columns: 300px 1fr; border-bottom: 1px solid rgba(143,166,209,.45); }
  .g-scale ol { list-style: none; margin: 0; padding: 10px var(--s4); display: grid; grid-template-columns: repeat(12, 1fr); font-family: var(--f-head); font-size: .95rem; color: var(--pencil); font-variant-numeric: tabular-nums; }
  .g-scale span { padding: 10px var(--s5); font-family: var(--f-head); color: var(--pencil); border-right: 1px solid rgba(143,166,209,.28); }
}

/* Playbook document mock */
.doc-wrap { display: grid; gap: var(--s7); align-items: start; }
@media (min-width: 960px) { .doc-wrap { grid-template-columns: 5fr 6fr; gap: var(--s8); } }
.doc-wrap > * { min-width: 0; }
.doc { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); padding: var(--s6) var(--s6) var(--s5); position: relative; }
@media (max-width: 520px) { .doc { padding: var(--s5) var(--s4); } }
.doc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--navy); }
.doc-title { font-family: var(--f-head); font-size: 2rem; font-weight: 800; text-transform: uppercase; line-height: 1; }
.doc-meta { margin-top: var(--s2); color: var(--muted); font-size: .9rem; }
.doc ol { list-style: none; margin: var(--s5) 0 0; padding: 0; counter-reset: sec; }
.doc li { counter-increment: sec; display: flex; align-items: baseline; gap: var(--s2); padding: 9px 0; border-bottom: 1px solid var(--paper-2); font-size: .97rem; }
.doc li::before { content: counter(sec); font-family: var(--f-head); font-weight: 700; color: var(--gold); width: 1.6em; flex: none; font-variant-numeric: tabular-nums; }
.doc li .t { min-width: 0; }
.doc li .lead { flex: 1; border-bottom: 1.5px dotted var(--line); transform: translateY(-4px); min-width: 16px; }
.doc li .pg { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .9rem; }

/* FAQ */
.faq { border-top: 2px solid var(--navy); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: var(--s5) 44px var(--s5) 0; position: relative; font-family: var(--f-head); font-size: 1.45rem; font-weight: 700; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 0 var(--s5); color: var(--muted); max-width: 70ch; }
.faq .answer p + p { margin-top: var(--s3); }

/* CTA band */
.cta-band { padding: var(--s8) 0; }
.cta-inner { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.4fr auto; gap: var(--s7); } }
.cta-band h2 { color: var(--white); font-size: clamp(2.1rem, 4.4vw, 3.4rem); text-transform: uppercase; font-weight: 800; }
.cta-band p { margin-top: var(--s3); color: var(--on-navy); font-size: 1.1rem; max-width: 40em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.cta-actions .btn-line { color: var(--white); }

/* Service page parts */
.signs { display: grid; gap: 0; border-top: 2px solid var(--navy); }
@media (min-width: 800px) { .signs { grid-template-columns: 1fr 1fr; column-gap: var(--s7); } }
.signs p { padding: var(--s4) 0 var(--s4) 32px; border-bottom: 1px solid var(--line); position: relative; }
.signs p::before { content: ""; position: absolute; left: 0; top: 1.45em; width: 16px; border-top: 2px solid var(--gold); }
.deliver { display: grid; gap: var(--s5); }
@media (min-width: 760px) { .deliver { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .deliver.three { grid-template-columns: repeat(3, 1fr); } }
.deliver article { background: var(--white); border: 1px solid var(--line); padding: var(--s5); min-width: 0; }
.deliver h3 { font-size: 1.45rem; }
.deliver p { margin-top: var(--s2); color: var(--muted); font-size: .97rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: st; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 56px 1fr; gap: var(--s4); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(st); font-family: var(--f-head); font-size: 2.2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.steps h3 { font-size: 1.45rem; }
.steps p { color: var(--muted); margin-top: var(--s2); }
.steps .wk { font-size: .9rem; color: var(--navy); font-weight: 600; margin-top: 2px; }
.other-svcs { display: grid; gap: var(--s4); }
@media (min-width: 760px) { .other-svcs { grid-template-columns: 1fr 1fr; } }
.other-svcs a { display: block; padding: var(--s5); border: 1.5px solid var(--navy); text-decoration: none; transition: background-color .2s; }
.other-svcs a:hover { background: var(--paper); }
.other-svcs strong { display: block; font-family: var(--f-head); font-size: 1.6rem; }
.other-svcs span { color: var(--muted); font-size: .97rem; }

/* Pull quote / principle panel */
.principles { display: grid; gap: var(--s5); }
@media (min-width: 860px) { .principles { grid-template-columns: repeat(3, 1fr); gap: var(--s6); } }
.principles div { border-top: 3px solid var(--gold); padding-top: var(--s4); }
.principles h3 { color: var(--white); font-size: 1.7rem; }
.principles p { margin-top: var(--s3); color: var(--on-navy); }

/* Contact */
.contact-grid { display: grid; gap: var(--s7); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 7fr 5fr; gap: var(--s8); } }
.contact-grid > * { min-width: 0; }
.contact-grid { align-items: start; }
.field { align-content: start; }
.form { align-content: start; display: grid; gap: var(--s4); background: var(--white); border: 1px solid var(--line); padding: var(--s6); box-shadow: var(--shadow); }
@media (max-width: 520px) { .form { padding: var(--s5) var(--s4); } }
.form .row { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .95rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 3px rgba(201,161,59,.45); }
.form button { justify-self: start; }
.form[data-site-form-state="sending"] button { opacity: .6; pointer-events: none; }
[data-site-form-status] { font-weight: 600; min-height: 1.2em; }
.form[data-site-form-state="sent"] [data-site-form-status] { color: #1d6b3a; }
.form[data-site-form-state="error"] [data-site-form-status] { color: #a12a2a; }
.form-note { font-size: .88rem; color: var(--muted); }
.contact-card { background: var(--navy); color: var(--on-navy); padding: var(--s6); }
.contact-card h2 { color: var(--white); font-size: 2rem; }
.contact-card dl { margin: var(--s5) 0 0; display: grid; gap: var(--s4); }
.contact-card dt { font-size: .85rem; color: var(--on-navy-muted); }
.contact-card dd { margin: 2px 0 0; font-weight: 600; color: var(--white); overflow-wrap: anywhere; }
.contact-card dd a { color: var(--white); }
.next-steps { margin-top: var(--s6); }
.next-steps h3 { font-size: 1.5rem; }

/* Legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.8rem; margin-top: var(--s7); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal ul { margin-top: var(--s3); color: #2c3856; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal .updated { margin-top: var(--s7); font-size: .88rem; color: var(--muted); }
.ph { background: #fff3cf; padding: 0 4px; border-radius: 2px; }

/* 404 */
.nf { padding: 120px 0; }
.nf .code { font-family: var(--f-head); font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; color: var(--gold); line-height: .9; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); padding: var(--s8) 0 var(--s6); font-size: .95rem; }
@media (max-width: 767px) { .site-footer { padding-bottom: 120px; } }
.foot-grid { display: grid; gap: var(--s6); }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.3fr 2fr; gap: var(--s8); } }
.foot-grid > * { min-width: 0; }
.foot-links { display: grid; gap: var(--s6); }
@media (min-width: 560px) { .foot-links { grid-template-columns: repeat(3, 1fr); } }
.foot-about { margin-top: var(--s3); max-width: 30em; }
.foot-name { font-family: var(--f-head); font-size: 1.5rem; font-weight: 700; color: var(--white); line-height: 1.15; overflow-wrap: anywhere; }
.site-footer h2 { font-family: var(--f-head); font-size: 1.15rem; color: var(--white); margin-bottom: var(--s3); font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.foot-contact { display: grid; gap: 6px; margin-top: var(--s3); }
.foot-contact a { overflow-wrap: anywhere; }
.foot-bottom { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid rgba(143,166,209,.25); display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6); justify-content: space-between; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; }
  .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .hero-copy > *:nth-child(4) { animation-delay: .18s; }
  .hero .sheet { animation: rise .7s .15s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
