:root {
  /* Southern Colorado palette: pine green, terracotta, cream, weathered wood */
  --ink: #2e2a23;        /* dark bark */
  --muted: #6b6052;      /* weathered wood */
  --accent: #3f6b4c;     /* pine green */
  --accent-dark: #305239;
  --terra: #b9552f;      /* terracotta / clay */
  --terra-dark: #97421f;
  --bg: #fbf7ef;         /* warm cream */
  --bg-alt: #efe6d6;     /* sandstone */
  --border: #e3d8c4;     /* tan */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--bg);
}
.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
a { color: var(--accent); }

/* Header */
.site-header { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: rgba(251,247,239,0.95); backdrop-filter: blur(6px); z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--accent); text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

/* Buttons */
.btn { display: inline-block; padding: 11px 20px; border-radius: 8px; font-weight: 600; text-decoration: none; font-size: 15px; }
.btn-primary { background: var(--terra); color: #fdf6ea; }
.btn-primary:hover { background: var(--terra-dark); }
.btn-outline { border: 1px solid var(--border); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.hero { padding: 76px 0; background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%); text-align: center; }
.hero-logo { width: 100%; max-width: 200px; height: auto; margin: 0 auto 16px; display: block; }
.tagline { font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--terra); font-weight: 700; margin: 0 0 18px; }
.hero h1 { font-size: 46px; line-height: 1.08; letter-spacing: -0.03em; margin: 0 auto 20px; max-width: 18ch; }
.lead { font-size: 19px; color: var(--muted); max-width: 60ch; margin: 0 auto 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
h2 { font-size: 30px; letter-spacing: -0.02em; margin: 0 0 12px; }
h3 { font-size: 18px; margin: 0 0 8px; }
.section-intro { color: var(--muted); max-width: 60ch; margin: 0 0 28px; font-size: 17px; }
.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fffdf8; border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.card .emoji { font-size: 30px; display: block; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two-col p { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 8px 0 8px 30px; position: relative; color: var(--ink); }
.checklist li::before { content: "✦"; position: absolute; left: 0; color: var(--terra); font-weight: 800; }

.cta-band { text-align: center; background: var(--accent); }
.cta-band, .cta-band h2 { color: #fdf6ea; }
.cta-band .fineprint { color: #dce6dd; }
.cta-band h2 { margin-bottom: 18px; }

/* Gnome gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gnome { background: #fffdf8; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.gnome .art { aspect-ratio: 4 / 3; display: block; width: 100%; background: var(--bg-alt); }
.gnome .body { padding: 18px 20px 20px; }
.gnome h3 { margin-bottom: 4px; }
.gnome p { color: var(--muted); margin: 0 0 10px; font-size: 15px; }
.gnome .price { color: var(--terra); font-weight: 800; font-size: 16px; }

/* Gnome story rows (storybook layout) */
.story { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: center; padding: 36px 0; border-bottom: 1px solid var(--border); }
.story:last-child { border-bottom: 0; }
.story:nth-child(even) .story-art { order: 2; }
.story-art { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--bg-alt); box-shadow: 0 6px 20px rgba(46,42,35,0.06); }
.story-art img { display: block; width: 100%; height: auto; }
.story h3 { font-size: 24px; letter-spacing: -0.02em; margin: 0 0 2px; }
.story .origin { color: var(--terra); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 12px; }
.story p { color: var(--ink); margin: 0; font-size: 17px; line-height: 1.65; max-width: 56ch; }

/* Fine print */
.fineprint { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* Contact */
.contact-card { background: #fffdf8; border: 1px solid var(--border); border-radius: 12px; padding: 32px; max-width: 560px; }
.contact-card h2 { margin-top: 0; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--border); display: flex; gap: 12px; align-items: baseline; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label { font-weight: 700; min-width: 90px; color: var(--ink); }
.contact-list a { font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .hero h1 { font-size: 34px; }
  .grid, .grid-2, .two-col, .gallery { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .story:nth-child(even) .story-art { order: 0; }
  .story-art { max-width: 280px; margin: 0 auto; }
  .story p { margin-left: auto; margin-right: auto; }
  .nav-links a:not(.btn) { display: none; }
}
