:root {
  --bg: #f3efe8;
  --paper: rgba(255, 255, 255, 0.78);
  --paper-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(60, 52, 46, 0.12);
  --ink: #1f1a17;
  --muted: #5f564f;
  --accent: #7d6652;
  --accent-soft: rgba(125, 102, 82, 0.12);
  --shadow: 0 18px 60px rgba(47, 38, 31, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(182, 163, 143, 0.28), transparent 28%),
    linear-gradient(180deg, #e8e1d5 0%, var(--bg) 38%, #f7f4ef 100%);
}

a {
  color: inherit;
}

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

.hero,
.section,
.footer {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero::after,
.section::after {
  content: "";
  position: absolute;
  inset: auto -12% -40% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 102, 82, 0.14), transparent 68%);
  pointer-events: none;
}

.hero {
  padding: 40px 28px 36px;
  border-radius: 28px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 10ch;
  font-size: clamp(2.6rem, 7vw, 4.7rem);
  line-height: 0.96;
}

.hero-role {
  margin: 18px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--muted);
}

.hero-lead {
  max-width: 20ch;
  margin: 18px 0 0;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  line-height: 1.16;
}

.hero-support,
.section p,
.expertise-card p {
  max-width: 62ch;
  margin: 18px 0 0;
  font-size: 1rem;
  color: var(--muted);
}

.hero-cta,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 24px;
  padding: 12px 18px;
  border: 1px solid rgba(125, 102, 82, 0.26);
  border-radius: 999px;
  background: var(--paper-strong);
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.hero-cta:hover,
.hero-cta:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(125, 102, 82, 0.44);
}

.section {
  margin-top: 18px;
  padding: 26px 24px 28px;
  border-radius: 24px;
}

.section-heading {
  display: grid;
  gap: 8px;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.06;
}

.expertise-grid {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.expertise-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.94)),
    var(--accent-soft);
}

.expertise-card h3 {
  font-size: 1.18rem;
  line-height: 1.15;
}

.expertise-card p {
  margin-top: 12px;
  font-size: 0.98rem;
}

.contact-section {
  display: grid;
  gap: 4px;
}

.contact-link {
  justify-self: start;
}

.footer {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1080px);
    padding-top: 12px;
  }

  .hero {
    padding: 28px 20px 24px;
    border-radius: 24px;
  }

  .section {
    padding: 22px 18px 24px;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .hero-lead {
    max-width: none;
  }

  .hero-support,
  .section p,
  .expertise-card p {
    max-width: none;
  }
}

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

  .hero-cta,
  .contact-link {
    transition: none;
  }
}
