@font-face {
  font-family: "Literata";
  src: url("assets/fonts/literata-500-600.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/public-sans-400-600.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #16324a;
  --navy-hover: #23476a;
  --ink: #1d3142;
  --muted: #4b5b69;
  --paper: #f9f8f5;
  --wash: #eef1f1;
  --line: #d9dfe3;
  --accent: #a8653d;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --pad: clamp(20px, 5vw, 56px);
  --max: 1240px;
  --header: 76px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }

h1, h2 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
}

p, dd { text-wrap: pretty; }

.nowrap { white-space: nowrap; }

:focus-visible {
  outline: 3px solid #c98a4b;
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font: 600 1.0625rem/1.2 var(--sans);
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.button:hover { background: var(--navy-hover); border-color: var(--navy-hover); }

.button-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.9375rem;
}

.button-light {
  border-color: #fff;
  background: #fff;
  color: var(--navy);
}

.button-light:hover { border-color: #e3eaf0; background: #e3eaf0; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header);
}

.wordmark {
  color: var(--navy);
  font: 600 1.625rem/1 var(--serif);
  letter-spacing: -0.015em;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-header nav a:not(.button) {
  font-size: 0.9688rem;
  font-weight: 500;
  text-decoration: none;
}

.site-header nav a:not(.button):hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.menu-toggle { display: none; }

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(680px, calc(100svh - var(--header)));
}

.hero-copy {
  align-self: center;
  padding-block: 72px;
  padding-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  padding-right: clamp(40px, 5vw, 80px);
}

.hero h1 {
  max-width: 11.5em;
  font-size: clamp(2.5rem, 1.25rem + 3.4vw, 4.25rem);
  line-height: 1.05;
}

.lead {
  max-width: 31em;
  margin-top: 26px;
  color: var(--muted);
  font-size: 1.1875rem;
  line-height: 1.6;
}

.hero .button { margin-top: 36px; }

.hero-photo { position: relative; min-height: 100%; }

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 60%;
}

/* Sections */

.section { padding-block: clamp(72px, 8vw, 112px); }

.section h2,
.example h2 {
  font-size: clamp(2.125rem, 1.4rem + 1.9vw, 3.125rem);
  line-height: 1.1;
}

.intro {
  max-width: 30em;
  margin-top: 22px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}

.split-head { position: sticky; top: calc(var(--header) + 40px); }

/* What we do */

.stages {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: stage;
  border-top: 1px solid var(--line);
}

.stages li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
  counter-increment: stage;
}

.stages li::before {
  content: counter(stage);
  grid-row: span 2;
  color: var(--accent);
  font: 600 1.375rem/1.2 var(--serif);
}

.stages p {
  margin-top: 8px;
  color: var(--muted);
}

/* Example */

.example {
  padding-block: clamp(72px, 8vw, 112px);
  border-block: 1px solid var(--line);
  background: var(--wash);
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin-top: 52px;
}

.example-grid div {
  padding-top: 22px;
  border-top: 2px solid var(--navy);
}

.example-grid dt {
  color: var(--navy);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.35;
}

.example-grid dd {
  margin-top: 10px;
  color: var(--muted);
}

.example-note {
  max-width: 44em;
  margin-top: 48px;
  color: var(--ink);
}

/* Questions */

.faq { border-top: 1px solid var(--line); }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  color: var(--navy);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  text-wrap: pretty;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
}

.faq details[open] summary::after {
  background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat;
}

.faq summary:hover { color: var(--navy-hover); }

.faq details p {
  max-width: 38em;
  padding: 0 40px 26px 0;
  color: var(--muted);
}

/* Meeting */

.meeting {
  background: var(--navy);
  color: #fff;
}

.meeting-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(72px, 8vw, 112px);
}

.meeting h2 {
  color: #fff;
  font-size: clamp(2.25rem, 1.4rem + 2.3vw, 3.5rem);
  line-height: 1.08;
}

.meeting-step p {
  max-width: 26em;
  color: #e2eaf0;
  font-size: 1.3125rem;
  line-height: 1.55;
}

.meeting-step strong {
  color: #fff;
  font-weight: 600;
}

.meeting-step .button { margin-top: 30px; }

.meeting-step .meeting-address {
  margin-top: 18px;
  color: #b7c7d4;
  font-size: 1rem;
}

/* Footer */

.site-footer { padding-block: 36px; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer .wordmark { font-size: 1.375rem; }

/* Narrower screens */

@media (max-width: 999px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy { padding: 56px var(--pad) 44px; }
  .hero h1 { max-width: 12em; }
  .hero-photo { min-height: 0; }
  .hero-photo img { position: static; height: auto; aspect-ratio: 3 / 2; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split-head { position: static; }
  .meeting-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 760px) {
  :root { --header: 64px; }

  body { font-size: 1.0313rem; }

  .wordmark { font-size: 1.5rem; }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin-right: -6px;
    padding: 0 6px;
    border: 0;
    background: none;
    color: var(--navy);
    font: 500 1rem/1 var(--sans);
    cursor: pointer;
  }

  .menu-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
  }

  .menu-toggle .when-open,
  .menu-toggle[aria-expanded="true"] .when-closed { display: none; }

  .menu-toggle[aria-expanded="true"] .when-open { display: block; }

  .site-header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px var(--pad) 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 18px 28px rgba(22, 50, 74, 0.1);
  }

  .site-header nav.is-open { display: flex; }

  .site-header nav a:not(.button) {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.0625rem;
  }

  .site-header nav .button {
    margin-top: 20px;
    min-height: 52px;
    font-size: 1.0625rem;
  }

  .hero-copy { padding: 40px var(--pad) 36px; }
  .lead { margin-top: 20px; font-size: 1.125rem; }
  .hero .button { width: 100%; margin-top: 30px; }

  .stages li { grid-template-columns: 40px minmax(0, 1fr); padding-block: 26px; }

  .example-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 40px; }
  .example-note { margin-top: 40px; }

  .faq summary { padding: 20px 0; font-size: 1.0625rem; }
  .faq details p { padding-right: 0; }

  .meeting-step p { font-size: 1.1875rem; }
  .meeting-step .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
