/* =====================================================================
   Reachmore Expeditions — public booking-page design system v2
   Mobile-first, hand-written. Inlined into HTML at build (no /style.css
   network request, because the router proxy doesn't serve static assets).

   Design principles:
   - 8pt spacing scale
   - 16/18/22/28/36/48 type scale, serif display via Fraunces (where
     allowed) falling back to Georgia
   - Generous whitespace, layered surfaces, intentional depth
   - 48px minimum touch targets
   - Mobile is the canonical design; desktop is a refinement
   - Subtle motion (150-220ms), prefers-reduced-motion respected
   ===================================================================== */

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

:root {
  /* ----- Spacing scale (8pt grid) ----- */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  20px;
  --s-6:  24px;
  --s-7:  32px;
  --s-8:  40px;
  --s-9:  48px;
  --s-10: 56px;
  --s-11: 64px;
  --s-12: 80px;
  --s-13: 96px;
  --s-14: 128px;

  /* ----- Type scale ----- */
  --t-xs:      12px;
  --t-sm:      14px;
  --t-base:    16px;
  --t-lg:      18px;
  --t-xl:      22px;
  --t-2xl:     28px;
  --t-3xl:     36px;
  --t-4xl:     48px;
  --t-display: clamp(44px, 9vw, 80px);

  --lh-tight: 1.1;
  --lh-snug:  1.3;
  --lh-base:  1.55;
  --lh-loose: 1.7;

  /* ----- Surface ----- */
  --bg:         #FAF7F1;   /* warm bone */
  --bg-soft:    #F1ECE0;   /* slightly darker for alt sections */
  --bg-deep:    #E8E2D1;   /* deeper accent surface */
  --card:       #FFFFFF;
  --ink:        #1E2620;   /* deep charcoal-green */
  --ink-soft:   #4A5550;
  --ink-faint:  #7C857F;
  --ink-mute:   #A8AFA9;
  --line:       #E0DDD4;
  --line-soft:  #ECE9DE;
  --overlay:    rgba(30, 38, 32, 0.5);

  /* ----- Accent ----- */
  --accent:        #B4622A;  /* burnt amber */
  --accent-deep:   #8B4A1F;
  --accent-soft:   #C97A3F;
  --accent-tint:   #FCEBD9;
  --accent-tint-2: #F5D8BE;

  /* ----- Status ----- */
  --danger:        #B3341A;
  --danger-tint:   #FFEDE7;
  --success:       #2F6E4B;

  /* ----- Type families ----- */
  /* External Google Fonts blocked by router CSP. Stack lands on Georgia /
     system-ui — both ship everywhere and read as editorial / clean sans. */
  --f-display: 'Fraunces', Georgia, Cambria, 'Times New Roman', serif;
  --f-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, 'Helvetica Neue', sans-serif;

  /* ----- Radii ----- */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   22px;
  --r-pill: 999px;

  /* ----- Shadow / depth ----- */
  --sh-1: 0 1px 2px rgba(30, 38, 32, 0.06);
  --sh-2: 0 2px 4px rgba(30, 38, 32, 0.04), 0 8px 24px rgba(30, 38, 32, 0.06);
  --sh-3: 0 4px 8px rgba(30, 38, 32, 0.06), 0 16px 40px rgba(30, 38, 32, 0.10);
  --sh-inset: inset 0 0 0 1px var(--line);

  /* ----- Motion ----- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-1: 150ms;
  --dur-2: 220ms;
  --dur-3: 320ms;

  /* ----- Layout ----- */
  --content-max:    1180px;
  --content-narrow: 640px;
  --gutter:         clamp(20px, 5vw, 32px);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: var(--t-base);
  line-height: var(--lh-base);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: var(--accent); color: var(--bg); }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: var(--s-3) var(--s-5);
  border-radius: 0 0 var(--r-md) 0;
  font-size: var(--t-sm);
  font-weight: 500;
  z-index: 1000;
}
.skip-link:focus { left: 0; outline: 2px solid var(--accent); outline-offset: 2px; }

/* =====================================================================
   Layout primitives
   ===================================================================== */

.wrap        { max-width: var(--content-max);    margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: var(--content-narrow); margin: 0 auto; padding: 0 var(--gutter); }

.section {
  padding: var(--s-12) 0;
  position: relative;
}
.section.alt  { background: var(--bg-soft); }
.section.tight { padding: var(--s-9) 0; }
.section.deep { background: var(--bg-deep); }
@media (min-width: 768px) {
  .section { padding: var(--s-13) 0; }
  .section.tight { padding: var(--s-10) 0; }
}
@media (min-width: 1080px) {
  .section { padding: var(--s-14) 0; }
}

.eyebrow {
  display: inline-block;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--s-3);
}
.section-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 5.5vw, 44px);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-4);
  color: var(--ink);
}
.section-title em { font-style: italic; font-weight: 300; color: var(--accent); }
.section-lede {
  font-size: var(--t-lg);
  line-height: var(--lh-base);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
}

/* =====================================================================
   Hero
   ===================================================================== */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  isolation: isolate;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-tint {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 28, 24, 0.40) 0%, rgba(20, 28, 24, 0.92) 100%);
}
.hero.no-photo .hero-photo { display: none; }
.hero.no-photo .hero-tint {
  background:
    radial-gradient(ellipse at 25% 20%, #2E3D34 0%, #141C18 70%),
    linear-gradient(180deg, #1E2620 0%, #111813 100%);
}
.hero-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--s-7) var(--gutter) var(--s-12);
  position: relative;
}
@media (min-width: 768px) {
  .hero-inner { padding: var(--s-9) var(--gutter) var(--s-13); }
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-11);
}
@media (min-width: 768px) {
  .hero-top { margin-bottom: var(--s-13); }
}
.hero-logo {
  max-height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
}
.hero-logo-text {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--t-xl);
  letter-spacing: -0.01em;
  color: var(--bg);
}
.hero-platform {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 247, 241, 0.55);
}
.hero-platform a {
  color: inherit;
  border-bottom: 1px solid rgba(250, 247, 241, 0.3);
  padding-bottom: 1px;
}
.hero-platform a:hover { color: var(--accent); border-color: var(--accent); }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-5);
}
.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.hero h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--t-display);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 var(--s-5);
  color: var(--bg);
  max-width: 14ch;
}
.hero-tagline {
  font-family: var(--f-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 2.6vw, 24px);
  line-height: 1.35;
  color: var(--accent-soft);
  margin: 0 0 var(--s-6);
  max-width: 36ch;
}
.hero-about {
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: var(--lh-base);
  color: rgba(250, 247, 241, 0.82);
  margin: 0 0 var(--s-8);
  max-width: 54ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}
.hero-quote {
  margin-top: var(--s-9);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(250, 247, 241, 0.15);
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: var(--t-base);
  line-height: 1.45;
  color: rgba(250, 247, 241, 0.7);
  max-width: 52ch;
}

/* =====================================================================
   Buttons
   ===================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-6);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font: inherit;
  font-weight: 500;
  font-size: var(--t-base);
  letter-spacing: 0.005em;
  cursor: pointer;
  min-height: 52px;
  transition: background var(--dur-1) var(--ease),
              border-color var(--dur-1) var(--ease),
              color var(--dur-1) var(--ease),
              transform var(--dur-1) var(--ease),
              box-shadow var(--dur-1) var(--ease);
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 4px 12px rgba(180, 98, 42, 0.28);
}
.btn-primary:hover:not(:disabled) { background: var(--accent-deep); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(180, 98, 42, 0.35); }
.btn-primary:active:not(:disabled) { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }
.btn-ghost {
  background: transparent;
  color: var(--bg);
  border-color: rgba(250, 247, 241, 0.35);
}
.btn-ghost:hover { border-color: var(--accent-soft); color: var(--accent-soft); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-block { width: 100%; }
.btn-arrow::after { content: '→'; font-weight: 400; transition: transform var(--dur-1) var(--ease); }
.btn:hover .btn-arrow::after,
.btn-arrow:hover::after { transform: translateX(3px); }

/* =====================================================================
   Inactive notice
   ===================================================================== */

.notice {
  background: #FFF4DA;
  border: 1px solid #E6C772;
  color: #4A3700;
  padding: var(--s-5) var(--s-6);
  border-radius: var(--r-md);
  margin: var(--s-6) 0;
  font-size: var(--t-sm);
}
.notice strong { display: block; margin-bottom: var(--s-1); font-size: var(--t-base); }

/* =====================================================================
   Trip cards
   ===================================================================== */

.trips-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-top: var(--s-8);
}
@media (min-width: 720px) {
  .trips-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-6); }
}
@media (min-width: 1080px) {
  .trips-grid { grid-template-columns: repeat(3, 1fr); }
}

.trip-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
  transition: transform var(--dur-2) var(--ease),
              border-color var(--dur-2) var(--ease),
              box-shadow var(--dur-2) var(--ease);
  box-shadow: var(--sh-1);
  position: relative;
}
@media (hover: hover) {
  .trip-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: var(--sh-3);
  }
}
.trip-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.trip-card:active { transform: translateY(-1px); }

.trip-photo {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #2C3A33, #1E2620);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.trip-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-6);
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(180, 98, 42, 0.18) 0%, transparent 70%),
    linear-gradient(135deg, #2C3A33, #141C18);
}
.trip-photo-placeholder span {
  font-family: var(--f-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.15;
  color: rgba(250, 247, 241, 0.92);
}

.trip-body {
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--s-3);
}
.trip-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--t-xl);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.trip-desc {
  color: var(--ink-soft);
  font-size: var(--t-sm);
  line-height: var(--lh-base);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.trip-meta {
  list-style: none;
  padding: var(--s-4) 0 0;
  margin: auto 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-4);
  font-size: var(--t-xs);
  color: var(--ink-soft);
}
.trip-meta-item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  list-style: none;
  letter-spacing: 0.04em;
}
.trip-meta-item strong { font-weight: 600; color: var(--ink); }
.trip-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  margin-top: var(--s-3);
  color: var(--accent);
  font-weight: 600;
  font-size: var(--t-sm);
  letter-spacing: 0.005em;
}
.trip-cta::after {
  content: '→';
  font-weight: 400;
  transition: transform var(--dur-1) var(--ease);
}
.trip-card:hover .trip-cta::after { transform: translateX(4px); }

/* =====================================================================
   Booking layout
   ===================================================================== */

.book-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: start;
  margin-top: var(--s-8);
}
@media (min-width: 920px) {
  .book-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: var(--s-8);
  }
}

/* =====================================================================
   Calendar v2 — modern scheduling pattern (Calendly/Cal.com inspired)
   ===================================================================== */

.calendar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: var(--sh-1);
}
@media (min-width: 768px) {
  .calendar { padding: var(--s-6); }
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-5);
  gap: var(--s-3);
}
.cal-month {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--t-xl);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cal-nav {
  display: inline-flex;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  transition: background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
  padding: 0;
}
.cal-nav:hover:not(:disabled) { background: var(--accent-tint); border-color: var(--accent); color: var(--accent); }
.cal-nav:disabled { opacity: 0.35; cursor: not-allowed; }
.cal-nav-today {
  width: auto !important;
  padding: 0 var(--s-4) !important;
  font-size: var(--t-sm) !important;
  font-weight: 500;
}
.cal-nav-group { display: inline-flex; gap: var(--s-2); }

.cal-dow-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--s-1);
  margin-bottom: var(--s-2);
}
.cal-dow {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: var(--s-2) 0;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--s-1);
}
.cal-cell {
  aspect-ratio: 1 / 1;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  font: inherit;
  font-size: var(--t-base);
  font-weight: 500;
  color: var(--ink-mute);
  cursor: default;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px;
  min-height: 48px;
  transition: background var(--dur-1) var(--ease),
              border-color var(--dur-1) var(--ease),
              color var(--dur-1) var(--ease),
              transform var(--dur-1) var(--ease);
}
.cal-cell.empty { opacity: 0; pointer-events: none; }
.cal-cell.has-slots {
  background: var(--accent-tint);
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}
.cal-cell.has-slots:hover {
  background: var(--accent-tint-2);
  transform: scale(1.05);
}
.cal-cell.has-slots.selected {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(180, 98, 42, 0.35);
}
.cal-cell.today {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.cal-cell.today.has-slots { box-shadow: inset 0 0 0 1.5px var(--accent-deep); }
.cal-cell:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cal-cell .cal-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  margin-top: 3px;
  opacity: 0.7;
}
.cal-cell.has-slots.selected .cal-dot { background: var(--bg); opacity: 1; }

.cal-legend {
  display: flex;
  gap: var(--s-5);
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  font-size: var(--t-xs);
  color: var(--ink-soft);
  flex-wrap: wrap;
  letter-spacing: 0.02em;
}
.cal-legend-item { display: inline-flex; align-items: center; gap: var(--s-2); }
.cal-legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--accent-tint);
}
.cal-legend-swatch.selected { background: var(--accent); }

/* =====================================================================
   Slot picker
   ===================================================================== */

.slots-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: var(--sh-1);
}
.slots-panel-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--t-xl);
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-1);
  color: var(--ink);
}
.slots-panel-sub {
  font-size: var(--t-sm);
  color: var(--ink-faint);
  margin: 0 0 var(--s-5);
}
.slot-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  list-style: none;
  padding: 0;
  margin: 0;
}
.slot-btn {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-4) var(--s-5);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
  min-height: 60px;
  transition: background var(--dur-1) var(--ease),
              border-color var(--dur-1) var(--ease),
              transform var(--dur-1) var(--ease);
}
.slot-btn:hover {
  background: var(--accent-tint);
  border-color: var(--accent);
}
.slot-btn:active { transform: translateY(1px); }
.slot-btn.selected {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(180, 98, 42, 0.30);
}
.slot-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.slot-btn-time { font-weight: 600; font-size: var(--t-base); letter-spacing: -0.005em; }
.slot-btn-name { font-size: var(--t-sm); line-height: var(--lh-snug); color: var(--ink-soft); }
.slot-btn-price { font-weight: 600; font-size: var(--t-base); white-space: nowrap; }
.slot-btn.selected .slot-btn-name { color: rgba(250, 247, 241, 0.85); }

.slots-empty {
  font-size: var(--t-sm);
  color: var(--ink-faint);
  line-height: var(--lh-base);
  padding: var(--s-4) 0;
}
.slots-empty strong { color: var(--ink); display: block; margin-bottom: var(--s-1); font-weight: 600; }

.no-availability {
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-9) var(--s-6);
  text-align: center;
  color: var(--ink-soft);
  margin-top: var(--s-8);
}
.no-availability h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--t-xl);
  margin: 0 0 var(--s-3);
  color: var(--ink);
}
.no-availability a { color: var(--accent); font-weight: 600; }

/* =====================================================================
   Inquiry form
   ===================================================================== */

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  box-shadow: var(--sh-1);
  margin-top: var(--s-8);
}
@media (min-width: 768px) {
  .form-card { padding: var(--s-9); }
}
.form-card h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--t-2xl);
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-2);
  color: var(--ink);
}
.form-card-sub {
  font-size: var(--t-sm);
  color: var(--ink-faint);
  margin: 0 0 var(--s-7);
}

.selected-slot-card {
  background: var(--accent-tint);
  border: 1px solid var(--accent-tint-2);
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
  margin-bottom: var(--s-7);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-4);
}
.selected-slot-card.empty {
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  color: var(--ink-faint);
  font-size: var(--t-sm);
  text-align: center;
  display: block;
  padding: var(--s-4) var(--s-5);
}
.selected-slot-card .ss-trip {
  font-weight: 600;
  font-size: var(--t-base);
  color: var(--ink);
  margin-bottom: 2px;
}
.selected-slot-card .ss-when {
  font-size: var(--t-sm);
  color: var(--ink-soft);
}
.selected-slot-card .ss-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--t-base);
}
.selected-slot-card .ss-price {
  font-weight: 600;
  font-size: var(--t-base);
  color: var(--ink);
  white-space: nowrap;
}

.field { margin-bottom: var(--s-5); }
.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-bottom: var(--s-5);
}
@media (min-width: 560px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
.field-row > .field { margin-bottom: 0; }

.field label {
  display: block;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--s-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: var(--s-4) var(--s-4);
  border: 1.5px solid var(--line);
  background: var(--bg);
  border-radius: var(--r-md);
  font: inherit;
  font-size: var(--t-base); /* iOS zoom guard */
  color: var(--ink);
  min-height: 52px;
  transition: border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--card);
  box-shadow: 0 0 0 4px rgba(180, 98, 42, 0.15);
}
.field input.has-error,
.field select.has-error,
.field textarea.has-error {
  border-color: var(--danger);
  background: var(--danger-tint);
}
.field input.has-error:focus { box-shadow: 0 0 0 4px rgba(179, 52, 26, 0.15); }
.field textarea { min-height: 120px; resize: vertical; font-family: var(--f-sans); padding-top: var(--s-3); }
.field-error {
  display: block;
  margin-top: var(--s-2);
  color: var(--danger);
  font-size: var(--t-sm);
  line-height: var(--lh-snug);
}
.field-error[hidden] { display: none; }
.field-hint {
  display: block;
  margin-top: var(--s-2);
  color: var(--ink-faint);
  font-size: var(--t-sm);
  line-height: var(--lh-snug);
}

/* Honeypot — defense-in-depth in CSS too, but the HTML carries inline
   styles so it's invisible even if this CSS doesn't load. */
.hp {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.turnstile-row {
  margin: var(--s-7) 0 var(--s-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
}
.turnstile-row .turnstile-label {
  font-size: var(--t-xs);
  color: var(--ink-faint);
  text-align: center;
  letter-spacing: 0.02em;
}
.turnstile-mount { min-height: 65px; }

.form-error-banner {
  background: var(--danger-tint);
  border: 1px solid rgba(179, 52, 26, 0.3);
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
  color: #6F1F0A;
  font-size: var(--t-sm);
  line-height: var(--lh-base);
  margin-bottom: var(--s-5);
}
.form-error-banner[hidden] { display: none; }
.form-error-banner strong { font-weight: 600; }

.form-note {
  font-size: var(--t-xs);
  color: var(--ink-faint);
  text-align: center;
  margin: var(--s-4) 0 0;
  line-height: var(--lh-base);
  letter-spacing: 0.02em;
}

/* =====================================================================
   Sticky mobile CTA bar — appears when a slot is selected on small screens
   ===================================================================== */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--card);
  border-top: 1px solid var(--line);
  padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  gap: var(--s-3);
  z-index: 30;
  box-shadow: 0 -8px 24px rgba(30, 38, 32, 0.06);
}
.sticky-cta.show { display: flex; }
.sticky-cta-info {
  flex: 1;
  min-width: 0;
}
.sticky-cta-info .sc-trip {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-cta-info .sc-when {
  font-size: 12px;
  color: var(--ink-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-cta .btn {
  min-height: 48px;
  padding: var(--s-3) var(--s-5);
}
@media (min-width: 768px) { .sticky-cta { display: none !important; } }
body.has-sticky { padding-bottom: 88px; }
@media (min-width: 768px) { body.has-sticky { padding-bottom: 0; } }

/* =====================================================================
   Success card
   ===================================================================== */

.success-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-9);
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--sh-2);
}
.success-card .ok-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-5);
  font-size: 26px;
}
.success-card h1 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 36px);
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-4);
  color: var(--ink);
}
.success-card p {
  font-size: var(--t-base);
  line-height: var(--lh-base);
  color: var(--ink-soft);
  margin: 0 0 var(--s-4);
}
.success-card .record {
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: var(--s-5);
  margin: var(--s-6) 0;
  font-size: var(--t-sm);
  line-height: var(--lh-base);
}
.success-card .record dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: var(--s-3);
}
.success-card .record dt:first-child { margin-top: 0; }
.success-card .record dd { margin: var(--s-1) 0 0; color: var(--ink); font-weight: 500; }
.success-card .cancel-link {
  color: var(--ink-soft);
  text-decoration: underline;
  font-size: var(--t-sm);
}
.success-card .cancel-link:hover { color: var(--danger); }
.success-card .back-link {
  display: inline-block;
  margin-top: var(--s-6);
  color: var(--accent);
  font-weight: 600;
  font-size: var(--t-sm);
}
.success-card .back-link:hover { color: var(--accent-deep); }

/* =====================================================================
   Contact
   ===================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin-top: var(--s-7);
}
@media (min-width: 700px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  transition: border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.contact-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.contact-value {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  word-break: break-word;
  line-height: var(--lh-snug);
}
.contact-value a { color: inherit; }
.contact-value a:hover { color: var(--accent); }

/* =====================================================================
   Footer
   ===================================================================== */

.site-footer {
  background: var(--ink);
  color: rgba(250, 247, 241, 0.78);
  padding: var(--s-9) 0;
}
.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  align-items: center;
  text-align: center;
}
@media (min-width: 700px) {
  .site-footer .wrap {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-brand {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--t-lg);
  letter-spacing: -0.01em;
  color: var(--bg);
}
.footer-brand a { color: inherit; }
.footer-brand a:hover { color: var(--accent); }
.footer-tag {
  font-size: var(--t-sm);
  color: rgba(250, 247, 241, 0.6);
  letter-spacing: 0.02em;
}
.footer-tag a { color: inherit; border-bottom: 1px solid rgba(250, 247, 241, 0.25); padding-bottom: 1px; }
.footer-tag a:hover { color: var(--accent); border-color: var(--accent); }

/* =====================================================================
   Portfolio + 404
   ===================================================================== */

.portfolio-shell {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-13) var(--gutter);
}
.portfolio-card {
  max-width: 640px;
  text-align: left;
}
.portfolio-card .eyebrow { color: var(--accent); }
.portfolio-card h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 var(--s-5);
}
.portfolio-card p {
  font-size: var(--t-lg);
  line-height: var(--lh-base);
  color: var(--ink-soft);
  margin: 0 0 var(--s-4);
}
.portfolio-card a { color: var(--accent); font-weight: 600; }

/* =====================================================================
   Motion preferences + color scheme lock
   ===================================================================== */

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

:root { color-scheme: light; }
