/* TickingMinds — shared.css
   Brand: Fira Sans (primary), DM Mono (utility/labels)
   Colors: TM Dark #211900 bg | TM Gold #DFA900 | TM Sunburst #FFC933
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600;1,700&family=DM+Mono:wght@400;500&display=swap');

/* ── Design tokens ── */
:root {
  --bg:        #160D00;
  --bg-mid:    #1C1100;
  --bg-card:   #221500;
  --bg-card2:  #2A1A00;
  --gold:      #DFA900;
  --gold-lt:   #FFC933;
  --gold-dim:  #9A6F00;
  --white:     #FFFFFF;
  --cream:     #EDD9A3;
  --muted:     #8A7050;
  --border:    rgba(223,169,0,0.14);
  --border-md: rgba(223,169,0,0.28);
  --radius:    5px;
  --radius-sm: 3px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Fira Sans', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── Typography scale ── */
h1, h2, h3, h4 { font-family: 'Fira Sans', sans-serif; font-weight: 700; color: var(--white); line-height: 1.12; }
em { color: var(--gold); font-style: italic; }
p  { line-height: 1.75; }

/* ── Layout ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
section { padding: 96px 0; }

/* ── Eyebrows / labels ── */
.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.eyebrow-rule { width: 28px; height: 1.5px; background: var(--gold); flex-shrink: 0; }

/* ── Section headers ── */
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin-left: auto; margin-right: auto; }
.section-h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
}
.section-sub { color: var(--muted); font-size: 0.92rem; max-width: 560px; line-height: 1.7; }

/* ── Buttons ── */
.btn-primary {
  background: var(--gold);
  color: var(--bg);
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-family: 'Fira Sans', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-2px); }

.btn-outline {
  border: 1.5px solid var(--border-md);
  color: var(--cream);
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-family: 'Fira Sans', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-dark {
  background: var(--bg);
  color: var(--gold);
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-family: 'Fira Sans', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}
.btn-dark:hover { background: #0d0800; }

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(22,13,0,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  height: 44px;
}
.nav-logo img { height: 38px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 20px;
  flex: 1;
}
.nav-links > a, .nav-dropdown > .nav-dropbtn {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 0.2s;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Fira Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links > a:hover,
.nav-links > a.active,
.nav-dropdown:hover .nav-dropbtn { color: var(--gold); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropbtn svg { width: 10px; height: 10px; transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropbtn svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: var(--radius);
  min-width: 220px;
  padding: 8px 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  z-index: 300;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  font-family: 'Fira Sans', sans-serif;
}
.nav-dropdown-menu a:hover { color: var(--gold); background: var(--bg-card2); }
.nav-dropdown-menu .dropdown-label {
  display: block;
  padding: 6px 18px 4px;
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  border-top: 1px solid var(--border);
  margin-top: 6px;
}
.nav-dropdown-menu .dropdown-label:first-child { border-top: none; margin-top: 0; }

.nav-cta {
  margin-left: auto;
  background: var(--gold);
  color: var(--bg);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Fira Sans', sans-serif;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--gold-lt); }

/* Hamburger */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: rgba(22,13,0,0.99);
  z-index: 190;
  overflow-y: auto;
  padding: 24px 32px 48px;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a, .mobile-nav button {
  display: block;
  padding: 13px 0;
  font-family: 'Fira Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav button:hover { color: var(--gold); }
.mobile-nav .mob-section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  padding: 20px 0 8px;
  border-bottom: none;
}
.mobile-nav .mob-sub {
  padding: 10px 0 10px 16px;
  font-size: 0.88rem;
  color: var(--muted);
}
.mobile-cta {
  margin-top: 24px;
  background: var(--gold) !important;
  color: var(--bg) !important;
  padding: 14px 24px !important;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-align: center !important;
  border: none !important;
}

/* ── Page hero ── */
.page-hero {
  padding: 140px 0 80px;
  background: radial-gradient(ellipse 60% 50% at 70% 30%, rgba(223,169,0,0.06) 0%, transparent 65%);
}
.page-h1 {
  font-size: clamp(2.6rem, 4.8vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 20px;
}
.page-lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.78;
  margin-bottom: 32px;
}
.breadcrumb {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--gold-dim); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 6px; opacity: 0.5; }

/* ── Ticker ── */
.ticker-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-mid);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track { display: inline-flex; animation: ticker 28s linear infinite; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticker-dot { width: 3px; height: 3px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Cards & grids ── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.svc-card {
  background: var(--bg-card);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.svc-card * { color: inherit; text-decoration: none; }
.svc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.svc-card:hover { background: var(--bg-card2); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card.wide { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 28px; }
.svc-icon { font-size: 1.5rem; margin-bottom: 14px; display: block; }
.svc-card.wide .svc-icon { margin-bottom: 0; flex-shrink: 0; font-size: 1.8rem; margin-top: 4px; }
.svc-name { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.svc-desc { font-size: 0.84rem; color: var(--muted); line-height: 1.7; }
.svc-tags { margin-top: 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.svc-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--gold-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s;
  text-decoration: none;
  color: inherit;
}
.case-card * { color: inherit; text-decoration: none; }
.case-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.case-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.case-industry {
  font-family: 'DM Mono', monospace;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  padding: 3px 8px;
  border: 1px solid rgba(223,169,0,0.25);
  border-radius: 2px;
}
.case-time { font-family: 'DM Mono', monospace; font-size: 0.66rem; color: var(--muted); }
.case-title { font-size: 0.96rem; font-weight: 700; color: var(--white); margin-bottom: 10px; line-height: 1.3; }
.case-desc { font-size: 0.82rem; color: var(--muted); flex: 1; line-height: 1.65; margin-bottom: 14px; }
.case-result {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  padding-top: 12px;
  border-top: 1px solid var(--border);
  line-height: 1.5;
}

/* ── Two-col prose ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.prose h2 { font-size: 1.7rem; font-weight: 700; color: var(--white); margin-bottom: 14px; line-height: 1.2; }
.prose h3 { font-size: 0.96rem; font-weight: 700; color: var(--white); margin-bottom: 8px; margin-top: 26px; }
.prose p  { font-size: 0.88rem; color: var(--muted); line-height: 1.75; margin-bottom: 14px; }
.prose ul { margin-left: 18px; margin-bottom: 14px; }
.prose li { font-size: 0.86rem; color: var(--muted); line-height: 1.7; margin-bottom: 5px; }

/* ── Card grid (service detail + Why Us outcome cards) ── */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

/* Outcome / result cards — used as <a> elements in Why Us and Cases sections */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  text-decoration: none;           /* strip <a> underline */
  color: inherit;                  /* stop <a> blue cascade */
  transition: border-color 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.card:hover { border-color: var(--gold); transform: translateY(-3px); }
.card:hover::after { transform: scaleX(1); }

/* Explicitly reset every child element so nothing inherits <a> link color */
.card * { color: inherit; text-decoration: none; }

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.card-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.68;
  flex: 1;
}

.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s;
}
.detail-card:hover { border-color: var(--border-md); }
.detail-card h3 { font-size: 0.94rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.detail-card p  { font-size: 0.84rem; color: var(--muted); line-height: 1.68; }

/* ── Stats bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.stat-item { background: var(--bg-card); padding: 30px 22px; text-align: center; }
.stat-num {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

/* ── Why cards ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 48px;
}
.why-card { background: var(--bg-card); padding: 40px 36px; transition: background 0.2s; }
.why-card:hover { background: var(--bg-card2); }
.why-letter {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 14px;
}
.why-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.why-desc  { font-size: 0.84rem; color: var(--muted); line-height: 1.7; }

/* ── Engage cards ── */
.engage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.engage-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 30px 26px;
  transition: border-color 0.2s;
}
.engage-card:hover { border-color: var(--gold); }
.engage-step {
  font-family: 'DM Mono', monospace;
  font-size: 0.66rem;
  color: var(--gold);
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  display: block;
}
.engage-title { font-size: 0.96rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.engage-desc  { font-size: 0.82rem; color: var(--muted); line-height: 1.65; }

/* ── Highlight box (sidebar callout) ── */
.highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  margin-bottom: 0;
}
.highlight-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  display: block;
  margin-bottom: 12px;
}

/* ── Comparison table (AEO comparison pages) ── */
.comparison-table { width: 100%; border-collapse: collapse; margin: 0; }
.comparison-table th {
  background: var(--bg-card);
  padding: 14px 20px;
  text-align: left;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.comparison-table th.col-tm { color: var(--gold); border-bottom-color: var(--gold); }
.comparison-table td {
  padding: 16px 20px;
  font-size: 0.86rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.65;
}
.comparison-table td:first-child { color: var(--cream); font-weight: 500; width: 28%; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--bg-card2); }
.comparison-table td .tick { color: var(--gold); font-weight: 700; margin-right: 5px; }
.comparison-table td .cross { color: var(--muted); opacity: 0.5; margin-right: 5px; }
.comparison-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* ── Verdict box ── */
.verdict-box {
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 28px;
  margin: 48px 0 0;
}
.verdict-box .verdict-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.verdict-box p {
  font-size: 0.9rem;
  color: var(--cream);
  line-height: 1.75;
}

/* ── Dimension cards (comparison page sections) ── */
.dimension-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.dimension-card { background: var(--bg-card); padding: 32px 28px; }
.dimension-card.full { grid-column: 1 / -1; }
.dimension-side {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.dimension-side.a { color: var(--muted); }
.dimension-side.b { color: var(--gold); }
.dimension-h { font-size: 0.96rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.dimension-p { font-size: 0.84rem; color: var(--muted); line-height: 1.7; }

@media (max-width: 640px) {
  .dimension-grid { grid-template-columns: 1fr; }
  .comparison-table td:first-child { width: 35%; }
}

/* ── Process steps ── */
.process-list { max-width: 760px; margin: 0 auto; }
.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}
.process-step:first-child { padding-top: 0; }
.process-step:last-child  { border-bottom: none; padding-bottom: 0; }
.step-num {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  align-self: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  transition: background 0.2s, border-color 0.2s;
}
.process-step:hover .step-num { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.step-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.step-desc  { font-size: 0.86rem; color: var(--muted); line-height: 1.7; }

/* ── CTA band ── */
.cta-band { background: var(--gold); padding: 80px 0; text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; color: var(--bg); margin-bottom: 12px; line-height: 1.2; }
.cta-band p  { color: rgba(22,13,0,0.6); font-size: 0.92rem; margin-bottom: 30px; }

/* ── Contact section ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-h3 { font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: 14px; line-height: 1.2; }
.contact-p  { color: var(--muted); margin-bottom: 24px; line-height: 1.75; font-size: 0.88rem; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.cd-icon {
  width: 34px; height: 34px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.86rem;
  flex-shrink: 0;
}
.cd-text { font-size: 0.86rem; color: var(--cream); }
.zero-box {
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.zero-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.zero-box p { font-size: 0.82rem; color: var(--muted); line-height: 1.7; }

/* ── Form ── */
.form-wrap { display: flex; flex-direction: column; gap: 14px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-family: 'DM Mono', monospace;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--cream);
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  font-family: 'Fira Sans', sans-serif;
  font-size: 0.86rem;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); }
.form-field textarea { min-height: 110px; }
.form-field select option { background: var(--bg-card); }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 52px 0 36px;
}
.footer-inner { display: flex; flex-direction: column; gap: 36px; }
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 280px; }
.footer-logo { display: flex; align-items: center; text-decoration: none; height: 34px; margin-bottom: 14px; }
.footer-logo img { height: 28px; width: auto; }
.footer-tagline { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }

.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 9px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: var(--muted);
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--gold); }

/* ── Resources page ── */
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s;
}
.resource-card * { color: inherit; text-decoration: none; }
.resource-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.resource-type {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  padding: 3px 8px;
  border: 1px solid rgba(223,169,0,0.25);
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 14px;
  align-self: flex-start;
}
.resource-title { font-size: 0.96rem; font-weight: 700; color: var(--white); margin-bottom: 10px; line-height: 1.35; }
.resource-desc  { font-size: 0.82rem; color: var(--muted); line-height: 1.65; flex: 1; margin-bottom: 18px; }
.resource-meta  {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  color: var(--gold-dim);
  display: flex;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

/* Article / blog page */
.article-header { padding: 140px 0 60px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.article-body { max-width: 740px; }
.article-body h2 { font-size: 1.5rem; font-weight: 700; color: var(--white); margin: 36px 0 12px; }
.article-body h3 { font-size: 1.1rem; font-weight: 600; color: var(--white); margin: 26px 0 10px; }
.article-body p  { font-size: 0.92rem; color: var(--muted); line-height: 1.8; margin-bottom: 18px; }
.article-body ul { margin: 0 0 18px 20px; }
.article-body li { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 6px; }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9rem;
  color: var(--cream);
  font-style: italic;
  line-height: 1.75;
}

/* ── Hero (homepage) ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  background:
    radial-gradient(ellipse 55% 50% at 80% 20%, rgba(223,169,0,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(223,169,0,0.04) 0%, transparent 60%);
}
.hero-content { max-width: 780px; }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.eyebrow-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-h1 {
  font-size: clamp(3rem, 5.8vw, 4.8rem);
  font-weight: 700;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 26px;
}
.hero-sub { font-size: 0.98rem; color: var(--muted); max-width: 600px; margin-bottom: 42px; line-height: 1.8; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Scroll animation ── */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.in { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 960px) {
  .svc-grid  { grid-template-columns: 1fr 1fr; }
  .svc-card.wide { grid-column: 1/-1; flex-direction: column; }
  .cases-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .why-grid   { grid-template-columns: 1fr; }
  .engage-grid { grid-template-columns: 1fr 1fr; }
  .two-col    { grid-template-columns: 1fr; gap: 40px; }
  .stats-bar  { grid-template-columns: repeat(2, 1fr); }
  .card-grid  { grid-template-columns: 1fr 1fr; }
  .resources-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-cols { gap: 32px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  section { padding: 64px 0; }
  .svc-grid   { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .engage-grid { grid-template-columns: 1fr; }
  .card-grid  { grid-template-columns: 1fr; }
  .form-row   { grid-template-columns: 1fr; }
  .stats-bar  { grid-template-columns: 1fr 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .nav-links  { display: none; }
  .nav-cta    { display: none; }
  .nav-burger { display: flex; }
  .footer-cols { flex-direction: column; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up { transition: none; opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}

/* ── No-JS / pre-hydration visibility fallback ── */
.no-js .fade-up{opacity:1 !important;transform:none !important}
