* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.9), transparent 35%),
    linear-gradient(180deg, #fff 0%, var(--color-cream) 100%);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
svg {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}
h1, h2, h3, h4 {
  color: var(--color-navy);
  line-height: 1.02;
  margin: 0;
}
h1, h2, h3 {
  font-family: var(--font-heading);
}
h1 {
  font-size: clamp(2.8rem, 5.4vw, 5.4rem);
  letter-spacing: -.05em;
}
h2 {
  font-size: clamp(2.15rem, 4vw, 3.7rem);
  letter-spacing: -.045em;
}
h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}
p { margin: 0; }
.section { padding: 120px 0; }
.section-dark {
  padding: 120px 0;
  background: var(--color-navy);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.section-cream {
  padding: 120px 0;
  background: var(--color-cream-2);
  border-top: 1px solid rgba(232, 225, 216, 0.8);
  border-bottom: 1px solid rgba(232, 225, 216, 0.8);
}
.section-soft {
  padding: 120px 0;
  background: var(--color-cream);
  border-top: 1px solid rgba(232,225,216,.8);
  border-bottom: 1px solid rgba(232,225,216,.8);
}
.eyebrow {
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  font-size: .82rem;
  margin-bottom: 14px;
}
.section-lead {
  margin-top: 20px;
  font-size: 1.15rem;
  color: #243041;
}
.section-body,
.section-heading-block p {
  color: var(--color-muted);
}
.signature {
  color: var(--color-secondary);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.55rem;
  margin-top: 22px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--color-secondary);
  text-decoration: none;
}
.not-found {
  min-height: calc(100vh - 220px);
  display: grid;
  place-items: center;
}
.not-found__card {
  width: min(760px, 100%);
  padding: 48px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(251,247,241,.94));
  border: 1px solid rgba(232,225,216,.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.not-found__eyebrow {
  margin-bottom: 14px;
}
.not-found__title {
  margin-bottom: 18px;
  max-width: 12ch;
}
.not-found__body {
  max-width: 56ch;
  color: var(--color-muted);
}
.not-found__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}
@media (max-width: 820px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section, .section-dark, .section-cream, .section-soft { padding: 80px 0; }
  .not-found__card {
    padding: 28px;
  }
}
