/* ═══════════════════════════════════════════════════════════════════════
   KATAR — PLATE I (stealth page, katarsecurity.io)
   Direction: museum weapons-catalog / engraved specimen plate — the same
   world as the marketing site (site-archive/marketing-v1-2026-09/), cut down
   to the rules this page uses. Values are copied verbatim; change them there
   and here together.
   No gradients, no glass, no drop-shadow cards — hairline rule, dimension
   line, and engraved linework are the only decoration this world permits.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --ground:    #0b0c0d;
  --ground-2:  #131416;
  --ink:       #e9e4d8;   /* engraving line — warm silver, not cold white */
  --ink-dim:   #948e80;
  --ink-faint: #5b564c;
  --rule:      rgba(233, 228, 216, 0.16);
  --rule-strong: rgba(233, 228, 216, 0.32);
  --accent:    #9c2b24;   /* wax-seal red */
  --accent-dim: #6b1f1a;

  --font-display: 'Newsreader', 'Iowan Old Style', serif;
  --font-body: 'Crimson Pro', 'Georgia', serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;

  --section-pad: 128px;
  --measure: 640px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--ground);
  color: var(--ink-dim);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    repeating-linear-gradient(0deg, rgba(233,228,216,0.015) 0px, rgba(233,228,216,0.015) 1px, transparent 1px, transparent 3px);
}

a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; transition: text-decoration-color .2s; }
a:hover { text-decoration-color: var(--accent); }
code {
  font-family: var(--font-mono);
  font-size: .82em;
  color: var(--ink);
  background: var(--ground-2);
  border: 1px solid var(--rule);
  padding: 1px 6px;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }

/* ─── PLATE FURNITURE — shared engraving vocabulary ─────────────────────── */

.plate-number {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--ink-faint);
  text-transform: uppercase;
  display: block;
  margin-bottom: 18px;
}
.plate-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.plate-title em { font-style: italic; color: var(--accent); font-weight: 500; }
.plate-caption {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-faint);
  letter-spacing: .03em;
  border-top: 1px solid var(--rule);
  padding-top: 10px;
  margin-top: 18px;
}
.plate-lead {
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: var(--measure);
  margin-bottom: 8px;
}
.plate-lead strong { color: var(--ink); font-weight: 600; }

/* Corner registration marks — every full plate carries them, like a print
   register mark confirming the plate aligned correctly on the press. */
.plate {
  position: relative;
  padding: var(--section-pad) 0;
}
.plate::before, .plate::after {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  border: 1px solid var(--rule);
  pointer-events: none;
}
.plate::before { top: 48px; left: 40px; border-right: none; border-bottom: none; }
.plate::after  { top: 48px; right: 40px; border-left: none; border-bottom: none; }
@media (max-width: 700px) { .plate::before, .plate::after { display: none; } }

/* ─── NAV — running head ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,12,13,0.92);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(6px);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 18px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
/* Height-constrained: the mark is ~1:2.3 (blade-up), so a fixed square box
   would squash it. The asset ships pre-whitened, so no brightness/invert
   filter is needed. */
.brand-mark { height: 24px; width: auto; flex-shrink: 0; opacity: .92; }
.brand-name {
  font-family: var(--font-mono); font-weight: 700; letter-spacing: .22em;
  color: var(--ink); font-size: 13px;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-faint); text-decoration: none; border-bottom: 1px solid transparent;
}
.nav-links a::before { content: '\00A7\2009'; color: var(--ink-faint); }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.nav-gh { color: var(--accent) !important; }

/* ─── HERO — PLATE I ──────────────────────────────────────────────────────── */
.hero { padding: 70px 0 96px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-figure { position: relative; }
.dagger-logo-img {
  width: 100%; max-width: 460px; height: auto; display: block; margin: 40px auto;
  filter: opacity(0.95) drop-shadow(0 0 26px rgba(156,43,36,0.18));
}
.hero-copy { padding-top: 8px; }
.hero-fig-caption {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint);
  margin-top: 14px; letter-spacing: .02em; border-top: 1px solid var(--rule); padding-top: 10px;
}
.hero-h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.012em;
  margin-bottom: 24px;
}
.hero-h1 em { color: var(--accent); font-style: italic; font-weight: 500; }
.hero-sub { font-size: 18px; line-height: 1.7; color: var(--ink-dim); max-width: 46ch; margin-bottom: 34px; }

.stamp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  padding: 13px 22px;
  border: 1px solid var(--rule-strong);
  border-radius: 100px;
  transition: border-color .2s, color .2s, background .2s;
}
.stamp-btn:hover { border-color: var(--accent); color: var(--ink); }
.stamp-primary {
  border-color: var(--accent);
  color: var(--ink);
  background: rgba(156,43,36,0.12);
}
.stamp-primary:hover { background: rgba(156,43,36,0.22); }
.stamp-ring { width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; flex-shrink: 0; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hallmarks { display: flex; gap: 0; border-top: 1px solid var(--rule); padding-top: 20px; flex-wrap: wrap; }
.hallmark { flex: 1; min-width: 120px; padding-right: 20px; }
.hallmark strong { display: block; font-family: var(--font-mono); font-size: 20px; color: var(--ink); font-weight: 700; }
.hallmark span { display: block; font-size: 11.5px; font-family: var(--font-mono); color: var(--ink-faint); letter-spacing: .03em; margin-top: 3px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}


/* ─── COLOPHON ─────────────────────────────────────────────────────────────── */
.colophon { border-top: 1px solid var(--rule-strong); background: var(--ground-2); }
.colophon-inner { padding: 70px 0; }
.colophon-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 20px; }
.colophon-lead { font-size: 19px; color: var(--ink-dim); max-width: 56ch; margin-bottom: 30px; line-height: 1.7; }
.colophon-lead strong { color: var(--ink); }
.colophon-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── PLATE INDEX (footer) ─────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--rule); padding: 50px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 50px; padding-bottom: 40px; }
.footer-brand p { font-size: 13.5px; color: var(--ink-faint); margin-top: 14px; line-height: 1.6; font-family: var(--font-mono); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-head { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.footer-cols a { display: block; padding: 4px 0; font-size: 13.5px; color: var(--ink-dim); text-decoration: none; font-family: var(--font-mono); }
.footer-cols a:hover { color: var(--ink); }
.footer-line { border-top: 1px solid var(--rule); padding: 16px 0; }
.footer-line-inner { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr; gap: 26px; } }

/* ─── REVEAL ON SCROLL ───────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-up { opacity: 0; transform: translateY(16px); transition: opacity .6s ease var(--d, 0s), transform .6s ease var(--d, 0s); }
.in-view .reveal-up, .reveal-up.in-view { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  :root { --section-pad: 72px; }
  .container { padding: 0 22px; }
  .nav-inner { padding: 14px 22px; }
  .nav-links a:not(.nav-gh) { display: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .reveal-up { opacity: 1 !important; transform: none !important; }
}
