/* K9 Share, marketing site.
   Direction: a notarised-archive look. Deep navy ink, archival paper, a teal seal
   and brass rules. Serif display type, monospaced labels. System fonts only. */

:root {
  --ink: #06121f;
  --navy: #0a1b2e;
  --navy-2: #102840;
  --navy-3: #1a3652;
  --line-dark: rgba(190, 215, 230, 0.16);
  --line-paper: rgba(10, 27, 46, 0.16);
  --teal: #5be3cf;
  --teal-deep: #0b6b65;
  --brass: #d4a85f;
  --brass-deep: #7a5a1f;
  --paper: #f3efe6;
  --sand: #e9e2d2;
  --on-dark: #e8f0f5;
  --muted-dark: #a9bdcb;
  --on-paper: #0a1b2e;
  --muted-paper: #44566a;

  --f-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "Noto Serif", Georgia, serif;
  --f-body: "Avenir Next", "Segoe UI", "Helvetica Neue", "Noto Sans", Roboto, sans-serif;
  --f-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --f-ar: "Geeza Pro", "Segoe UI", "Noto Naskh Arabic", "Noto Sans Arabic", Tahoma, sans-serif;

  --gutter: 20px;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--on-dark);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 3px; }
.paper :focus-visible, .sand :focus-visible { outline-color: var(--teal-deep); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--teal); color: var(--ink); padding: 10px 16px; font-weight: 700; border-radius: 6px;
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  font: 700 0.98rem/1 var(--f-body); letter-spacing: 0.01em;
  text-decoration: none; border-radius: 999px; border: 2px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: var(--ink); }
.btn-primary:hover { background: #8cf0e0; }
.btn-ghost { border-color: rgba(232, 240, 245, 0.45); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--on-dark); background: rgba(232, 240, 245, 0.08); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 18, 31, 0.86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-inline-end: auto; }
.brand-name { font: 700 1.2rem/1 var(--f-display); letter-spacing: 0.01em; }
.brand-name span { color: var(--teal); }
.mark-bg { fill: var(--navy-2); stroke: var(--line-dark); stroke-width: 1; }
.mark-k { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mark-n { fill: var(--brass); }
.nav { display: flex; gap: 6px; order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  white-space: nowrap; text-decoration: none; font-size: 0.92rem; color: var(--muted-dark);
  padding: 8px 12px; border-radius: 999px; transition: color 0.15s, background-color 0.15s;
}
.nav a:hover { color: var(--on-dark); background: rgba(232, 240, 245, 0.08); }
.bar-cta { display: flex; align-items: center; gap: 14px; }
.link-quiet { text-decoration: none; font-weight: 600; font-size: 0.92rem; padding: 8px 4px; border-bottom: 2px solid transparent; }
.link-quiet:hover { border-bottom-color: var(--brass); }
@media (max-width: 439px) { .bar-cta .link-quiet { display: none; } }

@media (min-width: 900px) {
  .nav { order: 0; width: auto; margin-inline: auto; overflow: visible; padding: 0; }
  .brand { margin-inline-end: 0; }
  .bar { flex-wrap: nowrap; padding-block: 12px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 96px);
  background:
    radial-gradient(900px 520px at 85% 8%, rgba(91, 227, 207, 0.17), transparent 62%),
    radial-gradient(700px 500px at -5% 105%, rgba(212, 168, 95, 0.11), transparent 60%),
    linear-gradient(180deg, var(--ink), var(--navy));
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  opacity: 0.55;
}
.hero-grid { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 40px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 0.78rem/1.2 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass);
  margin-bottom: 22px;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(91, 227, 207, 0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(91, 227, 207, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 227, 207, 0); } }

h1 {
  font: 600 clamp(2.7rem, 8.2vw, 5.4rem)/1.0 var(--f-display);
  letter-spacing: -0.02em; color: #fff;
}
h1 em { font-style: italic; color: var(--teal); font-weight: 500; }
.hero-ar { margin-top: 22px; }
.hero-ar span {
  display: inline-block; font: 500 clamp(1.25rem, 3.4vw, 1.7rem)/1.5 var(--f-ar); color: var(--brass);
  padding-inline-start: 16px; border-inline-start: 3px solid var(--brass);
}
.lede { margin-top: 24px; max-width: 34em; font-size: 1.15rem; color: var(--muted-dark); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.cta-center { justify-content: center; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; font: 500 0.8rem/1.3 var(--f-mono); color: var(--muted-dark); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 14px; height: 1px; background: var(--brass); }

/* load-in */
.rise { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.r2 { animation-delay: 0.08s; } .r3 { animation-delay: 0.18s; } .r4 { animation-delay: 0.3s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- Hero illustration ---------- */
.stage { position: relative; padding: 0 0 56px; }
.win {
  background: linear-gradient(180deg, var(--navy-2), #0d2238);
  border: 1px solid var(--line-dark); border-radius: 14px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(91, 227, 207, 0.06);
  overflow: hidden;
}
.win-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-dark); background: rgba(6, 18, 31, 0.5); }
.win-title { font: 500 0.82rem/1 var(--f-mono); color: var(--muted-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.presence { display: flex; flex-shrink: 0; }
.av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 0.72rem/1 var(--f-body); font-style: normal; border: 2px solid var(--navy-2); margin-inline-start: -7px; }
.av-a { background: var(--teal); color: var(--ink); }
.av-b { background: var(--brass); color: var(--ink); }
.av-c { background: var(--navy-3); color: var(--on-dark); }
.win-body { display: grid; grid-template-columns: 1fr; }
.win-side { display: none; padding: 16px 14px; border-inline-end: 1px solid var(--line-dark); background: rgba(6, 18, 31, 0.35); flex-direction: column; gap: 4px; }
.side-h { font: 500 0.66rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin-bottom: 8px; }
.side-i { font-size: 0.82rem; color: var(--muted-dark); padding: 7px 10px; border-radius: 7px; }
.side-i.is-on { background: rgba(91, 227, 207, 0.12); color: var(--teal); }
@media (min-width: 560px) { .win-body { grid-template-columns: 150px 1fr; } .win-side { display: flex; } }

.doc { display: flex; flex-direction: column; gap: 12px; padding: 24px 22px 30px; background: #f6f3ec; color: var(--ink); min-height: 270px; }
.doc-h { font: 700 1.45rem/1.15 var(--f-display); }
.doc-p { font: 0.9rem/1.65 var(--f-display); color: #243649; }
.doc-bar { display: block; height: 7px; border-radius: 4px; background: #d8d2c3; }
.w90 { width: 90%; } .w75 { width: 75%; } .w60 { width: 60%; }
.sel { position: relative; padding: 1px 2px; border-radius: 2px; }
.sel-a { background: rgba(91, 227, 207, 0.4); box-shadow: 0 0 0 2px rgba(11, 107, 101, 0.45); }
.sel-b { background: rgba(212, 168, 95, 0.4); box-shadow: 0 0 0 2px rgba(122, 90, 31, 0.45); }
.cur { position: absolute; right: -3px; top: -4px; width: 2px; height: calc(100% + 8px); }
.cur b {
  position: absolute; right: -2px; top: -17px; font: 700 0.62rem/1 var(--f-body); letter-spacing: 0.02em;
  padding: 3px 6px 3px 5px; border-radius: 4px 4px 4px 0; white-space: nowrap; color: var(--ink);
}
.cur-a { background: var(--teal-deep); animation: blink 1.1s steps(1) infinite; }
.cur-a b { background: var(--teal); }
.cur-b { background: var(--brass-deep); animation: blink 1.1s steps(1) 0.5s infinite; }
.cur-b b { background: var(--brass); }
@keyframes blink { 50% { opacity: 0.25; } }

.badge {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  font: 600 0.78rem/1 var(--f-body); padding: 10px 14px; border-radius: 999px;
  background: var(--ink); border: 1px solid var(--line-dark); color: var(--on-dark);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6);
  animation: float 6s ease-in-out infinite;
}
.badge-scan { right: -4px; top: 56px; }
.badge-enc { right: 6px; bottom: 6px; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-7px); } }
.tick { width: 16px; height: 16px; border-radius: 50%; background: var(--teal); position: relative; }
.tick::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 8px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.lock { width: 12px; height: 9px; border-radius: 2px; background: var(--brass); position: relative; margin-top: 5px; }
.lock::before { content: ""; position: absolute; left: 2px; top: -6px; width: 8px; height: 7px; border: 2px solid var(--brass); border-bottom: 0; border-radius: 5px 5px 0 0; }
.linkcard {
  position: absolute; left: -8px; bottom: 0; width: min(290px, 82%);
  background: var(--paper); color: var(--ink); border-radius: 12px; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 6px;
  border-top: 4px solid var(--brass);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.7);
}
.lc-k { font: 500 0.66rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-deep); }
.lc-url { font: 600 0.88rem/1.3 var(--f-mono); word-break: break-all; }
.lc-row { display: flex; justify-content: space-between; gap: 10px; font-size: 0.74rem; color: var(--muted-paper); font-weight: 600; }
@media (max-width: 520px) {
  .stage { padding-bottom: 0; }
  .badge-scan { right: 0; top: 46px; }
  .badge-enc { display: none; }
  .linkcard { position: relative; left: auto; bottom: auto; width: auto; margin: -22px 12px 0; }
}

/* ---------- Strip ---------- */
.strip { background: var(--ink); border-block: 1px solid var(--line-dark); }
.strip-list { display: grid; grid-template-columns: repeat(2, 1fr); }
.strip-list li { padding: 26px 8px 26px 0; display: flex; flex-direction: column; gap: 4px; border-inline-start: 1px solid var(--line-dark); padding-inline-start: 18px; }
.strip-list li:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
.strip-list strong { font: 600 clamp(1.5rem, 4vw, 2.1rem)/1.1 var(--f-display); color: var(--teal); }
.strip-list span { font: 500 0.74rem/1.3 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark); }
@media (min-width: 760px) {
  .strip-list { grid-template-columns: repeat(4, 1fr); }
  .strip-list li, .strip-list li:nth-child(odd) { border-inline-start: 1px solid var(--line-dark); padding-inline-start: 26px; }
  .strip-list li:first-child { border-inline-start: 0; padding-inline-start: 0; }
}

/* ---------- Sections ---------- */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.paper { background: var(--paper); color: var(--on-paper); }
.sand { background: var(--sand); color: var(--on-paper); }
.night { background: linear-gradient(180deg, var(--navy), var(--ink)); }
.kicker { font: 500 0.78rem/1.2 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 18px; }
.night .kicker, .residency .kicker { color: var(--brass); }
h2 { font: 600 clamp(1.9rem, 4.6vw, 3.15rem)/1.08 var(--f-display); letter-spacing: -0.015em; max-width: 18em; }
.sec-lede { margin-top: 20px; max-width: 36em; font-size: 1.1rem; color: var(--muted-paper); }
.night .sec-lede, .residency .sec-lede { color: var(--muted-dark); }

.split { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 0.9fr 1.1fr; gap: 72px; }
  .split-head { position: sticky; top: 110px; align-self: start; }
}
.ledger { counter-reset: n; border-top: 2px solid var(--on-paper); }
.ledger li { counter-increment: n; position: relative; padding: 28px 0 28px 64px; border-bottom: 1px solid var(--line-paper); transition: background-color 0.2s; }
.ledger li::before {
  content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 30px;
  font: 500 1.05rem/1 var(--f-mono); color: var(--brass-deep);
}
.ledger h3 { font: 600 1.4rem/1.2 var(--f-display); margin-bottom: 8px; }
.ledger p { color: var(--muted-paper); max-width: 34em; }

/* Find */
.find-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .find-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.ticks { margin-top: 28px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-inline-start: 34px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.4em; width: 18px; height: 10px; border: solid var(--teal-deep); border-width: 0 0 3px 3px; transform: rotate(-45deg) scale(0.9); }
.finder { background: var(--navy); border-radius: 16px; padding: 18px; box-shadow: 0 40px 70px -35px rgba(10, 27, 46, 0.7); color: var(--on-dark); display: grid; gap: 12px; }
.finder-q { display: flex; align-items: center; gap: 12px; background: var(--ink); border: 1px solid var(--teal); border-radius: 10px; padding: 14px 16px; }
.glass { width: 16px; height: 16px; border: 2px solid var(--teal); border-radius: 50%; position: relative; flex-shrink: 0; }
.glass::after { content: ""; position: absolute; width: 2px; height: 7px; background: var(--teal); right: -4px; bottom: -6px; transform: rotate(-45deg); }
.q-text { font: 500 1rem/1 var(--f-mono); }
.q-caret { width: 2px; height: 18px; background: var(--teal); animation: blink 1s steps(1) infinite; }
.hit { background: var(--navy-2); border-radius: 10px; padding: 14px 16px; display: grid; gap: 8px; border-inline-start: 3px solid var(--brass); }
.hit-name { font: 600 0.86rem/1.3 var(--f-mono); color: var(--on-dark); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.hit-name em { font: 500 0.66rem/1 var(--f-mono); font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); background: var(--brass); padding: 3px 7px; border-radius: 4px; }
.hit-text { color: var(--muted-dark); font-size: 0.95rem; line-height: 1.6; }
.hit-text[lang="ar"] { font-family: var(--f-ar); font-size: 1.05rem; }
.hit mark { background: rgba(91, 227, 207, 0.25); color: var(--teal); padding: 0 3px; border-radius: 3px; font-weight: 700; }

/* Security */
.sec-head { margin-bottom: 52px; }
.vault { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 16px; overflow: hidden; }
.vault li { background: var(--navy); padding: 30px 26px 34px; position: relative; transition: background-color 0.25s; }
.vault li:hover { background: var(--navy-2); }
.v-no { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--brass); color: var(--brass); font: 500 0.9rem/1 var(--f-mono); margin-bottom: 18px; }
.vault h3 { font: 600 1.35rem/1.2 var(--f-display); color: #fff; margin-bottom: 10px; }
.vault p { color: var(--muted-dark); font-size: 1rem; }
@media (min-width: 680px) { .vault { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .vault { grid-template-columns: repeat(3, 1fr); } }

/* Brand */
.brand-grid { display: grid; gap: 52px; align-items: center; }
@media (min-width: 900px) { .brand-grid { grid-template-columns: 1fr 1.05fr; gap: 72px; } }
.duo { display: grid; gap: 18px; }
@media (min-width: 560px) { .duo { grid-template-columns: 1fr 1fr; } }
.pane { background: #fff; border-radius: 14px; padding: 16px; display: grid; gap: 8px; border: 1px solid var(--line-paper); box-shadow: 0 30px 50px -30px rgba(10, 27, 46, 0.45); }
.pane-en { border-top: 5px solid var(--teal-deep); }
.pane-ar { border-top: 5px solid var(--brass); font-family: var(--f-ar); }
.pane-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.logo-box { display: grid; place-items: center; min-width: 54px; height: 40px; padding: 0 8px; border: 2px dashed var(--muted-paper); border-radius: 8px; font: 700 0.58rem/1.15 var(--f-mono); letter-spacing: 0.08em; color: var(--muted-paper); text-align: center; }
.pane-ar .logo-box { font: 700 0.85rem/1.15 var(--f-ar); letter-spacing: 0; }
.pane-url { font: 500 0.66rem/1 var(--f-mono); color: var(--muted-paper); }
.row { display: flex; align-items: center; gap: 10px; padding: 10px 10px; background: #f3efe6; border-radius: 8px; font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.row small { margin-inline-start: auto; font-size: 0.68rem; font-weight: 500; color: var(--muted-paper); white-space: nowrap; }
.ico { width: 18px; height: 22px; border-radius: 3px; background: var(--teal-deep); flex-shrink: 0; }
.pane-ar .ico { background: var(--brass-deep); }
.swatches { display: flex; gap: 6px; margin-top: 4px; }
.sw { width: 26px; height: 26px; border-radius: 50%; display: block; }
.sw-1 { background: var(--navy); } .sw-2 { background: var(--teal-deep); } .sw-3 { background: var(--brass); }
.ticks-dark li::before { border-color: var(--teal-deep); }

/* Residency */
.residency { background: radial-gradient(800px 420px at 12% 20%, rgba(91, 227, 207, 0.12), transparent 60%), var(--ink); }
.res-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .res-grid { grid-template-columns: 0.8fr 1.2fr; gap: 72px; } }
.res-coord {
  display: flex; flex-direction: column; gap: 6px; padding: 34px 28px; border: 1px solid var(--line-dark); border-radius: 16px;
  background:
    linear-gradient(var(--line-dark) 1px, transparent 1px) 0 0 / 100% 28px,
    var(--navy);
  position: relative;
}
.res-coord::before, .res-coord::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--brass); }
.res-coord::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.res-coord::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.coord-lat, .coord-lon { font: 500 clamp(1.7rem, 5vw, 2.5rem)/1.1 var(--f-mono); color: var(--teal); letter-spacing: -0.02em; }
.coord-name { margin-top: 12px; font: 600 1.3rem/1.2 var(--f-display); color: var(--brass); }

/* Closer */
.closer { background: var(--teal); color: var(--ink); padding-block: clamp(60px, 8vw, 100px); text-align: center; position: relative; overflow: hidden; }
.closer::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(6, 18, 31, 0.05) 0 2px, transparent 2px 22px); pointer-events: none; }
.closer-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.closer h2 { max-width: 16em; margin-inline: auto; }
.closer p { margin-top: 18px; max-width: 34em; font-size: 1.12rem; color: #0f2a3d; }
.closer .btn-primary { background: var(--ink); color: #fff; }
.closer .btn-primary:hover { background: var(--navy-3); }
.closer .btn-ghost { border-color: var(--ink); color: var(--ink); }
.closer .btn-ghost:hover { background: rgba(6, 18, 31, 0.1); border-color: var(--ink); }
.closer :focus-visible { outline-color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); border-top: 1px solid var(--line-dark); padding-block: 40px; }
.foot { display: grid; gap: 14px 32px; align-items: center; }
.foot p { color: var(--muted-dark); font-size: 0.92rem; }
.foot a { text-underline-offset: 3px; }
.foot .brand { color: var(--on-dark); }
@media (min-width: 820px) {
  .foot { grid-template-columns: auto 1fr auto auto; }
  .foot-contact { justify-self: end; }
}

/* 404 */
.nf { min-height: 70vh; display: grid; align-items: center; padding-block: 72px; background: radial-gradient(800px 480px at 80% 0%, rgba(91, 227, 207, 0.15), transparent 62%), var(--navy); }
.nf .kicker { color: var(--brass); }

/* ---------- Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .btn { border-color: ButtonText; }
}
@media print {
  .site-header, .stage { display: none; }
  body { background: #fff; color: #000; }
}
