:root {
  --bg: #f5efe3;
  --panel: rgba(255, 250, 240, 0.78);
  --panel-strong: #fff9ef;
  --text: #10273e;
  --muted: #506172;
  --border: rgba(16, 39, 62, 0.12);
  --navy: #0f2f4f;
  --blue: #2f68a6;
  --accent: #c65a34;
  --shadow: 0 24px 60px rgba(15, 47, 79, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(198, 90, 52, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(47, 104, 166, 0.18), transparent 22%),
    linear-gradient(180deg, #f8f2e7 0%, #efe5d5 100%);
  font-family: "Manrope", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(110deg, transparent 0 46%, rgba(15, 47, 79, 0.04) 46% 48%, transparent 48% 100%),
    linear-gradient(160deg, transparent 0 63%, rgba(198, 90, 52, 0.05) 63% 65%, transparent 65% 100%);
  content: "";
}

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

p {
  margin: 0;
}

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

.site-header,
.hero,
.section,
.site-footer {
  animation: rise 700ms ease both;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.4rem 1.2rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.wordmark-mark {
  display: inline-grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fef8eb;
  font-size: 0.88rem;
}

.wordmark-text {
  font-size: 1rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff7ef;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.button:hover,
.button:focus-visible {
  opacity: 0.8;
}

.hero,
.section,
.site-footer {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 3rem);
}

.hero-copy {
  display: grid;
  gap: 1.2rem;
}

.eyebrow,
.panel-kicker,
.card-index {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow,
.card-index {
  color: var(--accent);
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  line-height: 0.96;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.25rem, 9vw, 6.5rem);
}

.hero-lede {
  max-width: 36rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.hero-body,
.section-grid p,
.issue-card p,
.roots-copy p,
.roots-quote p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 0.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  transition: opacity 180ms ease;
}

.button-primary {
  background: var(--navy);
  color: #fff8ed;
}

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

.hero-panel {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 100%;
  padding: 1.4rem;
  border-radius: calc(var(--radius) - 10px);
  background:
    linear-gradient(160deg, rgba(15, 47, 79, 0.95), rgba(47, 104, 166, 0.92)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent);
  color: #f6f0e2;
}

.panel-kicker {
  color: rgba(246, 240, 226, 0.72);
}

.panel-portrait {
  margin: 0;
  max-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(246, 240, 226, 0.18);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(7, 19, 31, 0.28);
}

.panel-portrait img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 18%;
}

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

.fact-list li {
  padding-top: 1rem;
  border-top: 1px solid rgba(246, 240, 226, 0.18);
  line-height: 1.6;
}

.section {
  margin-top: 1.15rem;
  padding: clamp(1.4rem, 3vw, 2.3rem);
}

.section-heading {
  display: grid;
  gap: 0.7rem;
}

.section-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}

.section h2 {
  max-width: 13ch;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
}

.section-qr {
  display: grid;
  flex: 0 0 126px;
  gap: 0.5rem;
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 32px rgba(15, 47, 79, 0.08);
  text-align: center;
}

.section-qr img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.section-qr span {
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.section-grid,
.card-grid,
.roots-layout {
  display: grid;
  gap: 1rem;
}

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

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

.issue-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.3rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel-strong);
}

.issue-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.roots-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.8fr);
  align-items: start;
}

.roots-quote {
  padding: 1.4rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 24px 24px 0;
  background: rgba(255, 255, 255, 0.45);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 1.15rem;
  padding: 1.1rem 1.3rem;
  font-size: 0.92rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero,
  .section-grid,
  .card-grid,
  .roots-layout {
    grid-template-columns: 1fr;
  }

  .section-header-row {
    flex-wrap: wrap;
  }

  .hero h1,
  .section h2 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 1rem, 1160px);
  }

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

  .site-nav {
    gap: 0.85rem;
  }

  .nav-cta {
    width: 100%;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
