/* Severnis — site stylesheet. No external dependencies. */

:root {
  --ink-950: #060b15;
  --ink-900: #0a1322;
  --ink-800: #101c31;
  --ink-700: #182842;
  --line-dark: rgba(255, 255, 255, 0.1);
  --text-on-dark: #e4e9f1;
  --muted-on-dark: #a0adc0;
  --soft-on-dark: #c5cfdc;

  --heading: #0b1424;
  --text: #1d2635;
  --muted: #4f5c6e;
  --line: #dce2ea;
  --line-strong: #b9c4d3;
  --surface: #f4f6f9;
  --white: #ffffff;

  --accent: #1d63c6;
  --accent-strong: #154b98;
  --accent-soft: #e8f0fb;
  --accent-on-dark: #82b6ff;
  --focus: #3b82f6;

  --amber: #8a5a00;
  --amber-soft: #fbf4e4;
  --teal: #0d6b63;
  --teal-soft: #e3f3f1;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --max: 72.5rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 6px;
  --header-h: 5rem;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

svg {
  display: block;
  flex-shrink: 0;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--accent-strong);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  color: var(--heading);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem);
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--heading);
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2 * var(--gutter)), var(--max));
  margin-inline: auto;
}

/* ---------- Type helpers ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.lead {
  font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.3rem);
  line-height: 1.55;
  max-width: 42rem;
}

.muted {
  color: var(--muted);
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Header / navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

/*
 * Official logo (assets/logo_horizontal.png, 1536x1024). The file is used
 * unmodified; this frame only crops the surrounding canvas to the artwork
 * area (x 337-1201, y 316-689) at its native aspect ratio. It must sit on
 * a white surface because the supplied artwork has an opaque background.
 */
.brand-logo {
  position: relative;
  display: block;
  height: var(--logo-h, 60px);
  aspect-ratio: 864 / 373;
  overflow: hidden;
}

.brand-logo img {
  position: absolute;
  top: calc(-100% * 316 / 373);
  left: calc(-100% * 337 / 864);
  width: calc(100% * 1536 / 864);
  max-width: none;
  height: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}

.site-nav a:hover {
  color: var(--heading);
  background: var(--surface);
}

.site-nav a[aria-current="page"] {
  color: var(--heading);
  box-shadow: inset 0 -2px 0 var(--accent);
  border-radius: 4px 4px 0 0;
}

.site-nav a.nav-cta {
  margin-left: 0.6rem;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.site-nav a.nav-cta:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.site-nav a.nav-cta[aria-current="page"] {
  box-shadow: none;
  border-radius: 4px;
  background: var(--accent-soft);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: transparent;
  color: var(--heading);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s, background-color 0.2s;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -5px;
}

.nav-toggle-bars::after {
  top: 5px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 1023.98px) {
  .site-nav a {
    padding-inline: 0.6rem;
  }
}

@media (max-width: 899.98px) {
  :root {
    --header-h: 4.25rem;
  }

  .site-header {
    --logo-h: 48px;
  }

  .header-inner {
    flex-wrap: wrap;
    row-gap: 0;
    min-height: 0;
  }

  .brand {
    min-height: var(--header-h);
  }

  .site-nav {
    flex-basis: 100%;
  }

  .site-nav ul {
    flex-wrap: wrap;
    padding-bottom: 0.75rem;
  }

  .site-nav a.nav-cta {
    margin-left: 0;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    display: none;
  }

  .js .site-nav[data-open="true"] {
    display: block;
  }

  .js .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.25rem 0 1.25rem;
  }

  .js .site-nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1rem;
  }

  .js .site-nav a[aria-current="page"] {
    padding-left: 0.85rem;
    box-shadow: inset 2px 0 0 var(--accent);
  }

  .js .site-nav a.nav-cta {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid var(--accent);
    border-radius: 4px;
    text-align: center;
  }

  .js .site-nav a.nav-cta[aria-current="page"] {
    padding-left: 1rem;
    box-shadow: none;
  }
}

/* ---------- Buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-strong);
  color: #fff;
}

.btn-secondary {
  border-color: var(--line-strong);
  color: var(--heading);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.dark .btn-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.dark .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.btn .arrow {
  transition: transform 0.15s;
}

.btn:hover .arrow {
  transform: translateX(2px);
}

/* ---------- Dark surfaces ---------- */

.dark {
  background: var(--ink-900);
  color: var(--text-on-dark);
}

.dark h1,
.dark h2,
.dark h3 {
  color: #fff;
}

.dark .eyebrow {
  color: var(--accent-on-dark);
}

.dark .lead {
  color: var(--soft-on-dark);
}

.dark .muted,
.dark .mono-label {
  color: var(--muted-on-dark);
}

.dark a:not(.btn) {
  color: var(--accent-on-dark);
}

.grid-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.grid-bg::before,
.grid-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.grid-bg::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 75% 10%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 90% at 75% 10%, #000 25%, transparent 75%);
}

.grid-bg::after {
  background: radial-gradient(42rem circle at 88% -10%, rgba(29, 99, 198, 0.3), transparent 62%);
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(4rem, 9vw, 7.5rem) clamp(3.5rem, 7vw, 6.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 1.5rem + 3.2vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 17ch;
}

.hero .lead {
  margin-bottom: 1.25rem;
}

.hero .sub {
  max-width: 38rem;
  color: var(--muted-on-dark);
}

@media (max-width: 959.98px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.page-hero {
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3rem, 5.5vw, 4.75rem);
}

.page-hero h1 {
  font-size: clamp(2.1rem, 1.45rem + 2.6vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
  max-width: 22ch;
}

/* ---------- Lifecycle panel ---------- */

.panel {
  padding: 1.5rem 1.6rem 1.6rem;
  background: rgba(16, 28, 49, 0.78);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  box-shadow: 0 32px 64px -32px rgba(0, 0, 0, 0.7);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-dark);
}

.panel-head .dots {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.panel-head .dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.panel-head .dots span:first-child {
  background: var(--accent-on-dark);
}

.lifecycle {
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.lifecycle li {
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 1rem;
  padding-bottom: 1.15rem;
}

.lifecycle li:last-child {
  padding-bottom: 0;
}

.lifecycle li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(130, 182, 255, 0.4);
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--accent-on-dark);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.lifecycle li::after {
  content: "";
  position: absolute;
  top: 2.25rem;
  bottom: 0;
  left: calc(1.125rem - 0.5px);
  width: 1px;
  background: linear-gradient(rgba(130, 182, 255, 0.45), rgba(130, 182, 255, 0.08));
}

.lifecycle li:last-child::after {
  display: none;
}

.lifecycle strong {
  display: block;
  margin-top: 0.1rem;
  color: #fff;
  font-weight: 600;
}

.lifecycle span {
  display: block;
  color: var(--muted-on-dark);
  font-size: 0.925rem;
  line-height: 1.5;
}

/* ---------- Keyword band ---------- */

.band {
  background: var(--ink-950);
  border-top: 1px solid var(--line-dark);
  color: var(--muted-on-dark);
}

.band ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0;
  padding: 1.15rem 0;
  list-style: none;
}

.band li {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.band li + li::before {
  content: "/";
  margin: 0 1rem;
  color: rgba(255, 255, 255, 0.22);
}

/* ---------- Sections & grids ---------- */

.section {
  padding-block: clamp(3.75rem, 7vw, 6.25rem);
}

.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-alt + .section-alt {
  border-top: 0;
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.075rem;
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head-row .section-head {
  margin-bottom: 0;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.cols-2,
.cols-3,
.cols-4 {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
  .cols-2,
  .cols-3,
  .cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gap-lg {
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

@media (max-width: 899.98px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

.split .section-head h2 {
  font-size: clamp(1.65rem, 1.3rem + 1.2vw, 2.2rem);
}

/* ---------- Issue columns ---------- */

.issue {
  padding-top: 1.35rem;
  border-top: 2px solid var(--heading);
}

.issue .mono-label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.issue p {
  color: var(--muted);
  font-size: 0.99rem;
}

/* ---------- Cards ---------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.card:hover,
.card:focus-within {
  border-color: var(--line-strong);
  box-shadow: 0 14px 32px -20px rgba(11, 20, 36, 0.3);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 0.925rem;
  font-weight: 600;
  text-decoration: none;
}

.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.card-link:focus-visible {
  outline: none;
}

.card:has(.card-link:focus-visible) {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.card-plain .checklist {
  margin-top: 0.25rem;
}

.card-plain .checklist li:last-child {
  margin-bottom: 0;
}

.card-plain .mono-label {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--accent);
}

/* ---------- Principles ---------- */

.principles {
  padding: 0;
  list-style: none;
  counter-reset: principle;
}

.principles li {
  counter-increment: principle;
}

.principles li::before {
  content: counter(principle, decimal-leading-zero);
  display: block;
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.principles p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Sector list ---------- */

.sectors {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.sectors li {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 0.5rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.sectors h3 {
  margin: 0;
}

.sectors h3 a {
  color: inherit;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}

.sectors p {
  color: var(--muted);
}

@media (max-width: 639.98px) {
  .sectors li {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- CTA ---------- */

.cta {
  padding-block: clamp(3.5rem, 6vw, 5rem);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta h2 {
  max-width: 24ch;
  margin-bottom: 0.5rem;
}

.cta p {
  max-width: 40rem;
  color: var(--soft-on-dark);
}

.cta .actions {
  margin-top: 0;
}

/* ---------- Capability detail ---------- */

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.25rem;
  padding: 0;
  list-style: none;
}

.jump a {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--soft-on-dark);
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.dark .jump a {
  color: var(--soft-on-dark);
}

.dark .jump a:hover {
  border-color: var(--accent-on-dark);
  color: #fff;
}

.cap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
  padding-block: clamp(3rem, 5.5vw, 4.75rem);
  border-top: 1px solid var(--line);
}

.cap:first-child {
  border-top: 0;
}

.cap-intro {
  align-self: start;
}

@media (min-width: 900px) {
  .cap-intro {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.cap-num {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.cap-num .card-icon {
  margin: 0;
}

.cap h2 {
  font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.1rem);
}

.cap-intro p {
  color: var(--muted);
}

.cap-lists {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 1.5rem 2rem;
}

@media (max-width: 899.98px) {
  .cap {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 699.98px) {
  .cap-lists {
    grid-template-columns: minmax(0, 1fr);
  }
}

.list-title {
  display: block;
  margin: 0 0 1rem;
}

.checklist {
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  margin-bottom: 0.7rem;
  padding-left: 1.45rem;
  font-size: 0.98rem;
  line-height: 1.55;
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0.1rem;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--accent);
}

.outcomes {
  align-self: start;
  padding: 1.35rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.outcomes .checklist li::before {
  top: 0.35em;
  left: 0.2rem;
  width: 0.35rem;
  height: 0.65rem;
  background: none;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
}

.outcomes .checklist li:last-child {
  margin-bottom: 0;
}

/* ---------- Tags ---------- */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 0.4rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--heading);
}

.note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Zone diagram ---------- */

.zones {
  margin: 0;
}

.zones ol {
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.zone {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.25rem;
  border-left: 4px solid var(--zone, var(--accent));
}

.zone + .zone {
  border-top: 1px solid var(--line);
}

.zone strong {
  display: block;
  color: var(--heading);
  font-weight: 600;
  line-height: 1.35;
}

.zone span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.zone .zone-tag {
  display: inline-block;
  justify-self: start;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  background: var(--zone-soft, var(--accent-soft));
  color: var(--zone, var(--accent));
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zone-it {
  --zone: var(--accent);
  --zone-soft: var(--accent-soft);
}

.zone-dmz {
  --zone: var(--amber);
  --zone-soft: var(--amber-soft);
}

.zone-ot {
  --zone: var(--teal);
  --zone-soft: var(--teal-soft);
}

.conduit {
  padding: 0.45rem 1.25rem 0.45rem calc(1.25rem + 4px + 5.5rem);
  background: repeating-linear-gradient(90deg, var(--surface) 0 8px, #edf0f4 8px 16px);
  border-block: 1px dashed var(--line-strong);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.zones figcaption {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.875rem;
}

@media (max-width: 479.98px) {
  .zone {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }

  .conduit {
    padding-left: calc(1.25rem + 4px);
  }
}

.focus-list {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.focus-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.focus-list h3 {
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.focus-list p {
  color: var(--muted);
  font-size: 0.97rem;
}

.env-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  list-style: none;
}

.env-list li {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--heading);
}

/* ---------- Facts / About ---------- */

.facts {
  margin: 0;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.facts div {
  display: grid;
  grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr);
  gap: 0.25rem 1.25rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.facts div:first-child {
  padding-top: 0;
}

.facts div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.facts dt {
  padding-top: 0.2rem;
}

.facts dd {
  margin: 0;
  color: var(--heading);
  font-weight: 500;
}

@media (max-width: 479.98px) {
  .facts div {
    grid-template-columns: minmax(0, 1fr);
  }
}

.prose p {
  max-width: 40rem;
}

.prose p + p {
  margin-top: 0;
}

/* ---------- Contact ---------- */

.email-card {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
}

.email-card + .facts {
  margin-top: 1.25rem;
}

.contact-heading {
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.9rem);
}

.email-address {
  display: inline-block;
  margin: 0.5rem 0 1.5rem;
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem);
  font-weight: 650;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.email-address:hover {
  text-decoration: underline;
}

.email-card .actions {
  margin-top: 0;
}

.notice {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  background: var(--amber-soft);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
}

.notice strong {
  color: var(--heading);
}

.include-list {
  padding: 0;
  list-style: none;
  counter-reset: inc;
  border-top: 1px solid var(--line);
}

.include-list li {
  counter-increment: inc;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.include-list li::before {
  content: counter(inc, decimal-leading-zero);
  padding-top: 0.15rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.include-list strong {
  display: block;
  color: var(--heading);
  font-weight: 600;
}

.include-list span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */

.site-footer {
  --logo-h: 52px;
  padding-block: 3.5rem 2rem;
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.925rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
}

@media (max-width: 767.98px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

.footer-about p {
  max-width: 26rem;
  margin-top: 1rem;
}

.footer-title {
  margin: 0 0 1rem;
  color: var(--heading);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.5rem;
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

/* ---------- Error page ---------- */

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

/* ---------- Motion / print ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .site-header,
  .skip-link,
  .nav-toggle,
  .cta,
  .band {
    display: none !important;
  }

  .dark,
  .site-footer {
    background: none !important;
    color: #000 !important;
  }

  .dark h1,
  .dark h2,
  .dark h3,
  .dark .lead,
  .lifecycle strong {
    color: #000 !important;
  }

  .grid-bg::before,
  .grid-bg::after {
    display: none;
  }
}
