:root {
  --ink: #171a18;
  --ink-soft: #4d5650;
  --forest: #263e2e;
  --forest-dark: #111a14;
  --sage: #8fa58d;
  --cream: #f5f2e9;
  --paper: #fffdf8;
  --white: #ffffff;
  --line: rgba(23, 26, 24, 0.15);
  --wrap: min(1180px, calc(100% - 3rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, p { margin-top: 0; }
h1, h2 { line-height: 1.1; font-weight: 500; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .65rem 1rem;
  color: var(--ink); background: var(--white); border-radius: .25rem;
}
.skip-link:focus { top: 1rem; }

#site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; color: var(--white);
  background: rgba(12, 15, 13, .78); transition: background .25s ease, box-shadow .25s ease;
}
#site-header.is-scrolled { background: rgba(12, 15, 13, .96); box-shadow: 0 7px 25px rgba(0, 0, 0, .2); }
.nav-shell { width: var(--wrap); min-height: 6.5rem; margin: auto; display: flex; align-items: center; gap: 2rem; }
.brand { flex: 0 0 auto; padding: .55rem 0; }
.brand img { width: 150px; height: auto; }
.desktop-nav { margin-left: auto; }
.desktop-nav ul, .mobile-nav ul, .footer-inner ul { padding: 0; margin: 0; list-style: none; }
.desktop-nav > ul { display: flex; align-items: center; gap: clamp(.8rem, 1.25vw, 1.4rem); }
.desktop-nav li { position: relative; }
.desktop-nav a {
  display: block; padding: 1rem 0; font-family: "Courier New", Courier, monospace;
  font-size: .83rem; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.desktop-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: .65rem; height: 2px;
  background: var(--white); transition: right .2s ease;
}
.desktop-nav a:hover::after, .desktop-nav a:focus::after, .desktop-nav .is-active a::after { right: 0; }
.menu-toggle { display: none; width: 46px; height: 46px; margin-left: auto; padding: 10px; color: inherit; background: none; border: 0; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 6px 0; background: currentColor; transition: .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-last-child(3) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-last-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-8px) rotate(-45deg); }
.mobile-nav { height: calc(100svh - 6.5rem); padding: 1rem 1.5rem 2rem; background: var(--forest-dark); overflow-y: auto; }
.mobile-nav li { border-bottom: 1px solid rgba(255,255,255,.16); }
.mobile-nav a { display: block; padding: 1rem .25rem; font-family: "Courier New", Courier, monospace; font-weight: 700; text-decoration: none; }
.mobile-nav .is-active a { color: #c9ddc7; }

.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center; color: var(--white);
  background: #25352a url("/images/dandelion_mountains.jpg") center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(8, 17, 12, .42), rgba(8, 17, 12, .52)); }
.hero-content { position: relative; z-index: 1; width: min(900px, calc(100% - 3rem)); padding: 10rem 0 5rem; text-align: center; }
.hero-kicker { margin-bottom: 1.2rem; font-family: "Courier New", Courier, monospace; font-size: .85rem; letter-spacing: .22em; text-transform: uppercase; }
.hero h1 { margin-bottom: 1.3rem; font-family: "Courier New", Courier, monospace; font-size: clamp(3.2rem, 9vw, 7.5rem); letter-spacing: -.06em; text-shadow: 0 4px 28px rgba(0,0,0,.38); }
.hero-copy { max-width: 680px; margin: 0 auto 2rem; color: var(--white); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.button {
  display: inline-flex; min-height: 3.2rem; align-items: center; justify-content: center; padding: .75rem 1.5rem;
  color: var(--white); background: rgba(17, 26, 20, .74); border: 1px solid rgba(255,255,255,.8);
  border-radius: 999px; font-family: "Courier New", Courier, monospace; font-size: .86rem; font-weight: 700; text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.button:hover, .button:focus { color: var(--ink); background: var(--white); transform: translateY(-2px); }

.intro { padding: clamp(4.5rem, 9vw, 8rem) 0; background: var(--paper); }
.intro-inner { width: min(760px, calc(100% - 3rem)); margin: auto; text-align: center; }
.eyebrow { margin-bottom: 1rem; color: var(--forest); font-family: "Courier New", Courier, monospace; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.intro h2 { margin-bottom: 1.5rem; font-size: clamp(2.2rem, 5vw, 4.2rem); }
.intro p:last-child { margin-bottom: 0; color: var(--ink-soft); font-size: 1.15rem; }

.page-main { min-height: calc(100svh - 18rem); padding-top: 6.5rem; }
.page-hero { padding: clamp(5rem, 10vw, 8rem) 0; color: var(--white); background: var(--forest); }
.page-hero .wrap { max-width: 900px; }
.page-hero .eyebrow { color: #c9ddc7; }
.page-hero h1 { margin-bottom: 0; font-size: clamp(2.8rem, 7vw, 5.8rem); }
.page-content { width: min(760px, calc(100% - 3rem)); margin: auto; padding: clamp(4rem, 8vw, 7rem) 0; }
.page-content h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.page-content p { color: var(--ink-soft); font-size: 1.1rem; }
.page-content a { color: var(--forest); font-weight: 700; }

#site-footer { color: rgba(255,255,255,.72); background: var(--forest-dark); }
.footer-inner { padding: 3.2rem 0 2rem; text-align: center; }
.footer-brand { display: inline-block; margin-bottom: 2rem; }
.footer-brand img { width: 145px; height: auto; }
.footer-inner ul { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem 1.4rem; margin-bottom: 2rem; }
.footer-inner nav a { color: var(--white); font-family: "Courier New", Courier, monospace; font-size: .78rem; font-weight: 700; text-decoration: none; }
.footer-inner nav a:hover, .footer-inner nav a:focus { text-decoration: underline; }
.footer-inner > p { margin: 0; color: inherit; font-size: .85rem; }

@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 600px) {
  :root { --wrap: min(1180px, calc(100% - 2rem)); }
  .nav-shell { min-height: 5.4rem; }
  .brand img { width: 125px; }
  .mobile-nav { height: calc(100svh - 5.4rem); }
  .page-main { padding-top: 5.4rem; }
  .hero h1 { font-size: clamp(2.8rem, 17vw, 4.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
