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

/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --bg:       #050505;
  --bg2:      #090909;
  --surface:  #0f0f0f;
  --panel:    #131313;
  --panel-2:  #171717;
  --border:   rgba(255,255,255,.07);
  --border2:  rgba(255,255,255,.12);

  --text:     #f4efe7;
  --muted:    rgba(244,239,231,.64);
  --muted2:   rgba(244,239,231,.38);

  --amber:    #d89a43;
  --amber2:   #efb45d;
  --amber-dim: rgba(216,154,67,.09);
  --amber-glow: rgba(216,154,67,.18);

  --teal:     #7db9a5;
  --red:      #dc6955;

  --font-display: 'Syne', sans-serif;
  --font-serif:   'DM Serif Display', serif;
  --font-mono:    'DM Mono', monospace;

  --max:      1200px;
  --r:        4px;
  --r2:       10px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-display);
  background:
    radial-gradient(circle at top center, rgba(216,154,67,.05), transparent 26%),
    linear-gradient(180deg, #040404 0%, #070707 52%, #050505 100%);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .02;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 95%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; position: relative; z-index: 1; }

/* ─── HEADER ─────────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,5,5,.92);
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: border-color .3s, background .3s;
}
header.scrolled { border-bottom-color: var(--border2); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 28px; }

.brand {
  display: flex; align-items: center;
  gap: 10px; cursor: pointer;
  user-select: none; flex-shrink: 0;
}

.logoWrap {
  width: 34px; height: 34px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--border2);
  display: grid; place-items: center;
  transition: border-color .2s;
}
.brand:hover .logoWrap { border-color: var(--amber); }
.logoWrap img { width: 20px; height: 20px; }

.brandTitle { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .08em; color: var(--text); }

.links { display: flex; align-items: center; gap: 0; }
.links a { font-size: 12px; font-weight: 500; color: var(--muted); padding: 7px 12px; border-radius: var(--r); transition: color .2s, background .2s; letter-spacing: .02em; }
.links a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.links a.active { color: var(--text); }

.actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.kbd { font-size: 12px; color: var(--muted2); font-family: var(--font-mono); display: none; }
@media (min-width: 1100px) { .kbd { display: block; } }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 4px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 12px; letter-spacing: .03em;
  cursor: pointer; border: 1px solid var(--border2);
  background: transparent; color: var(--muted);
  transition: all .2s var(--ease-out); white-space: nowrap;
}
.btn:hover { border-color: rgba(255,255,255,.22); color: var(--text); background: rgba(255,255,255,.04); }
.btn.primary { background: var(--amber); border-color: var(--amber); color: #0a0907; font-weight: 700; box-shadow: none; }
.btn.primary:hover { background: var(--amber2); border-color: var(--amber2); box-shadow: 0 0 24px var(--amber-glow); color: #0a0a08; }

.menuToggle {
  display: none; flex-direction: column;
  justify-content: center; gap: 5px;
  width: 36px; height: 36px; padding: 0 6px;
  background: none; border: 1px solid var(--border2);
  border-radius: var(--r); cursor: pointer;
}
.menuToggle span { display: block; height: 1.5px; background: var(--text); border-radius: 2px; transition: all .25s; }
.menuToggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menuToggle.open span:nth-child(2) { opacity: 0; }
.menuToggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobileMenu {
  display: none; position: fixed;
  inset: 0; top: 62px;
  background: var(--bg); z-index: 99;
  padding: 28px 28px 40px;
  border-top: 1px solid var(--border);
  overflow-y: auto; flex-direction: column;
}
.mobileMenu.active { display: flex; gap: 2px; }
.mobileMenu a { font-size: 15px; font-weight: 500; padding: 11px 0; color: var(--muted); border-bottom: 1px solid var(--border); }
.mobileMenu a:hover, .mobileMenu a.active { color: var(--text); }
.closeMobile { display: none; }

@media (max-width: 900px) {
  .links { display: none; }
  .kbd { display: none; }
  .menuToggle { display: flex; }
}

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  padding: 56px 0 68px;
  min-height: auto;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}

.hero::after {
  content: 'NIKVIA';
  position: absolute;
  bottom: 2%; right: -1%;
  font-family: var(--font-display);
  font-size: clamp(84px, 18vw, 250px);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -.04em;
  z-index: 0;
}

.heroInner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 44px;
  align-items: start;
}

.eyebrow {
  display: inline-flex; align-items: center;
  gap: 10px; font-family: var(--font-mono);
  font-size: 10px; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; display: block;
  width: 22px; height: 1px; background: var(--amber);
}

.heroH1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(58px, 8vw, 102px);
  line-height: .9;
  letter-spacing: -.055em;
  margin-bottom: 18px;
  color: var(--text);
}
.heroH1 em {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 400; color: var(--amber);
}

.heroSub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.72;
  max-width: 520px;
  margin-bottom: 24px;
}

.heroCtas { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }

.heroPills { display: flex; gap: 6px; flex-wrap: wrap; }
.heroPill {
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  border-radius: 2px;
  font-size: 10px;
  color: var(--muted2);
  font-family: var(--font-mono);
  letter-spacing: .04em;
}

/* Hero right */
.heroRight { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 80px; }

.statusCard {
  background: #101010;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 8px;
  padding: 16px 16px 14px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}
.statusCard::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(216,154,67,.8), rgba(216,154,67,.08));
}
.statusHead {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 14px;
}
.statusTitle {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted2);
}
.statusDot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px rgba(125,185,165,.28);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.statusGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.statusItem {
  padding: 10px 10px 9px;
  background: var(--panel);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.06);
}
.statusItem .label {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted2); margin-bottom: 3px;
}
.statusItem .val { font-size: 12px; font-weight: 600; color: var(--text); }

.terminal {
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 8px;
  overflow: hidden;
}
.termBar {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: #141414;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.termDot { width: 9px; height: 9px; border-radius: 50%; background: var(--border2); }
.termDot:nth-child(1) { background: #e05a4a30; }
.termDot:nth-child(2) { background: #e8a04a30; }
.termDot:nth-child(3) { background: #4ab8a030; }
.termTitle {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--muted2); margin-left: 4px; letter-spacing: .04em;
}
.termBody {
  padding: 13px 14px 11px;
  min-height: 126px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.75;
  color: #d6d0c8;
}
.termLine { margin-bottom: 1px; }
.prompt { color: var(--amber); }
.mutedMono { color: var(--muted2); }
.ok { color: var(--teal); }
.warn { color: var(--amber); }
.cursor {
  display: inline-block; width: 6px; height: 12px;
  background: var(--amber); vertical-align: middle;
  margin-left: 2px; animation: blink .9s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 900px) {
  .heroInner { grid-template-columns: 1fr; gap: 40px; }
  .heroRight { position: static; }
  .hero::after { font-size: 25vw; }
}

/* ─── SECTION HEAD ────────────────────────────────────── */
.sectionHead {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.sectionEye {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--amber);
}
.sectionEye::before { content: ''; display: block; width: 18px; height: 1px; background: var(--amber); }
.sectionH2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.7vw, 58px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: .96;
  color: var(--text);
}
.sectionH2 em {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 400; color: var(--amber);
}
.sectionSub {
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.72;
}

/* ─── SERVICES GRID ───────────────────────────────────── */
.servicesGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  overflow: hidden;
}
.serviceCard { background: #101010; padding: 26px 24px 24px; transition: background .25s; position: relative; overflow: hidden; }
.serviceCard:hover { background: var(--panel); }
.serviceCard::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(216,154,67,.7), transparent 70%);
  opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.serviceCard:hover::before { opacity: 1; }
.serviceTag {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .11em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px;
}
.serviceCard h3 {
  font-family: var(--font-display); font-size: 21px;
  font-weight: 700; letter-spacing: -.01em;
  margin-bottom: 9px; color: var(--text);
}
.serviceCard p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }
.serviceList { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.serviceList li {
  font-size: 13px; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.serviceList li::before {
  content: ''; display: block;
  width: 14px; height: 1px; background: var(--amber); flex-shrink: 0;
}
@media (max-width: 680px) { .servicesGrid { grid-template-columns: 1fr; } }

/* ─── DELIVERABLES ───────────────────────────────────── */
.delivGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}
.delivCard { background: #101010; padding: 24px 22px; transition: background .2s; }
.delivCard:hover { background: var(--panel); }
.delivNum {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .14em; color: var(--amber); margin-bottom: 14px;
}
.delivCard h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 7px; color: var(--text); }
.delivCard p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.delivCard ul li {
  font-size: 12px; color: var(--muted2); padding: 4px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 7px;
}
.delivCard ul li:last-child { border-bottom: none; }
.delivCard ul li::before { content: '→'; color: var(--amber); font-size: 10px; font-family: var(--font-mono); }
@media (max-width: 680px) { .delivGrid { grid-template-columns: 1fr; } }

/* ─── QUOTE BAR ───────────────────────────────────────── */
.quoteBar {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(216,154,67,.10), rgba(216,154,67,.06));
  border: 1px solid rgba(216,154,67,.18);
  border-radius: 6px;
}
.quoteBar p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.quoteBar strong { color: var(--text); font-weight: 600; display: block; margin-bottom: 3px; }

/* ─── INDUSTRIES ─────────────────────────────────────── */
.industriesRow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.industryCard { padding: 18px 18px 16px; background: #101010; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; transition: border-color .2s, background .2s; }
.industryCard:hover { border-color: var(--border2); background: var(--panel); }
.industryCard h3 { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-bottom: 7px; color: var(--text); }
.industryCard p { font-size: 13px; color: var(--muted); line-height: 1.6; }
@media (max-width: 680px) { .industriesRow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .industriesRow { grid-template-columns: 1fr; } }

/* ─── INSIGHTS ───────────────────────────────────────── */
.insightsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  overflow: hidden;
}
.insightCard { background: #101010; padding: 22px 20px; transition: background .2s; }
.insightCard:hover { background: var(--panel); }
.insightTag {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 11px; display: block;
}
.insightCard h3 {
  font-family: var(--font-display); font-size: 16px;
  font-weight: 700; letter-spacing: -.01em;
  margin-bottom: 7px; color: var(--text); line-height: 1.25;
}
.insightCard p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.insightLink {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .07em; color: var(--amber);
  display: inline-flex; align-items: center; gap: 5px;
  transition: gap .2s;
}
.insightCard:hover .insightLink { gap: 9px; }
@media (max-width: 680px) { .insightsGrid { grid-template-columns: 1fr; } }

/* ─── CTA ────────────────────────────────────────────── */
.ctaBox {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
}
.ctaBox::before {
  content: ''; position: absolute;
  top: -80px; right: -80px; width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,74,.10) 0%, transparent 70%);
  pointer-events: none;
}
.ctaBox h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 38px); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.1; margin-bottom: 10px;
}
.ctaBox h2 em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--amber);
}
.ctaBox p { font-size: 14px; color: var(--muted); line-height: 1.65; max-width: 460px; }
.ctaEmail {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--amber); margin-top: 14px; display: block;
}
.ctaBtns { display: flex; flex-direction: column; gap: 9px; flex-shrink: 0; }
@media (max-width: 680px) {
  .ctaBox { grid-template-columns: 1fr; padding: 36px 26px; }
  .ctaBtns { flex-direction: row; flex-wrap: wrap; }
}

/* ─── FOOTER ─────────────────────────────────────────── */
footer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 34px 0 18px;
  background: transparent;
}
.footGrid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px; margin-bottom: 48px;
}
.footInfo p { font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 260px; margin-top: 10px; }
.footBrand { font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .07em; color: var(--text); }
.footCol h4 {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted2); margin-bottom: 14px;
}
.footCol ul { display: flex; flex-direction: column; gap: 8px; }
.footCol ul li a { font-size: 13px; color: var(--muted); transition: color .2s; }
.footCol ul li a:hover { color: var(--text); }
.footBottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid var(--border);
  font-size: 11px; color: var(--muted2); font-family: var(--font-mono);
}
.footBottom a { color: var(--muted2); transition: color .2s; }
.footBottom a:hover { color: var(--text); }
@media (max-width: 860px) { .footGrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footGrid { grid-template-columns: 1fr; } }

/* ─── MODAL ───────────────────────────────────────────── */
.modalBackdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modalBackdrop.show { display: flex; }
.modal {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--r2); width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto;
}
.modalTop { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 26px 26px 0; }
.modalTop h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-bottom: 3px; }
.modalTop p { font-size: 13px; color: var(--muted); }
.closeBtn {
  background: var(--panel); border: 1px solid var(--border2);
  border-radius: var(--r); color: var(--muted);
  font-size: 11px; font-family: var(--font-mono);
  padding: 5px 9px; cursor: pointer; flex-shrink: 0; transition: all .2s;
}
.closeBtn:hover { color: var(--text); }
.modalBody { padding: 22px 26px 26px; }
.modalBody form { display: flex; flex-direction: column; gap: 11px; }
.modalBody input, .modalBody textarea {
  width: 100%; background: var(--panel);
  border: 1px solid var(--border2); border-radius: var(--r);
  padding: 10px 13px; font-size: 13px; font-family: var(--font-display);
  color: var(--text); outline: none; transition: border-color .2s;
}
.modalBody input:focus, .modalBody textarea:focus { border-color: var(--amber); }
.modalBody input::placeholder, .modalBody textarea::placeholder { color: var(--muted2); }
.modalBody textarea { resize: vertical; min-height: 90px; }
.modalNote { font-family: var(--font-mono); font-size: 11px; color: var(--muted2); }

/* ─── TOAST ───────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--r2); padding: 13px 16px; z-index: 300;
  transform: translateY(16px); opacity: 0;
  transition: all .3s var(--ease-out); pointer-events: none; max-width: 260px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast b { font-size: 12px; font-weight: 700; display: block; margin-bottom: 2px; }
.toast p { font-size: 12px; color: var(--muted); }

/* ─── REVEAL ─────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ─── PAGE HERO ───────────────────────────────────────── */
.pageHero {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}
.pageHero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 800; letter-spacing: -.025em;
  line-height: 1.04; margin-bottom: 14px;
}
.pageHero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--amber); }
.pageHero p { font-size: 15px; color: var(--muted); line-height: 1.65; max-width: 560px; }

/* ─── ABOUT ───────────────────────────────────────────── */
.aboutGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.aboutText p { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.aboutText strong { color: var(--text); }
.stackRow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.stackTag {
  font-family: var(--font-mono); font-size: 10px;
  padding: 5px 10px; background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--r); color: var(--muted); letter-spacing: .05em;
}
@media (max-width: 680px) { .aboutGrid { grid-template-columns: 1fr; gap: 36px; } }

/* ─── CONTACT ─────────────────────────────────────────── */
.contactGrid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contactInfo h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.contactInfo p { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 22px; }
.contactDetail { display: flex; flex-direction: column; gap: 11px; }
.contactDetail a { font-family: var(--font-mono); font-size: 13px; color: var(--amber); transition: opacity .2s; }
.contactDetail a:hover { opacity: .75; }
.contactDetail span { font-family: var(--font-mono); font-size: 13px; color: var(--muted2); }
form.contactForm { display: flex; flex-direction: column; gap: 12px; }
form.contactForm input, form.contactForm textarea, form.contactForm select {
  width: 100%; background: var(--surface);
  border: 1px solid var(--border2); border-radius: var(--r);
  padding: 11px 14px; font-size: 13px; font-family: var(--font-display);
  color: var(--text); outline: none; transition: border-color .2s;
}
form.contactForm input:focus, form.contactForm textarea:focus, form.contactForm select:focus { border-color: var(--amber); }
form.contactForm input::placeholder, form.contactForm textarea::placeholder { color: var(--muted2); }
form.contactForm textarea { resize: vertical; min-height: 110px; }
form.contactForm select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23555' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
form.contactForm select option { background: #141410; }
.captchaRow { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.captchaLabel { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.captchaLabel span { color: var(--amber); font-weight: 600; }
.captchaRow input { width: 76px !important; flex-shrink: 0; }
@media (max-width: 680px) { .contactGrid { grid-template-columns: 1fr; gap: 36px; } }

/* ─── ARTICLE ─────────────────────────────────────────── */
.articleWrap { max-width: 720px; margin: 0 auto; }
.articleHeader { padding: 76px 0 36px; border-bottom: 1px solid var(--border); margin-bottom: 44px; }
.articleHeader .tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 14px; display: block;
}
.articleHeader h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 50px); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.05; margin-bottom: 14px;
}
.articleHeader p { font-size: 15px; color: var(--muted); line-height: 1.65; }
.articleBody h2 {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  letter-spacing: -.01em; margin: 32px 0 10px; color: var(--text);
}
.articleBody h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin: 22px 0 9px; }
.articleBody p { font-size: 15px; color: var(--muted); line-height: 1.78; margin-bottom: 16px; }
.articleBody ul, .articleBody ol { margin: 0 0 18px 18px; }
.articleBody li { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 7px; list-style: disc; }
.articleBody ol li { list-style: decimal; }
.articleBody code {
  font-family: var(--font-mono); font-size: 12px;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 3px; padding: 2px 5px; color: var(--amber);
}
.articleBody pre {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--r2); padding: 18px 20px;
  overflow-x: auto; margin: 0 0 18px;
}
.articleBody pre code { background: none; border: none; padding: 0; color: var(--teal); }
.articleBody blockquote {
  border-left: 3px solid var(--amber); margin: 0 0 18px;
  padding: 11px 18px; background: var(--amber-dim);
  border-radius: 0 var(--r) var(--r) 0;
}
.articleBody blockquote p { color: var(--text); margin: 0; }
.articleBody table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 0 0 22px; }
.articleBody th {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; padding: 9px 13px;
  border-bottom: 1px solid var(--border2); text-align: left; color: var(--muted2);
}
.articleBody td { padding: 9px 13px; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: top; }

/* ─── PRICING ─────────────────────────────────────────── */
.pricingGrid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden;
}
.pricingCard { background: var(--surface); padding: 26px 22px; position: relative; }
.pricingCard.featured { background: var(--panel); }
.pricingCard.featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--teal));
}
.planName {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted2); margin-bottom: 10px;
}
.planPrice {
  font-family: var(--font-display); font-size: 34px; font-weight: 800;
  letter-spacing: -.02em; color: var(--text); margin-bottom: 3px;
}
.planPrice span { font-size: 13px; font-weight: 400; color: var(--muted2); vertical-align: bottom; }
.planDesc {
  font-size: 13px; color: var(--muted); line-height: 1.55;
  margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border);
}
@media (max-width: 680px) { .pricingGrid { grid-template-columns: 1fr; } }

/* ─── INSIGHTS INDEX ──────────────────────────────────── */
.insightsListGrid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden;
}
.insightsListCard { background: var(--surface); padding: 26px 24px; transition: background .2s; }
.insightsListCard:hover { background: var(--panel); }
@media (max-width: 560px) { .insightsListGrid { grid-template-columns: 1fr; } }

/* bgFX and grain — keep refs but hide old canvas */
.bgFX { display: none; }
.grain { display: none; }

/* ─── LEARN DROPDOWN ─────────────────────────────────── */
.navDropdown {
  position: relative;
}

.navDropdown > .dropTrigger {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 13px;
  border-radius: var(--r);
  cursor: pointer;
  transition: color .2s, background .2s;
  letter-spacing: .02em;
  user-select: none;
  border: none;
  background: none;
  font-family: var(--font-display);
}

.navDropdown > .dropTrigger:hover,
.navDropdown.open > .dropTrigger {
  color: var(--text);
  background: rgba(255,255,255,.04);
}

.dropArrow {
  width: 10px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s var(--ease-out);
  opacity: .5;
}

.navDropdown.open .dropArrow {
  transform: rotate(180deg);
  opacity: 1;
}

.dropMenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--r2);
  padding: 8px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity .18s var(--ease-out), transform .18s var(--ease-out);
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
}

.navDropdown.open .dropMenu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropSection {
  padding: 6px 4px 4px;
}

.dropSectionLabel {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted2);
  padding: 0 8px 6px;
  display: block;
}

.dropDivider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 4px 0;
}

.dropItem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: background .15s, color .15s;
  cursor: pointer;
}

.dropItem:hover {
  background: rgba(255,255,255,.05);
  color: var(--text);
}

.dropItemIcon {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--amber);
  width: 36px;
  text-align: center;
  flex-shrink: 0;
  background: var(--amber-dim);
  border: 1px solid rgba(232,160,74,.18);
  border-radius: 3px;
  padding: 3px 0;
  letter-spacing: .04em;
}

/* Mobile learn section */
.mobileLearnToggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 500;
  padding: 11px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
}

.mobileLearnToggle.open { color: var(--text); border-bottom-color: transparent; }

.mobileLearnItems {
  display: none;
  flex-direction: column;
  gap: 0;
  padding-left: 12px;
  border-left: 2px solid var(--amber);
  margin-bottom: 8px;
}

.mobileLearnItems.open { display: flex; }

.mobileLearnItems a {
  font-size: 13px !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid var(--border) !important;
  color: var(--muted) !important;
}


/* ─── HOMEPAGE REDESIGN TWEAKS ───────────────────────── */
.heroRight { display: grid; gap: 14px; }

.statusItem .val { font-size: 11px; line-height: 1.45; color: var(--text); }
.termTitle, .statusTitle, .serviceTag, .delivNum, .insightTag { color: var(--amber); }

.sectionHead.row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}
.sectionHead.row > div:first-child { max-width: 620px; }

.delivCard, .serviceCard, .insightCard {
  border-right: 1px solid rgba(255,255,255,.06);
}
.delivCard:last-child,
.serviceCard:nth-child(2n),
.insightCard:last-child {
  border-right: none;
}

.footGrid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(140px, 1fr));
  gap: 28px;
  padding-bottom: 26px;
}
.footBottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.05);
  color: var(--muted2);
  font-size: 12px;
}

@media (max-width: 980px) {
  section { padding: 58px 0; }
  .heroInner { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 42px 0 52px; }
  .sectionHead.row { flex-direction: column; align-items: flex-start; }
  .ctaBox { grid-template-columns: 1fr; }
  .footGrid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .delivGrid, .servicesGrid, .insightsGrid { grid-template-columns: 1fr; }
  .delivCard, .serviceCard, .insightCard { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
  .delivCard:last-child, .serviceCard:last-child, .insightCard:last-child { border-bottom: none; }
  .industriesRow { grid-template-columns: 1fr; }
  .footGrid { grid-template-columns: 1fr; }
  .heroH1 { font-size: clamp(46px, 16vw, 72px); }
}
