/*
Theme Name: Veridian MultiNational
Theme URI: https://veridianmultinational.com/
Author: Veridian MultiNational
Description: Custom theme for Veridian MultiNational: research and development, custom software, custom hardware and engineering consultation. Dark engineering-console design with light specification sections, self-hosted fonts, no page builder, no jQuery, no third-party requests. Part of the SAS Enterprises family of sites.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
License: Proprietary
Text Domain: veridian
*/

/* ---------------------------------------------------------------------------
   1. Fonts (self-hosted; SIL Open Font License)
--------------------------------------------------------------------------- */
@font-face { font-family: "Instrument Sans"; src: url("assets/fonts/instrument-sans-var.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("assets/fonts/instrument-sans-italic-var.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-style: italic; font-display: swap; }
@font-face { font-family: "Fira Code"; src: url("assets/fonts/fira-code-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

/* ---------------------------------------------------------------------------
   2. Tokens
--------------------------------------------------------------------------- */
:root {
	--bg: #0a0f0d;
	--bg-2: #0e1512;
	--panel: #121b17;
	--panel-2: #17221d;
	--line: #223029;
	--line-2: #2f4038;
	--text: #e6eee9;
	--text-2: #c4d1ca;
	--muted: #93a79d;
	--accent: #3ddc97;          /* viridian, lifted for dark screens */
	--accent-2: #2bb57a;
	--accent-deep: #0f3b2a;
	--accent-ink: #04140c;
	--amber: #e3a72f;           /* the engineering "spec" highlight */
	--amber-soft: rgba(227, 167, 47, .14);
	--paper: #f2f5f1;
	--paper-2: #e8ede7;
	--ink: #0e1512;
	--ink-2: #33433b;
	--ink-muted: #56685f;
	--paper-line: #d3dcd5;
	--sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--mono: "Fira Code", ui-monospace, "Cascadia Code", Consolas, "SF Mono", Menlo, monospace;
	--r: 10px;
	--r-lg: 16px;
	--wrap: 1200px;
	--gap: clamp(1rem, 2.5vw, 1.75rem);
	--shadow: 0 24px 60px -28px rgba(0, 0, 0, .85);
	color-scheme: dark;
}

/* ---------------------------------------------------------------------------
   3. Base
--------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; font-stretch: 100%; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: #7cf0bd; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--sans); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); letter-spacing: -.035em; font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
code, kbd, pre { font-family: var(--mono); font-size: .9em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
.wrap { width: min(100% - 2 * clamp(1rem, 4vw, 2rem), var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; border-radius: 6px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); }
.hl { color: var(--accent); }
.amber { color: var(--amber); }

/* ---------------------------------------------------------------------------
   4. Buttons, kickers, chips
--------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.25rem; border-radius: 8px; border: 1px solid transparent; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #6cebb4; color: var(--accent-ink); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #1d2b25; color: #fff; }
.btn--small { min-height: 38px; padding: .45rem .9rem; font-size: .92rem; }
.kicker { display: inline-flex; align-items: center; gap: .55rem; font: 500 .8rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem; }
.kicker::before { content: "//"; color: var(--amber); letter-spacing: 0; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .6rem; border: 1px solid var(--line-2); border-radius: 999px; font: 500 .78rem/1.3 var(--mono); color: var(--text-2); letter-spacing: .02em; }
.chip--amber { border-color: rgba(227, 167, 47, .45); color: var(--amber); background: var(--amber-soft); }
.arrow-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; }
.arrow-link svg { width: 16px; height: 16px; transition: transform .15s; }
.arrow-link:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------------------------
   5. Top bar and header
--------------------------------------------------------------------------- */
.topbar { background: #060a08; border-bottom: 1px solid var(--line); font: 400 .8rem/1.4 var(--mono); color: var(--muted); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar p { margin: 0; display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.topbar__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(61, 220, 151, .18); }
.topbar a { color: var(--text-2); text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.topbar a:hover { color: var(--accent); }
.topbar svg { width: 14px; height: 14px; }
.topbar__cta { color: var(--amber) !important; }
@media (max-width: 760px) { .topbar__hide-sm { display: none !important; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 15, 13, .88); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand__mark { width: 42px; height: 42px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 700 1.22rem/1 var(--sans); letter-spacing: .14em; }
.brand__sub { font: 500 .64rem/1 var(--mono); letter-spacing: .38em; color: var(--accent); margin-top: .38rem; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .2rem; }
.site-nav .menu > li { position: relative; }
.site-nav a { display: block; padding: .55rem .8rem; color: var(--text-2); text-decoration: none; font-weight: 500; font-size: .97rem; border-radius: 6px; }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a, .site-nav .current-page-ancestor > a { color: var(--accent); }
.site-nav .menu-item--cta { margin-left: .5rem; }
.site-nav .menu-item--cta > a.btn { color: var(--accent-ink); padding: .5rem 1rem; }
.site-nav .menu-item--cta > a.btn:hover { color: var(--accent-ink); }
.site-nav .sub-menu { list-style: none; margin: 0; padding: .45rem; position: absolute; left: 0; top: 100%; min-width: 270px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu, .site-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { padding: .6rem .75rem; font-size: .94rem; }
.site-nav .sub-menu a:hover { background: var(--panel-2); }
.submenu-toggle { display: none; }
.menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: .45rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .7; }
.nav-toggle { display: none; align-items: center; gap: .45rem; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 8px; padding: .5rem .75rem; font: 500 .9rem var(--mono); cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle__close { display: none; }
@media (max-width: 1020px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { position: fixed; inset: 110px 0 0; background: var(--bg); border-top: 1px solid var(--line); padding: 1rem clamp(1rem, 4vw, 2rem) 3rem; overflow-y: auto; display: none; }
	.nav-open .site-nav { display: block; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline; }
	.nav-open body { overflow: hidden; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu > li { border-bottom: 1px solid var(--line); }
	.site-nav a { padding: .95rem .25rem; font-size: 1.08rem; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 .6rem 1rem; min-width: 0; }
	.site-nav .sub-menu a { padding: .55rem .25rem; color: var(--muted); }
	.menu-item-has-children > a::after { display: none; }
	.site-nav .menu-item--cta { margin: 1.25rem 0 0; border: 0 !important; }
	.site-nav .menu-item--cta > a.btn { width: 100%; padding: .9rem; }
}

/* ---------------------------------------------------------------------------
   6. Sections
--------------------------------------------------------------------------- */
.site-main { display: block; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section + .section:not(.section--paper):not(.section--band) { border-top: 1px solid var(--line); }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--alt { background: var(--bg-2); }
.section--paper { background: var(--paper); color: var(--ink); color-scheme: light; }
.section--paper a { color: #0d7a4f; }
.section--paper .kicker { color: #0d7a4f; }
.section--paper .kicker::before { color: #b07a0c; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head__title { margin-bottom: .45em; }
.section-head__text { color: var(--muted); font-size: 1.12rem; margin: 0; }
.section--paper .section-head__text { color: var(--ink-muted); }
.grid-bg { background-image: linear-gradient(rgba(61, 220, 151, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(61, 220, 151, .045) 1px, transparent 1px); background-size: 44px 44px; }

/* ---------------------------------------------------------------------------
   7. Home hero and the project console
--------------------------------------------------------------------------- */
.hero { position: relative; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 20%, rgba(61, 220, 151, .13), transparent 60%), radial-gradient(40% 50% at 0% 100%, rgba(227, 167, 47, .07), transparent 60%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--text-2); max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.6rem; }
.hero__checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font: 400 .85rem/1.5 var(--mono); color: var(--muted); }
.hero__checks li::before { content: "✓"; color: var(--accent); margin-right: .45rem; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

.console { background: #070b09; border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow), 0 0 0 1px rgba(61, 220, 151, .05) inset; overflow: hidden; font: 400 .86rem/1.6 var(--mono); }
.console__bar { display: flex; align-items: center; gap: .45rem; padding: .7rem .9rem; border-bottom: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: .78rem; }
.console__bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4a42; display: inline-block; }
.console__bar i:nth-child(1) { background: #e0605a; }
.console__bar i:nth-child(2) { background: var(--amber); }
.console__bar i:nth-child(3) { background: var(--accent); }
.console__bar span { margin-left: .5rem; }
.console__body { padding: 1.1rem 1.15rem 1.25rem; }
.console__label { color: var(--amber); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 .5rem; }
.spec { width: 100%; border-collapse: collapse; margin: 0 0 1rem; }
.spec th, .spec td { text-align: left; padding: .5rem 0; border-bottom: 1px dashed var(--line); vertical-align: top; font-weight: 400; }
.spec th { color: var(--muted); width: 42%; padding-right: 1rem; }
.spec td { color: var(--text); }
.console .ln { margin: 0; white-space: pre-wrap; word-break: break-word; color: var(--text-2); }
.console .ln b { color: var(--accent); font-weight: 500; }
.console .ln em { color: var(--amber); font-style: normal; }
.console .ln .dim { color: var(--muted); }
.js .console[data-typing] .ln { opacity: 0; transform: translateY(3px); transition: opacity .25s, transform .25s; }
.js .console[data-typing] .ln.is-on { opacity: 1; transform: none; }
.caret { display: inline-block; width: .55em; height: 1.05em; background: var(--accent); vertical-align: -.15em; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------------------------------------------------------------------------
   8. Service cards, focus strip, process, models, deliverables
--------------------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: var(--gap); }
.card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.5rem 1.4rem; transition: border-color .2s, transform .2s, background .2s; }
.card:hover { border-color: rgba(61, 220, 151, .5); transform: translateY(-2px); background: var(--panel-2); }
.card__no { font: 500 .78rem/1 var(--mono); color: var(--amber); letter-spacing: .12em; }
.card__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-deep); color: var(--accent); margin: 1.1rem 0 1rem; }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .45em; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card p { color: var(--muted); font-size: .98rem; }
.card ul { list-style: none; padding: 0; margin: .25rem 0 1.25rem; font: 400 .82rem/1.5 var(--mono); color: var(--text-2); }
.card ul li { padding: .25rem 0; border-top: 1px dashed var(--line); }
.card ul li::before { content: "› "; color: var(--accent); }
.card .arrow-link { margin-top: auto; position: relative; z-index: 1; }

.focus { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--panel); }
.focus > div { padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.focus h3 { font-size: 1.05rem; margin-bottom: .35em; }
.focus p { margin: 0; color: var(--muted); font-size: .95rem; }
.focus .mono { color: var(--amber); font-size: .75rem; letter-spacing: .14em; display: block; margin-bottom: .6rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--amber)); opacity: .55; }
.steps li { position: relative; padding: 0 1rem 0 0; counter-increment: step; }
.steps__no { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); color: var(--accent); font: 600 .9rem/1 var(--mono); margin-bottom: 1.1rem; }
.section--paper .steps__no { background: var(--paper); color: #0d7a4f; border-color: #0d7a4f; }
.steps h3 { font-size: 1.08rem; margin-bottom: .35em; }
.steps p { font-size: .95rem; color: var(--muted); margin-bottom: .6em; }
.section--paper .steps p { color: var(--ink-muted); }
.steps .out { font: 400 .78rem/1.45 var(--mono); color: var(--amber); }
.section--paper .steps .out { color: #8a5d05; }
@media (max-width: 960px) {
	.steps { grid-template-columns: 1fr; gap: 1.5rem; }
	.steps::before { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent), var(--amber)); }
	.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 0 1.1rem; padding: 0; }
	.steps__no { grid-row: span 3; margin: 0; }
}

.models { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--gap); }
.model { background: #fff; border: 1px solid var(--paper-line); border-radius: var(--r-lg); padding: 1.7rem 1.6rem; display: flex; flex-direction: column; }
.model--feature { border: 2px solid #0d7a4f; box-shadow: 0 18px 40px -26px rgba(13, 122, 79, .6); }
.model__tag { font: 500 .72rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #8a5d05; margin-bottom: .9rem; }
.model h3 { font-size: 1.3rem; }
.model p { color: var(--ink-muted); }
.model ul { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.model li { padding: .45rem 0 .45rem 1.6rem; border-top: 1px solid var(--paper-2); position: relative; color: var(--ink-2); font-size: .97rem; }
.model li::before { content: ""; position: absolute; left: 0; top: .82rem; width: 10px; height: 6px; border-left: 2px solid #0d7a4f; border-bottom: 2px solid #0d7a4f; transform: rotate(-45deg); }
.model .btn { margin-top: auto; align-self: flex-start; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
@media (max-width: 860px) { .split, .split--wide-left { grid-template-columns: 1fr; } }

.checks { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.checks li { position: relative; padding: .5rem 0 .5rem 1.9rem; border-bottom: 1px solid var(--line); }
.section--paper .checks li { border-color: var(--paper-line); }
.checks li::before { content: ""; position: absolute; left: .15rem; top: .95rem; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.section--paper .checks li::before { border-color: #0d7a4f; }
.checks--cols { columns: 2 260px; column-gap: 2.5rem; }
.checks--cols li { break-inside: avoid; }

.deliver { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 1px; background: var(--paper-line); border: 1px solid var(--paper-line); border-radius: var(--r-lg); overflow: hidden; }
.deliver > div { background: #fff; padding: 1.3rem 1.25rem; }
.deliver h3 { font-size: 1rem; margin-bottom: .3em; }
.deliver p { margin: 0; color: var(--ink-muted); font-size: .93rem; }
.deliver .mono { display: block; font-size: .72rem; color: #8a5d05; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .55rem; }

.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--gap); }
.principle { border-top: 2px solid var(--accent); padding-top: 1.1rem; }
.principle h3 { font-size: 1.12rem; }
.principle p { color: var(--muted); margin: 0; }
.section--paper .principle { border-color: #0d7a4f; }
.section--paper .principle p { color: var(--ink-muted); }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.section--paper .faq details { border-color: var(--paper-line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .95rem; font: 400 1.5rem/1 var(--mono); color: var(--accent); transition: transform .2s; }
.section--paper .faq summary::after { color: #0d7a4f; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.2rem; color: var(--muted); }
.section--paper .faq details > div { color: var(--ink-muted); }
.faq details > div p:last-child { margin: 0; }

/* Call-to-action band */
.band { background: linear-gradient(120deg, #0f3b2a 0%, #145a3e 55%, #1b6b48 100%); border-top: 1px solid #1f7a52; border-bottom: 1px solid #1f7a52; padding: clamp(2.75rem, 6vw, 4.25rem) 0; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.band__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.band h2 { margin: 0 0 .3em; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.band p { margin: 0; color: #cfe9dc; max-width: 40em; }
.band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.band .btn--ghost { border-color: rgba(255, 255, 255, .35); }
.band .btn--ghost:hover { border-color: #fff; color: #fff; }

/* Sister companies */
.family { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--gap); }
.family a { display: block; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 1.15rem 1.2rem; color: var(--text); transition: border-color .2s; }
.family a:hover { border-color: var(--accent); color: var(--text); }
.family strong { display: block; font-size: 1.02rem; }
.family span { display: block; color: var(--muted); font-size: .92rem; margin-top: .2rem; }
.family .mono { font-size: .72rem; color: var(--amber); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .5rem; }

/* ---------------------------------------------------------------------------
   9. Inner pages
--------------------------------------------------------------------------- */
.page-hero { position: relative; padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2.25rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 90% 0%, rgba(61, 220, 151, .11), transparent 65%); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: .35em; max-width: 20em; }
.page-hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-2); max-width: 44em; margin: 0; }
.crumbs { font: 400 .8rem/1.4 var(--mono); color: var(--muted); margin: 0 0 1.4rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; color: var(--line-2); margin-right: .4rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--accent); }

.content { padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.prose { max-width: 760px; }
.prose > h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { margin-top: 1.8em; }
.prose p, .prose li { color: var(--text-2); }
.prose ul:not(.checks) li { margin-bottom: .35em; }
.prose strong { color: var(--text); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.layout__aside { position: sticky; top: 100px; display: grid; gap: 1.25rem; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .layout__aside { position: static; } }
.aside-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.35rem 1.35rem 1.2rem; }
.aside-box h2 { font-size: 1.05rem; margin-bottom: .6em; }
.aside-box p { color: var(--muted); font-size: .95rem; }
.aside-box ul { list-style: none; padding: 0; margin: 0; }
.aside-box li a { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--line); color: var(--text-2); text-decoration: none; font-size: .96rem; }
.aside-box li a:hover, .aside-box li a[aria-current] { color: var(--accent); }
.aside-box .btn { width: 100%; margin-top: .4rem; }
.aside-box--spec { background: #070b09; font-family: var(--mono); font-size: .82rem; }
.aside-box--spec h2 { font: 500 .72rem/1 var(--mono); color: var(--amber); letter-spacing: .18em; text-transform: uppercase; }
.aside-box--spec .spec th { width: 46%; }

.callout { border: 1px solid var(--line-2); border-left: 3px solid var(--accent); background: var(--panel); border-radius: var(--r); padding: 1.25rem 1.4rem; margin: 2rem 0; }
.callout__title { font-weight: 650; color: var(--text) !important; margin-bottom: .35em; }
.callout p:last-child { margin: 0; }
.callout--amber { border-left-color: var(--amber); }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.15rem; }
.tile h3 { font-size: 1rem; margin-bottom: .3em; }
.tile p { margin: 0; font-size: .93rem; color: var(--muted) !important; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   10. Forms and notices
--------------------------------------------------------------------------- */
.form-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.vmn-form p { margin: 0 0 1.1rem; }
.vmn-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 640px) { .vmn-form__row { grid-template-columns: 1fr; } }
.vmn-form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.vmn-form .opt { font-weight: 400; color: var(--muted); }
.vmn-form input[type=text], .vmn-form input[type=email], .vmn-form input[type=tel], .vmn-form select, .vmn-form textarea,
.sas-status input[type=text], .sas-status input[type=email] { width: 100%; min-height: 46px; padding: .65rem .8rem; background: #070b09; color: var(--text); border: 1px solid var(--line-2); border-radius: 8px; font: inherit; font-size: 1rem; }
.vmn-form textarea { min-height: 170px; resize: vertical; }
.vmn-form textarea::placeholder { color: #6c8077; }
.vmn-form input:focus, .vmn-form select:focus, .vmn-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(61, 220, 151, .2); }
.vmn-form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.fine { font-size: .86rem; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: var(--r); padding: 1rem 1.15rem; margin-bottom: 1.25rem; border: 1px solid; }
.notice ul { margin: .5rem 0 0; }
.notice--ok { background: rgba(61, 220, 151, .08); border-color: rgba(61, 220, 151, .45); }
.notice--error { background: rgba(240, 106, 106, .08); border-color: rgba(240, 106, 106, .5); }

/* SAS Connect status lookup on the dark theme */
.sas-status, .sas-connect { color: var(--text); }
.sas-status form, .sas-connect form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; }
.sas-status label { color: var(--text); }
.sas-status button, .sas-connect .button, .sas-connect button[type=submit] { background: var(--accent) !important; color: var(--accent-ink) !important; border: 0 !important; border-radius: 8px !important; font-weight: 600; }

/* ---------------------------------------------------------------------------
   11. Footer
--------------------------------------------------------------------------- */
.site-footer { background: #060a08; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.footer__main { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem 3rem; padding: clamp(2.75rem, 6vw, 4rem) 0 2.5rem; }
@media (max-width: 900px) { .footer__main { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__main { grid-template-columns: 1fr; } }
.footer__about p { margin: 1rem 0 0; max-width: 30em; }
.site-footer h2 { font: 500 .74rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--amber); margin: .5rem 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer__family { border-top: 1px solid var(--line); padding: 1.25rem 0; font: 400 .8rem/1.6 var(--mono); }
.footer__family .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; align-items: center; }
.footer__family strong { color: var(--text-2); font-weight: 500; }
.footer__legal { border-top: 1px solid var(--line); padding: 1.1rem 0 1.4rem; font-size: .84rem; }
.footer__legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer__legal li { margin: 0; }

/* ---------------------------------------------------------------------------
   12. 404, search
--------------------------------------------------------------------------- */
.notfound { padding: clamp(4rem, 10vw, 7rem) 0; }
.notfound .console { max-width: 640px; margin-top: 2rem; }
.search-form { display: flex; gap: .5rem; max-width: 520px; }
.search-form input[type=search] { flex: 1; min-height: 46px; padding: .6rem .8rem; background: #070b09; color: var(--text); border: 1px solid var(--line-2); border-radius: 8px; font: inherit; }
.results { list-style: none; padding: 0; margin: 2rem 0 0; max-width: 760px; }
.results li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.results a { font-weight: 600; font-size: 1.1rem; }
.results p { margin: .3rem 0 0; color: var(--muted); }

/* ---------------------------------------------------------------------------
   13. Reveal on scroll (only when the script is running)
--------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media print {
	.topbar, .site-header, .site-footer, .band, .nav-toggle { display: none !important; }
	body { background: #fff; color: #000; }
	.section--paper, .section { padding: 1rem 0; }
}
