.page-shell {
  min-height: 100vh;
}

.page-main,
.page-footer {
  width: min(1100px, calc(100% - 36px));
  margin-inline: auto;
}

.page-main {
  padding: 18px 0 56px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.page-hero-copy,
.page-panel,
.page-section,
.page-footer {
  border: 1px solid rgba(90, 118, 56, 0.18);
  box-shadow: 0 16px 34px rgba(16, 22, 16, 0.08);
}

.page-hero-copy,
.page-panel,
.page-section {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
}

.page-hero-copy {
  padding: 28px;
}

.page-hero-copy h1 {
  margin: 0;
  max-width: 12ch;
  font-family: "Fraunces", "Iowan Old Style", serif;
  font-size: clamp(2.1rem, 5.2vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.page-hero-copy p,
.page-panel p,
.page-section p {
  color: #2f3f30;
  line-height: 1.65;
}

.page-lead {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: 1.06rem;
}

.page-panel {
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(208, 220, 163, 0.18), rgba(208, 220, 163, 0) 20%),
    linear-gradient(160deg, rgba(150, 178, 39, 0.22), rgba(22, 30, 22, 0.92));
  color: #ffffff;
}

.page-panel h2,
.page-panel h3,
.page-panel p,
.page-panel li,
.page-panel a {
  color: #ffffff;
}

.page-panel h2,
.page-section h2 {
  margin: 0;
  font-size: 1.32rem;
}

.page-panel h3 {
  margin: 0;
  font-size: 1rem;
}

.page-panel-list,
.page-section-list,
.link-cluster {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.page-panel-list li,
.page-section-list li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.page-section-grid {
  margin-top: 22px;
  padding: 24px;
}

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

.section-heading h2 {
  font-family: "Fraunces", "Iowan Old Style", serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.section-kicker {
  margin: 0;
  color: var(--brand-accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.page-columns,
.seo-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.seo-card,
.page-link-card {
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(110, 140, 108, 0.32);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 247, 238, 0.96));
  padding: 18px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.seo-card:hover,
.page-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(122, 149, 22, 0.38);
  box-shadow: 0 14px 28px rgba(28, 36, 28, 0.1);
}

.seo-card strong,
.page-link-card strong {
  display: block;
  margin-top: 4px;
  font-size: 1.04rem;
}

.seo-card p,
.page-link-card p {
  margin: 10px 0 0;
}

.spotlight-card {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(148, 180, 30, 0.16), rgba(255, 255, 255, 0.96));
}

.spotlight-card h3 {
  margin: 6px 0 0;
  font-size: 1.25rem;
}

.spotlight-card p {
  margin: 10px 0 0;
}

.spotlight-actions {
  display: grid;
  gap: 10px;
  min-width: 220px;
}

.page-footer {
  margin-bottom: 26px;
  border-radius: 22px;
  background: rgba(22, 30, 22, 0.9);
  padding: 22px;
}

.page-footer h2,
.page-footer p,
.page-footer a {
  color: #f4f7ec;
}

.page-footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.page-footer-links a {
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 247, 236, 0.4);
}

@media (max-width: 900px) {
  .page-hero,
  .page-columns,
  .seo-card-grid,
  .spotlight-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-main,
  .page-footer {
    width: calc(100% - 26px);
  }

  .page-hero-copy,
  .page-panel,
  .page-section-grid,
  .page-footer {
    padding: 20px;
  }
}
