/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #1B2A3D;
  --navy-tagline: #12202E;
  --sage: #5C715E;
  --sage-text: #5A6B63;
  --ivory: #F6F7F3;
  --white: #FFFFFF;
  --amber: #8F6838;
  --hairline: #E1E4DE;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap-max: 1120px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--navy);
  margin: 0;
  font-weight: 500;
}

p { margin: 0; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  padding: 28px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.logo-mark {
  height: 56px;
  width: auto;
}

.tagline {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--navy-tagline);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-cta {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 1px solid var(--sage);
  padding-bottom: 2px;
}

.header-cta:hover {
  color: var(--sage);
}

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 64px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.3;
  max-width: 34ch;
  font-weight: 500;
}

/* ---------- Stats ---------- */
.stats {
  background: var(--white);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}

.stat-number {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 44px);
  color: var(--amber);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 15px;
  color: var(--sage-text);
}

.stats-tagline {
  max-width: 60ch;
  color: var(--sage-text);
  font-size: 16px;
}

/* ---------- Capabilities ---------- */
.capabilities {
  padding: 72px 0 24px;
}

.capabilities > .wrap h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 40px;
}

.cap-row {
  border-top: 1px solid var(--hairline);
  padding: 48px 0;
}

.cap-row-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
}

.cap-row.reverse .cap-row-inner {
  grid-template-columns: 1fr 280px;
}

.cap-row.reverse .cap-image {
  order: 2;
}

.cap-image img {
  border-radius: 4px;
  border: 1px solid var(--hairline);
  background: var(--white);
}

.cap-text h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.cap-text p {
  max-width: 62ch;
  color: var(--navy);
}

/* ---------- Process ---------- */
.process {
  background: var(--white);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 72px 0;
}

.process h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 14px;
}

.process-intro {
  color: var(--sage-text);
  font-size: 17px;
  margin-bottom: 44px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: start;
}

.step-number {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--amber);
  line-height: 1;
}

.step-text h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.step-text p {
  max-width: 62ch;
  color: var(--navy);
}

/* ---------- Contact ---------- */
.contact {
  padding: 64px 0;
}

.contact-line {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  max-width: 22ch;
}

.contact-line a {
  color: var(--sage);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-line a:hover {
  color: var(--navy);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 28px 0 40px;
  color: var(--sage-text);
  font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }

  .cap-row-inner,
  .cap-row.reverse .cap-row-inner {
    grid-template-columns: 1fr;
  }

  .cap-row.reverse .cap-image {
    order: 0;
  }

  .cap-image {
    max-width: 320px;
  }

  .step {
    grid-template-columns: 48px 1fr;
  }

  .step-number {
    font-size: 30px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
