/* =========================================================
   Buenos Aires ’26 — travel planner
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --paper: #F7F4EE;
  --sand: #EFE9DE;
  --sand-2: #E6DECF;
  --card: #FFFFFF;
  --ink: #141619;
  --ink-2: #30353C;
  --muted: #6B7079;
  --faint: #9DA1A8;
  --line: rgba(20, 22, 25, .09);
  --line-2: rgba(20, 22, 25, .16);

  --sky: #75AADB;
  --sky-2: #4A86C2;
  --sky-soft: #E3EEF8;
  --navy: #0B1626;
  --navy-2: #13233A;
  --sun: #E3AC3F;
  --sun-soft: #FBF1DC;

  --d-dom: #4A86C2;
  --d-seg: #C9962E;
  --d-ter: #0B1626;
  --d-qua: #C45E43;
  --d-qui: #7C8491;
  --d-base: #141619;

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r-xs: 10px;
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 30px;

  --sh-1: 0 1px 2px rgba(20, 22, 25, .04), 0 10px 30px -14px rgba(20, 22, 25, .14);
  --sh-2: 0 2px 6px rgba(20, 22, 25, .05), 0 30px 70px -30px rgba(20, 22, 25, .32);
  --sh-3: 0 40px 90px -30px rgba(11, 22, 38, .55);

  --ease: cubic-bezier(.2, .75, .15, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --gutter: clamp(18px, 4.5vw, 56px);
  --max: 1260px;
  --top: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top) + 12px);
  overflow-x: clip;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: inherit; }
:focus-visible { outline: 2px solid var(--sky-2); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
::selection { background: var(--sky); color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -.2em;
}

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 200; transform: translateY(-200%);
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px;
  transition: transform .2s;
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .i { width: 16px; height: 16px; }
.eyebrow--light { color: rgba(255, 255, 255, .82); }

.flagline {
  display: inline-block; width: 26px; height: 9px; border-radius: 2px; flex: none;
  background: linear-gradient(var(--sky) 0 33.3%, #fff 33.3% 66.6%, var(--sky) 66.6%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06);
  position: relative;
}
.flagline::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 3px; height: 3px;
  background: var(--sun); border-radius: 50%; transform: translate(-50%, -50%);
}

.pill {
  display: inline-flex; align-items: center; gap: .45em;
  padding: 7px 13px 7px 11px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.pill .i { width: 17px; height: 17px; }
.pill--sky { background: var(--sky-soft); color: var(--sky-2); }
.pill--ink { background: var(--ink); color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: .4em;
  padding: 6px 12px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--ink-2); line-height: 1.3;
}
.chip .i { width: 15px; height: 15px; color: var(--muted); }
.chip--sky { background: var(--sky-soft); border-color: transparent; color: #2F6DA8; }
.chip--glass {
  background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.chip--glass .i { color: var(--sky); }

.btn {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px;
  padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 500;
  transition: background .25s var(--ease), color .25s, transform .25s var(--ease), border-color .25s;
}
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink-2); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn:active { transform: scale(.97); }

/* ---------- Grain ---------- */
.grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 100%;
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--sky), var(--sky-2) 60%, var(--sun));
}

/* =========================================================
   Topbar
   ========================================================= */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top);
  color: #fff;
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s, -webkit-backdrop-filter .4s, backdrop-filter .4s;
}
.topbar.is-solid {
  background: rgba(247, 244, 238, .78);
  -webkit-backdrop-filter: saturate(170%) blur(20px);
  backdrop-filter: saturate(170%) blur(20px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.topbar__inner {
  max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
  height: var(--top);
  display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.brand__mark { display: grid; grid-template-rows: repeat(3, 4px); width: 22px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.brand__mark i:nth-child(odd) { background: var(--sky); }
.brand__mark i:nth-child(2) { background: #fff; position: relative; }
.brand__mark i:nth-child(2)::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--sun); transform: translate(-50%, -50%); }
.brand__text { font-size: 16px; }
.brand__text em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.2em; }

.topnav { display: flex; gap: 4px; margin-left: auto; }
.topnav a {
  position: relative; padding: 8px 13px; border-radius: 999px; font-size: 15px; font-weight: 500;
  opacity: .82; transition: opacity .2s, background .25s;
}
.topnav a:hover { opacity: 1; background: rgba(255, 255, 255, .14); }
.topbar.is-solid .topnav a:hover { background: rgba(20, 22, 25, .06); }
.topnav a.is-active { opacity: 1; }
.topnav a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--sky); transform: translateX(-50%);
}

.topbar__count {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; font-family: var(--mono); font-size: 13px;
  border: 1px solid rgba(255, 255, 255, .3);
  transition: border-color .4s;
}
.topbar.is-solid .topbar__count { border-color: var(--line-2); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 0 rgba(117, 170, 219, .7); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(117, 170, 219, .6); }
  70% { box-shadow: 0 0 0 9px rgba(117, 170, 219, 0); }
  100% { box-shadow: 0 0 0 0 rgba(117, 170, 219, 0); }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: hidden;
  background: var(--navy);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%;
  transform: scale(1.08); animation: heroIn 2.8s var(--ease) forwards;
}
@keyframes heroIn { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 70% at 15% 100%, rgba(11, 22, 38, .85) 0%, rgba(11, 22, 38, 0) 60%),
    linear-gradient(180deg, rgba(11, 22, 38, .62) 0%, rgba(11, 22, 38, .12) 30%, rgba(11, 22, 38, .2) 55%, rgba(11, 22, 38, .88) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  padding-top: calc(var(--top) + env(safe-area-inset-top) + 28px);
  padding-bottom: clamp(28px, 5vw, 56px);
  display: flex; flex-direction: column; flex: 1;
}
.hero__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__coords { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: rgba(255, 255, 255, .7); }

.hero__title {
  margin-top: auto;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(5.2rem, min(17.5vw, 27vh), 17rem);
  line-height: .8; letter-spacing: -.035em;
  padding-top: 4vh;
  text-shadow: 0 10px 60px rgba(11, 22, 38, .35);
}
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__line--it { padding-left: .72em; }
.hero__line--it em { color: #fff; }
.hero__line > * , .hero__line { animation: rise 1.3s var(--ease) both; }
.hero__line--it { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }

.hero__row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
  margin-top: clamp(18px, 3vw, 34px);
  animation: rise 1.3s .25s var(--ease) both;
}
.hero__dates {
  display: inline-flex; align-items: center; gap: .3em;
  font-weight: 300; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.03em; line-height: 1;
}
.hero__dates .i { width: .7em; height: .7em; stroke-width: 1.4; color: var(--sky); }
.hero__dates small {
  font-family: var(--mono); font-size: 13px; letter-spacing: .14em; line-height: 1.25; font-weight: 500;
  margin-left: .9em; padding-left: .9em; border-left: 1px solid rgba(255, 255, 255, .35); color: rgba(255,255,255,.85);
}
.hero__lede { max-width: 38ch; font-size: clamp(16px, 1.4vw, 18px); color: rgba(255, 255, 255, .84); }
.hero__lede strong { color: #fff; font-weight: 600; }

.hero__cards {
  display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 14px;
  margin-top: clamp(26px, 4vw, 44px);
  animation: rise 1.3s .38s var(--ease) both;
}
.fcard {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 18px 20px; border-radius: var(--r);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 20px 50px -20px rgba(0, 0, 0, .4);
  transition: transform .45s var(--ease), background .3s, border-color .3s;
}
.fcard:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .34); }
.fcard__label { display: inline-flex; align-items: center; gap: .5em; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: rgba(255, 255, 255, .78); }
.fcard__label .i { color: var(--sky); width: 17px; height: 17px; }
.fcard__big { font-family: var(--serif); font-size: clamp(1.8rem, 2.6vw, 2.25rem); line-height: 1; letter-spacing: -.01em; }
.fcard__big .vs { font-style: italic; color: var(--sky); padding-inline: .1em; }
.fcard__foot { font-size: 14px; color: rgba(255, 255, 255, .72); margin-top: auto; }
.fcard--match::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--sky) 0 33%, #fff 33% 66%, var(--sky) 66%);
}

.count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.count__cell { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.count__cell b {
  font-family: var(--mono); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1;
  letter-spacing: -.04em; font-variant-numeric: tabular-nums;
}
.count__cell i { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .65); letter-spacing: .06em; }
.count__cell + .count__cell { padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .16); }

.hero__cue {
  position: absolute; z-index: 3; left: 50%; bottom: 14px; transform: translateX(-50%);
  width: 26px; height: 40px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .45);
  display: none;
}
.hero__cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 2px; background: #fff; transform: translateX(-50%); animation: cue 2s infinite var(--ease-io); }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* =========================================================
   Week strip
   ========================================================= */
.week { padding-block: clamp(56px, 8vw, 104px) 0; }
.week__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.stats { display: flex; gap: clamp(20px, 4vw, 48px); }
.stats li { display: flex; align-items: baseline; gap: 8px; }
.stats b { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; }
.stats span { color: var(--muted); font-size: 15px; }

.week__strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.wday { display: flex; flex-direction: column; gap: 12px; width: 100%; text-align: left; }
.wday__img {
  position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden;
  background: var(--sand); box-shadow: var(--sh-1);
}
.wday__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.wday:hover .wday__img img { transform: scale(1.06); }
.wday--match .wday__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 22, 38, .6));
}
.wday__txt { display: flex; flex-direction: column; gap: 2px; padding-inline: 4px; }
.wday__d { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 500; }
.wday__d b { color: var(--ink); font-weight: 600; }
.wday__t { font-family: var(--serif); font-size: 1.4rem; line-height: 1.15; }
.wday:hover .wday__t { color: var(--sky-2); }

/* =========================================================
   Sections
   ========================================================= */
.section { position: relative; padding-block: clamp(80px, 11vw, 150px); scroll-margin-top: 0; }
.section--paper { background: var(--sand); }
.section--paper::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(60% 40% at 90% 0%, rgba(255, 255, 255, .7), transparent 70%);
}
.section > .wrap { position: relative; }

.shead {
  display: grid; grid-template-columns: auto 1fr minmax(0, 340px); align-items: end; gap: 18px 36px;
  margin-bottom: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(22px, 3vw, 32px); border-bottom: 1px solid var(--line-2);
}
.shead__num {
  align-self: start; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--muted);
  padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 999px;
}
.shead__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.2rem, 8vw, 6.6rem); line-height: .92; letter-spacing: -.03em; margin-top: 8px;
}
.shead__aside { color: var(--muted); font-size: 15px; max-width: 40ch; }

/* =========================================================
   Boarding passes
   ========================================================= */
.pass {
  --notch: var(--paper);
  display: grid; grid-template-columns: 1fr 320px;
  background: var(--card); border-radius: var(--r-lg);
  box-shadow: var(--sh-2); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.pass + .pass { margin-top: 28px; }
.pass:hover { transform: translateY(-3px); box-shadow: 0 2px 6px rgba(20,22,25,.05), 0 40px 80px -30px rgba(20,22,25,.34); }
.pass--return { grid-template-columns: 1fr; }
.pass__main { padding: clamp(22px, 3.4vw, 40px); min-width: 0; }
.pass__head { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; }
.pass__date { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.pass__airline { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 14px; color: var(--ink-2); }
.gol {
  font-family: var(--sans); font-weight: 800; font-size: 12px; letter-spacing: .06em;
  padding: 4px 8px; border-radius: 6px; background: #FF6A13; color: #fff;
}

.route {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(14px, 3vw, 36px);
  margin-block: clamp(26px, 4vw, 44px);
}
.route__end { display: flex; flex-direction: column; gap: 4px; }
.route__end--to { text-align: right; align-items: flex-end; }
.route__code {
  font-weight: 500; font-size: clamp(3.4rem, 9vw, 6.2rem); line-height: .86; letter-spacing: -.05em;
}
.route__time { font-family: var(--mono); font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--ink); margin-top: 6px; font-variant-numeric: tabular-nums; }
.route__city { font-size: 15px; color: var(--muted); }

.route__path { display: flex; flex-direction: column; align-items: center; gap: 26px; min-width: 0; }
.route__dur { font-family: var(--mono); font-size: 15px; color: var(--ink-2); }
.route__tag { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-2); font-weight: 600; }
.route__line {
  position: relative; display: block; width: 100%; height: 2px;
  background-image: linear-gradient(90deg, var(--line-2) 50%, transparent 50%);
  background-size: 10px 2px;
}
.route__line::before, .route__line::after {
  content: ""; position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%; transform: translateY(-50%);
  border: 2px solid var(--ink); background: var(--card);
}
.route__line::before { left: -2px; }
.route__line::after { right: -2px; background: var(--ink); }
.route__line > .route__fill { position: absolute; }
.route__plane {
  position: absolute; top: 50%; left: 52%;
  width: 40px; height: 40px; margin-left: -20px; margin-top: -20px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff;
  box-shadow: 0 0 0 6px var(--card);
  transition: left 1.8s var(--ease-io), top 1.8s var(--ease-io);
}
.route__plane .i { width: 20px; height: 20px; }
.js .pass:not(.is-in) .route__plane { left: 6%; }

.pass__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden;
}
.pass__grid > div { background: var(--card); padding: 14px 16px; }
.pass__grid dt { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.pass__grid dd { margin-top: 4px; font-weight: 500; font-size: 16px; }
.pass__grid--sm { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.pass__grid--sm > div:last-child:nth-child(odd) { grid-column: 1 / -1; }

.pass__stub {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: clamp(24px, 3vw, 36px);
  background: linear-gradient(160deg, var(--sky-soft), #F4F8FC 70%);
  border-left: 2px dashed rgba(20, 22, 25, .14);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
.pass__notch, .ticket__perf { position: absolute; inset: 0; pointer-events: none; }
.pass__notch::before, .pass__notch::after {
  content: ""; position: absolute; left: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--notch);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pass__notch::before { top: -15px; }
.pass__notch::after { bottom: -15px; }
.stub__big { font-family: var(--serif); font-size: 4.2rem; line-height: .9; letter-spacing: -.02em; color: var(--navy); }
.stub__airport { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; }
.stub__airport .i { color: var(--sky-2); }
.stub__note { display: flex; gap: 8px; font-size: 15px; color: var(--ink-2); padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .75); }
.stub__note .i { color: var(--sky-2); margin-top: 2px; }
.barcode {
  margin-top: auto; height: 44px; border-radius: 4px; opacity: .8;
  background: repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 4px, var(--navy) 4px 5px, transparent 5px 8px, var(--navy) 8px 11px, transparent 11px 13px, var(--navy) 13px 14px, transparent 14px 17px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 6% 94%, transparent);
  mask: linear-gradient(90deg, transparent, #000 6% 94%, transparent);
}

/* Journey */
.journey {
  display: grid; grid-template-columns: auto minmax(60px, 1fr) auto minmax(60px, 1fr) auto; align-items: center;
  gap: clamp(12px, 2.2vw, 28px); margin-block: clamp(28px, 4vw, 44px) 26px;
}
.journey__stop { display: flex; flex-direction: column; gap: 4px; }
.journey__stop .route__code { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.journey__stop--to { text-align: right; align-items: flex-end; }
.journey__stop--hub { align-items: center; text-align: center; padding: 16px 18px; border-radius: var(--r); background: var(--sun-soft); position: relative; }
.journey__hubtimes { display: inline-flex; align-items: center; gap: 8px; }
.journey__hubtimes .route__time { margin-top: 6px; }
.journey__arrow { color: var(--faint); margin-top: 6px; }
.layover {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  padding: 5px 11px; border-radius: 999px; background: var(--card); font-size: 14px; color: #8A6417;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.layover b { font-family: var(--mono); font-weight: 500; }
.layover .i { width: 15px; height: 15px; }
.journey__leg { display: flex; flex-direction: column; align-items: center; gap: 26px; min-width: 0; }
.journey__flight { font-family: var(--mono); font-size: 14px; color: var(--ink-2); }
.journey__dur { font-size: 14px; color: var(--muted); }
.journey__leg .route__plane { left: 50%; }

.span { margin-bottom: 26px; }
.span__bar { display: flex; gap: 4px; height: 38px; }
.span__seg {
  display: flex; align-items: center; justify-content: center; min-width: 0; overflow: hidden; white-space: nowrap;
  border-radius: 10px; font-size: 13px; font-weight: 500; font-family: var(--mono);
  transform-origin: left center; transition: transform 1.1s var(--ease);
}
.js .pass:not(.is-in) .span__seg { transform: scaleX(0); }
.is-in .span__seg:nth-child(2) { transition-delay: .15s; }
.is-in .span__seg:nth-child(3) { transition-delay: .3s; }
.span__seg--fly { background: var(--navy); color: #fff; }
.span__seg--wait {
  color: #7A5715;
  background: repeating-linear-gradient(135deg, #F7E6C0 0 8px, #FBF1DC 8px 16px);
}
.span__ticks { position: relative; height: 24px; margin-top: 6px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.span__ticks span { position: absolute; top: 0; transform: translateX(-50%); }
.span__ticks span:nth-child(1) { left: 0; transform: none; }
.span__ticks span:nth-child(2) { left: 28.07%; }
.span__ticks span:nth-child(3) { left: 81.58%; }
.span__ticks span:nth-child(4) { right: 0; transform: none; }

.legs { display: grid; grid-template-columns: 1fr .72fr 1fr; gap: 14px; }
.leg { padding: 20px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.leg__label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.leg__route { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; font-weight: 600; font-size: 20px; letter-spacing: -.01em; }
.leg__route .i { width: 18px; height: 18px; color: var(--sky-2); }
.leg__route span { font-family: var(--mono); font-weight: 400; font-size: 14px; color: var(--muted); }
.leg .pass__grid > div { background: var(--paper); }
.leg--wait { background: var(--sun-soft); border-color: transparent; display: flex; flex-direction: column; }
.leg__big { font-family: var(--serif); font-size: 4.2rem; line-height: 1; margin-top: auto; padding-top: 12px; color: #6E4E12; }
.leg__note { font-size: 15px; color: #7A5715; }

/* =========================================================
   Tabs / days
   ========================================================= */
.tabs {
  position: sticky; top: calc(var(--top) + env(safe-area-inset-top) + 10px); z-index: 20;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px;
  padding: 5px; margin-bottom: clamp(30px, 4vw, 52px);
  background: rgba(255, 255, 255, .82); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  border-radius: 20px; box-shadow: var(--sh-1);
}
.tab {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 8px 10px; border-radius: 15px;
  color: var(--muted); transition: color .35s var(--ease);
}
.tab .i { width: 20px; height: 20px; }
.tab__d { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tab__n { font-family: var(--serif); font-size: 1.7rem; line-height: 1; color: inherit; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: #fff; }
.tab--match[aria-selected="true"] .i { color: var(--sky); }
.tabs__ink {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0;
  border-radius: 15px; background: var(--ink);
  box-shadow: 0 8px 20px -8px rgba(20, 22, 25, .5);
  transition: transform .55s var(--ease), width .55s var(--ease), background .4s;
}
.tabs.is-match .tabs__ink { background: linear-gradient(135deg, var(--navy), #1E3A5F); }

.day { outline: none; }
.day.is-entering { animation: dayIn .7s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes dayIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.day__intro { display: grid; grid-template-columns: auto 1fr; gap: 12px clamp(20px, 4vw, 48px); align-items: start; margin-bottom: clamp(30px, 4vw, 52px); }
.day__num {
  font-family: var(--serif); font-size: clamp(6rem, 15vw, 12rem); line-height: .78; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink);
}
.day__title { font-family: var(--serif); font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1; letter-spacing: -.02em; margin-top: 10px; max-width: 18ch; }
.day__title em { color: var(--sky-2); }
.day__desc { margin-top: 14px; color: var(--ink-2); max-width: 52ch; font-size: 17px; }

.day__body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }

/* Timeline */
.tl { position: relative; display: flex; flex-direction: column; gap: 14px; }
.tl::before {
  content: ""; position: absolute; left: 96px; top: 12px; bottom: 12px; width: 1.5px;
  background: linear-gradient(var(--line-2), var(--line-2) 85%, transparent);
}
.tl__item { position: relative; display: grid; grid-template-columns: 82px 1fr; gap: 30px; align-items: start; }
.tl__item::before {
  content: ""; position: absolute; left: 91px; top: 20px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--faint); z-index: 1;
}
.section--paper .tl__item::before { background: var(--sand); }
.tl__item--hi::before { background: var(--sky-2) !important; border-color: var(--sky-2); box-shadow: 0 0 0 5px rgba(74, 134, 194, .16); }
.tl__item--mission::before { background: var(--sun) !important; border-color: var(--sun); box-shadow: 0 0 0 5px rgba(227, 172, 63, .2); }
.tl__item--free::before, .tl__item--open::before { border-style: dashed; }
.tl__item--end::before { background: var(--ink) !important; border-color: var(--ink); }

.tl__time {
  padding-top: 13px; text-align: right;
  font-family: var(--mono); font-size: 16px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.25;
}
.tl__time small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.tl__time--word { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding-top: 16px; }

.tl__card {
  padding: 16px 20px; border-radius: 18px; background: var(--card);
  border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20,22,25,.03);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tl__card:hover { transform: translateX(4px); box-shadow: var(--sh-1); }
.tl__card h4 { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -.01em; line-height: 1.3; }
.tl__card h4 .i { color: var(--sky-2); width: 20px; height: 20px; }
.tl__card p { margin-top: 4px; color: var(--muted); font-size: 16px; }
.tl__card p strong { color: var(--ink-2); font-weight: 600; }
.tl__card--quiet { background: transparent; border-color: transparent; box-shadow: none; padding-block: 12px; }
.tl__card--quiet h4 { font-weight: 500; color: var(--muted); }
.tl__card--free { background: transparent; border: 1.5px dashed var(--line-2); box-shadow: none; }
.tl__card--free h4 { color: var(--muted); font-weight: 500; }
.tl__card--free h4 .i { color: var(--faint); }
.tl__card--wait { background: var(--sun-soft); border-color: transparent; }
.tl__card--wait h4 .i { color: #B7832A; }
.tl__item--wait .tl__time { color: #8A6417; font-family: var(--mono); letter-spacing: 0; text-transform: none; font-size: 16px; font-weight: 500; }

/* Mission */
.mission {
  position: relative; overflow: hidden;
  padding: clamp(20px, 3vw, 28px); border-radius: var(--r);
  background: var(--navy); color: #fff; box-shadow: var(--sh-3);
}
.mission::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 172, 63, .35), transparent 65%);
}
.mission::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: repeating-linear-gradient(90deg, var(--sun) 0 18px, transparent 18px 26px);
}
.mission__head { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 16px; flex-wrap: wrap; }
.mission__badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px;
  background: var(--sun); color: var(--navy); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.mission__badge .i { width: 16px; height: 16px; stroke-width: 2; }
.mission__deadline { text-align: right; font-family: var(--mono); font-size: 2.1rem; line-height: 1; color: var(--sun); }
.mission__deadline small { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 6px; }
.mission__title { position: relative; margin-top: 18px; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.05; }
.mission__sub { position: relative; margin-top: 8px; color: rgba(255, 255, 255, .7); font-size: 16px; }
.mission__list { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.mission__list li {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font-size: 15px; line-height: 1.3;
}
.mission__list .i { color: var(--sun); width: 20px; height: 20px; }

/* Open afternoon */
.open { padding: 18px; border-radius: var(--r); border: 1.5px dashed var(--line-2); background: rgba(255, 255, 255, .45); }
.open__label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; }
.open__label .i { color: var(--sun); }
.open__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.ocard {
  position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: var(--sand-2);
  text-align: left;
}
.ocard img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ocard:hover img { transform: scale(1.07); }
.ocard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(11, 22, 38, .75)); pointer-events: none; }
.ocard > span:not(.ph__msg) { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 10px; color: #fff; font-family: var(--serif); font-size: 1.3rem; line-height: 1.05; }
.open__note { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Gallery */
.gallery { position: sticky; top: calc(var(--top) + 110px); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery figure {
  position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 3; background: var(--sand-2);
  cursor: zoom-in; box-shadow: var(--sh-1);
}
.gallery .g-a { grid-column: span 2; aspect-ratio: 16 / 10; border-radius: 24px; }
.gallery .g-w { grid-column: span 2; aspect-ratio: 21 / 9; }
.gallery--3 figure:last-child:nth-child(even) { grid-column: span 2; aspect-ratio: 21 / 9; }
.gallery--1 .g-a { aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption, .stay__gallery figcaption, .hood figcaption {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #fff;
  background: rgba(11, 22, 38, .42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

/* =========================================================
   Match day
   ========================================================= */
.match {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 720px; padding: clamp(28px, 5vw, 64px);
  border-radius: var(--r-lg); background: var(--navy); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  box-shadow: var(--sh-3);
  scroll-margin-top: calc(var(--top) + 100px);
}
.match__bg { position: absolute; inset: 0; z-index: -2; }
.match__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s var(--ease); }
.day.is-active .match__bg img { transform: scale(1); }
.match__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 60% at 50% 45%, rgba(11, 22, 38, .15), rgba(11, 22, 38, .75) 100%),
    linear-gradient(180deg, rgba(11, 22, 38, .75), rgba(11, 22, 38, .25) 40%, rgba(11, 22, 38, .92));
}
.match::before {
  content: "MATCH DAY"; position: absolute; z-index: 0; pointer-events: none; left: 50%; top: 22px; transform: translateX(-50%);
  white-space: nowrap; font-weight: 700; font-size: clamp(4rem, 15vw, 13rem); line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .22);
}

.ticket {
  position: relative; z-index: 2; align-self: center; width: min(100%, 880px); margin-top: clamp(80px, 12vw, 150px);
  display: grid; grid-template-columns: 1fr 230px;
  background: var(--paper); color: var(--navy); border-radius: 26px;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(-1.2deg);
  transition: transform .8s var(--ease);
}
.ticket:hover { transform: rotate(0deg) translateY(-4px); }
.ticket::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; border-radius: 26px 26px 0 0;
  background: linear-gradient(var(--sky) 0 33%, #fff 33% 66%, var(--sky) 66%);
}
.ticket__main { padding: clamp(34px, 4vw, 48px) clamp(22px, 4vw, 44px) clamp(24px, 3vw, 36px); min-width: 0; }
.ticket__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sky-2); }
.live { width: 8px; height: 8px; border-radius: 50%; background: #E0493A; animation: pulseR 1.8s infinite; }
@keyframes pulseR { 0% { box-shadow: 0 0 0 0 rgba(224, 73, 58, .55); } 70% { box-shadow: 0 0 0 9px rgba(224, 73, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 73, 58, 0); } }
.ticket__teams {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  margin-top: 18px;
}
.team { display: flex; align-items: center; gap: 14px; }
.team__flag { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; filter: drop-shadow(0 6px 10px rgba(0,0,0,.18)); }
.team__name { font-family: var(--serif); font-size: clamp(2.8rem, 6.4vw, 5rem); line-height: .95; letter-spacing: -.02em; }
.ticket__vs { display: flex; align-items: center; gap: 14px; width: 100%; margin: 2px 0 4px; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.2; color: var(--sky-2); padding-left: clamp(3.4rem, 6.6vw, 4.9rem); }
.ticket__vs::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(74, 134, 194, .35), transparent); }
.ticket__meta {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px clamp(20px, 4vw, 44px);
  margin-top: clamp(22px, 3vw, 34px); padding-top: 18px; border-top: 1px solid rgba(11, 22, 38, .12);
}
.ticket__meta small { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.ticket__meta b { display: block; margin-top: 4px; font-family: var(--mono); font-weight: 500; font-size: 16px; letter-spacing: .02em; }
.ticket__meta .tbc { color: #B3561F; }
.ticket__stub {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 36px 20px 26px; border-left: 2px dashed rgba(11, 22, 38, .18);
  background: linear-gradient(180deg, transparent, rgba(117, 170, 219, .12));
  border-radius: 0 26px 26px 0;
}
.ticket__perf::before, .ticket__perf::after {
  content: ""; position: absolute; left: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy);
}
.ticket__perf::before { top: -14px; }
.ticket__perf::after { bottom: -14px; }
.ticket__stubk { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ticket__day { font-family: var(--serif); font-size: 6.4rem; line-height: .85; margin-top: 8px; }
.ticket__mon { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--sky-2); }
.ticket__note { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(11, 22, 38, .12); font-size: 15px; font-weight: 500; line-height: 1.35; }

.match__foot { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.match__line { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; max-width: 22ch; }
.match__line em { color: var(--sky); }
.match__bring { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.match__bring .eyebrow { margin-right: 4px; }

/* =========================================================
   Map
   ========================================================= */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filter {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 500;
  background: var(--card); border: 1px solid var(--line); color: var(--ink-2);
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.filter i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.filter:hover { border-color: var(--line-2); transform: translateY(-1px); }
.filter.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter.is-on i { box-shadow: 0 0 0 2px rgba(255,255,255,.9); }

.mapwrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; }
.map {
  position: relative; height: 640px; border-radius: var(--r-lg); overflow: hidden;
  background: #EDE8DF; box-shadow: var(--sh-2); border: 1px solid var(--line);
  z-index: 0;
}
.map__fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 30px; color: var(--muted); }
.map__fallback .i { width: 40px; height: 40px; }

.places {
  height: 640px; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 8px; padding: 2px 4px 2px 2px;
  scrollbar-width: thin;
}
.place {
  display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; width: 100%;
  padding: 8px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-align: left;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s, opacity .35s;
}
.place:hover, .place.is-focus { transform: translateX(3px); box-shadow: var(--sh-1); border-color: var(--line-2); }
.place.is-dim { opacity: .35; }
.place__img { position: relative; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--sand-2); }
.place__img img { width: 100%; height: 100%; object-fit: cover; }
.place__name { display: block; font-weight: 600; font-size: 16px; line-height: 1.25; }
.place__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.dtag {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--c); background: color-mix(in srgb, var(--c) 12%, white);
}
.dtag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.dtag--opt { color: var(--muted); background: var(--paper); }
.dtag--opt::before { background: var(--faint); }

/* Leaflet skin */
.leaflet-container { font-family: var(--sans); background: #EDE8DF; }
.leaflet-tile-pane { filter: grayscale(.55) sepia(.18) saturate(.8) brightness(1.04) contrast(.92); }
.leaflet-control-zoom { border: 0 !important; box-shadow: var(--sh-1) !important; border-radius: 14px !important; overflow: hidden; margin: 16px !important; }
.leaflet-control-zoom a { width: 40px !important; height: 40px !important; line-height: 40px !important; font-size: 20px !important; color: var(--ink) !important; border-color: var(--line) !important; }
.leaflet-control-attribution { font-size: 11px; background: rgba(255, 255, 255, .7) !important; border-radius: 8px 0 0 0; }
.leaflet-popup-content-wrapper { border-radius: 20px; padding: 0; overflow: hidden; box-shadow: var(--sh-2); }
.leaflet-popup-content { margin: 0; width: 260px !important; font-size: 15px; line-height: 1.45; }
.leaflet-popup-tip { box-shadow: none; }
.leaflet-container a.leaflet-popup-close-button {
  top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; font-size: 20px; line-height: 28px;
  background: rgba(255,255,255,.9); color: var(--ink); text-align: center; z-index: 2;
}
.pop__img { position: relative; height: 150px; background: var(--sand-2); }
.pop__img img { width: 100%; height: 100%; object-fit: cover; }
.pop__body { padding: 14px 16px 16px; }
.leaflet-popup-content .pop p { margin: 0; }
.pop__name { font-family: var(--serif); font-size: 1.55rem; line-height: 1.05; }
.leaflet-popup-content .pop .pop__desc { margin-top: 8px; }
.pop__desc { color: var(--ink-2); font-size: 14.5px; }
.pop__body .place__meta { margin-top: 8px; }
.leaflet-tooltip.tip {
  background: var(--ink); color: #fff; border: 0; border-radius: 10px; padding: 6px 10px; font-weight: 500; font-size: 13.5px;
  box-shadow: var(--sh-1);
}
.leaflet-tooltip.tip::before { border-top-color: var(--ink); }

.mk {
  position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--c); color: #fff; border: 3px solid #fff;
  box-shadow: 0 8px 18px -6px rgba(11, 22, 38, .55);
  transition: transform .35s var(--ease);
}
.mk .i { width: 18px; height: 18px; stroke-width: 1.9; }
.mk--base { width: 46px; height: 46px; background: var(--ink); }
.mk--base::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(20, 22, 25, .25);
  animation: ring 2.6s infinite var(--ease);
}
@keyframes ring { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.mk--opt { background: #fff; color: var(--c); border-color: var(--c); border-style: dashed; }
.leaflet-marker-icon:hover .mk, .mk.is-focus { transform: scale(1.15) translateY(-3px); }
.mk-wrap { transition: opacity .35s; }
.mk-wrap.is-dim { opacity: .18; }

.route-line { transition: opacity .4s; }
.route-line.is-dim { opacity: 0; }

/* =========================================================
   Airbnb
   ========================================================= */
.stay { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); gap: 16px; }
.stay__gallery {
  position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: 1fr 1fr;
  grid-template-areas: "a b c" "a d d"; gap: 10px; height: 560px;
}
.stay__gallery figure { position: relative; overflow: hidden; border-radius: 14px; background: var(--sand-2); cursor: zoom-in; }
.stay__gallery figure:nth-child(1) { grid-area: a; border-radius: var(--r-lg) 14px 14px var(--r-lg); }
.stay__gallery figure:nth-child(2) { grid-area: b; }
.stay__gallery figure:nth-child(3) { grid-area: c; border-top-right-radius: var(--r-lg); }
.stay__gallery figure:nth-child(4) { grid-area: d; border-bottom-right-radius: var(--r-lg); }
.stay__gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .5s; }
.stay__gallery figure:hover img { transform: scale(1.05); }
.stay__all {
  position: absolute; right: 16px; bottom: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); font-size: 15px; font-weight: 600; box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), background .25s;
}
.stay__all:hover { transform: translateY(-2px); background: #fff; }
.stay__dots { display: none; }

.stay__card {
  display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 34px); border-radius: var(--r-lg); background: var(--card);
  box-shadow: var(--sh-2); border: 1px solid var(--line);
}
.stay__addr { font-family: var(--serif); font-size: clamp(2.8rem, 4.4vw, 3.8rem); line-height: .95; letter-spacing: -.02em; margin-top: 14px; }
.stay__city { color: var(--muted); margin-top: 8px; }
.times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; }
.times__cell { padding: 14px 12px; border-radius: 16px; background: var(--paper); text-align: center; }
.times__cell small { display: block; font-size: 12.5px; letter-spacing: .04em; hyphens: none; white-space: nowrap; text-transform: uppercase; color: var(--muted); font-weight: 500; line-height: 1.3; }
.times__cell b { display: block; margin-top: 6px; font-family: var(--serif); font-weight: 400; font-size: 2.2rem; line-height: 1; }
.times__cell--sky { background: var(--sky-soft); }
.times__cell--sky b { color: var(--sky-2); }
.perks { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 22px; }
.perks li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 16px; }
.perks .i { width: 20px; height: 20px; color: var(--sky-2); }

.hood { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 16px; }
.hood figure { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--sand-2); cursor: zoom-in; }
.hood img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.hood figure:hover img { transform: scale(1.05); }
.hood__txt { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 8px 8px 8px 12px; }
.hood__quote { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1; }

/* =========================================================
   Guide
   ========================================================= */
.guide { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gcard {
  grid-column: span 2; position: relative;
  padding: 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.gcard:nth-child(4), .gcard:nth-child(5) { grid-column: span 3; }
.gcard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.gcard__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--sky-soft); color: var(--sky-2); }
.gcard__icon .i { width: 24px; height: 24px; }
.gcard h3 { margin-top: 18px; font-family: var(--serif); font-size: 2rem; line-height: 1; }
.gcard ul { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.gcard li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.35; }
.gcard li .i { color: var(--faint); width: 18px; height: 18px; margin-top: 1px; }
.gcard--dark { background: var(--navy); color: #fff; border-color: transparent; }
.gcard--dark .gcard__icon { background: rgba(255, 255, 255, .1); color: var(--sky); }
.gcard--dark li { border-color: rgba(255, 255, 255, .1); }
.gcard--dark li .i { color: var(--sky); }
.gcard--sky { background: linear-gradient(150deg, var(--sky-soft), #fff 80%); overflow: hidden; }
.gcard--sky .gcard__icon { background: #fff; }
.gcard__code { margin-top: 10px; font-weight: 500; font-size: clamp(4rem, 8vw, 6rem); line-height: .9; letter-spacing: -.05em; color: var(--navy); }
.gcard__sub { margin-top: 8px; color: var(--ink-2); }

/* =========================================================
   Checklist
   ========================================================= */
.check { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; align-items: start; }
.check__summary {
  position: sticky; top: calc(var(--top) + 24px);
  padding: 28px; border-radius: var(--r-lg); background: var(--navy); color: #fff; box-shadow: var(--sh-3);
  display: flex; flex-direction: column; gap: 22px; overflow: hidden;
}
.check__summary::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(117, 170, 219, .35), transparent 65%); pointer-events: none;
}
.ring { position: relative; width: 132px; height: 132px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring__track { stroke: rgba(255, 255, 255, .12); }
.ring__fill { stroke: var(--sky); stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; transition: stroke-dashoffset .9s var(--ease), stroke .4s; }
.check.is-done .ring__fill { stroke: var(--sun); }
.ring__pct { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 1.6rem; }
.check__count { font-family: var(--serif); font-size: 2.1rem; line-height: 1.05; }
.check__count b { font-weight: 400; }
.bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; margin-top: 16px; }
.bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--sky), #A9CDEE); transition: width .9s var(--ease); }
.check.is-done .bar span { background: linear-gradient(90deg, var(--sun), #F5D489); }
.check__msg { margin-top: 12px; color: rgba(255, 255, 255, .72); font-size: 15px; }
.check__text .btn { margin-top: 18px; color: #fff; border-color: rgba(255, 255, 255, .22); position: relative; z-index: 1; }
.check__text .btn:hover { background: #fff; color: var(--navy); }

.check__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cgroup { padding: 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20,22,25,.03); }
.cgroup--wide { grid-column: 1 / -1; }
.cgroup__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 4px 10px; }
.cgroup__title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.cgroup__title .i { color: var(--sky-2); width: 20px; height: 20px; }
.cgroup__n { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.cgroup__items { display: grid; gap: 4px; }
.cgroup--wide .cgroup__items { grid-template-columns: 1fr 1fr; column-gap: 12px; }

.citem {
  position: relative; display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 10px 12px;
  border-radius: 14px; cursor: pointer; transition: background .25s;
}
.citem:hover { background: var(--paper); }
.citem input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.citem__box {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
  border: 1.5px solid var(--line-2); background: #fff; color: #fff;
  transition: background .3s var(--ease), border-color .3s, transform .3s var(--ease);
}
.citem__box .i { width: 16px; height: 16px; stroke-width: 2.6; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s .05s var(--ease); }
.citem__txt { font-size: 16px; line-height: 1.35; transition: color .3s; }
.citem input:checked + .citem__box { background: var(--sky-2); border-color: var(--sky-2); transform: scale(1.05); }
.citem input:checked + .citem__box .i { stroke-dashoffset: 0; }
.citem input:checked ~ .citem__txt { color: var(--faint); text-decoration: line-through; text-decoration-color: var(--line-2); }
.citem input:focus-visible + .citem__box { outline: 2px solid var(--sky-2); outline-offset: 3px; }

/* =========================================================
   Footer
   ========================================================= */
.footer { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding-block: clamp(80px, 12vw, 150px) calc(56px + env(safe-area-inset-bottom)); }
.footer::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 60%;
  background: radial-gradient(70% 100% at 50% 100%, rgba(117, 170, 219, .22), transparent 70%);
}
.footer__inner { position: relative; }
.footer__big { font-family: var(--serif); font-size: clamp(3rem, 9vw, 8rem); line-height: .95; letter-spacing: -.03em; max-width: 12ch; }
.footer__big em { color: var(--sky); }
.footer__meta { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: rgba(255, 255, 255, .6); font-family: var(--mono); font-size: 13px; letter-spacing: .06em; }

/* =========================================================
   Dock (mobile bottom bar)
   ========================================================= */
.dock { display: none; }

/* =========================================================
   Lightbox
   ========================================================= */
.lb {
  position: fixed; inset: 0; z-index: 300;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: max(20px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: rgba(8, 12, 20, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .35s var(--ease);
}
.lb.is-open { opacity: 1; }
.lb__fig { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lb__img {
  max-width: 100%; max-height: calc(100svh - 140px); border-radius: 16px; object-fit: contain;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.8);
  transform: scale(.96); opacity: 0; transition: transform .45s var(--ease), opacity .35s var(--ease);
}
.lb.is-open .lb__img.is-loaded { transform: none; opacity: 1; }
.lb__cap { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .9); font-size: 15px; }
.lb__n { font-family: var(--mono); font-size: 13px; color: rgba(255, 255, 255, .5); }
.lb__btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .14);
  transition: background .25s, transform .25s var(--ease);
}
.lb__btn:hover { background: rgba(255, 255, 255, .2); }
.lb__btn:active { transform: scale(.94); }
.lb__btn .i { width: 22px; height: 22px; }
.lb__close { position: absolute; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); z-index: 2; }
.lb__prev { grid-column: 1; }
.lb__next { grid-column: 3; }
.lb.is-single .lb__prev, .lb.is-single .lb__next { visibility: hidden; }
body.is-locked { overflow: hidden; }

/* =========================================================
   Missing image placeholder
   ========================================================= */
.ph.is-missing {
  display: grid !important; place-items: center; cursor: default;
  background:
    repeating-linear-gradient(135deg, rgba(20, 22, 25, .035) 0 10px, transparent 10px 20px),
    linear-gradient(160deg, var(--sand), var(--sand-2));
}
.ph.is-missing img { display: none; }
.ph__msg {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 14px;
  color: var(--muted); font-size: 14px; line-height: 1.3; max-width: 100%;
}
.ph__msg .i { width: 26px; height: 26px; color: var(--faint); }
.gallery .ph.is-missing .ph__msg, .stay__gallery .ph.is-missing .ph__msg { padding-bottom: 44px; }
.ph__msg code { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); background: rgba(255,255,255,.7); padding: 3px 8px; border-radius: 6px; word-break: break-all; }
.ocard.is-missing::after { display: none; }
.ocard.is-missing > span:not(.ph__msg) { color: var(--ink); left: 0; right: 0; text-align: center; top: 14px; bottom: auto; }
.ocard.is-missing .ph__msg { padding: 44px 8px 10px; font-size: 13px; }
.ph__msg code { font-size: 11.5px; word-break: break-word; }
.wday__img.is-missing .ph__msg code, .place__img.is-missing .ph__msg, .pop__img.is-missing .ph__msg span { display: none; }
.hero__media.is-missing { background: linear-gradient(160deg, var(--navy-2), var(--navy)); }
.hero__media.is-missing .ph__msg { display: none; }



/* ---------- Hero mobile sem foto: céu noturno + Sol de Maio ---------- */
.hero__art { display: none; }
/* ---------- Hero: peças novas ---------- */
.hero__when { display: none; }
.count2 { display: none; }
.today[hidden] { display: none !important; }
.fcard--count.is-today .count, .fcard--count.is-today .count2 { display: none !important; }
.today { display: flex; flex-direction: column; gap: 4px; }
.today__t { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1.02; }
.today__s { font-size: 14.5px; color: rgba(255, 255, 255, .8); line-height: 1.35; }
.fcard__main { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fcard__stub { display: none; }
.fcard__go { position: absolute; top: 18px; right: 18px; width: 18px; height: 18px; opacity: .6; transition: transform .3s var(--ease), opacity .3s; }
.fcard:hover .fcard__go { opacity: 1; transform: translateX(3px); }

/* ---------- Ações: Maps / Uber ---------- */
.acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.acts .act {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; line-height: 1;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line-2); text-decoration: none;
  transition: transform .2s var(--ease), background .25s, border-color .25s;
}
.acts .act .i { width: 18px; height: 18px; color: var(--sky-2); }
.acts .act:hover { border-color: var(--ink); }
.acts .act:active { transform: scale(.96); }
.acts .act--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.acts .act--dark .i { color: #fff; }
.acts--card { margin-top: 18px; }
.acts--pop { margin-top: 12px; gap: 6px; }
.acts--pop .act { flex: 1; min-height: 40px; padding: 8px 12px; font-size: 14px; }

/* ---------- Timeline: Agora / Próximo ---------- */
.tl__card, .open { position: relative; }
.tl__badge {
  position: absolute; z-index: 2; top: -10px; right: 14px;
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3;
}
.tl__badge--now { background: var(--sky-2); color: #fff; box-shadow: 0 6px 14px -6px rgba(74, 134, 194, .8); }
.tl__badge--now::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 2s infinite; }
.tl__badge--next { background: var(--card); color: var(--ink-2); border: 1px solid var(--line-2); }
.tl__item.is-now .tl__card { border-color: var(--sky-2); box-shadow: 0 0 0 1px var(--sky-2), var(--sh-1); }
.tl__item.is-now::before { background: var(--sky-2) !important; border-color: var(--sky-2); box-shadow: 0 0 0 6px rgba(74, 134, 194, .22); }


/* ---------- Terça: Fan Fest + jogo ---------- */
.mplan { position: relative; z-index: 2; align-self: center; width: min(100%, 880px); }
.mplan > .eyebrow { margin-bottom: 12px; }
.mplan__steps { position: relative; display: grid; gap: 12px; }
.mplan__steps::before {
  content: ""; position: absolute; left: 19px; top: 30px; bottom: 30px; width: 1.5px;
  background: linear-gradient(rgba(117, 170, 219, .7), rgba(255, 255, 255, .2));
}
.mstep { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.mstep__n {
  position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  font-family: var(--serif); font-size: 1.3rem; background: var(--navy); color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .35);
}
.mstep--fan .mstep__n { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.mstep__body {
  padding: 16px 18px; border-radius: 20px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.mstep--fan .mstep__body { background: rgba(255, 255, 255, .12); border-color: rgba(117, 170, 219, .45); }
.mstep__k { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.mstep__k .i { width: 15px; height: 15px; }
.mstep__t { margin-top: 6px; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.05; }
.mstep__t em { color: #BFD8F0; }
.mstep__s { margin-top: 4px; font-family: var(--mono); font-size: 14px; color: rgba(255, 255, 255, .82); }
.mstep__d { margin-top: 10px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .78); max-width: 60ch; }
.mstep__list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mstep__list li {
  padding: 6px 11px; border-radius: 999px; font-size: 13.5px; line-height: 1.3; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
}
.acts--glass { margin-top: 14px; }
.acts--glass .act { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .22); }
.acts--glass .act .i { color: var(--sky); }
.acts--glass .act--dark { background: #fff; color: var(--navy); border-color: #fff; }
.acts--glass .act--dark .i { color: var(--navy); }

/* lugar do mapa sem foto */
.place__img--icon { display: grid; place-items: center; background: var(--c); color: #fff; }
.place__img--icon .i { width: 26px; height: 26px; }
.pop:not(:has(.pop__img)) .pop__body { padding-top: 18px; padding-right: 52px; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .week__strip .reveal:nth-child(2) { transition-delay: .06s; }
.js .week__strip .reveal:nth-child(3) { transition-delay: .12s; }
.js .week__strip .reveal:nth-child(4) { transition-delay: .18s; }
.js .week__strip .reveal:nth-child(5) { transition-delay: .24s; }
.js .guide .reveal:nth-child(2) { transition-delay: .06s; }
.js .guide .reveal:nth-child(3) { transition-delay: .12s; }
.js .guide .reveal:nth-child(4) { transition-delay: .06s; }
.js .guide .reveal:nth-child(5) { transition-delay: .12s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .topnav a { padding-inline: 10px; font-size: 14.5px; }
  .shead { grid-template-columns: auto 1fr; }
  .shead__aside { grid-column: 2; }
}

@media (max-width: 1024px) {
  .topnav a[href="#matchday"] { display: none; }
  .hero__cards { grid-template-columns: 1fr 1fr; }
  .fcard--count { grid-column: 1 / -1; }
  .week__strip { grid-template-columns: repeat(5, 200px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .week__strip::-webkit-scrollbar { display: none; }
  .week__strip li { scroll-snap-align: start; }
  .pass { grid-template-columns: 1fr; }
  .pass__stub { border-left: 0; border-top: 2px dashed rgba(20, 22, 25, .14); border-radius: 0 0 var(--r-lg) var(--r-lg); display: grid; grid-template-columns: auto 1fr; gap: 10px 26px; align-items: center; }
  .pass__stub .eyebrow { grid-column: 1 / -1; }
  .pass__stub .stub__big { grid-row: 2 / span 2; }
  .pass__stub .barcode { display: none; }
  .pass__notch::before, .pass__notch::after { left: auto; top: -15px; bottom: auto; }
  .pass__notch::before { left: -15px; }
  .pass__notch::after { right: -15px; }
  .day__body { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .mapwrap { grid-template-columns: 1fr; }
  .places {
    height: auto; flex-direction: row; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .places::-webkit-scrollbar { display: none; }
  .places li { flex: 0 0 280px; scroll-snap-align: start; }
  .place { height: 100%; }
  .stay { grid-template-columns: 1fr; }
  .guide { grid-template-columns: 1fr 1fr; }
  .gcard, .gcard:nth-child(4), .gcard:nth-child(5) { grid-column: span 1; }
  .gcard:nth-child(5) { grid-column: 1 / -1; }
  .check { grid-template-columns: 1fr; }
  .check__summary { position: static; flex-direction: row; align-items: center; }
  .check__text { flex: 1; }
}

@media (max-width: 860px) {
  :root { --top: 56px; }
  html { scroll-padding-top: calc(var(--top) + env(safe-area-inset-top) + 16px); }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }

  /* topo: marca + contador; o menu horizontal aparece depois do hero */
  .topbar { transition: transform .45s var(--ease), background .4s var(--ease), color .4s var(--ease), box-shadow .4s; will-change: transform; }
  .topbar.is-hidden { transform: translateY(-100%); box-shadow: none; }
  .topbar__inner { height: auto; flex-wrap: wrap; gap: 0 12px; }
  .brand { height: var(--top); }
  .brand__text { font-size: 16px; }
  .topbar__count { margin-left: auto; height: 34px; padding: 6px 12px; font-size: 12.5px; }
  .topbar:not(.is-solid) .topbar__count { background: rgba(11, 22, 38, .25); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .topnav {
    order: 3; width: calc(100% + var(--gutter) * 2); margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 10px; overflow-x: auto; scrollbar-width: none; gap: 6px;
    -webkit-mask: linear-gradient(90deg, transparent, #000 var(--gutter) calc(100% - var(--gutter)), transparent);
    mask: linear-gradient(90deg, transparent, #000 var(--gutter) calc(100% - var(--gutter)), transparent);
  }
  .topbar:not(.is-solid) .topnav { display: none; }
  .topnav::-webkit-scrollbar { display: none; }
  .topnav a, .topnav a[href="#matchday"] {
    display: inline-flex; align-items: center; flex: none; min-height: 36px; padding: 6px 14px;
    font-size: 14.5px; background: rgba(20, 22, 25, .05); opacity: 1; color: var(--ink-2);
    transition: background .25s, color .25s;
  }
  .topnav a.is-active { background: var(--ink) !important; color: #fff; }
  .topnav a.is-active::after { display: none; }

  .tabs {
    top: calc(max(var(--chrome, 104px), env(safe-area-inset-top)) + 8px);
    transition: top .45s var(--ease), box-shadow .3s;
  }
  .gallery { top: auto; }

  .dock {
    --n: 7;
    position: fixed; z-index: 110; left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr));
    padding: 4px; border-radius: 26px;
    background: rgba(255, 255, 255, .78);
    -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
    border: 1px solid rgba(255, 255, 255, .6);
    box-shadow: 0 0 0 1px rgba(20, 22, 25, .06), 0 18px 40px -14px rgba(11, 22, 38, .38);
  }
  .dock a {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 56px; border-radius: 20px; font-size: 11px; font-weight: 500; letter-spacing: -.01em; color: var(--muted); white-space: nowrap;
    transition: color .25s, background .3s var(--ease), transform .2s var(--ease);
  }
  .dock a:active { transform: scale(.92); }
  .dock .i { width: 22px; height: 22px; stroke-width: 1.7; }
  .dock a.is-active { color: var(--ink); background: rgba(117, 170, 219, .18); font-weight: 600; }
  .dock a.is-active .i { color: var(--sky-2); }
  body.is-locked .dock { opacity: 0; pointer-events: none; }
  .footer { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }


  /* ---------- modo app: uma tela por aba ---------- */
  .app [data-view]:not(.is-view) { display: none !important; }
  .app .view-in { animation: viewIn .5s var(--ease) both; }
  .app .section.is-first { padding-top: calc(var(--top) + env(safe-area-inset-top) + 26px); }
  .app .section { min-height: 60svh; }
  .app .topnav { display: none; }
  .app[data-screen="home"] .topbar__count { display: none; }
  .app .week {
    position: relative; z-index: 3; margin-top: -28px; padding-top: 42px; padding-bottom: 56px;
    background: var(--paper); border-radius: 28px 28px 0 0;
    box-shadow: 0 -18px 40px -24px rgba(0, 0, 0, .5);
  }
  .app .week::before {
    content: ""; position: absolute; top: 12px; left: 50%; width: 40px; height: 4px; margin-left: -20px;
    border-radius: 4px; background: var(--line-2);
  }
  .app .shead { margin-bottom: 24px; padding-bottom: 18px; gap: 6px; }
  .app .shead__num { display: none; }
  .app .shead__title { font-size: clamp(2.8rem, 13.5vw, 3.6rem); margin-top: 4px; }
  .app .shead__aside { font-size: 14.5px; }

  /* mapa: trava de toque */
  .map__hint, .map__done {
    position: absolute; z-index: 800; display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 10px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 12px 30px -12px rgba(11, 22, 38, .5);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .map__hint { left: 50%; bottom: 18px; transform: translateX(-50%); background: rgba(20, 22, 25, .82); color: #fff; white-space: nowrap; }
  .map__hint .i { color: var(--sky); }
  .map__done { top: 12px; right: 12px; background: rgba(255, 255, 255, .92); color: var(--ink); opacity: 0; pointer-events: none; transform: translateY(-6px); }
  .map__done .i { color: var(--sky-2); stroke-width: 2.2; }
  .map.is-live .map__hint { opacity: 0; pointer-events: none; transform: translate(-50%, 8px); }
  .map.is-live .map__done { opacity: 1; pointer-events: auto; transform: none; }
  .map.is-live { box-shadow: 0 0 0 2px var(--sky-2), var(--sh-2); }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .section { padding-block: 68px 76px; }
  .reveal { transition-duration: .7s; }

  /* ---------- hero: foto em destaque ---------- */
  .hero { min-height: 100svh; }
  .hero__media img { object-position: 68% 50%; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(11, 22, 38, .6) 0%, rgba(11, 22, 38, .22) 22%, rgba(11, 22, 38, .3) 44%, rgba(11, 22, 38, .7) 66%, rgba(11, 22, 38, .92) 100%);
  }
  .hero .grain { opacity: .08; }
  .hero__row { display: none; }
  .hero__title { text-shadow: 0 4px 30px rgba(11, 22, 38, .45); }
  .hero__inner {
    padding-top: calc(var(--top) + env(safe-area-inset-top) + 14px);
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
  .hero__top .eyebrow { font-size: 12px; letter-spacing: .16em; }
  .hero__coords { display: none; }
  .hero__title { font-size: clamp(4.2rem, 24vw, 8.5rem); line-height: .82; padding-top: 3vh; }
  .hero__line--it { padding-left: .4em; }
  .hero__row { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 18px; }
  .hero__dates { font-size: 2.35rem; }
  .hero__lede { font-size: 15.5px; line-height: 1.5; max-width: 34ch; }
  .hero__cards { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
  .fcard { padding: 14px 15px; border-radius: 20px; gap: 8px; background: rgba(11, 22, 38, .38); border-color: rgba(255, 255, 255, .18); }
  .fcard__label, .fcard__foot { color: rgba(255, 255, 255, .86); }
  .fcard--count { padding: 16px 16px 14px; }
  .fcard__label { font-size: 11.5px; letter-spacing: .12em; }
  .fcard__big { font-size: 1.5rem; line-height: 1.02; }
  .fcard__foot { font-size: 13px; line-height: 1.35; }
  .count__cell b { font-size: 2.15rem; }
  .count__cell i { font-size: 12px; }

  /* ---------- semana ---------- */
  .week { padding-top: 56px; }
  .week__head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
  .stats { width: 100%; justify-content: space-between; gap: 8px; padding: 14px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
  .stats li { flex-direction: column; gap: 2px; align-items: flex-start; }
  .stats b { font-size: 2.2rem; }
  .stats span { font-size: 13px; }
  .week__strip { grid-template-columns: repeat(5, 58vw); gap: 12px; }
  .wday__img { border-radius: 20px; aspect-ratio: 4 / 4.6; }
  .wday__t { font-size: 1.3rem; }

  /* ---------- títulos de seção ---------- */
  .shead { grid-template-columns: 1fr; gap: 10px; margin-bottom: 30px; padding-bottom: 20px; }
  .shead__num { justify-self: start; }
  .shead__title { font-size: clamp(3rem, 15vw, 4rem); }
  .shead__aside { grid-column: auto; font-size: 15px; line-height: 1.5; }

  /* ---------- cartões de embarque ---------- */
  .pass { border-radius: 26px; }
  .pass + .pass { margin-top: 20px; }
  .pass__main { padding: 20px 18px 20px; }
  .pass__head { gap: 10px 12px; }
  .pass__date { order: 3; width: 100%; font-size: 15px; }
  .pass__airline { margin-left: auto; font-size: 13.5px; gap: 8px; }
  .route { grid-template-columns: auto minmax(56px, 1fr) auto; gap: 12px; margin-block: 26px 22px; }
  .route__end--to { text-align: right; align-items: flex-end; }
  .route__code { font-size: clamp(2.7rem, 13.4vw, 3.5rem); line-height: .88; }
  .route__time { font-size: 1.1rem; margin-top: 8px; }
  .route__city { font-size: 13.5px; line-height: 1.3; max-width: 12ch; }
  .route__path { flex-direction: column; gap: 22px; padding: 0; align-self: center; margin-top: -24px; }
  .route__dur { font-size: 13.5px; }
  .route__tag { font-size: 12px; }
  .route__plane { width: 34px; height: 34px; margin: -17px 0 0 -17px; box-shadow: 0 0 0 5px var(--card); }
  .route__plane .i { width: 17px; height: 17px; }
  .pass__grid { grid-template-columns: 1fr 1fr; border-radius: 14px; }
  .pass__grid > div { padding: 11px 13px; }
  .pass__grid dt { font-size: 12px; }
  .pass__grid dd { font-size: 15px; white-space: nowrap; }
  .pass__stub { grid-template-columns: auto 1fr; gap: 6px 18px; padding: 22px 18px 20px; }
  .pass__stub .stub__big { grid-row: 2 / span 2; font-size: 3.2rem; align-self: center; }
  .stub__airport { font-size: 15.5px; }
  .stub__note { grid-column: 1 / -1; font-size: 14.5px; margin-top: 6px; }

  /* volta: jornada vertical */
  .journey { grid-template-columns: 1fr; gap: 0; margin-block: 24px 22px; }
  .journey__stop, .journey__stop--to { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; text-align: left; }
  .journey__stop .route__code { font-size: 2.9rem; }
  .journey__stop .route__time { margin-top: 0; font-size: 1.15rem; }
  .journey__stop .route__city { width: 100%; font-size: 14px; max-width: none; }
  .journey__stop--hub { align-items: baseline; padding: 16px; border-radius: 20px; }
  .journey__hubtimes .route__time, .journey__arrow { margin-top: 0; }
  .layover { width: 100%; justify-content: center; margin-top: 10px; font-size: 14px; }
  .journey__leg {
    display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px;
    align-items: center; justify-items: start; align-content: center; min-height: 92px; padding-block: 4px;
  }
  .journey__leg .route__line {
    grid-column: 1; grid-row: 1 / span 2; justify-self: center; width: 2px; height: 100%; min-height: 84px;
    background-image: linear-gradient(180deg, var(--line-2) 50%, transparent 50%); background-size: 2px 8px;
  }
  .journey__leg .route__line::before, .journey__leg .route__line::after { display: none; }
  .journey__leg .route__plane { left: 50% !important; top: 50%; }
  .js .pass:not(.is-in) .journey__leg .route__plane { top: 8%; }
  .journey__leg .route__plane .i { transform: rotate(90deg); }
  .journey__flight { grid-column: 2; align-self: end; font-size: 15px; color: var(--ink); }
  .journey__dur { grid-column: 2; align-self: start; font-size: 14px; }
  .span { margin-bottom: 20px; }
  .span__bar { height: 34px; gap: 3px; }
  .span__seg { border-radius: 9px; font-size: 12.5px; }
  .span__seg .long { display: none; }
  .span__ticks span { font-size: 12.5px; }
  .span__ticks span:nth-child(3) { display: none; }
  .legs { grid-template-columns: 1fr; gap: 10px; }
  .leg { padding: 16px; border-radius: 20px; }
  .leg__route { font-size: 18px; }
  .leg--wait { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto; column-gap: 12px; align-items: center; }
  .leg--wait .leg__label, .leg--wait .leg__route, .leg--wait .leg__note { grid-column: 1; }
  .leg--wait .leg__big { grid-column: 2; grid-row: 1 / span 3; font-size: 3.3rem; padding: 0; margin: 0; }

  /* ---------- tabs ---------- */
  .tabs { gap: 2px; padding: 4px; border-radius: 20px; margin-bottom: 30px; box-shadow: 0 1px 2px rgba(20,22,25,.05), 0 14px 30px -18px rgba(20,22,25,.35); }
  .tab { flex-direction: column; gap: 1px; min-height: 64px; padding: 7px 2px; border-radius: 16px; }
  .tab .i { width: 18px; height: 18px; margin-bottom: 2px; }
  .tab__d { font-size: 12px; letter-spacing: .1em; }
  .tab__n { font-size: 1.45rem; }
  .tabs__ink { top: 4px; bottom: 4px; border-radius: 16px; }

  /* ---------- dia ---------- */
  .day__intro { grid-template-columns: 1fr; gap: 0; margin-bottom: 22px; }
  .day__num { font-size: 5.6rem; line-height: .86; margin-bottom: 16px; -webkit-text-stroke-width: 1.2px; }
  .day__title { font-size: clamp(2.2rem, 10.5vw, 2.8rem); margin-top: 12px; }
  .day__desc { font-size: 16px; margin-top: 12px; }
  .day__body { gap: 28px; }

  /* galeria do dia vira carrossel grande, antes da timeline */
  .day__body .gallery {
    order: -1; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .day__body .gallery::-webkit-scrollbar { display: none; }
  .day__body .gallery figure, .day__body .gallery figure:nth-child(n) {
    flex: 0 0 84%; aspect-ratio: 4 / 3.3; border-radius: 22px; scroll-snap-align: start; grid-column: auto;
  }
  .day__body .gallery--1 figure { flex-basis: 100%; }
  .gallery figcaption { left: 12px; bottom: 12px; font-size: 13.5px; padding: 6px 12px; }

  /* timeline: trilho à esquerda, horário acima do card */
  .tl { gap: 18px; }
  .tl::before { left: 6px; top: 8px; bottom: 8px; }
  .tl__item, .tl__item--mission, .tl__item--open { grid-template-columns: 1fr; gap: 7px; padding-left: 28px; }
  .tl__item::before, .tl__item--mission::before, .tl__item--open::before { left: 0; top: 3px; width: 13px; height: 13px; }
  .tl__time, .tl__item--mission .tl__time, .tl__item--open .tl__time {
    display: flex; align-items: baseline; gap: 6px; padding: 0; text-align: left; font-size: 15px; line-height: 1.2;
  }
  .tl__time small { display: inline; font-size: 13px; }
  .tl__time--word { font-size: 12.5px; letter-spacing: .12em; padding: 1px 0 0; }
  .tl__card { padding: 15px 16px; border-radius: 18px; }
  .tl__card h4 { font-size: 17px; gap: 9px; }
  .tl__card p { font-size: 15.5px; }
  .tl__card--quiet { padding: 2px 0 0; }
  .chips { gap: 6px; margin-top: 10px; }
  .chip { font-size: 13.5px; padding: 6px 11px; }

  .mission { padding: 20px 18px; border-radius: 22px; }
  .mission__head { align-items: center; }
  .mission__badge { font-size: 12px; padding: 7px 11px; }
  .mission__deadline { display: flex; align-items: baseline; gap: 8px; font-size: 1.7rem; }
  .mission__deadline small { margin: 0; font-size: 11.5px; }
  .mission__title { font-size: 1.85rem; margin-top: 16px; }
  .mission__sub { font-size: 15px; }
  .mission__list { grid-template-columns: 1fr; gap: 7px; margin-top: 16px; }
  .mission__list li { padding: 12px 14px; font-size: 15px; }

  .open { padding: 16px; border-radius: 22px; }
  .open__grid { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 14px -16px 0; padding: 0 16px 4px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .open__grid::-webkit-scrollbar { display: none; }
  .ocard { flex: 0 0 44%; scroll-snap-align: start; border-radius: 16px; }
  .ocard > span:not(.ph__msg) { font-size: 1.2rem; left: 12px; bottom: 10px; }
  .open__note { font-size: 13.5px; }

  /* ---------- match day ---------- */
  .match { min-height: 0; padding: 20px 14px 22px; border-radius: 26px; gap: 22px; }
  .match::before { font-size: 21vw; top: 20px; -webkit-text-stroke-color: rgba(255, 255, 255, .26); }
  .ticket { grid-template-columns: 1fr; margin-top: 64px; transform: none; border-radius: 22px; }
  .ticket:hover { transform: none; }
  .ticket::before { height: 12px; border-radius: 22px 22px 0 0; }
  .ticket__main { padding: 30px 20px 20px; }
  .ticket__kicker { font-size: 12px; }
  .team { gap: 12px; }
  .team__flag { font-size: 2.3rem; }
  .team__name { font-size: clamp(2.6rem, 13vw, 3.3rem); }
  .ticket__vs { font-size: 1.5rem; padding-left: 3.1rem; }
  .ticket__meta { grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 20px; padding-top: 16px; }
  .ticket__meta > div:nth-child(2) { grid-column: 1 / -1; order: -1; }
  .ticket__meta small { font-size: 12px; }
  .ticket__meta b { font-size: 15px; }
  .ticket__stub {
    display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 16px; text-align: left;
    border-left: 0; border-top: 2px dashed rgba(11, 22, 38, .18); border-radius: 0 0 22px 22px; padding: 20px;
  }
  .ticket__stubk { grid-column: 1 / -1; margin-bottom: 4px; font-size: 12px; }
  .ticket__day { grid-row: 2 / span 2; font-size: 4rem; margin: 0; }
  .ticket__mon { font-size: 1.45rem; line-height: 1; }
  .ticket__note { grid-column: 2; margin: 6px 0 0; padding: 0; border: 0; font-size: 14.5px; }
  .ticket__perf::before, .ticket__perf::after { top: -15px; bottom: auto; }
  .ticket__perf::before { left: -15px; }
  .ticket__perf::after { left: auto; right: -15px; }
  .match__foot { flex-direction: column; align-items: flex-start; gap: 16px; padding-inline: 6px; }
  .match__line { font-size: 1.65rem; }
  .match__bring { gap: 6px; }
  .match__bring .eyebrow { width: 100%; margin-bottom: 2px; }

  /* ---------- mapa ---------- */
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 14px; padding: 2px var(--gutter) 6px; scrollbar-width: none; gap: 6px; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; min-height: 42px; padding: 9px 16px; font-size: 14.5px; }
  .map { height: 58svh; min-height: 380px; max-height: 540px; border-radius: 24px; }
  .mapwrap { gap: 12px; }
  .places { gap: 10px; }
  .places li { flex-basis: 76vw; }
  .place { padding: 8px; border-radius: 18px; grid-template-columns: 60px 1fr; gap: 12px; }
  .place__img { width: 60px; height: 60px; }
  .place:hover, .place.is-focus { transform: none; }
  .place.is-focus { border-color: var(--sky-2); box-shadow: 0 0 0 1px var(--sky-2), var(--sh-1); }
  .leaflet-popup-content { width: 236px !important; }
  .pop__img { height: 130px; }
  .pop__name { font-size: 1.45rem; }
  .leaflet-control-attribution { font-size: 10.5px; }

  /* ---------- airbnb ---------- */
  .stay { gap: 14px; }
  .stay__gallery {
    display: flex; height: auto; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .stay__gallery::-webkit-scrollbar { display: none; }
  .stay__gallery figure, .stay__gallery figure:nth-child(n) { flex: 0 0 86%; aspect-ratio: 4 / 3.3; border-radius: 22px; scroll-snap-align: start; }
  .stay__all { display: none; }
  .stay__dots { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
  .stay__dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--line-2); transition: width .35s var(--ease), background .3s; }
  .stay__dots i.is-on { width: 22px; background: var(--ink); }
  .stay__card { padding: 22px 20px; border-radius: 26px; }
  .stay__addr { font-size: 3rem; margin-top: 12px; }
  .stay__city { font-size: 15px; }
  .times { gap: 6px; margin-top: 18px; }
  .times__cell { display: flex; flex-direction: column; justify-content: space-between; align-items: center; min-height: 92px; padding: 12px 6px; border-radius: 16px; }
  .times__cell small { white-space: normal; font-size: 11.5px; letter-spacing: .06em; }
  .times__cell b { font-size: 2.1rem; margin-top: 8px; }
  .perks { padding-top: 16px; }
  .perks li { font-size: 15.5px; padding: 11px 0; }
  .hood { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
  .hood figure { border-radius: 18px; }
  .hood__txt { grid-column: 1 / -1; order: -1; padding: 18px 2px 4px; }
  .hood__quote { font-size: 1.75rem; }

  /* ---------- guia ---------- */
  .guide { grid-template-columns: 1fr; gap: 10px; }
  .gcard, .gcard:nth-child(n) {
    grid-column: auto; padding: 18px 18px 14px; border-radius: 22px;
    display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center;
  }
  .gcard__icon { width: 44px; height: 44px; border-radius: 14px; }
  .gcard__icon .i { width: 22px; height: 22px; }
  .gcard h3 { margin: 0; font-size: 1.8rem; }
  .gcard ul, .gcard__code, .gcard__sub { grid-column: 1 / -1; }
  .gcard ul { margin-top: 12px; }
  .gcard li { font-size: 15.5px; padding: 10px 0; }
  .gcard--sky { padding-bottom: 20px; }
  .gcard__code { font-size: 4.4rem; margin-top: 14px; }
  .gcard__sub { margin-top: 4px; }

  /* ---------- checklist ---------- */
  .check { gap: 12px; }
  .check__summary { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; padding: 20px; border-radius: 26px; }
  .ring { width: 92px; height: 92px; }
  .ring__pct { font-size: 1.15rem; }
  .check__count { font-size: 1.75rem; }
  .bar { margin-top: 12px; height: 6px; }
  .check__msg { font-size: 14.5px; margin-top: 8px; }
  .check__text .btn { margin-top: 12px; min-height: 40px; padding: 8px 14px; font-size: 14px; }
  .check__lists { grid-template-columns: 1fr; gap: 10px; }
  .cgroup { padding: 14px 10px 10px; border-radius: 22px; }
  .cgroup__head { padding: 2px 8px 8px; }
  .cgroup--wide .cgroup__items { grid-template-columns: 1fr; }
  .citem { min-height: 54px; padding: 10px; gap: 14px; }
  .citem__box { width: 28px; height: 28px; border-radius: 9px; }
  .citem__txt { font-size: 16px; }

  /* ---------- rodapé ---------- */
  .footer { padding-top: 76px; }
  .footer__big { font-size: clamp(2.8rem, 14vw, 3.8rem); }
  .footer__meta { flex-wrap: wrap; font-size: 12.5px; }

  /* ---------- lightbox ---------- */
  .lb { grid-template-columns: 1fr; padding-inline: 0; }
  .lb__fig { grid-column: 1; gap: 16px; }
  .lb__img { max-width: 100%; max-height: calc(100svh - 220px); border-radius: 0; }
  .lb__cap { padding-inline: 20px; text-align: center; }
  .lb__prev, .lb__next { position: absolute; bottom: max(24px, env(safe-area-inset-bottom)); width: 52px; height: 52px; }
  .lb__prev { left: 24px; }
  .lb__next { right: 24px; }
}

@media (max-width: 720px) {
  /* hero: foto livre em cima, informação agrupada embaixo */
  .hero__top { display: none; }
  .hero__inner { padding-top: calc(var(--top) + env(safe-area-inset-top) + 8px); }
  .hero__when {
    display: flex; align-items: center; gap: 10px; margin-top: 14px;
    font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .92);
    text-shadow: 0 1px 12px rgba(11, 22, 38, .6);
  }
  .hero__when i { width: 4px; height: 4px; border-radius: 50%; background: var(--sky); }
  .hero__cards { grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
  .fcard__go { top: 16px; right: 16px; }

  /* contagem editorial: dias grandes, resto pequeno */
  .fcard--count .count { display: none; }
  .count2 { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
  .count2 b { font-family: var(--serif); font-weight: 400; font-size: 4.4rem; line-height: .82; letter-spacing: -.03em; }
  .count2__unit { font-family: var(--serif); font-style: italic; font-size: 1.7rem; color: var(--sky); }
  .count2__rest { margin-left: auto; font-family: var(--mono); font-size: 15px; color: rgba(255, 255, 255, .85); font-variant-numeric: tabular-nums; }
  .today__t { font-size: 1.9rem; }

  /* jogo como ingresso */
  .fcard--match { display: grid; grid-template-columns: 1fr auto; align-items: stretch; gap: 0; padding: 14px 0 14px 16px; }
  .fcard--match .fcard__main { gap: 6px; padding-right: 14px; }
  .fcard--match .fcard__big { font-size: 1.7rem; }
  .fcard__stub {
    display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 76px; padding: 0 16px;
    border-left: 1.5px dashed rgba(255, 255, 255, .3); position: relative;
  }
  .fcard__stub b { font-family: var(--serif); font-weight: 400; font-size: 2.5rem; line-height: .9; }
  .fcard__stub i { font-family: var(--serif); font-size: 1.15rem; color: var(--sky); }
  .fcard--match .fcard__go { display: none; }
  .fcard--match { overflow: hidden; }

  /* base como linha */
  .fcard--base { flex-direction: row; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px; }
  .fcard--base .fcard__big { font-size: 1.3rem; }
  .fcard--base .fcard__foot { margin: 0 0 0 auto; font-size: 13px; }
  .fcard--base .fcard__go { position: static; margin-left: 2px; }

  /* checklist: progresso fixo no topo enquanto marca */
  .check__summary {
    position: sticky; top: calc(max(var(--chrome, 60px), env(safe-area-inset-top)) + 8px); z-index: 15;
    grid-template-columns: 58px 1fr; gap: 14px; padding: 12px 14px; border-radius: 22px;
    transition: top .45s var(--ease);
  }
  .ring { width: 58px; height: 58px; }
  .ring circle { stroke-width: 9; }
  .ring__pct { font-size: .95rem; }
  .check__text { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; }
  .check__count { font-size: 1.4rem; grid-column: 1; }
  .bar { grid-column: 1; margin-top: 8px; }
  .check__msg { display: none; }
  .check__text .btn { grid-column: 2; grid-row: 1 / span 2; margin: 0; width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; }
  .check__text .btn span { display: none; }
  .check__text .btn .i { width: 20px; height: 20px; }

  .mplan > .eyebrow { margin-left: 6px; }
  .mstep { grid-template-columns: 34px 1fr; gap: 10px; }
  .mstep__n { width: 34px; height: 34px; font-size: 1.15rem; }
  .mplan__steps::before { left: 16px; }
  .mstep__body { padding: 14px 15px; border-radius: 18px; }
  .mstep__t { font-size: 1.7rem; }
  .mstep__d { font-size: 14.5px; }
  .mstep__list li { font-size: 13px; }
  .acts--glass .act { flex: 1; white-space: nowrap; font-size: 14px; padding-inline: 10px; gap: 6px; }
  .acts--glass .act .i { width: 16px; height: 16px; }
  .stay__card .acts .act, .acts--card .act { flex: 1; white-space: nowrap; font-size: 14.5px; padding-inline: 12px; gap: 7px; }
  .stay__card .acts .act .i, .acts--card .act .i { width: 17px; height: 17px; }
  .acts--card { grid-column: 1 / -1; }
  .acts--card .act { flex: 1; }
}

@media (max-width: 720px) {
  .hero {
    background:
      linear-gradient(180deg, #0F2038 0%, #0B1626 48%, #070F1C 100%);
  }
  .hero__media, .hero__shade { display: none; }
  .hero .grain { opacity: .14; }
  .hero__art { display: block; position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }

  /* brilhos suaves: celeste no alto, dourado embaixo */
  .hero__glow { position: absolute; border-radius: 50%; filter: blur(60px); }
  .hero__glow--a { width: 120vw; height: 120vw; right: -55vw; top: -40vw; background: radial-gradient(circle, rgba(117, 170, 219, .55), rgba(117, 170, 219, 0) 65%); }
  .hero__glow--b { width: 90vw; height: 90vw; left: -45vw; top: 30%; background: radial-gradient(circle, rgba(74, 134, 194, .28), rgba(74, 134, 194, 0) 65%); }
  .hero__glow--c { width: 110vw; height: 70vw; left: -5vw; bottom: -30vw; background: radial-gradient(ellipse, rgba(227, 172, 63, .16), rgba(227, 172, 63, 0) 65%); }

  /* Sol de Maio em traço fino, girando devagar */
  .sun {
    position: absolute; width: 132vw; max-width: 620px; aspect-ratio: 1;
    right: -46vw; top: calc(env(safe-area-inset-top) + 2vh);
    fill: none; stroke: #E9C06A; stroke-width: .9; stroke-linejoin: round; stroke-linecap: round;
    opacity: .42;
    filter: drop-shadow(0 0 14px rgba(233, 192, 106, .35));
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 34%, rgba(0, 0, 0, .55) 50%, transparent 68%);
    mask-image: radial-gradient(circle at 50% 50%, #000 34%, rgba(0, 0, 0, .55) 50%, transparent 68%);
    animation: sunIn 2.2s var(--ease) both;
  }
  .sun__rays { transform-origin: 0 0; animation: sunSpin 140s linear infinite; }
  .sun circle { stroke-width: 1; }
  .sun__inner { opacity: .7; }
  .sun__core { fill: rgba(233, 192, 106, .08); stroke-dasharray: 2 5; opacity: .9; }
  @keyframes sunSpin { to { transform: rotate(360deg); } }
  @keyframes sunIn { from { opacity: 0; transform: scale(.92) rotate(-8deg); } to { opacity: .42; transform: none; } }

  /* faixa celeste-branco-celeste bem fina no topo */
  .hero::after {
    content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 3px;
    background: linear-gradient(90deg, var(--sky) 0 33.3%, rgba(255, 255, 255, .9) 33.3% 66.6%, var(--sky) 66.6%);
    opacity: .9;
  }

  .hero__title { text-shadow: none; }
  .hero__line--it em { color: #BFD8F0; }
  .hero__when { text-shadow: none; color: rgba(255, 255, 255, .78); }
  .fcard { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .fcard--count { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .16); }
}

/* iPhones baixos (SE, mini): tudo cabe numa tela */
@media (max-width: 720px) and (max-height: 740px) {
  .hero__title { font-size: 19.5vw; padding-top: 0; }
  .hero__when { margin-top: 10px; }
  .hero__cards { margin-top: 16px; gap: 8px; }
  .fcard { padding-block: 11px; }
  .fcard--count { padding: 12px 14px; }
  .count2 b { font-size: 3.5rem; }
  .fcard--match .fcard__big { font-size: 1.45rem; }
  .fcard__foot { font-size: 12.5px; }
  .hero__inner { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .brand__text { font-size: 15px; }
  .topbar__count { font-size: 12px; padding-inline: 10px; }
  .hero__title { font-size: 23.5vw; }
  .hero__dates { font-size: 2.1rem; }
  .count__cell b { font-size: 1.85rem; }
  .count__cell + .count__cell { padding-left: 8px; }
  .fcard__big { font-size: 1.35rem; }
  .fcard__label { font-size: 11px; letter-spacing: .1em; }
  .stats { padding-inline: 14px; }
  .stats b { font-size: 2rem; }
  .route__code { font-size: 12.6vw; }
  .route__city { font-size: 13px; }
  .pass__grid dd { font-size: 14.5px; }
  .tab__d { font-size: 11.5px; letter-spacing: .06em; }
  .tab__n { font-size: 1.35rem; }
  .team__name { font-size: 12.5vw; }
  .dock { left: 8px; right: 8px; padding: 3px; }
  .dock a { font-size: 10.5px; min-height: 54px; }
  .dock .i { width: 21px; height: 21px; }
  .times__cell b { font-size: 1.9rem; }
}

@media (hover: none) {
  .tl__card:hover, .pass:hover, .gcard:hover, .fcard:hover, .filter:hover, .place:hover, .stay__all:hover { transform: none; }
  .wday:hover .wday__img img, .gallery figure:hover img, .stay__gallery figure:hover img, .hood figure:hover img, .ocard:hover img { transform: none; }
  .wday, .fcard, .place, .filter, .ocard, .gallery figure, .stay__gallery figure, .hood figure, .citem, .btn, .tab {
    transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  }
  .wday:active, .fcard:active, .place:active, .ocard:active, .gallery figure:active, .stay__gallery figure:active, .hood figure:active { transform: scale(.975); }
  .filter:active, .btn:active, .tab:active { transform: scale(.95); }
  .citem:active { background: var(--paper); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .sun__rays { animation: none !important; }
}
