
:root {
  --page-bg: #ffffff;
  --paper: #ffffff;
  --ink: #000000;
  --ink-soft: #4a4a4a;
  --line: rgba(0, 0, 0, 0.12);
  --accent: #3674B5;
  --accent-strong: #2A5B8E;
  --highlight: #3674B5;
  --tint-faint: #f4f8fc;
  --tint-soft: #e6eff8;
  --tint: #d5e3f1;
  --tint-strong: #c4d7ec;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  --radius: 28px;
  --radius-tight: 18px;
  --shell: min(1120px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(54, 116, 181, 0.16), transparent 50%),
    radial-gradient(circle at bottom left, rgba(54, 116, 181, 0.14), transparent 50%),
    linear-gradient(180deg, var(--tint-faint) 0%, var(--tint-soft) 100%);
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(213, 227, 241, 0.88);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.site-footer__inner,
.hero,
.service-grid,
.process-grid,
.sector-grid,
.deliverable-grid,
.contact-layout,
.explorer-layout,
.two-column {
  display: grid;
  gap: 1.5rem;
}

.site-header__inner {
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand strong,
h1,
h2,
h3,
h4,
summary {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
}

.brand small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.brand-mark {
  width: 3.25rem;
  height: 3.25rem;
  flex: none;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 16px 32px rgba(54, 116, 181, 0.25);
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  box-shadow: none;
  border: 1px solid var(--line);
}

.button-small {
  padding: 0.7rem 1rem;
}

.hero {
  grid-template-columns: 1.25fr 0.85fr;
  padding: 5rem 0 3rem;
  align-items: start;
}

.hero--solo {
  grid-template-columns: 1fr;
  max-width: 56rem;
}

.hero-inner {
  padding-top: 4rem;
}

.hero-copy h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

.hero-actions,
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.hero-card,
.service-card,
.process-card,
.sector-card,
.deliverable-card,
.contact-card,
.explorer-panel,
.inline-card,
.contact-response {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card,
.contact-card,
.explorer-panel,
.contact-response {
  padding: 1.6rem;
}

.hero-card--tight {
  align-self: start;
}

.section {
  padding: 2.2rem 0;
}

.section-heading {
  max-width: 50rem;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.cta-band h2,
.contact-copy h2 {
  margin: 0.4rem 0 0.75rem;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.eyebrow,
.service-card__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.service-grid,
.sector-grid,
.deliverable-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.process-card,
.sector-card,
.deliverable-card {
  padding: 1.5rem;
}

.service-card h3,
.deliverable-card h3,
.sector-card h3,
.process-card h3 {
  margin: 0.2rem 0 0.75rem;
}

.mini-list,
.metric-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.mini-list li,
.metric-list li {
  margin-bottom: 0.5rem;
}

.explorer-layout {
  grid-template-columns: 0.42fr 1fr;
  align-items: start;
}

.explorer-nav {
  display: grid;
  gap: 0.75rem;
}

.explorer-button {
  border: 1px solid var(--line);
  border-radius: var(--radius-tight);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  text-align: left;
  padding: 1rem 1rem 1.1rem;
  cursor: pointer;
  font: inherit;
}

.explorer-button:hover,
.explorer-button:focus-visible,
.explorer-button.is-active {
  border-color: rgba(54, 116, 181, 0.38);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.inline-card-grid,
.process-grid,
.two-column,
.contact-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inline-card,
.contact-copy {
  padding: 1.4rem;
}

.process-index {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #000000;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border-radius: var(--radius-tight);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  padding: 1rem 1.2rem;
}

.faq-item summary {
  cursor: pointer;
  font-size: 1.15rem;
}

.faq-item p {
  margin-bottom: 0;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.9)),
    radial-gradient(circle at top right, rgba(54, 116, 181, 0.3), transparent 40%);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.cta-band .eyebrow {
  color: #9bb7d6;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration-thickness: 0.08em;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  color: var(--ink);
}

.contact-response.is-success {
  border-color: rgba(54, 116, 181, 0.28);
}

.contact-response.is-error {
  border-color: rgba(176, 67, 36, 0.28);
}

.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 4rem;
  background: var(--tint-strong);
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 2rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-style: normal;
}

.footer-block p {
  margin: 0;
}

code {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

@media (max-width: 960px) {
  .hero,
  .site-footer__inner,
  .explorer-layout,
  .process-grid,
  .two-column,
  .contact-layout,
  .inline-card-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .sector-grid,
  .deliverable-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header__inner {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 2.5rem 0;
  }

  .hero {
    padding: 3rem 0 2rem;
  }
}

@media (max-width: 640px) {
  .service-grid,
  .sector-grid,
  .deliverable-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 2rem 0 1.5rem;
  }

  .hero-copy h1 {
    font-size: 2.25rem;
    line-height: 1;
  }

  .lead {
    font-size: 1.05rem;
  }

  .brand {
    align-items: center;
  }

  .brand-mark {
    width: 2.5rem;
    height: 2.5rem;
  }

  .brand span strong {
    font-size: 0.95rem;
  }

  .brand span small {
    font-size: 0.8rem;
  }

  .site-header__inner {
    padding: 0.65rem 0;
  }

  .site-nav {
    width: 100%;
    gap: 0.5rem;
  }

  .site-nav a:not(.button-small) {
    flex: 1 1 auto;
    text-align: center;
    padding: 0.5rem 0.25rem;
  }

  .site-nav .button-small {
    display: none;
  }

  .button {
    width: 100%;
    padding: 1rem 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }
}
