/* Prairie Wind Tours — Y2K chrome / liquid-metal design system */

:root {
  --mint: #bff0dd;
  --peach: #f7d2c4;
  --lilac: #d6c7f5;
  --pink: #f4c9d6;
  --ink: #241f36;
  --ink-soft: #4a4360;
  --cream: #fbf8f3;
  --paper: #ffffff;
  --chrome-1: #e9fff5;
  --chrome-2: #fde6f2;
  --chrome-3: #e4dcff;
  --line: #241f36;
  --radius-lg: 2.5rem;
  --radius-md: 1.25rem;
  --radius-sm: .6rem;
  --shadow-card: 0 10px 0 var(--ink), 0 10px 24px rgba(36,31,54,.18);
  --ff-display: "Georgia", "Iowan Old Style", "Palatino Linotype", serif;
  --ff-body: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ff-label: "Courier New", ui-monospace, monospace;
  --maxw: 72rem;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--ff-display); line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: .3rem;
}

/* ===== Layout utilities ===== */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: clamp(3rem, 6vw, 6rem) 0; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 46rem) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.stack-sm > * + * { margin-top: .75rem; }
.stack-md > * + * { margin-top: 1.5rem; }
.stack-lg > * + * { margin-top: 3rem; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.eyebrow {
  font-family: var(--ff-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--ink-soft);
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(135deg, var(--chrome-1), var(--chrome-2));
  border-bottom: 3px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand svg { width: 2.6rem; height: 2.6rem; flex: none; }
.brand-word { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 700; letter-spacing: .01em; }
.nav { display: flex; }
.nav-list { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; font-size: .95rem; font-weight: 600; }
.nav-list a { text-decoration: none; position: relative; padding: .25rem 0; }
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--ink); transition: width .25s ease;
}
.nav-list a:hover::after, .nav-list a.is-active::after { width: 100%; }
.nav-list a.is-active { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: .9rem; }
.cart-link { display: flex; align-items: center; gap: .4rem; text-decoration: none; font-weight: 700; }
.cart-link svg { width: 1.4rem; height: 1.4rem; }
.cart-badge {
  background: var(--ink); color: var(--chrome-1); border-radius: 999px;
  font-size: .72rem; min-width: 1.4rem; height: 1.4rem; display: inline-flex;
  align-items: center; justify-content: center; padding: 0 .3rem; font-family: var(--ff-label);
}
.cart-badge.bump { animation: bump .35s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
.menu-toggle {
  display: none; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--paper);
  width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle svg { width: 1.4rem; height: 1.4rem; }
@media (max-width: 54rem) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 20rem); background: var(--chrome-3);
    border-left: 3px solid var(--line); padding: 5rem 1.5rem 2rem; transform: translateX(100%);
    visibility: hidden; transition: transform .3s ease, visibility .3s ease; z-index: 60;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav-list { flex-direction: column; gap: 1.2rem; font-size: 1.1rem; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-family: var(--ff-body); font-size: .95rem; cursor: pointer;
  border: 2.5px solid var(--line); border-radius: 999px; padding: .85rem 1.6rem;
  background: var(--paper); color: var(--ink); text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate; min-height: 44px;
}
.btn::before {
  content: ""; position: absolute; inset: 0; left: -100%; width: 100%;
  background: var(--ink); z-index: -1; transition: left .28s ease;
}
.btn:hover::before { left: 0; }
.btn:hover { color: var(--cream); }
.btn-primary { background: linear-gradient(135deg, var(--mint), var(--lilac)); }
.btn-primary::before { background: var(--ink); }
.btn-ghost { background: transparent; }
.btn-dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-dark::before { background: var(--mint); }
.btn-dark:hover { color: var(--ink); }
.btn-sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn-link { background: none; border: none; text-decoration: underline; cursor: pointer; font-weight: 600; padding: 0; min-height: auto; }

/* ===== Hero / poster frame ===== */
.hero {
  padding: 2.5rem 0 3rem;
}
.hero-frame {
  border: 4px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--chrome-1), var(--chrome-3) 60%, var(--chrome-2));
  padding: clamp(1.5rem, 4vw, 3.5rem);
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 2rem;
}
@media (min-width: 60rem) { .hero-frame { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  margin: 0 0 .6rem;
}
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34rem; }
.hero-art { position: relative; aspect-ratio: 4/3; }
.hero-art svg { width: 100%; height: 100%; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.draw-path { stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 2.4s ease forwards; }
@keyframes draw { from { stroke-dashoffset: var(--len, 600); } to { stroke-dashoffset: 0; } }

/* ===== Page hero (inner pages) ===== */
.page-hero {
  padding: 3rem 0 2rem;
  background: linear-gradient(120deg, var(--chrome-2), var(--chrome-1));
  border-bottom: 3px solid var(--line);
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.page-hero p { max-width: 38rem; font-size: 1.05rem; }

/* ===== Breadcrumbs ===== */
.breadcrumbs { list-style: none; display: flex; gap: .4rem; padding: 0; margin: 0 0 1rem; font-size: .85rem; color: var(--ink-soft); flex-wrap: wrap; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .4rem; }
.breadcrumbs a { text-decoration: underline; }

/* ===== Cards / tours ===== */
.tour-card {
  background: var(--paper); border: 3px solid var(--line); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-card); transition: transform .25s ease;
  display: flex; flex-direction: column;
}
.tour-card:hover { transform: translateY(-6px); }
.tour-card-media { aspect-ratio: 4/3; overflow: hidden; }
.tour-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tour-card:hover .tour-card-media img { transform: scale(1.08); }
.tour-card-body { padding: 1.2rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.tour-card-price { font-family: var(--ff-label); font-weight: 700; font-size: 1.1rem; }
.tour-card-tag {
  display: inline-block; font-family: var(--ff-label); font-size: .72rem; text-transform: uppercase;
  letter-spacing: .08em; background: var(--mint); border: 2px solid var(--line); border-radius: 999px;
  padding: .15rem .6rem; align-self: flex-start;
}
.strip {
  display: flex; gap: 1.2rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory;
}
.strip .tour-card { min-width: 17rem; scroll-snap-align: start; }

/* ===== Trail Finder tool ===== */
.trail-finder {
  border: 4px solid var(--line); border-radius: var(--radius-lg); background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 2rem;
}
@media (min-width: 56rem) { .trail-finder { grid-template-columns: 1fr 1fr; } }
.tf-slider { width: 100%; accent-color: var(--ink); height: 2.2rem; }
.tf-days-value { font-family: var(--ff-label); font-size: 2.2rem; font-weight: 700; }
.tf-results { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; }
.tf-match {
  display: flex; justify-content: space-between; gap: 1rem; text-decoration: none;
  border: 2.5px solid var(--line); border-radius: var(--radius-sm); padding: .8rem 1rem;
  background: var(--chrome-1); transition: background .2s ease;
}
.tf-match:hover { background: var(--mint); }
.tf-map { width: 100%; height: auto; }
.tf-map [data-route] { stroke: #cfc9df; stroke-width: 3; fill: none; transition: stroke .3s ease; }
.tf-map [data-route].is-active { stroke: var(--ink); }
.tf-map .tf-bus { opacity: 0; }
.tf-map [data-route].is-active + .tf-bus { opacity: 1; }

/* ===== Decorative dividers / icon sprite ===== */
.divider { width: 100%; height: auto; display: block; margin: 2rem 0; }
.icon { width: 1.4rem; height: 1.4rem; }
.badge-seal { width: 6rem; height: 6rem; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.stagger-2 { transition-delay: .08s; }
.reveal.stagger-3 { transition-delay: .16s; }
.reveal.stagger-4 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .draw-path { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ===== Notices / forms ===== */
.notice { border: 2.5px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; background: var(--chrome-1); }
.notice-success { background: var(--mint); }
.notice-warn { background: var(--peach); }
.form-error { color: #8a1f3b; font-weight: 600; min-height: 1.2em; }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 40rem) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field textarea, .field select {
  border: 2.5px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .9rem;
  font-family: var(--ff-body); font-size: 1rem; background: var(--paper); accent-color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--lilac); outline-offset: 1px; }
.field-error { color: #8a1f3b; font-size: .82rem; }
.field-qty { width: 4.5rem; }
.honeypot { position: absolute; left: -9999px; opacity: 0; }

/* ===== Footer / newsletter ===== */
.site-footer { background: var(--ink); color: var(--chrome-1); border-top: 3px solid var(--line); margin-top: 3rem; }
.site-footer a { color: var(--chrome-1); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; padding: 3rem 0; grid-template-columns: 1fr; }
@media (min-width: 50rem) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
.footer-grid h3 { font-size: 1rem; color: var(--mint); font-family: var(--ff-label); letter-spacing: .06em; text-transform: uppercase; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.newsletter-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
  flex: 1; min-width: 10rem; border: 2.5px solid var(--chrome-1); border-radius: 999px; padding: .6rem 1rem;
  background: transparent; color: var(--chrome-1); font-family: var(--ff-body);
}
.newsletter-form input::placeholder { color: var(--chrome-1); opacity: .7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.25); padding: 1.2rem 0; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 90; max-width: 36rem; margin: 0 auto;
  background: var(--ink); color: var(--chrome-1); border: 3px solid var(--mint); border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.cookie-banner a { color: var(--mint); text-decoration: underline; }
.cookie-banner .btn-ghost { border-color: var(--chrome-1); color: var(--chrome-1); }
.cookie-actions { display: flex; gap: .6rem; }

/* ===== Prose (legal pages) ===== */
.prose { max-width: 42rem; font-size: 1.02rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.legal-toc { border: 2.5px solid var(--line); border-radius: var(--radius-md); padding: 1.2rem 1.4rem; background: var(--chrome-1); max-width: 24rem; }
.legal-toc h2 { font-size: 1rem; margin-top: 0; }
.legal-toc ol { margin: 0; padding-left: 1.2rem; }
.legal-layout { display: grid; gap: 2rem; }
@media (min-width: 56rem) { .legal-layout { grid-template-columns: 16rem 1fr; } }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: .8rem; max-width: 42rem; }
.faq-item { border: 2.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); padding: 0; }
.faq-item summary { cursor: pointer; padding: 1rem 1.3rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--ink-soft); }

/* ===== Product detail ===== */
.product-detail { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) { .product-detail { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.product-media { border: 4px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.product-price { font-family: var(--ff-label); font-size: 1.6rem; font-weight: 700; }
.product-meta { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1rem 0; }
.product-meta li { list-style: none; }
.product-includes { padding-left: 1.2rem; }
.qty-row { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; }

/* ===== Cart / checkout ===== */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.cart-table th, .cart-table td { border-bottom: 2px solid var(--line); padding: .9rem .6rem; text-align: left; vertical-align: top; }
.cart-summary { border: 3px solid var(--line); border-radius: var(--radius-md); padding: 1.5rem; background: var(--chrome-1); max-width: 24rem; }
.cart-summary .total-row { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.2rem; margin-top: 1rem; }

/* ===== Contact ===== */
.contact-layout { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) { .contact-layout { grid-template-columns: 1fr 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-info li { list-style: none; display: flex; gap: .6rem; align-items: flex-start; }

/* ===== 404 ===== */
.error-page { text-align: center; padding: 5rem 0; }
.error-page h1 { font-size: clamp(3rem, 10vw, 6rem); }

/* COMPONENTS: .class - what it is
.wrap - centered max-width container
.section - vertical page section padding
.grid / .grid-2 / .grid-3 / .grid-4 - responsive grid layouts
.stack-sm/-md/-lg - vertical spacing between children
.eyebrow - small uppercase label above headings
.site-header - sticky header bar
.brand - logo mark + wordmark link
.nav / .nav-list - primary navigation
.cart-link / .cart-badge - header cart/seat counter
.menu-toggle - mobile nav hamburger button
.btn / .btn-primary / .btn-ghost / .btn-dark / .btn-sm / .btn-link - button variants with fill-sweep hover
.hero / .hero-frame / .hero-title / .hero-sub / .hero-art / .hero-cta - home hero poster frame
.draw-path - SVG line-draw-on-load animation
.page-hero - inner page hero band
.breadcrumbs - breadcrumb trail list
.tour-card / .tour-card-media / .tour-card-body / .tour-card-price / .tour-card-tag - catalog/product cards
.strip - horizontal scroll-snap card strip (mobile)
.trail-finder / .tf-slider / .tf-days-value / .tf-results / .tf-match / .tf-map - Trail Finder interactive tool
.divider - decorative full-width SVG divider
.icon - inline sprite icon
.badge-seal - decorative seal/badge SVG
.reveal / .in-view / .stagger-2/-3/-4 - scroll-reveal animation hooks
.notice / .notice-success / .notice-warn - inline alert boxes
.form-error - inline form error message
.form-grid / .cols-2 - form layout grid
.field / .field-error / .field-qty - form field wrapper + states
.honeypot - visually hidden anti-spam field
.site-footer / .footer-grid / .footer-links / .footer-bottom - site footer
.newsletter-form - footer email signup form
.cookie-banner / .cookie-actions - cookie consent banner
.prose - readable long-form legal text column
.legal-toc / .legal-layout - legal page table of contents + layout
.faq / .faq-item - FAQ accordion (details/summary)
.product-detail / .product-media / .product-info / .product-price / .product-meta / .product-includes / .qty-row - product page layout
.cart-table / .cart-summary - cart/checkout table and totals box
.contact-layout / .contact-info - contact page layout
.error-page - 404 page layout
*/
