:root {
  --bg: #f7efe3;
  --bg-strong: #f2e3cf;
  --surface: rgba(255, 250, 242, 0.82);
  --surface-strong: #fff8ef;
  --text: #13213a;
  --muted: #53627f;
  --line: rgba(19, 33, 58, 0.12);
  --accent: #d86d3f;
  --accent-dark: #b85228;
  --highlight: #f1c25f;
  --shadow: 0 24px 60px rgba(40, 35, 25, 0.12);
  --radius: 24px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(241, 194, 95, 0.34), transparent 30%),
    radial-gradient(circle at 85% 12%, rgba(216, 109, 63, 0.2), transparent 24%),
    linear-gradient(180deg, #fbf6ee 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(19, 33, 58, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 33, 58, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 78%);
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  background: rgba(255, 248, 239, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  position: sticky;
  top: 18px;
  z-index: 10;
}

.brand,
.nav a,
.button {
  text-decoration: none;
}

.brand {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  padding: 72px 0 32px;
  align-items: stretch;
}

.hero-copy,
.hero-card,
.panel,
.step,
.quote-section blockquote,
.footer {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-copy {
  padding: 48px;
  border-radius: calc(var(--radius) + 8px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3,
blockquote {
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5.5rem);
  line-height: 0.94;
  max-width: 10ch;
}

.lede {
  max-width: 58ch;
  margin: 22px 0 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff9f2;
  background: linear-gradient(135deg, var(--accent), #cf8458);
}

.button-secondary {
  color: var(--text);
  background: rgba(19, 33, 58, 0.07);
}

.hero-card {
  border-radius: var(--radius);
  padding: 28px;
  align-self: end;
}

.card-label {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.stat-list li {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.stat-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stat-list strong,
.step-number {
  display: block;
  font-size: 1.2rem;
}

.stat-list span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
}

.band {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 12px 0 12px;
}

.band p {
  margin: 0;
  padding: 18px 22px;
  border-left: 4px solid var(--highlight);
  background: rgba(255, 248, 239, 0.84);
  border-radius: 18px;
  color: var(--text);
}

.section {
  padding: 52px 0 12px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.05;
}

.grid {
  display: grid;
  gap: 20px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel {
  padding: 28px;
  border-radius: var(--radius);
}

.panel h3,
.step h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.panel p,
.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.accent-section .timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.step {
  padding: 30px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.step::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(241, 194, 95, 0.24), transparent 70%);
}

.step-number {
  margin-bottom: 14px;
  color: var(--accent-dark);
  letter-spacing: 0.08em;
}

.quote-section blockquote {
  margin: 0;
  padding: 38px;
  border-radius: calc(var(--radius) + 8px);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.3;
}

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

.footer {
  margin-top: 48px;
  padding: 22px 24px;
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
}

code {
  font-family: "SFMono-Regular", "Menlo", monospace;
  background: rgba(19, 33, 58, 0.08);
  padding: 0.15em 0.4em;
  border-radius: 8px;
}

@media (max-width: 920px) {
  .hero,
  .three-up,
  .accent-section .timeline,
  .contact-grid,
  .band {
    grid-template-columns: 1fr;
  }

  .topbar {
    border-radius: 28px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-copy {
    padding: 34px 28px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 14px;
  }

  .topbar {
    position: static;
  }

  h1 {
    max-width: none;
  }

  .hero-copy,
  .hero-card,
  .panel,
  .step,
  .quote-section blockquote,
  .footer {
    padding-left: 22px;
    padding-right: 22px;
  }
}
