:root {
  --bg: #f5efe7;
  --bg-soft: #efe4d5;
  --paper: rgba(255, 251, 247, 0.82);
  --panel: #fbf6f0;
  --ink: #402c20;
  --muted: #7f6555;
  --accent: #a57c52;
  --accent-deep: #7f5936;
  --shadow: 0 24px 60px rgba(81, 54, 31, 0.12);
  --border: rgba(113, 81, 56, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(210, 188, 160, 0.45), transparent 30%),
    radial-gradient(circle at bottom right, rgba(187, 155, 122, 0.35), transparent 28%),
    linear-gradient(180deg, #f8f2ea 0%, #f2e9dd 45%, #f9f5ef 100%);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

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

.page-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 16px auto;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.86), rgba(250, 244, 236, 0.92));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px 0;
}

.brand,
h1,
h2,
h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
}

.brand {
  font-size: 1.2rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent-deep);
}

.hero {
  position: relative;
  padding-bottom: 40px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 72px -8% auto auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(165, 124, 82, 0.2) 0%, rgba(165, 124, 82, 0) 72%);
  pointer-events: none;
}

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

.hero-copy {
  padding: 20px 0;
}

.eyebrow,
.section-label,
.kicker {
  margin: 0 0 12px;
  color: var(--accent-deep);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.92;
  font-weight: 400;
}

.hero-date {
  margin: 20px 0 6px;
  font-size: 1.25rem;
}

.hero-place,
.hero-text,
.muted,
.card p,
.faq-card p,
.panel p,
.timeline p,
.footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 56ch;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button,
.copy-button {
  border-radius: 999px;
  padding: 14px 20px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}

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

.button-solid {
  background: var(--accent);
  color: #fffaf6;
  box-shadow: 0 10px 24px rgba(117, 82, 44, 0.22);
}

.button-ghost,
.copy-button {
  background: transparent;
  border-color: rgba(126, 91, 60, 0.22);
  color: var(--ink);
}

.hero-card-frame {
  margin: 0;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 248, 241, 0.95), rgba(243, 230, 214, 0.9));
  border: 1px solid rgba(123, 91, 65, 0.16);
  box-shadow: 0 24px 50px rgba(71, 47, 27, 0.14);
  transform: rotate(1.5deg);
}

.hero-card-frame img {
  border-radius: 18px;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(130, 98, 65, 0.08);
}

.info-strip article {
  padding: 22px 24px;
  background: rgba(255, 251, 247, 0.74);
}

.kicker {
  display: block;
  margin-bottom: 8px;
}

.section {
  padding: 72px 32px;
}

.two-column {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 32px;
}

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  font-weight: 400;
}

.detail-cards,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card,
.faq-card {
  min-height: 170px;
  padding: 22px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--border);
}

.card h3,
.faq-card h3,
.panel h2,
.timeline h3 {
  margin-top: 0;
  font-weight: 400;
}

.section-head {
  max-width: 680px;
  margin-bottom: 28px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.75);
  border: 1px solid var(--border);
}

.timeline span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(165, 124, 82, 0.14);
  color: var(--accent-deep);
  font-weight: 700;
}

.split-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.panel {
  padding: 28px;
  border-radius: 28px;
}

.panel-dark {
  color: #fff8f1;
  background:
    linear-gradient(180deg, rgba(70, 47, 35, 0.92), rgba(51, 34, 25, 0.95)),
    linear-gradient(135deg, rgba(164, 127, 84, 0.25), transparent 45%);
}

.panel-dark p,
.panel-dark li,
.section-label.light {
  color: rgba(255, 245, 235, 0.78);
}

.panel-light {
  background: rgba(255, 250, 245, 0.85);
  border: 1px solid var(--border);
}

.clean-list {
  margin: 18px 0 0;
  padding-left: 18px;
  line-height: 1.8;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 32px 32px;
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .hero-grid,
  .two-column,
  .split-panel,
  .detail-cards,
  .faq-grid,
  .info-strip {
    grid-template-columns: 1fr;
  }

  .hero-card-frame {
    max-width: 520px;
    margin: 0 auto;
    transform: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: calc(100vw - 16px);
    margin: 8px auto;
    border-radius: 22px;
  }

  .topbar,
  .hero-grid,
  .section,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  h1 {
    font-size: 2.9rem;
  }
}
