/* BADDIE Golf Balls · estilos compartidos
   Un solo mundo de principio a fin: la noche verde de la portada (césped oscuro, bola blanca)
   continúa en toda la web. Una trayectoria de bola discontinua hila las secciones y baja contigo
   al hacer scroll hasta caer en el juego, donde el campo se abre a pleno sol.
   Titulares de marca siempre en inglés (Archivo itálica ancha); el resto en el idioma de la página.
   Movimiento: entradas al bajar, parallax suave en la portada, la trayectoria y el swing del juego. */

:root {
  --bg: #0E110A;
  --bg-2: #13170E;
  --surface: #1A1F13;
  --surface-2: #222919;
  --line: rgba(236, 232, 216, 0.12);
  --line-strong: rgba(236, 232, 216, 0.28);
  --text: #ECE8D8;
  --muted: #A6AB93;
  --olive: #4F5934;
  --olive-glow: #6E7C42;
  --sage: #C3CC97;
  --ink: #0E110A;
  --pending: #E2C27A;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Tinos", "Times New Roman", Times, serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --max: 1240px;
  --header-h: 68px;
  --section: clamp(88px, 11vw, 168px);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: dark;
  accent-color: var(--sage);
  scrollbar-color: var(--olive-glow) var(--bg);
}
@media (min-width: 760px) { :root { --gutter: max(48px, env(safe-area-inset-left, 0px)); --header-h: 76px; } }

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; caret-color: var(--sage);
  -webkit-tap-highlight-color: transparent;
}
/* Grano fino de película sobre toda la web: da textura al oscuro y lo une con las fotos */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--sage); color: var(--ink); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
p, h1, h2, h3, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--ink); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Tipografía */
.display {
  font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 118%;
  text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.92; text-wrap: balance;
}
h2.display { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 700; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 42ch; }
.prose { max-width: 56ch; }
.prose p + p { margin-top: 1em; }

/* Botones y enlaces */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  min-height: 52px; padding: 0 1.8em;
  font-family: var(--display); font-weight: 800; font-style: italic; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.95rem; line-height: 1;
  text-decoration: none; white-space: nowrap;
  background: var(--text); color: var(--ink); border: 0; border-radius: 999px; cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 160ms var(--ease-out);
}
.btn .arrow { display: inline-block; transition: transform 200ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 42px; padding: 0 1.3em; font-size: 0.82rem; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--sage); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(195,204,151,.55); }
  .btn:hover .arrow { transform: translateX(4px); }
  .btn:active { transform: translateY(0) scale(0.97); }
}
.link {
  font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5em; color: var(--text);
  background: linear-gradient(var(--sage), var(--sage)) 0 100% / 100% 2px no-repeat; padding-bottom: 4px;
  transition: background-size 250ms var(--ease-out), color 200ms ease;
}
.link .arrow { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link:hover { background-size: 35% 2px; color: var(--sage); } .link:hover .arrow { transform: translateX(4px); } }
.ul { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ul:hover { background-size: 100% 1.5px; } }

/* Cabecera: transparente sobre la portada; al bajar, verde oscuro casi opaco (sin desenfoque: es caro al hacer scroll) */
.site-header {
  position: sticky; top: 0; z-index: 40; color: var(--text);
  background: rgba(14, 17, 10, 0.94);
  box-shadow: 0 1px 0 var(--line);
  transition: background-color 300ms ease, box-shadow 300ms ease;
}
.site-header--over { position: fixed; left: 0; right: 0; top: 0; }
.site-header--over:not(.is-solid):not(.is-open) { background: transparent; box-shadow: none; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: block; flex: none; width: 78px; }
@media (min-width: 760px) { .brand { width: 88px; } }
.brand img { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-weight: 700; font-size: 0.95rem; }
.nav-links { display: flex; gap: clamp(16px, 2.4vw, 32px); }
.nav-links a[aria-current="page"] { background-size: 100% 1.5px; }
.lang { display: flex; align-items: center; gap: 2px; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.04em; }
.lang a, .lang span { display: inline-grid; place-items: center; min-width: 38px; min-height: 38px; border-radius: 999px; text-decoration: none; }
.lang span[aria-current] { background: var(--text); color: var(--ink); }
.lang a { opacity: .7; transition: opacity 150ms ease, background-color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .lang a:hover { opacity: 1; background: rgba(236,232,216,.1); } }
.menu-btn { display: none; }
@media (max-width: 899px) {
  .nav-links, .nav .btn { display: none; }
  .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(236,232,216,.1); cursor: pointer; color: inherit; }
  .menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 200ms var(--ease-out); }
  .menu-btn span::before { top: -6px; }
  .menu-btn span::after { top: 6px; }
  .menu-btn[aria-expanded="true"] span { background: transparent; }
  .menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
}
.mobile-menu { border-top: 1px solid var(--line); }
.mobile-menu .wrap { display: grid; gap: 4px; padding-block: 12px 24px; }
.mobile-menu a:not(.btn) { display: block; padding: 12px 0; font-weight: 800; font-size: 1.15rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; justify-self: start; }
@media (min-width: 900px) { .mobile-menu { display: none !important; } }

/* Portada (composición recuperada) */
.hero {
  position: relative; overflow: hidden; min-height: 100vh;
  display: grid; align-items: end; background: var(--bg); color: var(--text);
}
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero-media { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.hero-media > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
@media (max-aspect-ratio: 1/1) {
  .hero-media > img { position: absolute; left: 0; top: -78%; height: 178%; }
}
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .hero-media > img {
    position: absolute; max-width: none; object-fit: fill;
    width: 130vw; height: auto; aspect-ratio: 3 / 4;
    left: 9vw; top: calc(54% - 100.5vw);
  }
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,12,8,.8) 0%, rgba(10,12,8,.4) 50%, rgba(10,12,8,0) 78%),
    linear-gradient(0deg, var(--bg) 0%, rgba(14,17,10,.85) 10%, rgba(10,12,8,0) 46%),
    linear-gradient(180deg, rgba(10,12,8,.55) 0%, rgba(10,12,8,0) 20%);
}
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-block: calc(var(--header-h) + 48px) clamp(72px, 10vh, 120px); display: grid; gap: 26px; justify-items: start; }
.hero h1 { font-size: clamp(3.4rem, 8.6vw, 6rem); font-stretch: 125%; letter-spacing: -0.03em; max-width: 8.5ch; }
.hero h1 .dot { color: var(--sage); }
.hero-sub { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.35; max-width: 30ch; color: var(--muted); font-weight: 500; }

/* Portada: frase de marca encima del titular */
.home-main { position: relative; }
.hero-kicker {
  margin: 0; font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(1.5rem, 3.2vw, 2.6rem); line-height: 1; letter-spacing: -0.01em; max-width: 14ch; color: var(--text);
  text-shadow: 0 2px 24px rgba(0,0,0,.55);
}
.hero-kicker .dot { color: var(--sage); }

/* Características técnicas: tres beneficios (titular) y, debajo, las tres capas con su nombre comercial */
.inside { margin-top: clamp(72px, 10vw, 130px); }
.inside-tag { font-size: clamp(2rem, 4.8vw, 4rem); line-height: .98; margin: 0 0 clamp(32px, 4.5vw, 60px); }
.inside-tag > span { display: block; }
@media (max-width: 599px) { .inside-tag { font-size: 1.85rem; } .inside-tag > span + span { margin-top: .22em; } }
.inside-tag .dot { color: var(--sage); }
.inside-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(36px, 3.4vw, 48px); }
@media (min-width: 900px) { .inside-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.inside-list li { border-top: 1px solid var(--line-strong); padding-top: 18px; display: flex; flex-direction: column; }
.inside-n { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); }
.inside-list h3 { margin: 14px 0 6px; font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.5rem, 2.2vw, 1.95rem); line-height: 1.02; }
.inside-list p { margin: 0; color: var(--muted); max-width: 38ch; }
.inside-list .inside-sub { margin: 0 0 14px; color: var(--text); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
/* La frase con humor: detalle secundario, en cursiva editorial, al pie de cada capa */
.inside-list .inside-quip { margin-top: auto; padding-top: 18px; font-family: var(--serif); font-style: italic; font-weight: 700; font-size: .98rem; line-height: 1.35; color: var(--sage); }

/* Búnker: texto y reglas del club debajo de la frase */
.hs-more { position: relative; z-index: 2; margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 30px; }
@media (min-width: 900px) { .hs-more { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; } }
.hs-text { margin: 0; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: #D3D0BF; max-width: 34ch; }
.rules-title { margin: 0 0 6px; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); }
.rules ol { list-style: none; margin: 0; padding: 0; }
.rules li { display: grid; grid-template-columns: 7.2em minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.1; }
.rules li span { font-family: var(--body); font-style: normal; font-weight: 800; font-stretch: 100%; font-size: .72rem; letter-spacing: .14em; color: var(--muted); }

/* Fotos editoriales (búnker y green) a todo el ancho, fundidas con el verde oscuro. Sin animación. */
.hole-scene { position: relative; z-index: 1; }
.hs-bunker { margin-bottom: clamp(48px, 8vw, 110px); }
.hs-media { position: relative; height: clamp(360px, 64vh, 660px); overflow: hidden; }
.hs-putt .hs-media { height: clamp(440px, 82vh, 860px); }
.hs-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; }
.hs-putt .hs-photo { object-position: 60% 0%; }
@media (max-width: 899px) { .hs-putt .hs-media { height: clamp(380px, 62vh, 560px); } .hs-putt .hs-photo { object-position: 93% 0%; } .hs-bunker .hs-photo { object-position: 30% 64%; } }
.hs-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(14,17,10,0) 24%, rgba(14,17,10,0) 62%, rgba(14,17,10,.55) 82%, var(--bg) 100%);
}
.hs-putt .hs-media::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(14,17,10,0) 9%, rgba(14,17,10,0) 66%, rgba(14,17,10,.55) 84%, var(--bg) 100%); }
.hs-copy { position: relative; z-index: 2; margin-top: calc(-1 * clamp(84px, 15vh, 150px)); }
.hs-line { font-size: clamp(2.1rem, 5.6vw, 4.6rem); line-height: .98; max-width: 13ch; }
.hs-line .dot { color: var(--sage); }
.putt-band { position: relative; z-index: 1; padding-block: clamp(24px, 5vw, 64px) clamp(56px, 8vw, 110px); }

/* Parallax suave de la portada, ligado al scroll en el hilo gráfico del navegador (sin JavaScript) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .hero-media { animation: hero-par linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .hero .wrap { animation: hero-copy linear both; animation-timeline: scroll(root); animation-range: 0 75vh; }
    @keyframes hero-par { to { transform: translate3d(0, 22vh, 0); } }
    @keyframes hero-copy { to { transform: translate3d(0, 6vh, 0); opacity: 0; } }
  }
}
.section { position: relative; z-index: 1; padding-block: var(--section); }

/* Entradas al bajar (solo con JS; sin JS todo se ve) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Producto y compra */
.shop { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .shop { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.still {
  position: relative; aspect-ratio: 5 / 4; border-radius: 8px; overflow: hidden;
  background:
    radial-gradient(60% 55% at 46% 52%, rgba(110,124,66,.55) 0%, rgba(79,89,52,.18) 45%, rgba(14,17,10,0) 72%),
    linear-gradient(180deg, var(--bg-2), var(--surface));
  box-shadow: inset 0 0 0 1px var(--line);
}
.still::after { /* suelo con brillo */
  content: ""; position: absolute; left: 10%; right: 10%; top: 73%; height: 22%;
  background: radial-gradient(50% 40% at 50% 30%, rgba(195,204,151,.16), rgba(195,204,151,0) 70%);
}
.still img { position: absolute; z-index: 1; }
.still-box { left: 8%; bottom: 23%; width: 62%; filter: drop-shadow(-18px 30px 26px rgba(0,0,0,.55)); }
.still-ball { right: 10%; bottom: 18%; width: 22%; filter: drop-shadow(-10px 18px 14px rgba(0,0,0,.55)); }
/* Entrada del producto: la caja se asienta y la bola llega rodando */
.js .still .still-box { opacity: 0; transform: translateY(18px); transition: opacity 1000ms var(--ease-out), transform 1000ms var(--ease-out); }
.js .still .still-ball { opacity: 0; transform: translateY(18px); transition: opacity 1000ms var(--ease-out) 180ms, transform 1000ms var(--ease-out) 180ms; }
.js .still.is-in .still-box, .js .still.is-in .still-ball { opacity: 1; transform: none; }

.buy { display: grid; gap: 20px; align-content: center; }
.buy h2 { font-size: clamp(2.8rem, 4.6vw, 4.4rem); }
.buy-line { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(1.35rem, 2.1vw, 1.7rem); line-height: 1.22; color: var(--sage); max-width: 26ch; text-wrap: balance; }
.buy-box { display: grid; gap: 14px; padding: 22px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price { font-family: var(--display); font-weight: 800; font-stretch: 108%; font-size: 2.5rem; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.price-note { font-size: 0.88rem; color: var(--muted); }
.buy-row { display: flex; gap: 10px; align-items: center; }
.qty { display: inline-flex; align-items: center; flex: none; border: 2px solid var(--line-strong); border-radius: 999px; height: 52px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 1.3rem; font-weight: 700; cursor: pointer; border-radius: 999px; }
.qty button:disabled { color: rgba(236,232,216,.25); cursor: default; }
.qty output { min-width: 2ch; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.buy-row .btn { flex: 1 1 auto; padding-inline: 1.2em; }
.total { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 0.95rem; padding-top: 12px; border-top: 1px solid var(--line); }
.total output { font-variant-numeric: tabular-nums; font-weight: 800; }
.pay-note { font-size: 0.85rem; color: var(--muted); }
.pay-links { font-size: 0.82rem; color: var(--muted); margin-top: -6px; }
.pay-links a { color: var(--text); }
.checkout-msg { font-size: 0.92rem; font-weight: 700; color: var(--pending); background: rgba(226,194,122,.1); border-radius: 8px; padding: 12px 14px; box-shadow: inset 0 0 0 1px rgba(226,194,122,.3); }
.checkout-msg.is-ok { color: var(--sage); background: rgba(195,204,151,.1); box-shadow: inset 0 0 0 1px rgba(195,204,151,.32); }
.checkout-msg[hidden] { display: none; }
.specs { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.specs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 52px; font-weight: 800; }
.specs summary::-webkit-details-marker { display: none; }
.specs summary::after { content: "+"; font-size: 1.4rem; font-weight: 600; line-height: 1; transition: transform 200ms var(--ease-out); }
.specs[open] summary::after { transform: rotate(45deg); }
.specs dl { margin: 0 0 14px; display: grid; }
.specs dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.specs dt { font-weight: 700; }
.specs dd { margin: 0; color: var(--muted); }

/* Buggy: foto grande y el titular montado sobre su borde */
.buggy { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.buggy figure { position: relative; }
.buggy figure img { width: 100%; height: auto; border-radius: 8px; }
.buggy-copy { position: relative; z-index: 2; display: grid; gap: 22px; justify-items: start; }
.buggy-copy p { font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.4; max-width: 24ch; }
@media (min-width: 900px) {
  .buggy { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .buggy-copy h2 { margin-left: clamp(-180px, -12vw, -96px); text-shadow: 0 6px 40px rgba(14,17,10,.6); }
}

/* Juego: el campo se abre a pleno sol */
.game-wrap { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) { .game-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); } }
.game-head { display: grid; gap: 18px; align-content: center; }
.game-head h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--sage); }
.scene {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: #1A2012;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.7), inset 0 0 0 1px var(--line);
  touch-action: manipulation; -webkit-user-select: none; user-select: none;
}
/* Dos planos: la salida (vídeo) y el green (foto con la bandera BADDIE) */
.stage { position: absolute; inset: 0; transition: opacity 450ms ease; }
.stage-green { opacity: 0; }
.scene.on-green .stage-green { opacity: 1; }
.scene.on-green .stage-tee { opacity: 0; }
.scene .swing-video, .scene .swing-still, .scene .putt-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.scene .fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.fx-ring { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) { .fx-ring { animation: tap 1.8s var(--ease-out) infinite; } }
.scene.is-busy .fx-ring, .scene.on-green .fx-ring { display: none; }
.scene .swing-still { opacity: 0; transition: opacity 260ms ease; pointer-events: none; }
.scene .swing-still.is-on { opacity: 1; }
.scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(10,12,8,.55) 0%, rgba(10,12,8,0) 30%), linear-gradient(180deg, rgba(10,12,8,.4) 0%, rgba(10,12,8,0) 22%); }
.scene:focus-visible { outline-offset: 4px; }
/* Marcador */
.hud { position: absolute; z-index: 2; pointer-events: none; }
.hud-top { left: 14px; top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.hud-pill {
  display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 0 12px; border-radius: 999px;
  background: rgba(14,17,10,.74);
  color: var(--text); font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.hud-pill strong { font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 112%; text-transform: uppercase; letter-spacing: .02em; }
.minimap { position: absolute; z-index: 2; right: 14px; top: 14px; width: 64px; height: 104px; padding: 6px; border-radius: 10px; background: rgba(14,17,10,.74); overflow: visible; }
/* En el green el mapa se aparta para no tapar la bandera BADDIE */
.minimap { transition: opacity 300ms ease; }
.scene.on-green .minimap { opacity: 0; }
.minimap .mm-ball { transition: cx 700ms var(--ease-in-out), cy 700ms var(--ease-in-out); }
@media (max-width: 699px) { .minimap { width: 52px; height: 86px; } }
.scene-ui { z-index: 2; position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: #fff; font-size: 0.86rem; font-weight: 700; pointer-events: none; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hud-dist { font-variant-numeric: tabular-nums; }
.scene-hint { transition: opacity 300ms ease; text-align: right; }
.scene.is-busy .scene-hint { opacity: 0; }
.scene.is-busy.is-loading .scene-hint { opacity: 1; }

/* Frases: salen desde la bola y crecen hasta el centro de la pantalla */
/* Frase del golpe: dentro del recuadro del juego (sube con la página al hacer scroll) */
.scene { container-type: inline-size; }
.shout { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none; }
.shout-inner { display: block; text-align: center; padding: 0 14px; max-width: 100%; opacity: 0; will-change: transform, opacity; }
.shout-text {
  display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 120%; text-transform: uppercase;
  font-size: clamp(1.5rem, 5.5vw, 3.4rem); font-size: clamp(1.5rem, 8.6cqw, 3.6rem); line-height: .92; letter-spacing: -0.02em; color: #fff; text-wrap: balance;
  text-shadow: 0 4px 22px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.35);
}
.shout-sub { display: block; margin-top: 12px; font-weight: 800; font-size: clamp(.95rem, 4.2cqw, 1.25rem); color: var(--sage); text-shadow: 0 2px 14px rgba(0,0,0,.6); }
@keyframes tap { 0% { opacity: .7; transform: scale(.8); } 100% { opacity: 0; transform: scale(2.2); } }

/* Newsletter: el hoyo 19 */
.news { padding-top: 0; }
.news-panel {
  display: grid; gap: 28px 64px; align-items: end; padding: clamp(28px, 5vw, 64px); border-radius: 16px;
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(110,124,66,.55) 0%, rgba(79,89,52,.15) 50%, rgba(14,17,10,0) 80%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.news-panel .lede { margin-top: 14px; color: #D3D0BF; }
@media (min-width: 900px) { .news-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.news-form { display: grid; gap: 14px; }
.field-row { display: flex; gap: 10px; flex-wrap: wrap; }
.field-row input {
  flex: 1 1 240px; min-height: 54px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--line-strong);
  background: rgba(14,17,10,.6); color: var(--text); font-size: 1rem;
  transition: border-color 200ms ease;
}
.field-row input::placeholder { color: rgba(166,171,147,.8); }
.field-row input:focus-visible { outline: none; border-color: var(--sage); }
.field-row input[aria-invalid="true"] { border-color: #E3A08F; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.consent a { color: var(--text); }
.fine { font-size: 0.76rem; line-height: 1.5; color: rgba(166,171,147,.85); max-width: 62ch; }
.form-msg { font-size: 0.92rem; font-weight: 700; min-height: 1.4em; }
.form-msg[data-tone="error"] { color: #F3C3B6; }
.form-msg[data-tone="info"] { color: var(--sage); }
.form-msg[data-tone="ok"] { color: var(--text); }

/* Pie compacto */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); color: var(--muted); padding-block: 36px 28px; font-size: 0.88rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer-logo { width: 92px; }
.footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer a { color: var(--text); }
.footer-copy { font-size: 0.8rem; }

/* Who the hell are we? */
.page-head { padding-block: clamp(56px, 8vw, 120px) clamp(32px, 4vw, 56px); display: grid; gap: 22px; }
.page-head h1 { font-size: clamp(2.8rem, 7.4vw, 6rem); }
.page-head .opener { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.2; color: var(--sage); max-width: 24ch; }
.story { display: grid; gap: clamp(28px, 4vw, 80px); align-items: start; padding-bottom: var(--section); }
.story figure img { width: 100%; height: auto; border-radius: 8px; }
.story-copy { display: grid; gap: 28px; justify-items: start; }
.story-copy .prose { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: #D9D5C4; }
.story-copy .kicker { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 115%; text-transform: uppercase; font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.05; letter-spacing: -0.01em; }
@media (min-width: 900px) { .story { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }

/* Textos legales: lectura cómoda, sin animaciones */
.legal-head { padding-bottom: clamp(24px, 3vw, 40px); }
.legal-head h1 { font-size: clamp(1.9rem, 8.2vw, 5rem); }
.legal-date { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.legal-wrap { display: grid; gap: clamp(40px, 6vw, 96px); padding-bottom: var(--section); align-items: start; }
@media (min-width: 1000px) { .legal-wrap { grid-template-columns: minmax(0, 1fr) 240px; } .legal-nav { position: sticky; top: calc(var(--header-h) + 32px); } }
.legal { max-width: 68ch; color: #D9D5C4; overflow-wrap: break-word; }
.legal h2 { font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.15; color: var(--text); margin: 2.2em 0 0.6em; padding-top: 1.2em; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.legal > h2:first-child, .legal > .legal-lang + h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1rem; font-weight: 800; color: var(--text); margin: 1.6em 0 0.4em; }
.legal p, .legal ul, .legal ol { margin: 0 0 1em; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li + li { margin-top: 0.4em; }
.legal a { color: var(--text); text-decoration-color: var(--sage); text-underline-offset: 3px; }
.legal strong { color: var(--text); }
.legal-data { list-style: none; padding: 18px 20px !important; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.legal-lang { font-size: 0.9rem; color: var(--muted); font-style: italic; }
.legal-form { padding: 20px 22px; border-radius: 10px; border: 1px dashed var(--line-strong); font-size: 0.95rem; }
.legal-form p:last-child { margin-bottom: 0; }
.legal-nav p { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); margin-bottom: 12px; }
.legal-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.legal-nav a { color: var(--text); }
mark.todo { background: rgba(226,194,122,.14); color: var(--pending); border-radius: 4px; padding: 0 4px; box-shadow: inset 0 0 0 1px rgba(226,194,122,.4); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { transform: none; transition: opacity 400ms ease; }
  .js .still .still-box, .js .still .still-ball { transform: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
