/* motion.css — interactive/animation layer for vailcowboy.com
   Loaded AFTER base.css and style.css to layer on refined interactions.
*/

/* Missing spacing tokens (base.css only defines 1,2,3,4,6,8,12,16,20,24,32) */
:root {
  --space-5: 1.25rem;
  --space-7: 1.75rem;
  --space-9: 2.5rem;
  --space-10: 2.75rem;
  --space-11: 3rem;
}

/* ============================================================
   1. GLASS NAV — starts transparent over hero, morphs on scroll
   ============================================================ */
.nav {
  background: linear-gradient(180deg, rgba(30,26,22,0.35) 0%, rgba(30,26,22,0) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent !important;
  transition: background 320ms ease, backdrop-filter 320ms ease, border-color 320ms ease, padding 320ms ease;
}
.nav.is-scrolled {
  background: rgba(250, 247, 239, 0.82);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  border-bottom: 1px solid var(--line-soft) !important;
}

/* When over hero, links / logo are ivory */
.nav:not(.is-scrolled) .nav-link { color: rgba(245,241,232,0.85); }
.nav:not(.is-scrolled) .nav-link:hover { color: var(--ivory); }
.nav:not(.is-scrolled) .nav-cta {
  border-color: rgba(245,241,232,0.7);
  color: var(--ivory);
  background: rgba(30,26,22,0.15);
}
.nav:not(.is-scrolled) .nav-cta:hover {
  background: var(--ivory);
  color: var(--ink);
}
.nav:not(.is-scrolled) .nav-logo-img {
  filter: brightness(0) invert(1) opacity(0.94);
}
.nav:not(.is-scrolled) .nav-toggle {
  color: var(--ivory);
  filter: invert(1) brightness(1.2);
}

/* Underline hover on nav links */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 380ms cubic-bezier(.2,.7,.2,1);
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ============================================================
   2. HERO — parallax, ken burns, animated title
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  will-change: transform;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: kenburns 18s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 26, 22, 0.55) 0%,
    rgba(30, 26, 22, 0.35) 45%,
    rgba(30, 26, 22, 0.75) 100%
  );
  z-index: 1;
}
@keyframes kenburns {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(-1.5%, -0.5%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: heroReveal 900ms cubic-bezier(.16,.9,.2,1) forwards;
}
@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}
.hero-title.is-animated em .hero-word { color: inherit; }

/* Scroll cue pinned to the right rail so it never sits under the CTA row */
.hero-scroll-cue {
  position: absolute;
  right: var(--space-6);
  bottom: var(--space-6);
  color: rgba(245,241,232,0.7);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  pointer-events: none;
  animation: heroCueFade 900ms ease 1400ms both;
}
.hero-scroll-cue-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, rgba(245,241,232,0) 0%, rgba(245,241,232,0.9) 100%);
  animation: scrollLine 2.6s ease-in-out infinite;
  transform-origin: top;
}
@keyframes heroCueFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
/* Hide the cue on narrow viewports where the CTA row can crowd it */
@media (max-width: 700px) {
  .hero-scroll-cue { display: none; }
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  40%,60% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   3. REVEAL ON SCROLL
   ============================================================ */
.reveal,
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 900ms cubic-bezier(.16,.9,.2,1), transform 900ms cubic-bezier(.16,.9,.2,1);
  will-change: opacity, transform;
}
/* Links/buttons stay clickable even during the reveal animation so the first click always lands */
[data-reveal] a,
a[data-reveal],
button[data-reveal] {
  pointer-events: auto;
}
.reveal.is-visible,
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="left"].is-visible { transform: none; }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="right"].is-visible { transform: none; }
[data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal-delay="3"] { transition-delay: 240ms; }
[data-reveal-delay="4"] { transition-delay: 320ms; }
[data-reveal-delay="5"] { transition-delay: 400ms; }
[data-reveal-delay="6"] { transition-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   4. STATS ROW / COUNTERS
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding: var(--space-10) 0;
}
.stat {
  text-align: left;
  border-left: 1px solid var(--line-soft);
  padding-left: var(--space-4);
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.stat-num em {
  font-style: italic;
  color: var(--rust);
  font-weight: 400;
}
.stat-label {
  display: block;
  margin-top: var(--space-2);
  color: var(--taupe);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .stats-row { grid-template-columns: repeat(2,1fr); gap: var(--space-4); }
}

/* ============================================================
   5. MARQUEE — infinite scroll ticker
   ============================================================ */
.marquee {
  overflow: hidden;
  position: relative;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--paper) 0%, rgba(250,247,239,0) 100%); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--paper) 0%, rgba(250,247,239,0) 100%); }
.marquee-inner {
  display: inline-flex;
  gap: var(--space-8);
  align-items: center;
  white-space: nowrap;
  animation: marqueeSlide 42s linear infinite;
}
.marquee:hover .marquee-inner { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--taupe);
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
}
.marquee-item::after {
  content: "◆";
  color: var(--rust);
  font-style: normal;
  font-size: 0.8em;
}
@keyframes marqueeSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-inner { animation: none; }
}

/* ============================================================
   6. CATALOG CARDS — hover lift, tilt, price slide
   ============================================================ */
.catalog-grid, .cat-grid, .grid-catalog {
  display: grid;
  gap: var(--space-6);
}
.catalog-card,
.piece-card {
  cursor: pointer;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1), box-shadow 500ms;
}
.catalog-card:hover,
.piece-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(30,26,22,0.35);
}
.catalog-card .card-media,
.piece-card .piece-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.catalog-card .card-media img,
.piece-card .piece-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 900ms cubic-bezier(.16,.9,.2,1), filter 700ms ease;
}
.catalog-card:hover .card-media img,
.piece-card:hover .piece-media img {
  transform: scale(1.02);
  filter: saturate(1.05);
}
.card-hover-cue {
  position: absolute;
  right: var(--space-3);
  bottom: var(--space-3);
  background: var(--ink);
  color: var(--ivory);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 380ms, transform 380ms;
  pointer-events: none;
  z-index: 2;
}
.catalog-card:hover .card-hover-cue,
.piece-card:hover .card-hover-cue { opacity: 1; transform: translateY(0); }

.is-hidden { display: none !important; }

/* ============================================================
   7. LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}
.lightbox.is-open { display: flex; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 26, 22, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 300ms ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-frame {
  position: relative;
  z-index: 2;
  background: var(--paper);
  max-width: 1080px;
  width: 100%;
  max-height: 90vh;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.5);
  animation: lightboxIn 500ms cubic-bezier(.2,.7,.2,1);
}
@keyframes lightboxIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.lightbox-media {
  background: var(--cream);
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.lightbox-body {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  overflow-y: auto;
}
.lightbox-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
}
.lightbox-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--ink);
  line-height: 1.05;
  margin: 0;
}
.lightbox-desc {
  color: var(--taupe);
  line-height: 1.7;
}
.lightbox-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-top: auto;
}
.lightbox-meta span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 4px;
}
.lightbox-meta strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  font-weight: 400;
}
.lightbox-cta {
  margin-top: var(--space-2);
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 3;
  background: rgba(30,26,22,0.9);
  color: var(--ivory);
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: transform 200ms;
}
.lightbox-close:hover { transform: scale(1.08) rotate(90deg); }

/* Multi-image gallery: nav arrows, dots, thumbnails */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(30,26,22,0.55);
  color: var(--ivory);
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 2px;
  backdrop-filter: blur(6px);
  transition: background 200ms, transform 200ms;
}
.lightbox-nav:hover { background: rgba(30,26,22,0.85); transform: translateY(-50%) scale(1.06); }
.lightbox-nav--prev { left: var(--space-3); }
.lightbox-nav--next { right: var(--space-3); }
.lightbox-nav[hidden] { display: none; }
.lightbox-dots {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.lightbox-dots[hidden] { display: none; }
.lightbox-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background 200ms, transform 200ms;
}
.lightbox-dot.is-active { background: var(--ivory); transform: scale(1.3); }
.lightbox-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 var(--space-2);
  scrollbar-width: thin;
  flex-shrink: 0;
}
.lightbox-thumbs[hidden] { display: none; }
.lightbox-thumb {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  min-height: 68px;
  border: 1.5px solid transparent;
  border-radius: 3px;
  overflow: hidden;
  padding: 0;
  background: var(--cream);
  cursor: pointer;
  transition: border-color 200ms, transform 200ms;
}
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox-thumb:hover { transform: translateY(-1px); }
.lightbox-thumb.is-active { border-color: var(--ink); }

@media (max-width: 780px) {
  .lightbox-frame {
    grid-template-columns: 1fr;
    grid-template-rows: 45vh auto;
    max-height: 94vh;
  }
  .lightbox-media {
    aspect-ratio: auto;
    height: 45vh;
    min-height: 0;
  }
  .lightbox-media img { height: 100%; }
  .lightbox-body { padding: var(--space-5); min-height: 0; }
  .lightbox-nav { width: 38px; height: 38px; font-size: 24px; }
  .lightbox-thumb { width: 64px; height: 64px; min-height: 64px; }
}

/* ============================================================
   8. FILTER CHIPS with live counts
   ============================================================ */
.filter-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: var(--space-6);
}
.chip {
  border: 1px solid var(--line);
  background: transparent;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 260ms ease;
  font-family: var(--font-body);
}
.chip:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--ivory);
}
.chip.is-active {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}
.chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 100px;
  font-size: 11px;
  background: rgba(245,241,232,0.14);
  color: currentColor;
}
.chip:not(.is-active):not(:hover) .chip-count {
  background: var(--cream);
  color: var(--taupe);
}

/* ============================================================
   9. MAGNETIC BTN + CTA POLISH
   ============================================================ */
.btn { transition: background 260ms, color 260ms, transform 400ms cubic-bezier(.2,.7,.2,1), box-shadow 400ms; }
.btn-magnetic { will-change: transform; }
.btn::after { transition: width 400ms cubic-bezier(.2,.7,.2,1); }
.btn:hover { box-shadow: 0 12px 24px -12px rgba(30,26,22,0.4); }

/* Arrow slide for links */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 260ms;
}
.link-arrow::after {
  content: "→";
  transition: transform 280ms cubic-bezier(.2,.7,.2,1);
}
.link-arrow:hover { color: var(--rust); }
.link-arrow:hover::after { transform: translateX(6px); }

/* ============================================================
   10. TABS
   ============================================================ */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--space-5);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
}
.tabs::-webkit-scrollbar { display: none; }
.tab, .tab-btn {
  padding: var(--space-3) var(--space-4);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
  cursor: pointer;
  transition: color 240ms, border-color 240ms;
  font-family: var(--font-body);
  margin-bottom: -1px;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .tab, .tab-btn { padding: var(--space-3) var(--space-3); font-size: 11px; letter-spacing: 0.12em; }
}
.tab:hover, .tab-btn:hover { color: var(--ink); }
.tab.is-active, .tab-btn.is-active {
  color: var(--ink);
  border-bottom-color: var(--rust);
}
.tab-panels {
  padding: var(--space-4) 0 var(--space-6);
  color: var(--ink-soft);
  font-size: var(--text-base);
  line-height: 1.6;
  min-height: 3.2em;
}
.tab-panel { display: none; animation: fadeInUp 500ms cubic-bezier(.16,.9,.2,1); }
.tab-panel.is-active { display: block; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   11. FABRIC INTERACTIVE SWATCHES
   ============================================================ */
.swatch-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .swatch-wall { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
.swatch {
  aspect-ratio: 1;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1);
  overflow: hidden;
}
.swatch::after {
  content: attr(data-name);
  position: absolute;
  left: 8px; right: 8px; bottom: 8px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 260ms, transform 260ms;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.swatch:hover {
  transform: scale(1.05);
  z-index: 2;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.35);
}
.swatch:hover::after { opacity: 1; transform: translateY(0); }

/* ============================================================
   12. TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--ivory);
  padding: 14px 22px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 2000;
  opacity: 0;
  transition: opacity 400ms, transform 400ms cubic-bezier(.16,.9,.2,1);
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.4);
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============================================================
   13. INTERACTIVE CALENDAR BOOKING
   ============================================================ */
.booking { display: block; }

.cal {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: var(--space-5);
  margin: var(--space-4) 0 var(--space-6);
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}
.cal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
}
.cal-nav {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  transition: all 220ms;
}
.cal-nav:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}
.cal-weekdays span {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taupe);
  text-align: center;
  padding: 6px 0;
  font-family: var(--font-body);
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  transition: all 200ms;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}
.cal-day.is-blank { pointer-events: none; }
.cal-day.is-disabled { color: var(--line); cursor: not-allowed; }
.cal-day.is-today { border-color: var(--line); }
.cal-day:hover:not(.is-disabled):not(.is-selected):not(.is-blank) { background: var(--cream); }
.cal-day.is-selected { background: var(--ink); color: var(--ivory); }

.booking-slots-wrap { margin-bottom: var(--space-6); }
.slots-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-3);
  font-family: var(--font-body);
}
.slots-label > span:first-child {
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.slots-tz {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
}

.booking-slots, .slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  min-height: 44px;
}
@media (max-width: 640px) {
  .booking-slots, .slots { grid-template-columns: repeat(2, 1fr); }
}
.slot {
  padding: 12px 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  font-size: 13px;
  color: var(--ink);
  border-radius: 3px;
  transition: all 220ms;
  font-family: var(--font-body);
}
.slot:hover:not(.is-disabled) { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.slot.is-active, .slot.is-selected { background: var(--rust); color: var(--ivory); border-color: var(--rust); }
.slot.is-disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.form-grid > .form-field { margin-bottom: 0; }
.form-grid > .form-field:first-child { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ============================================================
   14. SECTION HEADERS — smaller gap, more web-like
   ============================================================ */
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: var(--space-3);
  display: inline-block;
  font-family: var(--font-body);
}

/* ============================================================
   15. Body improvements — text selection, focus, smooth scroll
   ============================================================ */
html { scroll-behavior: smooth; }
::selection { background: var(--rust); color: var(--ivory); }
:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
  border-radius: 2px;
}
img[loading="lazy"] { background: var(--cream); }
