/* thearizonastrip.com - The Arizona Strip, an independent guide to the country between the Grand Canyon and the Utah line.
   One stylesheet for every page. Fonts: Josefin Sans (headings) and Lora (text), the live WordPress site's own pair, self-hosted
   (OFL, assets/fonts/OFL.txt). Colors: the live site's desert palette (rust, sandstone, cream, dark earth) with the logo's
   Arizona gold for small accents on dark bands. */
@font-face { font-family: "Josefin Sans"; src: url("/assets/fonts/josefin-sans-latin.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/assets/fonts/lora-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/assets/fonts/lora-italic-latin.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --ink: #2b2118;
  --ink-2: #3a2d22;
  --night: #1d1610;
  --text: #4a4038;
  --muted: #6b5e52;
  --rust: #9c4a2f;
  --rust-dark: #7c3720;
  --terra: #c77b4f;
  --sage: #5e6b5d;
  --cream: #f7f2ea;
  --sand: #efe5d6;
  --line: #e2d6c5;
  --gold: #fed700;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(43, 33, 24, .06), 0 14px 30px -18px rgba(43, 33, 24, .35);
  --shadow-lg: 0 2px 6px rgba(43, 33, 24, .08), 0 30px 60px -30px rgba(43, 33, 24, .55);
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Josefin Sans", "Avenir Next", "Century Gothic", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: 16px;
}
@media (min-width: 600px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.75 var(--serif); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rust-dark); text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--sans); color: var(--ink); line-height: 1.15; margin: 0 0 .55em; font-weight: 700; letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.45rem); }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.5rem); line-height: 1.25; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
strong { color: var(--ink); font-weight: 700; }
:focus-visible { outline: 3px solid var(--rust); 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: -80px; z-index: 100; background: var(--ink); color: #fff; font: 700 1rem/1 var(--sans); padding: 14px 18px 11px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

.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; }
.band { padding: clamp(56px, 8vw, 100px) 0; }
.band-tight { padding: clamp(40px, 6vw, 68px) 0; }
.band-cream { background: var(--cream); }
.band-sand { background: var(--sand); }
.eyebrow { display: block; font: 600 .82rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--rust); margin: 0 0 14px; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.28rem); line-height: 1.65; }
.muted { color: var(--muted); }
.nw { white-space: nowrap; }

/* Buttons (Josefin Sans sits high in its box, so the top padding is a little larger) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 15px 26px 12px; border-radius: 999px; font: 700 1rem/1.15 var(--sans); letter-spacing: .02em; 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; margin-top: -3px; }
.btn-primary { background: var(--rust); color: #fff; box-shadow: 0 12px 24px -14px rgba(156, 74, 47, .9); }
.btn-primary:hover { background: var(--rust-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(43, 33, 24, .3); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffe34d; color: var(--ink); transform: translateY(-1px); }
.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: 700 1rem/1.3 var(--sans); letter-spacing: .02em; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.text-link svg { width: 18px; height: 18px; flex: none; margin-top: -3px; }
.text-link:hover { text-decoration: underline; }

/* Top bar and header */
.topbar { background: var(--ink); color: #eadfce; font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-align: center; padding: 9px var(--gutter) 7px; }
.topbar a { color: #eadfce; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar :focus-visible { outline-color: var(--gold); }
@media (max-width: 480px) { .topbar { font-size: .66rem; letter-spacing: .07em; padding: 8px 10px 6px; } }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; flex: none; padding: 6px 0; }
.brand img { width: 176px; height: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { font: 600 1rem/1.2 var(--sans); color: var(--ink); text-decoration: none; padding: 12px 12px 9px; border-radius: 8px; }
.nav a:hover { background: var(--cream); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--rust); box-shadow: inset 0 -2px 0 var(--rust); border-radius: 0; }
.nav .btn { margin-left: 12px; min-height: 46px; padding: 13px 20px 10px; color: #fff; }
.nav .btn:hover { background: var(--rust-dark); color: #fff; }
.menu-btn { display: none; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: 700 .95rem/1 var(--sans); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .close { display: none; }
.nav-open .menu-btn .open { display: none; }
.nav-open .menu-btn .close { display: block; }
@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) 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 30px -20px rgba(43, 33, 24, .35); max-height: calc(100vh - 120px); overflow-y: auto; }
  .js .nav-open .nav { display: flex; }
  .nav a { padding: 14px 12px 11px; font-size: 1.06rem; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--rust); background: var(--cream); }
  .nav .btn { margin: 12px 0 0; }
  .no-js .header-row { flex-wrap: wrap; padding: 10px 0; }
  .no-js .nav { flex-wrap: wrap; }
}
@media (max-width: 420px) { .brand img { width: 148px; } }

/* Heroes */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(29, 22, 16, .35) 0%, rgba(29, 22, 16, .55) 45%, rgba(29, 22, 16, .86) 100%); }
.hero-plain { background: radial-gradient(900px 420px at 85% 0%, rgba(199, 123, 79, .38) 0%, rgba(199, 123, 79, 0) 70%), radial-gradient(700px 360px at 0% 100%, rgba(254, 215, 0, .1) 0%, rgba(254, 215, 0, 0) 70%), var(--ink); }
.hero-plain::before { background: repeating-linear-gradient(172deg, rgba(255, 255, 255, 0) 0 46px, rgba(255, 255, 255, .025) 46px 48px); }
.hero-inner { padding: clamp(64px, 10vw, 128px) 0 clamp(52px, 8vw, 96px); max-width: 860px; }
.hero h1 { color: #fff; margin-bottom: 16px; text-wrap: balance; }
.hero .lead { color: #f3ece2; max-width: 720px; }
.hero .eyebrow { color: var(--gold); }
.hero a:not(.btn) { color: #fff; }
.hero :focus-visible { outline-color: var(--gold); }
.hero-home { text-align: center; }
.hero-home .hero-inner { margin: 0 auto; padding: clamp(96px, 16vw, 200px) 0 clamp(80px, 12vw, 150px); }
.hero-home .lead { margin: 0 auto; }
.hero-home .btn-row { justify-content: center; }
.byline { margin: 18px 0 0; font: 600 .95rem/1.5 var(--sans); letter-spacing: .04em; color: #eadfce; }
.byline span + span::before { content: "/"; margin: 0 10px; color: var(--terra); }
.crumbs { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font: 600 .88rem/1.4 var(--sans); letter-spacing: .03em; color: #eadfce; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--terra); }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Split layouts and figures */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 72px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split > * { min-width: 0; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.photo { margin: 0; }
.photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.photo figcaption { margin-top: 12px; font: 600 .92rem/1.45 var(--sans); letter-spacing: .01em; color: var(--muted); }
.photo.tall img { aspect-ratio: 3 / 4; object-fit: cover; }
.photo.portrait { max-width: 440px; }
.split > .photo.tall { max-width: 420px; justify-self: center; width: 100%; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards, .cards.two { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 1rem; }
.card .text-link, .card .btn { margin-top: auto; padding-top: 16px; align-self: flex-start; }
.card .btn { padding: 13px 20px 10px; min-height: 44px; margin-top: 18px; }
.card-plain { border-top: 4px solid var(--terra); }
.card-num { font: 700 .8rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--rust); margin: 0 0 12px; }

/* Long-form guide pages and articles */
.guide { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); }
.guide.no-toc { grid-template-columns: minmax(0, 1fr); }
.guide.no-toc .prose { margin: 0 auto; }
@media (max-width: 960px) { .guide { grid-template-columns: minmax(0, 1fr); } }
.toc { position: sticky; top: 104px; font-family: var(--sans); background: var(--cream); border-radius: var(--radius); padding: 20px 20px 18px; }
.toc-title { font: 700 .78rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--rust); margin: 0 0 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 8px 0 6px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; line-height: 1.3; border-top: 1px solid var(--line); }
.toc li:first-child a { border-top: 0; }
.toc a:hover { color: var(--rust); }
@media (max-width: 960px) { .toc { position: static; } }
.prose { max-width: 760px; min-width: 0; }
.prose > h2 { margin-top: 1.9em; padding-top: 4px; }
.prose > h2:first-child { margin-top: 0; }
.prose > h2::before { content: ""; display: block; width: 48px; height: 4px; border-radius: 2px; background: var(--terra); margin-bottom: 16px; }
.prose > h3 { margin-top: 1.6em; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 9px; height: 9px; border-radius: 2px; background: var(--terra); transform: rotate(45deg); }
.prose ol { padding-left: 1.4em; }
.prose .photo { margin: 2em 0; }
.prose .photo.first { margin-top: 0; }
.note { background: var(--cream); border-left: 4px solid var(--terra); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 1.6em 0; }
.note p { font-size: 1rem; }
.note .note-title { font: 700 .8rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rust); margin-bottom: 8px; }
.post-meta-bar { display: flex; flex-wrap: wrap; gap: 8px 18px; font: 600 .9rem/1.4 var(--sans); color: var(--muted); margin: 0 0 1.6em; }
.dated { background: var(--sand); border-radius: 10px; padding: 14px 18px; font-size: .98rem; margin: 0 0 1.8em; }
.more { margin-top: 3em; padding-top: 1.6em; border-top: 1px solid var(--line); }
.more h2 { font-size: 1.4rem; }
.more ul li { margin-bottom: .6em; }

/* Town and landmark lists on the hub pages */
.towns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 36px; }
@media (max-width: 760px) { .towns { grid-template-columns: 1fr; } }

/* The book */
.book { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.book img { width: 220px; filter: drop-shadow(0 22px 26px rgba(43, 33, 24, .35)); }
@media (max-width: 640px) { .book { grid-template-columns: 1fr; } .book img { width: 180px; } }
.book .facts { font-size: 1rem; color: var(--muted); }

/* Closing band */
.cta-band { position: relative; isolation: isolate; background: var(--ink); color: #eadfce; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 300px at 100% 100%, rgba(199, 123, 79, .35) 0%, rgba(199, 123, 79, 0) 70%), repeating-linear-gradient(172deg, rgba(255, 255, 255, 0) 0 46px, rgba(255, 255, 255, .025) 46px 48px); }
.cta-band h2 { color: #fff; }
.cta-band .eyebrow { color: var(--gold); }
.cta-band :focus-visible { outline-color: var(--gold); }
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; }
@media (max-width: 760px) { .cta-grid { grid-template-columns: 1fr; } }
.band-dark { background: var(--ink); color: #eadfce; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: var(--gold); }
.band-dark a:not(.btn) { color: var(--gold); }
.band-dark :focus-visible { outline-color: var(--gold); }

/* Seasons (home) */
.seasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; margin: 30px 0 0; }
@media (max-width: 700px) { .seasons { grid-template-columns: 1fr; } }
.seasons p { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 0; font-size: 1rem; }

/* Post lists (News, Resources) */
.post-list { display: grid; gap: 24px; margin-top: 8px; }
.post-item { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.post-item.no-img { grid-template-columns: minmax(0, 1fr); border-left: 4px solid var(--terra); }
.post-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.post-item h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: 8px; }
.post-item h2 a { color: var(--ink); text-decoration: none; }
.post-item h2 a:hover { color: var(--rust); text-decoration: underline; }
.post-item .date { font: 600 .88rem/1.4 var(--sans); letter-spacing: .06em; color: var(--muted); margin: 0 0 8px; }
.post-item p { font-size: 1rem; }
@media (max-width: 700px) { .post-item { grid-template-columns: 1fr; } }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font: 700 .92rem/1.3 var(--sans); color: var(--ink); margin: 0 0 6px; }
.field label .req { color: var(--rust); }
.field label .opt { color: var(--muted); font-weight: 600; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; font: 400 1rem/1.4 var(--serif); color: var(--ink); background: var(--cream); border: 1px solid #cdbca6; border-radius: 12px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 4px rgba(156, 74, 47, .22); background-color: #fff; }
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 14px 0 0; font: 700 1rem/1.4 var(--sans); color: var(--rust); min-height: 1.5em; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--sand); margin-top: 26px; }
.map iframe { display: block; width: 100%; height: 340px; border: 0; }
.points p { padding-left: 0; }

/* Footer */
.site-footer { background: var(--night); color: #d8cdbf; padding: clamp(52px, 7vw, 76px) 0 28px; font-size: .97rem; }
.site-footer a { color: #f4ece1; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--gold); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 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 .name { font: 700 1.5rem/1.2 var(--sans); color: #fff; margin: 0 0 8px; }
.foot-brand p { color: #c9bcad; }
.foot-h { font: 700 .78rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-family: var(--sans); font-weight: 600; }
.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: #b5a796; display: grid; gap: 6px; }
.foot-bottom p { margin: 0; }

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