@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --band: #e8f0fa;
  --ink: #142033;
  --ink-soft: #4a5a70;
  --blue: #1f56b3;
  --blue-deep: #17438c;
  --navy: #0f2a4a;
  --on-navy: #c9d8ee;
  --line: #d5deea;
  --field-line: #7487a3;
  --error: #b42318;
  --error-wash: #fdf2f1;
  --ok: #1d6b45;

  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;

  --wrap: 75rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
p, li { text-wrap: pretty; }
img { max-width: 100%; display: block; }

::selection { background: var(--blue); color: #fff; }
a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; background: var(--surface); padding: 0.5rem 1rem; border-radius: 6px; }
.skip:focus { top: 1rem; }

/* Header */

.site-head { position: sticky; top: 0; z-index: 6; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); padding-top: 1rem; padding-bottom: 1rem; }
.wordmark { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.wordmark span { color: var(--blue); }
.wordmark:hover { color: var(--ink); }
.nav { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); font-size: 1rem; }
.nav a { color: var(--ink-soft); text-decoration: none; padding: 0.25rem 0; }
.nav a:hover { color: var(--blue); }
.nav .nav-cta { color: var(--blue); font-weight: 600; }
.nav a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
.nav-toggle { display: none; font: inherit; font-size: 0.9375rem; font-weight: 600; color: var(--ink); background: var(--band); border: 0; border-radius: 999px; padding: 0.5rem 1rem; cursor: pointer; }
.nav-toggle:hover { background: var(--line); }

.founders-note { margin-top: var(--space-5); padding: var(--space-3) var(--space-4); background: var(--band); border-radius: 1.25rem; }
.founders-note p { margin-top: 0.4rem; color: var(--ink-soft); max-width: 40rem; }
.founders-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-2); }
.founders-grid h4 { margin: 0; font-size: 1.125rem; font-weight: 800; color: var(--ink); }
.founders-note .proof { border-top-color: rgba(31, 86, 179, 0.18); }
.fig-none .kind { margin-bottom: 0; }
.career-sub strong { color: var(--ink); }

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: center;
  padding-top: var(--space-3);
  padding-bottom: var(--space-5);
}
h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.5rem, 4.3vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 span { color: var(--blue); }
h1 .h1-line { display: block; }
h1 .h1-first { color: inherit; }
@media (min-width: 900px) { h1 .h1-first { white-space: nowrap; } }
.lede { margin-top: var(--space-3); max-width: 36rem; font-size: 1.25rem; color: var(--ink-soft); }
.lede + .lede { margin-top: var(--space-2); }
.hero-cta { margin-top: var(--space-4); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.assure { font-size: 1rem; font-weight: 600; color: var(--ink); }

.btn {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  font-size: 1.0625rem;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.7rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 42, 74, 0.2), 0 8px 18px -10px rgba(15, 42, 74, 0.55);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--blue-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.hero-photo { position: relative; justify-self: end; width: 100%; max-width: 26rem; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 1.5rem; }
.proof-tag {
  position: absolute;
  left: -1.75rem; bottom: 2.25rem;
  max-width: 17rem;
  background: var(--surface);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--ink);
  box-shadow: 0 2px 4px rgba(15, 42, 74, 0.08), 0 16px 32px -16px rgba(15, 42, 74, 0.45);
}
.proof-tag strong { display: block; font-size: 1.75rem; line-height: 1.15; color: var(--blue); font-weight: 800; }

/* Proof band */

.band { background: var(--band); }
.band-list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-5); padding-top: 1.75rem; padding-bottom: 1.75rem; font-size: 1rem; color: var(--ink-soft); }
.band-list strong { font-size: 1.375rem; color: var(--ink); margin-right: 0.4rem; font-weight: 800; }

/* Sections */

.section { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.section-tint { background: var(--band); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-1) var(--space-4); margin-bottom: var(--space-4); }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.015em; }
.section-head p { color: var(--ink-soft); font-size: 1.0625rem; max-width: 34rem; }
h3 { font-weight: 800; font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }

/* Results */

.results { border-top: 1px solid var(--line); }
.client-h { font-size: 1rem; font-weight: 600; color: var(--blue); letter-spacing: 0.02em; margin: 0 0 var(--space-1); }
.results + .client-h { margin-top: var(--space-4); }
.results li {
  display: grid;
  grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr);
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.fig .kind { display: block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-soft); line-height: 1.3; margin-bottom: 0.15rem; }
.fig-word { font-size: 1.375rem; }
.fig { font-weight: 800; font-size: 1.75rem; line-height: 1.2; color: var(--blue); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.what { font-size: 1.125rem; color: var(--ink); max-width: 44rem; }
.so { margin-top: 0.25rem; color: var(--ink-soft); font-size: 1rem; }

/* Founders */

.founders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.founders li { border-top: 3px solid var(--blue); padding-top: var(--space-2); }
.founders li p { margin-top: 0.35rem; color: var(--ink-soft); font-size: 1.0625rem; }
.founders .done { margin-top: var(--space-2); color: var(--ink); font-size: 1rem; }
.founders .done strong { color: var(--blue); }

/* Services */

.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.services .sub { margin-top: 0.3rem; color: var(--ink-soft); font-size: 1.0625rem; font-weight: 400; }
.services ul { margin-top: var(--space-2); display: grid; gap: 0.45rem; }
.services li { position: relative; padding-left: 1.1rem; }
.services li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--ink-soft); }
.also { margin-top: var(--space-2); font-size: 1rem; color: var(--ink-soft); }
.proof { margin-top: var(--space-2); padding-top: var(--space-2); border-top: 1px solid var(--line); font-size: 1rem; color: var(--ink-soft); }
.proof strong { color: var(--blue); font-weight: 800; }

/* Mid-page prompt */

.nudge { display: flex; align-items: center; gap: var(--space-3); padding-top: var(--space-3); padding-bottom: var(--space-5); }
.nudge img { width: 4rem; height: 4rem; border-radius: 50%; object-fit: cover; object-position: center 15%; flex: none; }
.nudge p { font-size: 1.1875rem; color: var(--ink); max-width: 46rem; }
.nudge a { font-weight: 600; }

/* About */

.about { padding-top: var(--space-5); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5); align-items: start; }
.notes { display: grid; gap: var(--space-3); }
.notes p { margin-top: 0.3rem; color: var(--ink-soft); }
.career { background: var(--surface); border: 1px solid var(--line); border-radius: 1.25rem; padding: var(--space-4); }
.career-h { font-size: 1.375rem; }
.career-sub { margin-top: 0.25rem; color: var(--ink-soft); font-size: 1rem; }
.career ol { margin-top: var(--space-3); display: grid; gap: var(--space-3); }
.career li { font-size: 1rem; color: var(--ink-soft); line-height: 1.55; }
.career .when { display: block; font-size: 0.875rem; font-weight: 600; color: var(--blue); letter-spacing: 0.02em; }
.career strong { display: block; color: var(--ink); font-size: 1.0625rem; }

/* Inquiry */

.inquire { background: var(--navy); color: #fff; }
.inquire-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--space-5); align-items: start; padding-top: var(--space-6); padding-bottom: var(--space-6); }
.inquire h2 { color: #fff; }
.inquire-copy p { margin-top: var(--space-2); color: var(--on-navy); max-width: 28rem; }
.inquire-copy .assure { color: #fff; }
.inquire-copy .small { font-size: 1rem; }

.card { background: var(--surface); color: var(--ink); border-radius: 1.25rem; padding: var(--space-4); box-shadow: 0 2px 4px rgba(7, 21, 38, 0.25), 0 30px 60px -30px rgba(7, 21, 38, 0.7); }
.inquiry { display: grid; gap: var(--space-2); }
.inquiry[hidden] { display: none; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); align-items: start; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--field-line);
  border-radius: 0.6rem;
  padding: 0.7rem 0.85rem;
  caret-color: var(--blue);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 86, 179, 0.2); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; background: var(--error-wash); }
.field-error { font-size: 0.9375rem; font-weight: 600; color: var(--error); line-height: 1.35; }
.field-error:empty { display: none; }
.hint { font-size: 0.9375rem; color: var(--ink-soft); margin-top: -0.15rem; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.send-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-3); margin-top: var(--space-1); }
.form-status { font-size: 1rem; font-weight: 600; color: var(--error); }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ok); }

/* Sent confirmation */

.sent { display: grid; gap: var(--space-2); align-content: start; }
.sent[hidden] { display: none; }
.sent-h { font-family: var(--serif); font-weight: 600; font-size: 2rem; line-height: 1.1; color: var(--ink); }
.sent-h:focus { outline: none; }
.sent p { color: var(--ink-soft); }
.sent .assure { color: var(--ink); }
.link-btn { justify-self: start; font: inherit; font-weight: 600; color: var(--blue); background: none; border: 0; padding: 0.25rem 0; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.link-btn:hover { color: var(--blue-deep); }

/* Resume pop-up */

.cv-open { display: inline-block; margin-top: var(--space-2); }
.btn-small { font-size: 0.9375rem; padding: 0.6rem 1.15rem; }

.cv {
  width: min(48rem, calc(100vw - 2rem));
  max-height: min(88vh, 70rem);
  padding: 0;
  border: 0;
  border-radius: 1.25rem;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 4px rgba(15, 42, 74, 0.2), 0 40px 80px -30px rgba(15, 42, 74, 0.6);
  overflow: hidden;
}
.cv[open] { display: flex; flex-direction: column; }
.cv::backdrop { background: rgba(15, 42, 74, 0.55); }
.cv-bar {
  display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: var(--space-2);
  padding: 0.85rem var(--space-3);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.cv-close { font: inherit; font-weight: 600; font-size: 0.9375rem; color: var(--ink); background: var(--band); border: 0; border-radius: 999px; padding: 0.6rem 1.15rem; cursor: pointer; }
.cv-close:hover { background: var(--line); }
.btn-ghost { font-weight: 600; font-size: 0.9375rem; color: var(--blue); border: 1.5px solid var(--blue); border-radius: 999px; padding: 0.5rem 1.05rem; text-decoration: none; }
.btn-ghost:hover { background: var(--band); color: var(--blue-deep); }
.cv-sec p, .cv-sec li, .cv-cta p { max-width: 36rem; }
.cv-cta { margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); }
.cv-cta p { font-family: var(--serif); font-weight: 600; font-size: 1.375rem; line-height: 1.2; color: var(--ink); }
.cv-body { overflow-y: auto; padding: var(--space-4); }

.cv-head { border-bottom: 3px solid var(--blue); padding-bottom: var(--space-2); }
.cv-name { font-family: var(--serif); font-weight: 600; font-size: 2rem; line-height: 1.1; }
.cv-contact { margin-top: 0.35rem; font-size: 0.9375rem; color: var(--ink-soft); }
.cv-title { margin-top: 0.5rem; font-weight: 600; color: var(--blue); font-size: 1rem; }
.cv-sec { margin-top: var(--space-3); }
.cv-sec h3 { font-size: 1.0625rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); margin-bottom: 0.5rem; }
.cv-sec p, .cv-sec li { font-size: 0.9375rem; line-height: 1.55; color: var(--ink-soft); }
.cv-sec p + p { margin-top: 0.5rem; }
.cv-sec strong { color: var(--ink); }
.cv-job { margin-top: var(--space-2); }
.cv-job + .cv-job { padding-top: var(--space-2); border-top: 1px solid var(--line); }
.cv-org { font-weight: 800; color: var(--ink) !important; font-size: 1rem !important; }
.cv-role { font-weight: 600; color: var(--ink) !important; margin-top: 0.25rem; }
.cv-org span, .cv-role span { font-weight: 400; color: var(--ink-soft); margin-left: 0.5rem; }
.cv-client { margin-top: 0.75rem; font-style: italic; }
.cv-sec ul { margin-top: 0.4rem; display: grid; gap: 0.3rem; }
.cv-sec li { position: relative; padding-left: 1rem; }
.cv-sec li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 0.35rem; height: 0.35rem; border-radius: 50%; background: var(--blue); }
@media (max-width: 40rem) {
  .cv { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .cv-body { padding: var(--space-3) var(--space-2); }
  .cv-org span, .cv-role span { display: block; margin-left: 0; }
}

/* Footer */

.site-foot { background: var(--navy); color: var(--on-navy); border-top: 1px solid rgba(201, 216, 238, 0.2); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-1) var(--space-3); padding-top: var(--space-3); padding-bottom: var(--space-3); font-size: 0.9375rem; }

/* Phone shortcut to the form */

.inquiry-tab {
  position: fixed; right: 0.75rem; bottom: 0.75rem; z-index: 5;
  display: none;
  font-weight: 600; font-size: 0.9375rem; text-decoration: none;
  color: #fff; background: var(--blue);
  padding: 0.75rem 1.1rem; border-radius: 999px;
  box-shadow: 0 2px 4px rgba(15, 42, 74, 0.2), 0 10px 20px -10px rgba(15, 42, 74, 0.55);
  opacity: 0; transform: translateY(0.5rem);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none; visibility: hidden;
}
body.menu-open .inquiry-tab { visibility: hidden; opacity: 0; }
.inquiry-tab.show { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.inquiry-tab:hover { color: #fff; background: var(--blue-deep); }

/* Narrower screens */

@media (max-width: 60rem) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .hero-photo { justify-self: center; max-width: 26rem; }
  .proof-tag { left: auto; right: -0.75rem; }
  .founders { grid-template-columns: minmax(0, 1fr); }
  .about-grid, .inquire-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 40rem) {
  body { font-size: 1.0625rem; }
  .nav-row { flex-wrap: wrap; padding-top: 0.75rem; padding-bottom: 0.75rem; row-gap: 0.5rem; }
  .nav-toggle { display: inline-block; margin-left: auto; }
  .nav { order: 3; width: 100%; display: none; flex-direction: column; gap: 0; border-top: 1px solid var(--line); padding-top: 0.5rem; }
  .nav-row.open .nav { display: flex; }
  .nav a { padding: 0.7rem 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .founders-note { padding: var(--space-3); }
  .founders-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .hero { gap: var(--space-3); padding-top: var(--space-3); }
  .hero-copy { display: contents; }
  .hero h1 { order: 1; font-size: clamp(1.9rem, 8.4vw, 2.3rem); }
  .hero-photo { order: 2; max-width: none; }
  .hero-photo img { aspect-ratio: 4 / 3; object-position: center 18%; }
  .hero .lede { order: 3; margin-top: 0; }
  .hero .lede + .lede { order: 5; }
  .hero-cta { order: 4; margin-top: 0; }
  .section { padding-top: var(--space-5); padding-bottom: var(--space-5); }
  .results li { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
  .services { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .card, .career { padding: var(--space-3); }
  .proof-tag { right: 0.6rem; bottom: 0.6rem; max-width: 13.5rem; padding: 0.65rem 0.85rem; font-size: 0.875rem; }
  .proof-tag strong { font-size: 1.375rem; }
  .band-list { flex-direction: column; gap: 0.5rem; }
  .nudge { align-items: flex-start; gap: var(--space-2); }
  .nudge img { width: 3rem; height: 3rem; }
  .nudge p { font-size: 1.0625rem; }
  .inquiry-tab { display: inline-block; }
}
