/* AIDIQ Consulting: site styles
   Brand: charcoal + bronze, Sora (headings) / Inter (body) */

:root {
  --charcoal: #17191E;
  --charcoal-2: #1E2128;   /* raised surface (brand "Ink") */
  --charcoal-3: #262A33;   /* cards / borders */
  --line: #333844;
  --bronze: #C8874A;
  --bronze-deep: #9A5F28;
  --bronze-soft: rgba(200, 135, 74, 0.12);
  --white: #FFFFFF;
  --text: #E8EAEE;
  --muted: #A9AEB9;
  --radius: 14px;
  --max: 1160px;
  --font-head: "Sora", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--bronze); text-underline-offset: 3px; }
a:hover { color: #E0A46C; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--white); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--bronze); color: var(--charcoal); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 25, 30, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand img { height: 46px; width: auto; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  color: var(--white); padding: 8px 12px; font: 600 15px var(--font-body); cursor: pointer;
}
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px;
}
.site-nav a:hover { color: var(--white); background: var(--charcoal-3); }
.site-nav a[aria-current="page"] { color: var(--bronze); }
.site-nav .btn { margin-left: 8px; color: var(--charcoal); }
.site-nav .btn:hover { background: #D99A5E; color: var(--charcoal); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--charcoal); border-bottom: 1px solid var(--line); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 2px; }
  .site-nav a { padding: 12px; font-size: 16px; }
  .site-nav .btn { margin: 10px 0 0; text-align: center; }
  .brand img { height: 40px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 10px;
  background: var(--bronze); color: var(--charcoal); border: 2px solid var(--bronze);
  font: 600 16px var(--font-body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s;
}
.btn:hover { background: #D99A5E; border-color: #D99A5E; color: var(--charcoal); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn-ghost:hover { background: var(--charcoal-3); border-color: var(--muted); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
@media (max-width: 700px) { section { padding: 64px 0; } }
.section-alt { background: var(--charcoal-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  display: inline-block; font: 600 13px var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 14px;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.muted { color: var(--muted); }
.bronze { color: var(--bronze); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 104px; }
.hero .network { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero-logo { width: 100%; max-width: 460px; min-width: 300px; justify-self: end; }
.hero .label { color: var(--muted); font-weight: 500; margin-bottom: 18px; }
.hero .lead { margin-bottom: 32px; }
@media (max-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-logo { justify-self: start; order: -1; max-width: 340px; }
}

.page-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero .network { position: absolute; right: 0; top: 0; height: 100%; width: 60%; opacity: .35; pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); max-width: 820px; }

/* ---------- Problem / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.pullquote {
  font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 600; line-height: 1.35;
  color: var(--white); border-left: 4px solid var(--bronze); padding-left: 24px; margin: 0;
}

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.card {
  background: var(--charcoal-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: border-color .2s, transform .2s;
}
.section-alt .card { background: var(--charcoal); }
/* Five capabilities: 3 + 2 on wide screens */
@media (min-width: 960px) {
  .cards.five { grid-template-columns: repeat(6, 1fr); }
  .cards.five > * { grid-column: span 2; }
  .cards.five > :nth-child(n+4) { grid-column: span 3; }
}
.card:hover { border-color: rgba(200, 135, 74, .5); }
.card .num { font: 700 14px var(--font-head); color: var(--bronze); letter-spacing: .1em; margin-bottom: 14px; display: block; }
.card p { color: var(--muted); margin: 0; }
.card.featured { border-color: rgba(200, 135, 74, .55); background: linear-gradient(160deg, rgba(200,135,74,.10), transparent 60%), var(--charcoal-2); }

/* ---------- Data-driven decisions ---------- */
.differentiator { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; max-width: 520px; }
.differentiator strong { color: var(--bronze); font-weight: 600; }
.cards.decisions { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card .q { font: 600 1.15rem var(--font-head); color: var(--white); margin: 0 0 10px; }
.card .q::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--bronze); margin-right: 10px; vertical-align: middle; position: relative; top: -2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Bronze dot bullets ---------- */
.dots { list-style: none; padding: 0; margin: 0 0 1em; }
.dots li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.dots li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--bronze);
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr; } }
.stat { padding: 24px 0 0; border-top: 2px solid var(--bronze); }
.stat .value { font: 700 clamp(2rem, 4vw, 2.75rem) var(--font-head); color: var(--white); line-height: 1.1; }
.stat .label { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* ---------- Vehicles ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 500; color: var(--text);
  background: var(--charcoal-2);
}
.section-alt .chips li { background: var(--charcoal); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--charcoal-2); }
.section-alt .steps li { background: var(--charcoal); }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; font: 700 14px var(--font-head); color: var(--bronze); letter-spacing: .1em; margin-bottom: 12px;
}
.steps p { color: var(--muted); margin: 0; }

/* ---------- Service detail ---------- */
.service { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 48px 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service h2 { font-size: 1.6rem; }
.service .num { font: 700 14px var(--font-head); color: var(--bronze); letter-spacing: .1em; display: block; margin-bottom: 10px; }
@media (max-width: 820px) { .service { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Timeline (About) ---------- */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 32px 28px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bronze); box-shadow: 0 0 0 4px var(--charcoal); }
.section-alt .timeline li::before { box-shadow: 0 0 0 4px var(--charcoal-2); }
.timeline .when { font-size: 14px; color: var(--bronze); font-weight: 600; letter-spacing: .04em; }
.timeline h3 { margin: 4px 0 4px; }
.timeline p { color: var(--muted); margin: 0; }

/* ---------- Federal identifiers table ---------- */
.idtable { width: 100%; border-collapse: collapse; font-size: 16px; }
.idtable th, .idtable td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.idtable th { width: 42%; color: var(--muted); font-weight: 500; padding-right: 16px; }
.pending { color: var(--muted); font-style: italic; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band .inner { max-width: 720px; margin: 0 auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 15px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--charcoal-2); color: var(--white); font: 16px var(--font-body);
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--bronze); outline-offset: 1px; border-color: transparent; }
.form .hint { font-size: 14px; color: var(--muted); }
.contact-card { background: var(--charcoal-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-card dl { margin: 0; }
.contact-card dt { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: 18px; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 4px 0 0; font-size: 17px; color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; background: #121418; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer img { height: 44px; width: auto; margin-bottom: 14px; }
.site-footer h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-family: var(--font-body); font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--bronze); }
.tagline { font-family: var(--font-head); font-weight: 600; color: var(--white); margin: 0; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
