/* Last Resort · Alpine explore — sketch-2026-09-30-v3 (map shell + deck panels) */
/* Last Resort · Alpine explore — DaleDeck tone */

/* Local OFL fonts (vendored under assets/fonts/) */
@font-face {
  font-family: "Lobster";
  src: url("assets/fonts/Lobster-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/BarlowCondensed-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Default = Yellow (Ryan morning sketch). Toggle Sage via [data-theme="sage"]. */
:root,
html[data-theme="yellow"] {
  --cream: #f5d400;
  --cream-deep: #e6c400;
  --page-bg: #f5d400;
  --chrome-bg: linear-gradient(180deg, #f7db1a 70%, rgba(245, 212, 0, 0.94));
  --pale-green: #f0e28a;
  --pale-green-mid: #e6d45c;
  --charcoal: #1a1a1a;
  --dark-green: #141414;
  --ink-muted: #3a3a32;
  --title-color: #ffffff;
  --title-shadow: 4px 4px 0 #000, 7px 7px 0 #000;
  --operating: #2f6b3a;
  --operating-soft: #c8dccb;
  --proposed: #c4a35a;
  --proposed-soft: #ead9a8;
  --future: #6b7368;
  --future-soft: #d4d7d1;
  --conceptual: #5a6e7a;
  --conceptual-soft: #cdd6db;
  --gold: #b8954a;
  --panel-bg: #faf6e8;
  --panel-inner: #f3efe0;
  --shadow: 0 12px 40px rgba(30, 42, 31, 0.14);
  --shadow-pin: 0 4px 14px rgba(30, 42, 31, 0.28);
  --radius: 14px;
  --font-serif: "Libre Baskerville", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Helvetica Neue", Helvetica, Arial, "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-script: "Lobster", "Segoe Script", "Brush Script MT", cursive;
  --font-display: "Barlow Condensed", "Helvetica Neue", Helvetica, Arial Narrow, sans-serif;
  --font-title: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --focus: 0 0 0 3px rgba(196, 163, 90, 0.55);
  --map-scroll-restore: 0;
  --arm-bg: rgba(20, 20, 20, 0.88);
  --arm-color: #f6e56b;
  --lit-fill: rgba(90, 110, 122, 0.18);
  --lit-border: rgba(90, 110, 122, 0.55);
}

html[data-theme="sage"] {
  --cream: #bcd4c8;
  --cream-deep: #aec8bc;
  --page-bg: #bcd4c8;
  --chrome-bg: linear-gradient(180deg, #c5d9ce 70%, rgba(188, 212, 200, 0.92));
  --pale-green: #cfe0d7;
  --pale-green-mid: #b5cbbf;
  --charcoal: #2a3329;
  --dark-green: #1e2a1f;
  --ink-muted: #5a6558;
  --title-color: #ffffff;
  --title-shadow: 4px 4px 0 #000, 7px 7px 0 #000;
  --operating: #3d6b45;
  --operating-soft: #c8dccb;
  --proposed: #c4a35a;
  --proposed-soft: #ead9a8;
  --future: #6b7368;
  --future-soft: #d4d7d1;
  --conceptual: #5a6e7a;
  --conceptual-soft: #cdd6db;
  --gold: #b8954a;
  --panel-bg: #f7f3ea;
  --panel-inner: #eef3ee;
  --arm-bg: rgba(30, 42, 31, 0.9);
  --arm-color: #bcd4c8;
  --lit-fill: rgba(90, 110, 122, 0.2);
  --lit-border: rgba(90, 110, 122, 0.6);
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--charcoal);
  background: var(--page-bg, var(--cream));
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease;
}

body.panel-open {
  overflow: hidden;
}

h1, h2, h3, .serif {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--dark-green);
}

a {
  color: var(--operating);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--dark-green);
  color: var(--cream);
  text-decoration: none;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* ——— Chrome ——— */
.app-chrome {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.25rem 0.85rem;
  background: var(--chrome-bg);
  border-bottom: 1px solid rgba(42, 51, 41, 0.08);
  backdrop-filter: blur(8px);
}

.chrome-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.brand-block {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.site-title {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.3vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--title-color);
  text-shadow: var(--title-shadow);
}

.site-subtitle {
  margin: 0.15rem 0 0;
  font-size: 1rem;
  color: var(--ink-muted);
}

.invitation {
  margin: 0;
  max-width: 22rem;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.35;
  color: var(--dark-green);
  text-align: right;
}

.secondary-entry {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(61, 107, 69, 0.35);
  border-radius: 999px;
  background: var(--pale-green);
  color: var(--dark-green);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.secondary-entry:hover {
  background: var(--operating-soft);
  border-color: var(--operating);
}

.chrome-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.legend-swatch {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-swatch.operating { background: var(--operating); }
.legend-swatch.proposed {
  background: transparent;
  border: 2px dashed var(--proposed);
  border-radius: 3px;
  width: 0.75rem;
  height: 0.75rem;
}
.legend-swatch.future { background: var(--future); }
.legend-swatch.conceptual {
  background: var(--conceptual-soft);
  border: 2px solid var(--conceptual);
  border-radius: 3px;
}

/* ——— Map stage ——— */
.main {
  padding: 0.5rem 1rem 1rem;
}

.map-stage {
  position: relative;
  max-width: 1800px;
  margin: 0 auto;
  border-radius: var(--radius);
  background: var(--page-bg, var(--cream));
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(42, 51, 41, 0.08);
}

.map-scroll {
  overflow: auto;
  max-height: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--pale-green-mid) transparent;
}

.map-frame {
  position: relative;
  display: block;
  width: 100%;
  min-width: 720px;
  overflow: visible;
}

.map-watermark {
  position: absolute;
  z-index: 1;
  left: 6%;
  top: auto;
  bottom: 8%;
  width: min(11%, 140px);
  height: auto;
  transform: none;
  opacity: 1;
  /* Original solid black line art (transparent bg only) */
  mix-blend-mode: normal;
  pointer-events: none;
  user-select: none;
}

.map-image {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  user-select: none;
  pointer-events: none;
}

/* Invisible rectangular hit areas over blueprint callouts (no duplicate pins/labels) */
.hotspot {
  position: absolute;
  z-index: 2;
  padding: 0;
  margin: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  box-sizing: border-box;
  /* Min tap comfort; % size from content.js usually exceeds this */
  min-width: 44px;
  min-height: 44px;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.hotspot--callout {
  /* x/y/w/h set inline as % of .map-frame — top-left origin, no translate centering */
  transform: none;
  display: block;
}

.hotspot--callout:hover,
.hotspot--callout:focus-visible {
  outline: none;
}

.hotspot--callout[data-status="operating"]:hover,
.hotspot--callout[data-status="operating"]:focus-visible {
  background: rgba(61, 107, 69, 0.14);
  border-color: rgba(61, 107, 69, 0.45);
  box-shadow: 0 0 0 1px rgba(61, 107, 69, 0.2);
}

.hotspot--callout[data-status="proposed"]:hover,
.hotspot--callout[data-status="proposed"]:focus-visible {
  background: rgba(196, 163, 90, 0.16);
  border-color: rgba(196, 163, 90, 0.5);
  box-shadow: 0 0 0 1px rgba(196, 163, 90, 0.22);
}

.hotspot--callout[data-status="future"]:hover,
.hotspot--callout[data-status="future"]:focus-visible {
  background: rgba(107, 115, 104, 0.14);
  border-color: rgba(107, 115, 104, 0.45);
  box-shadow: 0 0 0 1px rgba(107, 115, 104, 0.2);
}

.hotspot--callout[data-status="conceptual"]:hover,
.hotspot--callout[data-status="conceptual"]:focus-visible {
  background: rgba(90, 110, 122, 0.16);
  border-color: rgba(90, 110, 122, 0.5);
  box-shadow: 0 0 0 1px rgba(90, 110, 122, 0.22);
}

/* Legacy pin/label classes unused on map (kept inert if referenced) */
.hotspot-pin,
.hotspot-label,
.hotspot-status {
  display: none;
}

/* Mobile destination list */
.destination-list {
  display: none;
  max-width: 1200px;
  margin: 1.25rem auto 0;
  padding: 0;
  list-style: none;
}

.destination-card {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem 1.1rem;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(42, 51, 41, 0.1);
  border-radius: 12px;
  background: var(--panel-bg);
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(30, 42, 31, 0.05);
}
.destination-card:hover {
  border-color: rgba(61, 107, 69, 0.35);
  background: #faf7f0;
}

.dest-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
}
.dest-dot.proposed { border-radius: 3px; background: var(--proposed); }
.dest-dot.operating { background: var(--operating); }
.dest-dot.future { background: var(--future); }
.dest-dot.conceptual {
  background: var(--conceptual-soft);
  border: 2px solid var(--conceptual);
  border-radius: 3px;
}

.dest-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark-green);
}
.dest-status {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
}
.dest-chevron {
  color: var(--ink-muted);
  font-size: 1.25rem;
}

.map-hint {
  max-width: 1200px;
  margin: 0.85rem auto 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-align: center;
}

.site-footer {
  max-width: 900px;
  margin: 2rem auto 2.5rem;
  padding: 0 1.25rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink-muted);
}
.site-footer ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}

/* ——— Panel / deck ——— */
.panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(30, 42, 31, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.panel-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--panel-bg);
  box-shadow: -16px 0 48px rgba(30, 42, 31, 0.2);
  transform: translateX(104%);
  transition: transform 0.28s ease;
}
.panel.is-open {
  transform: translateX(0);
}

.panel-header {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem 0.9rem;
  background: linear-gradient(180deg, var(--pale-green) 0%, var(--panel-bg) 100%);
  border-bottom: 1px solid rgba(42, 51, 41, 0.08);
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(42, 51, 41, 0.18);
  border-radius: 8px;
  background: var(--cream);
  color: var(--dark-green);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}
.back-btn:hover {
  background: #fff;
}

.close-btn {
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.close-btn:hover {
  background: rgba(42, 51, 41, 0.06);
  color: var(--dark-green);
}

.panel-body {
  flex: 1;
  overflow: auto;
  padding: 0.5rem 1.35rem 2.5rem;
  -webkit-overflow-scrolling: touch;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.35rem 0 0.75rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.status-chip::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
}
.status-chip.operating {
  background: var(--operating-soft);
  color: var(--operating);
}
.status-chip.proposed {
  background: var(--proposed-soft);
  color: #7a5f22;
}
.status-chip.proposed::before {
  border-radius: 2px;
  background: var(--proposed);
}
.status-chip.future {
  background: var(--future-soft);
  color: var(--future);
}
.status-chip.conceptual {
  background: var(--conceptual-soft);
  color: var(--conceptual);
}
.status-chip.conceptual::before {
  border-radius: 2px;
}

.panel-kicker {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.panel-title {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark-green);
}

.panel-intro {
  margin: 1rem 0 1.5rem;
  font-size: 1.05rem;
  color: var(--charcoal);
}

.beat {
  margin: 0 0 1.35rem;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 12px;
  background: var(--panel-inner);
  border: 1px solid rgba(42, 51, 41, 0.06);
}
.beat--sketch {
  background:
    linear-gradient(135deg, rgba(196, 163, 90, 0.08), transparent 55%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(42, 51, 41, 0.03) 10px,
      rgba(42, 51, 41, 0.03) 11px
    ),
    #eef2ec;
  border-color: rgba(196, 163, 90, 0.28);
}
.beat--photo {
  background: linear-gradient(180deg, #e8eee8, var(--panel-inner));
}
.beat--note {
  background: var(--cream);
  border-style: dashed;
}

.visual-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 7.5rem;
  margin-bottom: 0.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.beat--photo .visual-placeholder {
  background:
    linear-gradient(135deg, rgba(61, 107, 69, 0.12), rgba(61, 107, 69, 0.02)),
    #dfe8df;
  border: 1px solid rgba(61, 107, 69, 0.2);
}
.beat--sketch .visual-placeholder {
  background:
    radial-gradient(circle at 30% 40%, rgba(196, 163, 90, 0.2), transparent 50%),
    repeating-linear-gradient(0deg, transparent, transparent 7px, rgba(90, 100, 88, 0.08) 7px, rgba(90, 100, 88, 0.08) 8px),
    #e8e4d8;
  border: 1px dashed rgba(184, 149, 74, 0.55);
  color: #8a6e2e;
}
.beat--note .visual-placeholder {
  display: none;
}

.beat h3 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
}
.beat p {
  margin: 0;
  font-size: 0.95rem;
}

.disclosure {
  margin-top: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-left: 3px solid var(--conceptual);
  background: rgba(90, 110, 122, 0.08);
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.disclosure strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--conceptual);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sources-block {
  margin: 1.75rem 0 1.25rem;
  padding: 1rem 1.05rem;
  border-radius: 10px;
  background: rgba(42, 51, 41, 0.04);
  font-size: 0.86rem;
  color: var(--ink-muted);
}
.sources-block h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  color: var(--dark-green);
}

.invite-block {
  margin: 0 0 1rem;
  padding: 1.15rem 1.15rem 1.2rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pale-green), var(--cream));
  border: 1px solid rgba(61, 107, 69, 0.22);
}
.invite-block h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.invite-block p {
  margin: 0;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 820px) {
  .invitation {
    text-align: left;
    max-width: none;
  }
  .map-stage {
    display: none;
  }
  .map-hint.desktop-only {
    display: none;
  }
  .destination-list {
    display: block;
  }
  .panel {
    width: 100%;
  }
}

@media (min-width: 821px) {
  .destination-list.mobile-only {
    display: none;
  }
}

@media (max-width: 520px) {
  .app-chrome {
    padding: 0.85rem 1rem 0.7rem;
  }
  /* map callouts use % hit boxes; no separate hotspot-label on map */
}

/* ——— Beat media (real images / PDF links) ——— */
.beat-media {
  margin: 0 0 0.85rem;
}

.beat-media--image {
  margin: 0 0 0.85rem;
  padding: 0;
}

.beat-media--image img,
.beat-media--pdf .pdf-thumb {
  display: block;
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(42, 51, 41, 0.1);
  background: #e4ebe3;
}


.beat-media--image img.fit-contain {
  object-fit: contain;
  background: #e8eee6;
}

.beat-media--image.frame-portrait img {
  width: 100%;
  max-width: 100%;
  max-height: min(34rem, 52vh);
  aspect-ratio: 3 / 4;
  height: auto;
  margin-inline: auto;
  object-fit: cover;
  object-position: center 40%;
}

/* TYGR Mart: give photo subjects more room */
#panel[data-hotspot="tygr-mart"] .beat-media--image img {
  max-height: min(40rem, 62vh) !important;
}

#panel[data-hotspot="tygr-mart"] .beat-media--image img.fit-contain {
  max-height: min(42rem, 65vh) !important;
  min-height: 22rem;
}

#panel[data-hotspot="tygr-mart"] .beat-media--image.frame-portrait img {
  max-height: min(50rem, 75vh) !important;
  max-width: min(100%, 36rem) !important;
}


.media-image-link {
  display: block;
  text-decoration: none;
}

.media-caption {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  color: var(--charcoal);
}

.media-credit,
.pdf-fallback {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.beat-media--pdf {
  padding: 0.75rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #e8eef2, #f4efe4);
  border: 1px solid rgba(90, 110, 122, 0.28);
}

.beat-media--pdf .pdf-thumb {
  margin-bottom: 0.65rem;
  max-height: 11rem;
  object-fit: contain;
  background: #fff;
}

.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  background: var(--conceptual);
  color: #f7f3ea;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(30, 42, 31, 0.12);
}

.pdf-link:hover,
.pdf-link:focus-visible {
  filter: brightness(1.06);
}

.pdf-link::before {
  content: "↗";
  font-size: 0.85rem;
  opacity: 0.9;
}


/* ——— Sketch 2026-09-30: theme toggle, hover arms, portfolio, lit parking ——— */

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0.15rem;
  border: 1px solid rgba(26, 26, 26, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.theme-btn {
  appearance: none;
  border: none;
  margin: 0;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.theme-btn.is-active {
  background: var(--dark-green);
  color: #fff;
}

.theme-btn:not(.is-active):hover {
  color: var(--dark-green);
}

.portfolio-entry {
  gap: 0.45rem;
}

.portfolio-mark {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  flex-shrink: 0;
  filter: contrast(1.05);
}

.portfolio-label {
  white-space: nowrap;
}

.site-subtitle {
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* Tech hover arms — appear on hover/focus only */
.hotspot-arm {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%) translateY(4px);
  z-index: 3;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  background: var(--arm-bg);
  color: var(--arm-color);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.hotspot--callout:hover .hotspot-arm,
.hotspot--callout:focus-visible .hotspot-arm {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Electrify parking / lit pad hit area */
.hotspot--lit {
  border-radius: 8px;
}

.hotspot--lit:hover,
.hotspot--lit:focus-visible {
  background: var(--lit-fill) !important;
  border-color: var(--lit-border) !important;
  box-shadow: 0 0 0 2px rgba(90, 110, 122, 0.25), inset 0 0 24px rgba(255, 240, 160, 0.18) !important;
}

.visual-placeholder--pdf-coming {
  min-height: 9rem;
  background:
    linear-gradient(135deg, rgba(90, 110, 122, 0.14), rgba(196, 163, 90, 0.08)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(42, 51, 41, 0.04) 10px,
      rgba(42, 51, 41, 0.04) 11px
    ),
    #e8e4d8;
  border: 1px dashed rgba(90, 110, 122, 0.45);
  color: #5a6e7a;
  font-weight: 650;
}

html[data-theme="yellow"] .map-stage {
  background: var(--cream-deep);
  border-color: rgba(26, 26, 26, 0.1);
}

html[data-theme="yellow"] .panel-header {
  background: linear-gradient(180deg, #efe6a8 0%, var(--panel-bg) 100%);
}

html[data-theme="sage"] .map-stage {
  background: var(--cream-deep);
}


/* --- v3: FIN title weight + sage tech type --- */
.site-title {
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--title-color);
  text-shadow: var(--title-shadow);
}

html[data-theme="sage"] .brand-block .eyebrow,
html[data-theme="sage"] .site-subtitle,
html[data-theme="sage"] .panel-kicker,
html[data-theme="sage"] .deck-show-label,
html[data-theme="sage"] .hotspot-arm {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

html[data-theme="sage"] .site-title {
  font-weight: 800;
  letter-spacing: 0.04em;
}

html[data-theme="sage"] .panel-title {
  font-weight: 700;
  letter-spacing: 0.02em;
}

html[data-theme="sage"] .beat h3 {
  font-weight: 700;
}

html[data-theme="sage"] .beat p,
html[data-theme="sage"] .panel-intro {
  font-weight: 400;
}

/* --- v3: deck slideshow (show off the decks) --- */
.deck-show {
  position: relative;
  margin: 1rem 0 1.35rem;
  padding: 0.85rem;
  border-radius: 12px;
  background: var(--panel-inner);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.deck-show-header {
  margin-bottom: 0.65rem;
}

.deck-show-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.deck-show-note {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

.deck-stage {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.35rem;
  align-items: center;
}

.deck-frame {
  min-height: 180px;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
}

.deck-slide {
  margin: 0;
}

.deck-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  background: #111;
}

.deck-slide-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.deck-slide-cta {
  display: block;
  padding: 0.45rem 0.65rem;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.deck-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 200px;
  padding: 1.25rem;
  background: repeating-linear-gradient(
    -45deg,
    #1a1a1a,
    #1a1a1a 12px,
    #222 12px,
    #222 24px
  );
  color: #f5d400;
  text-align: center;
}

.deck-placeholder strong {
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.deck-placeholder span {
  color: #ccc;
  font-size: 0.85rem;
}

.deck-caption {
  margin: 0;
  padding: 0.45rem 0.65rem 0.15rem;
  font-size: 0.86rem;
  font-weight: 600;
  background: var(--panel-bg);
}

.deck-credit {
  margin: 0;
  padding: 0 0.65rem 0.55rem;
  font-size: 0.75rem;
  color: var(--ink-muted);
  background: var(--panel-bg);
}

.deck-nav {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: var(--panel-bg);
  color: var(--charcoal);
  width: 2rem;
  height: 2.5rem;
  border-radius: 8px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.deck-nav:hover,
.deck-nav:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.deck-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.55rem;
}

.deck-counter {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.deck-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: flex-end;
}

.deck-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.deck-dot.is-active {
  background: var(--charcoal);
}

/* Hut outline watermark — cabin motif only */
.panel-body {
  position: relative;
}

.panel-watermark {
  position: absolute;
  right: 0.5rem;
  top: 2.5rem;
  width: min(42%, 220px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}

html[data-theme="sage"] .panel-watermark {
  opacity: 0.16;
  mix-blend-mode: multiply;
  filter: grayscale(1);
}

.panel-body > *:not(.panel-watermark) {
  position: relative;
  z-index: 1;
}

.hotspot--lit {
  box-shadow: inset 0 0 0 2px var(--lit-border);
  background: var(--lit-fill);
}


/* ——— Pass 2026-09-30: hut hover, tech map labels, transparent plan ——— */
.map-image {
  background: transparent;
}

.hotspot-map-label {
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  z-index: 3;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: rgba(20, 20, 20, 0.88);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.hotspot--callout:hover .hotspot-map-label,
.hotspot--callout:focus-visible .hotspot-map-label,
.hotspot--callout.is-active .hotspot-map-label {
  opacity: 1;
  transform: translateY(0);
}

.hotspot-hut {
  position: absolute;
  right: -2%;
  top: -52%;
  width: min(42%, 110px);
  height: auto;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px) scale(0.96);
  /* White linework only — no stacked drop-shadows */
  filter: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.hotspot--callout:hover .hotspot-hut,
.hotspot--callout:focus-visible .hotspot-hut,
.hotspot--callout.is-active .hotspot-hut {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
}

.hotspot,
.hotspot--cabin-group {
  overflow: visible;
}

/* Cabin group: ONE compact callout — hut stacked above label, anchored inside the cabin-group highlight */
.hotspot--cabin-group .hotspot-hut {
  left: auto;
  right: 5%;
  top: 6%;
  width: min(28%, 72px);
  filter: none;
}

.hotspot--cabin-group .hotspot-map-label {
  left: auto;
  right: 5%;
  top: auto;
  bottom: 8%;
  letter-spacing: 0.08em;
}

.hotspot--cabin-group:hover,
.hotspot--cabin-group:focus-visible {
  background: rgba(196, 163, 90, 0.22);
  border-color: rgba(196, 163, 90, 0.7);
  box-shadow: 0 0 0 2px rgba(196, 163, 90, 0.3);
}

.site-title {
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.site-subtitle {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.invitation.serif {
  font-family: var(--font-sans);
  font-weight: 500;
}

/* Dimmed backdrop keeps map visible */
.panel-backdrop.is-open {
  background: rgba(20, 20, 20, 0.35);
  backdrop-filter: blur(1px);
}

.panel-watermark-hut {
  position: absolute;
  right: 1rem;
  top: 4.5rem;
  width: min(28%, 160px);
  opacity: 0.18;
  pointer-events: none;
  mix-blend-mode: multiply;
}


/* ——— Pass5: SVG polygon footprint hit targets (aligned on resize) ——— */
.map-hit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}

.hotspot-poly {
  fill: transparent;
  stroke: transparent;
  stroke-width: 0.15;
  pointer-events: auto;
  cursor: pointer;
  outline: none;
  transition: fill 0.18s ease, stroke 0.18s ease;
}

.hotspot-poly[data-status="operating"].is-hover,
.hotspot-poly[data-status="operating"]:focus {
  fill: rgba(61, 107, 69, 0.16);
  stroke: rgba(61, 107, 69, 0.55);
}

.hotspot-poly[data-status="proposed"].is-hover,
.hotspot-poly[data-status="proposed"]:focus {
  fill: rgba(196, 163, 90, 0.2);
  stroke: rgba(196, 163, 90, 0.7);
}

.hotspot-poly[data-status="conceptual"].is-hover,
.hotspot-poly[data-status="conceptual"]:focus,
.hotspot-poly--lit.is-hover,
.hotspot-poly--lit:focus {
  fill: var(--lit-fill, rgba(90, 110, 122, 0.18));
  stroke: var(--lit-border, rgba(90, 110, 122, 0.55));
}

.hotspot-poly[data-status="future"].is-hover,
.hotspot-poly[data-status="future"]:focus {
  fill: rgba(107, 115, 104, 0.16);
  stroke: rgba(107, 115, 104, 0.5);
}

/* Bbox button is chrome-only when a polygon owns the hit target */
.hotspot--chrome-only {
  pointer-events: none;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  min-width: 0;
  min-height: 0;
}

.hotspot--chrome-only.is-poly-hover .hotspot-map-label,
.hotspot--chrome-only.is-active .hotspot-map-label {
  opacity: 1;
  transform: translateY(0);
}

.hotspot--chrome-only.is-poly-hover .hotspot-hut,
.hotspot--chrome-only.is-active .hotspot-hut {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
}

.hotspot--chrome-only.is-poly-hover .hotspot-arm,
.hotspot--chrome-only.is-active .hotspot-arm {
  opacity: 1;
}

/* Architectural annotation pass: original sheet scale and frame retained. */
.sheet-annotations {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  overflow: visible;
  pointer-events: none;
  color: #161616;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.sheet-callout { cursor: pointer; pointer-events: auto; outline: none; }
.callout-box {
  fill: transparent;
  stroke: none;
  pointer-events: all;
  transition: fill .15s;
}
.callout-outline {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
}
.callout-leader { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: miter; }
.callout-outline,
.callout-leader {
  pointer-events: none;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  transition: stroke-dashoffset .2s ease, opacity .2s ease, stroke-width .15s;
}
.callout-anchor { fill: currentColor; opacity: 0; pointer-events: none; transition: opacity .15s; }
.sheet-callout:is(:hover, :focus-visible, .is-related) .callout-leader {
  stroke-dashoffset: 0;
  opacity: 1;
  transition: stroke-dashoffset .36s ease-out, opacity .1s;
}
.sheet-callout:is(:hover, :focus-visible, .is-related) .callout-outline {
  stroke-dashoffset: 0;
  opacity: 1;
  stroke-width: 3;
  transition: stroke-dashoffset .32s ease-out .22s, opacity .1s .22s, stroke-width .15s;
}
.sheet-callout:is(:hover, :focus-visible, .is-related) .callout-anchor { opacity: 1; }
.callout-title { font-size: 33px; font-weight: 750; letter-spacing: .55px; fill: currentColor; }
.sheet-callout[data-id="cabins"] .callout-title { font-size: 30px; }
.callout-status { font-size: 19px; font-weight: 450; fill: currentColor; }
.callout-hut { pointer-events: auto; }
.sheet-callout:hover .callout-box,
.sheet-callout.is-related .callout-box { fill: rgba(0,0,0,.045); }
.drawing-target { fill: transparent; stroke: none; pointer-events: all; cursor: pointer; }
.sheet-callout:focus-visible .callout-box { fill: rgba(0,0,0,.055); }
.sheet-callout:focus-visible .callout-outline { stroke-width: 4; }
.sheet-callout:hover .callout-title,
.sheet-callout:focus-visible .callout-title { text-decoration: underline; text-underline-offset: 5px; }
@media (hover: none), (pointer: coarse) {
  .callout-leader, .callout-outline { stroke-dashoffset: 0; opacity: 1; }
  .callout-anchor { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .sheet-callout :is(.callout-leader, .callout-outline, .callout-anchor) { transition: none !important; }
}
.sheet-directory { fill: #161616; }
.sheet-directory line { stroke: #161616; stroke-width: 1.2; }
.sheet-portfolio { pointer-events: auto; }
.sheet-portfolio .portfolio-entry {
  height: 88px;
  max-width: 100%;
  padding: 2px 0;
  gap: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #161616;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: .5px;
}
.sheet-portfolio .portfolio-mark { width: 128px; height: 76px; filter: none; }
.sheet-portfolio .portfolio-entry:hover .portfolio-label,
.sheet-portfolio .portfolio-entry:focus-visible .portfolio-label {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.sheet-directory-heading,
.sheet-business { font-family: var(--font-display); font-weight: 800; }
.sheet-directory-heading { font-size: 54px; letter-spacing: 1.4px; }
.sheet-business { font-size: 25px; letter-spacing: .8px; }
.sheet-business-status { font-size: 20px; font-weight: 550; }
.sheet-business-description { font-size: 18.5px; font-weight: 450; }
.sheet-directory .directory-rule { opacity: 1; stroke-width: .8; }
.panel[hidden], .panel-backdrop[hidden] { display: none !important; }

.site-footer {
  max-width: 1800px;
  margin: .75rem auto 0;
  padding: 0 .25rem;
}
.disclaimer-details summary {
  width: fit-content;
  cursor: pointer;
  font-weight: 600;
  padding: .2rem 0;
}
.disclaimer-details summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.disclaimer-details ul { max-width: 900px; margin-top: .5rem; }

/* Let the two place-name lines share the upper-left title space. */
html[data-theme] .site-subtitle {
  margin: .65rem 0 0;
  font-family: var(--font-title);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--title-color);
  text-shadow: 2px 2px 0 #000, 3px 3px 0 #000;
}

/* Property destinations continue the home sheet's colors and typography.
   This class remains during the closing animation; panel dimensions stay intact. */
.panel--property {
  --panel-bg: var(--page-bg);
  --panel-inner: transparent;
  background: var(--page-bg);
}
html[data-theme] .panel--property .panel-header {
  background: transparent;
  border-bottom: 1px solid rgba(22, 22, 22, .24);
}
.panel--property .panel-body {
  padding: 1.2rem clamp(1.35rem, 3vw, 2.75rem) 2rem;
}
.panel--property .back-btn {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding-left: 0;
}
.panel--property .back-btn:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.panel--property :is(.back-btn, .close-btn, .deck-nav):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
html[data-theme] .panel--property .panel-title {
  margin: .55rem 0 .45rem;
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--title-color);
  text-shadow: 3px 3px 0 #000, 4px 4px 0 #000;
}
.panel--property .status-chip {
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.panel--property .panel-intro {
  max-width: 76ch;
  margin-bottom: 1.75rem;
}
#panel[data-hotspot="cabins"] .panel-intro,
#panel[data-hotspot="supercharging"] .panel-intro {
  font-weight: 700;
}
.panel--property :is(.beat, .sources-block, .invite-block, .deck-show) {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(22, 22, 22, .26);
  border-radius: 0;
  box-shadow: none;
  padding: 1.1rem 0 0;
  margin: 1.5rem 0;
}
html[data-theme] .panel--property :is(.beat h3, .sources-block h3, .invite-block h3, .deck-show-label) {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--charcoal);
}
.panel--property :is(.beat p, .sources-block p, .invite-block p) {
  max-width: 80ch;
}
.panel--property .beat-list {
  max-width: 80ch;
  margin: .85rem 0 0;
  padding-left: 1.2rem;
  line-height: 1.55;
}
#panel[data-hotspot="portfolio"] .beat-list { font-weight: 700; }
.panel--property .beat-list li { white-space: pre-line; }
.panel--property .beat-list li + li { margin-top: .8rem; }
.panel--property :is(.deck-frame, .deck-slide img, .deck-caption, .deck-credit) {
  background: transparent;
  border: 0;
  border-radius: 0;
}
.panel--property .deck-caption { padding: .65rem 0 .15rem; }
.panel--property .deck-credit { padding: 0 0 .55rem; }
/* White-backed artwork reads as ink on the active yellow or sage sheet. */
.panel--property .deck-slide--on-sheet {
  background: var(--page-bg);
  isolation: isolate;
}
.panel--property .deck-slide--on-sheet img {
  mix-blend-mode: multiply;
}
.panel--property .beat-media--on-sheet {
  background: var(--page-bg);
  border: 0;
  border-radius: 0;
  isolation: isolate;
}
.panel--property .beat-media--on-sheet img.fit-contain {
  width: 100%;
  height: auto;
  max-height: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  mix-blend-mode: multiply;
}
/* Live lettering keeps the portfolio artwork sharp at every display density. */
.deck-logo-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 360px;
  container-type: inline-size;
}
.portfolio-wordmark {
  width: min(100%, 488px);
  text-align: center;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
}
.portfolio-wordmark img {
  width: min(68%, 332px);
  margin: -10px auto -30px;
  max-height: none;
  height: auto;
}
.portfolio-wordmark-name {
  display: inline-block;
  font-size: clamp(24px, 14.1cqw, 76px);
  font-weight: 700;
  letter-spacing: -1px;
  white-space: nowrap;
}
.portfolio-wordmark-tagline {
  display: block;
  margin-top: 10px;
  font-size: clamp(12px, 3.8cqw, 18px);
  font-weight: 400;
  letter-spacing: .3px;
}
.portfolio-about {
  container-type: inline-size;
  padding: 54px 0 64px;
  text-align: center;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
}
.portfolio-about h4 {
  margin: 0 0 56px;
  font-family: inherit;
  font-size: clamp(40px, 7.3cqw, 76px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
}
.portfolio-about-copy {
  width: 66%;
  margin-inline: auto;
}
.panel--property .portfolio-about-copy p {
  margin: 0 0 20px;
  font-size: clamp(14px, 1.4cqw, 16px);
  line-height: 1.42;
  font-weight: 400;
}
.panel--property .portfolio-about-copy p:first-child {
  max-width: 430px;
  margin-inline: auto;
}
.portfolio-restaurant-marks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 50px auto 0;
}
.portfolio-restaurant-marks img {
  width: auto;
  height: 86px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.portfolio-restaurant-marks .portfolio-restaurant-mark--teton-tiger { height: 72px; }
@container (max-width: 560px) {
  .portfolio-about-copy { width: 94%; }
  .portfolio-about h4 { margin-bottom: 30px; }
  .portfolio-restaurant-marks { gap: 12px; margin-top: 32px; }
  .portfolio-restaurant-marks img { height: 66px; max-width: 24%; }
  .portfolio-restaurant-marks .portfolio-restaurant-mark--teton-tiger { height: 55px; }
}
.panel--property .beat-media--pdf,
.panel--property .beat-media--pdf .pdf-thumb {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.panel--property .pdf-link {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: .35rem 0;
  color: var(--charcoal);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.panel--property .deck-nav {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.panel--property .deck-nav:hover {
  box-shadow: none;
  color: #000;
}
.panel-brand-footer {
  display: flex;
  justify-content: center;
  margin: 2.5rem 0 0;
  padding: .5rem 0;
}
.panel-brand-footer img {
  display: block;
  width: clamp(140px, 18vw, 190px);
  max-width: 50%;
  height: auto;
  mix-blend-mode: multiply;
}

/* Cabin Deck lives on the same paper as the panel. Text stays live and black;
   photographic source windows never receive the ink blending treatment. */
.cabin-sheet {
  container-type: inline-size;
  color: #000;
  background: var(--page-bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.4;
  padding: 22px 0;
}
.cabin-sheet :is(h4, h5, p, li, dt, dd, th, td, span) { color: #000; }
.cabin-sheet h4 { margin: 0 0 22px; font: 700 clamp(21px, 3.3cqw, 36px)/1.12 Arial, Helvetica, sans-serif; letter-spacing: -.025em; }
.cabin-image-window { position: relative; overflow: hidden; width: 100%; }
.deck-slide .cabin-image-window img {
  position: absolute;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: initial;
  background: transparent;
  border-radius: 0;
}
.cabin-image-window--ink, .cabin-image-window--swede { background: var(--page-bg); }
.cabin-image-window--ink img { mix-blend-mode: multiply; }
.cabin-image-window--swede { max-width: 340px; margin-bottom: 18px; }
.cabin-image-window--swede img { filter: grayscale(1) contrast(16) invert(1); mix-blend-mode: multiply; }
.cabin-photo-pair { display: flex; align-items: start; justify-content: center; gap: 24px; max-width: 700px; margin: 0 auto; }
.cabin-photo-pair > :first-child { flex: 1304; }
.cabin-photo-pair > :last-child { flex: 1574; }
.cabin-sheet--floorplan { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: stretch; }
.cabin-plan-drawing { width: 100%; max-width: 360px; margin: auto; }
.cabin-plan-details { display: flex; flex-direction: column; justify-content: space-between; padding: 10px 0; gap: 40px; }
.cabin-plan-details h4 { font-size: clamp(17px, 2cqw, 24px); }
.cabin-plan-details dl { margin: 0; font-size: clamp(13px, 1.6cqw, 18px); }
.cabin-plan-details dl div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid #0003; }
.cabin-plan-details dd { margin: 0; white-space: nowrap; }
.cabin-brand { display: flex; align-items: flex-end; justify-content: center; gap: 24px; background: var(--page-bg); }
.deck-slide .cabin-brand img { width: 28%; max-width: 190px; height: auto; max-height: none; mix-blend-mode: multiply; }
.cabin-brand span { font: 700 clamp(24px, 5.3cqw, 55px)/1.02 Arial, Helvetica, sans-serif; letter-spacing: -.035em; padding-bottom: 3px; }
.cabin-brand--compact { justify-content: flex-end; gap: 9px; }
.deck-slide .cabin-brand--compact img { width: 45px; }
.cabin-brand--compact span { font-size: 16px; letter-spacing: -.03em; padding-bottom: 2px; }
.cabin-sheet--brand { min-height: 400px; display: flex; align-items: center; justify-content: center; }
.cabin-sheet--brand .cabin-brand { width: 100%; max-width: 810px; }
.cabin-sheet--kitchen { display: grid; grid-template-columns: 1.1fr 1fr; align-items: start; gap: 30px; }
.cabin-kitchen-copy { padding-top: 6px; }
.cabin-kitchen-copy ul { margin: 0; padding-left: 20px; font-size: clamp(13px, 1.65cqw, 18px); line-height: 1.5; }
.cabin-kitchen-copy li + li { margin-top: 22px; }
.cabin-kitchen-photo { width: 100%; max-width: 360px; margin-left: auto; }
.cabin-slide-heading { display: flex; align-items: start; justify-content: space-between; gap: 28px; margin-bottom: 22px; }
.cabin-slide-heading h4 { margin: 0; }
.cabin-slide-heading .cabin-brand { flex-shrink: 0; }
.cabin-cost-table { border-collapse: collapse; width: 100%; table-layout: fixed; font-size: clamp(12px, 1.5cqw, 16px); line-height: 1.35; }
.cabin-cost-table th, .cabin-cost-table td { border: 1px solid #0005; padding: 12px 10px; vertical-align: middle; }
.cabin-cost-table thead th { font-weight: 700; text-align: center; }
.cabin-cost-table th:first-child { width: 29%; }
.cabin-cost-table th:last-child { width: 16%; }
.cabin-cost-table tbody th { text-align: left; font-weight: 400; }
.cabin-cost-table td:nth-child(2) { text-align: center; }
.cabin-cost-table td:last-child { text-align: right; white-space: nowrap; }
.cabin-cost-table .cabin-cost-emphasis :is(th, td:last-child) { font-weight: 700; }
.cabin-cost-table .cabin-cost-total { border-top: 2px solid #000; }
.cabin-cost-notes { margin-top: 24px; }
.cabin-cost-notes h5 { font-size: 20px; margin: 0 0 8px; }
#panel .cabin-cost-notes p { font-size: clamp(12px, 1.4cqw, 15px); line-height: 1.5; margin: 0; max-width: none; }
@media (max-width: 1050px) and (min-width: 821px), (max-width: 600px) {
  .cabin-sheet--floorplan, .cabin-sheet--kitchen { grid-template-columns: 1fr; }
  .cabin-plan-drawing { max-width: 320px; }
  .cabin-plan-details { gap: 24px; }
  .cabin-kitchen-photo { margin: 0 auto; width: 100%; }
  .cabin-brand--compact { justify-content: flex-start; }
  .cabin-slide-heading { flex-direction: column; gap: 20px; }
  .cabin-cost-table { font-size: 12px; }
  .cabin-cost-table th, .cabin-cost-table td { padding: 9px 5px; overflow-wrap: anywhere; }
  .cabin-cost-table th:first-child { width: 26%; }
  .cabin-cost-table th:last-child { width: 23%; }
  .cabin-photo-pair { gap: 12px; }
  .cabin-brand { gap: 12px; }
  .cabin-sheet--brand { min-height: 300px; }
}

/* Shared Wellness: original photographs and live specifications on the sheet. */
.wellness-feature { margin-top: 24px; color: #000; }
.wellness-overview { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 3vw, 48px); }
/* Crop two display pixels of screenshot trim; original photo files stay intact. */
.wellness-photo { overflow: hidden; }
.wellness-photo img { display: block; width: calc(100% + 4px); max-width: none; height: auto; margin: -2px; }
.wellness-specifications h4 { margin: 0 0 24px; color: #000; font: 700 clamp(23px, 2.2vw, 30px)/1.15 Arial, Helvetica, sans-serif; }
.wellness-specifications ul { margin: 0; padding-left: 0; font-size: 17px; line-height: 1.55; color: #000; }
.wellness-specifications li + li { margin-top: 22px; }
.wellness-specifications strong { font-weight: 700; }
.wellness-exteriors { display: grid; grid-template-columns: 1.514fr 1fr; align-items: start; gap: 24px; max-width: 920px; margin: 30px 0 0; }
@media (max-width: 1100px) and (min-width: 821px), (max-width: 640px) {
  .wellness-overview { grid-template-columns: 1fr; gap: 24px; }
  .wellness-interior { max-width: 520px; }
  .wellness-specifications ul { font-size: 16px; }
  .wellness-exteriors { gap: 14px; }
}

/* BHC Cabins keeps navigation without captions or a numeric counter. */
.deck-meta--dots-only { justify-content: flex-end; }

/* Electrify Wyoming source material, sharp on either sheet color. */
.electrify-sheet { padding: clamp(14px, 1.8vw, 28px); background: var(--page-bg); color: #000; }
.electrify-sheet h4 { margin: 0 0 20px; font-family: Georgia, "Times New Roman", serif; color: #000; }
.electrify-sheet p { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.7; color: #000; }
.electrify-nevi h4 { margin-bottom: 42px; font-size: clamp(32px, 3.5vw, 60px); font-weight: 700; line-height: 1.08; letter-spacing: -.04em; text-align: center; }
.electrify-nevi p + p { margin-top: 30px; }
.electrify-vision-map { display: block; width: 100%; height: auto; }
.electrify-vision .electrify-vision-caption { margin: 12px 0 24px; font-size: 16px; line-height: 1.55; color: #000; font-weight: 700; }
.electrify-vision h4 { font-size: clamp(25px, 2.4vw, 36px); line-height: 1.2; font-weight: 400; }
@media (max-width: 640px) {
  .electrify-sheet p { font-size: 16px; }
  .electrify-nevi h4 { margin-bottom: 26px; }
  .electrify-vision .electrify-vision-caption { font-size: 14px; }
}

/* Give the Electrify PDF cover a readable preview without enlarging its source pixels. */
#panel[data-hotspot="supercharging"] .pdf-thumb { width: min(100%, 760px); height: auto; max-height: none; margin-left: auto; margin-right: auto; }

/* Live sales copy and a ruled table keep the TYGR Mart figures crisp on the sheet. */
.sales-performance { max-width: 80ch; }
.sales-option { margin: 1.2rem 0; }
.sales-option h4 { margin: 0 0 .45rem; font-size: 1.08rem; font-weight: 700; line-height: 1.4; }
.sales-option p { margin: 0; }
.sales-pattern { margin: 1.4rem 0; }
.sales-table { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; }
.sales-table caption { padding: .5rem 0 .8rem; text-align: left; font-size: 1.1rem; font-weight: 700; }
.sales-table th, .sales-table td { padding: .65rem .65rem; border-bottom: 1px solid rgba(0,0,0,.22); text-align: right; }
.sales-table thead th { border-top: 1px solid #000; border-bottom: 1px solid #000; font-weight: 700; }
.sales-table th:first-child { padding-left: 0; text-align: left; }
.sales-table th:last-child, .sales-table td:last-child { padding-right: 0; }
.sales-table tbody th { font-weight: 400; }
.sales-performance .sales-credit { margin: .75rem 0 0; font-size: .9rem; }
@media (max-width: 480px) {
  .sales-table { font-size: .9rem; }
  .sales-table th, .sales-table td { padding: .6rem .35rem; }
}

/* Keep the supplied logo at 2x source density; black ink sits directly on either theme. */
.panel--property .tygr-wordmark-stage { min-height: 300px; height: 360px; padding: 18px; }
.panel--property .tygr-wordmark-stage img {
  width: min(100%, 411px);
  height: auto;
  max-height: none;
  object-fit: contain;
  filter: grayscale(1) contrast(1.12);
  mix-blend-mode: multiply;
}

/* A stronger reading weight throughout TYGR Mart, on both sheet colors. */
#panel[data-hotspot="tygr-mart"] :is(p, li, td, th, caption, a, button, .status-chip) {
  font-weight: 700;
}
#panel[data-hotspot="tygr-mart"] :is(h2, h3, h4, strong, .deck-show-label) {
  font-weight: 800;
}

/* Portfolio uses the same drawing and shading language as the sheet callouts. */
.sheet-portfolio .portfolio-entry {
  position: relative;
  width: 100%;
  padding: 2px 8px;
  outline: none;
}
.portfolio-outline { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.portfolio-outline rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  transition: stroke-dashoffset .2s ease, opacity .2s ease, stroke-width .15s;
}
.sheet-portfolio .portfolio-entry:hover { background: rgba(0,0,0,.045); }
.sheet-portfolio .portfolio-entry:focus-visible { background: rgba(0,0,0,.055); }
.portfolio-entry:is(:hover, :focus-visible) .portfolio-outline rect {
  stroke-dashoffset: 0;
  opacity: 1;
  stroke-width: 3;
  transition: stroke-dashoffset .32s ease-out, opacity .1s, stroke-width .15s;
}
.portfolio-entry:focus-visible .portfolio-outline rect { stroke-width: 4; }
@media (hover: none), (pointer: coarse) {
  .portfolio-outline rect { stroke-dashoffset: 0; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-outline rect { transition: none !important; }
}

/* Large deck previews, with live lettering over the active sheet color. */
#panel[data-hotspot="north-building"] .pdf-thumb {
  width: min(100%, 760px); height: auto; max-height: none; margin-inline: auto;
}
.canva-deck-preview {
  display: block; width: min(100%, 760px); margin: 0 auto .65rem;
  color: #000; text-decoration: none; container-type: inline-size;
}
.canva-deck-slide { display: grid; grid-template-columns: 58.2% 41.8%; aspect-ratio: 16 / 9; overflow: hidden; }
.canva-deck-copy { padding: 14.5% 19% 8% 18.2%; align-self: center; font-family: Arial, Helvetica, sans-serif; }
.panel--property .canva-deck-copy h4 { font-family: Arial, Helvetica, sans-serif; font-size: 5cqw; font-weight: 750; line-height: .92; letter-spacing: -.15cqw; margin: 0 0 3.5cqw; color: #000; }
.panel--property .canva-deck-copy p { font-size: 1.25cqw; line-height: 1.4; font-weight: 400; margin: 0 0 1.65cqw; color: #000; }
.canva-deck-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; min-width: 0; }
