:root {
  --bg: #f5efe4;
  --bg-soft: #efe4d1;
  --surface: rgba(255, 250, 242, 0.74);
  --surface-strong: #fff9f0;
  --text: #1f2a1f;
  --muted: #556255;
  --line: rgba(31, 42, 31, 0.1);
  --forest: #31513d;
  --forest-deep: #20392b;
  --sand: #d5b57a;
  --shadow: 0 24px 60px rgba(40, 47, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(213, 181, 122, 0.22), transparent 28%),
    linear-gradient(180deg, #f8f1e7 0%, #f3ecdf 35%, #ebe1d0 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(49, 81, 61, 0.08), transparent 45%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45), transparent 30%);
}

.page-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 2rem;
}

.hero,
.highlights,
.experience,
.footer {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 249, 240, 0.92), rgba(250, 242, 230, 0.84));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -4rem;
  top: -5rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 81, 61, 0.2), transparent 70%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand {
  font-weight: 700;
  color: var(--forest-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.nav-link {
  color: var(--forest);
  font-weight: 600;
}

.hero-content {
  padding: 5rem 0 4rem;
  width: min(720px, 100%);
}

.eyebrow,
.section-label,
.card-label {
  margin: 0 0 1rem;
  color: var(--forest);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1,
h2 {
  font-family: "Fraunces", serif;
  margin: 0;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.9rem;
}

.intro,
.card p,
.experience-copy p,
.footer p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.intro {
  margin: 1.5rem 0 0;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.button-primary {
  background: var(--forest-deep);
  color: #fff;
  box-shadow: 0 14px 30px rgba(32, 57, 43, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.65);
  color: var(--forest-deep);
  border: 1px solid rgba(32, 57, 43, 0.12);
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.card,
.experience,
.footer {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.card {
  padding: 1.5rem;
  border-radius: 28px;
}

.accent-card {
  background: linear-gradient(180deg, rgba(49, 81, 61, 0.92), rgba(32, 57, 43, 0.96));
}

.accent-card,
.accent-card p,
.accent-card .card-label,
.accent-card h2 {
  color: #f5efe4;
}

.experience {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 30px;
  margin-top: 1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.stat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 12rem;
  padding: 1rem;
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid rgba(49, 81, 61, 0.1);
}

.stat strong {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--forest-deep);
}

.stat span {
  color: var(--muted);
  font-weight: 600;
}

.footer {
  margin-top: 1rem;
  padding: 1.3rem 1.5rem;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer a {
  color: var(--forest-deep);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 840px) {
  .highlights,
  .experience,
  .stats,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 4rem 0 3rem;
  }

  .footer {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 1rem, 1120px);
    padding-top: 0.5rem;
  }

  .hero,
  .card,
  .experience,
  .footer {
    border-radius: 22px;
  }

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

  h1 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }
}
