/* ========================================================
   APEX SYSTEMS SOLUTIONS — Editorial Edition
   Aesthetic: New York magazine meets enterprise security.
   Cream paper, deep ink, terracotta accent. Italic gravitas.
   ======================================================== */

:root {
  /* — Foundational palette — */
  --paper:       #F5F0E6;   /* cream stock */
  --paper-2:     #ECE4D2;   /* warmer cream */
  --paper-3:     #E0D6BE;   /* aged cream */
  --ink:         #1A1814;   /* deep ink, not pure black */
  --ink-2:       #2A2620;
  --ink-soft:    #4A4439;
  --ink-mute:    #807866;
  --ink-faint:   #B5AC95;
  --rule:        #C9BF9F;   /* hairline rule */

  --accent:      #D97757;   /* terracotta */
  --accent-2:    #C45F3E;
  --accent-soft: #F2D9CC;

  --crit: #C04A37;
  --warn: #D49A2E;
  --good: #6F8C5A;

  /* — Type — */
  --display: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --sans:    'Geist', system-ui, -apple-system, sans-serif;
  --mono:    'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --maxw: 1320px;
  --pad:  clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--paper); }

/* Subtle paper grain across whole page */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.6;
  mix-blend-mode: multiply;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='250' height='250'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05  0 0 0 0 0.04  0 0 0 0 0.03  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ========== TICKER ========== */
.ticker {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--ink-2);
  overflow: hidden;
}
.ticker__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 9px var(--pad);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ticker__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(217,119,87,.6);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(217,119,87,.6); }
  70%  { box-shadow: 0 0 0 10px rgba(217,119,87,0); }
  100% { box-shadow: 0 0 0 0 rgba(217,119,87,0); }
}
.ticker__label {
  color: var(--accent);
  flex-shrink: 0;
  padding-right: 16px;
  border-right: 1px solid rgba(245,240,230,0.2);
}
.ticker__feed {
  flex: 1;
  display: flex;
  gap: 28px;
  align-items: center;
  white-space: nowrap;
  animation: ticker 38s linear infinite;
  color: var(--paper);
  opacity: 0.8;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker__sep { color: var(--accent); opacity: 0.6; }

/* ========== NAV ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(245,240,230,0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.brand__mark {
  align-self: center;
  flex-shrink: 0;
}
.brand__word {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.brand__sub {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-left: 12px;
  border-left: 1px solid var(--rule);
  align-self: center;
}

.nav__center {
  justify-self: center;
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 400;
}
.nav__center a {
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav__center a::after {
  content: '';
  position: absolute;
  left: 50%; right: 50%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: left 0.3s ease, right 0.3s ease;
}
.nav__center a:hover { color: var(--ink); }
.nav__center a:hover::after { left: 0; right: 0; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 11px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  transition: all 0.25s ease;
}
.nav__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.nav__cta-arrow {
  transition: transform 0.25s;
}
.nav__cta:hover .nav__cta-arrow { transform: translateX(4px); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.btn--primary:hover .btn__arrow { transform: translateX(4px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn--full { width: 100%; padding: 16px; }
.btn__arrow { transition: transform 0.25s ease; }

/* ========== KICKER ========== */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.kicker__num {
  color: var(--accent);
  font-weight: 600;
}
.kicker__line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--rule);
}
.kicker--light { color: var(--paper); }
.kicker--light .kicker__line { background: rgba(245,240,230,0.3); }

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: clamp(80px, 14vh, 160px) var(--pad) clamp(40px, 6vh, 80px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 40% at 70% 30%, rgba(217,119,87,0.06), transparent 70%),
    var(--paper);
}
.hero__grain {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px);
  background-size: 100% 8px;
  opacity: 0.18;
  mask-image: radial-gradient(ellipse at center, transparent 30%, black 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 30%, black 80%);
  pointer-events: none;
}

.hero__radar {
  position: absolute;
  top: 50%;
  right: -120px;
  transform: translateY(-50%);
  width: clamp(420px, 50vw, 720px);
  height: clamp(420px, 50vw, 720px);
  opacity: 0.95;
  pointer-events: none;
  animation: radar-in 1.6s ease 0.2s both;
}
@keyframes radar-in {
  from { opacity: 0; transform: translateY(-50%) scale(0.88) rotate(-8deg); }
  to   { opacity: 0.95; transform: translateY(-50%) scale(1) rotate(0); }
}
.hero__radar-sweep {
  transform-origin: 300px 300px;
  animation: sweep 6s linear infinite;
}
@keyframes sweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.ping circle {
  animation: ping 3.2s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.ping--1 circle { animation-delay: 0s; }
.ping--2 circle { animation-delay: 0.8s; }
.ping--3 circle { animation-delay: 1.6s; }
.ping--4 circle { animation-delay: 2.4s; }
@keyframes ping {
  0%   { r: 3; opacity: 1; }
  60%  { r: 14; opacity: 0; }
  100% { r: 3; opacity: 0; }
}

.hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  z-index: 2;
}

.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 11vw, 160px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 40px 0 0;
  color: var(--ink);
  max-width: 12ch;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.hero__title .line > span,
.hero__title .line > em {
  display: inline-block;
  animation: rise 1s cubic-bezier(.2,.7,.3,1) both;
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.hero__title .line:nth-child(1) > span { animation-delay: 0.1s; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.22s; }
.hero__title .line:nth-child(3) > em   { animation-delay: 0.34s; }
@keyframes rise {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  margin-top: clamp(40px, 6vh, 72px);
  max-width: 980px;
}
.hero__lead {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0;
  max-width: 28ch;
  font-weight: 400;
  animation: fade 1s ease 0.6s both;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fade 1s ease 0.75s both;
}
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.hero__byline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(64px, 9vh, 100px);
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  animation: fade 1s ease 0.9s both;
}
.hero__byline > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.byline__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.byline__value {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ========== MARQUEE ========== */
.marquee {
  background: var(--ink);
  color: var(--paper);
  padding: 26px 0;
  overflow: hidden;
  border-top: 1px solid var(--ink-2);
  border-bottom: 1px solid var(--ink-2);
}
.marquee__track {
  display: flex;
  gap: 48px;
  align-items: center;
  white-space: nowrap;
  animation: marquee 42s linear infinite;
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-style: italic;
  letter-spacing: -0.01em;
}
.marquee__sym {
  color: var(--accent);
  font-style: normal;
  font-size: 0.7em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ========== MANIFESTO ========== */
.manifesto {
  padding: clamp(100px, 14vh, 160px) var(--pad);
  text-align: center;
}
.manifesto__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.manifesto .kicker { justify-content: center; }
.manifesto__text {
  font-family: var(--display);
  font-size: clamp(28px, 4.5vw, 56px);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 32px 0 40px;
}
.manifesto__text em {
  font-style: italic;
  color: var(--accent);
}
.manifesto__sig {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-mute);
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
}

/* ========== CAPABILITIES ========== */
.caps {
  padding: clamp(60px, 10vh, 120px) var(--pad);
  border-top: 1px solid var(--rule);
}
.caps__head {
  max-width: var(--maxw);
  margin: 0 auto clamp(56px, 8vh, 88px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.caps__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 24px 0 0;
  color: var(--ink);
  grid-column: 1 / -1;
}
.caps__title em {
  font-style: italic;
  color: var(--accent);
}
.caps__lead {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  max-width: 50ch;
  grid-column: 1 / -1;
}

.caps__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.cap {
  position: relative;
  padding: 36px 32px 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  min-height: 340px;
  transition: background 0.4s ease, color 0.4s ease;
  overflow: hidden;
}
.cap::before {
  content: attr(data-num);
  position: absolute;
  right: -20px;
  bottom: -60px;
  font-family: var(--display);
  font-size: 220px;
  font-style: italic;
  color: var(--ink);
  opacity: 0.03;
  pointer-events: none;
  transition: opacity 0.4s, color 0.4s;
}
.cap:hover { background: var(--paper-2); }
.cap:hover::before { opacity: 0.06; }

.cap--dark { background: var(--ink); color: var(--paper); }
.cap--dark::before { color: var(--paper); opacity: 0.06; }
.cap--dark:hover { background: var(--ink-2); }

.cap__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.cap__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
}
.cap__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.6;
}
.cap__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.cap__title em {
  font-style: italic;
  color: var(--accent);
}
.cap__desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 24px;
  flex: 1;
}
.cap--dark .cap__desc { color: rgba(245,240,230,0.7); }
.cap__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}
.cap--dark .cap__foot { border-top-color: rgba(245,240,230,0.15); color: rgba(245,240,230,0.5); }
.cap__arrow {
  color: var(--accent);
  font-size: 16px;
  transition: transform 0.25s;
}
.cap:hover .cap__arrow { transform: translateX(4px); }

/* ========== PULL QUOTE ========== */
.pull {
  padding: clamp(80px, 14vh, 160px) var(--pad);
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, var(--paper-2), var(--paper));
  text-align: center;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.pull__inner { max-width: 1000px; margin: 0 auto; position: relative; }
.pull__quote-mark {
  font-family: var(--display);
  font-style: italic;
  font-size: 240px;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.4;
  display: block;
  margin-bottom: -40px;
}
.pull__quote {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 36px;
  color: var(--ink);
}
.pull__cite {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pull__cite-name {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.01em;
}
.pull__cite-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ========== APPROACH ========== */
.approach {
  padding: clamp(80px, 12vh, 140px) var(--pad);
  background: var(--ink);
  color: var(--paper);
}
.approach__head {
  max-width: var(--maxw);
  margin: 0 auto clamp(56px, 8vh, 80px);
}
.approach__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 24px 0 0;
  max-width: 18ch;
}
.approach__title em { font-style: italic; color: var(--accent); }

.phases {
  max-width: var(--maxw);
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(245,240,230,0.15);
}
.phase {
  padding: 36px 28px 32px 0;
  padding-right: 28px;
  border-right: 1px solid rgba(245,240,230,0.15);
  display: flex;
  flex-direction: column;
  position: relative;
}
.phase:last-child { border-right: 0; }
.phase:not(:first-child) { padding-left: 28px; }
.phase__num {
  font-family: var(--display);
  font-style: italic;
  font-size: 36px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 24px;
}
.phase h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--paper);
}
.phase p {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(245,240,230,0.7);
  margin: 0 0 24px;
  flex: 1;
}
.phase__when {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  padding-top: 16px;
  border-top: 1px dashed rgba(245,240,230,0.2);
}

/* ========== SECTORS ========== */
.sectors {
  padding: clamp(80px, 12vh, 140px) var(--pad);
}
.sectors__head {
  max-width: var(--maxw);
  margin: 0 auto clamp(48px, 7vh, 72px);
}
.sectors__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 24px 0 0;
  max-width: 18ch;
}
.sectors__title em { font-style: italic; color: var(--accent); }

.sectors__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.sect {
  padding: 36px 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: relative;
  transition: background 0.3s;
}
.sect:hover { background: var(--paper-2); }
.sect__id {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 18px;
}
.sect h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.sect:nth-child(2) h3,
.sect:nth-child(4) h3,
.sect:nth-child(6) h3 { font-style: italic; color: var(--accent-2); }
.sect p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* ========== INTEL DISPATCHES ========== */
.intel {
  padding: clamp(80px, 12vh, 140px) var(--pad);
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.intel__head {
  max-width: var(--maxw);
  margin: 0 auto clamp(48px, 7vh, 72px);
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 32px;
  align-items: end;
}
.intel__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 24px 0 0;
  grid-column: 1;
}
.intel__title em { font-style: italic; color: var(--accent); }
.intel__all {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  align-self: end;
  justify-self: end;
  grid-column: 3;
}
.intel .kicker { grid-column: 1; grid-row: 1; }

.intel__feed {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dispatch {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.dispatch:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
}
.dispatch__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.dispatch__head time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}
.dispatch__sev {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 2px;
}
.dispatch__sev--crit { background: var(--crit); color: var(--paper); }
.dispatch__sev--high { background: var(--accent); color: var(--paper); }
.dispatch__sev--mod  { background: var(--warn); color: var(--ink); }

.dispatch h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 1.8vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.dispatch p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 24px;
  flex: 1;
}
.dispatch p em { font-style: italic; color: var(--accent-2); font-weight: 500; }
.dispatch__link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
  display: inline-flex;
  gap: 6px;
  transition: gap 0.2s, color 0.2s;
}
.dispatch__link:hover { gap: 12px; color: var(--accent); }

/* ========== STUDIO / ABOUT ========== */
.studio {
  padding: clamp(80px, 14vh, 160px) var(--pad);
}
.studio__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.studio__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 32px 0 56px;
  max-width: 18ch;
}
.studio__title em { font-style: italic; color: var(--accent); }

.studio__body {
  columns: 2;
  column-gap: 56px;
  margin-bottom: 64px;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 400;
}
.studio__body p {
  margin: 0 0 18px;
  break-inside: avoid;
}
.studio__lede {
  font-style: italic;
  font-size: 22px !important;
  color: var(--ink) !important;
  line-height: 1.45 !important;
}
.studio__lede::first-letter {
  font-family: var(--display);
  font-size: 4.5em;
  float: left;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--accent);
  font-style: normal;
}

.studio__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.studio__facts > div {
  padding: 20px 0;
  border-right: 1px solid var(--rule);
  padding-right: 28px;
}
.studio__facts > div:not(:first-child) { padding-left: 28px; }
.studio__facts > div:nth-child(3n) { border-right: 0; }
.studio__facts > div:nth-child(n+4) { padding-top: 32px; border-top: 1px dashed var(--rule); }
.studio__facts dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.studio__facts dd {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ========== CTA / CONTACT ========== */
.cta {
  padding: clamp(80px, 12vh, 140px) var(--pad);
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(217,119,87,0.15), transparent 70%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}

.cta__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 24px 0 24px;
  max-width: 18ch;
}
.cta__title em { font-style: italic; color: var(--accent); }
.cta__lead {
  font-family: var(--display);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(245,240,230,0.7);
  margin: 0 0 48px;
  max-width: 38ch;
}

.cta__lines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(245,240,230,0.15);
}
.cta__line {
  padding: 24px 24px 24px 0;
  border-right: 1px solid rgba(245,240,230,0.15);
  border-bottom: 1px solid rgba(245,240,230,0.15);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.2s;
}
.cta__line:nth-child(2n) { padding-right: 0; padding-left: 24px; border-right: 0; }
.cta__line:nth-last-child(-n+2) { border-bottom: 0; }
.cta__line-key {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.cta__line-val {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--paper);
  transition: color 0.2s;
}
a.cta__line:hover .cta__line-val { color: var(--accent); }

/* Form */
.form {
  background: var(--paper);
  color: var(--ink);
  padding: 40px 36px;
  border-radius: 4px;
  position: relative;
  box-shadow: 24px 24px 0 var(--accent);
}
.form__head {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.form__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
}
.form__head h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 10px 0 0;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 18px; }
.field > span {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
  font-weight: 500;
}
.field .opt {
  font-family: var(--display);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-faint);
  margin-left: 4px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--rule);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  padding: 8px 0;
  border-radius: 0;
  transition: border-color 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 80px; }
.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 12px) 50%, calc(100% - 7px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.form__fine {
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.5;
  margin: 16px 0 0;
}

/* ========== FOOTER ========== */
.foot {
  background: var(--ink);
  color: var(--paper);
  padding: 64px var(--pad) 0;
  position: relative;
  overflow: hidden;
}
.foot__top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 3fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245,240,230,0.15);
  position: relative;
  z-index: 2;
}
.foot__brand .brand { margin-bottom: 18px; color: var(--paper); }
.foot__brand .brand__word { color: var(--paper); }
.foot__brand .brand__sub { color: rgba(245,240,230,0.5); border-left-color: rgba(245,240,230,0.2); }
.foot__motto {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.3;
  color: rgba(245,240,230,0.7);
  margin: 0;
  max-width: 220px;
}
.foot__motto em { font-style: italic; color: var(--accent); }

.foot__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.foot__cols h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
  font-weight: 600;
}
.foot__cols a {
  display: block;
  font-family: var(--display);
  font-size: 16px;
  color: rgba(245,240,230,0.7);
  padding: 5px 0;
  transition: color 0.2s, transform 0.2s;
}
.foot__cols a:hover {
  color: var(--paper);
  transform: translateX(4px);
}

/* The big signature wordmark */
.foot__sig {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(160px, 30vw, 440px);
  line-height: 0.8;
  text-align: center;
  margin: 0;
  padding: 40px 0 0;
  color: transparent;
  background:
    linear-gradient(180deg, rgba(245,240,230,0.08) 0%, rgba(245,240,230,0) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: -0.05em;
  user-select: none;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.foot__bar {
  max-width: var(--maxw);
  margin: -100px auto 0;
  padding: 28px 0 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,230,0.5);
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(245,240,230,0.1);
}
.foot__legal {
  display: flex;
  gap: 12px;
  align-items: center;
}
.foot__legal a { transition: color 0.2s; }
.foot__legal a:hover { color: var(--paper); }
.foot__legal span { color: rgba(245,240,230,0.3); }
.foot__loc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.foot__pin {
  color: var(--accent);
  animation: pulse-soft 2.5s infinite;
}
@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .nav__center { display: none; }
  .hero__bottom { grid-template-columns: 1fr; gap: 32px; }
  .hero__byline { grid-template-columns: repeat(2, 1fr); }
  .hero__radar { right: -250px; opacity: 0.5; }
  .caps__head { grid-template-columns: 1fr; gap: 24px; }
  .caps__grid { grid-template-columns: repeat(2, 1fr); }
  .phases { grid-template-columns: repeat(2, 1fr); }
  .phase { border-right: 1px solid rgba(245,240,230,0.15) !important; border-bottom: 1px solid rgba(245,240,230,0.15); padding-left: 28px !important; }
  .phase:nth-child(2n) { border-right: 0 !important; }
  .sectors__grid { grid-template-columns: repeat(2, 1fr); }
  .intel__head { grid-template-columns: 1fr; align-items: start; }
  .intel__all { justify-self: start; grid-column: 1; }
  .intel__feed { grid-template-columns: 1fr; }
  .studio__body { columns: 1; }
  .studio__facts { grid-template-columns: repeat(2, 1fr); }
  .studio__facts > div:nth-child(3n) { border-right: 1px solid var(--rule); }
  .studio__facts > div:nth-child(2n) { border-right: 0; }
  .cta__inner { grid-template-columns: 1fr; gap: 56px; }
  .form { box-shadow: 12px 12px 0 var(--accent); }
  .foot__top { grid-template-columns: 1fr; gap: 48px; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 680px) {
  .ticker__inner { padding: 8px 16px; }
  .nav__inner { grid-template-columns: 1fr auto; padding: 14px 20px; }
  .brand__sub { display: none; }
  .nav__cta span { display: none; }
  .nav__cta { width: 38px; height: 38px; padding: 0; justify-content: center; }
  .hero__radar { display: none; }
  .hero__byline { grid-template-columns: 1fr 1fr; gap: 20px; }
  .marquee__track { font-size: 22px; gap: 32px; }
  .caps__grid { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr; }
  .phase { padding-left: 0 !important; padding-right: 0; }
  .sectors__grid { grid-template-columns: 1fr; }
  .studio__facts { grid-template-columns: 1fr; }
  .studio__facts > div { border-right: 0 !important; padding-left: 0 !important; padding-right: 0; }
  .cta__lines { grid-template-columns: 1fr; }
  .cta__line { padding: 20px 0 !important; border-right: 0 !important; }
  .form { padding: 28px 22px; box-shadow: 8px 8px 0 var(--accent); }
  .form__row { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr; }
  .foot__bar { flex-direction: column; align-items: flex-start; margin-top: -40px; }
}
