:root {
  --ink: #24140f;
  --ink-soft: #654a3e;
  --cream: #fffaf0;
  --paper: #ffffff;
  --gold: #ffb313;
  --gold-soft: #ffe19a;
  --aqua: #bfe8e7;
  --line: #eadbc4;
  --shadow: 0 20px 60px rgba(70, 42, 24, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 179, 19, 0.16), transparent 32rem),
    linear-gradient(180deg, #fffdf8 0%, var(--cream) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: .75rem 1rem;
}

.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(101, 74, 62, 0.12);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1120px, calc(100% - 2rem));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 850;
  font-size: 1.2rem;
  text-decoration: none;
  letter-spacing: -.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gold);
  box-shadow: inset 0 -3px 0 rgba(86, 45, 8, 0.12);
}

.brand-mark svg { width: 24px; height: 24px; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .25rem;
}

.nav-links a {
  padding: .55rem .7rem;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: .93rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: #fff0c4;
}

.container { width: min(1120px, calc(100% - 2rem)); margin: auto; }

.hero {
  min-height: 640px;
  padding: 5.5rem 0 4.5rem;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  color: #7a4d00;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

h1, h2, h3 {
  margin: 0 0 .8rem;
  line-height: 1.08;
  letter-spacing: -.045em;
}

h1 { max-width: 720px; font-size: clamp(2.8rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -.02em; }

.lead {
  max-width: 650px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.15rem;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 7px 0 rgba(36, 20, 15, .16);
  transition: transform .16s ease, box-shadow .16s ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); box-shadow: 0 9px 0 rgba(36, 20, 15, .13); }
.button.secondary { background: transparent; color: var(--ink); box-shadow: none; }

.hero-art {
  position: relative;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 38px;
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.hero-art img { width: 100%; border-radius: 28px; }

.hero-note {
  position: absolute;
  left: -1rem;
  bottom: 1.6rem;
  max-width: 235px;
  padding: .8rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  font-size: .9rem;
  font-weight: 750;
  box-shadow: 6px 6px 0 var(--gold);
  transform: rotate(-3deg);
}

.section { padding: 5rem 0; }
.section.compact { padding: 3.2rem 0; }
.section-heading { max-width: 720px; margin-bottom: 2rem; }

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

.card {
  min-height: 100%;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 12px 35px rgba(70, 42, 24, .06);
}

.card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--gold-soft);
  font-size: 1.25rem;
}

.card p { margin: 0; color: var(--ink-soft); }

.status-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 2px solid var(--ink);
  border-radius: 28px;
  background: linear-gradient(135deg, #fff2c9, #fffdf8);
  box-shadow: 9px 9px 0 var(--aqua);
}

.status-panel p { margin: .3rem 0 0; color: var(--ink-soft); }

.page-hero { padding: 5rem 0 2.2rem; }
.page-hero .lead { max-width: 760px; }

.prose {
  max-width: 800px;
  padding-bottom: 5rem;
}

.prose h2 { margin-top: 2.6rem; font-size: 1.75rem; }
.prose h3 { margin-top: 1.8rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.prose a { color: #7a4d00; font-weight: 750; }
.prose ul { padding-left: 1.25rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.fact {
  padding: 1.2rem;
  border-left: 5px solid var(--gold);
  border-radius: 0 16px 16px 0;
  background: white;
}

.fact dt { font-weight: 850; }
.fact dd { margin: .2rem 0 0; color: var(--ink-soft); }

.notice {
  margin: 2rem 0;
  padding: 1.2rem 1.3rem;
  border: 1px solid #e8bd4f;
  border-radius: 16px;
  background: #fff3ce;
}

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  background: #2a1811;
  color: #f8ead9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
}

.footer-grid p { max-width: 580px; margin: .5rem 0; color: #d9c5b3; }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: .5rem 1rem; }
.footer-links a { color: #fff7ea; font-weight: 700; }
.fine-print { margin-top: 2rem !important; font-size: .88rem; }

@media (max-width: 820px) {
  .nav { padding: .8rem 0; align-items: flex-start; }
  .nav-links { max-width: 58%; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 3.5rem; }
  .hero-art { max-width: 560px; margin: auto; }
  .grid-3 { grid-template-columns: 1fr; }
  .status-panel, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .nav { display: block; }
  .nav-links { max-width: none; justify-content: flex-start; margin-top: .6rem; }
  .hero { padding-top: 2.5rem; }
  .hero-note { position: static; max-width: none; margin-top: .8rem; transform: none; }
  .facts { grid-template-columns: 1fr; }
  .section { padding: 3.6rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
