:root {
  --bg: #f4efe7;
  --paper: rgba(255, 251, 245, 0.78);
  --panel: #132a24;
  --panel-soft: #1d3a32;
  --text: #18211d;
  --muted: #5b665e;
  --line: rgba(19, 42, 36, 0.12);
  --accent: #c96d42;
  --accent-strong: #ad5630;
  --accent-soft: #f7d7c8;
  --shadow: 0 24px 60px rgba(28, 34, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 109, 66, 0.22), transparent 28%),
    radial-gradient(circle at right 20%, rgba(29, 58, 50, 0.14), transparent 24%),
    linear-gradient(180deg, #f8f4ee 0%, var(--bg) 45%, #efe7db 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 24px auto;
}

.hero,
.section,
.footer {
  backdrop-filter: blur(10px);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 28px;
  padding: 28px;
  border-radius: 32px;
}

.topbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cta-link {
  color: var(--muted);
}

.hero-copy h1,
.section h2,
.footer h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  max-width: 11ch;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede,
.card p,
.story-block p,
.quote-card,
.process-list p,
.footer p,
.hero-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: var(--panel);
  color: #fff8f2;
}

.button-primary:hover {
  background: var(--panel-soft);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.4);
}

.hero-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-soft) 100%);
  color: #f8f2ea;
  align-self: end;
}

.metric {
  display: block;
  margin-bottom: 4px;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.hero-card p {
  margin: 0;
  color: rgba(248, 242, 234, 0.8);
}

.section,
.footer {
  margin-top: 24px;
  padding: 28px;
  border-radius: 28px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section h2,
.footer h2 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  max-width: 13ch;
}

.service-grid,
.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.process-list article,
.quote-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.card h3,
.process-list h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.split-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.story-block p:last-child,
.footer p:last-child {
  margin-bottom: 0;
}

.quote {
  margin: 0 0 12px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.3;
}

.quote-author {
  margin: 0;
  color: var(--accent-strong);
  font-weight: 700;
}

.process-list article span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent-strong);
  font-weight: 800;
}

.footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 900px) {
  .hero,
  .split-section,
  .service-grid,
  .process-list,
  .footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer {
    align-items: start;
  }

  .page-shell {
    width: min(100% - 20px, 1160px);
    margin: 10px auto 28px;
  }

  .hero,
  .section,
  .footer {
    padding: 22px;
    border-radius: 24px;
  }
}
