@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-600-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-700-normal.woff2") format("woff2");
}

:root {
  --sand: #f3eee4;
  --sand-deep: #e6dccb;
  --paper: #fffaf3;
  --ink: #1c1612;
  --text: #2a231c;
  --muted: #4a4138;
  --line: #d5c7b2;
  --terracotta: #9c3412;
  --terracotta-deep: #7c280e;
  --red-rock: #6e2c22;
  --canyon: #3c211c;
  --canyon-deep: #2a1613;
  --river: #0e6c74;
  --river-deep: #083f48;
  --gold: #c89212;
  --gold-bright: #e2b14a;
  --focus: #083f48;
  --shadow: 0 18px 40px rgba(60, 33, 28, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --wrap: 72rem;
  --measure: 68ch;
  --header: 4.25rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse at 0% -10%, rgba(226, 177, 74, 0.18), transparent 42%),
    radial-gradient(ellipse at 100% 0%, rgba(14, 108, 116, 0.08), transparent 36%),
    var(--sand);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; }

a {
  color: var(--river-deep);
  text-underline-offset: 0.16em;
}

a:hover { color: var(--terracotta-deep); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-150%);
  background: var(--canyon);
  color: var(--sand);
  padding: 0.6rem 0.9rem;
  z-index: 50;
  border-radius: 0.25rem;
  text-decoration: none;
}

.skip-link:focus { transform: none; }

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 238, 228, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(200, 146, 18, 0.45);
}

.header-inner {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand small {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--terracotta);
}

.logo {
  display: block;
  height: 2.75rem;
  width: auto;
  flex: none;
}

.brand { margin-right: auto; }

.header-cta {
  flex: none;
  white-space: nowrap;
  padding-inline: 0.9rem;
}

.header-cta--in-menu { margin-top: 0.45rem; }

.primary-nav > summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 700;
  color: var(--canyon);
}

.primary-nav > summary::-webkit-details-marker { display: none; }

.nav-panel {
  position: absolute;
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1rem 1rem;
  display: grid;
  gap: 0.15rem;
}

.nav-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.4rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  border-radius: 0.4rem;
}

.nav-panel a:hover,
.nav-panel a[aria-current="page"] {
  background: var(--sand-deep);
  color: var(--terracotta-deep);
}

.crumbs { padding: 1rem 0 0; }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.crumbs li { display: inline-flex; align-items: center; gap: 0.4rem; }
.crumbs li + li::before { content: "/"; color: var(--gold); }

.page-head { padding: 1.4rem 0 0.4rem; }

.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

h1, h2, h3, h4 {
  scroll-margin-top: 5.2rem;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); margin: 0 0 0.7rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin: 2.2rem 0 0.7rem; }
.wrap-head { margin: 1.6rem 0 0.6rem; }
h3 { font-size: 1.28rem; margin: 1.5rem 0 0.45rem; }

.dek, .lede {
  font-size: 1.18rem;
  line-height: 1.55;
  max-width: 42rem;
  color: var(--text);
}

.dek { margin: 0; }

.hero {
  display: grid;
  gap: 0;
  margin: 1rem 0 0.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero__copy { padding: 1.4rem 1.2rem 1.5rem; }

.hero--photo {
  position: relative;
  min-height: 28rem;
  color: #fffaf3;
  background: #1c1612;
  border: 0;
  border-radius: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  box-shadow: none;
}

.hero--photo .hero__media {
  position: absolute;
  inset: 0;
}

.hero--photo .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
  display: block;
}

.hero--photo .hero__copy {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  margin-top: 8rem;
  padding: 2rem 1.3rem 3.4rem;
  background: linear-gradient(to top, rgba(20, 14, 10, 0.9) 0%, rgba(20, 14, 10, 0.72) 70%, rgba(20, 14, 10, 0.15) 100%);
}

.hero--photo h1,
.hero--photo .lede,
.hero--photo .byline,
.hero--photo .byline a {
  color: #fffaf3;
}

.hero--photo .eyebrow { color: #e2b14a; }
.hero--photo .disclosure { color: rgba(243, 238, 228, 0.86); }
.hero--photo .btn-secondary {
  color: #fffaf3;
  border-color: #fffaf3;
}
.hero--photo .btn-secondary:hover {
  background: #fffaf3;
  color: var(--canyon);
}

.hero__credit {
  position: absolute;
  right: 0.8rem;
  bottom: 0.5rem;
  z-index: 1;
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 250, 243, 0.88);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}
.hero__credit a { color: inherit; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.btn, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn {
  background: var(--terracotta);
  color: #fffaf3;
  font: inherit;
  cursor: pointer;
}

.btn:hover { background: var(--terracotta-deep); color: #fff; }

.btn-secondary {
  background: transparent;
  color: var(--canyon);
  border-color: var(--canyon);
}

.btn-secondary:hover { background: var(--canyon); color: var(--sand); }

.disclosure {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: var(--measure);
}

.fact-grid, .choice-grid, .tour-grid {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 0.4rem;
}

.fact, .choice-card, .tour-card, .fallback, .callout, .featured, .related, .sources, .guide-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.fact { padding: 0.95rem 1rem 1rem; }
.fact b {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--red-rock);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.fact span { display: block; color: var(--muted); font-size: 0.95rem; margin-top: 0.25rem; }

.choice-card { padding: 1rem 1rem 1.05rem; }
.choice-card h3 { margin-top: 0; }
.choice-card p { margin: 0.35rem 0 0.7rem; }
.choice-card a.more { font-weight: 700; }

.prose { max-width: 46rem; padding-bottom: 0.5rem; }
.prose > :first-child { margin-top: 0.4rem; }
.prose p, .prose li { max-width: var(--measure); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.35rem; }

blockquote {
  margin: 1.2rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 3px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--canyon);
}

.callout { padding: 1rem 1.05rem; margin: 1.2rem 0; max-width: 46rem; }
.callout strong { color: var(--canyon); }

.table-wrap { overflow-x: auto; margin: 1rem 0; max-width: 46rem; }
table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 0.98rem; }
caption { text-align: left; font-weight: 700; padding: 0.4rem 0 0.55rem; color: var(--canyon); }
th, td { border-bottom: 1px solid var(--line); text-align: left; padding: 0.55rem 0.6rem; vertical-align: top; }
th { font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

.tour-results { margin: 0.4rem 0 1rem; }
.tour-card { overflow: hidden; display: grid; }
.tour-card__media {
  aspect-ratio: 3 / 2;
  background:
    linear-gradient(160deg, #e7b56a, #9c3412 55%, #0e6c74);
}
.tour-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tour-card__body { padding: 0.9rem 1rem 1rem; }
.tour-card h3 { margin: 0.35rem 0; font-size: 1.2rem; }
.tour-card h3 a { color: inherit; text-decoration-thickness: 1px; }
.tour-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.tour-desc { margin: 0.55rem 0; }
.badges { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.badges li {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--river-deep);
  background: #e5f3f3;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
}

.fallback { padding: 1.15rem 1.1rem 1.2rem; }
.fallback h3 { margin-top: 0; }

.featured {
  margin: 0.4rem 0 1.2rem;
  overflow: hidden;
  max-width: 52rem;
}
.featured img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.faq { display: grid; gap: 0.55rem; margin: 0.6rem 0 1rem; max-width: 46rem; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.35rem 0.9rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--ink);
}
.faq details p { margin-top: 0.2rem; }

.related { padding: 1rem 1.05rem 1.15rem; margin: 1.5rem 0 2rem; }
.related h2 { margin-top: 0; }
.related ul { margin: 0; padding-left: 1.15rem; }
.related li + li { margin-top: 0.4rem; }

.sources { padding: 0.9rem 1rem 1rem; margin: 1rem 0 1.5rem; max-width: 46rem; }
.sources h2 { margin-top: 0; font-size: 1.3rem; }
.sources ul { margin: 0.3rem 0 0; padding-left: 1.1rem; }

.site-footer {
  background: var(--canyon-deep);
  color: #f3eee4;
  margin-top: 1rem;
  padding: 2.2rem 0 1.4rem;
}
.site-footer a { color: #f6e7c8; }
.site-footer a:hover { color: #fff; }
.footer-brand {
  font-family: var(--serif);
  font-size: 1.7rem;
  margin: 0 0 0.4rem;
  color: #fffaf3;
}
.footer-note { max-width: 42rem; color: #eadfce; margin-top: 0; }
.sitemap {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.6rem;
}
.sitemap h2 {
  color: var(--gold-bright);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--sans);
  margin: 0 0 0.45rem;
}
.sitemap ul { list-style: none; margin: 0; padding: 0; }
.sitemap li + li { margin-top: 0.28rem; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  border-top: 1px solid rgba(243, 238, 228, 0.18);
  margin-top: 1.6rem;
  padding-top: 0.9rem;
  color: #eadfce;
  font-size: 0.92rem;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  align-items: baseline;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.byline a { font-weight: 700; }
.dates time { font-weight: 700; color: var(--ink); }

.author-box {
  display: grid;
  gap: 0.9rem;
  margin: 1.6rem 0;
  padding: 1rem;
  max-width: 46rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}
.author-box h2 { margin: 0; font-size: 1.35rem; }
.author-box .author-photo { margin: 0; }
.author-box .author-photo img { width: 7.5rem; height: 7.5rem; aspect-ratio: 1; border-radius: 0.6rem; object-fit: cover; }
.author-kicker { margin: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracotta); }

.contact-form {
  display: grid;
  gap: 0.8rem;
  max-width: 36rem;
  margin: 1rem 0;
}
.contact-form label { font-weight: 700; display: grid; gap: 0.3rem; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.65rem 0.7rem;
  width: 100%;
}
.form-status { min-height: 1.4em; font-weight: 700; color: var(--river-deep); }

.not-found { padding: 1rem 0 2rem; }

@media (min-width: 700px) {
  .fact-grid { grid-template-columns: repeat(3, 1fr); }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .sitemap { grid-template-columns: repeat(4, 1fr); }
  .hero__copy { padding: 2rem 2rem 2.2rem; }
  .hero--photo .hero__copy {
    margin-top: 0;
    min-height: 28rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(90deg, rgba(20, 14, 10, 0.86) 0%, rgba(20, 14, 10, 0.62) 68%, rgba(20, 14, 10, 0.08) 100%);
    max-width: 40rem;
    padding: 2.4rem 2rem 2.6rem 2rem;
  }
  .author-box--photo { grid-template-columns: 7.5rem 1fr; align-items: start; }
  .tour-grid--catalog { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .primary-nav { order: 1; margin-left: auto; }
  .header-cta--bar { order: 2; }
  .header-cta--in-menu { display: none; }
  .primary-nav > summary { display: none; }
  .primary-nav::details-content {
    content-visibility: visible;
    height: auto;
    display: flex;
    gap: 0.15rem;
  }
  .primary-nav:not([open]) > .nav-panel,
  .primary-nav[open] > .nav-panel {
    position: static;
    display: flex;
    gap: 0.15rem;
    background: transparent;
    border: 0;
    padding: 0;
  }
  .nav-panel a { padding-inline: 0.7rem; }
  .hero:not(.hero--photo) {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 32rem;
    align-items: stretch;
  }
}

@media (min-width: 1040px) {
  .tour-grid { grid-template-columns: repeat(3, 1fr); }
  .tour-grid--catalog { grid-template-columns: repeat(3, 1fr); }
  .guide-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .tour-grid--catalog { grid-template-columns: repeat(4, 1fr); }
}


.tour-catalog { margin: 1rem 0 2rem; }
.tour-filters {
  display: grid;
  gap: 0.9rem;
  margin: 0 0 0.8rem;
  padding: 0.9rem 1rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}
.tour-filters fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
.tour-filters legend,
.tour-filters label {
  font-weight: 700;
  font-size: 0.92rem;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.45rem;
}
.chip {
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  min-height: 40px;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--sand);
  color: var(--canyon);
  cursor: pointer;
}
.chip[aria-pressed="true"] {
  background: var(--canyon);
  color: var(--sand);
  border-color: var(--canyon);
}
.filter-controls {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr;
}
.filter-controls label { display: grid; gap: 0.3rem; }
.filter-controls select,
.filter-controls input[type="search"] {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.55rem 0.65rem;
  width: 100%;
  min-height: 44px;
}
.tour-count { margin: 0.2rem 0 0.7rem; font-weight: 700; }
.tour-empty { margin: 0.8rem 0; }
.more-tours { margin: 0.8rem 0 0; }

.guide-grid {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 1.4rem;
  padding: 0;
  list-style: none;
}
.guide-card {
  display: grid;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  height: 100%;
}
.guide-card__media img {
  display: block;
  width: 100%;
  height: 10rem;
  object-fit: cover;
}
.guide-card__body { display: grid; gap: 0.35rem; padding: 0.85rem 0.95rem 1rem; }
.guide-card__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--canyon);
}
.guide-card__summary { color: var(--muted); }
.guide-card__meta {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta);
}

@media (min-width: 700px) {
  .filter-controls { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1040px) {
  .filter-controls { grid-template-columns: repeat(5, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .site-header, .site-footer, .hero__actions, .skip-link, .btn, .btn-secondary { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}

.credit-list { list-style: none; padding: 0; display: grid; gap: 1rem; max-width: 46rem; }
.credit-card { margin: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 0.9rem; }
.credit-card img { display: block; width: 100%; height: 12rem; object-fit: cover; }
.credit-card figcaption { padding: 0.75rem 0.95rem 0.95rem; }
