/* GovernMark apex stub — Phase 0, pre-launch.
 * Direction C "Sealed Garnet" brand tokens.
 * Only layout classes used by index.html are defined here. */

:root {
  /* GovernMark brand tokens — Direction C "Sealed Garnet" */
  --bg:          #F6F3EC;   /* warm bone — archival paper */
  --panel:       #FCFAF4;   /* raised surface */
  --ink:         #1A1614;   /* warm near-black */
  --ink-soft:    #5E564E;
  --ink-mute:    #8C7E72;
  --primary:     #8A2F3B;   /* garnet / wax-seal red */
  --primary-fg:  #FFFFFF;
  --primary-soft:rgba(138,47,59,.10);
  --primary-ring:rgba(138,47,59,.28);
  --accent:      #C9A227;   /* antique gold — strict punctuation only */
  --line:        rgba(26,22,20,.10);
  --line-strong: rgba(26,22,20,.17);

  --font-display:'Source Serif 4', Georgia, serif;
  --font-ui:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:   'JetBrains Mono', ui-monospace, Menlo, monospace;

  --ease: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Warm paper grain */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Phase-0 line (verbatim substring: "Commercial activity has not commenced") ──
   Gilt-punctuation register per charter §4: garnet/gold are strict punctuation,
   never a large fill — so this is a quiet document-stock line, not a solid-garnet bar. */
.phase0-line {
  background: var(--panel);
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  text-align: center;
  padding: 8px clamp(16px, 5vw, 40px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .03em;
  position: relative; z-index: 100;
}
.phase0-line strong {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-right: 8px;
}

/* ── Hero background ── */
.stub-hero {
  position: fixed;
  inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.stub-hero img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}
/* Anti-washout garnet scrim — per charter §4 */
.stub-hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg,
      rgba(246,243,236,.96) 0%,
      rgba(246,243,236,.90) 30%,
      rgba(246,243,236,.82) 55%,
      rgba(138,47,59,.20) 80%,
      rgba(138,47,59,.38) 100%),
    linear-gradient(0deg, rgba(26,22,20,.12), transparent 45%);
}

/* ── Layout ── */
.stub-page {
  position: relative;
  z-index: 1;
}
.stub-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(48px, 8vh, 88px) 24px;
  position: relative; z-index: 1;
}
.stub-card {
  width: min(580px, 100%);
  text-align: center;
  position: relative;
  padding: 28px 32px 24px;
  background: rgba(246, 243, 236, 0.78);
  backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 4px;
}

/* Corner brackets — antique gold */
.stub-card::before, .stub-card::after {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0.7;
}
.stub-card::before { top: 0; left: 0; border-width: 1.5px 0 0 1.5px; }
.stub-card::after  { top: 0; right: 0; border-width: 1.5px 1.5px 0 0; }
.stub-card .corners {
  position: absolute; bottom: 0; left: 0; right: 0; height: 20px;
}
.stub-card .corners::before, .stub-card .corners::after {
  content: "";
  position: absolute; width: 20px; height: 20px;
  border-color: var(--accent); border-style: solid; opacity: 0.7;
}
.stub-card .corners::before { bottom: 0; left: 0;  border-width: 0 0 1.5px 1.5px; }
.stub-card .corners::after  { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }

/* ── Wordmark: "Govern" ink + "Mark" garnet, fading garnet rule ── */
.stub-wm {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
.wm-word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}
.wm-mark { color: var(--primary) }
.wm-rule {
  height: 3px;
  width: 76%;
  margin-top: .25em;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(138,47,59,0));
}

/* ── Stamp line ── */
.stub-stamp {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 18px;
}

/* ── Ornamental divider ── */
.stub-rule {
  width: 56px;
  height: 1.5px;
  background: var(--accent);
  margin: 0 auto 20px;
}
.stub-rule .pip {
  display: block;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  margin: -3px auto;
}

/* ── Headline ── */
.stub-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 3.2vw, 1.85rem);
  color: var(--ink);
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

/* ── Seal line (the big honest claim, in mono) ── */
.stub-seal-line {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-soft);
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  padding: 11px 14px;
  border-radius: 5px;
  margin-bottom: 20px;
  line-height: 1.55;
  text-align: left;
}

/* ── Body ── */
.stub-body {
  font-size: 0.97rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto 28px;
  line-height: 1.65;
}

/* ── Contact line ── */
.contact {
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: .01em;
  text-align: center;
  margin-bottom: 8px;
}
.contact a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.contact a:hover { color: var(--primary); border-color: var(--primary) }

@media (max-width: 440px) {
  .stub-card { padding: 24px 20px 20px }
}

/* ── Footer ── */
.stub-foot {
  text-align: center;
  padding: 28px 24px 24px;
  border-top: 1px solid var(--line);
  position: relative; z-index: 1;
}
.stub-foot .dba {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  margin: 0 0 10px;
}
.stub-foot .legal {
  font-size: 0.72rem;
  color: var(--ink-mute);
  max-width: 640px;
  margin: 0 auto 10px;
  line-height: 1.6;
}
.stub-foot .note {
  font-size: 0.72rem;
  color: var(--ink-mute);
  margin: 0;
}
