/* ============================================================
   JOJO — The Experience Stylesheet
   Canine perception, 4 dedicated zones, 6 sensory installations,
   and 60-minute session architecture.
   Tokens only — see assets/tokens.css.
   ============================================================ */

/* ---- 01. Hero — The Sensory Architecture ----------------------------- */
.exp-hero,
.xp-hero {
  position: relative;
  background: #FFFFFF;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  padding: 0;
}

.exp-hero__container,
.exp-hero__inner,
.xp-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  height: clamp(560px, calc(100vh - var(--nav-h, 72px) - 36px), 630px);
  min-height: 560px;
  max-height: 640px;
  width: 100%;
  max-width: var(--wrap-wide, 1440px);
  margin: 0 auto;
  align-items: stretch;
}

.exp-hero__text,
.xp-hero__text {
  position: relative;
  z-index: 2;
  padding: var(--s-5, 24px) var(--s-7);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: #FFFFFF;
}

.exp-hero__kicker,
.xp-hero__kicker {
  font-family: var(--font-label);
  font-size: var(--t-spec);
  font-weight: 600;
  letter-spacing: var(--track-label, 0.14em);
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: var(--s-2);
  display: inline-block;
}

.exp-hero__h1,
.xp-hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 4.8vw, 60px);
  line-height: 0.96;
  letter-spacing: 0.02em;
  color: var(--pitch);
  margin: 0 0 var(--s-3);
}

.exp-hero__lead,
.xp-hero__lead {
  font-family: var(--font-body);
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 45ch;
  margin: 0 0 var(--s-5);
}

.exp-hero__actions,
.xp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}

.exp-hero__actions .cta,
.xp-hero__actions .cta {
  box-shadow: 0 4px 14px rgba(138, 90, 59, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.exp-hero__actions .cta:hover,
.xp-hero__actions .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(138, 90, 59, 0.38);
}

.exp-hero__actions .text-link,
.xp-hero__actions .text-link,
.xp-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-label);
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  min-height: 44px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.exp-hero__actions .text-link:hover,
.xp-hero__actions .text-link:hover,
.xp-hero__link:hover {
  color: var(--accent-deep, #6E3F1E);
  transform: translateY(1px);
}

.exp-hero__meta-strip,
.xp-hero__meta-strip {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
  width: 100%;
}

.exp-hero__meta-item,
.xp-hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.exp-hero__meta-label,
.xp-hero__meta-label {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}

.exp-hero__meta-val,
.xp-hero__meta-val {
  font-family: var(--font-body);
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--pitch);
}

/* Media Side with Seamless Gradient Fade */
.exp-hero__media,
.xp-hero__plate {
  position: relative;
  height: 100%;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}

.exp-hero__img,
.exp-hero__media img,
.xp-hero__plate img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  display: block;
}

.exp-hero__gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    #FFFFFF 0%,
    rgba(255, 255, 255, 0.75) 4%,
    rgba(255, 255, 255, 0.2) 12%,
    transparent 22%
  );
}

/* Responsive Mobile View: Reversed Order (Image on top, Information below) & Fixed Alignment */
@media (max-width: 900px) {
  .exp-hero__container,
  .exp-hero__inner,
  .xp-hero__inner {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: auto;
    max-height: none;
  }

  /* 1. Image on top */
  .exp-hero__media,
  .xp-hero__plate {
    order: 1;
    position: relative;
    width: 100%;
    height: clamp(300px, 44vh, 380px);
    min-height: 300px;
    overflow: hidden;
  }

  .exp-hero__img,
  .exp-hero__media img,
  .xp-hero__plate img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
  }

  /* Mobile gradient: Image fades smoothly into the white background below */
  .exp-hero__gradient {
    background: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 65%,
      rgba(255, 255, 255, 0.4) 80%,
      rgba(255, 255, 255, 0.85) 92%,
      #FFFFFF 100%
    );
  }

  /* 2. Information below it */
  .exp-hero__text,
  .xp-hero__text {
    order: 2;
    width: 100%;
    padding: var(--s-4) var(--s-5) var(--s-7) var(--s-5);
    box-sizing: border-box;
  }

  .exp-hero__h1,
  .xp-hero__h1 {
    font-size: clamp(38px, 9.5vw, 48px);
    line-height: 1.0;
    margin-bottom: var(--s-3);
  }

  .exp-hero__lead,
  .xp-hero__lead {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: var(--s-5);
  }

  .exp-hero__actions,
  .xp-hero__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-3);
    margin-bottom: var(--s-5);
  }

  .exp-hero__actions .cta,
  .xp-hero__actions .cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .exp-hero__actions .text-link,
  .xp-hero__actions .text-link,
  .xp-hero__link {
    justify-content: center;
    min-height: 38px;
  }

  .exp-hero__meta-strip,
  .xp-hero__meta-strip {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-4);
    padding-top: var(--s-4);
  }
}

/* ---- 02. Canine Perception Suite (Naturalist's Field Guide) ---------- */
.sensory-suite {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.sensory-essay {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  max-width: var(--wrap-standard);
  margin: 0 auto;
}

/* Primary Feature: Scent as the Canine Mind */
.sensory-lead-plate {
  padding: var(--s-7) var(--s-8);
  background: var(--paper-deep);
  border-radius: var(--r-3);
  border: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--s-7);
  align-items: center;
}

.sensory-lead-plate > * {
  min-width: 0;
  max-width: 100%;
}

.sensory-lead-plate__title {
  font-family: var(--font-display);
  font-size: var(--d-3);
  line-height: var(--lh-display);
  color: var(--pitch);
  margin: var(--s-2) 0 var(--s-4);
  text-transform: uppercase;
}

.sensory-lead-plate__prose {
  font-family: var(--font-body);
  font-size: var(--t-lead);
  line-height: var(--lh-body);
  color: var(--ink-muted);
}

.sensory-metrics-duo {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  background: var(--paper);
  padding: var(--s-6);
  border-radius: var(--r-3);
  border: 1px solid var(--rule);
}

.sensory-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sensory-metric:not(:last-child) {
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--rule);
}

.sensory-metric__num {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1;
  color: var(--accent);
}

.sensory-metric__label {
  font-family: var(--font-body);
  font-size: var(--t-small);
  color: var(--ink-muted);
  line-height: 1.4;
}

/* Sensory Lead Plate: Scent Feature Upgrade (The World Begins With A Sniff) */
.sensory-lead-plate--sniff {
  align-items: start;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--s-8);
  position: relative;
}

.sniff-credo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(138, 90, 59, 0.08);
  border-left: 3px solid var(--accent);
  padding: 10px 18px;
  border-radius: 0 var(--r-2) var(--r-2) 0;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
  text-transform: uppercase;
  margin: var(--s-4) 0;
}

.sniff-credo__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Scent Explorer */
.sniff-explorer {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-3);
  padding: var(--s-5);
  margin: var(--s-4) 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.sniff-explorer__header {
  margin-bottom: var(--s-3);
}

.sniff-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--s-3);
}

.sniff-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.sniff-chip svg {
  color: var(--ink-faint);
  transition: color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.sniff-chip:hover {
  background: rgba(138, 90, 59, 0.08);
  border-color: var(--accent);
  color: var(--accent-deep);
}

.sniff-chip:hover svg {
  color: var(--accent);
  transform: scale(1.1);
}

.sniff-chip.is-active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(138, 90, 59, 0.28);
}

.sniff-chip.is-active svg {
  color: var(--white);
}

.sniff-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.sniff-detail-box {
  background: rgba(138, 90, 59, 0.04);
  border: 1px dashed rgba(138, 90, 59, 0.28);
  border-radius: var(--r-2);
  padding: 14px 16px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sniff-detail-box.is-updating {
  opacity: 0.3;
  transform: translateY(2px);
}

.sniff-detail-title {
  display: block;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
  margin-bottom: 4px;
}

.sniff-detail-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0;
}

.sniff-closing-ethos {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  font-style: italic;
  margin: var(--s-4) 0;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
}

.sniff-action-bar {
  margin-top: var(--s-4);
}

.sniff-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 13px 26px;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(138, 90, 59, 0.25);
}

.sniff-cta-btn:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(62, 42, 31, 0.3);
}

.sniff-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.sniff-cta-btn:hover .sniff-arrow {
  transform: translateX(3px);
}

/* Visual Column */
.sniff-visual-col {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.sniff-photo-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-3);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.sniff-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand-dark);
}

.sniff-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sniff-photo-card:hover .sniff-photo {
  transform: scale(1.03);
}

.sniff-photo-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(28, 28, 28, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.sniff-badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  display: inline-block;
  animation: sniffPulse 2s infinite ease-in-out;
}

@keyframes sniffPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Secondary Feature: Canine Dichromatic Vision */
.vision-study {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--s-8);
  align-items: center;
  padding: var(--s-7) 0;
  border-top: 1px solid var(--rule);
}

.vision-study > * {
  min-width: 0;
  max-width: 100%;
}

.vision-study__title {
  font-family: var(--font-display);
  font-size: var(--d-3);
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  color: var(--pitch);
  margin: var(--s-2) 0 var(--s-3);
  text-transform: uppercase;
}

.vision-study__text {
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  color: var(--ink-muted);
}

/* Creative Canine Spectrum & Contrast Lens */
.vision-creative-lens {
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-3);
  padding: var(--s-5) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.vision-mode-switch {
  display: inline-flex;
  background: var(--paper-warm, #F3EEE7);
  padding: 3px;
  border-radius: var(--r-pill);
  gap: 2px;
  align-self: flex-start;
  border: 1px solid var(--rule);
}

.vision-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: none;
  background: transparent;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 32px;
}

.vision-toggle-btn.is-active {
  background: var(--pitch);
  color: var(--paper);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.vision-toggle-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.vision-toggle-dot--dog {
  background: #E0A96D;
  box-shadow: 0 0 0 2px #2A6F97;
}

.vision-toggle-dot--human {
  background: #E63946;
  box-shadow: 0 0 0 2px #2A9D8F;
}

/* Dual Spectrum Ribbons */
.vision-ribbons {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-block: 1px solid var(--rule);
}

.vision-ribbon-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vision-ribbon-label {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--ink-faint);
}

.vision-ribbon {
  height: 26px;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.vision-ribbon--dog {
  background: linear-gradient(90deg, #6C584C 0%, #A98467 22%, #DDA15E 45%, #BFC0B5 62%, #457B9D 82%, #1D3557 100%);
}

.vision-ribbon--human {
  background: linear-gradient(90deg, #E63946 0%, #F4A261 20%, #E9C46A 40%, #2A9D8F 62%, #457B9D 82%, #7209B7 100%);
}

.ribbon-marker {
  font-family: var(--font-label);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

/* Playground Equipment Contrast Discs */
.vision-gear-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}

.vision-gear-card {
  padding: var(--s-3) var(--s-2);
  border-radius: var(--r-2);
  background: var(--paper-warm, #F7F3ED);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.vision-gear-disc {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gear-svg {
  display: block;
  transition: all 0.35s ease;
}

.vision-gear-card--blue .vision-gear-disc {
  background: #1D5FA7;
  color: #FFFFFF;
}

.vision-gear-card--yellow .vision-gear-disc {
  background: #F2B705;
  color: #2D251E;
}

/* Canine Mode: Red item turns to muted tan/straw */
[data-mode="dog"] .vision-gear-card--red .vision-gear-disc {
  background: #766551;
  color: #D4D8CA;
  filter: saturate(0.3) brightness(0.9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

[data-mode="human"] .vision-gear-card--red .vision-gear-disc {
  background: #D32F2F;
  color: #FFFFFF;
  filter: none;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25);
}

.gear-title {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-strong);
  line-height: 1.25;
}

.gear-desc {
  font-family: var(--font-body);
  font-size: 10.5px;
  color: var(--ink-muted);
  line-height: 1.35;
}

.gear-status {
  font-family: var(--font-label);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 4px;
}

.gear-status--pop {
  background: rgba(29, 95, 167, 0.12);
  color: #1D5FA7;
}

.vision-gear-card--yellow .gear-status--pop {
  background: rgba(242, 183, 5, 0.18);
  color: #7A5B00;
}

[data-mode="dog"] .gear-status--camouflaged {
  background: rgba(118, 101, 81, 0.16);
  color: #5C4D3C;
}

[data-mode="human"] .gear-status--camouflaged {
  background: rgba(211, 47, 47, 0.12);
  color: #B71C1C;
}

.vision-sim-caption {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-muted);
  background: rgba(138, 90, 59, 0.06);
  padding: 10px 14px;
  border-radius: var(--r-2);
  border-left: 3px solid var(--cognac);
  min-height: 2.8em;
  display: flex;
  align-items: center;
}

/* Tactile Mechanoreceptor Strip */
.tactile-specimens {
  padding-top: var(--s-7);
  border-top: 1px solid var(--rule);
}

.tactile-specimens__header {
  margin-bottom: var(--s-5);
}

.tactile-specimens__title {
  font-family: var(--font-display);
  font-size: var(--d-3);
  color: var(--pitch);
  margin: var(--s-1) 0 var(--s-2);
  text-transform: uppercase;
}

.tactile-specimens__desc {
  font-family: var(--font-body);
  font-size: var(--t-body);
  color: var(--ink-muted);
  max-width: 60ch;
}

.specimen-ribbon {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-5);
}

.specimen-item {
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  border-radius: var(--r-2);
  padding: var(--s-4) var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.specimen-item:hover {
  border-color: rgba(138, 90, 59, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(28, 28, 28, 0.05);
}

.specimen-item__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-2);
}

.specimen-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--rule);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cognac);
  flex-shrink: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.specimen-item:hover .specimen-item__icon {
  border-color: var(--cognac);
  background: var(--sand);
  color: var(--accent-deep);
  transform: scale(1.05);
}

.specimen-item__svg {
  width: 18px;
  height: 18px;
  display: block;
}

.specimen-item__name {
  font-family: var(--font-label);
  font-size: var(--t-spec);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pitch);
  line-height: 1.25;
}

.specimen-item__sensation {
  font-family: var(--font-body);
  font-size: var(--t-caption, 12px);
  color: var(--ink-muted);
  line-height: 1.4;
}

/* Sound & Water Field Notes */
.field-notes-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  padding-top: var(--s-7);
  border-top: 1px solid var(--rule);
}

.field-notes-duo > * {
  min-width: 0;
  max-width: 100%;
}

.field-note {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.field-note__title {
  font-family: var(--font-display);
  font-size: var(--d-3);
  color: var(--pitch);
  margin: 0;
  text-transform: uppercase;
}

.field-note__prose {
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  color: var(--ink-muted);
  margin: 0;
}

.field-note__callout {
  padding: var(--s-3) var(--s-4);
  background: var(--paper-deep);
  border-left: 3px solid var(--sage);
  font-family: var(--font-body);
  font-size: var(--t-small);
  color: var(--pitch);
  line-height: 1.4;
}

/* ---- 03. Spatial Architecture & The 4 Zones -------------------------- */
.zones-section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
  background: var(--paper-deep);
  border-bottom: 1px solid var(--rule);
}

/* Master Architectural Plan Exhibition Plate */
.master-plate {
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-3);
  overflow: hidden;
  margin-top: var(--s-7);
  margin-bottom: var(--s-9);
}

.master-plate__header {
  padding: var(--s-5) var(--s-6);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.master-plate__header-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.master-plate__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  text-transform: uppercase;
  color: var(--pitch);
  margin: 0;
}

.master-plate__sub {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-muted);
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.master-plate__meta {
  font-family: var(--font-body);
  font-size: var(--t-caption, 12px);
  color: var(--ink-faint);
}

.master-plate__media {
  position: relative;
  background: #FDFBF7;
}

.master-plate__media img {
  width: 100%;
  height: auto;
  display: block;
}

.master-plate__footer {
  padding: var(--s-3) var(--s-6);
  background: var(--paper);
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-2);
  font-family: var(--font-label);
  font-size: var(--t-spec);
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

/* Asymmetric Exhibition Plates for the 4 Zones */
.exhibition-plates {
  display: flex;
  flex-direction: column;
  gap: var(--s-9);
}

/* Plate I: Wide Panoramic Foraging Garden */
.plate-wide {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--s-8);
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-3);
  padding: var(--s-6);
}

.plate-wide > * {
  min-width: 0;
  max-width: 100%;
}

.plate-media-frame {
  position: relative;
  border-radius: var(--r-3);
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
}

.plate-media-frame .hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.plate-wide:hover .hover-video,
.duo-card:hover .hover-video,
.plate-vignette:hover .hover-video {
  opacity: 1;
}

.plate-media-frame img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.plate-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.plate-eyebrow {
  font-family: var(--font-label);
  font-size: var(--t-spec);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-2);
}

.plate-h3 {
  font-family: var(--font-display);
  font-size: var(--d-3);
  line-height: var(--lh-display);
  color: var(--pitch);
  margin: 0 0 var(--s-3);
  text-transform: uppercase;
}

.plate-prose {
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  color: var(--ink-muted);
  margin: 0 0 var(--s-5);
}

.plate-specs-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  width: 100%;
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
}

.plate-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plate-spec-item__k {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.plate-spec-item__v {
  font-family: var(--font-body);
  font-size: var(--t-small);
  color: var(--pitch);
  line-height: 1.4;
}

/* Plates II & III: Asymmetric Duo Pairing */
.plates-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
}

.plates-duo > * {
  min-width: 0;
  max-width: 100%;
}

.duo-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-3);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.duo-card .plate-media-frame img {
  aspect-ratio: 4 / 3;
}

.duo-card .plate-h3 {
  font-size: var(--d-4);
  text-transform: uppercase;
}

/* Plate IV: Care & Recovery Closing Vignette */
.plate-vignette {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-3);
  padding: var(--s-7);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--s-8);
  align-items: center;
}

.plate-vignette > * {
  min-width: 0;
  max-width: 100%;
}

/* ---- 04. The 6 Installations ----------------------------------------- */
.xp-senses {
  background: var(--paper);
}

.xp-group {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-8);
  margin-top: var(--s-8);
}
.xp-group + .xp-group {
  border-top: 1px solid var(--rule-strong);
  margin-top: var(--space-section-sm);
  padding-top: var(--space-section-sm);
}
.xp-group__label {
  grid-column: span 3;
}
.xp-group__title {
  font-size: var(--d-hero-sub);
  margin-bottom: var(--s-3);
}
.xp-group__desc {
  color: var(--ink-muted);
  font-size: var(--t-body);
  max-width: 32ch;
}

@media (min-width: 960px) {
  .xp-group__label {
    position: sticky;
    top: calc(var(--nav-h) + var(--s-5));
    align-self: start;
  }
}

.xp-group__items {
  grid-column: span 9;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-7) var(--s-6);
  align-content: start;
}

.xp-item__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-2);
  width: 100%;
}
.xp-item img,
.xp-item__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-2);
  display: block;
  transition: transform 0.3s ease;
}
.xp-item--wide img,
.xp-item--wide .xp-item__media img {
  aspect-ratio: 16 / 9;
}
.xp-item:hover .xp-item__media img,
.xp-item:hover .xp-item__media .hover-video {
  transform: scale(1.03);
}
.xp-item__media .hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-2);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.3s ease;
  pointer-events: none;
}
.xp-item:hover .xp-item__media .hover-video {
  opacity: 1;
}
.xp-item__head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-block: var(--s-4) var(--s-2);
}
.xp-item__num {
  width: var(--c-9);
  height: var(--c-9);
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  font-size: var(--t-caption);
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
}
.xp-item h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: var(--track-display);
  text-transform: uppercase;
  color: var(--pitch);
  font-size: var(--d-4);
}
.xp-item__body {
  color: var(--ink-muted);
  font-size: var(--t-body);
  max-width: 46ch;
  margin-bottom: var(--s-2);
}

@media (max-width: 959.98px) {
  .xp-group {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }
  .xp-group__label {
    grid-column: auto;
  }
  .xp-group__items {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .xp-item img,
  .xp-item--wide img {
    aspect-ratio: 4 / 3;
  }
}

/* ---- 05. Check Available Slots & Before You Book --------------------- */
.xp-session {
  background: var(--paper-deep);
  padding: var(--s-8) 0;
}

.slots-header {
  margin-bottom: var(--s-6);
}

.slots-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 8px 16px;
  border-radius: 999px;
  margin-top: var(--s-3);
  flex-wrap: wrap;
}

.slots-banner-interactive {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-top: var(--s-3);
}

.slots-date-tabs {
  display: inline-flex;
  gap: 8px;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  padding: 6px;
  border-radius: var(--r-2);
  width: fit-content;
}

.slots-date-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 18px;
  border-radius: var(--r-1);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  text-align: left;
}

.slots-date-tab:hover {
  background: rgba(138, 90, 59, 0.08);
}

.slots-date-tab.is-active {
  background: var(--pitch);
  color: var(--paper);
  border-color: var(--pitch);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.date-tab-day {
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: inherit;
}

.date-tab-meta {
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.slots-date-tab.is-active .date-tab-meta {
  color: rgba(255, 252, 250, 0.7);
}

.slots-cadence {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-muted);
}

.slots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-5);
}

.slots-group {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-3);
  padding: var(--s-5);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.slots-group__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--rule);
}

.slots-group__icon {
  color: var(--accent);
}

.slots-group__title {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pitch);
  margin: 0;
}

.slots-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.slot-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  border-radius: var(--r-2);
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 48px;
}

.slot-pill--interactive {
  cursor: pointer;
}

.slot-pill--interactive:hover,
.slot-pill--interactive:focus-visible {
  border-color: var(--accent);
  background: var(--paper);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(138, 90, 59, 0.12);
  outline: none;
}

.slot-pill--disabled {
  opacity: 0.65;
  cursor: not-allowed;
  background: rgba(0, 0, 0, 0.02);
}

.slot-pill__primary {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slot-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2E8540;
  flex-shrink: 0;
}

.slot-pill__dot--full {
  background: #A0988A;
}

.slot-pill__dot--blocked {
  background: var(--accent);
}

.slot-pill__time-text {
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 700;
  color: var(--pitch);
}

.slot-pill__badge {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: var(--r-1);
  white-space: nowrap;
}

.slot-badge--available {
  background: rgba(46, 133, 64, 0.12);
  color: #1b5e20;
  border: 1px solid rgba(46, 133, 64, 0.25);
}

.slot-badge--limited {
  background: rgba(138, 90, 59, 0.14);
  color: var(--accent-deep);
  border: 1px solid rgba(138, 90, 59, 0.3);
}

.slot-badge--full {
  background: rgba(0, 0, 0, 0.08);
  color: var(--ink-muted);
  border: 1px solid var(--rule);
}

.slot-badge--blocked {
  background: rgba(138, 90, 59, 0.12);
  color: var(--accent);
  border: 1px dashed var(--accent);
}

.slots-reset-callout {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(138, 90, 59, 0.08);
  border: 1px dashed rgba(138, 90, 59, 0.35);
  border-radius: var(--r-2);
  padding: 14px 20px;
}

.slots-reset-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.slots-reset-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  margin: 0;
}

.slots-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-4);
  padding: var(--s-4) 0 var(--s-8) 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--s-8);
}

.slots-meta-text {
  font-family: var(--font-label);
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  margin: 0;
}

.slots-cta-btn {
  padding: 13px 30px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Before You Book */
.byb-section {
  margin-top: var(--s-6);
}

.byb-title {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-top: var(--s-1);
}

.byb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
  margin-top: var(--s-6);
}

.byb-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-3);
  padding: var(--s-6);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.byb-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--s-3);
}

.byb-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.byb-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pitch);
  margin: 0;
}

.byb-card__intro {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: var(--s-3);
}

.byb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.byb-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

.byb-list li svg {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.byb-list--spaced {
  margin-top: var(--s-2);
}

@media (max-width: 768px) {
  .slots-grid,
  .byb-grid {
    grid-template-columns: 1fr;
  }

  .slots-list {
    grid-template-columns: 1fr;
  }

  .slots-meta-row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .slots-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---- Responsive Breakpoints & Polish --------------------------------- */
@media (max-width: 1024px) {
  .sensory-lead-plate {
    grid-template-columns: 1fr;
  }

  .sensory-lead-plate--sniff {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }

  .vision-study {
    grid-template-columns: 1fr;
  }

  .specimen-ribbon {
    grid-template-columns: repeat(3, 1fr);
  }

  .field-notes-duo {
    grid-template-columns: 1fr;
  }

  .plate-wide {
    grid-template-columns: 1fr;
  }

  .plates-duo {
    grid-template-columns: 1fr;
  }

  .plate-vignette {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sensory-lead-plate {
    padding: var(--s-5);
  }

  .sensory-lead-plate--sniff {
    padding: var(--s-5) var(--s-4);
  }

  .sniff-chips-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .sniff-chip {
    justify-content: center;
    padding: 9px 10px;
    font-size: 12px;
  }

  .sniff-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .specimen-ribbon {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-3);
  }

  .specimen-item__header {
    flex-direction: row;
    align-items: center;
    gap: var(--s-3);
  }

  .plate-wide,
  .duo-card,
  .plate-vignette {
    padding: var(--s-5);
  }
}

@media (max-width: 480px) {
  .specimen-ribbon {
    grid-template-columns: 1fr;
    gap: var(--s-3);
  }

  .specimen-item {
    padding: var(--s-3) var(--s-4);
    gap: 6px;
  }

  .specimen-item__header {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .specimen-item__icon {
    width: 36px;
    height: 36px;
  }

  .specimen-item__name {
    font-size: 12px;
  }

  .specimen-item__sensation {
    font-size: 13px;
    line-height: 1.42;
  }

  .vision-preview-bar {
    height: 48px;
  }
}

/* Index jumps land below the sticky nav */
.xp-item { scroll-margin-top: calc(var(--nav-h) + var(--s-5)); }
.sensory-suite, .zones-section, .xp-senses, .xp-session {
  scroll-margin-top: var(--nav-h);
}

/* Text links touch floor */
.xp-hero .text-link,
.xp-session .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
