/* mesquitetrails.com - Mesquite Trails, the trail mapping partner of the book All Around Mesquite. One stylesheet for every page.
   Fonts: Barlow Condensed Bold (headings, like the lettering on trail signs) and Source Sans 3 (text), both OFL and self-hosted.
   Colors come from the Mesquite Trails mark and the Comprehensive Guide & Map it sits on: brown #2e1810, orange #f58549, the
   map's cream #eff5dd and mint #bde1c6, and the map's marker colors for the region dots. Every text pair meets WCAG AA. */
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-700-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-latin.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }

:root {
  --ink: #2e1810;
  --ink-2: #3d2418;
  --night: #24130c;
  --text: #3b2a22;
  --muted: #6b5a50;
  --orange: #f58549;
  --orange-deep: #ad4513;
  --link: #9c3f12;
  --cream: #eff5dd;
  --paper: #fbf8f0;
  --sand: #f4ede0;
  --mint: #bde1c6;
  --trail: #d93c3c;
  --line: #e4dccb;
  --white: #fff;
  --pin-blue: #484898;
  --pin-yellow: #f0dc00;
  --pin-teal: #68c4c8;
  --pin-orange: #f08044;
  --pin-purple: #8c58a0;
  --pin-green: #8cb858;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(46, 24, 16, .07), 0 14px 32px -18px rgba(46, 24, 16, .35);
  --shadow-lg: 0 2px 4px rgba(46, 24, 16, .08), 0 30px 60px -28px rgba(46, 24, 16, .5);
  --head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-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 17px/1.65 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; }
h1, h2 { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.3rem); }
h2 { font-size: clamp(1.95rem, 4.2vw, 2.9rem); }
h3 { font: 700 clamp(1.14rem, 2vw, 1.3rem)/1.25 var(--sans); }
h4 { font: 700 1.04rem/1.3 var(--sans); }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.05em; padding-left: 1.25em; }
li { margin-bottom: .35em; }
strong { color: var(--ink); font-weight: 700; }
blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 3px; border-radius: 4px; }
.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(--ink); font-weight: 700; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; color: var(--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, 96px) 0; }
.section-tight { padding: clamp(40px, 6vw, 64px) 0; }
.eyebrow { display: block; font: 700 .8rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--orange-deep); margin: 0 0 12px; }
.lead { font-size: clamp(1.08rem, 1.7vw, 1.24rem); line-height: 1.6; }
.muted { color: var(--muted); }
.fine { font-size: .93rem; }
.nw { white-space: nowrap; }
.source { font-size: .9rem; color: var(--muted); margin-top: 14px; }
.source a { color: var(--link); }

/* Buttons: one primary per section */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 11px 24px; border-radius: 8px; 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-deep); color: #fff; }
.btn-primary:hover { background: #9c3f12; color: #fff; transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-orange:hover { background: #f7a374; color: var(--ink); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(46, 24, 16, .3); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: transparent; color: var(--cream); border-color: rgba(239, 245, 221, .55); }
.btn-light:hover { border-color: var(--cream); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 24px; }
.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; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 4px solid var(--orange); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 4px; }
.brand img { width: 148px; height: auto; aspect-ratio: 336 / 135; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { font: 600 1rem/1.2 var(--sans); color: var(--cream); text-decoration: none; padding: 10px 11px; border-radius: 6px; }
.nav a:hover { background: var(--ink-2); color: #fff; }
.nav a[aria-current="page"] { color: var(--orange); box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.nav .btn { margin-left: 10px; min-height: 44px; padding: 10px 18px; color: var(--ink); background: var(--orange); }
.nav .btn:hover { background: #f7a374; color: var(--ink); }
.header-tools { display: none; align-items: center; gap: 8px; }
.menu-btn { display: none; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 14px; border: 1px solid rgba(239, 245, 221, .4); border-radius: 8px; background: transparent; color: var(--cream); font: 700 .95rem/1 var(--sans); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 1080px) {
  .js .header-tools, .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) 22px; background: var(--ink); border-bottom: 4px solid var(--orange); box-shadow: 0 24px 30px -20px rgba(0, 0, 0, .5); max-height: calc(100vh - 80px); overflow-y: auto; }
  .js .nav-open .nav { display: flex; }
  .nav a { padding: 13px 14px; font-size: 1.06rem; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--orange); }
  .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: 400px) { .brand img { width: 128px; } }

/* Home hero */
.hero { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(760px 420px at 0% 100%, rgba(245, 133, 73, .22), rgba(245, 133, 73, 0) 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 60px); align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(44px, 6vw, 84px); }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 span { color: var(--orange); display: block; }
.hero .eyebrow { color: var(--orange); }
.hero .lead { color: var(--cream); max-width: 600px; }
.hero .lead strong { color: #fff; }
.hero-media { position: relative; isolation: isolate; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.hero-media::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 3px solid var(--orange); border-radius: 16px; z-index: -1; }
.hero-media figcaption { margin-top: 12px; font-size: .9rem; color: #d9cfc5; }
.hero .btn-light { color: var(--cream); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media::after { inset: 10px -8px -10px 8px; }
}

/* Facts strip under the home hero: official numbers, each with its source */
.facts { background: var(--orange); color: var(--ink); }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.fact { padding: 22px 22px 20px; border-left: 2px solid rgba(46, 24, 16, .2); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact .n { display: block; font: 700 clamp(1.9rem, 3.6vw, 2.5rem)/1 var(--head); text-transform: uppercase; color: var(--ink); }
.fact p { margin: 6px 0 0; font-weight: 600; color: var(--ink); line-height: 1.4; }
.fact .src { font-size: .85rem; font-weight: 600; margin-top: 6px; }
.fact a { color: var(--ink); }
@media (max-width: 820px) {
  .facts-grid { grid-template-columns: 1fr; }
  .fact, .fact:first-child { border-left: 0; padding: 16px 0; border-top: 2px solid rgba(46, 24, 16, .2); }
  .fact:first-child { border-top: 0; }
}

/* Inner page hero */
.page-hero { background: var(--ink); color: var(--cream); padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 60px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 100% 0%, rgba(245, 133, 73, .2), rgba(245, 133, 73, 0) 70%); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 14px; max-width: 900px; }
.page-hero .eyebrow { color: var(--orange); }
.page-hero .sub { font: 400 clamp(1.06rem, 2vw, 1.24rem)/1.55 var(--sans); color: var(--cream); max-width: 780px; margin: 0; }
.page-hero .sub a { color: var(--orange); }
.crumbs { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .92rem; color: #d9cfc5; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--orange); }
.crumbs a { color: var(--cream); }
.crumbs a:hover { color: #fff; }
.page-hero .btn-row { margin-top: 26px; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(26px, 5vw, 56px); align-items: center; }
.page-hero-grid .cover { justify-self: center; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* Bands */
.band-cream { background: var(--cream); }
.band-sand { background: var(--sand); }
.band-white { background: var(--white); }
.band-dark { background: var(--ink); color: #e6dcd2; }
.band-dark h2, .band-dark h3, .band-dark strong { color: #fff; }
.band-dark .eyebrow { color: var(--orange); }
.band-dark a:not(.btn) { color: var(--orange); }
.band-dark .muted, .band-dark .source { color: #d9cfc5; }
.band-dark .source a { color: var(--orange); }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 68px); 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; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split, .split.wide-left, .split.wide-right { grid-template-columns: 1fr; } }
.media-card { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--sand); }
.media-card img { width: 100%; height: auto; }
.media-card.photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.media-card figcaption, .figure-cap { padding: 12px 16px; font-size: .9rem; color: var(--muted); background: #fff; line-height: 1.45; }
.band-dark .media-card figcaption { background: var(--night); color: #d9cfc5; }
.map-frame { border: 6px solid var(--orange); border-radius: 12px; overflow: hidden; background: var(--cream); box-shadow: var(--shadow-lg); }
.map-frame a { display: block; }
.map-frame img { width: 100%; height: auto; }
.map-frame.poster { border: 0; border-radius: 4px; background: transparent; }
.cover { width: min(100%, 300px); border-radius: 6px; box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .7); }
.cover.small { width: min(100%, 220px); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1060px) { .cards.five { grid-template-columns: repeat(3, 1fr); } .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .cards, .cards.five { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .cards, .cards.two, .cards.four, .cards.five { 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: 22px 22px 20px; box-shadow: var(--shadow); min-width: 0; }
.card h3 { margin-bottom: 8px; }
.card p, .card li { color: var(--muted); font-size: .98rem; }
.card ul { padding-left: 1.1em; margin-bottom: 0; }
.card .text-link { margin-top: auto; padding-top: 14px; }
.card .num { font: 700 .76rem/1.2 var(--sans); color: var(--orange-deep); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.card .source { margin-top: 12px; font-size: .86rem; }
.card.dark { background: var(--ink-2); border-color: var(--ink-2); border-top-color: var(--orange); }
.card.dark h3 { color: #fff; }
.card.dark p { color: #e6dcd2; }
.pin { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; }
.pin::before { content: ""; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--dot, var(--orange)); border: 2px solid var(--ink); flex: none; }
.dot-blue { --dot: var(--pin-blue); }
.dot-yellow { --dot: var(--pin-yellow); }
.dot-teal { --dot: var(--pin-teal); }
.dot-orange { --dot: var(--pin-orange); }
.dot-purple { --dot: var(--pin-purple); }
.dot-green { --dot: var(--pin-green); }

/* Place entries (trails, Arizona Strip, Mesquite pages) */
.places { display: grid; gap: 18px; }
.place { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--orange); border-radius: 12px; padding: 22px 24px; box-shadow: var(--shadow); }
.place h3 { margin-bottom: 6px; }
.place .where { font-size: .9rem; font-weight: 700; color: var(--orange-deep); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 10px; }
.place ul { margin: 10px 0 0; }
.place li { margin-bottom: .3em; }
.place .source { margin-top: 12px; }
.places > p { margin-bottom: 0; }
.place-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 860px) { .place-grid { grid-template-columns: 1fr; } }

/* Region sections (trails page) */
.region { padding: clamp(46px, 7vw, 80px) 0; border-top: 1px solid var(--line); }
.region:first-of-type { border-top: 0; }
.region-head { display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; align-items: end; margin-bottom: 26px; }
.region-head h2 { margin-bottom: 0; }
.region-head .book-ref { font-weight: 700; color: var(--ink); background: var(--mint); border-radius: 999px; padding: 6px 14px; font-size: .92rem; }
@media (max-width: 700px) { .region-head { grid-template-columns: 1fr; } .region-head .book-ref { justify-self: start; } }
.markers { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.markers li { margin: 0; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .92rem; color: var(--ink); }

/* Map legend (map page) */
.legend { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .legend { grid-template-columns: 1fr; } }
.legend-group { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; box-shadow: var(--shadow); }
.legend-group h3 { display: flex; align-items: center; gap: 10px; }
.legend-group ol { columns: 2; column-gap: 26px; margin: 8px 0 0; padding-left: 1.6em; font-size: .96rem; }
.legend-group li { break-inside: avoid; }
@media (max-width: 520px) { .legend-group ol { columns: 1; } }
.legend-group .parking { font-size: .94rem; color: var(--muted); margin: 6px 0 0; }
.legend-group ul { list-style: none; padding-left: 0; }
.legend-group ul li { display: flex; gap: 8px; align-items: baseline; }
.legend-group ul .pin { flex: none; transform: translateY(2px); }

/* Quotes */
.quote { border-left: 4px solid var(--orange); padding: 4px 0 4px 20px; }
.quote p { font: 400 clamp(1.08rem, 1.8vw, 1.22rem)/1.55 var(--sans); color: var(--ink); font-style: italic; }
.quote footer { margin-top: 8px; font-size: .92rem; font-weight: 700; color: var(--muted); }
.band-dark .quote p { color: #fff; }
.band-dark .quote footer { color: #d9cfc5; }

/* Book bits */
.samples { display: grid; grid-template-columns: repeat(3, minmax(0, 200px)); gap: 18px; justify-content: center; }
@media (max-width: 560px) { .samples { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
.samples figure { margin: 0; }
.samples a { display: block; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); background: #fff; border: 1px solid var(--line); }
.samples img { width: 100%; aspect-ratio: 260 / 339; object-fit: cover; transition: transform .3s; }
.samples a:hover img { transform: scale(1.03); }
.samples figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; line-height: 1.35; text-align: center; }
.toc { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.toc li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 2px; border-bottom: 1px solid var(--line); margin: 0; }
.toc li span:last-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .stores { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .stores { grid-template-columns: 1fr; } }
.store { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.store h3 { font-size: 1.08rem; margin: 0; }
.store address { font-style: normal; color: var(--muted); font-size: .96rem; }
.store .links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .95rem; margin-top: auto; padding-top: 6px; }
.badge-line { display: inline-flex; align-items: center; gap: 8px; background: var(--mint); color: var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .95rem; }

/* Checklist (know before you go) */
.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; margin: 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: .38em; width: 18px; height: 18px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); }
.checks li::after { content: ""; position: absolute; left: 6px; top: .52em; width: 5px; height: 9px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rule-list { counter-reset: r; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.rule-list > li { counter-increment: r; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px 20px 74px; box-shadow: var(--shadow); margin: 0; }
.rule-list > li::before { content: counter(r); position: absolute; left: 22px; top: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: var(--ink); font: 700 1.25rem/36px var(--head); text-align: center; }
.rule-list h3 { margin-bottom: 6px; }
@media (max-width: 520px) { .rule-list > li { padding: 64px 18px 18px; } .rule-list > li::before { left: 18px; top: 18px; } }
.callout { background: var(--cream); border: 1px solid var(--line); border-left: 5px solid var(--trail); border-radius: 12px; padding: 20px 22px; }
.callout h3 { margin-bottom: 6px; }
@media (min-width: 861px) { .sticky-aside { position: sticky; top: 100px; } }
.phone-big { font: 700 1.5rem/1.2 var(--head); letter-spacing: .02em; color: var(--ink); text-decoration: none; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); color: var(--text); }
.form-card h2, .form-card h3 { color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font: 700 .9rem/1.3 var(--sans); color: var(--ink); margin: 0 0 6px; }
.field label span { color: var(--orange-deep); }
.field label .muted { color: var(--muted); font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 14px; font: 500 1rem/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid #cbbfae; border-radius: 8px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange-deep); box-shadow: 0 0 0 4px rgba(245, 133, 73, .35); background-color: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 14px 0 0; font-weight: 700; color: var(--link); min-height: 1.5em; }
.inline-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
@media (max-width: 520px) { .form-grid, .inline-form { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.contact-list li > div { min-width: 0; overflow-wrap: anywhere; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--mint); color: var(--ink); display: grid; place-items: center; flex: none; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list b { display: block; color: var(--ink); }

/* Lightbox (sample pages; built by site.js) */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; background: rgba(36, 19, 12, .95); 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, .35); 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: #e6dcd2; }
.lightbox .lb-bar b { color: #fff; font-weight: 600; }
@media (max-width: 700px) {
  .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; }
}

/* Closing band (one per page, above the footer) */
.cta-band { background: var(--orange); color: var(--ink); }
.cta-grid { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(22px, 4vw, 48px); align-items: center; }
.cta-band .eyebrow { color: var(--ink); }
.cta-band h2 { color: var(--ink); margin-bottom: 6px; }
.cta-band p { color: var(--ink); font-weight: 600; }
.cta-band a:not(.btn) { color: var(--ink); }
.cta-band .cover { width: 120px; box-shadow: 0 18px 30px -16px rgba(46, 24, 16, .8); }
@media (max-width: 820px) { .cta-grid { grid-template-columns: 1fr; } .cta-band .cover { width: 110px; } }

/* Footer */
.site-footer { background: var(--night); color: #d9cfc5; padding: clamp(50px, 7vw, 72px) 0 28px; font-size: .97rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--orange); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1fr; 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 { display: grid; gap: 14px; align-content: start; }
.foot-brand img { width: 170px; height: auto; aspect-ratio: 336 / 135; }
.foot-h { font: 700 .78rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--orange); 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: #c9b8ab; display: grid; gap: 6px; }
.foot-bottom p { margin: 0; }

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