/* Foundry Peak — site styles
   Concept: an alpine night (navy, not black) over a foundry. Archivo in its
   expanded width reads like survey-map lettering; Public Sans (the US
   government's typeface) carries the body. One accent (Peak Blue) does the
   work; Dawn Ember appears only where the night ends (the footer horizon) and
   on live/status signals. Single deliberate dark theme. */

/* Self-hosted fonts (latin subsets): Archivo variable wdth+wght, Public Sans, JetBrains Mono */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/Archivo-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/JetBrainsMono-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/PublicSans-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/PublicSans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --night: #0e1726;      /* page ground */
  --night-2: #132036;    /* raised band */
  --slate: #1b2a3d;      /* panels */
  --slate-2: #24364d;    /* borders on panels */
  --rule: rgba(143, 163, 184, 0.18);
  --glacier: #eef3f8;    /* primary text */
  --mist: #8fa3b8;       /* secondary text */
  --mist-2: #7a8ea4;     /* tertiary */
  --peak: #4eaae5;       /* brand accent */
  --peak-soft: rgba(78, 170, 229, 0.14);
  --ember: #f2a65a;      /* dawn, live signals only */

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --code: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* modular scale 1.25 from 18px body */
  --s-1: 0.8125rem;
  --s0: 1.0625rem;
  --s1: 1.25rem;
  --s2: 1.5625rem;
  --s3: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  --s4: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  --s5: clamp(2.75rem, 1.7rem + 4.4vw, 5.5rem);

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--night);
  color: var(--glacier);
  font-family: var(--body);
  font-size: var(--s0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--peak); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--glacier); }
:focus-visible { outline: 2px solid var(--peak); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--peak); color: var(--night); }

.skip { position: absolute; left: -999px; top: 0; background: var(--peak); color: var(--night); padding: .6rem 1rem; z-index: 100; font-weight: 600; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 38rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 650; line-height: 1.08; margin: 0; text-wrap: balance; }
.display { font-stretch: 125%; font-variation-settings: "wdth" 125; letter-spacing: -0.02em; }
h1 { font-size: var(--s5); font-weight: 700; }
h2 { font-size: var(--s4); }
h3 { font-size: var(--s2); line-height: 1.2; }
h4 { font-size: var(--s1); line-height: 1.3; }
p { margin: 0 0 1em; }
.lede { font-size: var(--s1); line-height: 1.55; color: var(--mist); max-width: 40rem; }
.muted { color: var(--mist); }
.small { font-size: var(--s-1); }
.kicker { font-family: var(--display); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: var(--s0); font-weight: 600; color: var(--peak); margin-bottom: 1rem; display: block; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: .005em;
  padding: .9rem 1.4rem; border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn-primary { background: var(--peak); color: var(--night); }
.btn-primary:hover { background: #7cc4ef; color: var(--night); transform: translateY(-1px); }
.btn-ghost { border-color: var(--slate-2); color: var(--glacier); background: transparent; }
.btn-ghost:hover { border-color: var(--peak); color: var(--glacier); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 20; border-bottom: 1px solid transparent; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.site-header.scrolled { background: rgba(14, 23, 38, 0.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom-color: var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 5rem; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--glacier); }
.brand img { height: 2.1rem; width: auto; }
.brand span { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 650; font-size: 1.05rem; letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a:not(.btn) { color: var(--glacier); text-decoration: none; font-weight: 500; padding: .5rem .8rem; border-radius: var(--radius); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--peak); }
.nav .btn { margin-left: .75rem; padding: .65rem 1.1rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--slate-2); color: var(--glacier); border-radius: var(--radius); padding: .5rem .75rem; font: 600 .95rem var(--display); cursor: pointer; }
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; top: 5rem; left: var(--gutter); right: var(--gutter); flex-direction: column; align-items: stretch; background: var(--night-2); border: 1px solid var(--slate-2); border-radius: var(--radius); padding: .5rem; display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .85rem 1rem; }
  .nav .btn { margin: .5rem 0 0; justify-content: center; }
}

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: min(100svh, 880px); display: flex; align-items: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 700px at 72% 30%, #17294a 0%, transparent 60%), linear-gradient(180deg, #0b1322 0%, var(--night) 100%); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero .wrap { padding-top: 7rem; padding-bottom: 5rem; }
.hero h1 { max-width: 14ch; font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5rem); }
.hero .lede { margin-top: 1.5rem; color: #b4c3d3; }
.hero .actions { margin-top: 2.25rem; }
.hero-foot { margin-top: 3.5rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; color: var(--mist); font-size: .95rem; }
.hero-foot b { color: var(--glacier); font-weight: 600; }
.hero-foot span { display: inline-flex; align-items: center; gap: .55rem; }
.hero-foot i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--peak); display: inline-block; }
.hero-foot i.gov { background: var(--ember); }

/* ---------- sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section.band { background: var(--night-2); border-block: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { max-width: 20ch; }
.section-head .lede { margin: 0; }
@media (min-width: 960px) { .section-head.split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 4rem; } }

/* ---------- two routes ---------- */
.routes { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (min-width: 960px) { .routes { grid-template-columns: 1.15fr 1fr; } }
.route-switch { display: inline-flex; padding: .3rem; border: 1px solid var(--slate-2); border-radius: 999px; background: var(--night); margin-bottom: 2rem; }
.route-switch button { font: 600 1rem var(--display); color: var(--mist); background: none; border: 0; padding: .65rem 1.3rem; border-radius: 999px; cursor: pointer; transition: color .25s var(--ease), background-color .25s var(--ease); }
.route-switch button[aria-selected="true"] { background: var(--peak); color: var(--night); }
.route-switch button[data-route="government"][aria-selected="true"] { background: var(--ember); }
.route-switch button[aria-pressed="true"] { background: var(--peak); color: var(--night); }
.topo { position: relative; aspect-ratio: 1 / 0.86; border-radius: 10px; overflow: hidden; background: radial-gradient(circle at 55% 38%, #1a2c46, var(--night) 70%); border: 1px solid var(--rule); }
.topo svg { width: 100%; height: 100%; }
.topo .contour { fill: none; stroke: rgba(143, 163, 184, 0.22); stroke-width: 1; }
.topo .contour.index { stroke: rgba(143, 163, 184, 0.42); stroke-width: 1.4; }
.topo .trail { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 9; }
.topo .trail-draw { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.topo .trail-ghost { fill: none; stroke: rgba(143, 163, 184, 0.25); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.topo .summit { fill: var(--glacier); }
.topo .wp circle { fill: var(--night); stroke-width: 3.5; transition: r .3s var(--ease); }
.topo .wp text { font: 600 25px var(--display); fill: var(--glacier); paint-order: stroke; stroke: #101c2e; stroke-width: 7px; stroke-linejoin: round; }
.topo .wp.active circle { r: 17; }
@media (max-width: 640px) { .topo .wp text { font-size: 36px; stroke-width: 9px; } .topo .wp circle { stroke-width: 5; } }
.topo .elev { font: 500 11px var(--body); fill: var(--mist-2); }
.route-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.route-steps li { counter-increment: step; display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--rule); cursor: default; transition: opacity .25s var(--ease); }
.route-steps li:last-child { border-bottom: 1px solid var(--rule); }
.route-steps li::before { content: counter(step); font: 600 1rem var(--display); width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; color: var(--route, var(--peak)); }
.route-steps h3 { font-size: var(--s1); margin-bottom: .3rem; }
.route-steps p { margin: 0; color: var(--mist); }
.route-steps.dim li:not(.active) { opacity: .45; }
[data-active-route="government"] { --route: var(--ember); }
[data-active-route="business"] { --route: var(--peak); }
.route-panel[hidden] { display: none; }

/* ---------- disciplines (services index) ---------- */
.disciplines { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.discipline { display: grid; gap: 1.5rem 3rem; padding: clamp(2rem, 4vw, 3rem) 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 960px) { .discipline { grid-template-columns: 1fr 2fr; } }
.discipline h3 { font-size: var(--s3); }
.discipline > div > p { color: var(--mist); margin-top: .75rem; max-width: 28rem; }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem 2.5rem; }
@media (min-width: 640px) { .svc-list { grid-template-columns: 1fr 1fr; } }
.svc-list a { display: block; text-decoration: none; padding: .85rem 0; color: var(--glacier); border-bottom: 1px solid transparent; }
.svc-list a strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.1rem; margin-bottom: .2rem; }
.svc-list a span { display: block; color: var(--mist); font-size: .97rem; line-height: 1.5; }
.svc-list a:hover strong { color: var(--peak); }

/* ---------- forge console ---------- */
.forge { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 960px) { .forge { grid-template-columns: 1fr 1.1fr; } }
.console { background: #08101c; border: 1px solid var(--slate-2); border-radius: 10px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }
.console-bar { display: flex; align-items: center; gap: .45rem; padding: .8rem 1rem; border-bottom: 1px solid var(--slate); color: var(--mist-2); font-size: .85rem; }
.console-bar i { width: .65rem; height: .65rem; border-radius: 50%; background: var(--slate-2); }
.console-bar span { margin-left: .5rem; }
.console pre { margin: 0; padding: 1.25rem 1.25rem 1.5rem; font: 0.9rem/1.85 var(--code); color: #c6d3e1; min-height: 19rem; white-space: pre-wrap; }
.console .ok { color: #7fd1a3; }
.console .dim { color: var(--mist-2); }
.console .acc { color: var(--peak); }
.console .live { color: var(--ember); }
.console .tick { display: inline-block; width: .5em; height: .85em; margin: 0 .3em 0 .15em; border-right: 2px solid #7fd1a3; border-bottom: 2px solid #7fd1a3; transform: rotate(40deg) translateY(-.15em); }
.console .cursor { display: inline-block; width: .55em; height: 1.1em; vertical-align: -.2em; background: var(--peak); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.forge-points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.forge-points li { padding-left: 1.6rem; position: relative; color: var(--mist); }
.forge-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: .7rem; height: .7rem; border: 2px solid var(--peak); border-radius: 2px; transform: rotate(45deg); }
.forge-points strong { color: var(--glacier); font-weight: 600; }

/* ---------- work ---------- */
.work { display: grid; gap: clamp(3.5rem, 7vw, 6rem); }
.case { display: grid; gap: 2rem clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 960px) {
  .case { grid-template-columns: 1.25fr 1fr; }
  .case:nth-child(even) .case-media { order: 2; }
}
.case-media { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--slate-2); background: var(--slate); aspect-ratio: 16 / 10; }
.case-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.case-media.art { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #1d3150, #0b1424 75%); }
.case-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.tag { font-size: .8rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--slate-2); color: var(--mist); }
.tag.biz { color: var(--peak); border-color: rgba(78, 170, 229, .45); }
.tag.gov { color: var(--ember); border-color: rgba(242, 166, 90, .45); }
.case h2, .case h3 { font-size: var(--s3); margin-bottom: .9rem; }
.case p { color: var(--mist); }
.case dl { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.25rem; margin: 1.5rem 0 0; font-size: .97rem; }
.case dt { color: var(--mist-2); }
.case dd { margin: 0; color: var(--glacier); }
.case .more { display: inline-block; margin-top: 1.4rem; font-weight: 600; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 10rem 0 clamp(3.5rem, 7vw, 6rem); overflow: hidden; border-bottom: 1px solid var(--rule);
  background: radial-gradient(900px 500px at 85% 0%, #17294a, transparent 65%), var(--night); }
.page-hero svg.contours { position: absolute; right: -8%; top: -10%; width: 70%; height: 130%; opacity: .55; pointer-events: none; }
.page-hero svg.contours path { fill: none; stroke: rgba(143, 163, 184, .16); stroke-width: 1; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: var(--s5); max-width: 17ch; }
.page-hero .lede { margin-top: 1.4rem; }
.crumbs { display: flex; gap: .5rem; font-size: .92rem; color: var(--mist); margin-bottom: 1.5rem; flex-wrap: wrap; }
.crumbs a { color: var(--mist); text-decoration: none; }
.crumbs a:hover { color: var(--peak); }

/* ---------- service detail ---------- */
.grid-2 { display: grid; gap: 2.5rem clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.outcomes { display: grid; gap: 2rem 3rem; }
@media (min-width: 760px) { .outcomes { grid-template-columns: 1fr 1fr; } }
.outcomes h3 { font-size: var(--s1); margin-bottom: .5rem; }
.outcomes p { color: var(--mist); margin: 0; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.checklist li { padding: .8rem 0 .8rem 2rem; border-bottom: 1px solid var(--rule); position: relative; }
.checklist li::before { content: ""; position: absolute; left: .2rem; top: 1.15rem; width: .8rem; height: .45rem; border-left: 2px solid var(--peak); border-bottom: 2px solid var(--peak); transform: rotate(-45deg); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; padding: 1.5rem 1.5rem 1.5rem 0; border-top: 2px solid var(--slate-2); position: relative; }
.steps li::before { content: counter(s); position: absolute; top: -1.05rem; left: 0; width: 2rem; height: 2rem; border-radius: 50%; background: var(--night); border: 2px solid var(--peak); color: var(--peak); display: grid; place-items: center; font: 600 .95rem var(--display); }
.band .steps li::before { background: var(--night-2); }
.steps h3 { font-size: var(--s1); margin: 1.25rem 0 .5rem; }
.steps p { color: var(--mist); margin: 0; }
.audiences { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .audiences { grid-template-columns: 1fr 1fr; } }
.audience { padding: 2rem; border-radius: 10px; background: var(--slate); border: 1px solid var(--slate-2); border-top: 3px solid var(--peak); }
.audience.gov { border-top-color: var(--ember); }
.audience h3 { font-size: var(--s1); margin-bottom: .75rem; }
.audience p { color: var(--mist); margin: 0; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; font-family: var(--display); font-weight: 600; font-size: var(--s1); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: .7rem; height: .7rem; border-right: 2px solid var(--peak); border-bottom: 2px solid var(--peak); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--mist); padding-bottom: 1.25rem; margin: 0; max-width: 46rem; }
.related { display: grid; gap: 1rem; }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a { display: block; padding: 1.4rem; border: 1px solid var(--slate-2); border-radius: 10px; text-decoration: none; color: var(--glacier); transition: border-color .2s var(--ease); }
.related a:hover { border-color: var(--peak); }
.related strong { display: block; font-family: var(--display); font-size: 1.15rem; margin-bottom: .35rem; }
.related span { color: var(--mist); font-size: .95rem; }

/* ---------- prose (about, legal) ---------- */
.prose { max-width: 44rem; }
.prose h2 { font-size: var(--s3); margin: 3rem 0 1rem; }
.prose h3 { font-size: var(--s1); margin: 2rem 0 .6rem; }
.prose p, .prose li { color: #c3cfdc; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .45rem; }
.principles { display: grid; gap: 2.5rem 3rem; }
@media (min-width: 760px) { .principles { grid-template-columns: 1fr 1fr; } }
.principles h3 { font-size: var(--s1); margin-bottom: .5rem; }
.principles p { color: var(--mist); margin: 0; }
.person { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; padding: 1.75rem; border: 1px solid var(--slate-2); border-radius: 10px; background: var(--slate); max-width: 36rem; }
.person .avatar { width: 4.5rem; height: 4.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--peak-soft); color: var(--peak); font: 700 1.4rem var(--display); }
.person h3 { font-size: var(--s1); }
.person p { margin: .2rem 0 0; color: var(--mist); }

/* ---------- government page ---------- */
.cap-grid { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
@media (min-width: 760px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
.cap-grid > div { background: var(--night); padding: 2rem; }
.band .cap-grid > div { background: var(--night-2); }
.cap-grid h3 { font-size: var(--s1); margin-bottom: .6rem; }
.cap-grid p, .cap-grid li { color: var(--mist); }
.cap-grid ul { margin: 0; padding-left: 1.1rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .7rem 2rem; margin: 0; }
.facts dt { color: var(--mist-2); }
.facts dd { margin: 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.4fr 1fr; } }
.form { display: grid; gap: 1.25rem; }
.form .row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: .45rem; font-size: .97rem; }
.field label small, .field legend small { color: var(--mist-2); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--glacier); background: var(--night-2); border: 1px solid var(--slate-2); border-radius: var(--radius); padding: .85rem .95rem; transition: border-color .2s var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--peak); box-shadow: 0 0 0 3px var(--peak-soft); }
.field fieldset { border: 0; margin: 0; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg label { margin: 0; font-weight: 500; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-block; padding: .6rem 1rem; border: 1px solid var(--slate-2); border-radius: 999px; cursor: pointer; color: var(--mist); transition: all .2s var(--ease); }
.seg input:checked + span { border-color: var(--peak); color: var(--glacier); background: var(--peak-soft); }
.seg input:focus-visible + span { outline: 2px solid var(--peak); outline-offset: 2px; }
.hp { position: absolute; left: -5000px; }
.form-status { min-height: 1.5rem; font-weight: 500; }
.form-status.ok { color: #7fd1a3; }
.form-status.err { color: #ff9f8f; }
.channels { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.channels li { padding: 1.3rem 0; border-bottom: 1px solid var(--rule); }
.channels li:first-child { border-top: 1px solid var(--rule); }
.channels h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.channels p { margin: 0; color: var(--mist); }
.channels a, .channels button.linklike { font-weight: 600; }
.linklike { background: none; border: 0; padding: 0; color: var(--peak); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }

/* ---------- closing CTA + footer (dawn) ---------- */
.closing { padding-block: var(--section) 0; position: relative; text-align: left; }
.closing h2 { max-width: 16ch; }
.closing .lede { margin-top: 1.25rem; }
.closing .actions { margin-top: 2rem; }
.horizon { position: relative; height: clamp(160px, 22vw, 280px); margin-top: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.horizon::before { content: ""; position: absolute; inset: 0; background: radial-gradient(42% 95% at 50% 100%, rgba(242, 166, 90, .55), rgba(242, 166, 90, .16) 42%, transparent 72%), radial-gradient(70% 60% at 50% 100%, rgba(78, 170, 229, .10), transparent 70%); }
.horizon svg { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 100%; }
.site-footer { background: #0a111d; border-top: 1px solid rgba(242, 166, 90, .25); padding: 3.5rem 0 2rem; color: var(--mist); font-size: .97rem; }
.foot-grid { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h2 { font-family: var(--display); font-size: 1rem; color: var(--glacier); margin-bottom: 1rem; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: var(--peak); }
.site-footer .brand img { height: 4.25rem; width: auto; }
.foot-sub { margin-top: 1.25rem; max-width: 22rem; }
.subscribe { display: flex; gap: .5rem; margin-top: .75rem; }
.subscribe input { flex: 1; min-width: 0; font: inherit; color: var(--glacier); background: var(--night-2); border: 1px solid var(--slate-2); border-radius: var(--radius); padding: .7rem .85rem; }
.subscribe input:focus { outline: none; border-color: var(--peak); }
.subscribe .btn { padding: .7rem 1rem; }
.subscribe-status { margin-top: .5rem; font-size: .9rem; min-height: 1.3rem; }
.foot-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; font-size: .9rem; color: var(--mist-2); }
.foot-legal a { color: var(--mist-2); }

/* ---------- reveal (only for the forge + route drawing; not every section) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
address { font-style: normal; }

/* ---------- insights ---------- */
.article-grid { display: grid; gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 1000px) { .article-grid { grid-template-columns: 15rem minmax(0, 44rem); } .article-grid aside { position: sticky; top: 6.5rem; } }
.toc h2 { font-size: 1rem; margin-bottom: .75rem; }
.toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: .45rem; font-size: .95rem; }
.toc a { color: var(--mist); text-decoration: none; }
.toc a:hover { color: var(--peak); }
.article-meta { color: var(--mist); font-size: .92rem; line-height: 1.8; margin-top: 1.5rem; }
.sources { font-size: .95rem; }
.article-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.article-list li { border-bottom: 1px solid var(--rule); }
.article-list a { display: grid; gap: .45rem; padding: 1.75rem 0; text-decoration: none; color: var(--glacier); }
.article-list strong { font-family: var(--display); font-size: var(--s2); font-weight: 650; line-height: 1.2; }
.article-list a:hover strong { color: var(--peak); }
.article-list .article-meta { margin: 0; display: flex; gap: .75rem; align-items: center; }

/* ---------- LobbyScape page ---------- */
.ls-video { margin: 0; }
.ls-video video { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--slate-2); background: #000; display: block; }
.ls-video figcaption { margin-top: .75rem; }
.ls-coverage { display: grid; gap: 2rem 3rem; }
@media (min-width: 760px) { .ls-coverage { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ls-coverage { grid-template-columns: 1fr 1fr 1fr; } }
.ls-coverage h3 { font-size: var(--s1); margin-bottom: .45rem; }
.ls-coverage p { color: var(--mist); margin: 0; }
.ls-shots { display: grid; gap: 2rem; }
@media (min-width: 900px) { .ls-shots { grid-template-columns: 1fr 1fr; } }
.ls-shots figure { margin: 0; }
.ls-shots img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--slate-2); }
.ls-shots figcaption { margin-top: .6rem; }
