/* v2.1: 3D mural hero, brand marquee, photo bento, first visit, inside the shop */
.btn-lg { --h: 56px; padding: 0 26px; font-size: 1rem; }

/* ---------- 3D hero ---------- */
.hero3d { position: relative; isolation: isolate; min-height: max(640px, min(calc(100svh - 108px), 920px)); display: flex; align-items: center; overflow: hidden; }
.hero-stage { position: absolute; inset: 0; z-index: -1; --cat-x: 0.68; --cat-y: 0.5; background: var(--bg); }
.hero-still, #hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-still { object-fit: cover; object-position: 64% 55%; transform: scale(1.06); transition: opacity 1.2s var(--ease); }
#hero-gl { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-stage.is-live #hero-gl { opacity: 1; }
.hero-stage.is-live .hero-still { opacity: 0; }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 8, 15, 0.96) 0%, rgba(4, 8, 15, 0.86) 26%, rgba(4, 8, 15, 0.35) 46%, rgba(4, 8, 15, 0) 62%),
    linear-gradient(0deg, var(--bg) 0%, rgba(4, 8, 15, 0) 22%),
    linear-gradient(180deg, rgba(4, 8, 15, 0.55) 0%, rgba(4, 8, 15, 0) 16%); }
.hero-content { position: relative; padding-top: clamp(48px, 8vh, 96px); padding-bottom: clamp(64px, 10vh, 120px); }
.hero-content > * { max-width: 600px; }
.hero-content h1 { margin: 18px 0 22px; text-shadow: 0 2px 40px rgba(4, 8, 15, 0.6); }
.hero-content h1 span { display: block; }
/* The eyebrow sits inside the H1 so the heading names the town; it keeps the look of a .tag. */
.hero-content h1.has-kicker { margin-top: 0; }
.hero-content h1 .tag { display: flex; max-width: 100%; margin-bottom: 18px; line-height: 1.2; letter-spacing: 0.08em; text-shadow: none; }
.hero-content .lede { color: var(--text-1); opacity: 0.88; max-width: 44ch; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 36px; padding-top: 22px; border-top: 1px solid var(--line-2); max-width: 560px; }
.hero-facts b { display: block; font-size: var(--fs-xs); font-weight: 500; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.hero-facts span, .hero-facts a { font-size: 0.9375rem; color: var(--text-1); text-decoration: none; }
.hero-caption { position: absolute; right: var(--gutter); bottom: 22px; margin: 0; display: inline-flex; align-items: center; gap: 10px; font-size: 0.8125rem; color: var(--text-2); }
.hero-caption::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(57, 255, 110, 0.14); }
@media (max-width: 900px) {
  .hero3d { display: block; min-height: 0; }
  .hero-stage { position: relative; height: max(380px, 58svh); --cat-x: 0.5; --cat-y: 0.46; }
  .hero-still { object-position: 64% 50%; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(4, 8, 15, 0) 40%), linear-gradient(180deg, rgba(4, 8, 15, 0.5) 0%, rgba(4, 8, 15, 0) 18%); }
  .hero-content { margin-top: -96px; padding-top: 0; padding-bottom: 56px; }
  .hero-caption { top: 16px; bottom: auto; }
}

/* ---------- brand marquee ---------- */
.brands { padding: 34px 0 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--void); overflow: hidden; }
.brands-head { margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: tick 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > div { display: flex; align-items: center; }
.marquee-track span { font: 400 clamp(2rem, 1.6rem + 1.6vw, 3.2rem) / 1 var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; color: transparent; -webkit-text-stroke: 1px rgba(221, 229, 240, 0.55); padding: 0 6px; white-space: nowrap; transition: color 0.3s; }
.marquee-track span:hover { color: var(--text-display); }
.marquee-track i { width: 10px; height: 10px; margin: 0 30px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px rgba(57, 255, 110, 0.6); flex: none; }

/* ---------- photo bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 14px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); text-decoration: none; background: var(--card); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease), filter 0.6s; filter: saturate(0.92); z-index: -2; }
.tile:hover img { transform: scale(1.08); filter: saturate(1.05); }
.tile-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 8, 15, 0.15) 0%, rgba(4, 8, 15, 0.25) 40%, rgba(4, 8, 15, 0.92) 100%); }
.tile:hover { border-color: rgba(57, 255, 110, 0.5); }
.tile .from { position: absolute; top: 14px; right: 14px; padding: 6px 12px; border-radius: 999px; font-size: 0.8125rem; color: var(--text-2); background: rgba(4, 8, 15, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); }
.tile .from b { color: var(--text-1); font-weight: 600; }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; }
.tile h3 { font: 400 clamp(1.7rem, 1.4rem + 1vw, 2.3rem) / 1 var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; color: var(--text-display); }
.tile p { margin: 8px 0 0; font-size: 0.9375rem; color: var(--text-2); line-height: 1.45; max-width: 34ch; }
.tile-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 0.875rem; font-weight: 600; color: var(--green-text); opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.4s var(--ease); }
.tile-go svg { width: 16px; height: 16px; }
.tile:hover .tile-go, .tile:focus-visible .tile-go { opacity: 1; transform: none; }
@media (hover: none) { .tile-go { opacity: 1; transform: none; } }
.bento .tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento .tile:nth-child(1) h3 { font-size: clamp(2.6rem, 2rem + 2.6vw, 4.4rem); }
.bento .tile:nth-child(6), .bento .tile:nth-child(7) { grid-column: span 2; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 210px; }
  .bento .tile:nth-child(1) { grid-row: span 1; grid-column: span 2; }
  .bento .tile:nth-child(6), .bento .tile:nth-child(7) { grid-column: span 1; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 190px; }
  .bento .tile:nth-child(1) { grid-column: auto; grid-row: span 1; height: 240px; }
}

/* ---------- first visit ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step { position: relative; padding: 30px 26px 28px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.step::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(57, 255, 110, 0.12), transparent 70%); pointer-events: none; }
.step-n { display: block; font: 400 3.4rem / 1 var(--font-display); color: transparent; -webkit-text-stroke: 1.2px var(--green); margin-bottom: 18px; }
.step h3 { font-size: var(--fs-lg); font-weight: 600; margin-bottom: 10px; }
.step p { margin: 0; color: var(--text-2); }
.step a { color: var(--green-text); text-underline-offset: 3px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- inside the shop ---------- */
.inside { position: relative; margin: clamp(48px, 7vw, 88px) auto 0; }
.inside img:first-child { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line-2); box-shadow: 0 50px 120px -50px rgba(57, 255, 110, 0.25); }
.inside figcaption { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: 0.875rem; color: var(--text-2); }
.inside-alien { position: absolute; width: clamp(90px, 10vw, 150px); right: calc(var(--gutter) + 24px); bottom: 30px; filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.7)); animation: bob 6s ease-in-out infinite; }

.credits { margin: 18px 0 0; font-size: 0.75rem; color: var(--text-3); max-width: none; }
.credits a { color: var(--text-2); }
