:root {
  --bg: #f3ead9;
  --bg-deep: #e7d8bc;
  --panel: rgba(255, 250, 241, 0.9);
  --panel-strong: #fff8ee;
  --ink: #1f2a24;
  --muted: #64655d;
  --line: #dbc8a9;
  --accent: #bb5b2c;
  --accent-strong: #8d3d1b;
  --accent-soft: #f4d9bf;
  --teal: #20656d;
  --teal-soft: #d8ecee;
  --olive: #5f6b3a;
  --olive-soft: #e6ecd7;
  --shadow: 0 24px 60px rgba(84, 59, 30, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Gill Sans", "Lucida Grande", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(32, 101, 109, 0.14), transparent 26%),
    radial-gradient(circle at top right, rgba(187, 91, 44, 0.15), transparent 30%),
    linear-gradient(180deg, #f8f0e2 0%, var(--bg) 40%, #efe2cb 100%);
}

a {
  color: inherit;
}

.shell {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #df9a44);
  color: #fff7ef;
  box-shadow: 0 14px 30px rgba(187, 91, 44, 0.28);
}

.quick-links,
.day-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(143, 114, 74, 0.22);
  background: rgba(255, 248, 238, 0.75);
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.pill:hover,
.pill:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(187, 91, 44, 0.4);
  background: rgba(255, 251, 245, 0.96);
  outline: none;
}

.pill.active {
  color: #fff6ef;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 14px 24px rgba(141, 61, 27, 0.24);
}

.hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  padding: 30px;
  border: 1px solid rgba(128, 109, 82, 0.18);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 248, 238, 0.95), rgba(247, 236, 216, 0.88)),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 101, 109, 0.16), transparent 68%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.03;
}

.hero p {
  max-width: 880px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.meta-card {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(132, 109, 83, 0.16);
}

.meta-label {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meta-value {
  font-size: 16px;
  line-height: 1.45;
}

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

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  padding: 22px;
  border: 1px solid rgba(132, 109, 83, 0.15);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: 0 16px 36px rgba(78, 58, 32, 0.08);
  animation: rise 420ms ease both;
}

.card:nth-child(2) { animation-delay: 60ms; }
.card:nth-child(3) { animation-delay: 120ms; }
.card:nth-child(4) { animation-delay: 180ms; }
.card:nth-child(5) { animation-delay: 240ms; }

.card h2,
.card h3 {
  margin: 0 0 10px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
}

.card h2 {
  font-size: 28px;
}

.card h3 {
  font-size: 22px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-title {
  margin: 28px 0 14px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 28px;
}

.section-kicker {
  margin: 30px 0 8px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.list,
.compact-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.72;
}

.compact-list {
  font-size: 15px;
}

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

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.link-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(132, 109, 83, 0.18);
  text-decoration: none;
  font-size: 14px;
}

.tone-warm {
  background: linear-gradient(180deg, rgba(244, 217, 191, 0.55), rgba(255, 250, 241, 0.9));
}

.tone-teal {
  background: linear-gradient(180deg, rgba(216, 236, 238, 0.76), rgba(255, 250, 241, 0.92));
}

.tone-olive {
  background: linear-gradient(180deg, rgba(230, 236, 215, 0.82), rgba(255, 250, 241, 0.92));
}

.tone-accent {
  background: linear-gradient(160deg, rgba(141, 61, 27, 0.94), rgba(187, 91, 44, 0.92));
  color: #fff8f1;
}

.tone-accent p,
.tone-accent .meta-label,
.tone-accent .meta-value,
.tone-accent li {
  color: rgba(255, 248, 241, 0.92);
}

.tone-accent .link-chip,
.tone-accent .pill {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff8f1;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.timeline-step {
  position: relative;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(132, 109, 83, 0.16);
  background: rgba(255, 252, 247, 0.84);
}

.timeline-step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.footer {
  margin-top: 26px;
  padding: 20px 4px 0;
  color: var(--muted);
  font-size: 14px;
}

.muted {
  color: var(--muted);
}

.table-like {
  display: grid;
  gap: 12px;
}

.row {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) minmax(0, 2.3fr);
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(132, 109, 83, 0.15);
  background: rgba(255, 255, 255, 0.56);
}

.row-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.row-value {
  line-height: 1.68;
}

code {
  padding: 1px 6px;
  border-radius: 8px;
  background: rgba(32, 101, 109, 0.08);
  color: var(--teal);
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 0.92em;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 24px, var(--max));
    padding-top: 18px;
  }

  .hero {
    padding: 22px;
  }

  .hero p {
    font-size: 16px;
  }

  .row {
    grid-template-columns: 1fr;
  }
}
