/* Datum Defence Group — site styles
   Concept: two surfaces. "Field" (ink) carries imagery and motion.
   "Sheet" (bone) carries the written work, set like an engineering drawing. */

:root {
  --ink: #15181B;
  --ink-2: #1F2327;
  --line-dark: #333A40;
  --bone: #EFEDE6;
  --bone-2: #E2DFD5;
  --paper: #F8F7F3;
  --steel: #5E656B;
  --steel-light: #9AA1A7;
  --signal: #D4541F;
  --signal-dark: #B5441A;
  --signal-light: #E0632E;

  --font-sans: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
}

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

html {
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-stretch: 100%;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--signal); color: #fff; padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

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

h1, h2, .display {
  margin: 0;
  font-stretch: 125%;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.005em;
}
h1 { font-weight: 700; font-size: clamp(2.5rem, 6.2vw, 5.6rem); }
h2 { font-weight: 600; font-size: clamp(1.85rem, 3.7vw, 3.1rem); }
h3 { margin: 0 0 0.5em; font-weight: 600; font-size: 1.3125rem; line-height: 1.25; }
h4 { margin: 0 0 0.4em; font-weight: 600; font-size: 1.0625rem; }

p { margin: 0 0 1.1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }
.lede { font-size: clamp(1.125rem, 1.55vw, 1.3125rem); line-height: 1.55; }
.muted { color: var(--steel); }
.on-ink .muted, .section--ink .muted, .section--graphite .muted { color: var(--steel-light); }
.mono { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.02em; }
.small { font-size: 0.9375rem; }

ul.plain { list-style: none; margin: 0; padding: 0; }
ul.ticks { list-style: none; margin: 0 0 1.2em; padding: 0; }
ul.ticks li { position: relative; padding-left: 26px; margin-bottom: 0.55em; max-width: 64ch; }
ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 10px; height: 10px; border: 2px solid currentColor;
}

/* Placeholders the owner still needs to supply */
.tbc {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: rgba(212, 84, 31, 0.14);
  outline: 1px dashed var(--signal);
  padding: 0 0.3em;
  white-space: nowrap;
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  font: 600 0.9375rem/1.2 var(--font-sans);
  text-decoration: none; color: inherit;
  background: transparent; border: 1.5px solid currentColor;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { text-decoration: none; background: rgba(127, 127, 127, 0.14); }
.btn--primary { background: var(--signal); border-color: var(--signal); color: #fff; }
.btn--primary:hover { background: var(--signal-dark); border-color: var(--signal-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }

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

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--bone);
  transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: var(--ink); border-bottom-color: var(--line-dark); }

.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand svg { width: 30px; height: 37px; }
.brand-name { display: block; font-stretch: 125%; font-weight: 700; font-size: 1.25rem; letter-spacing: 0.06em; line-height: 1; }
.brand-sub { display: block; margin-top: 6px; font-family: var(--font-mono); font-weight: 600; font-size: 0.6875rem; letter-spacing: 0.22em; color: #fff; }

.menu { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu a { text-decoration: none; font-size: 0.9375rem; font-weight: 500; opacity: 0.86; }
.menu a:hover, .menu a[aria-current="page"] { opacity: 1; }
.menu > li > a[aria-current="page"] { box-shadow: 0 2px 0 var(--signal); }
.menu .btn { opacity: 1; min-height: 42px; padding: 8px 18px; }

.has-sub > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
.sub {
  position: absolute; top: calc(100% + 18px); left: -20px; min-width: 280px;
  list-style: none; margin: 0; padding: 10px 0;
  background: var(--ink); border: 1px solid var(--line-dark);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 20px; }
.sub a:hover { background: var(--ink-2); }
.sub small { display: block; font-size: 0.8125rem; color: var(--steel-light); font-weight: 400; margin-top: 2px; }

.lang {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em;
  border: 1px solid rgba(239, 237, 230, 0.4); padding: 6px 9px; opacity: 1 !important;
}

.menu-toggle {
  display: none; background: none; border: 1.5px solid rgba(239, 237, 230, 0.5);
  color: inherit; width: 46px; height: 42px; cursor: pointer; padding: 0;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto; position: relative;
  transition: transform .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
  .menu-toggle { display: block; }
  .menu {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 40px; overflow-y: auto;
    display: none;
  }
  .menu.is-open { display: flex; }
  .menu > li { border-bottom: 1px solid var(--line-dark); }
  .menu > li > a { display: block; padding: 16px 0; font-size: 1.125rem; }
  .menu > li > a[aria-current="page"] { box-shadow: none; color: var(--signal-light); }
  .has-sub > a::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding: 0 0 12px; min-width: 0; background: none; }
  .sub a { padding: 8px 0 8px 16px; }
  .menu > li.menu-cta { border: 0; padding-top: 24px; }
  .menu .btn { width: 100%; min-height: 52px; }
  .menu > li.menu-lang { border: 0; padding-top: 16px; }
  body.nav-open { overflow: hidden; }
}

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

.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: min(100vh, 920px);
  padding: calc(var(--header-h) + 72px) 0 clamp(48px, 8vh, 88px);
  background: var(--ink); color: var(--bone);
}
.hero--page { min-height: min(72vh, 640px); }
.hero--short { min-height: 0; padding-top: calc(var(--header-h) + 88px); }

.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21,24,27,.7) 0%, rgba(21,24,27,.15) 38%, rgba(21,24,27,.92) 100%);
}
.hero__drawing { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero__drawing .g { stroke: rgba(239,237,230,.05); stroke-width: 1; }
.hero__drawing .ln { stroke: rgba(239,237,230,.42); stroke-width: 1.5; fill: none; }
.hero__drawing .thin { stroke: rgba(239,237,230,.26); stroke-width: 1; fill: none; }
.hero__drawing .ctr { stroke: rgba(239,237,230,.22); stroke-width: 1; stroke-dasharray: 18 5 3 5; fill: none; }
.hero__drawing .sig { fill: var(--signal-light); }
.hero__drawing text { fill: rgba(239,237,230,.55); font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; }
.hero__drawing .draw { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 2.4s cubic-bezier(.6,0,.2,1) forwards; }
.hero__drawing .d2 { animation-delay: .5s; }
.hero__drawing .d3 { animation-delay: 1s; }
.hero__drawing .fade { opacity: 0; animation: fade .8s ease forwards 1.8s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: end; }
.hero h1 { max-width: 15ch; }
.hero--home h1 { max-width: 11ch; font-size: clamp(2.5rem, 6vw, 5.2rem); }
.hero--page h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); max-width: 18ch; }
.hero__lede { margin-top: 28px; max-width: 54ch; color: rgba(239, 237, 230, 0.86); }
.hero .crumb { margin-bottom: 20px; font-size: 0.875rem; color: var(--steel-light); }
.hero .crumb a { color: var(--bone); }

.readout {
  margin: 0; font-family: var(--font-mono); font-size: 0.75rem; line-height: 2;
  color: rgba(239, 237, 230, 0.72); white-space: pre;
  border-left: 1px solid rgba(239, 237, 230, 0.3); padding-left: 20px;
}
.readout b { color: var(--signal-light); font-weight: 500; }

@media (max-width: 1100px) {
  .hero__drawing :not(.g) { display: none; }
}
@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; }
  .readout { display: none; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(72px, 10vw, 136px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--ink { background: var(--ink); color: var(--bone); }
.section--graphite { background: var(--ink-2); color: var(--bone); }
.section--paper { background: var(--paper); }
.section--sheet {
  background-color: var(--bone);
  background-image:
    linear-gradient(rgba(21,24,27,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,24,27,.045) 1px, transparent 1px);
  background-size: 48px 48px;
}

.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head p { margin: 0; }
.section-head--stack { grid-template-columns: 1fr; align-items: start; }
.section-head--stack h2 { max-width: 20ch; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split h2 { max-width: 14ch; }
.sticky { position: sticky; top: calc(var(--header-h) + 32px); }

.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.col-rule { border-top: 2px solid currentColor; padding-top: 22px; }
.section--ink .col-rule, .section--graphite .col-rule { border-top-color: rgba(239,237,230,.55); }

@media (max-width: 900px) {
  .section-head, .split, .split--even, .cols-3, .cols-2 { grid-template-columns: 1fr; }
  .sticky { position: static; }
}

/* Datum rule: the brand's benchmark line */
.datum-rule { display: flex; align-items: flex-end; height: 22px; margin: 0 0 36px; }
.datum-rule::before {
  content: ""; width: 24px; height: 20px; flex-shrink: 0; background: var(--signal);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.datum-rule::after { content: ""; flex: 1; height: 2px; background: currentColor; opacity: .5; }

/* ---------- Reference list (services keyed A, B, C like datum references) ---------- */

.refs { border-top: 2px solid currentColor; }
.ref {
  display: grid; grid-template-columns: 64px minmax(0, 4fr) minmax(0, 6fr) minmax(0, 2.2fr);
  gap: 16px 36px; padding: 36px 0; align-items: start;
  border-bottom: 1px solid rgba(21, 24, 27, 0.2);
}
.section--ink .ref, .section--graphite .ref { border-bottom-color: rgba(239,237,230,.2); }
.ref__key {
  width: 52px; height: 52px; display: grid; place-items: center;
  border: 3px solid currentColor;
  font-stretch: 125%; font-weight: 700; font-size: 1.375rem; line-height: 1;
}
.ref h3 { margin: 10px 0 6px; font-size: 1.5rem; }
.ref .ref__tag { font-size: 0.9375rem; color: var(--steel); }
.section--ink .ref .ref__tag { color: var(--steel-light); }
.ref__body p { margin-top: 8px; }
.ref__cta { padding-top: 10px; justify-self: end; text-align: right; }
@media (max-width: 900px) {
  .ref { grid-template-columns: 52px minmax(0, 1fr); }
  .ref__body, .ref__cta { grid-column: 2; }
  .ref__cta { padding-top: 0; justify-self: start; text-align: left; }
}

/* ---------- Media slots (placeholders for photography / footage) ---------- */

.media-slot {
  position: relative; min-height: 240px; overflow: hidden;
  background-color: var(--ink-2);
  background-image: repeating-linear-gradient(135deg, rgba(239,237,230,.07) 0 1px, transparent 1px 12px);
  color: var(--steel-light);
}
.media-slot--light {
  background-color: var(--bone-2);
  background-image: repeating-linear-gradient(135deg, rgba(21,24,27,.08) 0 1px, transparent 1px 12px);
  color: var(--steel);
}
.media-slot__note { display: none; position: absolute; left: 16px; top: 14px; right: 16px; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.04em; }
.media-slot img, .media-slot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ratio-16x9 { aspect-ratio: 16 / 9; min-height: 0; }
.ratio-4x3 { aspect-ratio: 4 / 3; min-height: 0; }
.ratio-4x5 { aspect-ratio: 4 / 5; min-height: 0; }

/* ---------- System tiles (sector grid) ---------- */

.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tile {
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
  grid-column: span 2; min-height: 300px;
  color: var(--bone); background: var(--ink-2); text-decoration: none;
}
.tile--tall { grid-row: span 2; min-height: 612px; }
.tile--wide { grid-column: span 4; }
.tile--half { grid-column: span 3; }
.tile .media-slot { position: absolute; inset: 0; min-height: 0; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.tile:hover .media-slot { transform: scale(1.03); }
.tile__label {
  position: relative; z-index: 1; width: 100%; padding: 56px 24px 22px;
  background: linear-gradient(180deg, transparent, rgba(21,24,27,.9));
}
.tile__label h3 { margin: 0; font-size: 1.375rem; }
.tile__label p { margin: 6px 0 0; font-size: 0.9375rem; color: rgba(239,237,230,.78); }
@media (max-width: 900px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile, .tile--wide, .tile--half { grid-column: span 2; }
  .tile--tall { grid-row: auto; min-height: 380px; }
}

/* ---------- Steps (genuine sequences only) ---------- */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 2px solid currentColor; }
.steps > li {
  counter-increment: step;
  display: grid; grid-template-columns: 96px minmax(0, 4fr) minmax(0, 6fr); gap: 12px 36px;
  padding: 32px 0; border-bottom: 1px solid rgba(21,24,27,.2);
}
.section--ink .steps > li, .section--graphite .steps > li { border-bottom-color: rgba(239,237,230,.2); }
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  font-stretch: 125%; font-weight: 700; font-size: 2.25rem; line-height: 1; color: var(--signal);
}
.steps h3 { margin-top: 4px; }
.steps--compact > li { grid-template-columns: 72px minmax(0, 1fr); }
.steps--compact > li::before { font-size: 1.75rem; }
@media (max-width: 900px) {
  .steps > li { grid-template-columns: 64px minmax(0, 1fr); }
  .steps > li > div:last-child { grid-column: 2; }
  .steps > li::before { font-size: 1.75rem; }
}

.steps--row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.steps--row > li { display: block; padding: 28px 0 0; border-bottom: 0; }
.steps--row > li::before { display: block; margin-bottom: 18px; font-size: 2rem; }
@media (max-width: 900px) {
  .steps--row { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .steps--row > li { padding-bottom: 24px; }
}
@media (max-width: 520px) { .steps--row { grid-template-columns: 1fr; } }

/* ---------- Spec callouts ---------- */

.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid currentColor; }
.spec { padding: 28px 28px 28px 0; border-right: 1px solid rgba(21,24,27,.2); }
.spec + .spec { padding-left: 28px; }
.spec:last-child { border-right: 0; }
.section--ink .spec, .section--graphite .spec { border-right-color: rgba(239,237,230,.2); }
.spec__num { display: block; font-stretch: 125%; font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.75rem); line-height: 0.95; }
.spec__num small { font-size: 0.4em; font-weight: 600; margin-left: 4px; }
.spec__label { display: block; margin-top: 10px; font-size: 0.9375rem; }
@media (max-width: 760px) {
  .specs { grid-template-columns: 1fr; }
  .spec, .spec + .spec { padding: 24px 0; border-right: 0; border-bottom: 1px solid rgba(21,24,27,.2); }
}

/* ---------- Before / after ---------- */

.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.compare__col { padding: 28px; background: var(--paper); border: 1px solid rgba(21,24,27,.18); }
.compare__col--after { border: 0; border-left: 4px solid var(--signal); background: #fff; }
.compare__col h4 { font-size: 0.9375rem; color: var(--steel); margin-bottom: 14px; }
.compare__col blockquote { margin: 0; font-size: 1.0625rem; }
.compare__col--before blockquote { color: #4a4f54; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Tables ---------- */

.table-wrap { overflow-x: auto; border-top: 2px solid currentColor; }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 680px; }
th, td { text-align: left; vertical-align: top; padding: 16px 16px 16px 0; border-bottom: 1px solid rgba(21,24,27,.2); }
th { font-weight: 600; font-size: 0.875rem; color: var(--steel); }
td:first-child { font-weight: 600; width: 18%; }
.priority { display: inline-block; font-size: 0.8125rem; font-weight: 600; padding: 2px 8px; border: 1.5px solid currentColor; }
.priority--high { color: var(--signal-dark); }

/* ---------- FAQ ---------- */

.faq { border-top: 2px solid currentColor; }
.faq details { border-bottom: 1px solid rgba(21,24,27,.2); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 24px 56px 24px 0; font-weight: 600; font-size: 1.1875rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 28px; max-width: 70ch; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 24px; }

/* ---------- Forms ---------- */

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: 0.9375rem; }
.field .hint { font-size: 0.875rem; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-sans); color: var(--ink);
  background: #fff; border: 1.5px solid rgba(21,24,27,.55); border-radius: 0;
  padding: 13px 14px; min-height: 50px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--signal); outline-offset: 1px; border-color: var(--ink); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--signal); flex-shrink: 0; }
.form-note { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-left: 4px solid var(--signal); background: #fff; font-size: 0.9375rem; display: none; }
.form-note.is-visible { display: block; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }

.panel { background: #fff; border: 1px solid rgba(21,24,27,.16); padding: clamp(24px, 4vw, 44px); }
.notice { border-left: 4px solid var(--signal); padding: 18px 22px; background: var(--paper); }
.section--ink .notice, .section--graphite .notice { background: var(--ink-2); }

/* ---------- Prose (articles, policies) ---------- */

.prose { max-width: 72ch; }
.prose h2 { font-stretch: 100%; text-transform: none; font-size: 1.625rem; line-height: 1.25; letter-spacing: 0; margin: 2.2em 0 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1875rem; margin: 1.8em 0 0.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 3px solid var(--signal); }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; font-size: 0.9375rem; color: var(--steel-light); }

.toc { font-size: 0.9375rem; }
.toc a { display: block; padding: 8px 0; text-decoration: none; border-bottom: 1px solid rgba(21,24,27,.14); }
.toc a:hover { color: var(--signal-dark); }

/* ---------- Insights list ---------- */

.post-list { border-top: 2px solid currentColor; }
.post {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr) auto; gap: 16px 40px;
  padding: 32px 0; border-bottom: 1px solid rgba(21,24,27,.2); text-decoration: none; align-items: baseline;
}
.post:hover h3 { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.post h3 { font-size: 1.5rem; margin: 0 0 8px; }
.post .post__meta { font-size: 0.9375rem; color: var(--steel); }
@media (max-width: 800px) { .post { grid-template-columns: 1fr; } }

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

.cta-band { background: var(--ink); color: var(--bone); padding: clamp(72px, 9vw, 120px) 0; }
.cta-band h2 { max-width: 18ch; }
.cta-band .lede { margin-top: 20px; color: rgba(239,237,230,.82); }

/* ---------- Footer: drawing title block ---------- */

.site-footer { background: var(--ink); color: var(--bone); padding: 72px 0 32px; border-top: 1px solid var(--line-dark); }
.footer-top { display: grid; grid-template-columns: minmax(0, 3fr) repeat(4, minmax(0, 2fr)); gap: 40px; }
.footer-top h4 { font-size: 0.875rem; color: var(--steel-light); font-weight: 500; margin-bottom: 14px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin-bottom: 9px; }
.footer-top a { text-decoration: none; font-size: 0.9375rem; opacity: .88; }
.footer-top a:hover { opacity: 1; text-decoration: underline; }
.footer-about p { font-size: 0.9375rem; color: rgba(239,237,230,.72); max-width: 34ch; margin-top: 20px; }

.title-block {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 64px; border: 1.5px solid rgba(239,237,230,.38);
}
.title-block > div { padding: 12px 14px; border-right: 1px solid rgba(239,237,230,.22); min-width: 0; }
.title-block > div:last-child { border-right: 0; }
.tb-label { display: block; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em; color: var(--steel-light); margin-bottom: 6px; }
.tb-value { display: block; font-size: 0.875rem; overflow-wrap: anywhere; }

.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 24px; font-size: 0.8125rem; color: rgba(239,237,230,.6); }
.footer-base p { margin: 0; max-width: 80ch; }

@media (max-width: 1000px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .title-block { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .title-block > div { border-bottom: 1px solid rgba(239,237,230,.22); }
  .title-block > div:nth-child(2n) { border-right: 0; }
}

/* ---------- Utilities ---------- */

.mt-0 { margin-top: 0; } .mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 64px; }
.mb-m { margin-bottom: 32px; }
.max-40 { max-width: 40ch; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__drawing .draw { stroke-dashoffset: 0; }
  .hero__drawing .fade { opacity: 1; }
  .hero__media video { display: none; }
}
