/* =========================================================
   KELLER(BR) — Echo Studio · v1
   Night-club low-key system: void black, bone, oxblood, signal red
   ========================================================= */

:root {
  --void: #060606;
  --ink: #0d0d0f;
  --ink-2: #151517;
  --bone: #ece8e1;
  --ash: #8c8a86;
  --line: rgba(236, 232, 225, .14);
  --oxblood: #770404;
  --oxblood-2: #5a0303;
  --signal: #ff2e2e;
  --led: #3fd3d6;

  --f-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --f-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, blockquote, ol, ul { margin: 0; }
ol, ul { list-style: none; padding: 0; }
strong, b { font-weight: 500; }
::selection { background: var(--signal); color: var(--void); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.wrap { padding-inline: var(--gutter); max-width: 1680px; margin-inline: auto; }

/* ---------- Type primitives ---------- */
.display {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: -.015em;
}
.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.4;
}
.label { color: var(--ash); display: inline-flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.label:has(.dot)::before { display: none; }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 88px); }
.sec-title { font-size: clamp(44px, 8.4vw, 150px); }

.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 0 0 rgba(255, 46, 46, .6); animation: pulse 1.8s infinite;
  display: inline-block;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 46, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 46, 46, 0); } }

/* ---------- Brand masks ---------- */
.mask-logo {
  display: block;
  aspect-ratio: 480.38 / 238.26;
  background: currentColor;
  -webkit-mask: url(../assets/brand/logo.svg) center / contain no-repeat;
          mask: url(../assets/brand/logo.svg) center / contain no-repeat;
}
.mask-shroom, .shroom {
  display: inline-block;
  aspect-ratio: 52.37 / 83.13;
  background: currentColor;
  -webkit-mask: url(../assets/brand/mushroom.svg) center / contain no-repeat;
          mask: url(../assets/brand/mushroom.svg) center / contain no-repeat;
}
.shroom-alt {
  display: inline-block;
  aspect-ratio: 85.81 / 169.17;
  background: currentColor;
  -webkit-mask: url(../assets/brand/mushroom-alt.svg) center / contain no-repeat;
          mask: url(../assets/brand/mushroom-alt.svg) center / contain no-repeat;
}

/* ---------- Buttons & links ---------- */
.btn {
  --bg: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  background: var(--bg); overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.btn span { display: inline-flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  background: var(--fill, var(--bone)); transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn--signal { --bg: var(--oxblood); --fill: var(--signal); color: var(--bone); }
.btn--signal:hover { color: var(--void); }
.btn--ghost { border: 1px solid rgba(236, 232, 225, .35); --fill: var(--bone); }
.btn--ghost:hover { color: var(--void); }

.link-arrow {
  display: inline-flex; gap: 10px; align-items: center; color: var(--bone);
  padding-bottom: 6px; border-bottom: 1px solid var(--line); transition: border-color .3s, color .3s;
}
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover { color: var(--signal); border-color: var(--signal); }
.link-arrow:hover span { transform: translate(3px, -3px); }

.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.eq i { width: 2px; height: 100%; background: currentColor; transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.35s; }
.eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

/* ---------- FX: grain, progress, cursor ---------- */
.grain {
  position: fixed; inset: -100%; z-index: 90; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(4%, -6%); }
  60% { transform: translate(-3%, 7%); } 80% { transform: translate(6%, 2%); } 100% { transform: translate(-2%, -4%); }
}
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 95; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--signal); transform-origin: left; transform: scaleX(0); }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--bone); mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s;
  opacity: 0;
}
.cursor__label { color: var(--void); font-size: 10px; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.cursor.is-label { width: 84px; height: 84px; margin: -42px 0 0 -42px; mix-blend-mode: normal; background: var(--signal); }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--void);
  display: grid; place-items: center; color: var(--bone);
}
.loader__logo { width: min(64vw, 460px); clip-path: inset(0 100% 0 0); }
.loader__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px;
  display: flex; justify-content: space-between; color: var(--ash);
}
.loader__count { color: var(--bone); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 80; height: var(--header-h);
  display: flex; align-items: center; gap: 32px; padding-inline: var(--gutter);
  transition: background .5s, backdrop-filter .5s, transform .6s var(--ease);
}
.header.is-scrolled { background: rgba(6, 6, 6, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header.is-hidden { transform: translateY(-100%); }
.header__logo { width: 96px; color: var(--bone); }
.header__logo:hover { color: var(--signal); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ash); position: relative; padding: 6px 0; transition: color .3s;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--signal); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--bone); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__cta { height: 40px; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--bone); transition: transform .5s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 70; background: var(--oxblood);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__nav { display: grid; gap: 4px; }
.menu__nav a {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(30px, 8.6vw, 64px); line-height: 1.05; display: flex; align-items: flex-start; gap: 12px;
}
.menu__nav a .mono { font-size: 10px; padding-top: 8px; opacity: .6; }
.menu__foot { display: grid; gap: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--header-h) + 8px) var(--gutter) 28px;
}
.hero__media { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.hero__media img, .hero__media picture { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 100% 30%; }
/* photo shown as delivered: no colour filter; 3% scale only gives the mouse parallax some bleed */
.hero__media img { transform: scale(1.03); }
.hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 6, 6, .55) 0%, rgba(6, 6, 6, .3) 28%, transparent 48%),
    linear-gradient(180deg, rgba(6, 6, 6, .45) 0%, transparent 18%, transparent 68%, var(--void) 100%);
}
.hero__top, .hero__title, .hero__bottom { position: relative; z-index: 3; }
.hero__top { display: flex; justify-content: space-between; color: var(--bone); opacity: .85; }
.hero__title { display: grid; place-items: end start; padding-bottom: clamp(20px, 4vh, 48px); }
.hero__logo { width: min(44vw, 660px, 70svh); color: var(--bone); filter: drop-shadow(0 20px 60px rgba(0, 0, 0, .55)); }
.hero__bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; }
.hero__words {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(14px, 1.3vw, 20px); line-height: 1.15; letter-spacing: .02em;
}
.hero__ctas { display: flex; gap: 12px; justify-self: end; flex-wrap: wrap; justify-content: flex-end; }
.hero__scroll { display: grid; justify-items: center; gap: 10px; color: var(--ash); }
.hero__scroll i { width: 1px; height: 48px; background: linear-gradient(var(--bone), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--signal); animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

.reveal-line { display: block; overflow: hidden; }
.reveal-line > i { display: block; font-style: normal; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0;
  background: var(--void); position: relative; z-index: 2;
}
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; will-change: transform; }
.marquee__track span {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(28px, 4.2vw, 64px); line-height: 1; white-space: nowrap;
}
.marquee__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--bone); }
.marquee__track i { width: clamp(16px, 1.6vw, 26px); color: var(--signal); flex: none; }

/* ---------- Proof (LED) ---------- */
.proof { position: relative; height: 280vh; }
.proof__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.proof__frame {
  position: absolute; inset: 0; will-change: clip-path, transform;
  clip-path: inset(18% 32% 18% 32% round 20px);
}
.proof__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; will-change: transform; }
.proof__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 6, 6, .85) 0%, rgba(6, 6, 6, .2) 55%, transparent 100%), linear-gradient(0deg, rgba(6, 6, 6, .6), transparent 40%);
  opacity: var(--shade, 0);
}
.proof__copy {
  position: absolute; left: var(--gutter); bottom: clamp(28px, 7vh, 72px); z-index: 2;
  max-width: min(980px, 92vw); display: grid; gap: 18px; justify-items: start;
}
.proof__kicker { display: inline-flex; align-items: center; gap: 10px; }
.proof__title { font-size: clamp(36px, 4.6vw, 88px); line-height: .92; display: grid; }
.proof__title span { display: block; }
@media (min-width: 900px) { .proof__title span { white-space: nowrap; } }
.proof__title span:last-child { color: var(--signal); }
.proof__sub { max-width: 440px; color: rgba(236, 232, 225, .8); }

/* ---------- Story ---------- */
.story { position: relative; padding-top: clamp(80px, 10vw, 140px); }
.story__head { margin-bottom: clamp(24px, 3vw, 40px); }
.timeline { position: relative; overflow: hidden; }
@media (min-width: 900px) {
  /* the whole section (label + track) is pinned at exactly one viewport: nothing shifts when the pin engages */
  .story { height: 100vh; height: 100svh; padding-top: calc(var(--header-h) + 24px); padding-bottom: clamp(24px, 4vh, 48px); display: flex; flex-direction: column; }
  .story__head { flex: none; width: 100%; margin-bottom: clamp(12px, 2.4vh, 28px); }
  .timeline { flex: 1; min-height: 0; }
  .timeline__track { height: 100%; }
  .chapter { height: 100%; padding-block: 16px 8px; }
  .chapter__fig { max-height: 52%; }
}
.timeline__track { display: flex; gap: 0; width: max-content; padding-inline: var(--gutter); will-change: transform; }
.chapter {
  width: clamp(300px, 28vw, 440px); flex: none; padding: 36px 36px 48px; border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px; justify-content: flex-end; position: relative;
}
.chapter > p:not(.mono):not(.chapter__quote) { color: rgba(236, 232, 225, .78); max-width: 34ch; }
.chapter__when { color: var(--signal); }
.chapter__place { color: var(--ash); margin-top: -6px; }
.chapter__title { font-size: clamp(30px, 2.8vw, 48px); line-height: .92; }
.chapter--img { width: clamp(320px, 34vw, 540px); }
.chapter__fig { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: auto; transform: rotate(-3deg); }
.chapter--img:nth-child(4n) .chapter__fig { transform: rotate(2.5deg); }
.chapter__fig img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: filter .8s var(--ease); }
.chapter:hover .chapter__fig img { filter: grayscale(0); }
.chapter--signal { background: linear-gradient(180deg, transparent, rgba(119, 4, 4, .35)); }
.chapter--end { justify-content: center; width: clamp(320px, 40vw, 640px); }
.chapter__quote { font-size: clamp(40px, 5vw, 88px); color: var(--bone); }

/* ---------- Music ---------- */
.music { padding-block: clamp(100px, 14vw, 200px); }
.video { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); margin-bottom: clamp(48px, 6vw, 80px); }
.video__poster { position: absolute; inset: 0; width: 100%; display: block; text-align: left; }
.video__bg { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(48px) saturate(1.4) brightness(.45); }
.video__poster::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(6,6,6,.85), rgba(6,6,6,.1) 60%); }
.video__flyer { position: absolute; z-index: 1; right: 8%; top: 9%; height: 82%; width: auto; border-radius: 10px; transform: rotate(4deg); box-shadow: 0 40px 80px rgba(0,0,0,.6); transition: transform 1s var(--ease); }
.video__poster:hover .video__flyer { transform: rotate(0deg) scale(1.03); }
.video__play { z-index: 2; }
.video__meta { z-index: 2; }
.video__play {
  position: absolute; left: 38%; top: 50%; width: clamp(72px, 9vw, 128px); aspect-ratio: 1; margin: 0; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--oxblood); display: grid; place-items: center; transition: background .4s, transform .6s var(--ease);
}
.video__play svg { width: 34%; margin-left: 6%; }
.video__poster:hover .video__play { background: var(--signal); transform: translate(-50%, -50%) scale(1.08); }
.video__meta { position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); display: grid; gap: 10px; }
.video__meta .display { font-size: clamp(26px, 4vw, 64px); }
.video__meta .mono { color: rgba(236, 232, 225, .75); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.tracks { border-top: 1px solid var(--line); }
.track { border-bottom: 1px solid var(--line); }
.track__row {
  width: 100%; display: grid; grid-template-columns: 48px 72px 1fr auto 120px; align-items: center; gap: 24px;
  padding: 20px 8px; text-align: left; transition: background .4s, padding .5s var(--ease);
}
.track__row:hover, .track.is-open .track__row { background: var(--ink); padding-inline: 20px; }
.track__n { color: var(--ash); }
.track__art { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; filter: grayscale(1); transition: filter .5s; }
.track__row:hover .track__art, .track.is-open .track__art { filter: none; }
.track__title { display: grid; gap: 6px; }
.track__title b { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(18px, 1.9vw, 30px); text-transform: uppercase; line-height: 1; }
.track__title .mono { color: var(--ash); }
.track__tag { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--ash); }
.track__play { display: inline-flex; gap: 10px; align-items: center; justify-self: end; color: var(--bone); }
.track__play .eq { opacity: .3; }
.track__play .eq i { animation-play-state: paused; }
.track.is-open .track__play { color: var(--led); }
.track.is-open .track__play .eq { opacity: 1; }
.track.is-open .track__play .eq i { animation-play-state: running; }
.track__player { height: 0; overflow: hidden; transition: height .7s var(--ease); }
.track.is-open .track__player { height: 182px; }
.track__player iframe { width: 100%; height: 166px; border: 0; margin: 8px 0; border-radius: 8px; }
.music__more { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 40px; }

/* ---------- Stages ---------- */
.stages { padding-block: clamp(80px, 10vw, 160px); position: relative; }
.sec-head--tight { gap: 16px; margin-bottom: clamp(24px, 3vw, 40px); grid-template-columns: minmax(0, 1fr); }
.sec-title--sm { font-size: clamp(40px, 5.4vw, 88px); }
.agenda-intro { color: var(--ash); max-width: 64ch; }

/* ---------- Palcos: list of stops (same structure as the approved reference) ---------- */
.agenda { border-top: 1px solid var(--line); }
.agenda-row {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(160px, 260px) auto 150px; column-gap: 24px; align-items: center;
  padding-block: clamp(14px, 1.9vh, 20px); border-bottom: 1px solid var(--line); transition: background .4s var(--ease);
}
.agenda-row:hover { background: var(--ink); }
.ag-date { color: var(--ash); }
.ag-city {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(18px, 1.7vw, 28px); line-height: 1.05; letter-spacing: -.005em; color: var(--bone); transition: color .3s;
}
.agenda-row:hover .ag-city { color: var(--signal); }
.ag-venue { color: var(--ash); font-size: 15px; }
.ag-status { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; color: var(--ash); justify-self: start; }
.ag-open {
  justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 40px; padding-inline: 16px; min-width: 130px;
  border: 1px solid rgba(236, 232, 225, .28); border-radius: 999px; color: var(--bone); transition: background .35s var(--ease), color .35s, border-color .35s;
}
.ag-open:hover, .ag-open:focus-visible { background: var(--signal); border-color: var(--signal); color: var(--void); }
.ag-open-arrow { transition: transform .4s var(--ease); }
.ag-open:hover .ag-open-arrow { transform: translate(2px, -2px); }
.agenda-note { margin-top: 24px; color: var(--ash); }
.agenda-note a { color: var(--bone); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.agenda-note a:hover { color: var(--signal); border-color: var(--signal); }

/* ---------- Palcos: player window ---------- */
.stop-modal { padding: 0; border: 0; background: transparent; color: var(--bone); max-width: none; max-height: none; width: min(1080px, 94vw); margin: auto; overflow: visible; }
.stop-modal::backdrop { background: rgba(6, 6, 6, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.stop-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: 1fr auto;
  background: var(--ink); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; max-height: 90vh; max-height: 90svh;
}
.stop-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; display: inline-flex; gap: 8px; align-items: center; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 8px; background: rgba(6, 6, 6, .6); transition: background .3s, color .3s;
}
.stop-close:hover { background: var(--signal); color: var(--void); }
.stop-stage { grid-row: 1; background: #000; min-height: 300px; position: relative; overflow: hidden; }
.stop-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stop-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stop-play { position: absolute; inset: 0; display: grid; place-items: center; }
.stop-play span { width: 84px; height: 84px; border-radius: 50%; background: var(--oxblood); display: grid; place-items: center; transition: background .3s, transform .5s var(--ease); }
.stop-play:hover span { background: var(--signal); transform: scale(1.06); }
.stop-play svg { width: 30px; margin-left: 5px; }
.stop-body { grid-row: 1; padding: clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 18px; overflow-y: auto; }
.stop-kicker { display: flex; align-items: center; gap: 14px; color: var(--ash); }
.stop-kicker i { flex: 1; height: 1px; background: var(--line); }
.stop-title { font-size: clamp(32px, 4vw, 64px); line-height: .92; }
.stop-copy { color: rgba(236, 232, 225, .78); max-width: 44ch; }
.stop-route { grid-column: 1 / -1; display: flex; align-items: stretch; border-top: 1px solid var(--line); min-width: 0; }
.stop-step { width: 52px; flex: none; font-size: 18px; transition: background .3s, color .3s; }
.stop-step:hover { background: var(--signal); color: var(--void); }
.stop-count { display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; padding-inline: 18px; border-inline: 1px solid var(--line); color: var(--ash); }
.stop-count b { color: var(--bone); font-weight: 400; }
.stop-list { flex: 1; min-width: 0; display: flex; overflow-x: auto; scrollbar-width: none; }
.stop-list::-webkit-scrollbar { display: none; }
.stop-list button { white-space: nowrap; padding: 16px 18px; color: var(--ash); display: inline-flex; align-items: center; gap: 10px; transition: color .3s; }
.stop-list button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; }
.stop-list button:hover { color: var(--bone); }
.stop-list button[aria-current="true"] { color: var(--bone); }
.stop-list button[aria-current="true"]::before { background: var(--signal); opacity: 1; }


/* ---------- Edge (diferenciais) ---------- */
.edge { position: relative; overflow: hidden; padding-block: clamp(100px, 14vw, 200px); }
.edge__bg { position: absolute; inset: -12% 0; z-index: 0; }
.edge__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; filter: grayscale(1) brightness(.22) contrast(1.2); }
.edge::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--void), transparent 25%, transparent 75%, var(--void)); }
.edge__inner { position: relative; z-index: 2; }
.edge__list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.edge__list li { padding: 36px 28px 44px 0; border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.edge__list li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.edge__list .mono { color: var(--signal); }
.edge__list h3 { font-family: var(--f-display); font-stretch: 115%; font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2vw, 32px); line-height: 1; }
.edge__list p { color: rgba(236, 232, 225, .72); max-width: 32ch; }

/* ---------- Gallery: pinned horizontal scroll on every screen size, one uniform card size ---------- */
.gallery { height: 100vh; height: 100svh; padding-top: calc(var(--header-h) + 8px); padding-bottom: clamp(20px, 4vh, 40px); display: flex; flex-direction: column; overflow: hidden; background: var(--void); }
.gallery__head { flex: none; width: 100%; display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(12px, 2.4vh, 28px); }
.gallery__hint { color: var(--ash); }
.gallery__viewport { flex: 1; min-height: 0; display: flex; align-items: center; overflow: hidden; }
.gallery__track { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); padding-inline: var(--gutter); width: max-content; height: 100%; will-change: transform; }
.g { flex: none; height: min(100%, 84vw * 1.25); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; position: relative; }
.g img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.g-end {
  flex: none; height: min(100%, 84vw * 1.25); aspect-ratio: 4 / 5; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 36px); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 14px;
  background: linear-gradient(160deg, rgba(119, 4, 4, .55), rgba(13, 13, 15, .9) 60%);
}
.g-end .mono { color: var(--ash); }
.g-end h3 { font-size: clamp(28px, 3.2vw, 52px); }
.g-end p:not(.mono) { color: rgba(236, 232, 225, .75); max-width: 28ch; margin-bottom: 6px; }
.edge { padding-bottom: clamp(60px, 8vw, 120px); }

/* ---------- Booking (fits one viewport) ---------- */
.booking {
  position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-block: calc(var(--header-h) + 16px) clamp(32px, 5vh, 56px);
}
.booking__bg { position: absolute; inset: -15% 0; z-index: 0; }
.booking__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.22); }
.booking::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(70% 60% at 85% 100%, rgba(119, 4, 4, .75), transparent 70%), linear-gradient(180deg, var(--void), transparent 30%);
}
.booking__inner { position: relative; z-index: 2; display: grid; gap: clamp(16px, 3.2vh, 32px); width: 100%; }
.booking__title { font-size: clamp(36px, min(6.6vw, 11.5vh), 124px); display: grid; }
.booking__title em { font-style: normal; color: var(--signal); }
.booking__mail {
  font-family: var(--f-body); font-weight: 300; font-size: clamp(22px, min(3.6vw, 6.4vh), 64px); letter-spacing: -.03em; line-height: 1;
  display: inline-flex; gap: .3em; align-items: center; justify-self: start; position: relative; padding-bottom: .14em; word-break: break-all;
}
.booking__mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--signal); transform: scaleX(.2); transform-origin: left; transition: transform .8s var(--ease); }
.booking__mail:hover::after { transform: scaleX(1); }
.booking__mail span { color: var(--signal); font-size: .6em; transition: transform .5s var(--ease); }
.booking__mail:hover span { transform: translate(6px, -6px); }
.booking__note { max-width: 620px; color: rgba(236, 232, 225, .78); font-size: clamp(14px, 1vw, 17px); }
.booking__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 4px; }
.bcard {
  position: relative; display: grid; gap: clamp(12px, 2.4vh, 24px); padding: clamp(14px, 2.2vh, 20px) 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(13, 13, 15, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .5s var(--ease), border-color .5s, transform .6s var(--ease);
}
.bcard .mono { color: var(--ash); }
.bcard b { font-weight: 400; font-size: clamp(15px, 1.2vw, 19px); }
.bcard i { position: absolute; right: 18px; top: 14px; font-style: normal; color: var(--signal); transition: transform .5s var(--ease); }
.bcard:hover { background: var(--oxblood); border-color: var(--oxblood); transform: translateY(-4px); }
.bcard:hover .mono { color: rgba(236, 232, 225, .75); }
.bcard:hover i { transform: translate(3px, -3px); color: var(--bone); }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding-top: 40px; border-top: 1px solid var(--line); }
.footer::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(6, 6, 6, 0), var(--void) 72%); }
.footer__logo { width: 104%; margin-left: -2%; color: var(--oxblood); margin-bottom: -18%; opacity: .95; }
.footer__row { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px 28px; color: var(--ash); }
.footer__top:hover { color: var(--signal); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .booking__grid { grid-template-columns: repeat(2, 1fr); }
  .edge__list { grid-template-columns: repeat(2, 1fr); }
  .edge__list li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .edge__list li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
}

@media (max-width: 899px) {
  .video { aspect-ratio: 4 / 5; }
  .video__poster::before { background: linear-gradient(0deg, rgba(6,6,6,.9), rgba(6,6,6,.1) 55%); }
  .video__flyer { right: auto; left: 50%; top: 6%; height: 60%; transform: translateX(-50%) rotate(3deg); }
  .video__poster:hover .video__flyer { transform: translateX(-50%) rotate(0deg); }
  .video__play { left: 50%; top: 36%; width: 72px; }
  :root { --header-h: 64px; }
  .nav, .header__cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .header__logo { width: 84px; }

  /* portrait: the photo sits centred in the upper part and fades into black under the logo */
  .hero__media { inset: 0 0 auto 0; height: 66%; }
  .hero__media img { object-position: 50% 12%; }
  .hero__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, transparent, var(--void)); }
  .hero__shade { background: linear-gradient(180deg, rgba(6, 6, 6, .55) 0%, transparent 20%, transparent 45%, rgba(6, 6, 6, .85) 78%, var(--void) 100%); }
  .hero__logo { width: min(80vw, 420px); }
  .hero__bottom { grid-template-columns: 1fr; gap: 28px; }
  .hero__scroll { display: none; }
  .hero__ctas { justify-self: stretch; justify-content: stretch; }
  .hero__ctas .btn { flex: 1; }
  .hero__top { font-size: 10px; }

  .proof { height: 220vh; }
  .proof__frame { clip-path: inset(22% 12% 30% 12% round 16px); }
  .proof__frame img { object-position: 74% 50%; }

  .timeline { overflow: visible; }
  .timeline__track { flex-direction: column; width: auto; }
  .chapter, .chapter--img, .chapter--end { width: auto; min-height: 0; padding: 32px 0 40px 24px; }
  .chapter__fig { margin-bottom: 8px; }


  .track__row { grid-template-columns: 56px 1fr auto; gap: 14px; padding: 16px 0; }
  .track__row:hover, .track.is-open .track__row { padding-inline: 10px; }
  .track__n, .track__tag { display: none; }
  .track__art { width: 56px; height: 56px; }
  .track__play .mono { display: none; }

  /* stops: stack date / name / place, button on the right (status pill hidden) */
  .agenda-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "date btn" "city btn" "venue btn"; row-gap: 4px; padding-block: 16px; }
  .ag-date { grid-area: date; } .ag-city { grid-area: city; } .ag-venue { grid-area: venue; font-size: 14px; }
  .ag-status { display: none; }
  .ag-open, .ag-open-spacer { grid-area: btn; }
  .ag-open { min-width: 0; padding-inline: 14px; }
  .agenda-note { text-align: left; }
  .stop-card { grid-template-columns: 1fr; grid-template-rows: auto auto auto; overflow-y: auto; }
  .stop-stage { grid-row: 1; min-height: 0; aspect-ratio: 16 / 10; }
  .stop-body { grid-row: 2; padding: 22px 20px; overflow: visible; }
  .stop-route { grid-row: 3; }
  .stop-list { display: none; }
  .stop-count { flex: 1; }
  .stop-step { width: 64px; }


}

@media (max-width: 640px) {
  .edge__list { grid-template-columns: 1fr; }
  .edge__list li:nth-child(even) { padding-left: 0; border-left: 0; }
  .booking__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bcard { padding: 12px 14px; gap: 10px; }
  .bcard b { font-size: 14px; word-break: break-word; }
  .music__more { flex-direction: column; gap: 20px; align-items: flex-start; }
}

/* ---------- Hero, desktop framing (matched to the approved reference, a 1840x1035 window) ---------- */
@media (min-width: 900px) {
  .hero__media { inset: 0; }
  .hero__media img { object-position: 50% 25%; }
  /* lighter bottom fade so the shirt print keeps its colour */
  .hero__shade { background: linear-gradient(90deg, rgba(6, 6, 6, .5) 0%, rgba(6, 6, 6, .25) 26%, transparent 44%), linear-gradient(180deg, rgba(6, 6, 6, .4) 0%, transparent 16%, transparent 84%, var(--void) 100%); }
  .hero__logo { width: min(40.6vw, 72svh, 900px); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { animation: none; }
  .proof { height: auto; }
  .proof__sticky { position: relative; }
  .proof__frame { clip-path: none; }
  .proof__frame img { transform: none; }
  .proof__frame { --shade: 1; }
  .loader { display: none; }
}
