/* InGated — single stylesheet. No build step. Fonts are self-hosted (public/fonts). */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/instrument-sans-latin-wght.woff2") format("woff2-variations"),
       url("/fonts/instrument-sans-latin-wght.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --bg-tint: #e6f1ee;          /* pale mint tint for alternate bands */
  --surface: #ffffff;
  --text: #12313a;             /* deep blue-teal, replaces near-black */
  --muted: #4e6670;
  --line: #cfdedb;
  --accent: #0b7f72;           /* teal accent, AA on white */
  --accent-strong: #08655b;
  --dark: #0b2a30;             /* dark band */
  --on-dark: #e9f2f0;
  --on-dark-muted: #a9c3be;
  --focus: #c8641e;
  --max: 76rem;
  --measure: 40rem;
  --radius: 4px;
  --sans: "Instrument Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "ss01", "cv11";
}

/* Type scale: large, light, tight — headings at regular weight */
h1, h2, h3 { margin: 0 0 0.5em; font-weight: 450; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); line-height: 0.98; max-width: 16ch; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.04; max-width: 20ch; }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { color: var(--accent-strong); }
img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Mono labels: the signature detail */
.mono, .descriptor, .kicker, .service-for, .pillar-num, .site-nav a, .site-footer nav a, .role, .eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 48rem) { .container { padding: 0 3rem; } }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 20;
  background: var(--text); color: #fff; padding: 0.5rem 0.75rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 0.9rem; padding-bottom: 0.9rem;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.45rem; letter-spacing: -0.03em;
}
.wordmark .mark { color: var(--accent); flex: none; }
.site-nav { display: flex; gap: 0.25rem 1.6rem; flex-wrap: wrap; align-items: center; }
.site-nav a { color: var(--text); text-decoration: none; padding: 0.3rem 0; border-bottom: 1px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--accent); color: var(--accent-strong); }
.site-nav .nav-cta {
  color: #fff; background: var(--accent); padding: 0.55rem 1rem; border-radius: 999px; border: 0;
}
.site-nav .nav-cta:hover { background: var(--accent-strong); color: #fff; }

/* Buttons */
.actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.button {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 0.9rem 1.6rem; border-radius: 999px;
  text-decoration: none; font-weight: 500; line-height: 1.2; font-size: 1rem;
}
.button:hover { background: var(--accent-strong); color: #fff; }
.button-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.7); padding: calc(0.9rem - 1.5px) calc(1.6rem - 1.5px); }
.button-ghost:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* Hero */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--dark); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(11,42,48,0.90) 0%, rgba(11,42,48,0.66) 45%, rgba(11,42,48,0.22) 100%);
}
.hero-inner { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 48rem) { .hero-inner { padding-top: 9rem; padding-bottom: 9rem; } }
.hero .descriptor { color: #a9d9d0; margin-bottom: 1.5rem; }
.hero h1 { color: #fff; margin-bottom: 0.45em; }
.hero .lede { color: #dfe9e7; font-size: 1.25rem; line-height: 1.5; max-width: var(--measure); margin-bottom: 2.5rem; }
.descriptor { color: var(--accent); display: block; margin-bottom: 1rem; }

/* Sections */
.section { padding: 4.5rem 0; }
@media (min-width: 48rem) { .section { padding: 7rem 0; } }
.section-alt { background: var(--bg-tint); }
.section-head { margin-bottom: 3rem; }
.section-body { max-width: var(--measure); color: var(--muted); font-size: 1.15rem; line-height: 1.5; }
.note { max-width: var(--measure); color: var(--muted); font-size: 0.95rem; margin-top: 2.5rem; border-left: 2px solid var(--accent); padding-left: 1rem; }

/* Intro / positioning */
.intro-grid { display: grid; gap: 1.5rem; margin-bottom: 3.5rem; }
@media (min-width: 48rem) { .intro-grid { grid-template-columns: 6fr 6fr; gap: 4rem; } }
.intro-grid h2 { max-width: 16ch; }
.intro-grid p { color: var(--muted); font-size: 1.15rem; line-height: 1.5; }
.pillars { display: grid; gap: 1.5rem; }
@media (min-width: 40rem) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .pillars { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.pillars li { border-top: 1px solid var(--text); padding-top: 1.1rem; }
.pillar-num { display: block; color: var(--accent); margin-bottom: 1.4rem; }
.pillars h3 { font-size: 1.25rem; margin-bottom: 0.45em; }
.pillars p { color: var(--muted); font-size: 1rem; }

/* Who we serve */
.audience { display: grid; gap: 1.5rem; }
@media (min-width: 40rem) { .audience { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
.audience li { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.audience img { width: 100%; aspect-ratio: 10 / 6; object-fit: cover; }
.audience-body { padding: 1.6rem 1.6rem 1.8rem; }
.kicker { color: var(--accent); margin-bottom: 0.9rem; display: block; }
.audience h3 { margin-bottom: 0.45em; font-size: 1.45rem; }
.audience p:last-child { color: var(--muted); }

/* Services */
.services { display: grid; gap: 0; counter-reset: svc; border-top: 1px solid var(--text); }
.services li {
  position: relative; display: grid; gap: 0.5rem 2rem;
  padding: 2rem 0 2rem 3.5rem; border-bottom: 1px solid var(--line);
}
@media (min-width: 64rem) {
  .services li { grid-template-columns: 1fr 1.4fr; padding-left: 4rem; }
  .services li > .service-for { grid-column: 1 / -1; }
  .services li > .deliverable { grid-column: 2; }
}
.services li::before {
  counter-increment: svc; content: "0" counter(svc);
  position: absolute; left: 0; top: 2.1rem;
  font-family: var(--mono); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.08em; color: var(--accent);
}
.service-for { color: var(--muted); margin-bottom: 0.25rem; display: block; }
.services h3 { font-size: 1.6rem; margin-bottom: 0.3em; }
.services p { color: var(--muted); }
.deliverable { color: var(--text); font-size: 1rem; margin-top: 0.25rem; }
.deliverable strong { color: var(--accent-strong); font-weight: 600; }

/* What we assess */
.assess-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 64rem) { .assess-grid { grid-template-columns: 7fr 5fr; gap: 5rem; } }
.assess-figure { margin: 0; position: sticky; top: 6rem; }
.assess-figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 63.99rem) { .assess-figure { position: static; } .assess-figure img { aspect-ratio: 16 / 9; } }
.criteria { display: grid; gap: 1.5rem 2.5rem; margin-top: 2.5rem; }
@media (min-width: 40rem) { .criteria { grid-template-columns: repeat(2, 1fr); } }
.criteria li { border-top: 1px solid var(--text); padding-top: 1rem; }
.criteria h3 { font-size: 1.2rem; margin-bottom: 0.35em; }
.criteria p { color: var(--muted); font-size: 1rem; }

/* Approach (dark band) */
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-body { color: var(--on-dark-muted); }
.process { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .process { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.process li { border-top: 1px solid rgba(255,255,255,0.35); padding-top: 1.2rem; }
.process h3 { font-size: 1.25rem; margin: 1.2rem 0 0.4em; }
.process p { color: var(--on-dark-muted); font-size: 1rem; }
.step-number {
  display: inline-block; font-family: var(--mono); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.08em;
  color: #a9d9d0;
}
.step-number::before { content: "Step "; }

/* People */
.people-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 64rem) { .people-grid { grid-template-columns: 5fr 7fr; gap: 5rem; } }
.people-figure { margin: 0; }
.people-figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.people { display: grid; gap: 1.75rem; margin-top: 2.5rem; }
@media (min-width: 40rem) { .people { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; } }
.people li { border-top: 1px solid var(--text); padding-top: 1rem; }
.people h3 { font-size: 1.3rem; margin-bottom: 0.4em; }
.people p:last-child { color: var(--muted); }

/* Contact */
.contact h2 { max-width: 18ch; }
.contact .actions { margin-top: 0.75rem; }
.email { font-size: 1.05rem; }
.email-label { color: var(--muted); }
.email-address { font-weight: 600; user-select: all; -webkit-user-select: all; }

/* Footer */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: 3rem 0 3.5rem; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1fr 1fr 2fr; gap: 3rem; } }
.footer-brand { color: var(--on-dark); line-height: 1.5; }
.footer-brand strong { color: #fff; font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; }
.site-footer nav { display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer nav a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer nav a:hover { color: #fff; }
.site-footer .small { font-size: 0.875rem; }
