:root {
  --bg: #f5efe4;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fffaf2;
  --text: #172121;
  --muted: #566060;
  --accent: #c46a2f;
  --accent-dark: #94430f;
  --line: rgba(23, 33, 33, 0.12);
  --shadow: 0 18px 60px rgba(82, 54, 25, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 76px;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(196, 106, 47, 0.22), transparent 30%),
    radial-gradient(circle at right center, rgba(51, 122, 108, 0.16), transparent 24%),
    linear-gradient(180deg, #f8f2e8 0%, #f3ecdf 100%);
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  z-index: 0;
}

.hero-section::before {
  width: 22rem;
  height: 22rem;
  top: 4rem;
  right: -6rem;
  background: rgba(196, 106, 47, 0.16);
}

.hero-section::after {
  width: 18rem;
  height: 18rem;
  bottom: 8rem;
  left: -4rem;
  background: rgba(31, 132, 127, 0.14);
}

.hero-grid,
.section-space {
  position: relative;
  z-index: 1;
}

.nav-glass {
  background: rgba(255, 250, 242, 0.85); /* Slightly frosty color derived from background */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  z-index: 1030; /* High z-index to stay above content */
}

.brand-mark {
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 0.03em;
  color: var(--accent-dark);
  text-shadow: 1px 1px 3px rgba(148, 67, 15, 0.5);
  text-transform: uppercase;
  -webkit-text-stroke: 1px var(--accent-dark);
}

.nav-link {
  color: var(--text);
  font-weight: 500;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--accent-dark);
}

.eyebrow,
.section-tag,
.profile-badge {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.hero-title,
.section-title,
.profile-card h2,
.info-card h3,
.highlight-card h3 {
  font-family: "Source Serif 4", serif;
}

.hero-title {
  font-size: clamp(2.75rem, 6vw, 5.6rem);
  line-height: 0.96;
  max-width: 12ch;
}

.hero-copy,
.section-copy,
.card-text,
.highlight-card p,
.profile-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.profile-card,
.info-card,
.highlight-card,
.contact-panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.profile-card {
  padding: 2rem;
  border-radius: 2rem;
  transform: rotate(-2deg);
}

.stat-block {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.stat-block span,
.card-place {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.section-space {
  padding: 6rem 0;
}

.muted-section {
  background: rgba(255, 250, 242, 0.65);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  max-width: 14ch;
}

.info-card,
.highlight-card {
  height: 100%;
  border-radius: 1.5rem;
  padding: 2rem;
}

.card-index {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(196, 106, 47, 0.14);
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-panel {
  border-radius: 2rem;
  padding: 3rem;
  text-align: center;
}

@media (max-width: 991.98px) {
  .hero-grid {
    row-gap: 2rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .profile-card {
    transform: none;
  }
}

@media (max-width: 575.98px) {
  .section-space {
    padding: 4rem 0;
  }

  .profile-card,
  .info-card,
  .highlight-card,
  .contact-panel {
    padding: 1.5rem;
    border-radius: 1.25rem;
  }
}
