/* Workout 2Gether — o quadro do treino */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/bricolage-grotesque-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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/bricolage-grotesque-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: "Permanent Marker";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/permanent-marker-400-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 {
  --black: #0b0b0a;
  --board: #131311;
  --line: #2a2a26;
  --ink: #eeeee8;
  --ink-2: #b4b3aa;
  --lime: #dcf07a;
  --lime-deep: #c4dc55;
  --coral: #ef6461;
  --coral-deep: #ad2e2a;
  --on-lime: #12140a;
  --on-lime-2: #3a4114;

  --sans: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --marker: "Permanent Marker", "Bricolage Grotesque", cursive;

  --wrap: 1180px;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --sec: clamp(5rem, 11vw, 9rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 4px;
  --shadow: 0 18px 40px -18px rgb(0 0 0 / 0.75), 0 4px 10px -4px rgb(0 0 0 / 0.5);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; color-scheme: dark; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
::selection { background: var(--lime); color: var(--on-lime); }
:focus-visible { outline: 2.5px solid var(--lime); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: #3b3b35 var(--black); }
::-webkit-scrollbar { width: 12px; height: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #3b3b35; border-radius: 10px; border: 3px solid var(--black); }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--lime); color: var(--on-lime); padding: 0.6rem 1rem; border-radius: var(--radius); font-weight: 700; }
.skip:focus { top: 1rem; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  min-height: 3.25rem; padding: 0.85rem 1.5rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 1.05rem/1 var(--sans); text-decoration: none; letter-spacing: -0.005em;
  transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.4s var(--ease);
}
.btn--sm { min-height: 2.75rem; padding: 0.6rem 1.1rem; font-size: 0.95rem; }
.btn--coral { background: var(--coral); color: var(--black); box-shadow: 0 10px 22px -12px rgb(0 0 0 / 0.8); }
.btn--coral:hover { background: var(--lime); transform: translateY(-2px) rotate(-1deg); box-shadow: 0 14px 26px -12px rgb(0 0 0 / 0.85); }
.btn--ghost { border-color: #4a4a43; color: var(--ink); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--ghost:hover .ico { transform: translateX(3px); }
.btn .ico { transition: transform 0.4s var(--ease); }
.btn:active { transform: translateY(0) scale(0.98); }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color 0.4s, backdrop-filter 0.4s, border-color 0.4s; border-bottom: 1px solid transparent; }
.top.is-scrolled { background: rgb(11 11 10 / 0.86); backdrop-filter: blur(12px) saturate(1.2); border-color: var(--line); }
.top__inner { width: min(100% - 2 * var(--gut), 1320px); margin-inline: auto; display: flex; align-items: center; gap: 2rem; height: 4.75rem; }
.brand img { width: 96px; height: auto; transition: transform 0.5s var(--ease); }
.brand:hover img { transform: rotate(-4deg) scale(1.04); }
.nav { display: flex; gap: 2rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; color: var(--ink-2); position: relative; padding-block: 0.4rem; transition: color 0.3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.nav a:hover, .nav a.is-current { color: var(--ink); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
.menu { display: none; margin-left: auto; background: none; border: 0; color: var(--ink); width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border-radius: 999px; cursor: pointer; }
.menu .ico { width: 1.6rem; height: 1.6rem; }

/* Marker strokes (the signature motion) */
.stroke { position: absolute; overflow: visible; pointer-events: none; }
.stroke path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.js .stroke path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease) 0.35s; }
.js .is-in .stroke path, .js .stroke.is-in path { stroke-dashoffset: 0; }

/* Hero */
.hero {
  position: relative;
  width: min(100% - 2 * var(--gut), 1320px);
  margin-inline: auto;
  min-height: min(100svh, 980px);
  padding: 8.5rem 0 5rem;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.hero__title {
  margin: 0;
  font-weight: 780; font-size: clamp(3rem, 2rem + 4.6vw, 6rem);
  line-height: 0.95; letter-spacing: -0.035em; text-wrap: balance;
}
.hl { position: relative; display: inline-block; color: var(--lime); font-family: var(--marker); font-weight: 400; letter-spacing: 0; transform: rotate(-2deg); padding-right: 0.1em; }
.stroke--under { left: -2%; right: -4%; bottom: -0.2em; width: 106%; height: 0.32em; }
.stroke--under path { stroke: var(--coral); stroke-width: 7; vector-effect: non-scaling-stroke; }
.hero__lead { margin: 1.75rem 0 0; max-width: 36ch; font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); line-height: 1.5; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.25rem; }
.facts { list-style: none; padding: 0; margin: 2.75rem 0 0; display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; color: var(--ink-2); font-size: 0.95rem; }
.facts li { display: inline-flex; align-items: center; gap: 0.5rem; }
.facts .ico { color: var(--lime); }

/* Pinned photos */
.pin { margin: 0; position: relative; background: var(--ink); padding: 0.5rem 0.5rem 0.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.pin img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.pin::before {
  content: ""; position: absolute; top: -0.85rem; left: 50%; width: 5.5rem; height: 1.7rem; translate: -50% 0; rotate: -4deg;
  background: rgb(220 240 122 / 0.78); mix-blend-mode: normal; z-index: 2;
  mask: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent calc(100% - 3px));
}
.note {
  position: absolute; z-index: 3;
  font-family: var(--marker); font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.6rem); line-height: 1;
  color: var(--coral); background: var(--black); padding: 0.35rem 0.7rem 0.45rem; border-radius: 3px;
  rotate: -5deg; box-shadow: 0 8px 16px -8px rgb(0 0 0 / 0.8);
}

.board { position: relative; height: clamp(30rem, 44vw, 40rem); }
.pin--a { position: absolute; width: 64%; aspect-ratio: 1; left: 6%; top: 6%; rotate: -3deg; z-index: 1; }
.pin--b { position: absolute; width: 34%; aspect-ratio: 9 / 15; right: 0; top: 0; rotate: 4deg; z-index: 2; }
.pin--c { position: absolute; width: 33%; aspect-ratio: 9 / 15; left: 44%; bottom: 0; rotate: -1.5deg; z-index: 3; }
.pin--a .note { left: -1.25rem; bottom: 1.5rem; }
.pin--b .note { right: -0.75rem; bottom: 1.25rem; rotate: 4deg; }
.pin--c .note { left: -2rem; top: 40%; rotate: -8deg; color: var(--lime); }
.pin--b::before { rotate: 6deg; }
.pin--c::before { rotate: -10deg; left: 40%; }

/* Board entrance: photos get pinned, one after another */
.js .board .pin { opacity: 0; transform: translateY(28px) scale(0.96); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease), filter 0.9s var(--ease); }
.js .board.is-in .pin { opacity: 1; transform: none; filter: none; }
.js .board.is-in .pin--a { transition-delay: 0.1s; }
.js .board.is-in .pin--b { transition-delay: 0.28s; }
.js .board.is-in .pin--c { transition-delay: 0.46s; }
.js .board .note { opacity: 0; translate: 0 8px; transition: opacity 0.6s var(--ease), translate 0.6s var(--ease); }
.js .board.is-in .note { opacity: 1; translate: 0 0; transition-delay: 0.9s; }

/* Sections */
.section { padding-block: var(--sec); position: relative; }
.h2 { margin: 0; font-weight: 760; font-size: clamp(2.25rem, 1.6rem + 2.8vw, 4.25rem); line-height: 1; letter-spacing: -0.03em; text-wrap: balance; max-width: 16ch; }
.intro { margin: 1.25rem 0 0; max-width: 46ch; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); color: var(--ink-2); }

/* Reveal (one grammar: rise from slightly below, already readable without JS) */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Formats */
.treinos { border-top: 1px solid var(--line); }
.formats { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 6vw, 6rem); margin-top: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.formats__list { list-style: none; margin: 0; padding: 0; }
.format {
  position: relative; padding: 1.75rem 0 1.75rem 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr; gap: 0.5rem; cursor: default; outline: none;
}
.format:last-child { border-bottom: 1px solid var(--line); }
.format h3 { margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 720; letter-spacing: -0.025em; line-height: 1.05; transition: color 0.35s, transform 0.5s var(--ease); }
.format p { margin: 0; max-width: 44ch; color: var(--ink-2); }
.format::before { content: ""; position: absolute; left: -1.5rem; top: 2.35rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--lime); scale: 0; transition: scale 0.45s var(--ease); }
.format.is-active h3, .format:hover h3 { color: var(--lime); transform: translateX(0.5rem); }
.format.is-active::before, .format:hover::before { scale: 1; }
.format:focus-visible { outline: 2.5px solid var(--lime); outline-offset: 6px; }
.tags { list-style: none; padding: 0; margin: 0.6rem 0 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tags li { font-size: 0.85rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: 999px; border: 1.5px solid #3d3d37; color: var(--ink); }
.format__img { display: none; }
.formats__view { position: sticky; top: 7rem; }
.pin--view { width: min(100%, 22rem); aspect-ratio: 3 / 4; margin-left: auto; rotate: 2.5deg; transition: rotate 0.6s var(--ease); }
.pin--view img { transition: opacity 0.35s ease, scale 0.8s var(--ease), filter 0.35s ease; }
.pin--view.is-swapping img { opacity: 0; scale: 1.04; filter: blur(4px); }
.pin--view.is-tilt { rotate: -2deg; }

/* Outdoor (lime field) */
.outdoor { background: var(--lime); color: var(--on-lime); overflow: hidden; }
.outdoor .intro { color: var(--on-lime-2); }
.outdoor ::selection { background: var(--black); color: var(--lime); }
.outdoor :focus-visible { outline-color: var(--black); }
.outdoor__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: end; }
.outdoor__head .h2, .outdoor__head .intro { grid-column: 1; }
.words { grid-column: 2; grid-row: 1 / span 2; margin: 0; display: flex; flex-direction: column; align-items: flex-end; font-family: var(--marker); font-size: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); line-height: 1.02; }
.words span { position: relative; display: block; }
.words span:nth-child(1) { rotate: -3deg; }
.words span:nth-child(2) { rotate: 2deg; color: var(--coral-deep); -webkit-text-stroke: 0; }
.words span:nth-child(3) { rotate: -2deg; padding-inline: 0.15em; }
.stroke--circle { inset: -18% -14% -12% -16%; width: 130%; height: 130%; }
.stroke--circle path { stroke: var(--black); stroke-width: 4; vector-effect: non-scaling-stroke; }
.js .words span { opacity: 0; translate: 0 0.3em; transition: opacity 0.7s var(--ease), translate 0.8s var(--ease); }
.js .words.is-in span { opacity: 1; translate: 0 0; }
.js .words.is-in span:nth-child(2) { transition-delay: 0.12s; }
.js .words.is-in span:nth-child(3) { transition-delay: 0.24s; }
.js .words .stroke path { transition-delay: 0.7s; }

.strip {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: flex; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 1.75rem max(var(--gut), calc((100% - var(--wrap)) / 2)) 2.5rem;
  scroll-padding-inline: max(var(--gut), calc((100% - var(--wrap)) / 2));
  cursor: grab;
}
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip .pin { flex: none; scroll-snap-align: start; height: clamp(18rem, 32vw, 26rem); width: auto; background: #fff; box-shadow: 0 20px 36px -20px rgb(40 50 0 / 0.6); }
.strip .pin img { width: auto; height: 100%; -webkit-user-drag: none; user-select: none; }
.strip .pin::before { background: rgb(239 100 97 / 0.85); }
.strip .pin:nth-child(odd) { rotate: -2deg; }
.strip .pin:nth-child(even) { rotate: 2.5deg; height: clamp(14rem, 24vw, 20rem); }
.strip .pin:nth-child(2) { height: clamp(10rem, 16vw, 13rem); }
.strip .pin { transition: rotate 0.6s var(--ease), translate 0.6s var(--ease); }
.strip .pin:hover { rotate: 0deg; translate: 0 -6px; }

/* Team */
.equipa__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.coaches { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 0; }
.coach { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.coach:last-child { border-bottom: 1px solid var(--line); }
.coach__name { font-family: var(--marker); font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); line-height: 1; color: var(--lime); }
.coach:nth-child(2) .coach__name { color: var(--coral); }
.coach__handle { font-weight: 600; color: var(--ink-2); }
a.coach__handle { color: var(--ink); text-decoration-color: var(--coral); }
a.coach__handle:hover { color: var(--lime); text-decoration-color: var(--lime); }
.equipa__photos { position: relative; min-height: clamp(24rem, 40vw, 34rem); }
.pin--team1 { position: absolute; width: 80%; aspect-ratio: 640 / 592; left: 0; top: 0; rotate: -2deg; }
.pin--team2 { position: absolute; width: 42%; aspect-ratio: 360 / 470; right: 0; bottom: 0; rotate: 4deg; }
.pin--team2::before { background: rgb(239 100 97 / 0.85); }

/* Contacts */
.contactos { background: var(--board); border-top: 1px solid var(--line); }
.contactos__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.phone { position: relative; display: inline-block; margin-top: 2.25rem; text-decoration: none; }
.phone__num { display: block; font-weight: 800; font-size: clamp(2.6rem, 1.6rem + 5vw, 5.75rem); letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--lime); transition: color 0.3s; }
.phone:hover .phone__num { color: var(--coral); }
.stroke--arrow { width: clamp(5rem, 9vw, 8rem); height: auto; right: -2rem; bottom: -4.5rem; }
.stroke--arrow path { stroke: var(--coral); stroke-width: 5; }
.socials { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 4.5rem; }
.details { margin: 0; display: grid; gap: 0; }
.details > div { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.details > div:last-child { border-bottom: 1px solid var(--line); }
.details dt { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 0.95rem; color: var(--lime); }
.details dd { margin: 0.5rem 0 0; color: var(--ink); line-height: 1.55; }
.details dd a { color: var(--ink-2); }
.details dd a:hover { color: var(--lime); }
.num { font-variant-numeric: tabular-nums; }

/* Footer */
.foot { padding: 3.5rem 0 6rem; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 0.95rem; }
.foot__inner { display: flex; align-items: center; gap: 1.5rem 2.5rem; flex-wrap: wrap; }
.foot__inner p { margin: 0; }
.foot__small { margin-left: auto !important; }

/* Mobile call bar */
.callbar {
  position: fixed; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 40;
  display: none; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.5rem; border-radius: 999px; background: var(--coral); color: var(--black);
  font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px -10px rgb(0 0 0 / 0.8);
  transition: translate 0.5s var(--ease), opacity 0.4s;
}
.callbar.is-hidden { translate: 0 150%; opacity: 0; }

/* Responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 7rem; min-height: 0; }
  .board { height: clamp(24rem, 92vw, 36rem); max-width: 38rem; }
  .formats { grid-template-columns: 1fr; }
  .formats__view { display: none; }
  .format { grid-template-columns: minmax(0, 1fr) 6.5rem; column-gap: 1.25rem; }
  .format > :not(.format__img) { grid-column: 1; }
  .format__img { display: block; grid-column: 2; grid-row: 1 / span 3; width: 6.5rem; height: 8rem; object-fit: cover; border-radius: 3px; border: 4px solid var(--ink); rotate: 3deg; box-shadow: var(--shadow); align-self: center; }
  .format::before { display: none; }
  .equipa__grid, .contactos__grid { grid-template-columns: 1fr; }
  .outdoor__head { grid-template-columns: 1fr; }
  .words { grid-column: 1; grid-row: auto; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 0.6em; margin-top: 1rem; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 4.75rem 0 auto; flex-direction: column; gap: 0; padding: 0.5rem var(--gut) 1.5rem;
    background: rgb(11 11 10 / 0.97); border-bottom: 1px solid var(--line);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 0.5s var(--ease), visibility 0s 0.5s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.5s var(--ease); }
  .nav a { font-size: 1.5rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .menu { display: inline-flex; }
  .top__call { display: none; }
  .callbar { display: flex; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .facts { flex-direction: column; gap: 0.6rem; }
  /* Photos come straight after the headline so the first screen shows real people. */
  .hero { padding-top: 6.25rem; padding-bottom: 3.5rem; gap: 0; }
  .hero__text { display: contents; }
  .hero__title { order: 1; font-size: clamp(2.6rem, 11.5vw, 3.4rem); }
  .board { order: 2; height: 21rem; margin: 2rem 0 0.5rem; }
  .hero__lead { order: 3; margin-top: 1.5rem; font-size: 1.08rem; }
  .hero__actions { order: 4; margin-top: 1.5rem; }
  .facts { order: 5; margin-top: 2rem; }
  .pin--a { width: 66%; left: 3%; top: 4%; }
  .pin--b { width: 36%; right: 1%; }
  .pin--c { width: 33%; left: 46%; }
  .pin--a .note { left: 0.25rem; bottom: 0.75rem; }
  .pin--b .note { right: -0.25rem; top: 36%; bottom: auto; }
  .pin--c .note { left: -1.75rem; top: 55%; }
  .stroke--arrow { display: none; }
  .socials { margin-top: 2.5rem; }
  .foot__small { margin-left: 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation: none !important; }
  .js [data-reveal], .js .board .pin, .js .board .note, .js .words span { opacity: 1; transform: none; translate: 0 0; filter: none; }
  .js .stroke path { stroke-dashoffset: 0; }
}

/* ---------- Intro: the dumbbell does its reps while the logo lands ---------- */
.splash { display: none; }
.splash-on { overflow: hidden; }
.splash-on .splash {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 200;
  background: var(--black);
  clip-path: inset(0 0 0 0);
  /* Failsafe: never trap the page if the script does not run. */
  animation: splash-failsafe 0.01s 7s forwards;
}
@keyframes splash-failsafe { to { visibility: hidden; opacity: 0; pointer-events: none; } }

.splash__stage { position: relative; display: grid; justify-items: center; width: min(78vw, 30rem); }
.splash__lift { width: min(66vw, 19rem); animation: db-in 0.6s var(--ease) both, db-rep 0.95s cubic-bezier(0.45, 0, 0.25, 1) 0.45s infinite; transform-origin: 50% 60%; will-change: transform; }
.splash__db { display: block; width: 100%; height: auto; overflow: visible; }
.db-bar { fill: #d9d8d0; }
.db-grip path { stroke: #8f8e86; stroke-width: 2; stroke-linecap: round; }
.db-collar, .db-cap { fill: #a9a89f; }
.db-plate { fill: var(--lime-deep); }
.db-plate--big { fill: var(--lime); }
.splash__floor {
  width: 46%; height: 10px; margin-top: 1rem; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(220 240 122 / 0.22), transparent);
  animation: floor-rep 0.95s cubic-bezier(0.45, 0, 0.25, 1) 0.45s infinite;
}
.splash__logo { width: 100%; height: auto; margin-top: 1.25rem; overflow: visible; }
.splash__logo path { transform-box: fill-box; transform-origin: 50% 60%; }
.l-team { fill: var(--coral); animation: rise 0.6s var(--ease) 0.45s both; }
.l-w, .l-g { fill: var(--lime); }
.l-2 { fill: var(--coral); }
.l-w { animation: stamp 0.55s var(--ease) 0.75s both; }
.l-2 { animation: stamp 0.55s var(--ease) 0.92s both; }
.l-g { animation: stamp 0.55s var(--ease) 1.09s both; }
.l-load { fill: none; stroke: var(--coral); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: var(--load, 1); transition: stroke-dashoffset 0.5s var(--ease); }

.splash__skip {
  position: absolute; right: max(1rem, 3vw); bottom: max(1rem, 3vh);
  font: 600 0.9rem/1 var(--sans); color: var(--ink-2); background: none;
  border: 1.5px solid #3b3b35; border-radius: 999px; padding: 0.7rem 1.1rem; min-height: 2.75rem; cursor: pointer;
  animation: rise 0.5s var(--ease) 1.2s both; transition: color 0.3s, border-color 0.3s;
}
.splash__skip:hover { color: var(--lime); border-color: var(--lime); }

@keyframes db-in { from { opacity: 0; transform: translateY(24px) scale(0.92); } }
@keyframes db-rep {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  42%, 52% { transform: translateY(-42px) rotate(-6deg); }
}
@keyframes floor-rep {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  42%, 52% { transform: scaleX(0.7); opacity: 0.45; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes stamp { from { opacity: 0; transform: scale(1.4) rotate(-8deg); } 55% { opacity: 1; } }

/* Exit: one last lift that carries the curtain up with it. */
.splash.is-leaving { clip-path: inset(0 0 100% 0); transition: clip-path 0.9s cubic-bezier(0.76, 0, 0.24, 1) 0.18s; }
.splash.is-leaving .splash__lift { animation: none; transform: translateY(-70vh) rotate(-10deg); transition: transform 0.85s cubic-bezier(0.6, 0, 0.3, 1); }
.splash.is-leaving .splash__floor { animation: none; opacity: 0; transition: opacity 0.3s; }
.splash.is-leaving .splash__logo { transform: translateY(-14vh); opacity: 0; transition: transform 0.85s cubic-bezier(0.6, 0, 0.3, 1) 0.06s, opacity 0.5s ease 0.25s; }
.splash.is-leaving .splash__skip { opacity: 0; transition: opacity 0.2s; }

@media (prefers-reduced-motion: reduce) { .splash-on .splash { display: none; } .splash-on { overflow: auto; } }
