:root {
  --ink: #15211c;
  --ground: #eff2ee;
  --line: #d6dcd4;
  --muted: #5b6a61;
  --white: #ffffff;
  --beaver: #1e7fb0;
  --cub: #2e7d32;
  --scout: #1b4a73;
  --venture: #8c2f39;
  --sun: #f4c95d;
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.section-stripe { display: grid; grid-template-columns: repeat(4, 1fr); height: 6px; }
.section-stripe span { display: block; }
.beaver { background: var(--beaver); }
.cub { background: var(--cub); }
.scout { background: var(--scout); }
.venture { background: var(--venture); }

.site-header { background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); }

.header-inner {
  width: min(calc(100% - 40px), var(--max));
  min-height: 98px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; font-weight: 800; line-height: 1.15; }
.brand img { width: 64px; height: 64px; }
.brand small { color: var(--muted); font-size: 0.78rem; font-weight: 600; }

nav { display: flex; align-items: center; gap: 8px; }
nav a { min-height: 48px; display: inline-flex; align-items: center; padding: 0 14px; font-weight: 700; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.hero {
  width: min(calc(100% - 40px), var(--max));
  min-height: 570px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  align-items: center;
  gap: 48px;
  overflow: hidden;
}

.hero-copy { padding: 72px 0; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 10px; color: var(--cub); font-size: 0.82rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.05; }
h1 { max-width: 680px; margin-bottom: 22px; font-size: clamp(3.1rem, 7vw, 6.3rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -0.035em; }
h3 { margin-bottom: 4px; font-size: 1.6rem; }
.lede { max-width: 620px; margin: 0; color: #344139; font-size: clamp(1.08rem, 2vw, 1.35rem); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 2px solid var(--ink); font-weight: 800; text-decoration: none; }
.button-primary { background: var(--ink); color: var(--white); }
.button-secondary { background: transparent; }
.button:hover { transform: translateY(-2px); }

.camp-scene { position: relative; min-height: 410px; align-self: end; overflow: hidden; }
.sun { position: absolute; width: 108px; height: 108px; top: 36px; right: 44px; border-radius: 50%; background: var(--sun); }
.hill { position: absolute; left: -10%; width: 125%; border-radius: 50% 50% 0 0; }
.hill-back { height: 240px; bottom: 30px; background: #cbdcc7; transform: rotate(-4deg); }
.hill-front { height: 190px; bottom: -30px; background: var(--cub); transform: rotate(5deg); }
.tent { position: absolute; z-index: 3; bottom: 42px; left: 39%; width: 0; height: 0; border-left: 78px solid transparent; border-right: 78px solid transparent; border-bottom: 140px solid #f2a23a; }
.tent span { position: absolute; left: -3px; top: 57px; width: 6px; height: 83px; background: #995a18; transform: skewX(-27deg); transform-origin: bottom; }
.tree { position: absolute; z-index: 2; bottom: 32px; width: 10px; height: 140px; background: #714b2f; }
.tree::before, .tree::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 48px solid transparent; border-right: 48px solid transparent; border-bottom: 105px solid var(--scout); }
.tree::before { top: -60px; }
.tree::after { top: -15px; }
.tree-one { left: 6%; }
.tree-two { right: 8%; transform: scale(0.74); transform-origin: bottom; }

.notice { background: var(--ink); color: var(--white); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; padding: 44px max(20px, calc((100vw - var(--max)) / 2)); }
.notice h2 { max-width: 620px; margin-bottom: 0; font-size: clamp(1.9rem, 3.5vw, 3rem); }
.notice p { margin: 0; color: #d9e0db; font-size: 1.08rem; }
.notice-kicker { color: #a9d7a8; font-weight: 800; }

.sections { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 94px 0; display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 72px; }
.section-heading { position: sticky; top: 24px; align-self: start; }
.section-heading h2 { margin-bottom: 20px; }
.section-heading > p:last-child { color: var(--muted); }
.section-list { border-top: 1px solid var(--line); }
.section-row { min-height: 128px; display: grid; grid-template-columns: 56px 155px 1fr; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.section-marker { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--white); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 800; }
.beaver-row .section-marker { background: var(--beaver); }
.cub-row .section-marker { background: var(--cub); }
.scout-row .section-marker { background: var(--scout); }
.venture-row .section-marker { background: var(--venture); }
.section-row p { margin: 0; color: var(--muted); }
.section-description { max-width: 420px; }

.portal-band { width: min(calc(100% - 40px), var(--max)); margin: 0 auto 88px; background: var(--white); border-top: 6px solid var(--sun); display: grid; grid-template-columns: 1fr 1fr; gap: 72px; padding: clamp(28px, 6vw, 68px); }
.portal-band h2 { margin-bottom: 18px; }
.portal-band > div > p:last-child { color: var(--muted); }
.portal-links { border-top: 1px solid var(--line); }
.portal-links a { min-height: 118px; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--line); text-decoration: none; }
.portal-links a:hover strong { text-decoration: underline; text-underline-offset: 5px; }
.portal-links span { color: var(--muted); font-size: 0.9rem; }
.portal-links strong { font-size: 1.12rem; }
.portal-links strong span { color: inherit; font-size: inherit; }

footer { background: #101914; color: var(--white); padding: 44px max(20px, calc((100vw - var(--max)) / 2)) 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 54px; height: 54px; }
.footer-brand span, .footer-note { color: #aebbb3; }
.footer-links { display: flex; align-items: center; gap: 8px; }
.footer-links a { min-height: 48px; display: inline-flex; align-items: center; padding: 0 10px; }
.footer-note { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid #334139; font-size: 0.84rem; }

@media (max-width: 760px) {
  .header-inner { min-height: 84px; }
  .brand img { width: 52px; height: 52px; }
  nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 58px 0 24px; }
  .camp-scene { min-height: 300px; }
  .notice, .sections, .portal-band { grid-template-columns: 1fr; }
  .notice { gap: 22px; }
  .sections { gap: 36px; padding: 66px 0; }
  .section-heading { position: static; }
  .section-row { grid-template-columns: 50px 1fr; gap: 14px; padding: 22px 0; }
  .section-description { grid-column: 2; }
  .portal-band { gap: 28px; margin-bottom: 52px; }
  .footer-inner, .footer-links { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .header-inner, .hero, .sections, .portal-band { width: min(calc(100% - 32px), var(--max)); }
  h1 { font-size: 3.5rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .section-row { grid-template-columns: 46px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
