/* GeoBoost Insights — design tokens
   Navy base, one signal-amber accent (think target reticle), Archivo in two widths. */
:root {
  --navy: #0F1F33;
  --navy-2: #15283F;
  --line: #2A4260;
  --ink: #E9EEF4;
  --muted: #A6B5C7;
  --amber: #FFB547;
  --amber-ink: #1A1206;
  --paper: #F1F4F7;
  --paper-ink: #13233A;
  --paper-muted: #4B5D75;
  --paper-line: #CCD6E1;

  --wide: 118%;
  --measure: 66ch;
  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: var(--measure); }

h1, h2, h3 {
  font-stretch: var(--wide);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.005em; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--amber-ink); padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(15, 31, 51, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-stretch: var(--wide); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand svg { width: 28px; height: 28px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; align-items: center; }
.nav a { text-decoration: none; color: var(--muted); font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--amber); padding-bottom: 3px; }
.nav .btn { color: var(--amber-ink); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius); padding: .45rem .75rem; font: inherit; font-size: .95rem; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 0; padding: .5rem var(--gutter) 1.25rem; }
  .nav li { width: 100%; }
  .nav a { display: block; padding: .8rem 0; font-size: 1.05rem; }
  .nav .btn { display: inline-block; margin-top: .5rem; padding: .8rem 1.2rem; }
}

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  background: var(--amber); color: var(--amber-ink);
  padding: .85rem 1.35rem; border-radius: var(--radius);
  border: 2px solid var(--amber); font-size: 1rem; line-height: 1.2;
  cursor: pointer; font-family: inherit;
}
.btn:hover { background: #FFC56E; border-color: #FFC56E; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--muted); }
.nav .btn { padding: .55rem 1rem; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2rem; align-items: center; padding-top: clamp(3.5rem, 8vw, 6.5rem); padding-bottom: clamp(3.5rem, 8vw, 6.5rem); }
.hero h1 { max-width: 15ch; }
.hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 44ch; }
.hero-map { width: 100%; height: auto; }
.hero-map .grid line { stroke: var(--line); stroke-width: 1; }
.hero-map .track { fill: none; stroke: #3A5678; stroke-width: 1.25; }
.hero-map .track-live { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.4s .3s cubic-bezier(.45,.05,.25,1) forwards; }
.hero-map .reticle { stroke: var(--amber); fill: none; stroke-width: 2; opacity: 0; animation: lock .5s 2.6s ease-out forwards; }
.hero-map .reticle-dot { fill: var(--amber); opacity: 0; animation: lock .3s 2.6s ease-out forwards; }
.hero-map .label { fill: var(--muted); font-size: 13px; font-family: "Archivo", sans-serif; opacity: 0; animation: lock .5s 2.9s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes lock { from { opacity: 0; transform: scale(1.25); } to { opacity: 1; transform: scale(1); } }
.hero-map .reticle, .hero-map .reticle-dot { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: reduce) {
  .hero-map .track-live { animation: none; stroke-dashoffset: 0; }
  .hero-map .reticle, .hero-map .reticle-dot, .hero-map .label { animation: none; opacity: 1; }
}
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-map { max-width: 460px; margin-top: -.5rem; }
}

/* Credibility line */
.cred { border-bottom: 1px solid var(--line); padding: 1.6rem 0; }
.cred p { max-width: none; margin: 0; color: var(--muted); font-size: .95rem; }
.cred ul { list-style: none; margin: .6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 2rem; }
.cred li { font-stretch: var(--wide); font-weight: 600; font-size: 1.02rem; color: var(--ink); }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section.paper { background: var(--paper); color: var(--paper-ink); }
.section.paper p, .section.paper li { color: var(--paper-muted); }
.section.paper h2, .section.paper h3 { color: var(--paper-ink); }
.section-head { max-width: 48rem; margin-bottom: 3rem; }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.section.paper .section-head p { color: var(--paper-muted); }

/* Problem statements */
.problems { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.problems li { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--line); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.35; font-stretch: 108%; font-weight: 500; }
.problems li span { display: block; margin-top: .6rem; font-size: 1rem; line-height: 1.55; color: var(--muted); font-stretch: 100%; font-weight: 400; }
.problems li:nth-child(odd) { border-right: 1px solid var(--line); }
.problems li:nth-child(even) { padding-left: 2rem; }
@media (max-width: 760px) {
  .problems { grid-template-columns: 1fr; }
  .problems li, .problems li:nth-child(even) { padding: 1.6rem 0; border-right: 0; }
}

/* Process: a real sequence, drawn along a track */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 2px; background: var(--paper-line); }
.process li { position: relative; padding: 3.25rem 1.5rem 0 0; counter-increment: step; }
.process li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--paper-ink); color: var(--paper-ink);
  display: grid; place-items: center; font-weight: 700; font-size: .9rem;
}
.process li:last-child::before { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.process h3 { margin-bottom: .4rem; }
.process p { font-size: 1rem; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; }
  .process::before { left: 15px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .process li { padding: 0 0 2.25rem 3.25rem; }
}

/* Services index: rows, not cards */
.svc-rows { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 2rem; align-items: baseline; padding: 1.9rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.svc-row h3 { margin: 0; }
.svc-row p { margin: 0; color: var(--muted); }
.svc-row .meta { color: var(--muted); font-size: .95rem; white-space: nowrap; }
.svc-row:hover h3 { color: var(--amber); }
@media (max-width: 760px) { .svc-row { grid-template-columns: 1fr; gap: .5rem; } }

/* Fit */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.fit ul { list-style: none; padding: 0; margin: 0; }
.fit li { padding: .8rem 0 .8rem 1.9rem; border-bottom: 1px solid var(--paper-line); position: relative; }
.fit .yes li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--paper-ink); background: var(--amber); }
.fit .no li::before { content: ""; position: absolute; left: 1px; top: 1.45rem; width: 11px; height: 2px; background: var(--paper-muted); }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

/* About teaser */
.about-teaser { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.photo-ph {
  aspect-ratio: 4 / 5; border: 1px dashed var(--muted); border-radius: var(--radius);
  display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .95rem; padding: 1rem;
  background: repeating-linear-gradient(0deg, transparent 0 39px, rgba(42,66,96,.55) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(42,66,96,.55) 39px 40px);
}
.about-teaser blockquote { margin: 0 0 1.25rem; font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.3; font-stretch: 108%; font-weight: 500; }
@media (max-width: 760px) { .about-teaser { grid-template-columns: 1fr; } .photo-ph { max-width: 280px; } }

/* CTA band */
.cta-band { background: var(--amber); color: var(--amber-ink); padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.cta-band h2 { margin: 0 0 .5rem; max-width: 18ch; }
.cta-band p { margin: 0; max-width: 46ch; }
.cta-band .btn { background: var(--navy); color: var(--ink); border-color: var(--navy); }
.cta-band .btn:hover { background: var(--navy-2); border-color: var(--navy-2); }

/* Inner page header */
.page-head {
  border-bottom: 1px solid var(--line);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background:
    linear-gradient(180deg, rgba(15,31,51,0) 0%, var(--navy) 100%),
    repeating-linear-gradient(0deg, transparent 0 63px, rgba(42,66,96,.5) 63px 64px),
    repeating-linear-gradient(90deg, transparent 0 63px, rgba(42,66,96,.5) 63px 64px);
}
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.75rem); max-width: 18ch; }
.page-head p { color: var(--muted); font-size: 1.2rem; max-width: 52ch; }

/* Service detail */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(2rem, 5vw, 5rem); padding: clamp(3rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--paper-line); }
.svc:last-child { border-bottom: 0; }
.svc aside dl { margin: 1.5rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.25rem; font-size: .98rem; }
.svc aside dt { color: var(--paper-muted); }
.svc aside dd { margin: 0; color: var(--paper-ink); font-weight: 600; }
.svc h4 { font-size: 1rem; margin: 1.75rem 0 .5rem; color: var(--paper-ink); font-stretch: var(--wide); }
.svc h4:first-child { margin-top: 0; }
.svc ul { margin: 0; padding-left: 1.2rem; }
.svc li { margin-bottom: .35rem; }
.svc .btn { margin-top: 1.5rem; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } }

/* About page */
.prose { max-width: var(--measure); }
.prose p { font-size: 1.1rem; }
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.6rem 1.5rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); border: 2px solid var(--muted); }
.timeline li:first-child::before { background: var(--amber); border-color: var(--amber); }
.timeline strong { display: block; font-stretch: var(--wide); }
.timeline span { color: var(--muted); font-size: .95rem; }
.note-ph { border: 1px dashed var(--muted); border-radius: var(--radius); padding: 1.25rem 1.5rem; color: var(--muted); margin-top: 2rem; max-width: var(--measure); }

/* Insights */
.cat { padding: 2.5rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem; }
.cat:last-child { border-bottom: 0; }
.cat h2 { font-size: 1.5rem; margin: 0 0 .4rem; }
.cat > div > p { color: var(--muted); font-size: 1rem; }
.posts { list-style: none; margin: 0; padding: 0; }
.posts li { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.posts li:last-child { border-bottom: 0; }
.posts a { text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.posts a:hover { color: var(--amber); }
.posts .empty { color: var(--muted); }
@media (max-width: 760px) { .cat { grid-template-columns: 1fr; gap: 1rem; } }

/* Article */
.article { max-width: 44rem; }
.article p, .article li { font-size: 1.125rem; }
.article .byline { color: var(--muted); font-size: .98rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
form .field { margin-bottom: 1.25rem; }
label { display: block; font-weight: 600; margin-bottom: .4rem; font-size: .98rem; }
label small { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--navy-2);
  border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem .85rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--amber); outline: 2px solid var(--amber); outline-offset: 0; }
textarea { min-height: 8rem; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.hidden { position: absolute; left: -9999px; }
.cal-ph { border: 1px dashed var(--muted); border-radius: var(--radius); padding: 2rem 1.5rem; color: var(--muted); margin-top: 1rem; }
.direct dl { margin: 1rem 0 0; }
.direct dt { color: var(--muted); font-size: .92rem; margin-top: 1rem; }
.direct dd { margin: 0; font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0 2.5rem; color: var(--muted); font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 1rem; font-size: .88rem; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Headshots, media list, email form */
.headshot { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: var(--navy-2); }
.about-teaser .headshot { max-width: 320px; }
.media { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.media li { padding: .75rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.form-error { color: var(--amber); font-weight: 600; }
.form-note { color: var(--muted); font-size: .92rem; margin-top: .9rem; }

/* Services: tactics pillars */
.tactics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--amber); }
.tactics > div { padding: 2rem 2rem 1rem 0; }
.tactics > div + div { padding-left: 2rem; border-left: 1px solid var(--line); }
.tactics h3 { margin-bottom: 1rem; }
.tactics ul { list-style: none; margin: 0; padding: 0; }
.tactics li { padding: .6rem 0 .6rem 1.6rem; position: relative; color: var(--muted); border-bottom: 1px solid var(--line); }
.tactics li:last-child { border-bottom: 0; }
.tactics li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
@media (max-width: 860px) {
  .tactics { grid-template-columns: 1fr; }
  .tactics > div, .tactics > div + div { padding: 1.75rem 0 .5rem; border-left: 0; border-bottom: 1px solid var(--line); }
}
