/* The Pine Lodge Guide to Lake San Isabel — "Alpine Lake" high-country travel guide theme.
   Palette: deep lake teal + aspen gold + cool stone/paper.
   Fonts: Bitter (slab serif display) + Mulish (body). Custom, framework-free. */

:root {
  --pine-900: #123a47;
  --pine-700: #1d5566;
  --pine-500: #2c7488;
  --lake-700: #1d5566;
  --lake-500: #2c7488;
  --amber:    #d69a2d;
  --amber-dk: #a97612;
  --paper:    #f2f1ec;
  --paper-2:  #e7e6dd;
  --card:     #fcfbf6;
  --ink:      #1f2a2e;
  --ink-2:    #4a565a;
  --line:     #d7d6ca;
  --shadow:   0 6px 24px rgba(18,58,71,.10);
  --shadow-lg:0 18px 48px rgba(18,58,71,.18);
  --maxw: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Mulish", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 18px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lake-700); text-underline-offset: 2px; }
a:hover { color: var(--amber-dk); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--pine-700); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color:#fff; }

/* ---------- Top bar / nav ---------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(242,241,236,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark {
  color: var(--pine-700); font-size: 20px; line-height: 1;
  background: var(--paper-2); border: 1px solid var(--line);
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: "Bitter", Georgia, serif; font-weight: 700; font-size: 1.16rem; letter-spacing: .2px; color: var(--pine-900); }
.brand-tag { font-size: .74rem; color: var(--ink-2); letter-spacing: .3px; }

.mainnav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 4px; margin: 0; padding: 0; }
.mainnav a {
  display: block; text-decoration: none; color: var(--ink-2);
  font-weight: 500; font-size: .93rem; padding: 8px 11px; border-radius: 8px;
  white-space: nowrap; transition: background .15s, color .15s;
}
.mainnav a:hover { background: var(--paper-2); color: var(--pine-700); }
.mainnav a.active { color: var(--pine-900); background: var(--paper-2); box-shadow: inset 0 -2px 0 var(--amber); }

.nav-toggle, .nav-burger { display: none; }
.nav-burger { cursor: pointer; width: 44px; height: 40px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--pine-700); margin: 4px auto; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 74px 22px 62px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .76rem; font-weight: 600;
  margin: 0 0 12px; color: var(--amber);
}
.hero h1 {
  font-family: "Bitter", Georgia, serif; font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.08; margin: 0; max-width: 20ch;
}
.hero-image { min-height: 60vh; display: flex; align-items: flex-end; }
.hero-image .hero-inner { color: #fff; }
.hero-image .eyebrow { color: #ffd9a8; }
.hero-image::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--hero); background-size: cover; background-position: center;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(16,44,54,.18) 0%, rgba(16,44,54,.32) 45%, rgba(11,32,40,.84) 100%);
}
.hero-img-a11y { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.hero-plain {
  background:
    radial-gradient(1200px 300px at 80% -40%, rgba(63,111,143,.35), transparent 60%),
    linear-gradient(135deg, var(--pine-700), var(--pine-900));
  color: #fff;
}
.hero-plain .hero-inner { padding-top: 60px; padding-bottom: 52px; }

/* ---------- Main / prose ---------- */
main { padding: 46px 0 24px; }
.prose {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 40px clamp(20px, 4vw, 56px); max-width: 860px; margin: -70px auto 0;
  position: relative; z-index: 5;
}
.hero-plain + main .prose { margin-top: 34px; }
.prose h2 {
  font-family: "Bitter", Georgia, serif; font-weight: 600;
  font-size: 1.62rem; line-height: 1.2; margin: 2em 0 .5em; color: var(--pine-900);
  padding-top: .3em;
}
.prose h2:first-child, .prose > *:first-child { margin-top: 0; }
.prose h3 { font-family: "Bitter", Georgia, serif; font-weight: 600; font-size: 1.22rem; margin: 1.5em 0 .4em; color: var(--pine-700); }
.prose p { margin: 0 0 1.05em; }
.prose p.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink); border-left: 4px solid var(--amber); padding-left: 18px; margin-bottom: 1.4em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.25em; }
.prose li { margin: .35em 0; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.6em; }
.prose ul li::before { content: "\25B2"; color: var(--amber); font-size: .7em; position: absolute; left: 0; top: .35em; }
.prose strong { color: var(--pine-900); }
.prose a { font-weight: 500; }

.inline-figure { margin: 1.8em 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.inline-figure img { width: 100%; }

/* ---------- Disclosure note ---------- */
.disclosure {
  max-width: 860px; margin: 26px auto 0; background: var(--paper-2);
  border: 1px dashed var(--amber); border-radius: var(--radius); padding: 18px 22px;
  font-size: .95rem; color: var(--ink-2);
}
.disclosure p { margin: 0; }
.disclosure strong { color: var(--amber-dk); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 54px; background: var(--pine-900); color: #cfdde2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding: 48px 22px 30px; }
.footer-about .brand-name { color: #fff; font-size: 1.2rem; display: block; margin-bottom: 10px; }
.footer-about p { color: #a9bfc6; font-size: .95rem; margin: 0; max-width: 44ch; }
.footer-nav h2 { font-family: "Bitter", Georgia, serif; font-size: 1rem; color: #fff; margin: 0 0 12px; letter-spacing: .3px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 26px; }
.footer-nav a { color: #c3d4d9; text-decoration: none; font-size: .92rem; display: block; padding: 4px 0; }
.footer-nav a:hover { color: var(--amber); }
.footer-nav a.active { color: #fff; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 22px 30px; }
.footer-base p { margin: 0; font-size: .82rem; color: #8ba4ab; }

/* ---------- Motion (progressive enhancement only; base state is visible) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .prose { animation: rise .6s ease both; }
  .hero-inner { animation: rise .7s ease both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .nav-toggle:checked ~ .mainnav { display: block; }
  .nav-burger { display: inline-flex; flex-direction: column; justify-content: center; }
  .mainnav { display: none; flex-basis: 100%; width: 100%; padding-bottom: 10px; }
  .mainnav ul { flex-direction: column; gap: 2px; }
  .mainnav a { padding: 11px 12px; font-size: 1rem; }
  .mainnav a.active { box-shadow: inset 3px 0 0 var(--amber); }
  .prose { margin-top: 22px; padding: 28px 20px; }
  .hero-image { min-height: 52vh; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 480px) {
  .brand-tag { display: none; }
  .footer-nav ul { columns: 1; }
}
