/* Shmor site kit: default theme. Replace freely; each site has its own design.
   Change the variables first; class names are what tools/build.js outputs. */
:root {
  color-scheme: dark;
  --accent: #7644B0;
  --accent-2: #2FAF82;
  --bg: #0A0C0E;
  --surface: #121518;
  --surface-2: #191D21;
  --line: #23282C;
  --ink: #F3F4F5;
  --ink-2: #B4BABE;
  --ink-3: #868D92;
  --radius: 18px;
  --display: "Outfit", system-ui, sans-serif;
  --font: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 99; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.brand { font: 700 24px var(--display); text-decoration: none; letter-spacing: -.03em; }
.nav { display: flex; gap: 24px; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.menu { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
@media (max-width: 860px) {
  .menu { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* Hero */
.hero { padding: 72px 0 64px; position: relative; overflow: hidden; }
.hero-home { padding: 96px 0 88px; }
.eyebrow { font: 600 13px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 14px; }
.hero h1 { font-size: clamp(36px, 6vw, 68px); letter-spacing: -.04em; max-width: 900px; }
.hero-page h1 { font-size: clamp(32px, 4.6vw, 52px); }
.lede { color: var(--ink-2); font-size: 19px; max-width: 720px; margin: 18px 0 0; }
.search { display: flex; align-items: center; gap: 10px; max-width: 700px; margin-top: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; }
.search svg { color: var(--ink-3); flex: 0 0 auto; }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--ink); font: inherit; font-size: 16px; padding: 10px 0; }
.search button { font: 600 15px var(--display); background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 12px 24px; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips a { text-decoration: none; font-size: 14px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.chips a:hover { color: var(--ink); border-color: var(--accent); }

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; margin: 0; font-size: 14px; color: var(--ink-3); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ink); }

/* Sections */
section h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 24px; }
.highlights, .partners, .faq, .related, .cta-band { padding: 56px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.tile, .card, .offer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tile-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 18%, transparent); font-size: 22px; margin-bottom: 14px; }
.tile h3, .card h3, .offer h3 { font-size: 19px; margin-bottom: 6px; }
.tile p, .card p { color: var(--ink-2); margin: 0; font-size: 15px; }
.card, .offer { text-decoration: none; display: flex; flex-direction: column; gap: 6px; transition: transform .2s, border-color .2s; }
.card:hover, .offer:hover { transform: translateY(-3px); border-color: var(--accent); }
.cta { margin-top: auto; padding-top: 10px; font: 600 15px var(--display); color: var(--accent-2); }
.merchant { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.badge { align-self: flex-start; font-size: 12px; font-weight: 600; background: var(--accent-2); color: #04150F; padding: 3px 10px; border-radius: 999px; }
.offer small { color: var(--ink-3); }
.aff-note { color: var(--ink-3); font-size: 13px; margin-top: 16px; }

/* Article */
.content { padding: 40px 0 24px; }
.content-grid { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.content-grid:not(:has(.toc)) { grid-template-columns: 1fr; }
.toc { position: sticky; top: 96px; font-size: 14px; border-left: 2px solid var(--line); padding-left: 16px; }
.toc p { font: 600 13px var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc a { text-decoration: none; color: var(--ink-2); } .toc a:hover { color: var(--ink); }
.prose { max-width: 760px; color: var(--ink-2); font-size: 17px; }
.prose h2 { color: var(--ink); font-size: 28px; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--ink); font-size: 20px; margin: 24px 0 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent-2); }
.prose li { margin-bottom: 6px; }
.updated { font-size: 14px; color: var(--ink-3); margin-top: 32px; }
@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; } .toc { position: static; } }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 20px; font: 600 17px var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-2); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 20px 18px; color: var(--ink-2); }

/* CTA band */
.cta-band .wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 40px; text-align: center; }
.cta-band .search { margin: 0 auto; }
.empty { color: var(--ink-2); grid-column: 1 / -1; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; color: var(--ink-3); font-size: 14px; margin-top: 40px; }
.foot-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.foot-cols h4 { color: var(--ink); font-size: 15px; margin-bottom: 12px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-cols a { text-decoration: none; } .foot-cols a:hover { color: var(--ink); }
.disclosure { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; font-size: 13px; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr 1fr; } }

/* Photos (a page's "image"): full-bleed hero photo with a dark overlay, photo on top of cards */
.hero.has-img { isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.3) 60%, rgba(0,0,0,.5)); }
.hero.has-img h1, .hero.has-img .lede, .hero.has-img .eyebrow { color: #fff; }
.photo-credit { position: absolute; right: 14px; bottom: 8px; margin: 0; font-size: 11px; color: rgba(255,255,255,.75); z-index: 1; }
.photo-credit a { color: inherit; }
.card-img { display: block; width: calc(100% + 44px); max-width: none; height: auto; aspect-ratio: 5 / 3; object-fit: cover; margin: -22px -22px 12px; }

/* Blog: post meta, byline, sources */
.post-meta { font-size: 13px; color: var(--ink-3); }
.post-byline { font-size: 14px; color: var(--ink-3); margin: 14px 0 0; }
.hero.has-img .post-byline { color: rgba(255,255,255,.85); }
.sources { padding: 8px 0 40px; }
.sources h2 { font-size: 20px; margin-bottom: 10px; }
.sources ul { margin: 0; padding-left: 20px; color: var(--ink-2); }
.sources a { color: var(--accent-2); }
.more-link { margin: 18px 0 0; font-weight: 600; } .more-link a { color: var(--accent-2); }

/* Blocks (page "blocks": strip, deals, tiles, steps, links) */
.blocks { padding: 48px 0; }
.block-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 22px; }
.block-head h2 { margin: 0; flex: 1 1 auto; }
.block-head p { flex: 1 1 100%; order: 3; margin: 0; color: var(--ink-2); max-width: 720px; }
.block-more { font-weight: 600; color: var(--accent); text-decoration: none; white-space: nowrap; }
.ico { flex: 0 0 auto; }
.blocks-strip { padding: 18px 0; border-bottom: 1px solid var(--line); }
.strip-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 24px; }
.strip-list li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--ink-2); }
.strip-list .ico { color: var(--accent); }
.strip-list strong { color: var(--ink); }
.deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.deal { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: inherit; transition: transform .2s, border-color .2s; }
.deal:hover { transform: translateY(-2px); border-color: var(--accent); }
.deal-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.deal-top .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--surface-2); color: var(--accent); }
.deal-badge { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: #fff; }
.deal h3 { font-size: 18px; margin: 0; }
.deal p { margin: 0; color: var(--ink-2); font-size: 14.5px; flex: 1; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.tile-photo { position: relative; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; isolation: isolate; background: var(--surface-2); }
.tile-photo .card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; transition: transform .4s; z-index: -2; }
.tile-photo:hover .card-img { transform: scale(1.05); }
.tile-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.75) 100%); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; }
.tile-body h3 { font-size: 20px; margin: 0; }
.tile-body p { margin: 4px 0 0; font-size: 13.5px; opacity: .9; }
.tile-badge { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); margin-bottom: 8px; }
.tile-feature { grid-column: span 2; grid-row: span 2; }
.tile-feature .tile-body h3 { font-size: 28px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 520px) { .tiles { grid-auto-rows: 150px; gap: 10px; } .tile-feature { grid-row: span 1; } .tile-feature .tile-body h3 { font-size: 22px; } .tile-body { padding: 12px; } .tile-body h3 { font-size: 17px; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: step; }
.steps li { position: relative; padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 18px; right: 18px; font: 700 34px var(--display); color: var(--line); }
.steps .ico { color: var(--accent); margin-bottom: 10px; }
.steps h3 { font-size: 18px; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.pill-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14.5px; background: var(--surface); }
.pill .ico { width: 16px; height: 16px; color: var(--accent); }
.pill:hover { border-color: var(--accent); color: var(--accent); }

/* Bylines (seo.bylines) and people profiles ("people" block) */
.byline { border-bottom: 1px solid var(--line); background: var(--surface); }
.byline .wrap { display: flex; align-items: center; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
.byline .ico { width: 18px; height: 18px; color: var(--accent); }
.byline p { margin: 0; font-size: 14px; color: var(--ink-2); }
.byline a { color: var(--accent-2); }
.people { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; scroll-margin-top: 100px; }
.person-img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; }
.person h3 { font-size: 19px; margin: 0 0 4px; }
.person p { margin: 6px 0 0; font-size: 14.5px; color: var(--ink-2); }
.person-role { font-weight: 600; color: var(--ink) !important; }
.person a { color: var(--accent-2); }

/* Spec cards ("specs" block) with optional filter tabs, and meters ("meters" block) */
.spec-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.spec-tabs[hidden] { display: none; }
.spec-tabs button { font: 600 14px var(--display); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.spec-tabs button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.spec { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.spec[hidden] { display: none; }
.spec-head { display: flex; align-items: center; gap: 12px; }
.spec-chip { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--surface-2); font: 700 15px var(--display); color: var(--accent); }
.spec-id { flex: 1; min-width: 0; }
.spec-kind { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.spec h3 { font-size: 19px; margin: 0; }
.spec-badge { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: #fff; }
.spec-text { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.spec-list { margin: 0; display: grid; gap: 6px; font-size: 14px; }
.spec-list div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 6px; }
.spec-list dt { color: var(--ink-3); }
.spec-list dd { margin: 0; text-align: right; font-weight: 600; }
.spec-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 14px; font-weight: 600; }
.spec-foot a { text-decoration: none; color: var(--accent-2); }
.meters { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.meter { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: inherit; }
.meter-head { display: flex; align-items: center; gap: 10px; }
.meter-head h3 { font-size: 18px; margin: 0; flex: 1; }
.meter-val { font-size: 13px; font-weight: 700; color: var(--accent); }
.meter-track { display: block; height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.meter-track span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.meter p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.meter-badge { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--ink-3); }

/* Menu folds into the menu button when it doesn't fit (set by site.js) */
.nav-compact .menu { display: block; }
.nav-compact .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; box-shadow: 0 12px 30px rgba(0,0,0,.18); z-index: 60; }
.nav-compact .nav.open { display: flex; }
.nav-compact .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }

/* Let article columns shrink so wide tables scroll inside their box instead of widening the page */
.content-grid > * { min-width: 0; }


/* =====================================================================
   BuildLaw theme: "blueprint"
   Modern UK professional: midnight-navy bands with a faint blueprint
   grid, hi-vis amber accents, Sora headings, Inter body, Instrument
   Serif italics for emphasis and IBM Plex Mono for technical labels.
   Logo = a tower crane lifting a § block. Footer topped with a ruler.
   ===================================================================== */
:root {
  color-scheme: light;
  --navy: #0A1A33;
  --navy-2: #12305C;
  --navy-3: #071226;
  --amber: #F5A524;         /* hi-vis accent on dark, buttons, icons */
  --amber-ink: #A65F00;     /* amber text on light backgrounds (AA) */
  --amber-soft: #FFF4DF;
  --sky: #5FA8FF;           /* blueprint lines */
  --accent: #1F56B3;        /* links */
  --accent-2: var(--accent);
  --accent-soft: rgba(31,86,179,.07);
  --bg: #F6F8FB;
  --surface: #FFFFFF;
  --surface-2: #EEF2F8;
  --line: #DDE4EE;
  --ink: #0A1A33;
  --ink-2: #3D4B63;
  --ink-3: #66738A;
  --radius: 14px;
  --display: "Sora", system-ui, sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --shadow: 0 1px 2px rgba(10,26,51,.06), 0 14px 34px rgba(10,26,51,.10);
  --grid: linear-gradient(rgba(95,168,255,.07) 1px, transparent 1px) 0 0 / 32px 32px,
          linear-gradient(90deg, rgba(95,168,255,.07) 1px, transparent 1px) 0 0 / 32px 32px,
          linear-gradient(rgba(95,168,255,.1) 1px, transparent 1px) 0 0 / 160px 160px,
          linear-gradient(90deg, rgba(95,168,255,.1) 1px, transparent 1px) 0 0 / 160px 160px;
}
body { background: var(--bg); color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; }
h4 { font-family: var(--display); font-weight: 700; }
.skip:focus { background: var(--navy); color: #fff; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Top utility bar */
.topbar { background: var(--navy-3); color: rgba(255,255,255,.75); font: 500 12px var(--mono); letter-spacing: .04em; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(245,165,36,.25); flex: 0 0 auto; }
.topbar-note { color: rgba(255,255,255,.55); white-space: nowrap; }
@media (max-width: 760px) { .topbar .topbar-note { display: none; } .topbar { font-size: 11px; } }

/* Header + logo */
.site-header { background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); box-shadow: 0 6px 24px rgba(10,26,51,.05); }
.bar { height: 74px; }
.brand-wrap { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.bl-mark { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 10px; }
.bl-word { display: block; line-height: 1; }
.bl-name { display: block; font: 800 25px/1 var(--display); letter-spacing: -.045em; color: var(--navy); }
.bl-name em { font: italic 400 31px/.8 var(--serif); letter-spacing: -.01em; color: #DB8A06; margin-left: 1px; }
.bl-word small { display: block; white-space: nowrap; font: 500 9.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.by { font: 500 10.5px var(--mono); letter-spacing: .06em; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; white-space: nowrap; text-decoration: none; }
.by:hover { color: var(--navy); border-color: var(--amber); }
@media (max-width: 1400px) { .by { display: none; } }
.nav { gap: 2px; margin-left: auto; }
.nav a { color: var(--ink-2); font-size: 14px; font-weight: 600; padding: 7px 9px; border-radius: 999px; transition: background .15s, color .15s; }
.nav a:hover { color: var(--navy); background: var(--surface-2); }
.menu span { background: var(--navy); }
.head-cta { display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; padding: 11px 18px; border-radius: 999px; background: var(--amber); color: var(--navy-3); font: 700 14px var(--display); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 16px rgba(245,165,36,.35); transition: transform .15s, box-shadow .15s; }
.head-cta svg { width: 16px; height: 16px; transition: transform .15s; }
.head-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(245,165,36,.45); }
.head-cta:hover svg { transform: translateX(2px); }
@media (max-width: 1100px) { .head-cta { display: none; } }
@media (min-width: 1101px) { .nav a[href="/services/"] { display: none; } }
@media (max-width: 440px) { .bl-word small { display: none; } .bl-name { font-size: 23px; } .bl-name em { font-size: 28px; } }

/* Heroes: navy blueprint */
.eyebrow { font: 500 12.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber-ink); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: "§"; font: 400 20px/1 var(--serif); color: var(--amber); letter-spacing: 0; }
.hero { background: var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grid); pointer-events: none; }
.hero:not(.has-img) { isolation: isolate; }
.hero h1 { color: #fff; font-weight: 700; letter-spacing: -.035em; }
.hero h1 .hl { font: italic 400 1.12em/1 var(--serif); letter-spacing: -.01em; color: var(--amber); }
.hero .eyebrow { color: var(--amber); }
.lede, .hero .lede { color: rgba(255,255,255,.82); font-size: 18.5px; }
.hero .lede a { color: #fff; }
.hero.has-img .eyebrow { color: var(--amber); }
.hero-home h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.06; }
.hero-page h1 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.14; max-width: 820px; }
.hero-page { padding: 60px 0 52px; }
.hero-page.has-img::after { background: linear-gradient(90deg, var(--navy) 0%, rgba(10,26,51,.94) 42%, rgba(10,26,51,.55) 100%); }
.hero-page .hero-img { left: 40%; width: 60%; z-index: -2; }
.hero .post-byline { color: rgba(255,255,255,.75); }
.hero-art { display: none; }
.juris { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 0; font: 500 12.5px var(--mono); color: rgba(255,255,255,.65); }
.juris span { font: 600 12px var(--font); color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 4px 11px; }

/* Home hero: framed photo on the right with amber survey brackets */
.hero-home.has-img { padding: 84px 0 92px; }
.hero-home.has-img::after { background: radial-gradient(55% 70% at 12% 25%, rgba(245,165,36,.13), transparent 60%), linear-gradient(180deg, transparent 70%, rgba(7,18,38,.5)); }
.hero-badge { display: none; }
@media (min-width: 1000px) {
  .hero-home .wrap { padding-right: calc(min(38vw, 470px) + 64px); }
  .hero-home .hero-img { inset: auto; top: 64px; right: max(20px, calc(50% - 560px)); width: min(38vw, 470px); height: calc(100% - 128px); border-radius: 22px; z-index: 0; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
  .hero-home .hero-art { display: block; position: absolute; z-index: 1; pointer-events: none; top: 50px; bottom: 50px; right: calc(max(20px, calc(50% - 560px)) - 14px); width: calc(min(38vw, 470px) + 28px);
    background:
      linear-gradient(var(--amber), var(--amber)) top left / 30px 3px no-repeat, linear-gradient(var(--amber), var(--amber)) top left / 3px 30px no-repeat,
      linear-gradient(var(--amber), var(--amber)) top right / 30px 3px no-repeat, linear-gradient(var(--amber), var(--amber)) top right / 3px 30px no-repeat,
      linear-gradient(var(--amber), var(--amber)) bottom left / 30px 3px no-repeat, linear-gradient(var(--amber), var(--amber)) bottom left / 3px 30px no-repeat,
      linear-gradient(var(--amber), var(--amber)) bottom right / 30px 3px no-repeat, linear-gradient(var(--amber), var(--amber)) bottom right / 3px 30px no-repeat; }
  .hero-badge { display: flex; flex-direction: column; gap: 2px; position: absolute; z-index: 2; bottom: 88px; left: calc(100% - max(20px, calc(50% - 560px)) - min(38vw, 470px) + 22px); background: #fff; color: var(--navy); border-radius: 14px; padding: 14px 18px; box-shadow: 0 18px 40px rgba(0,0,0,.35); min-width: 200px; }
  .hero-badge .hb-k { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); }
  .hero-badge strong { font: 800 26px/1.1 var(--display); letter-spacing: -.03em; }
  .hero-badge span:last-child { font-size: 13px; color: var(--ink-3); }
  .hero-home .photo-credit { right: max(24px, calc(50% - 552px)); bottom: 70px; }
}
@media (max-width: 999px) {
  .hero-home.has-img::after, .hero-page.has-img::after { background: rgba(10,26,51,.9); }
  .hero-page .hero-img { left: 0; width: 100%; }
}
@media (max-width: 640px) {
  .hero-home.has-img { padding: 52px 0 56px; }
  .hero-page { padding: 42px 0 38px; }
  .lede, .hero .lede { font-size: 17px; }
}

/* Search */
.search { max-width: 640px; background: #fff; border: 1px solid #fff; border-radius: 999px; padding: 6px 6px 6px 20px; box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.search svg { color: var(--amber-ink); }
.search input { color: var(--ink); font-size: 16px; padding: 12px 0; }
.search input::placeholder { color: #7B8699; }
.search button { font: 700 15px var(--display); background: var(--amber); color: var(--navy-3); border-radius: 999px; padding: 13px 26px; }
.search button:hover { background: #FFB43F; }
.cta-band .search { border-color: #fff; }
.chips { gap: 8px; margin-top: 18px; }
.chips a { color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); font-weight: 600; font-size: 13.5px; border-radius: 999px; padding: 6px 14px; }
.chips a:hover { color: var(--navy-3); background: var(--amber); border-color: var(--amber); }
@media (max-width: 520px) { .search { padding: 5px 5px 5px 14px; } .search button { padding: 12px 16px; } }

/* Breadcrumbs */
.page .crumbs { background: var(--surface); box-shadow: 0 0 0 100vmax var(--surface); clip-path: inset(0 -100vmax); border-bottom: 1px solid var(--line); }
.crumbs ol { padding: 12px 0; color: var(--ink-3); font: 500 12.5px var(--mono); }
.crumbs a { color: var(--accent); } .crumbs a:hover { text-decoration: underline; }

/* Sections */
section h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 22px; }
.highlights, .partners, .faq, .related, .cta-band { padding: 64px 0; }
.grid { gap: 18px; }

/* "Why BuildLaw": numbered clauses */
.highlights .grid { counter-reset: tile; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden; }
.tile::before { counter-increment: tile; content: "§ 0" counter(tile); display: block; font: 500 13px var(--mono); letter-spacing: .08em; color: var(--amber-ink); margin-bottom: 14px; }
.tile::after { content: ""; position: absolute; top: 0; left: 24px; width: 40px; height: 3px; background: var(--amber); border-radius: 0 0 3px 3px; }
.tile h3 { font-size: 19px; }
.tile p { color: var(--ink-2); font-size: 15.5px; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; overflow: hidden; isolation: isolate; box-shadow: 0 1px 2px rgba(10,26,51,.04); }
.card .card-img { transition: transform .35s; }
.card:hover .card-img { transform: scale(1.04); }
.card:hover, .offer:hover { transform: translateY(-3px); border-color: rgba(245,165,36,.7); box-shadow: var(--shadow); }
.card h3 { font-size: 18px; color: var(--navy); letter-spacing: -.02em; }
.card p { color: var(--ink-2); font-size: 14.5px; }
.cta { color: var(--accent); font: 700 14.5px var(--display); }
.related .grid, .posts .grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.offer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.offer .cta { align-self: stretch; text-align: center; background: var(--navy); color: #fff; border-radius: 999px; padding: 11px 14px; margin-top: 10px; }
.badge { background: var(--amber); color: var(--navy-3); }
.aff-note { color: var(--ink-3); } .aff-note a { color: var(--accent); }

/* Article */
.content { padding: 48px 0 16px; }
.toc { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 18px 18px 18px 20px; }
.toc p { font: 500 11.5px var(--mono); letter-spacing: .14em; color: var(--amber-ink); }
.toc a { color: var(--ink-2); display: block; padding-left: 12px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--accent); border-left-color: var(--amber); }
.prose { color: var(--ink-2); font-size: 17px; line-height: 1.75; }
.prose h2 { color: var(--navy); font-size: 26px; padding-top: 6px; }
.prose h3, .prose strong { color: var(--navy); }
.prose a { color: var(--accent); text-underline-offset: 3px; text-decoration-color: rgba(31,86,179,.35); }
.prose a:hover { text-decoration-color: var(--amber); }
.prose ul li::marker, .prose ol li::marker { color: var(--amber-ink); font-weight: 700; }
.prose, .toc { min-width: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px; display: block; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: #fff; background: var(--navy); font: 600 13px var(--display); letter-spacing: .01em; }
.prose tr:nth-child(even) td { background: #FAFBFD; }
.prose tr:last-child td { border-bottom: 0; }
.prose .note { background: var(--amber-soft); border: 1px solid #F6DDAE; border-radius: 12px; padding: 16px 18px 16px 52px; font-size: 15.5px; color: var(--ink-2); position: relative; }
.prose .note::before { content: "!"; position: absolute; left: 16px; top: 15px; width: 24px; height: 24px; border-radius: 50%; background: var(--amber); color: var(--navy-3); font: 800 14px/24px var(--display); text-align: center; }
.prose .note strong:first-child { color: var(--amber-ink); }
.prose .tip { background: #EAF2FF; border: 1px solid #CFE0FB; border-radius: 12px; padding: 16px 18px; font-size: 15.5px; }
/* Case summaries and worked examples */
.prose .case { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 12px; padding: 20px 22px 8px; margin: 22px 0; box-shadow: 0 1px 2px rgba(10,26,51,.05); }
.prose .case h3 { margin: 0 0 6px; font-size: 19px; }
.prose .case .cite { display: inline-block; font: 500 12px var(--mono); letter-spacing: .03em; color: var(--amber-ink); background: var(--amber-soft); border-radius: 999px; padding: 3px 10px; margin: 0 0 8px; }
.prose .case p { margin: 8px 0 12px; font-size: 16px; }
.prose .case.example { border-left-color: var(--amber); background: linear-gradient(180deg, #fff, #FFFBF3); }
/* Example notices: blueprint paper */
.prose .letter { background: #F4F8FE; background-image: linear-gradient(rgba(31,86,179,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(31,86,179,.06) 1px, transparent 1px); background-size: 22px 22px; border: 1px solid #CFDDF3; border-radius: 12px; padding: 20px 22px; margin: 18px 0; font: 14.5px/1.75 var(--mono); color: var(--navy); overflow-wrap: anywhere; }
.prose .letter p { margin: 0 0 10px; }
.prose .letter strong { letter-spacing: .06em; }
.prose .letter em { color: var(--amber-ink); font-style: normal; background: var(--amber-soft); padding: 0 4px; border-radius: 4px; }
.updated { color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 14px; font-family: var(--mono); font-size: 13px; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; transition: border-color .15s, box-shadow .15s; }
.faq summary { font: 600 17px var(--display); letter-spacing: -.015em; color: var(--navy); padding: 18px 20px; }
.faq summary::after { color: var(--navy-3); background: var(--amber); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 18px/1 var(--font); flex: 0 0 auto; }
.faq details[open] { border-color: rgba(245,165,36,.7); box-shadow: var(--shadow); }
.faq details > div { color: var(--ink-2); }
.faq details > div a { color: var(--accent); }

/* Sources */
.sources .wrap { border-top: 1px solid var(--line); padding-top: 26px; }
.sources h2 { font-size: 19px; }
.sources a, .more-link a { color: var(--accent); }

/* Bottom CTA: navy blueprint band */
.cta-band .wrap { position: relative; overflow: hidden; background: radial-gradient(60% 120% at 100% 0%, rgba(245,165,36,.25), transparent 60%), var(--grid), var(--navy); border: 0; border-radius: 22px; padding: 52px 28px; }
.cta-band h2 { color: #fff; }

/* Home: visual order only (HTML order unchanged for SEO) */
.home main { display: flex; flex-direction: column; }
.home main > .hero { order: -10; }
.home main > .blocks-strip { order: -9; }
.home main > .blocks-tiles { order: -8; }
.home main > .calc-band { order: -7; }
.home main > .blocks-deals { order: -6; }
.home main > .blocks-steps { order: -5; }
.home main > .blocks.services { order: -4; }
.home main > .highlights { order: -3; }
.home main > .posts { order: -2; }
.home main > .blocks-links { order: -1; }

/* Blocks */
.blocks { padding: 64px 0; }
.block-head { margin-bottom: 28px; }
.block-head h2 { font-size: clamp(24px, 3vw, 34px); }
.block-head p { font-size: 16.5px; color: var(--ink-2); }
.block-more { color: var(--accent); font-weight: 700; }
.block-more:hover { color: var(--amber-ink); }
.blocks-strip { padding: 0; border: 0; background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 1; }
.blocks-strip .wrap { padding-top: 18px; padding-bottom: 18px; }
.strip-list li { font-size: 14px; }
.strip-list .ico { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--amber-soft); color: var(--amber-ink); }
.strip-list strong { color: var(--navy); }
.tiles { grid-auto-rows: 210px; }
.tile-photo { border-radius: 18px; box-shadow: 0 10px 28px rgba(10,26,51,.16); }
.tile-shade { background: linear-gradient(180deg, rgba(10,26,51,0) 25%, rgba(10,26,51,.94) 100%); }
.tile-body h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
.tile-badge { background: var(--amber); color: var(--navy-3); backdrop-filter: none; border-radius: 999px; font-family: var(--mono); font-weight: 600; letter-spacing: .06em; }
.tile-photo::after { content: "\2197"; position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--navy-3); font-weight: 800; opacity: 0; transform: scale(.8); transition: .2s; }
.tile-photo:hover::after { opacity: 1; transform: none; }
.tile-photo:not(.tile-feature) .tile-body p { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .3s, opacity .3s; }
.tile-photo:not(.tile-feature):hover .tile-body p, .tile-photo:not(.tile-feature):focus-visible .tile-body p { max-height: 80px; opacity: .92; }
@media (hover: none) { .tile-photo:not(.tile-feature) .tile-body p { display: none; } }
@media (max-width: 520px) { .tiles { grid-auto-rows: 160px; } .tile-feature .tile-body p { display: none; } .tile-photo::after { display: none; } }

/* "Key rules" cards (deals block) on navy blueprint */
.blocks-deals { background: var(--grid), var(--navy); }
.blocks-deals .block-head h2 { color: #fff; }
.blocks-deals .block-head p { color: rgba(255,255,255,.75); }
.blocks-deals .block-more { color: var(--amber); }
.deal { background: #fff; border: 1px solid transparent; border-radius: var(--radius); padding: 22px; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.deal:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(0,0,0,.35); border-color: var(--amber); }
.deal-top .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--navy); color: var(--amber); }
.deal-badge { background: var(--amber-soft); color: var(--amber-ink); border-radius: 999px; font-family: var(--mono); font-weight: 600; letter-spacing: .06em; }
.deal h3 { font-family: var(--display); font-size: 18px; color: var(--navy); letter-spacing: -.02em; }
.deal p { color: var(--ink-2); }
.deal .cta { margin-top: 8px; }
.steps { counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { font: 500 40px var(--mono); color: rgba(245,165,36,.45); top: 12px; }
.steps .ico { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--navy); color: var(--amber); }
.steps h3 { font-size: 18px; }
.pill { background: var(--surface); border-color: var(--line); color: var(--navy); border-radius: 999px; }
.pill .ico { color: var(--amber-ink); }
.pill:hover { border-color: var(--amber); color: var(--navy); background: var(--amber-soft); }

/* Service cards ("html" blocks with class "services") */
.blocks.services { background: var(--surface-2); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; }
.svc { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--amber); }
.svc .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--amber); color: var(--navy-3); }
.svc h3 { font-size: 18px; color: var(--navy); margin: 6px 0 0; letter-spacing: -.02em; }
.svc p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.svc .who { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font: 500 12px/1.5 var(--mono); color: var(--ink-3); }
.svc .cta { font-size: 14px; }

/* Payment deadline calculator */
.calc-band { padding: 64px 0; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.calc-form { padding: 28px; }
.calc-form h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 8px; }
.calc-form > p { color: var(--ink-2); font-size: 15px; margin: 0 0 18px; }
.calc label { display: block; font: 600 13px var(--font); color: var(--navy); margin: 14px 0 6px; }
.calc input, .calc select { width: 100%; font: 500 15px var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
.calc input:focus, .calc select:focus { outline: 2px solid var(--amber); border-color: var(--amber); }
.calc-periods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.calc-periods label { font-size: 12px; font-weight: 600; color: var(--ink-3); margin-top: 10px; }
.calc details { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.calc summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.calc-out { background: var(--grid), var(--navy); color: #fff; padding: 28px; }
.calc-out h3 { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin: 0 0 16px; }
.calc-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.calc-steps li { position: relative; padding: 0 0 18px 30px; }
.calc-steps li::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: -6px; width: 2px; background: rgba(255,255,255,.18); }
.calc-steps li:last-child::before { display: none; }
.calc-steps li::after { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--navy); border: 3px solid var(--amber); }
.calc-steps .k { display: block; font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.calc-steps .d { display: block; font: 700 19px/1.3 var(--display); letter-spacing: -.02em; }
.calc-steps .n { display: block; font-size: 13.5px; color: rgba(255,255,255,.72); }
.calc-note { margin: 6px 0 0; font-size: 12.5px; color: rgba(255,255,255,.6); }
.calc-note a { color: var(--amber); }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } .calc-form, .calc-out { padding: 22px; } }
@media (max-width: 420px) { .calc-periods { grid-template-columns: 1fr; } }

/* Blog */
.posts { background: var(--surface-2); box-shadow: 0 0 0 100vmax var(--surface-2); clip-path: inset(0 -100vmax); }
.page-blog .posts { background: none; box-shadow: none; }
.post-card .post-meta { margin-top: 2px; font: 500 12px var(--mono); letter-spacing: .02em; color: var(--amber-ink); }
.post-byline { color: var(--ink-3); }

/* Footer: navy blueprint with a ruler along the top */
.site-footer { position: relative; isolation: isolate; background: var(--grid), var(--navy); color: rgba(255,255,255,.72); border-top: 0; margin-top: 64px; padding-top: 0; }
.ruler { height: 16px; margin-bottom: 44px; border-top: 3px solid var(--amber); background:
  repeating-linear-gradient(90deg, var(--amber) 0 2px, transparent 2px 80px) 0 0 / 100% 14px no-repeat,
  repeating-linear-gradient(90deg, rgba(245,165,36,.7) 0 1px, transparent 1px 16px) 0 0 / 100% 7px no-repeat; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand .bl-mark { width: 50px; height: 50px; border-radius: 12px; }
.foot-brand .bl-name { color: #fff; font-size: 30px; }
.foot-brand .bl-name em { color: var(--amber); font-size: 37px; }
.foot-brand small { color: rgba(255,255,255,.55); }
.foot-tag { max-width: 520px; margin: 0; font-size: 15px; color: rgba(255,255,255,.75); }
.foot-legal { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.04); border: 1px solid rgba(245,165,36,.3); border-radius: 14px; padding: 18px 20px; margin-bottom: 40px; }
.foot-legal svg { width: 28px; height: 28px; flex: 0 0 auto; color: var(--amber); margin-top: 2px; }
.foot-legal p { margin: 0; font-size: 14px; line-height: 1.6; }
.foot-legal strong { color: #fff; }
.foot-legal a { color: var(--amber); font-weight: 600; }
.foot-cols h4 { color: #fff; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.foot-cols p { margin: 0; line-height: 1.6; }
.foot-cols a:hover { color: var(--amber); }
.foot-cols p a { color: var(--amber); }
.disclosure { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.5); }
.empty { color: var(--ink-2); }
.photo-credit { color: rgba(255,255,255,.6); }

/* Byline bar under guide heroes + people profiles */
.byline { background: #fff; border-bottom: 1px solid var(--line); }
.byline .wrap { display: flex; align-items: flex-start; gap: 10px; padding-top: 13px; padding-bottom: 13px; }
.byline .ico { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; color: var(--amber-ink); }
.byline.is-reviewed .ico { color: var(--navy); background: var(--amber); border-radius: 50%; padding: 3px; }
.byline p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.byline .sep { color: var(--amber); margin: 0 4px; }
.byline a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }
.post-byline a { color: inherit; font-weight: 600; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.person-img { box-shadow: 0 0 0 3px var(--amber); }
.person h3 { color: var(--navy); }
.person-role { color: var(--navy) !important; }
.person a { color: var(--accent); font-weight: 600; }

/* Menu folds earlier: this site's nav is wide */
@media (max-width: 1100px) {
  .menu { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 74px; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 6px 16px 14px; z-index: 60; }
  .nav.open { display: flex; }
  .nav a { border-radius: 0; padding: 13px 4px; border-bottom: 1px solid var(--line); }
}
.nav-compact .nav { background: #fff; }
.nav-compact .nav a { border-radius: 0; }
