/* allaroundmesquite.com - All Around Mesquite, Nevada (the book by Dustin Charles Berg). One stylesheet for every page.
   Fonts: Bitter (headings) + Source Sans 3 (text), OFL, self-hosted in /assets/fonts/. Colors come from the book's cover: the brown
   trail sign, cream lettering, the orange of the interior headings, the blue of the Historical Marker sign, desert sand. */
@font-face { font-family: "Bitter"; src: url("/assets/fonts/bitter-latin.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Bitter"; src: url("/assets/fonts/bitter-italic-latin.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-italic-latin.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --ink: #26190f;
  --text: #3d2e22;
  --muted: #6b5a4b;
  --brown: #5b3a1e;
  --brown-deep: #3a2413;
  --brown-ink: #1e1810;
  --orange: #e3792b;
  --orange-soft: #f0a05a;
  --orange-ink: #9c4a10;
  --orange-wash: #fbe9d8;
  --sky: #2f6f9f;
  --sky-ink: #205071;
  --sky-wash: #e3eef6;
  --sand: #f1e7d6;
  --sand-2: #e7d9c1;
  --cream: #faf6ef;
  --paper: #fffdf9;
  --line: #e4d8c3;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(38, 25, 15, .06), 0 14px 34px -16px rgba(38, 25, 15, .28);
  --shadow-lg: 0 2px 4px rgba(38, 25, 15, .08), 0 30px 60px -26px rgba(38, 25, 15, .45);
  --display: "Bitter", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1160px;
  --gutter: 16px;
}
@media (min-width: 600px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 18px/1.65 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-ink); text-underline-offset: 3px; }
a:hover { color: var(--brown-deep); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-family: var(--display); font-weight: 700; letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.25; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .3em; }
strong { color: var(--ink); font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.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 { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: var(--brown-ink); font-weight: 700; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; color: var(--brown-ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-tight { padding: clamp(40px, 5.5vw, 64px) 0; }
.eyebrow { display: block; font: 700 .8rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--orange-ink); margin: 0 0 12px; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.6; }
.muted { color: var(--muted); }
.fine { font-size: .95rem; }
.nw { white-space: nowrap; }
.sub { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--muted); }

/* Buttons: one primary per section */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px; border-radius: 999px; font: 700 1rem/1.2 var(--sans); text-decoration: none; text-align: center; border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s; cursor: pointer; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--orange); color: var(--brown-ink); box-shadow: 0 12px 24px -14px rgba(227, 121, 43, .9); }
.btn-primary:hover { background: var(--orange-soft); color: var(--brown-ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(38, 25, 15, .3); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(38, 25, 15, .04); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-dark { background: var(--brown-deep); color: #fff; }
.btn-dark:hover { background: var(--brown); color: #fff; transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 26px; }
.center .btn-row, .btn-row.center { justify-content: center; }
.text-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.text-link svg { width: 18px; height: 18px; flex: none; }
.text-link:hover { text-decoration: underline; }
a:not(.btn):not(.text-link) > svg { width: 1em; height: 1em; vertical-align: -.15em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 239, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; text-decoration: none; color: var(--ink); }
.brand img { height: 42px; width: auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-text b { font: 800 1.05rem/1.1 var(--display); color: var(--ink); letter-spacing: -.01em; }
.brand .brand-text small { font: 700 .66rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--orange-ink); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { font: 600 .95rem/1.2 var(--sans); color: var(--ink); text-decoration: none; padding: 10px 11px; border-radius: 999px; }
.nav a:hover { background: var(--sand); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--orange-ink); }
.nav .btn { margin-left: 8px; min-height: 42px; padding: 9px 18px; font-size: .92rem; color: var(--brown-ink); }
.nav .btn:hover { background: var(--orange-soft); color: var(--brown-ink); }
.menu-btn { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 1080px) {
  .js .menu-btn { display: inline-flex; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px var(--gutter) 20px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 24px 30px -20px rgba(38, 25, 15, .35); }
  .js .nav-open .nav { display: flex; }
  .nav a { padding: 13px 14px; font-size: 1.04rem; }
  .nav .btn { margin: 10px 0 0; }
  .no-js .header-row { flex-wrap: wrap; padding: 10px 0; }
  .no-js .nav { flex-wrap: wrap; }
}
@media (max-width: 420px) { .brand img { height: 34px; } .brand .brand-text b { font-size: .95rem; } }

/* Home hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 520px at 100% 0%, rgba(227, 121, 43, .18) 0%, rgba(227, 121, 43, 0) 65%), linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(44px, 7vw, 88px); }
.hero h1 { margin-bottom: 8px; }
.hero .title-sub { font: 600 clamp(1.25rem, 2.6vw, 1.7rem)/1.3 var(--display); color: var(--brown); margin: 0 0 18px; }
.hero .lead { max-width: 560px; }
.hero-media { display: flex; justify-content: center; }
.cover-frame { position: relative; width: min(100%, 360px); }
.cover-frame img { width: 100%; border-radius: 6px; box-shadow: 0 40px 70px -30px rgba(38, 25, 15, .7), 0 2px 6px rgba(38, 25, 15, .2); }
.cover-frame::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid rgba(227, 121, 43, .45); border-radius: 10px; z-index: -1; }
.badges { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 26px; }
.badge { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .95rem; box-shadow: var(--shadow); }
.badge img { height: 18px; width: auto; }
.badge .star { color: var(--orange); font-size: 1.1rem; line-height: 1; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .cover-frame { width: min(70%, 300px); }
}

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(800px 380px at 50% -10%, rgba(227, 121, 43, .3) 0%, rgba(227, 121, 43, 0) 70%), var(--brown-deep); color: #f4ead8; padding: clamp(44px, 7vw, 84px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero .sub { color: #e9d9c0; max-width: 760px; }
.page-hero .eyebrow { color: var(--orange-soft); }
.page-hero.center .sub { margin: 0 auto; }
.page-hero .btn-row { margin-top: 24px; }
.page-hero a:not(.btn) { color: #fdd9b8; }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-hero-grid .cover-frame { width: min(100%, 250px); }
.page-hero-grid .cover-frame::after { border-color: rgba(240, 160, 90, .5); }
@media (max-width: 760px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-grid .cover-frame { width: min(60%, 220px); } }

/* Breadcrumbs */
.crumbs { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .9rem; color: #d9c6a9; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; color: rgba(255, 255, 255, .4); }
.crumbs a { color: #fdd9b8; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }

/* Bands */
.band-cream { background: var(--cream); }
.band-sand { background: var(--sand); }
.band-dark { background: var(--brown-deep); color: #ecdfca; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: var(--orange-soft); }
.band-dark a:not(.btn) { color: #fdd9b8; }
.band-dark strong { color: #fff; }
.band-dark .muted { color: #c9b89f; }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 72px); align-items: center; }
.split.top { align-items: start; }
.split.wide-left { grid-template-columns: 1.15fr .85fr; }
.split.wide-right { grid-template-columns: .85fr 1.15fr; }
@media (max-width: 860px) { .split, .split.wide-left, .split.wide-right { grid-template-columns: 1fr; } }
.media-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-card img { width: 100%; height: 100%; object-fit: cover; }
.media-card.portrait img { aspect-ratio: 4 / 5; }
.media-card.tall img { aspect-ratio: 3 / 4; object-position: center top; }
@media (max-width: 860px) { .media-card.portrait img, .media-card.tall img { aspect-ratio: 3 / 2; object-position: center 20%; } }
figure { margin: 0; }
figcaption { font-size: .92rem; color: var(--muted); margin-top: 10px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards, .cards.four, .cards.two { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }
.card .text-link { margin-top: auto; padding-top: 14px; }
.card .num { font: 800 .85rem/1 var(--sans); color: var(--orange-ink); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.card.sky { border-top-color: var(--sky); }
.card.sky .num { color: var(--sky-ink); }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--orange-wash); color: var(--orange-ink); display: grid; place-items: center; margin-bottom: 16px; }
.card .ico svg { width: 24px; height: 24px; }
.card.sky .ico { background: var(--sky-wash); color: var(--sky-ink); }

/* Stores (Where to buy) */
.store-group { margin-top: 36px; }
.store-group h3 { font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .stores { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stores { grid-template-columns: 1fr; } }
.store { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; box-shadow: var(--shadow); }
.store h4 { font-size: 1.15rem; margin-bottom: 6px; }
.store address { font-style: normal; color: var(--text); margin-bottom: 10px; }
.store .links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .95rem; margin-bottom: 14px; }
.store .links a { font-weight: 600; text-decoration: none; }
.store .links a:hover { text-decoration: underline; }
.store .btn { margin-top: auto; align-self: flex-start; }

/* Sample pages gallery + lightbox */
.samples { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 14px; margin-top: 30px; }
.samples a { display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); transition: transform .2s; }
.samples a:hover { transform: translateY(-3px); }
.samples img { width: 100%; aspect-ratio: 800 / 1042; object-fit: cover; }
.samples figcaption { font-size: .82rem; text-align: center; margin: 8px 6px 10px; color: var(--muted); font-weight: 600; }
.samples.compact { grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; max-width: 360px; }
.samples.compact figcaption { display: none; }
.samples.compact a { border-radius: 6px; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; background: rgba(30, 24, 16, .94); color: #fff; }
.lightbox.open { display: block; }
.lightbox .lb-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 64px 72px 72px; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); border-radius: 4px; background: #fff; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox button svg { width: 24px; height: 24px; }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 72px; display: flex; justify-content: space-between; gap: 16px; font-size: .95rem; color: #e9d9c0; }
.lightbox .lb-bar b { color: #fff; }
@media (max-width: 600px) {
  .lightbox .lb-stage { padding: 60px 10px 64px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 10px; transform: none; width: 46px; height: 46px; }
  .lightbox .lb-prev { left: 10px; } .lightbox .lb-next { right: 10px; }
  .lightbox .lb-bar { padding: 14px 64px; justify-content: center; text-align: center; font-size: .88rem; }
}

/* Area guide map viewer */
.mapview { position: relative; height: min(78vh, 900px); min-height: 420px; overflow: hidden; background: var(--sand-2); border: 1px solid var(--line); border-radius: var(--radius); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; box-shadow: var(--shadow); }
.mapview.dragging { cursor: grabbing; }
.mapview:focus-visible { outline-offset: 0; }
.mapview img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; will-change: transform; pointer-events: none; -webkit-user-drag: none; }
.mapview:fullscreen { border-radius: 0; height: 100vh; }
.map-controls { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.map-controls button { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .95); color: var(--ink); font: 700 1.3rem/1 var(--sans); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); }
.map-controls button:hover { background: var(--orange-wash); }
.map-controls button svg { width: 20px; height: 20px; }
.map-help { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; font-size: .85rem; color: var(--muted); pointer-events: none; }
.no-js .mapview { height: auto; min-height: 0; overflow: visible; touch-action: auto; cursor: default; }
.no-js .mapview img { position: static; max-width: 100%; }
.no-js .map-controls, .no-js .map-help { display: none; }
.legend-cols { columns: 2; column-gap: 40px; margin-top: 14px; }
.legend-cols ul { break-inside: avoid; padding-left: 1.2em; font-size: .98rem; }
.legend-cols li { margin-bottom: .2em; }
@media (max-width: 760px) { .legend-cols { columns: 1; } }
.legend-group { break-inside: avoid; margin-bottom: 18px; }
.legend-group h4 { margin-bottom: 6px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; border: 1px solid rgba(0, 0, 0, .15); }

/* Destinations */
.dest-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.dest-card .top { padding: 22px 24px 0; }
.dest-card .region { font: 700 .76rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sky-ink); margin-bottom: 8px; display: block; }
.dest-card h3 { margin-bottom: 8px; }
.dest-card h3 a { color: var(--ink); text-decoration: none; }
.dest-card h3 a:hover { text-decoration: underline; }
.dest-card p { color: var(--muted); font-size: .98rem; padding: 0 24px; }
.dest-card .foot { margin-top: auto; padding: 14px 24px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dest-card .src { font-size: .82rem; color: var(--muted); }
.dest-card.soon { background: var(--cream); border-style: dashed; box-shadow: none; }
.dest-card.soon h3 { color: var(--muted); }
.badge-soon { display: inline-block; font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sky-ink); background: var(--sky-wash); padding: 7px 10px; border-radius: 6px; }
.badge-live { display: inline-block; font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); background: var(--orange-wash); padding: 7px 10px; border-radius: 6px; }
.facts { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); }
.facts h3 { font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 12px; }
.facts ul { margin: 0; padding-left: 1.2em; }
.facts li { margin-bottom: .5em; }
.source { font-size: .9rem; color: var(--muted); }
.source a { color: var(--muted); }

/* Articles, prose, quotes */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { font-size: 1.06rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .95rem; color: var(--muted); margin-bottom: 22px; }
.article-meta b { color: var(--ink); font-weight: 700; }
.source-box { margin-top: 32px; padding: 22px 24px; background: var(--orange-wash); border: 1px solid #f3cfae; border-radius: var(--radius); }
.source-box p { margin-bottom: 10px; }
blockquote.quote { margin: 0; padding: 0 0 0 22px; border-left: 4px solid var(--orange); font: italic 500 clamp(1.1rem, 2vw, 1.3rem)/1.5 var(--display); color: var(--ink); }
blockquote.quote footer { font: 600 .92rem/1.4 var(--sans); color: var(--muted); margin-top: 10px; font-style: normal; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-top: 30px; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }
.verse { display: block; font: italic 500 1.1rem/1.5 var(--display); color: var(--ink); margin-top: 18px; }
.verse cite { display: block; font: 700 .85rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); margin-top: 6px; font-style: normal; }
.signature { width: 190px; margin-top: 18px; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--sky); border-radius: var(--radius); padding: 26px 26px 24px; box-shadow: var(--shadow); }
.news-card .paper { font: 700 .78rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sky-ink); margin-bottom: 10px; }
.news-card h3 a { color: var(--ink); text-decoration: none; }
.news-card h3 a:hover { text-decoration: underline; }
.news-card .meta { font-size: .92rem; color: var(--muted); margin-bottom: 12px; }
.news-card p { color: var(--text); }
.news-card .text-link { margin-top: auto; padding-top: 14px; }

/* Table of contents */
.toc { margin-top: 26px; border-top: 1px solid var(--line); }
.toc details { border-bottom: 1px solid var(--line); }
.toc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 4px; font: 700 1.05rem/1.35 var(--display); color: var(--ink); cursor: pointer; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--orange-wash); color: var(--orange-ink); font: 700 1.2rem/1 var(--sans); }
.toc details[open] summary::after { content: "\2212"; background: var(--orange); color: var(--brown-ink); }
.toc summary small { font: 600 .85rem/1 var(--sans); color: var(--muted); margin-left: auto; margin-right: 12px; }
.toc .body { padding: 0 4px 18px; }
.toc .body h4 { font-size: .98rem; margin: 14px 0 6px; color: var(--brown); }
.toc .body ul { margin: 0; padding-left: 1.2em; font-size: .96rem; columns: 2; column-gap: 32px; }
.toc .body li { break-inside: avoid; margin-bottom: .25em; }
@media (max-width: 700px) { .toc .body ul { columns: 1; } }
.toc .plain { padding: 14px 4px; display: flex; justify-content: space-between; gap: 16px; font: 700 1.05rem/1.35 var(--display); color: var(--ink); border-bottom: 1px solid var(--line); }
.toc .plain small { font: 600 .85rem/1 var(--sans); color: var(--muted); }

/* Pills, callouts, notes */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding: 0; list-style: none; }
.pills li { margin: 0; }
.pills a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .95rem; text-decoration: none; }
.pills a:hover { border-color: var(--orange); background: var(--orange-wash); }
.pills svg { width: 16px; height: 16px; color: var(--orange-ink); }
.callout { background: var(--orange-wash); border: 1px solid #f3cfae; border-radius: var(--radius); padding: clamp(22px, 3.5vw, 32px); }
.callout h3 { margin-bottom: 8px; }
.note { font-size: .93rem; color: var(--muted); border-left: 3px solid var(--orange); padding: 2px 0 2px 14px; }
.link-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.link-list li { margin: 0; }
.link-list a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; min-width: 0; }
.link-list a:hover { border-color: var(--orange); background: var(--orange-wash); }
.link-list a small { font-weight: 500; color: var(--muted); font-size: .9rem; text-align: right; overflow-wrap: anywhere; }
.link-list a span.ext { font-weight: 500; color: var(--muted); font-size: .85rem; overflow-wrap: anywhere; min-width: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card h2, .form-card h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font: 700 .86rem/1.3 var(--sans); color: var(--ink); margin: 0 0 6px; }
.field label span { color: var(--orange-ink); }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 16px; font: 500 1rem/1.4 var(--sans); color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 12px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239c4a10' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange-ink); box-shadow: 0 0 0 4px rgba(227, 121, 43, .25); background-color: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 14px 0 0; font-weight: 600; color: var(--orange-ink); min-height: 1.5em; }
.band-dark .form-note { color: var(--orange-soft); }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.inline-form .field { flex: 1 1 260px; }
.inline-form .field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.inline-form .btn { flex: none; }
.inline-form input { background: #fff; }
.person { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding: 16px 18px; background: var(--cream); border-radius: 14px; }
.person .ico { width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: var(--brown-ink); display: grid; place-items: center; flex: none; }
.person .ico svg { width: 22px; height: 22px; }
.person a { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.05rem; word-break: break-all; }
.person a:hover { text-decoration: underline; }
.person p { margin: 0; }

/* Sponsors */
.sponsors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
@media (max-width: 1000px) { .sponsors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sponsors { grid-template-columns: 1fr; } }
.sponsor { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .2s; }
.sponsor:hover { transform: translateY(-3px); color: var(--ink); }
.sponsor img { width: 100%; aspect-ratio: 1200 / 781; object-fit: cover; }
.sponsor span { display: block; padding: 10px 14px; font-weight: 700; font-size: .92rem; }
.trails-callout { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 22px 26px; background: var(--brown-deep); color: #ecdfca; border-radius: var(--radius); }
.trails-callout h3 { color: #fff; margin: 0; font-size: 1.2rem; }
.trails-callout p { margin: 4px 0 0; color: #d9c6a9; }

/* Closing band */
.cta-band { background: linear-gradient(135deg, #f0a05a 0%, #e3792b 60%, #d56a1f 100%); color: var(--brown-ink); }
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cta-band .eyebrow { color: var(--brown-ink); opacity: .8; }
.cta-band h2 { color: var(--brown-ink); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.02; margin-bottom: 0; }
.cta-band p { color: var(--brown-ink); }
.cta-band .frame { max-width: 520px; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(38, 25, 15, .6); border: 6px solid rgba(255, 255, 255, .55); }
.cta-band .frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 760px) { .cta-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--brown-ink); color: #d8cdbd; padding: clamp(52px, 7vw, 76px) 0 28px; font-size: .97rem; }
.site-footer a { color: #f4ede2; text-decoration: none; }
.site-footer a:hover { color: var(--orange-soft); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr .9fr; gap: 34px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand img { width: 170px; height: auto; margin-bottom: 14px; }
.foot-brand .foot-name { font: 800 1.2rem/1.2 var(--display); color: #fff; margin: 0 0 8px; }
.foot-h { font: 700 .78rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--orange-soft); margin: 0 0 12px; }
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-list li { margin: 0; }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; color: #b9ad9c; display: grid; gap: 6px; }
.foot-bottom p { margin: 0; }
.foot-bottom .credit { display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn:hover, .samples a, .sponsor { transition: none; transform: none; }
}
