﻿:root {
  --espresso: #1d1612;
  --espresso-2: #2b2019;
  --ink: #1f1610;
  --muted: #5a4a3c;
  --bg: #ecd9bc;
  --ivory: #fffaf2;
  --card: #fffdf9;
  --line: #d6bf9d;
  --cyan: #5cd0ff;
  --cyan-d: #0a6fa8;
  --orange: #ff8a3d;
  --orange-d: #a8430a;
  --link: #9a3f08;
  --green: #2f9e6b;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg) url(texture-grain.svg) 0 0 / 1000px auto;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--link); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(29, 22, 18, .93); backdrop-filter: blur(10px); border-bottom: 1px solid #3a2b22; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.site-header .logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: #d8c6b3; text-decoration: none; font-size: .95rem; }
.nav a:hover { color: #fff; }
.nav .btn { color: #1a0f05; white-space: nowrap; padding: 10px 18px; }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 12px; background: var(--orange); color: #1a0f05; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; box-shadow: 0 6px 18px rgba(255,138,61,.28); }
.btn:hover { filter: brightness(1.07); }
.btn.ghost { background: transparent; color: #f3e8dc; border: 1px solid #6b5444; box-shadow: none; }
.btn.ghost:hover { border-color: #d9b48f; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Hero */
.hero { background: radial-gradient(900px 480px at 88% -10%, rgba(255,138,61,.34), transparent 62%), radial-gradient(760px 420px at 0% 115%, rgba(255,186,120,.16), transparent 62%), url(texture-contours.svg) center top / 1600px auto, var(--espresso); color: #f3e8dc; padding: 72px 0 96px; border-bottom-left-radius: 56px; border-bottom-right-radius: 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--cyan); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.1; margin: 12px 0 18px; letter-spacing: -.01em; }
.hero p.lead { font-size: 1.15rem; color: #d8c6b3; max-width: 54ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.chips li { font-size: .85rem; color: #ecdccb; border: 1px solid #5a4435; border-radius: 99px; padding: 6px 14px; background: rgba(255,230,200,.05); }
.hero-art img { width: 100%; filter: drop-shadow(0 24px 40px rgba(0,0,0,.5)); }

/* Live topographic map behind headers */
.hero, .page-hero { position: relative; overflow: hidden; }
.hero > .wrap, .page-hero > .wrap { position: relative; z-index: 2; }
.topo { position: absolute; z-index: 0; pointer-events: none; mix-blend-mode: screen; opacity: .8;
  filter: invert(1) grayscale(1) sepia(1) saturate(2.4) hue-rotate(-14deg) contrast(1.1) brightness(.85); }
.hero::after, .page-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(29,22,18,.93) 0%, rgba(29,22,18,.80) 38%, rgba(29,22,18,.25) 72%, rgba(29,22,18,.12) 100%); }
.topo img { position: absolute; opacity: 0; transition: opacity 1.2s ease; max-width: none; }
.topo img.on { opacity: 1; }
.topo-cap { position: absolute; z-index: 3; left: 20px; bottom: 16px; font-size: .72rem; color: #b9a898; }
.topo-cap a { color: #d8c6b3; }
@media (prefers-reduced-motion: reduce) { .topo img { transition: none; } }

/* Sections */
section { padding: 76px 0; }
section.dark { background: var(--espresso) url(texture-contours.svg) center / 1600px auto; color: #f3e8dc; }
section.teal { background: #0f3640 url(texture-contours.svg) center / 1600px auto; color: #eaf4f5; }
section.teal .sub { color: #b7d3d7; }
section.teal h2 { color: #ffffff; }
section.cta { background: linear-gradient(135deg, #c9591b 0%, #8f3a0e 100%); color: #fff7ef; }
section.cta h2 { color: #ffffff; }
section.cta .sub { color: #ffe3cc; }
section.cta form { background: var(--ivory); padding: 28px; border-radius: 20px; box-shadow: 0 24px 48px rgba(40,12,0,.35); }
section.white { background: var(--ivory) url(texture-grain.svg) 0 0 / 1000px auto; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; margin: 0 0 10px; letter-spacing: -.01em; }
.sub { color: var(--muted); max-width: 62ch; margin: 0 0 36px; font-size: 1.05rem; }
.dark .sub { color: #d0bfae; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 2px 0 rgba(120,80,40,.04), 0 10px 28px rgba(120,80,40,.07); }
.dark .card { background: var(--espresso-2); border-color: #4a392e; box-shadow: none; }
.card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); }
.dark .card p { color: #d0bfae; }
.card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-winter { background: #e1f1f8; color: #0a6fa8; }
.i-summer { background: #ffe9d2; color: #a8430a; }
.i-shoulder { background: #e4f1e2; color: #2c7a4b; }
.i-smoke { background: #efe6dc; color: #6a5646; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-d); }
.dark .tag { color: var(--orange); }

/* Exposure split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split img { width: 100%; filter: drop-shadow(0 18px 28px rgba(60,35,15,.25)); }
.bullets { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 14px; }
.bullets li { padding-left: 16px; border-left: 4px solid var(--orange); }
.bullets li.n { border-color: #3aa7d8; }
.bullets b { display: block; }
.bullets span { color: var(--muted); }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 28px rgba(120,80,40,.07); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--espresso); color: var(--orange); font-weight: 800; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); }

/* Callout */
.callout { border-left: 4px solid var(--orange); background: #fff1e0; padding: 16px 20px; border-radius: 0 12px 12px 0; color: #4a3320; margin: 24px 0; }
.callout.blue { border-color: #3aa7d8; background: #e9f4f8; color: #17384b; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 12px 0 0; }

/* Form */
form { display: grid; gap: 14px; max-width: 540px; }
label { font-size: .9rem; color: var(--muted); display: grid; gap: 6px; }
input, select, textarea { font: inherit; color: var(--ink); background: #fffdf9; border: 1px solid #d9c6ae; border-radius: 12px; padding: 12px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
#signup-status { margin: 0; color: var(--muted); }

/* Article pages */
.page-hero { background: var(--espresso); color: #f3e8dc; padding: 56px 0 56px; background-image: radial-gradient(700px 320px at 90% -20%, rgba(255,138,61,.3), transparent 60%), url(texture-contours.svg); background-size: auto, 1600px auto; background-position: 0 0, center top; border-bottom-left-radius: 48px; border-bottom-right-radius: 48px; }
.page-hero h1 { margin: 8px 0 10px; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; }
.page-hero p { color: #d8c6b3; max-width: 60ch; margin: 0; font-size: 1.1rem; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.toc a { display: block; padding: 7px 14px; border: 1px solid #5a4435; border-radius: 99px; color: #ecdccb; text-decoration: none; font-size: .88rem; }
.toc a:hover { border-color: var(--orange); color: #fff; }
.article { max-width: 760px; margin: 0 auto; padding: 56px 20px 8px; }
.article h2 { margin-top: 0; padding-top: 8px; }
.article h3 { margin: 26px 0 6px; }
.article p, .article li { color: #3b2d22; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
.sources, .sources li { font-size: .88rem; color: var(--muted); }
.fact { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 22px 0; }
.fact b { font-size: 2.1rem; color: var(--orange-d); line-height: 1; }

/* Footer */
.site-footer { background: var(--espresso) url(texture-grain-dark.svg) 0 0 / 1000px auto; color: #b9a898; padding: 48px 0 28px; font-size: .92rem; margin-top: 0; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.site-footer .logo img { height: 44px; width: auto; }
.site-footer a { color: #ecdccb; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .legal { border-top: 1px solid #3a2b22; margin-top: 28px; padding-top: 18px; font-size: .82rem; color: #8f7f70; }

@media (max-width: 860px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .site-header .logo img { height: 34px; }
  .nav .btn { padding: 9px 14px; font-size: .9rem; }
  section { padding: 56px 0; }
  .hero { border-bottom-left-radius: 36px; border-bottom-right-radius: 36px; }
}





