@font-face {
  font-family: "Barlow Condensed";
  src: url("./barlow-condensed-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --white: #fffdfa;
  --ink: #25251e;
  --muted: #5e5b50;
  --border: #ddd8cb;
  --gold: #ffbf46;
  --gold-hover: #f5ab28;
  --rust: #8a482b;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-height: 100vh; min-height: 100dvh; margin: 0; display: flex; flex-direction: column; }
body > main { flex: 1; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }
h1, h2, p, dl, dd { margin: 0; }
h1, h2 { font-family: var(--display); line-height: .96; }
.shell { width: min(100% - 96px, 1216px); margin-inline: auto; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--border); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-family: var(--display); font-size: 2rem; letter-spacing: .075em; line-height: 1; text-decoration: none; }
.ridge-mark {
  width: 29px; height: 23px; display: inline-block; background: currentColor;
  clip-path: polygon(0 84%, 39% 9%, 54% 38%, 67% 16%, 100% 84%, 71% 84%, 61% 63%, 51% 80%, 39% 60%, 26% 84%);
}
.header-actions { display: flex; align-items: center; gap: 20px; }
.demo-label { color: var(--muted); font-size: .875rem; font-weight: 600; }
.cart-link { display: inline-flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: .9375rem; font-weight: 650; text-decoration: none; }
.cart-link:hover { background: #eee9df; }
.bag-icon { display: inline-block; position: relative; width: 15px; height: 13px; margin-block-start: 3px; border: 1.6px solid currentColor; border-radius: 2px; }
.bag-icon::before { content: ""; position: absolute; left: 3px; top: -6px; width: 6px; height: 6px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 6px 6px 0 0; }
.bag-count { min-width: 1.5rem; min-height: 1.5rem; display: grid; place-items: center; background: var(--ink); border-radius: 50%; color: white; font-size: .8375rem; }

.hero {
  color: #fffdf5;
  background-color: #3e2a21;
  background-image: linear-gradient(90deg, rgb(22 18 13 / .87), rgb(22 18 13 / .59) 38%, rgb(22 18 13 / .06) 78%),
    linear-gradient(0deg, rgb(22 18 13 / .74), transparent 37%), url("./canyon.webp");
  background-size: cover;
  background-position: center, center, center 56%;
}
.hero-inner { min-height: 610px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 46px; padding-block: 66px 27px; }
.hero-copy { max-width: 640px; }
.eyebrow { color: var(--rust); font-weight: 750; font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.45; }
.hero-kicker { color: #ffe1a0; display: flex; align-items: center; gap: 12px; }
.hero-kicker::before { content: ""; width: 27px; height: 2px; background: var(--gold); }
.hero h1 { margin-top: 15px; font-size: clamp(5.25rem, 8.8vw, 8.5rem); letter-spacing: -.025em; }
.hero-lede { max-width: 27rem; margin-top: 20px; font-size: 1.125rem; line-height: 1.6; color: #f8f4e9; }
.hero .button { margin-top: 27px; }
.hero .button span { border-inline-start: 1px solid #82511d7a; padding-inline-start: 14px; font-variant-numeric: tabular-nums; }
.hero :focus-visible { outline-color: #fffdf5; }
.hero-facts { align-self: stretch; display: grid; grid-template-columns: repeat(3, max-content); gap: clamp(26px, 6vw, 96px); border-top: 1px solid #fffdf564; padding-top: 17px; }
.hero-facts dt, .trail-notes dt, .confirmation-details dt { font-size: .875rem; font-weight: 700; }
.hero-facts dt { color: #fae5c8; }
.hero-facts dd, .trail-notes dd { margin-top: 3px; font-size: 1rem; }
.trail-section { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .85fr); align-items: start; gap: clamp(30px, 8vw, 126px); padding-block: 62px 75px; }
.trail-section h2 { margin: 7px 0 12px; font-size: clamp(3rem, 5.5vw, 5.125rem); }
.trail-section p:not(.eyebrow) { font-size: 1.0625rem; color: var(--muted); line-height: 1.65; max-width: 33rem; }
.trail-notes { border-top: 1px solid var(--border); }
.trail-notes > div { display: grid; grid-template-columns: 6rem 1fr; align-items: baseline; gap: 15px; border-bottom: 1px solid var(--border); padding-block: 13px; }
.trail-notes dt { color: var(--muted); }
.trail-notes dd { margin: 0; line-height: 1.4; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; max-width: 100%; padding: 11px 20px; border: 1px solid transparent; border-radius: 5px; font-weight: 750; line-height: 1.25; cursor: pointer; text-align: center; text-decoration: none; }
.primary { background-color: var(--gold); color: #242118; }
.primary:hover { background-color: var(--gold-hover); }
.button:disabled { opacity: .6; cursor: wait; }
.button-secondary { border-color: var(--border); background: #fffdfa; color: var(--ink); }
.button-secondary:hover { background: #eee9df; }
.full-width { width: 100%; }
.muted { color: var(--muted); line-height: 1.6; }
.site-footer { border-top: 1px solid var(--border); background: #eeeae0; }
.footer-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.site-footer .wordmark { font-size: 1.625rem; }
.site-footer .ridge-mark { width: 23px; height: 18px; }
.site-footer p { font-size: .875rem; color: var(--muted); }

.booking-page { padding-block: 33px 75px; }
.booking-page h1 { margin: 23px 0 30px; font-size: clamp(4.25rem, 7vw, 6.625rem); letter-spacing: -.015em; }
.steps ol { list-style: none; padding: 0; margin: 0; display: flex; gap: 12px; align-items: center; font-size: .9375rem; }
.steps li { color: var(--muted); }
.steps li + li::before { content: "/"; margin-right: 12px; color: #8b8374; }
.steps [aria-current] { color: var(--ink); font-weight: 750; }
.steps a { text-decoration-color: #a69e8c; text-underline-offset: 3px; }
.steps a:hover { color: var(--rust); }
.booking-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.panel { background: var(--white); border: 1px solid var(--border); border-radius: 9px; padding: 24px; }
.panel h2 { font-size: 2.125rem; line-height: 1.02; }
.tour-line { display: grid; grid-template-columns: clamp(92px, 12vw, 157px) 1fr auto; align-items: start; gap: 20px; }
.tour-thumb { width: 100%; height: 100%; min-height: 132px; object-fit: cover; border-radius: 5px; }
.tour-line-info .eyebrow { margin-bottom: 4px; }
.tour-line-info .muted { margin-top: 5px; }
.line-price { font-size: 1.225rem; font-variant-numeric: tabular-nums; }
.line-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 17px; margin-top: 13px; }
.quantity { display: inline-flex; align-items: center; min-height: 42px; border: 1px solid #aaa293; border-radius: 5px; overflow: hidden; }
.quantity button { min-width: 42px; min-height: 42px; border: 0; background: transparent; cursor: pointer; color: inherit; font-size: 1.25rem; }
.quantity button:not(:disabled):hover { background: #f0eadb; }
.quantity button:disabled { opacity: .36; cursor: default; }
.quantity button:focus-visible { outline-offset: -3px; }
.quantity output { min-width: 28px; text-align: center; font-weight: 750; font-variant-numeric: tabular-nums; }
.text-button { padding: 5px 0; border: 0; color: var(--rust); background: transparent; font-size: .9375rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 19px; padding-top: 15px; border-top: 1px solid var(--border); font-weight: 650; }
.summary-total strong { font-size: 1.625rem; font-variant-numeric: tabular-nums; }
.summary-total small { margin-inline-start: 4px; color: var(--muted); font-size: .875rem; }
.summary .button { margin-top: 15px; }
.summary-tour { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.summary-tour img { flex-shrink: 0; object-fit: cover; border-radius: 4px; }
.checkout-form > .muted { margin-top: 6px; }
.checkout-form > .button { margin-top: 16px; }
.payment-frame-wrap { margin-top: 20px; }
.checkout-frame { display: block; width: 100%; height: 980px; min-height: 720px; border: 1px solid var(--border); border-radius: 6px; background: #fff; }
.payment-fallback { margin-top: 10px; font-size: .9375rem; }
.payment-fallback a { font-weight: 700; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 23px; }
.fields label { display: grid; gap: 6px; font-weight: 650; }
.fields input { display: block; width: 100%; min-height: 45px; padding: 8px 10px; border: 1px solid #aaa293; border-radius: 5px; color: var(--ink); background: #fff; font-weight: 400; }
.payment-scenarios { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
.payment-scenarios legend { padding: 0; font-family: var(--display); font-size: 1.85rem; line-height: 1.1; }
.payment-scenarios .muted { margin-block: 5px 11px; }
.scenario { display: flex; align-items: center; gap: 10px; min-height: 45px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 5px; cursor: pointer; }
.scenario + .scenario { margin-top: 7px; }
.scenario:has(:checked) { border-color: #b78428; background: #fff4db; }
.scenario input { margin: 0; width: 17px; height: 17px; accent-color: #865918; }
.checkout-error { margin: 0 0 14px; padding: 10px 13px; border: 1px solid #e4a794; border-radius: 5px; background: #fff0e9; color: #85291c; font-weight: 600; line-height: 1.45; }
.empty-state, .confirmation { max-width: 660px; }
.empty-state .button, .confirmation .button { margin-top: 16px; }
.confirmation h2 { margin-top: 5px; font-size: clamp(3.75rem, 6.5vw, 5.25rem); }
.confirmation-details { display: flex; flex-wrap: wrap; gap: 14px 32px; border-top: 1px solid var(--border); padding-top: 16px; margin-top: 21px; }
.confirmation-details dt { color: var(--muted); }
.confirmation-details dd { margin-top: 3px; font-size: 1.15rem; font-weight: 700; overflow-wrap: anywhere; }

@media (max-width: 850px) {
  .shell { width: min(100% - 48px, 1216px); }
  .hero-inner { min-height: 568px; padding-top: 60px; }
  .booking-grid { grid-template-columns: minmax(0, 1fr) minmax(235px, .63fr); gap: 14px; }
  .panel { padding: 18px; }
  .tour-line { grid-template-columns: 86px minmax(0, 1fr); gap: 12px; }
  .tour-thumb { grid-row: span 2; }
  .line-price { grid-column: 2; }
  .fields { grid-template-columns: 1fr; }
}

@media (max-width: 610px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 60px; }
  .header-actions { gap: 9px; }
  .wordmark { gap: 6px; font-size: 1.8rem; }
  .ridge-mark { width: 23px; height: 20px; }
  .demo-label { font-size: .8125rem; }
  .cart-link { gap: 6px; padding: 6px; }
  .hero {
    background-image: linear-gradient(90deg, rgb(22 18 13 / .77), rgb(22 18 13 / .27)),
      linear-gradient(0deg, rgb(22 18 13 / .86), transparent 43%), url("./canyon.webp");
    background-position: center, center, 53% center;
  }
  .hero-inner { min-height: 575px; gap: 34px; padding-block: 48px 20px; }
  .hero h1 { font-size: clamp(3.5rem, 18.8vw, 6.5rem); }
  .hero-lede { font-size: 1rem; max-width: 21rem; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .trail-section { grid-template-columns: 1fr; gap: 23px; padding-block: 38px 45px; }
  .booking-page { padding-block: 23px 48px; }
  .booking-page h1 { margin: 17px 0 22px; }
  .booking-grid { grid-template-columns: 1fr; }
  .checkout-frame { height: 900px; }
  .footer-inner { min-height: 73px; }
  .site-footer p { text-align: right; }
}
