/* ===============================================
   EMERON DESIGN SYSTEM
   Global government-technology platform company
   =============================================== */

:root {
  /* Color */
  --paper:        #FAF8F3;
  --paper-deep:   #F2EFE7;
  --ink:          #0F1419;
  --ink-soft:     #2A2F36;
  --mute:         #5E5E5E;
  --subtle:       #ADA89E;
  --rule:         #DDD7C8;
  --rule-soft:    #ECE8DC;
  --accent:       #A8642E;       /* institutional copper */
  --accent-deep:  #7A4515;
  --teal:         #0E5E5E;       /* technical accent */
  --teal-soft:    #E4EEED;
  --ink-rev:      #FAF8F3;
  --warn:         #B85A1C;
  --ok:           #4A7C4E;

  /* Type */
  --display: "Fraunces", "Iowan Old Style", "Palatino", Georgia, serif;
  --sans:    "Geist", "Inter", system-ui, -apple-system, sans-serif;
  --mono:    "JetBrains Mono", "SF Mono", Menlo, monospace;

  /* Scale */
  --pad-x: clamp(24px, 5vw, 80px);
  --max:   1280px;
  --max-narrow: 920px;

  /* Motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--paper); }

body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(15,20,25,.015) 0, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(15,20,25,.02) 0, transparent 50%);
}

/* ===================== UTILITY ===================== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); position: relative; z-index: 2; }
.container-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 var(--pad-x); position: relative; z-index: 2; }
.rule { border-top: 1px solid var(--rule); }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
}
.display { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; line-height: 1.05; }
.display em { font-style: italic; font-weight: 300; color: var(--ink-soft); }
.mono { font-family: var(--mono); }

/* ===================== TOP UTILITY BAR ===================== */
.topbar {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  position: relative; z-index: 10;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}
.topbar-left { display: flex; gap: 20px; align-items: center; }
.topbar-dot {
  width: 6px; height: 6px;
  background: #6FBF6F;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(111,191,111,.5);
}
.topbar-right { display: flex; gap: 24px; }
.topbar-right a { opacity: .75; transition: opacity .2s; }
.topbar-right a:hover { opacity: 1; }
@media (max-width: 720px) {
  .topbar-left .topbar-meta { display: none; }
}

/* ===================== NAV ===================== */
.nav {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 9;
  backdrop-filter: saturate(180%) blur(8px);
  background: rgba(250, 248, 243, .92);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
}
.brand-mark {
  width: 28px; height: 28px;
  position: relative;
  display: inline-block;
}
.brand-mark svg { width: 100%; height: 100%; }
.nav-links {
  display: flex; gap: 32px;
  font-size: 14px;
  font-weight: 400;
}
.nav-links a {
  color: var(--ink-soft);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
  border-radius: 2px;
  transition: background .2s;
}
.nav-cta:hover { background: var(--accent-deep); }
.nav-cta .arrow { display: inline-block; transition: transform .2s; }
.nav-cta:hover .arrow { transform: translateX(3px); }
@media (max-width: 960px) {
  .nav-links { display: none; }
}

/* ===================== BUTTONS ===================== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
  transition: all .25s var(--ease);
  border: 1px solid var(--ink);
}
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
  border: 1px solid var(--ink);
  transition: all .25s var(--ease);
}
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn .arrow, .btn-primary .arrow, .btn-secondary .arrow { transition: transform .2s; }
.btn:hover .arrow, .btn-primary:hover .arrow, .btn-secondary:hover .arrow { transform: translateX(3px); }

.btn-light {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
  border: 1px solid var(--paper);
  transition: all .25s var(--ease);
}
.btn-light:hover { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  background: transparent;
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
  border: 1px solid rgba(250,248,243,.3);
  transition: all .25s var(--ease);
}
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ===================== PAGE HEADER (for sub-pages) ===================== */
.page-header {
  padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 6vw, 70px);
  border-bottom: 1px solid var(--rule);
}
.page-header.dark {
  background: var(--ink);
  color: var(--paper);
  border-bottom: none;
}
.page-header.dark .breadcrumb { color: rgba(250,248,243,.6); }
.page-header.dark .breadcrumb a { color: rgba(168,100,46,.95); }
.page-header.dark h1 { color: var(--paper); }
.page-header.dark .page-lede { color: rgba(250,248,243,.75); }
.breadcrumb {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: .12em;
  margin-bottom: 28px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.breadcrumb a { color: var(--accent-deep); transition: opacity .2s; }
.breadcrumb a:hover { opacity: 0.7; }
.breadcrumb .sep { opacity: 0.4; }
.page-header h1 {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.02;
  margin-bottom: 24px;
  max-width: 920px;
}
.page-header h1 em { font-style: italic; color: var(--accent-deep); font-weight: 300; }
.page-header.dark h1 em { color: rgba(168,100,46,.95); }
.page-lede {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 720px;
}
.page-lede em { font-style: italic; color: var(--accent-deep); }
.page-header.dark .page-lede em { color: rgba(168,100,46,.95); }
.page-header-meta {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--mute);
}
.page-header.dark .page-header-meta { color: rgba(250,248,243,.6); }
.page-header-meta .meta-item .meta-label { display: block; margin-bottom: 6px; }
.page-header-meta .meta-item .meta-value { color: var(--ink); font-family: var(--sans); font-size: 14px; letter-spacing: 0; font-weight: 500; }
.page-header.dark .page-header-meta .meta-item .meta-value { color: var(--paper); }

/* ===================== SECTIONS ===================== */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-sm { padding: clamp(50px, 7vw, 90px) 0; position: relative; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-deep { background: var(--paper-deep); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 70px;
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 50px; }
}
.section-head .section-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-deep);
  letter-spacing: .15em;
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: inherit;
}
.section-head h2 em { font-style: italic; color: var(--accent-deep); font-weight: 300; }
.section-dark .section-head h2 em { color: rgba(168,100,46,.95); }
.section-head .section-lede {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 540px;
}
.section-dark .section-head .section-lede { color: rgba(250,248,243,.7); }

/* simpler section head for content pages */
.section-head-simple {
  margin-bottom: 50px;
  max-width: 760px;
}
.section-head-simple .section-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-deep);
  letter-spacing: .15em;
  margin-bottom: 16px;
}
.section-head-simple h2 {
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.section-head-simple h2 em { font-style: italic; color: var(--accent-deep); font-weight: 300; }
.section-head-simple p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ===================== PROSE ===================== */
.prose {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.prose p { margin-bottom: 22px; }
.prose p:last-child { margin-bottom: 0; }
.prose em { font-style: italic; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.01em;
  line-height: 1.15;
  margin: 50px 0 18px;
}
.prose h3 em { font-style: italic; color: var(--accent-deep); font-weight: 300; }
.prose h4 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.01em;
  line-height: 1.2;
  margin: 36px 0 14px;
}
.prose ul, .prose ol { margin: 0 0 22px 24px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--ink); }
.prose code { font-family: var(--mono); font-size: 14px; background: var(--paper-deep); padding: 2px 6px; }
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 0 12px 24px;
  margin: 30px 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
}

/* ===================== PULL/CALLOUT ===================== */
.callout {
  background: var(--paper-deep);
  border-left: 3px solid var(--accent);
  padding: 24px 28px;
  margin: 36px 0;
  font-family: var(--display);
  font-size: 19px;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-soft);
}
.callout strong { font-style: normal; font-family: var(--sans); font-weight: 600; color: var(--ink); }
.callout.dark { background: var(--ink); color: var(--paper); border-left-color: var(--accent); }

/* ===================== MODULE GRID ===================== */
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 900px) { .module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .module-grid { grid-template-columns: 1fr; } }
.module {
  background: var(--paper);
  padding: 28px 24px;
  transition: background .25s var(--ease);
  cursor: default;
}
.module:hover { background: var(--paper-deep); }
.module-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent-deep);
  letter-spacing: .12em;
  margin-bottom: 14px;
}
.module-name {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: -.005em;
}
.module-desc {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.55;
}

/* ===================== NUMBERED LIST ===================== */
.numbered-list { list-style: none; }
.numbered-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.numbered-list li:last-child { border-bottom: 1px solid var(--rule); }
.numbered-list .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-deep);
  letter-spacing: .1em;
}
.numbered-list .nl-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.numbered-list .nl-title em { font-style: italic; color: var(--accent-deep); font-weight: 300; }
.numbered-list .nl-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ===================== KEY-VALUE TABLE ===================== */
.kv-table {
  display: grid;
  grid-template-columns: 280px 1fr;
  border-top: 1px solid var(--rule);
}
@media (max-width: 700px) { .kv-table { grid-template-columns: 1fr; } }
.kv-row { display: contents; }
.kv-key, .kv-val {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}
.kv-key {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--accent-deep);
  padding-right: 32px;
  text-transform: uppercase;
  padding-top: 24px;
}
.kv-val { color: var(--ink-soft); line-height: 1.6; }
.kv-val strong { color: var(--ink); font-weight: 600; }
.kv-val em { font-style: italic; color: var(--ink); }

/* ===================== INSTITUTIONAL BAR ===================== */
.inst-bar {
  background: var(--ink);
  color: var(--paper);
  padding: 36px 0;
  position: relative; z-index: 3;
}
.inst-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 800px) {
  .inst-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
.inst-item .inst-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 10px;
}
.inst-item .inst-value {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.inst-item .inst-value em { font-style: italic; color: rgba(168, 100, 46, .9); }

/* ===================== CARDS (generic) ===================== */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 900px) { .card-grid-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--paper);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: background .25s var(--ease);
}
.card:hover { background: var(--paper-deep); }
.card-mark {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-deep);
  letter-spacing: .12em;
  margin-bottom: 24px;
}
.card-title {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -.01em;
}
.card-title em { font-style: italic; color: var(--accent-deep); font-weight: 300; }
.card-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 22px;
}
.card-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: gap .2s;
}
.card-link:hover { gap: 14px; }

/* ===================== CTA BAND ===================== */
.cta-band {
  background: var(--paper-deep);
  padding: clamp(70px, 9vw, 110px) 0;
  border-top: 1px solid var(--rule);
}
.cta-band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
@media (max-width: 800px) { .cta-band-grid { grid-template-columns: 1fr; gap: 50px; } }
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.cta-band h2 em { font-style: italic; color: var(--accent-deep); font-weight: 300; }
.cta-paths { display: flex; flex-direction: column; }
.cta-path {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  transition: padding .3s var(--ease);
}
.cta-path:hover { padding-left: 10px; }
.cta-path:first-child { border-top: 1px solid var(--rule); }
.cta-path-text {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.3;
}
.cta-path-text em { font-style: italic; color: var(--accent-deep); font-weight: 300; }
.cta-path-text .cp-sub {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--mute);
  letter-spacing: .05em;
  margin-top: 6px;
  font-weight: 400;
}
.cta-path-arrow {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--accent-deep);
  transition: transform .25s var(--ease);
  flex-shrink: 0;
}
.cta-path:hover .cta-path-arrow { transform: translateX(8px); }

/* ===================== FOOTER ===================== */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 70px 0 30px;
  position: relative; z-index: 3;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(250, 248, 243, .15);
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 500px) {
  .footer-top { grid-template-columns: 1fr; }
}
.footer-brand {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -.01em;
}
.footer-tag {
  font-size: 14px;
  color: rgba(250, 248, 243, .6);
  line-height: 1.55;
  max-width: 280px;
  margin-bottom: 24px;
}
.footer-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(250, 248, 243, .5);
  letter-spacing: .06em;
  line-height: 1.8;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(168, 100, 46, .95);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 13px;
  color: rgba(250, 248, 243, .75);
  transition: color .2s;
}
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 30px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(250, 248, 243, .5);
  letter-spacing: .06em;
}
.footer-bottom-links a { color: rgba(250, 248, 243, .65); margin-left: 20px; }
.footer-bottom-links a:hover { color: var(--paper); }
.compliance-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 8px;
}
.compliance-chip {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  padding: 4px 10px;
  border: 1px solid rgba(250, 248, 243, .25);
  border-radius: 2px;
  color: rgba(250, 248, 243, .7);
}

/* ===================== HERO STACK VISUAL ===================== */
.arch-stack {
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 28px;
  position: relative;
}
.arch-stack::before {
  content: "REFERENCE ARCHITECTURE";
  position: absolute;
  top: -10px; left: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--accent-deep);
  background: var(--paper);
  padding: 0 8px;
  font-weight: 500;
}
.arch-layer {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 14px 16px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  transition: all .25s var(--ease);
  cursor: default;
  gap: 12px;
}
.arch-layer:hover {
  background: var(--paper-deep);
  border-color: var(--accent);
  transform: translateX(4px);
}
.arch-layer:last-child { margin-bottom: 0; }
.arch-layer .lbl { color: var(--ink); font-weight: 500; letter-spacing: .03em; }
.arch-layer .tag {
  color: var(--mute);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: right;
}
.arch-layer.core {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.arch-layer.core .lbl { color: var(--paper); }
.arch-layer.core .tag { color: var(--subtle); }
.arch-layer.core:hover { background: var(--ink); transform: translateX(4px); }
.arch-connector {
  height: 8px;
  margin: 0 auto;
  width: 1px;
  background: var(--rule);
}
.arch-meta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--rule);
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px;
  color: var(--mute); letter-spacing: .1em;
}

/* ===================== ANIMATIONS ===================== */
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== TABS / DEPLOYMENT BLOCKS ===================== */
.deploy-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 1000px) { .deploy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .deploy-grid { grid-template-columns: 1fr; } }
.deploy {
  background: var(--paper);
  padding: 28px 22px;
  transition: background .25s var(--ease);
}
.deploy:hover { background: var(--paper-deep); }
.deploy-icon {
  width: 38px; height: 38px;
  border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.deploy-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -.005em;
}
.deploy-desc {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.55;
}

/* ===================== TIMELINE ===================== */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .timeline { grid-template-columns: 1fr; } }
.timeline-phase {
  background: var(--paper);
  padding: 28px 24px;
  position: relative;
}
.timeline-phase:hover { background: var(--paper-deep); }
.tl-week {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-deep);
  letter-spacing: .12em;
  margin-bottom: 16px;
}
.tl-title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.tl-desc {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.55;
}

/* ===================== INLINE BADGES ===================== */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.badge {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink-soft);
  background: var(--paper);
}
.badge.live { color: var(--ok); border-color: var(--ok); }
.badge.roadmap { color: var(--mute); border-style: dashed; }
.badge.flagship { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ===================== PAGE-SPECIFIC: HERO ===================== */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 32px;
  opacity: 0;
  animation: rise .8s var(--ease) .1s forwards;
}
.hero-eyebrow .dash { width: 28px; height: 1px; background: var(--accent); }
.hero h1 {
  font-size: clamp(40px, 6.5vw, 78px);
  margin-bottom: 28px;
  color: var(--ink);
  opacity: 0;
  animation: rise .9s var(--ease) .25s forwards;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.02;
}
.hero h1 em { font-family: var(--display); font-style: italic; font-weight: 300; color: var(--accent-deep); }
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.6;
  opacity: 0;
  animation: rise .9s var(--ease) .4s forwards;
}
.hero-cta {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0;
  animation: rise .9s var(--ease) .55s forwards;
}
.hero-visual {
  position: relative;
  opacity: 0;
  animation: rise 1.2s var(--ease) .6s forwards;
}
