:root {
  --bg: #f5efe5;
  --surface: rgba(255, 255, 255, 0.62);
  --surface-strong: rgba(255, 252, 247, 0.9);
  --text: #1f1b18;
  --muted: #64584d;
  --line: rgba(72, 53, 39, 0.12);
  --accent: #a54f2a;
  --accent-deep: #6c2d14;
  --gold: #c49b4d;
  --shadow: 0 24px 70px rgba(91, 60, 29, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(196, 155, 77, 0.22), transparent 28%),
    radial-gradient(circle at right 20%, rgba(165, 79, 42, 0.16), transparent 24%),
    linear-gradient(180deg, #f7f1e8 0%, #efe5d7 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(111, 87, 63, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 87, 63, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 90%);
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 18px auto 40px;
}

.topbar,
.panel,
.hero-card,
.feature-card,
.sources-panel,
.quote-panel {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 244, 0.65);
  box-shadow: var(--shadow);
  position: sticky;
  top: 18px;
  z-index: 10;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fffdf7;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 800;
}

.brand-lockup h1,
.section-heading h3,
.hero-copy h2,
.panel h4,
.feature-card h4 {
  margin: 0;
  font-family: "Playfair Display", serif;
}

.brand-lockup h1 {
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.topnav a,
.inline-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.topnav a:hover,
.inline-link:hover {
  color: var(--accent-deep);
}

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

.hero-copy h2 {
  font-size: clamp(2.8rem, 6vw, 5.3rem);
  line-height: 0.98;
  margin-bottom: 20px;
}

.hero-copy h2 span {
  color: var(--accent-deep);
}

.lead {
  max-width: 700px;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.8;
  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;
  border-radius: 999px;
  padding: 14px 22px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fffdf8;
  box-shadow: 0 18px 34px rgba(108, 45, 20, 0.24);
}

.button-secondary {
  background: rgba(255, 252, 247, 0.78);
  color: var(--text);
  border: 1px solid var(--line);
}

.hero-card,
.panel,
.feature-card,
.sources-panel,
.quote-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.hero-card::after,
.accent-panel::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 155, 77, 0.3), transparent 72%);
}

.card-label {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 700;
}

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

.fact-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(72, 53, 39, 0.1);
  padding-bottom: 12px;
}

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

.fact-list span {
  color: var(--muted);
}

.section {
  padding: 26px 0;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h3 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.profile-grid,
.positioning-grid,
.split-grid,
.location-grid {
  display: grid;
  gap: 22px;
}

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

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

.split-grid {
  grid-template-columns: 1.05fr 1fr;
}

.location-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.panel,
.feature-card,
.sources-panel,
.quote-panel {
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.panel p,
.panel li,
.feature-card p,
.sources-panel p,
.sources-panel li {
  line-height: 1.75;
  color: var(--muted);
}

.detail-list {
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}

.detail-list div {
  display: grid;
  gap: 4px;
}

.detail-list dt {
  color: var(--muted);
  font-size: 0.92rem;
}

.detail-list dd {
  margin: 0;
  font-weight: 700;
}

.address {
  margin: 18px 0 10px;
  font-style: normal;
  line-height: 1.9;
}

.accent-panel {
  background:
    linear-gradient(180deg, rgba(165, 79, 42, 0.08), rgba(255, 252, 247, 0.82)),
    var(--surface-strong);
}

.feature-card {
  min-height: 100%;
}

.feature-index {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.14em;
}

.quote-panel {
  background:
    linear-gradient(135deg, rgba(108, 45, 20, 0.92), rgba(165, 79, 42, 0.88));
  color: #fffaf4;
  display: flex;
  align-items: center;
}

.quote-panel p {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
  color: inherit;
}

.plain-list {
  padding-left: 18px;
  margin: 14px 0 0;
}

.plain-list li + li {
  margin-top: 8px;
}

.sources-panel {
  background: rgba(255, 251, 245, 0.8);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

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

@media (max-width: 980px) {
  .topbar,
  .hero,
  .profile-grid,
  .positioning-grid,
  .split-grid,
  .location-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .topbar,
  .footer {
    display: grid;
  }

  .hero {
    padding-top: 40px;
  }

  .profile-grid,
  .positioning-grid,
  .split-grid,
  .location-grid {
    display: grid;
  }
}

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

  .topbar {
    padding: 16px;
    top: 10px;
  }

  .brand-lockup {
    align-items: flex-start;
  }

  .topnav {
    gap: 12px;
  }

  .hero-copy h2 {
    font-size: 2.7rem;
  }

  .panel,
  .feature-card,
  .sources-panel,
  .quote-panel,
  .hero-card {
    padding: 22px;
  }

  .quote-panel p {
    font-size: 1.85rem;
  }
}
