/* ==========================================================
   YOUR PACE — slow run club, Vilnius
   Poster maximalism: cobalt / cream / navy / peach, flat colour
   ========================================================== */

:root {
  --blue: #3B4FD8;
  --navy: #0B1A6E;
  --cream: #F2EADA;
  --paper: #FBF6EA;
  --peach: #F4A27C;

  --f-display: "Rammetto One", "Cooper Black", "Bookman Old Style", "Rockwell Extra Bold", Georgia, serif;
  /* Fallback is a plain sans scaled to Caveat's x-height (font-size-adjust below): system script fonts are ~60% wider and made the hero jump when the web font arrived */
  --f-script: "Caveat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --script-adjust: .4;
  --f-body: "DM Sans", "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --pad: clamp(1rem, 4vw, 3rem);
  --sec-pad: clamp(4.5rem, 10vw, 8.5rem);
  --wave-h: clamp(1.6rem, 5vw, 4.5rem);
  --nav-h: 4rem;
  --mega-fs: clamp(4.2rem, 24vw, 13rem);
  --ease-pop: cubic-bezier(.3, 1.6, .5, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 3px);
  -webkit-text-size-adjust: 100%;
}
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.55;
  color: var(--navy);
  background: var(--cream);
  overflow-x: hidden; /* fallback for browsers without overflow: clip */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}


h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
mark { background: none; color: inherit; }

:focus-visible {
  outline: 3px solid var(--focus, var(--blue));
  outline-offset: 3px;
  border-radius: 4px;
}

.sprite { position: absolute; }
[hidden] { display: none !important; }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: .5rem; left: .5rem;
  z-index: 200;
  padding: .7rem 1rem;
  background: var(--navy);
  color: var(--cream);
  font-weight: 700;
  border-radius: 999px;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.wrap {
  width: min(100% - 2 * var(--pad), 1240px);
  margin-inline: auto;
}

/* ---------- Sections & colour blocks ---------- */
.sec {
  position: relative;
  padding-block: var(--sec-pad) calc(var(--sec-pad) + var(--wave-h));
  overflow-x: hidden;
  overflow-x: clip;
}
.sec--blue  { background: var(--blue);  color: var(--cream); --focus: var(--cream); }
.sec--navy  { background: var(--navy);  color: var(--cream); --focus: var(--peach); }
.sec--cream { background: var(--cream); color: var(--navy);  --focus: var(--blue); }
.sec--peach { background: var(--peach); color: var(--navy);  --focus: var(--navy); }

.wave {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%;
  height: var(--wave-h);
  pointer-events: none;
}
.wave--cream { fill: var(--cream); }
.wave--navy  { fill: var(--navy); }
.wave--blue  { fill: var(--blue); }
.wave--peach { fill: var(--peach); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .4em .9em;
  border: 2px solid currentColor;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.title {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.005em;
  text-wrap: balance;
  overflow-wrap: break-word;
  color: var(--blue);
  text-shadow: .045em .05em 0 var(--navy);
  text-transform: uppercase;
}
.title--xl { font-size: clamp(2.2rem, 7.2vw, 5.4rem); }
.title--lg { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.title--onblue { color: var(--cream); }
.title--onnavy { color: var(--peach); text-shadow: .045em .05em 0 var(--blue); }
/* Lithuanian capitals carry dots, carons and ogoneks (Ė, Ž, Ų): give wrapped display lines room so marks never touch the line above */
:lang(lt) .title { line-height: 1.34; }

.script {
  font-family: var(--f-script); font-size-adjust: var(--script-adjust);
  font-weight: 700;
  line-height: 1.1;
  text-wrap: balance;
  transform: rotate(-4deg);
  transform-origin: left center;
}

.link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: .14em;
  text-underline-offset: .18em;
  text-decoration-color: var(--peach);
  transition: text-decoration-color .2s;
}
/* peach underline only reads on the dark sections; on light surfaces use blue (5.3:1 on cream) */
.sec--cream .link, .sec--peach .link, .ticket .link, .kit__card .link, .lab .link { text-decoration-color: var(--blue); }
a.link:hover { text-decoration-color: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .8em 1.35em;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  border: 3px solid var(--navy);
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--navy);
  cursor: pointer;
  transition: transform .18s var(--ease-pop), box-shadow .18s var(--ease-pop), background-color .2s;
}
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--navy); }
.btn--peach { background: var(--peach); color: var(--navy); }
.btn--blue  { background: var(--blue);  color: var(--cream); }
.btn--cream { background: var(--paper); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn--sm { font-size: .9rem; min-height: 2.75rem; padding: .55em 1.05em; box-shadow: 3px 3px 0 var(--navy); }
.btn--lg { font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); padding: .9em 1.6em; }
.btn .ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease-pop); }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem 1rem; }
.btn-row--center { justify-content: center; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 3px solid var(--navy);
  --focus: var(--blue);
}
.nav__in {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--nav-h);
  width: min(100% - 2 * var(--pad), 1500px);
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding-block: .8rem;
  text-decoration: none;
  flex: none;
}
.logo__speed {
  width: 1.7rem; height: 1.2rem;
  fill: none;
  stroke: var(--blue);
  stroke-width: 3.4;
  stroke-linecap: round;
  transition: transform .3s var(--ease-pop);
}
.logo__word {
  font-family: var(--f-display);
  font-size: clamp(1.05rem, .9rem + .8vw, 1.35rem);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--blue);
  text-shadow: 2px 2px 0 var(--navy);
  transform: skewX(-10deg);
}
.logo--big .logo__word { font-size: clamp(2rem, 6vw, 3.6rem); color: var(--cream); text-shadow: .06em .06em 0 var(--blue); }
.logo--big .logo__speed { width: clamp(2.6rem, 7vw, 4.4rem); height: clamp(1.9rem, 5vw, 3.1rem); stroke: var(--peach); }

.nav__menu { margin-inline: auto; }
.nav__menu ul { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__menu a:not(.btn) {
  position: relative;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  padding: .4rem 0;
}
.nav__menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  border-radius: 4px;
  background: var(--peach);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease-out);
}
.nav__menu a:not(.btn):hover::after,
.nav__menu a.is-active::after { transform: scaleX(1); }
.nav__menu-cta { display: none; }

.nav__tools { display: flex; align-items: center; gap: .7rem; flex: none; }

.lang {
  display: inline-flex;
  padding: 2px;
  border: 3px solid var(--navy);
  border-radius: 999px;
  background: var(--paper);
}
.lang__btn {
  border: 0;
  background: transparent;
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .06em;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0 .5rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.lang__btn[aria-pressed="true"] { background: var(--navy); color: var(--cream); }

.burger {
  display: none;
  width: 2.75rem; height: 2.75rem;
  padding: 0;
  border: 3px solid var(--navy);
  border-radius: 50%;
  background: var(--peach);
  cursor: pointer;
  place-content: center;
  gap: 4px;
}
.burger span {
  display: block;
  width: 1.1rem; height: 3px;
  border-radius: 3px;
  background: var(--navy);
  transition: transform .25s var(--ease-out), opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 939.98px) {
  .burger { display: grid; }
  .nav__tools { margin-left: auto; }
  .nav__menu {
    position: fixed;
    inset: calc(var(--nav-h) + 3px) 0 0 0;
    margin: 0;
    padding: clamp(1.5rem, 6vw, 3rem) var(--pad) calc(3rem + env(safe-area-inset-bottom, 0px));
    background: var(--blue);
    color: var(--cream);
    --focus: var(--cream);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-1rem);
    transition: opacity .25s, transform .3s var(--ease-out), visibility 0s .3s;
  }
  .nav__menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }
  .nav__menu ul { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .nav__menu a:not(.btn) {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(1.6rem, 7.4vw, 3.2rem);
    line-height: 1.3;
    text-transform: uppercase;
    text-shadow: .05em .05em 0 var(--navy);
  }
  .nav__menu li:nth-child(even) a:not(.btn) { color: var(--peach); }
  .nav__menu-cta { display: block; margin-top: 1.2rem; }
}
@media (max-width: 559.98px) {
  .nav__cta { display: none; }
}
@media (max-width: 399.98px) {
  .nav__in { gap: .5rem; }
  .nav__tools { gap: .45rem; }
  .logo__word { font-size: .95rem; }
  .logo__speed { width: 1.3rem; }
}

/* ---------- Mega extruded lettering ---------- */
.mega-stack { font-weight: 400; }
.mega {
  --e: .0085em;
  --sh: var(--navy);
  display: block;
  width: max-content;
  font-family: var(--f-display);
  font-size: var(--mega-fs);
  line-height: .87;
  letter-spacing: -.012em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate3d(calc(var(--p, 0) * var(--k, 0) * 1vw), 0, 0);
  will-change: transform;
  text-shadow:
    calc(var(--dx, 1) * 1 * var(--e))  calc(1 * var(--e)) 0 var(--sh),
    calc(var(--dx, 1) * 2 * var(--e))  calc(2 * var(--e)) 0 var(--sh),
    calc(var(--dx, 1) * 3 * var(--e))  calc(3 * var(--e)) 0 var(--sh),
    calc(var(--dx, 1) * 4 * var(--e))  calc(4 * var(--e)) 0 var(--sh),
    calc(var(--dx, 1) * 5 * var(--e))  calc(5 * var(--e)) 0 var(--sh),
    calc(var(--dx, 1) * 6 * var(--e))  calc(6 * var(--e)) 0 var(--sh),
    calc(var(--dx, 1) * 7 * var(--e))  calc(7 * var(--e)) 0 var(--sh),
    calc(var(--dx, 1) * 8 * var(--e))  calc(8 * var(--e)) 0 var(--sh),
    calc(var(--dx, 1) * 9 * var(--e))  calc(9 * var(--e)) 0 var(--sh),
    calc(var(--dx, 1) * 10 * var(--e)) calc(10 * var(--e)) 0 var(--sh),
    calc(var(--dx, 1) * 11 * var(--e)) calc(11 * var(--e)) 0 var(--sh),
    calc(var(--dx, 1) * 12 * var(--e)) calc(12 * var(--e)) 0 var(--sh),
    calc(var(--dx, 1) * 13 * var(--e)) calc(13 * var(--e)) 0 var(--sh),
    calc(var(--dx, 1) * 14 * var(--e)) calc(14 * var(--e)) 0 var(--sh);
}
.mega--cream { color: var(--cream); }
.mega--peach { color: var(--peach); }

/* ---------- Stickers & doodles ---------- */
.sticker {
  position: relative;
  display: inline-block;
  z-index: 3;
  transform: translate(var(--x, 0px), var(--y, 0px)) rotate(calc(var(--r, 0deg) + var(--r2, 0deg))) scale(var(--s, 1));
  transition: transform .35s var(--ease-pop);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.sticker.is-drag { transition: none; cursor: grabbing; --s: 1.14; z-index: 20; }
.sticker.is-pop { animation: pop .6s var(--ease-pop); }
.sticker--static { cursor: default; }
@keyframes pop {
  30%  { transform: translate(var(--x, 0px), var(--y, 0px)) rotate(calc(var(--r, 0deg) - 16deg)) scale(1.2); }
  60%  { transform: translate(var(--x, 0px), var(--y, 0px)) rotate(calc(var(--r, 0deg) + 12deg)) scale(1.08); }
  100% { transform: translate(var(--x, 0px), var(--y, 0px)) rotate(var(--r, 0deg)) scale(1); }
}

.doodle { display: block; overflow: visible; }
.doodle--spark { width: clamp(2rem, 5vw, 3.6rem); height: clamp(2rem, 5vw, 3.6rem); stroke: var(--navy); stroke-width: 2.5; stroke-linejoin: round; }
.doodle--spark.peach { fill: var(--peach); }
.doodle--spark.cream { fill: var(--cream); }
.doodle--smiley { width: clamp(3.6rem, 8vw, 6rem); height: clamp(3.6rem, 8vw, 6rem); --face: var(--peach); --ink: var(--navy); filter: drop-shadow(4px 4px 0 var(--navy)); }
.doodle--smiley-blue { --face: var(--blue); --ink: var(--cream); }
.sm-face { fill: var(--face, #F4A27C); stroke: var(--navy); stroke-width: 3; }
.sm-ink  { fill: var(--ink, #0B1A6E); }
.sm-line { fill: none; stroke: var(--ink, #0B1A6E); stroke-width: 3.4; stroke-linecap: round; }
.pin-dot { fill: var(--pin-dot, #F2EADA); }
.sock-stripe { stroke: var(--sock-stripe, #F2EADA); }
.doodle--sneaker { width: clamp(4.6rem, 11vw, 8rem); height: clamp(2.9rem, 6.9vw, 5rem); fill: var(--cream); stroke: var(--navy); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(4px 4px 0 var(--navy)); }
.doodle--sock { width: clamp(3.4rem, 7vw, 4.6rem); height: clamp(4.1rem, 8.5vw, 5.6rem); fill: var(--blue); stroke: var(--cream); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.doodle--heart { width: clamp(2.6rem, 6vw, 4.4rem); height: clamp(2.6rem, 6vw, 4.4rem); fill: var(--peach); stroke: var(--navy); stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(3px 3px 0 var(--navy)); }

.stamp {
  --sz: clamp(5.2rem, 9vw, 9.5rem);
  position: relative;
  display: grid;
  place-content: center;
  width: var(--sz);
  aspect-ratio: 1.45 / 1;
  border: 3px solid var(--navy);
  border-radius: 50%;
  background: var(--peach);
  color: var(--navy);
  font-family: var(--f-display);
  font-size: calc(var(--sz) * .165);
  line-height: 1.08;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--navy);
}
.stamp::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px dashed currentColor;
  border-radius: 50%;
  opacity: .8;
}
.stamp > span { display: block; position: relative; }
.stamp--blue { background: var(--blue); color: var(--cream); }
.stamp--sm { --sz: clamp(6.8rem, 13vw, 9rem); aspect-ratio: 2.1 / 1; font-size: calc(var(--sz) * .098); transform: rotate(7deg); flex: none; }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(1.6rem, 4vw, 3rem);
  padding-bottom: calc(var(--wave-h) + 1rem);
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
}
.hero__in {
  width: min(100% - 2 * var(--pad), 1500px);
  margin-inline: auto;
  display: grid;
  gap: clamp(1.6rem, 4vw, 3rem);
  flex: 1;
  align-content: center;
}
.hero__letters { position: relative; width: fit-content; max-width: 100%; }
.hero .eyebrow { margin-bottom: clamp(1rem, 2.4vw, 1.8rem); }
.hero__script {
  width: fit-content;
  margin: .1em 0 0 auto;
  font-size: clamp(2.3rem, 7vw, 4.8rem);
  color: var(--cream);
  position: relative;
  z-index: 2;
}
.hero__stamp {
  position: absolute;
  left: calc(var(--mega-fs) * 2.72);
  top: calc(2.6rem + var(--mega-fs) * .1);
}
.hero__spark1 { position: absolute; left: 0; bottom: -.4rem; }

.hero__side { max-width: 30rem; --focus: var(--cream); }
.hero__quote {
  font-family: var(--f-script); font-size-adjust: var(--script-adjust);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.6vw, 2.7rem);
  line-height: 1.05;
  color: var(--peach);
  transform: rotate(-2deg);
  transform-origin: left;
  margin-bottom: .7rem;
}
.hero__lead {
  font-size: clamp(1.15rem, 1rem + .9vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.hero__meta {
  margin: -.8rem 0 1.4rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
}

.chip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .6rem;
  min-height: 2.75rem;
  margin-top: 1.4rem;
  padding: .55rem 1rem;
  background: var(--navy);
  color: var(--cream);
  border-radius: 1.4rem;
  font-size: .92rem;
  text-decoration: none;
  transition: transform .2s var(--ease-pop);
}
.chip__dot {
  flex: none;
  width: .65rem; height: .65rem;
  border-radius: 50%;
  background: var(--peach);
  animation: pulse 1.6s ease-in-out infinite;
}
.chip__time { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--peach); }
.chip__time:empty { display: none; }
@keyframes pulse { 50% { transform: scale(1.6); opacity: .5; } }

.hero__doodles {
  width: min(100% - 2 * var(--pad), 1500px);
  margin: clamp(1.4rem, 4vw, 2.6rem) auto 0;
  display: flex;
  align-items: flex-end;
  gap: clamp(.6rem, 2.5vw, 2rem);
}
.hero__loop {
  flex: 1 1 8rem;
  min-width: 0;
  max-width: 22rem;
  height: auto;
  aspect-ratio: 300 / 160;
  overflow: visible;
}
.hero__loop path {
  fill: none;
  stroke: var(--cream);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 2 13; /* the dots are stepped a few times a second from script.js: a CSS stroke-dashoffset animation kept the main thread busy on every frame */
}
.hero__loop-pin { fill: var(--peach); stroke: var(--navy); stroke-width: 2.5; --pin-dot: var(--navy); }
.hero__smiley { margin-left: auto; }

@media (min-width: 960px) {
  :root { --mega-fs: clamp(9rem, min(16.5vw, 25vh), 17rem); }
  .hero__in { grid-template-columns: auto minmax(18rem, 26rem); justify-content: space-between; align-items: end; }
  .hero__side { padding-bottom: 1rem; }
}

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  z-index: 2;
  background: var(--peach);
  color: var(--navy);
  border-bottom: 3px solid var(--navy);
  overflow: hidden;
  padding: .2rem 0 .85rem;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker var(--tick-dur, 30s) linear infinite;
}
.ticker:active .ticker__track, .ticker.is-off .ticker__track { animation-play-state: paused; }
.ticker__set {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  padding-right: clamp(1rem, 2.4vw, 2rem);
  flex: none;
  font-family: var(--f-display);
  font-size: clamp(1.05rem, .9rem + 1vw, 1.7rem);
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__script { font-family: var(--f-script); font-size-adjust: var(--script-adjust); font-weight: 700; font-size: 1.45em; text-transform: none; color: var(--blue); transform: rotate(-3deg); }
.ticker__star { width: .9em; height: .9em; fill: var(--cream); stroke: var(--navy); stroke-width: 3; flex: none; }
@keyframes ticker { to { transform: translate3d(calc(-1 * var(--set-w, 50%)), 0, 0); } }

/* ---------- Manifesto ---------- */
.about__head { max-width: 62rem; }
.about__lead {
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  max-width: 44rem;
  font-size: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  font-weight: 500;
  line-height: 1.35;
}
.about__lead mark {
  font-weight: 700;
  background: var(--peach);
  padding: .02em .3em;
  border-radius: .3em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  white-space: nowrap;
}

.triptych {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
  gap: clamp(1.6rem, 3vw, 2.4rem);
  margin-top: clamp(2.6rem, 6vw, 4.5rem);
}
.triptych > li { display: flex; }

.poster {
  container-type: inline-size;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  min-height: clamp(15rem, 22vw, 20rem);
  border: 3px solid var(--navy);
  border-radius: 1.6rem;
  box-shadow: 9px 9px 0 var(--navy);
  overflow: hidden;
}
.poster--blue  { background: var(--blue);  color: var(--cream); --pw: var(--cream); --pws: var(--navy); }
.poster--peach { background: var(--peach); color: var(--navy);  --pw: var(--blue);  --pws: var(--cream); }
.poster--navy  { background: var(--navy);  color: var(--cream); --pw: var(--peach); --pws: var(--blue); }
.poster__kicker { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .875rem; margin-bottom: .5rem; padding-right: 4rem; }
.poster__word {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  font-size: clamp(1.5rem, 12.5cqi, 4rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--pw);
  text-shadow: .05em .06em 0 var(--pws);
  margin-bottom: 1.2rem;
}
.poster--peach .poster__word { -webkit-text-stroke: 1.5px var(--navy); paint-order: stroke fill; text-shadow: .06em .07em 0 var(--navy); }
.poster__text { font-size: 1.08rem; font-weight: 500; line-height: 1.45; }
.poster__script { margin-top: auto; padding-top: 2rem; font-size: clamp(1.7rem, 2.2vw + 1rem, 2.2rem); color: var(--pw); }
.poster--peach .poster__script { color: var(--navy); }
.poster__spark, .poster__smiley, .poster__pin {
  position: absolute;
  top: 1.1rem; right: 1.1rem;
  width: 3rem; height: 3rem;
  overflow: visible;
  animation: bob 4s ease-in-out 3;
}
.poster__spark { fill: var(--peach); stroke: var(--navy); stroke-width: 2.5; stroke-linejoin: round; }
.poster__smiley { --face: var(--cream); --ink: var(--navy); animation-delay: -1.3s; }
.poster__pin { fill: var(--peach); stroke: var(--cream); stroke-width: 2.5; --pin-dot: var(--navy); animation-delay: -2.4s; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(8deg); } }

/* Tilt cards */
[data-tilt] {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(var(--rot, 0deg));
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
[data-tilt].is-tilting { transition: transform .08s linear, box-shadow .3s var(--ease-out); }

/* ---------- Event ---------- */
.event__grid { display: grid; gap: clamp(2.4rem, 6vw, 5rem); align-items: center; }
@media (min-width: 960px) { .event__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }

.ticket {
  position: relative;
  background: var(--cream);
  color: var(--navy);
  --focus: var(--blue);
  border-radius: 1.8rem;
  padding: clamp(1.3rem, 3.4vw, 2.6rem);
  padding-bottom: calc(clamp(1.3rem, 3.4vw, 2.6rem) + 3.6rem);
  box-shadow: clamp(7px, 1.2vw, 12px) clamp(7px, 1.2vw, 12px) 0 var(--blue);
  overflow: hidden;
  rotate: -1.2deg;
}
.ticket__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.ticket__kicker {
  font-family: var(--f-display);
  font-size: clamp(1rem, .8rem + 1.3vw, 1.8rem);
  line-height: 1.42;
  text-transform: uppercase;
  max-width: 14ch;
  min-width: 0;
  overflow-wrap: break-word;
}
.ticket__date {
  font-family: var(--f-display);
  font-size: clamp(4.4rem, 17vw, 10rem);
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--blue);
  text-shadow: .035em .04em 0 var(--peach), .07em .08em 0 var(--navy);
  margin: .12em 0 .22em;
}
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
  gap: 1rem 1.6rem;
  padding-block: 1.2rem;
  border-block: 3px dashed var(--navy);
}
.fact dt { font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.fact dd { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); font-weight: 700; line-height: 1.25; }
.fact dd small { display: block; margin-top: .3rem; font-size: .88rem; font-weight: 500; }
.ticket__note { margin: 1.2rem 0 1.4rem; font-size: 1.08rem; font-weight: 500; }
.ticket__waves { position: absolute; left: 0; bottom: 0; width: 100%; height: 3rem; }
.ticket__waves .w1 { fill: var(--peach); }
.ticket__waves .w2 { fill: var(--blue); }
.ticket__waves .w3 { fill: var(--navy); }

.event__side { display: grid; gap: clamp(1.4rem, 3vw, 2rem); justify-items: start; min-width: 0; }
/* one-word heading (PRADEDAME!) has to fit the narrow side column without hyphenating */
.event__side .title { font-size: clamp(2rem, 3.9vw, 3.25rem); max-width: 100%; }
.countdown { width: 100%; }
.countdown__label { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .875rem; margin-bottom: .8rem; color: var(--cream); }
.countdown__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.5rem, 1.6vw, 1rem); max-width: 30rem; }
.tile {
  display: grid;
  justify-items: center;
  gap: .1rem;
  padding: clamp(.6rem, 2vw, 1rem) .2rem;
  background: var(--peach);
  color: var(--navy);
  border-radius: 1rem;
  box-shadow: 5px 5px 0 var(--blue);
}
.tile:nth-child(even) { rotate: 2deg; }
.tile:nth-child(odd) { rotate: -2deg; }
.tile__num { font-family: var(--f-display); font-size: clamp(1.7rem, 7vw, 3.2rem); line-height: 1; }
.tile__num.is-tick { animation: tick .35s var(--ease-pop); }
.tile__unit { font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
@keyframes tick { 0% { transform: translateY(-18%) scale(1.08); } 100% { transform: none; } }
.countdown__done {
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 1rem + 1.6vw, 2rem);
  line-height: 1.2;
  color: var(--peach);
  max-width: 22ch;
}
.event__script { font-size: clamp(1.9rem, 4.6vw, 2.8rem); color: var(--cream); }
.socks { display: flex; align-items: center; gap: .4rem; font-size: clamp(1.1rem, 1rem + .6vw, 1.35rem); font-weight: 500; }
.socks p { margin-left: .8rem; max-width: 14ch; line-height: 1.25; }
.socks strong { color: var(--peach); }
.socks__b { margin-left: -1.2rem; margin-top: 1.2rem; }

/* ---------- Pace lab ---------- */
.pace__grid { display: grid; gap: clamp(2.2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .pace__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.pace__lead { margin-top: 1.4rem; font-size: clamp(1.1rem, 1rem + .7vw, 1.4rem); font-weight: 500; max-width: 30rem; }
.pace__script { margin-top: 1.6rem; font-size: clamp(2rem, 5vw, 3.2rem); color: var(--peach); }

.lab {
  background: var(--cream);
  color: var(--navy);
  --focus: var(--blue);
  border: 3px solid var(--navy);
  border-radius: 1.8rem;
  padding: clamp(1.3rem, 3.4vw, 2.6rem);
  box-shadow: clamp(7px, 1.2vw, 12px) clamp(7px, 1.2vw, 12px) 0 var(--navy);
  rotate: 1deg;
  container-type: inline-size;
}
.lab__read { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem 1rem; }
.lab__pace {
  font-family: var(--f-display);
  font-size: clamp(3.4rem, 15vw, 6rem);
  font-size: clamp(3.4rem, 21cqi, 8rem);
  line-height: 1;
  color: var(--blue);
  text-shadow: .035em .04em 0 var(--peach), .07em .08em 0 var(--navy);
  font-variant-numeric: tabular-nums;
  min-width: min(3.4em, 100%);
}
/* body face: the display font's heavy slash reads as a letter (MINIKM) */
.lab__unit, .lab__stats dd .u { font-family: var(--f-body); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.lab__unit { font-size: clamp(.95rem, 3.4cqi, 1.3rem); }
.lab__stats dd .u { font-size: .55em; }

.lab__slider { position: relative; margin-top: 1.4rem; padding-top: 2.5rem; }
.lab__mark {
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  pointer-events: none;
}
.lab__mark > span {
  font-family: var(--f-script); font-size-adjust: var(--script-adjust);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
  white-space: nowrap;
  color: var(--blue);
}
.lab__mark::after {
  content: "";
  width: 3px; height: 1.9rem;
  margin-top: .15rem;
  border-radius: 3px;
  background: var(--blue);
}
.lab__scale { display: flex; justify-content: space-between; gap: 1rem; font-size: .875rem; font-weight: 700; margin-top: .2rem; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  position: relative;
  width: 100%;
  height: 2.8rem;
  margin: 0;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
}
input[type="range"]:focus-visible { outline-offset: 2px; border-radius: 999px; }
input[type="range"]::-webkit-slider-runnable-track {
  height: .9rem;
  border: 3px solid var(--navy);
  border-radius: 999px;
  background: linear-gradient(to right, var(--blue) var(--fill, 50%), var(--paper) var(--fill, 50%));
  box-sizing: content-box;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 2.4rem; height: 2.4rem;
  margin-top: calc((.9rem - 2.4rem) / 2);
  border: 3px solid var(--navy);
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 3px 3px 0 var(--navy);
  transition: transform .15s var(--ease-pop);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]::-moz-range-track {
  height: .9rem;
  border: 3px solid var(--navy);
  border-radius: 999px;
  background: var(--paper);
}
input[type="range"]::-moz-range-progress { height: .9rem; border-radius: 999px; background: var(--blue); }
input[type="range"]::-moz-range-thumb {
  box-sizing: border-box;
  width: 2.4rem; height: 2.4rem;
  border: 3px solid var(--navy);
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 3px 3px 0 var(--navy);
}

.lab__track {
  position: relative;
  height: 3.4rem;
  margin-top: 1rem;
  border-bottom: 3px dashed var(--navy);
  overflow: hidden;
}
.lab__runner {
  position: absolute;
  left: 0; bottom: 3px;
  width: 3.6rem; height: 2.25rem;
  fill: var(--peach);
  stroke: var(--navy);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
  overflow: visible;
  will-change: transform;
}
.lab__flag { position: absolute; right: .3rem; bottom: 2px; width: 1.5rem; height: 2.1rem; fill: var(--blue); stroke: var(--navy); stroke-width: 2.5; overflow: visible; }

.lab__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); gap: 1rem; margin-top: 1.4rem; }
.lab__stats > div { padding: .8rem 1rem; background: var(--paper); border: 3px solid var(--navy); border-radius: 1rem; }
.lab__stats dt { font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.lab__stats dd { font-family: var(--f-display); font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.3rem); line-height: 1.15; font-variant-numeric: tabular-nums; }
.lab__msg {
  margin: 1.3rem 0 1.3rem;
  min-height: 3.2em;
  font-size: clamp(1.1rem, 1rem + .6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}
.lab__msg.is-swap { animation: swap .4s var(--ease-out); }
@keyframes swap { 0% { opacity: 0; transform: translateY(.5rem) rotate(-1deg); } 100% { opacity: 1; transform: none; } }

/* ---------- How / route ---------- */
.how__head { max-width: 52rem; }
.how__lead { margin-top: 1.2rem; font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); font-weight: 500; }

.route { position: relative; margin-top: clamp(2.6rem, 6vw, 4.5rem); padding-bottom: 5.5rem; }
.route__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; visibility: hidden; }
.js .route__svg { visibility: visible; }
.route__ghost, .route__dash { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.route__ghost { stroke: var(--navy); stroke-width: 3; stroke-dasharray: 1 13; opacity: .22; }
.route__dash { stroke: var(--blue); stroke-width: 5; stroke-dasharray: 11 14; }
.route__pin { fill: var(--peach); stroke: var(--navy); stroke-width: 2.5; --pin-dot: var(--navy); }
.route__runner circle:first-child { fill: var(--peach); stroke: var(--navy); stroke-width: 3; }
.route__runner .eye { fill: var(--navy); }
.route__runner .smile { fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linecap: round; }

.steps { display: grid; gap: clamp(2.4rem, 5vw, 3.6rem); counter-reset: none; }
.step {
  position: relative;
  z-index: 1;
  margin-left: 3.4rem;
  padding: 2rem clamp(1.1rem, 3vw, 1.8rem) clamp(1.2rem, 3vw, 1.7rem);
  border: 3px solid var(--navy);
  border-radius: 1.5rem;
  box-shadow: 7px 7px 0 var(--navy);
  background: var(--paper);
}
.step:nth-child(1) { background: var(--blue); color: var(--cream); rotate: -1deg; }
.step:nth-child(2) { background: var(--peach); rotate: 1deg; }
.step:nth-child(3) { background: var(--navy); color: var(--cream); rotate: -.6deg; }
.step:nth-child(4) { background: var(--paper); rotate: .8deg; }
.step:nth-child(5) { background: var(--blue); color: var(--cream); rotate: -1deg; }
.step h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.1rem, .8rem + 1.8vw, 2rem); line-height: 1.08; text-transform: uppercase; margin-bottom: .5rem; overflow-wrap: break-word; }
.step p { font-size: 1.08rem; font-weight: 500; }
.step__num {
  position: absolute;
  top: -1.5rem; left: 1.2rem;
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  font-family: var(--f-display);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--navy);
  background: var(--cream);
  border: 3px solid var(--navy);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--navy);
}
@media (min-width: 860px) {
  .route { padding-bottom: 6.5rem; }
  .step { width: min(46%, 31rem); margin-left: 0; }
  .step h3 { font-size: clamp(1.25rem, 2.3vw, 2rem); }
  .step:nth-child(even) { margin-left: auto; }
}

/* ---------- Bring ---------- */
.kit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1.6rem, 3vw, 2.2rem);
  margin-top: clamp(2.2rem, 5vw, 3.6rem);
}
.kit__card {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--cream);
  border: 3px solid var(--navy);
  border-radius: 1.6rem;
  box-shadow: 8px 8px 0 var(--navy);
  --focus: var(--blue);
}
.kit__card h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.2rem, .95rem + 1vw, 1.6rem); line-height: 1.1; text-transform: uppercase; color: var(--blue); margin: 1rem 0 .5rem; overflow-wrap: break-word; }
.kit__card p { font-size: 1.05rem; font-weight: 500; }
.kit__ico { width: 4rem; height: 4rem; overflow: visible; stroke-linejoin: round; stroke-linecap: round; }
.kit__ico--heart { fill: var(--peach); stroke: var(--navy); stroke-width: 1.6; }
.kit__ico--snow { fill: none; stroke: var(--blue); stroke-width: 2.2; }
.kit__ico--sock { fill: var(--blue); stroke: var(--navy); stroke-width: 3; --sock-stripe: var(--cream); }
@keyframes wiggle { 30% { transform: rotate(-14deg) scale(1.12); } 60% { transform: rotate(10deg); } }

.nope { margin-top: clamp(2.4rem, 5vw, 3.6rem); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.nope__label { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.nope__list { display: flex; flex-wrap: wrap; gap: .6rem .7rem; }
.nope__list li { padding: .4rem .95rem; border: 3px solid var(--navy); border-radius: 999px; font-weight: 700; background: transparent; transition: transform .2s var(--ease-pop), background-color .2s; }
.nope__list li:nth-child(odd) { rotate: -2deg; }
.nope__list li:nth-child(even) { rotate: 1.5deg; }
.nope__list s { text-decoration-thickness: .16em; text-decoration-color: var(--blue); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .faq__head { position: sticky; top: calc(var(--nav-h) + 2rem); }
}
.faq__lead { margin-top: 1.2rem; font-size: clamp(1.1rem, 1rem + .6vw, 1.35rem); font-weight: 500; max-width: 26rem; }
.faq__smiley { margin-top: 1.6rem; }

.acc { display: grid; gap: 1rem; }
.acc__item {
  background: var(--paper);
  border: 3px solid var(--navy);
  border-radius: 1.3rem;
  box-shadow: 5px 5px 0 var(--navy);
  overflow: hidden;
  transition: background-color .25s, opacity .7s var(--ease-out), translate .7s var(--ease-out);
}
.js .acc__item[data-reveal] { transition: background-color .25s, opacity .7s var(--ease-out), translate .7s var(--ease-out); }
.acc__item.is-open { background: var(--peach); }
.acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.05rem clamp(1rem, 2.6vw, 1.5rem);
  border: 0;
  background: transparent;
  font-weight: 700;
  font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem);
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}
.acc__btn:focus-visible { outline-offset: -5px; border-radius: 1.1rem; }
.acc__plus {
  position: relative;
  flex: none;
  width: 2.1rem; height: 2.1rem;
  border: 3px solid var(--navy);
  border-radius: 50%;
  background: var(--blue);
  transition: transform .35s var(--ease-out), background-color .25s;
}
.acc__plus::before, .acc__plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: .85rem; height: 3px;
  border-radius: 3px;
  background: var(--cream);
  transform: translate(-50%, -50%);
}
.acc__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__item.is-open .acc__plus { transform: rotate(135deg); background: var(--navy); }
.acc__panel { display: grid; grid-template-rows: 1fr; }
.js .acc__panel {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .35s var(--ease-out), visibility 0s .35s;
}
.js .acc__item.is-open .acc__panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.acc__body { overflow: hidden; min-height: 0; }
.acc__body p { padding: 0 clamp(1rem, 2.6vw, 1.5rem) 1.25rem; max-width: 46rem; font-weight: 500; }
.acc__body .link { text-decoration-color: var(--blue); }

/* ---------- Final CTA ---------- */
.final { text-align: center; }
.final__in { display: grid; justify-items: center; }
.final__script { font-size: clamp(2rem, 6vw, 3.8rem); color: var(--cream); transform-origin: center; margin-bottom: .2em; }
.mega-stack--final { --mega-fs: clamp(2.5rem, 12.6vw, 11.5rem); display: grid; justify-items: center; }
.final__lead { margin: clamp(2rem, 5vw, 3.2rem) auto clamp(1.6rem, 3vw, 2.2rem); max-width: 34rem; font-size: clamp(1.1rem, 1rem + .7vw, 1.4rem); font-weight: 700; text-wrap: balance; }
.final__stamp, .final__spark, .final__heart { position: absolute; }
.final__stamp { top: clamp(1rem, 4vw, 4rem); right: clamp(.6rem, 6vw, 7rem); }
.final__spark { top: clamp(1.2rem, 5vw, 5rem); left: clamp(.8rem, 7vw, 8rem); }
.final__heart { left: clamp(1rem, 9vw, 11rem); bottom: calc(var(--wave-h) + clamp(4rem, 12vw, 10rem)); }
/* decorative stickers must never sit on, or steal taps from, the CTA row */
.final .btn-row { position: relative; z-index: 4; }
@media (max-width: 859.98px) {
  .final__heart { display: none; }
}
@media (max-width: 699.98px) {
  .final { padding-top: calc(var(--sec-pad) + 3rem); }
}

/* ---------- Footer ---------- */
.footer { padding-block: clamp(3rem, 7vw, 5rem) 2rem; }
.footer__in { display: grid; gap: 2.4rem; }
.footer__script { margin-top: 1rem; font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--peach); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.6rem clamp(2rem, 6vw, 5rem); }
.footer__nav ul { display: grid; align-content: start; }
.footer__nav a { display: inline-block; padding-block: .6rem; font-weight: 700; text-decoration: none; text-decoration-thickness: 3px; text-underline-offset: .3em; transition: color .2s; }
.footer__nav a:hover { color: var(--peach); text-decoration-line: underline; }
.footer__small { font-size: .88rem; padding-top: 1.4rem; border-top: 2px dashed rgba(242, 234, 218, .4); }
@media (min-width: 800px) {
  .footer__in { grid-template-columns: 1fr auto; align-items: start; }
  .footer__small { grid-column: 1 / -1; }
}

/* ---------- Launch polish: Lithuanian diacritics, states, touch, small screens ---------- */
:lang(lt) .kit__card h3, :lang(lt) .step h3 { line-height: 1.36; }
:lang(lt) .faq .title { white-space: nowrap; } /* „O jei…?“ must not break after the opening quote */
@media (min-width: 960px) { :lang(lt) .faq .title { font-size: clamp(2.2rem, 5vw, 4.4rem); } }
:lang(lt) .final__lead { margin-top: clamp(2.6rem, 6vw, 4rem); } /* room for the Ę ogonek */
.how { padding-bottom: calc(var(--sec-pad) * .5 + var(--wave-h)); }

/* If script.js never boots there is nothing to count down */
html:not(.js) .countdown, html:not(.js) .chip { display: none; }
/* Returning English visitors: hold the first paint until the copy is swapped (released by script.js or the <head> failsafe) */
.i18n-pending body { visibility: hidden; }

/* Event states set by script.js: .is-live while the run is on, .is-past afterwards */
.is-live #icsBtn, .is-past #icsBtn, .is-past [data-rsvp], .is-past .ticket .stamp, .is-past .hero__meta { display: none; }
.is-live .chip, .is-past .chip { flex-wrap: nowrap; }
.is-past .chip__dot { animation: none; }
.is-off .chip__dot { animation-play-state: paused; }

/* State feedback */
.acc__btn:active .acc__plus { transform: scale(.94); }
.acc__item.is-open .acc__btn:active .acc__plus { transform: rotate(135deg) scale(.94); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 8px 8px 0 var(--navy); }
  .btn--sm:hover { box-shadow: 5px 5px 0 var(--navy); }
  .btn--ghost:hover { background: var(--navy); }
  .btn:hover .ico { transform: translateX(4px); }
  .btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--navy); }
  .logo:hover .logo__speed { transform: translateX(-5px) scaleX(1.25); }
  .chip:hover { transform: rotate(-1.5deg) scale(1.03); }
  .ticker:hover .ticker__track { animation-play-state: paused; }
  .sticker:hover:not(.is-drag) { --s: 1.1; --r2: 7deg; }
  .kit__card:hover .kit__ico { animation: wiggle .6s var(--ease-pop); }
  .nope__list li:hover { transform: scale(1.06); background: var(--cream); }
  .lang__btn:not([aria-pressed="true"]):hover { background: var(--peach); }
  .acc__item:not(.is-open):hover { background: var(--cream); }
  .acc__item:not(.is-open) .acc__btn:hover .acc__plus { transform: scale(1.12); }
}

/* Touch and small screens: keep the extrusion direction fixed so scrolling only moves transforms (no 14-layer shadow repaint per frame) */
@media (max-width: 939.98px), (hover: none) {
  .mega { --dx: 1; }
}

@media (max-width: 959.98px) {
  /* cap the hero lettering by viewport height too, so landscape phones are not three screens of letters */
  @supports (height: 1svh) {
    :root { --mega-fs: clamp(4.2rem, min(24vw, 28svh), 13rem); }
  }
}

@media (max-width: 959.98px) {
  /* single column here: the heading no longer has to fit the narrow side column */
  .event__side .title { font-size: clamp(2rem, 9vw, 4.6rem); }
}

@media (max-width: 599.98px) {
  :root { --sec-pad: 3.25rem; }
  .poster { min-height: 0; }
  .poster__script { padding-top: 1.25rem; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts .fact:nth-child(-n+2) { grid-column: 1 / -1; }
}

@media (max-width: 559.98px) {
  .lab__msg { min-height: 5.2em; } /* four lines: the card must not jump while the slider moves */
}

@media (max-width: 359.98px) {
  .hero .eyebrow { letter-spacing: .06em; padding-inline: .7em; } /* keep the pill on one line at 320px */
}

/* Short portrait phones (iPhone SE class): keep the first call to action on the first screen */
@media (max-width: 480px) and (max-height: 700px) {
  :root { --mega-fs: clamp(3.6rem, 20vw, 5.2rem); }
  .hero { padding-top: 1rem; }
  .hero .eyebrow { margin-bottom: .7rem; }
  .hero__quote { font-size: 1.7rem; margin-bottom: .4rem; }
  .hero__lead { font-size: 1.05rem; margin-bottom: 1rem; }
  .hero__meta { display: none; } /* the button already carries the date; the CTA has to stay on the first screen */
  .hero__script { font-size: 2rem; }
}

/* Landscape phones */
@media (orientation: landscape) and (max-height: 480px) {
  :root { --nav-h: 3.25rem; --mega-fs: clamp(3.6rem, 21vh, 6rem); }
  .hero { padding-top: .8rem; }
  .hero__in { grid-template-columns: auto minmax(15rem, 1fr); align-items: center; }
  .hero .eyebrow { margin-bottom: .5rem; }
  .hero__script { font-size: 2rem; }
  .hero__quote { font-size: 1.6rem; margin-bottom: .3rem; }
  .hero__lead { font-size: 1.05rem; margin-bottom: .9rem; }
  .hero__meta { font-size: .95rem; margin: -.5rem 0 .9rem; }
  .hero .chip { margin-top: .9rem; }
  .hero__doodles { display: none; }
  .nav__menu ul { flex-flow: row wrap; gap: .25rem 1.5rem; }
  .nav__menu a:not(.btn) { font-size: 1.6rem; }
}

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  translate: 0 2.2rem;
  transition: opacity .7s var(--ease-out), translate .7s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
.js [data-reveal][data-tilt] {
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), opacity .7s var(--ease-out), translate .7s var(--ease-out);
  transition-delay: 0s, 0s, calc(var(--d, 0) * 110ms), calc(var(--d, 0) * 110ms);
}
.js [data-reveal][data-tilt].is-tilting { transition-duration: .08s, .3s, .7s, .7s; }

/* ---------- Footer extras: privacy + cookie settings ---------- */
.footer__btn {
  display: inline-block;
  padding: .6rem 0;
  border: 0;
  background: none;
  font-weight: 700;
  text-align: left;
  text-decoration-thickness: 3px;
  text-underline-offset: .3em;
  cursor: pointer;
  transition: color .2s;
}
.footer__btn:hover { color: var(--peach); text-decoration-line: underline; }

/* ---------- "Trumpai": quotable facts ---------- */
.brief {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding: clamp(1.3rem, 3.4vw, 2.4rem);
  background: var(--paper);
  border: 3px solid var(--navy);
  border-radius: 1.3rem;
  box-shadow: 7px 7px 0 var(--blue);
}
.brief__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--blue);
  text-shadow: .05em .05em 0 var(--navy);
}
.brief__list { display: grid; gap: .7rem 2.4rem; margin-top: 1.2rem; }
.brief__list li { position: relative; padding-left: 1.5rem; font-weight: 500; }
.brief__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: .7rem; height: .7rem;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: var(--peach);
}
@media (min-width: 860px) { .brief__list { grid-template-columns: 1fr 1fr; } }

/* ---------- Cookie banner: small, fixed, never a wall ---------- */
.cookie {
  position: fixed;
  z-index: 150;
  left: max(.75rem, env(safe-area-inset-left));
  right: max(.75rem, env(safe-area-inset-right));
  bottom: max(.75rem, env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.2rem;
  max-width: 46rem;
  margin-inline: auto;
  padding: .8rem 1rem;
  background: var(--paper);
  color: var(--navy);
  border: 3px solid var(--navy);
  border-radius: 1.3rem;
  box-shadow: 5px 5px 0 var(--navy);
  font-size: .92rem;
  line-height: 1.4;
  --focus: var(--blue);
  animation: cookie-in .45s var(--ease-out) both;
}
.cookie:focus { outline: none; }
.cookie:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 1.3rem; }
.cookie__text { flex: 1 1 17rem; font-weight: 500; }
.cookie .link { text-decoration-color: var(--blue); white-space: nowrap; }
.cookie__btns { display: flex; gap: .7rem; flex: 0 0 auto; margin-inline-start: auto; }
.cookie__btns .btn { min-width: 6.6rem; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(1.2rem); } }
@media (max-width: 479.98px) {
  .cookie { padding: .7rem .8rem; font-size: .86rem; }
  .cookie__btns { flex: 1 1 100%; }
  .cookie__btns .btn { flex: 1 1 0; }
}
/* while the banner is up, leave room below the last footer line so nothing stays hidden behind it */
.cookie-open .footer { padding-bottom: 11rem; }
@media (min-width: 700px) { .cookie-open .footer { padding-bottom: 7rem; } }

/* ---------- Privacy page ---------- */
.nav--page .nav__tools { margin-left: auto; }
.legal { padding-block: clamp(2.5rem, 7vw, 5rem) calc(clamp(3rem, 7vw, 5rem) + var(--wave-h)); }
.legal__in { max-width: 46rem; }
.legal .title { font-size: clamp(2rem, 6.4vw, 4rem); overflow-wrap: break-word; hyphens: auto; }
.legal__lead { margin-top: 1.4rem; font-size: clamp(1.15rem, 1rem + .7vw, 1.45rem); font-weight: 700; }
.legal h2 {
  margin-top: 2.2rem;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.1rem + .8vw, 1.7rem);
  line-height: 1.2;
  color: var(--blue);
}
.legal p + p, .legal h2 + p { margin-top: .7rem; }
.legal code { font-size: .92em; padding: .1em .35em; border: 2px solid var(--navy); border-radius: .4em; background: var(--paper); }
.legal__btn { padding: 0; border: 0; background: none; font-weight: 700; text-decoration: underline; text-decoration-thickness: .14em; text-underline-offset: .18em; text-decoration-color: var(--blue); cursor: pointer; }
.legal__btn:hover { text-decoration-color: currentColor; }
.legal__meta { margin-top: 2.2rem; font-size: .9rem; }
.legal .btn-row { margin-top: 2.2rem; }

@media print {
  .js [data-reveal] { opacity: 1; translate: 0 0; }
  .js .acc__panel { grid-template-rows: 1fr; visibility: visible; }
  .nav { position: static; }
  .cookie { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .ticker__track { animation: none !important; }
  .mega { transform: none; }
  .js [data-reveal] { opacity: 1; translate: 0 0; }
}
