/* Worldtour: the black-and-mint tee and the shaka logo. Archivo for everything,
   one serif line on the last screen. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/worldtour/fonts/archivo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/worldtour/fonts/archivo-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/worldtour/fonts/instrument-serif-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/worldtour/fonts/instrument-serif-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Palette "Mięta": the original Worldtour mint (#00efa9). The other palettes
     (html[data-kolor=...] at the end of this file) are a temporary preview
     until Max picks one. */
  --night: #0e1611;
  --night-2: #15211a;
  --night-3: #1c2b22;
  --night-rgb: 14, 22, 17;
  --text: #e3f0e8;
  --muted: #9db5a7;
  --muted-2: #6f877a;
  --mint: #00efa9;
  --mint-rgb: 0, 239, 169;
  --mint-strong: #59f5c7;
  --sage: #157a59;
  --line: rgba(var(--mint-rgb), 0.18);
  --paper: #e9efe7;
  --ink: #0e1611;
  --ink-2: #26372d;
  --ink-muted: #4c6155;
  --ink-hover: #1b2a21;
  --ink-line: rgba(var(--night-rgb), 0.16);
  --fire: #ff8b4a;
  --fire-rgb: 255, 139, 74;
  --warn: #ff8b4a;
  --cta: var(--mint);
  --cta-strong: var(--mint-strong);
  --ok: #157a59;
  --no: #b4552b;
  --glow-1: #12382a;
  --glow-2: #112e21;
  --gutter: clamp(20px, 5vw, 48px);
  --max: 1180px;
  --radius: 22px;
  --serif: "Instrument Serif", Georgia, serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
::selection { background: var(--mint); color: var(--ink); }
html { background: var(--night); -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-stretch: 100%;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.05; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--fire); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--mint); color: var(--ink); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- fields: the base look. Kept before every component, so the hero
   and final fields can override it (same specificity, later wins). ---------- */
input[type="text"], input[type="email"], input[type="tel"], input:not([type]), textarea {
  -webkit-appearance: none; appearance: none;
  width: 100%; min-height: 54px; padding: 14px 16px;
  background: rgba(var(--mint-rgb), 0.06); color: var(--text);
  border: 1.5px solid var(--line); border-radius: 14px;
  font: inherit; font-size: 17px; line-height: 1.4;
  transition: border-color .15s ease, background-color .15s ease;
}
textarea { resize: vertical; min-height: 120px; }
input::placeholder, textarea::placeholder { color: var(--muted-2); }
input:focus, textarea:focus { outline: none; border-color: var(--mint); background: rgba(var(--mint-rgb), 0.09); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--warn); }

/* ---------- buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-size: 17px; font-weight: 700; font-stretch: 108%; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .08s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-mint { background: var(--cta); color: var(--ink); }
.btn-mint:hover { background: var(--cta-strong); }
.btn-line { border-color: rgba(var(--mint-rgb), 0.5); color: var(--mint); background: transparent; }
.btn-line:hover { border-color: var(--mint); background: rgba(var(--mint-rgb), 0.08); }
.btn-ink { background: var(--ink); color: var(--mint); }
.btn-ink:hover { background: var(--ink-hover); }
.btn-ghost { background: transparent; color: var(--muted); padding: 0 14px; }
.btn-ghost:hover { color: var(--text); }
.btn-sm { --h: 44px; padding: 0 18px; font-size: 15px; }
.btn-lg { --h: 62px; padding: 0 34px; font-size: 19px; }
.link { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }

/* ---------- top bar: a solid strip with the small logo. On the main page
   (.bar-auto) it stays away over the hero and slides in after it. ---------- */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; gap: 16px;
  height: 64px; padding: 0 var(--gutter);
  background: rgba(var(--night-rgb), 0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: transform .3s ease, visibility 0s linear 0s;
}
.bar-auto:not(.is-on) { transform: translateY(-100%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
@media (prefers-reduced-motion: reduce) { .bar, .bar-auto:not(.is-on) { transition: none; } }
.bar-logo { display: block; margin-right: auto; }
.bar-logo img { height: 22px; width: auto; }
.bar-nav { display: none; gap: 26px; font-size: 15px; font-weight: 600; font-stretch: 90%; }
.bar-nav a { text-decoration: none; color: var(--muted); }
.bar-nav a:hover { color: var(--text); }
@media (min-width: 900px) { .bar-nav { display: flex; margin-right: 18px; } }

/* ---------- hero: the logo, one line, one field, then the world ---------- */
.hero { position: relative; overflow-x: clip; text-align: center; padding-top: clamp(72px, 11vh, 120px); }
.hero-copy { position: relative; z-index: 2; display: grid; justify-items: center; }
.hero-logo { margin: 0 0 clamp(16px, 2.2vw, 24px); width: min(100%, 780px); }
.hero-logo img { width: 100%; height: auto; }
.hero-lead { font-weight: 700; font-stretch: 108%; color: var(--text); font-size: clamp(19px, 2.2vw, 25px); line-height: 1.3; max-width: 30ch; margin: 0 0 clamp(24px, 3.2vw, 34px); text-wrap: balance; }
/* The field and its button: one pill inside another, 6px apart on every side. */
.hero-form { position: relative; width: min(100%, 500px); }
.hero-form input {
  display: block; height: 64px; min-height: 64px; padding: 0 142px 0 24px; border-radius: 999px; font-size: 18px; line-height: normal;
  background: rgba(var(--mint-rgb), 0.06); border: 1.5px solid rgba(var(--mint-rgb), 0.38);
  box-shadow: 0 24px 60px -24px rgba(var(--mint-rgb), 0.35);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.hero-form input:focus { border-color: var(--mint); box-shadow: 0 0 0 5px rgba(var(--mint-rgb), 0.14), 0 24px 60px -24px rgba(var(--mint-rgb), 0.45); }
.hero-form input[aria-invalid="true"] { border-color: var(--warn); }
.hero-form .btn { position: absolute; top: 6px; right: 6px; --h: 52px; height: 52px; padding: 0 28px; font-size: 17px; }
.hero-form .btn:active { transform: none; }
/* No empty line between the field and the note; an error opens its own room. */
.hero .hero-err { min-height: 0; margin: 0; }
.hero .hero-err:not(:empty) { margin-top: 10px; }
.hero-note { color: var(--muted-2); font-size: 13.5px; line-height: 1.45; margin: 10px 0 0; max-width: 500px; text-wrap: balance; }
.hero-note .link { color: var(--muted); }
.hero-done { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; }
.hero-done p { margin: 0; font-weight: 800; font-size: 18px; color: var(--mint); }
@media (prefers-reduced-motion: no-preference) {
  .hero-logo, .hero-lead, .hero-form, .hero-note { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-lead { animation-delay: .12s; }
  .hero-form { animation-delay: .22s; }
  .hero-note { animation-delay: .3s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.globe-stage { --g: min(1100px, 132vw); position: relative; z-index: 1; overflow: hidden; height: calc(var(--g) * 0.58); margin-top: clamp(22px, 5vh, 52px); }
@media (min-width: 900px) { .globe-stage { --g: min(1100px, 96vw); height: calc(var(--g) * 0.5); } }
.globe-stage canvas {
  position: absolute; left: 50%; top: 0; width: var(--g); height: var(--g); max-width: none; transform: translateX(-50%);
  opacity: 0; transition: opacity 1.2s ease; touch-action: pan-y; cursor: grab;
}
.globe-stage canvas.is-ready { opacity: 1; }
.globe-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(to bottom, rgba(var(--night-rgb), 0), var(--night)); pointer-events: none; z-index: 1; }

/* The photo of a place: small, sharp, never stretched. */
.place-card {
  position: absolute; z-index: 6; margin: 0; width: 150px; left: 0; top: 0;
  transform: translate(-50%, calc(-100% - 16px)); pointer-events: none;
  background: #fff; padding: 6px 6px 8px; border-radius: 12px;
  box-shadow: 0 22px 50px -14px rgba(0, 0, 0, 0.7);
  animation: card-in .25s ease;
}
.place-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 7px; background: #ddd; }
.place-card figcaption { margin-top: 6px; color: var(--ink); font-weight: 800; font-stretch: 112%; font-size: 13.5px; text-align: center; letter-spacing: 0.01em; }
.place-card::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.place-card.is-below { transform: translate(-50%, 16px); animation-name: card-in-below; }
.place-card.is-below::after { bottom: auto; top: -6px; }
@media (min-width: 900px) { .place-card { width: 176px; } }
@keyframes card-in { from { opacity: 0; transform: translate(-50%, calc(-100% - 6px)) scale(.96); } to { opacity: 1; transform: translate(-50%, calc(-100% - 16px)); } }
@keyframes card-in-below { from { opacity: 0; transform: translate(-50%, 6px) scale(.96); } to { opacity: 1; transform: translate(-50%, 16px); } }
@media (prefers-reduced-motion: reduce) { .place-card { animation: none; } }

/* ---------- section heads ---------- */
.sec-head { display: grid; gap: 8px; margin-bottom: clamp(26px, 4vw, 44px); }
.sec-title { font-weight: 900; font-stretch: 122%; font-size: clamp(32px, 6vw, 64px); color: var(--mint); letter-spacing: -0.005em; }
.sec-title-ink { color: var(--ink); }
.sec-sub { color: var(--muted); font-size: clamp(16px, 1.8vw, 19px); margin: 0; max-width: 46ch; }

/* ---------- rituals ---------- */
.rituals { padding: clamp(64px, 10vw, 130px) 0; }
.cards { display: grid; gap: 18px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } .card-wide { grid-column: span 3; } }
@media (min-width: 900px) and (max-width: 1099px) { .cards { grid-template-columns: repeat(2, 1fr); } .card-wide { grid-column: span 2; } #r-impreza { grid-column: span 2; } }
.card {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  scroll-margin-top: 84px;
}
.card:target { border-color: var(--mint); }
.card-art { width: 150px; height: auto; fill: none; stroke: var(--mint); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.card-art .seat circle { fill: var(--mint); stroke: none; }
.card-art .steam, .card-art .road { stroke: var(--fire); stroke-dasharray: 4 6; }
.card-name { font-weight: 900; font-stretch: 122%; font-size: clamp(28px, 4.2vw, 40px); color: var(--mint); line-height: 1; }
.card-promise { font-size: 17px; margin: 0; max-width: 44ch; }
.moods { display: flex; flex-wrap: wrap; gap: 8px; }
.moods li { font-size: 13px; font-weight: 700; font-stretch: 86%; padding: 5px 12px; border-radius: 999px; background: rgba(var(--mint-rgb), 0.1); color: var(--mint); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 4px 0 0; border-top: 1px solid var(--line); }
.specs div { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 12.5px; font-weight: 600; font-stretch: 80%; color: var(--muted); }
.specs dd { margin: 2px 0 0; font-weight: 700; font-stretch: 92%; font-size: 15.5px; }
.card-note { margin: 0; font-size: 15px; color: var(--muted); }
.card .btn { align-self: flex-start; margin-top: auto; }
@media (min-width: 900px) {
  .card-wide { display: grid; grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "art name specs" "art promise specs" "art moods note" "art moods btn"; column-gap: 34px; row-gap: 14px; align-items: start; }
  .card-wide .card-art { grid-area: art; width: 170px; }
  .card-wide .card-name { grid-area: name; }
  .card-wide .card-promise { grid-area: promise; }
  .card-wide .moods { grid-area: moods; align-self: start; }
  .card-wide .specs { grid-area: specs; margin: 0; }
  .card-wide .card-note { grid-area: note; }
  .card-wide .btn { grid-area: btn; margin: 0; }
}

/* ---------- who ---------- */
/* Two equal columns, five against five, centred under a centred title. */
.who { background: var(--paper); color: var(--ink); padding: clamp(64px, 10vw, 130px) 0; }
.who-title { text-align: center; }
.who-grid { display: grid; gap: 18px; max-width: 1000px; margin: clamp(26px, 4vw, 44px) auto 0; }
@media (min-width: 800px) { .who-grid { grid-template-columns: 1fr 1fr; } }
.who-col { background: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); border: 1px solid var(--ink-line); }
.who-col h3 { font-weight: 900; font-stretch: 118%; font-size: 24px; margin-bottom: 14px; }
.who-col li { position: relative; padding: 11px 0 11px 30px; border-top: 1px solid var(--ink-line); font-size: 17px; line-height: 1.45; }
.who-col li::before { content: "✓"; position: absolute; left: 2px; top: 11px; font-weight: 800; color: var(--ok); }
.who-col-no li::before { content: "✕"; color: var(--no); }
.who-note { text-align: center; color: var(--ink-2); font-size: clamp(16px, 1.8vw, 18px); max-width: 52ch; margin: 26px auto 0; text-wrap: balance; }
.who-note strong { display: block; margin-top: 4px; color: var(--ink); font-weight: 800; font-size: 1.12em; }
.code { max-width: 1000px; margin: clamp(36px, 5vw, 60px) auto 0; background: var(--ink); color: var(--text); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.code h3 { color: var(--mint); font-weight: 900; font-stretch: 120%; font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; }
.code ul { display: grid; gap: 0; }
.code li { padding: 14px 0; border-top: 1px solid var(--line); font-size: clamp(17px, 2vw, 20px); font-stretch: 96%; }
@media (min-width: 900px) { .code ul { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

/* ---------- members ---------- */
.members { padding: clamp(64px, 10vw, 130px) 0; background: radial-gradient(120% 90% at 85% 0%, var(--glow-1) 0%, var(--night) 60%); border-top: 1px solid var(--line); }
/* Phone: title, lead, list, button. Wide: title, lead and button on the left,
   centred against the list on the right. */
.members-grid { display: grid; gap: 26px; grid-template-areas: "head" "list" "cta"; }
.members-head { grid-area: head; }
.members-list { grid-area: list; }
.members-cta { grid-area: cta; }
@media (min-width: 900px) {
  .members-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head list" "cta list"; column-gap: clamp(48px, 6vw, 88px); row-gap: 30px; }
  .members-head { align-self: end; }
  .members-cta { align-self: start; }
  .members-list { align-self: center; }
}
/* Sized to its column: "[ members ]" is about 7.3 times as wide as the font size. */
.members-title { font-weight: 900; font-stretch: 125%; font-size: clamp(36px, 11.5vw, 56px); line-height: 1; color: var(--mint); letter-spacing: -0.01em; margin: 0 0 18px; white-space: nowrap; }
@media (min-width: 900px) { .members-title { font-size: clamp(44px, 4.5vw, 64px); } }
.members-lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.45; max-width: 36ch; margin: 0; }
.members-list { display: grid; border-top: 1px solid var(--line); }
.members-list li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.7vw, 19px); }
.members-list strong { color: var(--mint); font-stretch: 105%; }

/* ---------- partners ---------- */
.partners { background: var(--paper); color: var(--ink); padding: clamp(64px, 10vw, 120px) 0; }
.partners-lead { font-size: clamp(18px, 2.1vw, 21px); max-width: 52ch; margin: 18px 0 26px; }
.partners-grid { display: grid; gap: 14px; margin-bottom: 26px; }
@media (min-width: 800px) { .partners-grid { grid-template-columns: 1fr 1fr; } }
.tile { border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 22px 24px; background: rgba(255, 255, 255, 0.55); }
.tile h3 { font-weight: 900; font-stretch: 118%; font-size: 22px; margin-bottom: 8px; }
.tile p { margin: 0; font-size: 16.5px; color: var(--ink-2); }

/* ---------- faq ---------- */
.faq { padding: clamp(64px, 10vw, 120px) 0; }
.faq .sec-title { margin-bottom: 28px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-stretch: 104%; font-size: clamp(18px, 2vw, 20px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-weight: 400; font-size: 28px; color: var(--mint); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; margin: 0; max-width: 60ch; }
.faq details a { color: var(--mint); }

/* ---------- final: the screen Max liked ---------- */
.final { position: relative; isolation: isolate; overflow: hidden; padding: clamp(130px, 18vw, 230px) 0 clamp(90px, 12vw, 150px); text-align: center; }
.final-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--night) 0%, rgba(var(--night-rgb), 0.55) 30%, rgba(var(--night-rgb), 0.7) 66%, var(--night) 100%); }
.final-inner { display: grid; justify-items: center; }
.final-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(52px, 8.8vw, 120px); line-height: 0.92; color: #fff; margin: 0 0 18px; max-width: 13ch; text-wrap: balance; }
.final-sub { color: var(--text); font-size: 18px; margin: 0 0 28px; max-width: 48ch; text-wrap: balance; }
.final-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; width: 100%; max-width: 520px; }
.final-form input { flex: 1 1 240px; min-height: 62px; border-radius: 999px; padding: 0 24px; font-size: 18px; }
.final-form input[aria-invalid="true"] { border-color: var(--warn); }
.final-form .btn { flex: 0 0 auto; }
@media (max-width: 559px) { .final-form .btn { width: 100%; } }
.final-fine { color: var(--muted); font-size: 14px; margin: 14px 0 0; max-width: 48ch; }
.final-done { display: grid; justify-items: center; gap: 12px; }
.final-done p { margin: 0; font-size: 18px; }
.final-done .done-actions { justify-content: center; }

/* ---------- footer: small logo on the left, links on the right ---------- */
.foot { border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 64px) 0 calc(110px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .foot { padding-bottom: 44px; } }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 22px 32px; }
.foot-brand { display: grid; justify-items: start; gap: 10px; }
.foot-brand a { display: block; }
.foot-logo { height: 24px; width: auto; }
.foot-tag { color: var(--muted); margin: 0; font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; }
.foot-links a, .foot-links .link { color: var(--text); text-decoration: none; }
.foot-links a:hover, .foot-links .link:hover { color: var(--mint); }
.foot-fine { color: var(--muted-2); font-size: 13.5px; margin: 14px 0 0; }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(var(--night-rgb), 0.97) 60%, rgba(var(--night-rgb), 0));
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta .btn { width: 100%; }
.sticky-cta.is-on { transform: translateY(0); }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- sheets (application, privacy) ---------- */
.sheet {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  margin: 0; padding: 0; border: 0; inset: 0;
  background: var(--night); color: var(--text);
  overscroll-behavior: contain;
}
.sheet::backdrop { background: rgba(var(--night-rgb), 0.8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet[open] { display: flex; flex-direction: column; animation: sheet-in .28s ease; }
@keyframes sheet-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sheet[open] { animation: none; } }
@media (min-width: 720px) {
  .sheet { max-width: 600px; height: auto; max-height: min(88vh, 860px); margin: auto; border-radius: 26px; border: 1px solid var(--line); }
}
.sheet-form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.sheet-top { position: relative; flex: none; height: 60px; display: flex; align-items: center; justify-content: flex-end; padding: 0 12px; padding-top: env(safe-area-inset-top); }
.sheet-progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--line); }
.sheet-progress span { display: block; height: 100%; width: 20%; background: var(--mint); transition: width .3s ease; }
.sheet-x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(var(--mint-rgb), 0.08); color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; }
.sheet-body { flex: 1; overflow-y: auto; padding: 4px clamp(20px, 5vw, 40px) 24px; -webkit-overflow-scrolling: touch; }
.sheet-step { color: var(--muted); font-weight: 700; font-stretch: 84%; font-size: 14px; margin: 0 0 8px; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend { font-weight: 900; font-stretch: 116%; font-size: clamp(26px, 5vw, 34px); line-height: 1.08; color: var(--mint); margin-bottom: 16px; padding: 0; }
.hint { color: var(--muted); margin: -4px 0 16px; font-size: 16px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field > span, .field-label { font-weight: 700; font-stretch: 96%; font-size: 15px; color: var(--text); }
.field i { font-style: normal; color: var(--muted); font-weight: 500; }
.field-label { margin: 6px 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.chip {
  min-height: 46px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid rgba(var(--mint-rgb), 0.35); background: transparent; color: var(--text);
  font-weight: 700; font-stretch: 96%; font-size: 15.5px; cursor: pointer;
  transition: background-color .12s ease, color .12s ease, border-color .12s ease;
}
.chip:hover { border-color: var(--mint); }
.chip[aria-pressed="true"] { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; margin: 12px 0; font-size: 15.5px; color: var(--text); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--mint); }
.sheet-err { color: var(--warn); font-weight: 700; min-height: 1.4em; margin: 6px 0 0; }
.sheet-foot { flex: none; display: flex; justify-content: space-between; gap: 12px; padding: 14px clamp(20px, 5vw, 40px) calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--night); }
.sheet-foot .btn-mint { flex: 1; max-width: 320px; margin-left: auto; }
.done { text-align: left; }
.done-mark { font-size: 54px; margin: 8px 0 6px; }
.done-title { font-weight: 900; font-stretch: 116%; font-size: clamp(28px, 5vw, 36px); color: var(--mint); margin-bottom: 18px; }
.done-next { counter-reset: n; display: grid; gap: 10px; margin-bottom: 26px; }
.done-next li { counter-increment: n; display: grid; grid-template-columns: 34px 1fr; font-size: 17px; }
.done-next li::before { content: counter(n); width: 26px; height: 26px; border-radius: 50%; background: rgba(var(--mint-rgb), 0.14); color: var(--mint); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.done-share-lead { color: var(--muted); margin-bottom: 12px; }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sheet-text .sheet-body { padding-bottom: 40px; }
.prose h3 { font-weight: 900; font-stretch: 116%; font-size: 28px; color: var(--mint); margin-bottom: 18px; }
.prose p { color: var(--text); font-size: 16px; }
.prose a { color: var(--mint); }

/* ---------- the vote: where to go together (secondary) ---------- */
.vote { padding: clamp(56px, 9vw, 120px) 0; border-top: 1px solid var(--line); background: radial-gradient(100% 70% at 0% 0%, var(--glow-2) 0%, var(--night) 55%); }
.vote-head { display: grid; gap: 22px; margin-bottom: clamp(22px, 3vw, 34px); }
.vote .sec-title { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.04; }
.vote-head .sec-sub { margin-top: 14px; }
@media (min-width: 900px) { .vote-head { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 48px; } }
.vote-meta { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 4px; }
.vote-meta p { margin: 0; }
.vote-clock { display: flex; align-items: center; gap: 10px; font-weight: 700; font-stretch: 90%; font-size: 15px; color: var(--text); }
.vote-total { color: var(--muted); font-size: 16px; margin-top: 6px !important; }
.vote-total b { font-weight: 900; font-stretch: 120%; font-size: 46px; line-height: 1; color: var(--mint); margin-right: 4px; }
.vote-recent { color: var(--muted); font-size: 14.5px; min-height: 1.4em; }
.board { border-top: 1px solid var(--line); }
.board li { break-inside: avoid; }
@media (min-width: 900px) {
  .board { columns: 2; column-gap: 48px; border-top: 0; }
  .board li:first-child, .board li:nth-child(7) { border-top: 1px solid var(--line); }
}
.board .row {
  width: 100%; display: grid; align-items: center; gap: 4px 14px;
  grid-template-columns: 30px minmax(0, 1fr) auto auto;
  grid-template-areas: "rank city n cta" ". bar bar bar";
  padding: 14px 4px 16px; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  text-align: left; cursor: pointer; color: var(--text);
  transition: background-color .15s ease;
}
.board .row:hover { background: rgba(var(--mint-rgb), 0.05); }
.row-rank { grid-area: rank; font-weight: 700; font-stretch: 80%; color: var(--muted); font-variant-numeric: tabular-nums; }
.row-city { grid-area: city; font-weight: 900; font-stretch: 116%; font-size: clamp(19px, 4.6vw, 30px); line-height: 1.1; color: var(--text); overflow-wrap: anywhere; }
.row-n { grid-area: n; font-weight: 800; font-stretch: 100%; font-size: 18px; color: var(--mint); font-variant-numeric: tabular-nums; }
.row-cta { grid-area: cta; font-size: 13.5px; font-weight: 700; font-stretch: 88%; padding: 6px 12px; border-radius: 999px; border: 1.5px solid rgba(var(--mint-rgb), 0.45); color: var(--mint); white-space: nowrap; }
.row-bar { grid-area: bar; height: 6px; border-radius: 999px; background: rgba(var(--mint-rgb), 0.1); overflow: hidden; }
.row-bar span { display: block; height: 100%; min-width: 0; border-radius: inherit; background: var(--mint); transition: width .6s ease; }
.row.is-top .row-city { color: var(--mint-strong); }
.row.is-top .row-bar span { background: var(--fire); }
.row.is-mine { background: rgba(var(--mint-rgb), 0.07); }
.row.is-mine .row-cta { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.vote-foot { color: var(--muted); font-size: 15px; margin: 18px 0 0; max-width: 62ch; }
.vote-foot a { color: var(--mint); }

.vote-dialog-title { font-weight: 900; font-stretch: 116%; font-size: clamp(26px, 5vw, 32px); line-height: 1.08; color: var(--mint); margin: 0 0 18px; }
.vote-submit { width: 100%; margin-top: 6px; }
.vote-standing { font-size: 18px; }
@media (max-width: 719px) {
  .sheet-mini { height: auto; max-height: 92dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; border-top: 1px solid var(--line); }
  .sheet-mini .sheet-body { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
@media (min-width: 720px) { .sheet-mini { max-width: 480px; } }


/* ---------- join steps, exit pop-up, toast ---------- */
.sheet-title { font-weight: 900; font-stretch: 116%; font-size: clamp(28px, 6vw, 36px); line-height: 1.04; color: var(--mint); margin: 0 0 14px; }
.sheet-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.sheet-actions .btn-mint { flex: 1 1 200px; }
.done-mark-img { width: 72px; height: auto; margin: 4px 0 14px; }
.done-share { margin: 18px 0 0; color: var(--muted); }
.exit-shaka { width: 76px; height: auto; margin: 0 0 14px; }
.exit-lead { color: var(--muted); margin: 0 0 18px; }
.exit-row { display: grid; gap: 10px; }
.exit-fine { color: var(--muted-2); font-size: 13.5px; margin: 12px 0 0; }
.exit-no { display: block; margin: 16px auto 0; color: var(--muted); font-size: 14.5px; }
.vote-google { min-height: 44px; margin: 0 0 6px; }
.vote-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; margin: 12px 0 14px; }
.vote-or::before, .vote-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.toast { position: fixed; z-index: 70; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--mint); color: var(--ink); font-weight: 800; padding: 12px 18px; border-radius: 999px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6); }

/* ---------- Lista 100 przeżyć: its own page, after sign-up ---------- */
.lista { padding: clamp(80px, 11vw, 140px) 0; border-top: 1px solid var(--line); background: radial-gradient(90% 60% at 50% 0%, rgba(var(--mint-rgb), 0.07) 0%, rgba(var(--mint-rgb), 0) 70%); }
.lista-head { margin-bottom: clamp(28px, 4vw, 44px); }
.lista-bar { position: sticky; top: 84px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; padding: 12px 12px 12px 20px; border-radius: 999px; background: rgba(var(--night-rgb), 0.86); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lista-bar p { margin: 0; font-weight: 700; }
.lista-bar b { color: var(--mint); font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
.lista-wrap { position: relative; }
.lista-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .lista-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .lista-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cat { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 12px; }
.cat h3 { font-weight: 900; font-stretch: 118%; font-size: 22px; margin: 0 0 10px; color: var(--mint); }
.cat ol { display: grid; }
.item { display: grid; grid-template-columns: 28px 30px minmax(0, 1fr); align-items: start; gap: 4px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 16px; line-height: 1.4; cursor: pointer; user-select: none; }
.item-n { color: var(--muted-2); font-size: 13px; font-weight: 700; padding-top: 2px; font-variant-numeric: tabular-nums; }
.item-box { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid rgba(var(--mint-rgb), 0.5); display: grid; place-items: center; }
.item.is-done .item-box { background: var(--mint); border-color: var(--mint); animation: pop .28s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
.item.is-done .item-box::after { content: ""; width: 9px; height: 5px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.item.is-done .item-t { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(var(--mint-rgb), 0.6); }
.item.is-locked { filter: blur(5px); opacity: .7; pointer-events: none; }
.lista.is-locked .item { cursor: default; }
.lista-lock {
  position: absolute; left: 0; right: 0; bottom: 0; height: 74%;
  display: grid; place-content: end center; justify-items: center; gap: 10px; text-align: center; padding: 0 20px 34px;
  background: linear-gradient(to bottom, rgba(var(--night-rgb), 0) 0%, rgba(var(--night-rgb), 0.92) 42%, var(--night) 100%);
  border-radius: 0 0 var(--radius) var(--radius);
}
.lista-lock-title { font-weight: 900; font-stretch: 118%; font-size: clamp(26px, 4vw, 38px); margin: 0; line-height: 1.05; }
.lista-lock p { margin: 0; color: var(--muted); }
.lista-lock .btn { margin-top: 10px; }

.item.is-done .item-box { animation: pop .28s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
.lista-page { padding-top: 120px; }
.lista-gate { max-width: 520px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: 12px; padding: 34px 26px; border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--line); }
.lista-gate .final-form { margin-top: 6px; }
.lista-back { display: inline-block; margin: 40px 0 0; color: var(--muted); }
.done-list-notes { display: grid; gap: 8px; margin: 0 0 22px; color: var(--muted); }
.cat-title { font-weight: 900; font-stretch: 118%; font-size: 22px; margin: 0 0 10px; color: var(--mint); line-height: 1.05; }
.final .wrap-narrow { max-width: 980px; }
.final-title { max-width: 14ch; }
.center { text-align: center; }
.center .sec-sub { margin-left: auto; margin-right: auto; }
.lista-head { margin-bottom: clamp(28px, 4vw, 44px); }
.lista-head .sec-sub { margin-top: 14px; }

/* ---------- v12: the vote as the main lead path (like context-con) ---------- */
.vote-intro { display: grid; justify-items: start; }
.vote-lead { color: #fff; font-size: clamp(18px, 2vw, 21px); line-height: 1.5; max-width: 46ch; margin: 18px 0 26px; }
.vote-cta { min-width: 220px; }
.vote-meta { align-self: end; }
.vote-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.vote-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(var(--mint-rgb), 0.35); background: transparent; color: var(--text); font-weight: 700; font-stretch: 96%; font-size: 15px; cursor: pointer; }
.vote-chip span { color: var(--muted); font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; }
.vote-chip:hover { border-color: var(--mint); }
.vote-chip[aria-pressed="true"] { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.vote-chip[aria-pressed="true"] span { color: var(--ink-2); }

/* ---------- places and brands: the enquiry dialog ---------- */
.partner-form { display: grid; gap: 0; }
.partner-row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .partner-row { grid-template-columns: 1fr 1fr; } }
.partner-fine { color: var(--muted-2); font-size: 13.5px; margin: 14px 0 0; }

/* ---------- last screen: the title in the logo's own wide Archivo ---------- */
.final-title { font-family: inherit; font-style: normal; font-weight: 900; font-stretch: 125%; font-size: clamp(38px, 6.6vw, 88px); line-height: 0.98; letter-spacing: -0.01em; max-width: 16ch; }
@media (max-width: 899px) {
  .vote-cta { width: 100%; }
  .vote-meta { background: none; border: 0; padding: 0; }
  .vote-total b { font-size: 36px; }
}
.vote-recent:empty { display: none; }
