:root {
  --bg: #0c0b0a;
  --bg-elev: #161310;
  --ink: #f3ebe2;
  --muted: #9a9084;
  --line: rgba(243, 235, 226, 0.12);
  --accent: #e0a45a;
  --accent-soft: rgba(224, 164, 90, 0.16);
  --thumb: #241f1a;
  --ok: #7d9b78;
  --video: #c47a5a;
  --audio: #6e9e8a;
  --image: #8a9bb8;
  --doc: #b8a06e;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 78rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-optical-sizing: auto;
  background: var(--bg);
  line-height: 1.45;
  caret-color: transparent;
}

input,
textarea,
select,
[contenteditable="true"] {
  caret-color: var(--ink);
}

body.is-staging {
  overflow: hidden;
}

body:not(.is-hub) {
  background:
    radial-gradient(1000px 500px at 10% -5%, rgba(224, 164, 90, 0.1), transparent 55%),
    radial-gradient(800px 400px at 95% 0%, rgba(70, 100, 95, 0.1), transparent 50%),
    linear-gradient(180deg, #161310 0%, var(--bg) 30%, #090807 100%);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 5;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* —— Spotlight hero —— */
.spot {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.spot-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #1a1510;
  background-size: cover;
  background-position: center 20%;
  overflow: hidden;
}

/* Ken Burns only on still posters — never on a playing video layer */
.spot-media:not(:has(video)) {
  transform: scale(1.04);
  animation: ken 18s ease-in-out infinite alternate;
}

.spot-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  /* Own compositor layer; no ancestor transforms while decoding */
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Grain over fullscreen video is a constant re-composite — ease off */
body:has(.spot-preview) .grain {
  opacity: 0.02;
}

.spot-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 7, 6, 0.35) 0%, rgba(8, 7, 6, 0.15) 35%, rgba(8, 7, 6, 0.82) 72%, var(--bg) 100%),
    linear-gradient(90deg, rgba(8, 7, 6, 0.55) 0%, transparent 55%);
}

.spot-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1rem 0 3.5rem;
  display: grid;
  gap: clamp(4rem, 18vh, 10rem);
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.topbar-over .brand {
  margin: 0;
}

.brand {
  margin: 0 0 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.brand-lg {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  letter-spacing: 0.06em;
}

.brand a {
  color: inherit;
  text-decoration: none;
}

.brand a:hover {
  text-decoration: underline;
}

.folder-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.folder-link {
  padding: 0.3rem 0.65rem;
  border: 1px solid transparent;
  color: rgba(243, 235, 226, 0.72);
  text-decoration: none;
  font-size: 0.82rem;
  backdrop-filter: blur(6px);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.folder-link:hover {
  color: var(--ink);
  border-color: var(--line);
}

.folder-link.is-active {
  color: var(--ink);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.spot-copy {
  max-width: 34rem;
  animation: rise 0.85s ease-out both;
}

.spot-eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.spot h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 5.6rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.lede {
  margin: 1.1rem 0 0;
  max-width: 34rem;
  color: rgba(243, 235, 226, 0.78);
  font-size: 1.08rem;
}

.hero-actions {
  margin: 1.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cta {
  display: inline-block;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #1a1208;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cta:hover,
.cta:focus-visible {
  background: #f0c07a;
  border-color: #f0c07a;
  outline: none;
}

.cta-ghost {
  background: transparent;
  color: var(--ink);
}

.cta-ghost:hover,
.cta-ghost:focus-visible {
  background: rgba(243, 235, 226, 0.08);
  color: var(--ink);
  border-color: rgba(243, 235, 226, 0.45);
}

/* —— Gallery sections —— */
.gallery,
.catalog,
.foot,
.hero {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.gallery {
  padding: 1rem 0 4rem;
}

.rail-section {
  padding: 2.75rem 0 1rem;
  animation: rise 0.7s ease-out both;
}

.rail-section:nth-of-type(2) {
  animation-delay: 0.08s;
}

.rail-section:nth-of-type(3) {
  animation-delay: 0.14s;
}

.section-head {
  margin-bottom: 1.35rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.feature-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(16rem, 22rem);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.feature-rail::-webkit-scrollbar {
  height: 6px;
}

.feature-rail::-webkit-scrollbar-thumb {
  background: rgba(243, 235, 226, 0.18);
}

.feat {
  scroll-snap-align: start;
  display: grid;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  animation: rise 0.55s ease-out both;
  animation-delay: calc(var(--i, 0) * 50ms);
}

.feat-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--thumb);
}

.feat-img,
.feat-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feat-img {
  transition: transform 0.55s ease;
}

.feat:hover .feat-img {
  transform: scale(1.04);
}

.feat-video {
  transform: translateZ(0);
  backface-visibility: hidden;
}

.feat-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.2rem 0.45rem;
  background: var(--accent);
  color: #1a1208;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feat-meta {
  display: grid;
  gap: 0.2rem;
}

.feat-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.feat-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.1;
}

.feat-blurb {
  color: var(--muted);
  font-size: 0.9rem;
}

.shelves {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
}

.shelf {
  display: grid;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  animation: rise 0.55s ease-out both;
  animation-delay: calc(var(--i, 0) * 70ms);
}

.shelf-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--thumb);
}

.shelf-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.shelf:hover .shelf-cover {
  transform: scale(1.05);
}

.shelf-cover-empty {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a231c, #151210);
}

.shelf-label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  transition: color 0.15s ease;
}

.shelf:hover .shelf-label {
  color: var(--accent);
}

.shelf-meta {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.shelf-pitch {
  display: block;
  margin-top: 0.25rem;
  color: rgba(243, 235, 226, 0.62);
  font-size: 0.86rem;
  line-height: 1.35;
}

.archives {
  margin-top: 0.5rem;
}

.surfaces {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.surface {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.surface-text {
  display: grid;
  gap: 0.15rem;
}

.surface-label {
  font-family: var(--font-display);
  font-size: 1.4rem;
  transition: color 0.15s ease;
}

.surface-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.surface-go {
  color: var(--muted);
  transition: color 0.15s ease, transform 0.2s ease;
}

.surface:hover .surface-label {
  color: var(--accent);
}

.surface:hover .surface-go {
  color: var(--accent);
  transform: translate(2px, -2px);
}

/* —— Section / library pages —— */
.hero {
  padding: clamp(2rem, 6vh, 3.5rem) 0 1.25rem;
  animation: rise 0.7s ease-out both;
}

.hero-compact h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.catalog {
  padding-bottom: 4rem;
  animation: rise 0.7s ease-out 0.1s both;
}

.toolbar {
  display: grid;
  gap: 0.85rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, rgba(12, 11, 10, 0.97), rgba(12, 11, 10, 0.9));
  backdrop-filter: blur(10px);
  z-index: 3;
}

.search {
  position: relative;
}

.search input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink);
  font: inherit;
}

.search input:focus {
  outline: 1px solid var(--accent);
  border-color: var(--accent);
}

.search-hint {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.1rem 0.35rem;
  pointer-events: none;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 0.35rem 0.75rem;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.chip:hover {
  color: var(--ink);
}

.chip.is-active {
  color: var(--ink);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.35rem 0 1.25rem;
}

.jump-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
}

.jump-chip span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
}

.jump-chip:hover {
  color: var(--ink);
}

.origin-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
}

.origin-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
}

.origin-base {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
}

a.origin-base:hover {
  color: var(--accent);
}

.group {
  margin-bottom: 2rem;
  scroll-margin-top: 7rem;
}

.group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.group h3 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.group-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
}

.rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.rows.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.85rem;
  border-top: none;
  padding-top: 0.25rem;
}

.rows.tiles > li {
  border: none;
}

.row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.rows.tiles .row {
  grid-template-columns: 1fr;
  align-items: stretch;
  padding: 0;
  border: none;
  height: 100%;
}

.row-main,
.tile-main {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 0.85rem;
  align-items: center;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.tile-main {
  grid-template-columns: 1fr;
  gap: 0.55rem;
  height: 100%;
}

.row-main:hover .name,
.tile-main:hover .name {
  color: var(--accent);
}

.thumb {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: cover;
  background: var(--thumb);
  display: block;
}

.thumb-fallback {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  background: var(--thumb);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.tile-frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--thumb);
}

.tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.tile-main:hover .tile-img {
  transform: scale(1.04);
}

.tile-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: linear-gradient(145deg, #2a231c, #14110e);
}

.tile-fallback[data-kind="video"] {
  color: var(--video);
}

.tile-fallback[data-kind="audio"] {
  color: var(--audio);
}

.tile-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.tile-copy .name,
.tile-copy .path {
  display: block;
}

.rows.tiles .side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  text-align: left;
  padding: 0 0.1rem 0.35rem;
}

.rows.tiles .row-actions {
  margin-top: 0;
}

.copy {
  min-width: 0;
}

.name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  word-break: break-word;
  transition: color 0.15s ease;
}

.path {
  margin: 0.15rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inline-audio {
  display: block;
  width: min(100%, 22rem);
  height: 2rem;
  margin-top: 0.45rem;
}

.side {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  white-space: nowrap;
}

.side .type {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.row[data-type="video"] .type {
  color: var(--video);
}

.row[data-type="audio"] .type {
  color: var(--audio);
}

.row[data-type="image"] .type {
  color: var(--image);
}

.row[data-type="doc"] .type {
  color: var(--doc);
}

.row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.copy-btn,
.open-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 0.2rem 0.45rem;
  font: inherit;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-decoration: none;
  cursor: pointer;
}

.copy-btn:hover,
.open-btn:hover {
  color: var(--ink);
  border-color: rgba(243, 235, 226, 0.3);
}

.copy-btn.is-copied {
  color: var(--ok);
  border-color: var(--ok);
}

.empty,
.empty-filter {
  padding: 1.5rem 0;
  color: var(--muted);
}

.foot {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.foot p {
  margin: 0;
}

.foot a {
  color: var(--accent);
  text-decoration: none;
}

.foot a:hover {
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.group[hidden],
.origin[hidden],
.row[hidden],
.jump-chip[hidden],
.empty-filter[hidden] {
  display: none !important;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ken {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

/* —— Immersive stage —— */
.stage {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(6, 5, 4, 0.92);
  backdrop-filter: blur(18px) saturate(1.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.stage.is-open {
  opacity: 1;
  pointer-events: auto;
}

.stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2rem);
}

.stage-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.stage-close {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.stage-close:hover,
.stage-close:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.stage-frame {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.stage-media {
  width: min(100%, 96rem);
  max-height: min(78vh, 100%);
  display: grid;
  place-items: center;
}

.stage-media video,
.stage-media img,
.stage-media iframe {
  display: block;
  width: 100%;
  max-height: min(78vh, 100%);
  height: auto;
  object-fit: contain;
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.stage-media video {
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: min(78vh, 100%);
  background: #000;
}

.stage-media iframe {
  width: min(100%, 56rem);
  height: min(78vh, 42rem);
  border: 0;
  background: #111;
}

.stage-media audio {
  width: min(100%, 36rem);
}

.stage-poster-audio {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  width: min(100%, 28rem);
}

.stage-poster-audio img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.stage-meta {
  padding: 1.25rem clamp(1rem, 3vw, 2rem) 1.75rem;
  width: min(100%, 56rem);
  margin: 0 auto;
  display: grid;
  gap: 0.35rem;
}

.stage-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.stage-blurb {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.stage-actions {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.stage-actions a {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.stage-actions a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .spot-media,
  .spot-media:not(:has(video)),
  .rail-section,
  .feat,
  .shelf,
  .hero,
  .catalog {
    animation: none;
    transform: none;
  }

  .feat-img,
  .shelf-cover,
  .tile-img {
    transition: none;
  }

  .stage {
    transition: none;
  }
}

@media (max-width: 900px) {
  .shelves {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .spot-inner {
    gap: 3rem;
    padding-bottom: 2.5rem;
  }

  .feature-rail {
    grid-auto-columns: minmax(14rem, 78vw);
  }

  .row:not(.tile) {
    grid-template-columns: 1fr;
  }

  .row:not(.tile) .side {
    text-align: left;
    padding-left: calc(3.5rem + 0.85rem);
  }

  .search-hint {
    display: none;
  }
}
