/* Honey Weed Club — estilos de la web.
   Marca: crema rosa + oliva, como el cartel de fachada. El ámbar vive solo dentro de la miel.
   Anton para wordmark y titulares, Instrument Sans para el texto. */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
  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: "Anton";
  src: url("../fonts/anton-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Paleta: la del cartel de fachada, crema rosa + oliva. Los bloques van en un crema un punto más hondo y el ámbar solo en la miel. */
  --crema-rosa: #FEE7E1;   /* fondo */
  --oliva: #4D3706;        /* texto, titulares, wordmark, footer (como el cartel) */
  --oliva-2: #6B5220;      /* texto secundario, 6,2:1 sobre crema-rosa */
  --crema-hondo: #F7D9CF;  /* bloques, huecos de foto, hover de botones */
  --crema-banda: #FADFD6;  /* bandas suaves */
  --ambar: #C9781B;        /* solo detalles mínimos (cuadraditos, punto de "abierto"); nunca texto */
  --linea: #E7C2B5;        /* separadores finos */

  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --step-0: 17px;
  --step-1: clamp(19px, 1.6vw, 21px);
  --step-h3: clamp(26px, 3vw, 34px);
  --step-h2: clamp(44px, 7vw, 96px);

  /* Métricas de Anton (medidas en Chromium, 13/10/2026): ancho de tinta de "HONEY" = 2,317 em;
     altura de mayúscula = 0,859 em. Interlineado con el hueco del póster (6,3 % de la mayúscula). */
  --honey-em: 2.317;
  --wordmark-lh: 0.9135;
  /* Titulares en Anton que pueden llevar tildes (Á, Ó…): con menos de 1,12 la tilde toca la línea de arriba. */
  --display-lh: 1.16; /* la tilde de Anton sube 1,11 em: con 1,16 queda ~0,035 em de aire (medido el 20/10/2026) */
  /* Tokens de función: el CSS solo usa estos. */
  --bg: var(--crema-rosa);
  --bg-2: var(--crema-hondo);
  --ink: var(--oliva);
  --ink-2: var(--oliva-2);
  --block: var(--crema-hondo);
  --band: var(--crema-banda);
  --line: var(--linea);
  --accent: var(--ambar);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, picture, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; } /* p. ej. .open-now y .map-fallback, que tienen display propio */
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
/* Correos y códigos largos (el email, el justificante del registro): que partan antes que desbordar en móvil. */
a[href^="mailto:"], td { overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; z-index: 50; }
.skip:focus { top: 12px; }
/* Sin JavaScript no hay age gate: queda este aviso arriba (CLAUDE.md §2.5). */
.noscript-notice { background: var(--ink); color: var(--bg); padding: 10px var(--gutter); font-weight: 600; text-align: center; }

.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.h2 {
  font-family: var(--display);
  font-size: var(--step-h2);
  line-height: var(--display-lh);
  text-transform: uppercase;
  text-wrap: balance;
  letter-spacing: -.005em;
}
.lead { font-size: var(--step-1); line-height: 1.55; max-width: 34em; }
.prose { max-width: 36em; display: grid; gap: 16px; }
.link-arrow { font-weight: 600; display: inline-flex; gap: .45em; align-items: baseline; }
/* Flecha dibujada (las fuentes autoalojadas no traen "→") y sin texto para los lectores de pantalla. */
.link-arrow::after {
  content: ""; flex: none; align-self: center;
  width: 1em; height: .7em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14'%3E%3Cpath d='M0 7h17.5M11.5 1l6 6-6 6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14'%3E%3Cpath d='M0 7h17.5M11.5 1l6 6-6 6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
  mask-position: center; mask-size: contain; mask-repeat: no-repeat;
  transition: transform .2s ease;
}
.link-arrow:hover::after { transform: translateX(3px); }
li > .link-arrow { display: inline; }
li > .link-arrow::after { display: inline-block; margin-left: .45em; vertical-align: -.02em; }

/* Marcas de trabajo (.todo): solo en la previsualización. Antes de publicar no debe quedar ninguna (CLAUDE.md §8.3). */
.todo { background: #FFF3A8; color: var(--ink); font-size: 13px; font-weight: 600; padding: 1px 6px; border-radius: 2px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; text-align: center;
  font-family: var(--display);
  font-size: 20px; line-height: 1; letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none;
  padding: 16px 22px 15px;
  border: 2px solid var(--ink);
  background: var(--ink); color: var(--bg);
  transition: background-color .2s ease, color .2s ease;
}
.btn {
  background-image: linear-gradient(var(--bg), var(--bg)); background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 0;
  transition: background-size .35s cubic-bezier(.2, .7, .2, 1), color .25s ease;
}
.btn:hover { background-size: 100% 100%; color: var(--ink); }
.btn--ghost { background-color: transparent; color: var(--ink); background-image: linear-gradient(var(--ink), var(--ink)); }
.btn--ghost:hover { color: var(--bg); }

/* Separador: una línea fina a sangre. */
.stripes { height: 1px; background: var(--line); }

/* ---------- Cabecera ---------- */
.site-header { position: relative; z-index: 20; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-block: 18px; }
.brand { font-family: var(--display); font-size: 22px; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul:not(.lang) { list-style: none; display: flex; gap: 24px; }
.nav a { text-decoration: none; font-weight: 500; }
.nav a:hover { text-decoration: underline; }
.nav .btn { font-size: 17px; padding: 12px 16px 11px; }
.lang { list-style: none; display: flex; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.lang [aria-current="true"] { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 2px solid var(--ink); color: var(--ink); font: 600 15px/1 var(--body); padding: 10px 14px; cursor: pointer; }

@media (max-width: 980px) {
  .js .nav-toggle { display: inline-block; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; flex-direction: column; align-items: flex-start; gap: 18px; }
  .js .nav.is-open { display: flex; }
  .nav { flex-wrap: wrap; }
  .nav ul:not(.lang) { flex-direction: column; gap: 14px; font-size: 20px; }
}

/* ---------- Hero ---------- */
/* Como el cartel de fachada: "HONEY WEED CLUB" en una línea escalonada a todo el ancho (escritorio) o en tres líneas
   desplazadas (móvil). Solo tipográfico. */
.hero { padding-block: clamp(12px, 3vw, 40px) clamp(40px, 6vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 22px; position: relative; }
.hero .eyebrow { position: relative; z-index: 3; }
.wordmark {
  display: flex; flex-direction: column;
  font-family: var(--display);
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
}
.wordmark > span { display: block; position: relative; z-index: 1; }
.h1-line {
  display: block;
  font-family: var(--body);
  font-weight: 500;
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.25;
  text-wrap: balance;
  position: relative; z-index: 3;
}
.hero-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; z-index: 3; }
.hero-cta-main { display: grid; gap: 18px; }
.address { color: var(--ink-2); font-size: 15px; }

/* Móvil: tres líneas; HONEY a todo el ancho (2,345 em de tinta en Anton), WEED centrada y CLUB a la derecha. */
.wordmark { --wm-w: calc(100vw - 2 * var(--gutter)); font-size: calc(var(--wm-w) / 2.345); line-height: var(--wordmark-lh); }
.wordmark > span:nth-child(2) { align-self: center; }
.wordmark > span:nth-child(3) { align-self: flex-end; }
@media (max-width: 899px) and (orientation: portrait) {
  /* Que el botón quepa en la primera pantalla: el wordmark se limita por la altura. */
  .wordmark { --wm-w: min(calc(100vw - 2 * var(--gutter)), calc((100svh - 330px) / 1.17)); align-self: start; width: var(--wm-w); }
  .hero-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "btn seal" "addr addr"; gap: 14px 16px; }
  .hero-cta-main { display: contents; }
  .hero-cta-main > .address { grid-area: addr; }
  .hero-cta-main > div { grid-area: btn; }
  .hero-cta .seal { grid-area: seal; }
  .hero-cta .btn { padding-inline: 14px; }
}
@media (max-width: 399px) and (orientation: portrait) {
  .hero-cta { column-gap: 12px; }
  .hero-cta .btn { font-size: 17px; }
}
@media (max-width: 339px) and (orientation: portrait) {
  .hero-cta .seal { width: 96px; }
}

/* Escritorio: una línea con las palabras medio superpuestas y un escalonado leve. Anchos de tinta medidos en Chromium: HONEY 2,345 em,
   WEED 2,005, CLUB 1,805; con dos solapes de 0,1 em suman 5,96 em. Cada palabra baja 0,14 em: alto total 1,18 em.
   Cada palabra lleva un borde del color del fondo por detrás (paint-order): donde pisa a la anterior, la recorta y se sigue
   leyendo, como recortes de papel. Sin soporte de paint-order (Chrome < 123) el borde va encima y las letras adelgazan un pelo. */
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 40px; row-gap: 26px; }
  /* El h1 reparte sus dos hijos (wordmark y línea del H1) por la retícula del .wrap. Con subgrid conserva su caja: recibe el foco
     al cerrar el age gate y VoiceOver lo lista como encabezado (con display: contents no era enfocable y iPadOS lo perdía en el
     rotor). Sin subgrid (Chrome <117, Samsung Internet <24), display: contents como antes. */
  .hero h1 { display: contents; }
  @supports (grid-template-columns: subgrid) {
    .hero h1 { display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; grid-column: 1 / -1; grid-row: 2 / 4; align-items: end; }
    .hero-cta { grid-row: 3; }
  }
  .hero .eyebrow, .wordmark { grid-column: 1 / -1; }
  .wordmark {
    --wm-w: min(calc(100vw - 2 * var(--gutter)), calc(var(--max) - 2 * var(--gutter)), calc((100svh - 330px) * 5));
    width: var(--wm-w);
    flex-direction: row; align-items: flex-start; gap: 0;
    font-size: calc(var(--wm-w) / 5.96);
    line-height: .9;
  }
  .wordmark > span { -webkit-text-stroke: .05em var(--bg); paint-order: stroke fill; }
  .wordmark > span + span { margin-left: -.1em; }
  .wordmark > span:nth-child(2) { align-self: auto; margin-top: .14em; }
  .wordmark > span:nth-child(3) { align-self: auto; margin-top: .28em; }
  .h1-line { grid-column: 1; max-width: 24em; }
  .hero-cta { grid-column: 2; justify-content: flex-end; gap: 28px; }
}
/* Pantallas bajas y apaisadas (móvil en horizontal): la línea escalonada también, limitada por la altura. */
@media (max-width: 899px) and (orientation: landscape) {
  .wordmark { --wm-w: min(calc(100vw - 2 * var(--gutter)), calc((100svh - 230px) * 5)); width: var(--wm-w); flex-direction: row; align-items: flex-start; gap: 0; font-size: calc(var(--wm-w) / 5.96); line-height: .9; }
  .wordmark > span { -webkit-text-stroke: .05em var(--bg); paint-order: stroke fill; }
  .wordmark > span + span { margin-left: -.1em; }
  .wordmark > span:nth-child(2) { align-self: auto; margin-top: .14em; }
  .wordmark > span:nth-child(3) { align-self: auto; margin-top: .28em; }
}

/* ---------- Miel: adorno ---------- */
/* El hero es solo tipográfico, como el cartel de fachada.
   La miel real (img/miel-720/1080) va como adorno: cuelga de la línea de la barra de avisos, en su
   propio espacio, así que no pisa texto en ningún ancho. Se desvanece hacia abajo. */
.drip-deco { position: relative; height: clamp(150px, 17vw, 240px); margin-bottom: calc(-1 * clamp(24px, 4vw, 64px)); pointer-events: none; }
.drip-deco .wrap { position: relative; height: 100%; }
.drip-deco picture {
  position: absolute; top: 0; right: var(--gutter); width: clamp(120px, 34vw, 220px); height: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
}
.drip-deco img { display: block; width: 100%; height: auto; }
@media (min-width: 900px) { .drip-deco picture { right: calc(var(--gutter) + 6%); } }

/* Etiqueta "Become a member": redonda, gira con el scroll (main.js); va junto al botón en todas las anchuras.
   Texto crema sobre oliva (9,5:1); al pasar por encima, oliva sobre crema hondo. El centro va en crema. */
.seal { display: block; flex: none; width: clamp(150px, 14vw, 210px); aspect-ratio: 1; border-radius: 50%; text-decoration: none; }
.seal svg { display: block; width: 100%; height: 100%; overflow: visible; }
.seal-disc { fill: var(--ink); transition: fill .25s ease; }
.seal-core { fill: var(--bg); }
.seal-text { font-family: var(--display); font-size: 21px; letter-spacing: .06em; fill: var(--bg); transition: fill .25s ease; }
.seal-arrow { fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: square; }
.seal-spin { transform-box: view-box; transform-origin: 50% 50%; transform: rotate(var(--seal-rot, 0deg)); }
.seal:hover .seal-disc { fill: var(--block); stroke: var(--ink); stroke-width: 2; }
.seal:hover .seal-text { fill: var(--ink); }
.seal:focus-visible { outline-offset: 6px; }
@media (max-width: 899px) { .seal { width: clamp(116px, 30vw, 140px); } }
@media (orientation: landscape) and (max-height: 560px) { .seal { width: 120px; } }

/* ---------- Barra de avisos ---------- */
/* Los cuatro avisos de CLAUDE.md §2.1 (cinco con "members only"), en una línea bajo el cartel. */
.notice { list-style: none; display: grid; gap: 8px; font-weight: 500; }
.notice li { display: flex; gap: 10px; align-items: baseline; }
.notice li::before { content: ""; width: 9px; height: 9px; background: var(--accent); flex: none; transform: translateY(-1px); }
.notice-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.notice-bar .notice { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-block: 14px; font-size: 15px; }
@media (min-width: 1100px) { .notice-bar .notice { justify-content: space-between; } }

/* ---------- Intro: la respuesta a lo que más se busca ---------- */
/* Sin foto (la espiral de miel se quitó el 20/10/2026): titular con la keyword a la izquierda y la respuesta a la derecha. */
.intro { padding-block: clamp(56px, 8vw, 120px); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.intro-text { display: grid; gap: 24px; justify-items: start; }
.intro .h2 { font-size: clamp(36px, 4.6vw, 68px); }
@media (max-width: 899px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Galería y vídeo del local ---------- */
/* En escritorio (sin reduced-motion) la galería se queda fija y avanza en horizontal con el scroll (main.js añade .is-pinned).
   En móvil y con reduced-motion se desliza con el dedo, con imán en cada foto. */
.inside { padding-block: clamp(72px, 10vw, 152px) 0; }
.inside-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4vw, 56px); }
.gallery { --shot-h: min(60vw, 440px, 78svh); position: relative; }
.gallery-view { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--ink-2) transparent; overscroll-behavior-x: contain; padding-bottom: 10px; }
.gallery-view:focus-visible { outline-offset: -2px; }
.gallery-track { list-style: none; display: flex; gap: clamp(12px, 1.6vw, 24px); padding-inline: var(--gutter); width: max-content; }
.shot { flex: none; height: var(--shot-h); background: var(--bg-2); scroll-snap-align: start; position: relative; overflow: hidden; }
.shot--b { background: var(--block); }
.shot--c { background: var(--band); }
/* Las fotos van completas, en su formato de origen (iPhone): apaisadas 4:3 y verticales 3:4. */
.shot--portrait { aspect-ratio: 3 / 4; }
.shot--landscape { aspect-ratio: 4 / 3; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .gallery { --shot-h: clamp(320px, 60vh, 680px); } }
.gallery.is-pinned .gallery-view { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; scroll-snap-type: none; }
.gallery.is-pinned .gallery-track { will-change: transform; pointer-events: auto; }
/* Con la vista fija (100svh) y las fotos centradas, el margen negativo deja el mismo aire arriba y abajo que el resto de bloques.
   La caja sube transparente por encima del titular: que no se coma los clics. */
.gallery.is-pinned { margin-block: calc((var(--shot-h) - 100svh) / 2); pointer-events: none; }
.gallery.is-pinned .gallery-view { padding-bottom: 0; }

/* Vídeo del local, vertical (9:16). En móvil, a todo el ancho. En escritorio, centrado en una banda oliva que se abre
   de un marco con márgenes a todo el ancho al entrar (main.js, --reel-inset), con un titular a la izquierda. */
.reel { margin-top: clamp(48px, 7vw, 112px); }

.reel-frame {
  position: relative; overflow: hidden; background: var(--ink); color: var(--bg);
  aspect-ratio: 9 / 16; max-height: 100svh; width: 100%;
  clip-path: inset(0 var(--reel-inset, 0px));
}
.reel-frame video { position: absolute; top: 0; left: 50%; height: 100%; width: auto; aspect-ratio: 9 / 16; translate: -50% 0; object-fit: cover; }
.reel-cap { display: none; }
.reel-toggle {
  position: absolute; right: var(--gutter); bottom: 20px;
  font: 600 15px/1 var(--body); color: var(--ink); background: var(--bg); border: 2px solid var(--ink); padding: 10px 14px; cursor: pointer;
}
@media (max-width: 899px) { .reel-toggle { right: calc(50% - min(50%, 100svh * 9 / 32) + 16px); } }
/* Foco en crema con un anillo oliva por fuera: se ve sobre la banda oliva y sobre cualquier fotograma. */
.reel-toggle:focus-visible { outline: 2px solid var(--bg); outline-offset: 3px; box-shadow: 0 0 0 7px var(--ink); }
@media (min-width: 900px) {
  .reel-frame { --reel-h: min(100svh, 1040px); aspect-ratio: auto; height: var(--reel-h); }
  /* El botón, dentro del vídeo (esquina de abajo a la derecha): así no queda a caballo del borde en ventanas altas. */
  .reel-toggle { right: calc(50% - var(--reel-h) * 9 / 32 + 16px); }
}
/* El titular solo cabe si queda sitio al lado del vídeo (6vw: lo que tapa el marco antes de abrirse). */
@media (min-width: 1100px) {
  .reel-cap {
    display: block; position: absolute; left: calc(var(--gutter) + 6vw); top: clamp(24px, 3vw, 40px);
    max-width: calc(50% - var(--reel-h) * 9 / 32 - var(--gutter) - 6vw - 24px);
    font-family: var(--display); font-size: clamp(32px, 3.2vw, 56px); line-height: var(--display-lh); text-transform: uppercase;
  }
}
.inside-foot { padding-block: clamp(28px, 4vw, 48px) 0; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(72px, 10vw, 152px); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4vw, 56px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; row-gap: clamp(64px, 16vw, 96px); } }

.steps { list-style: none; counter-reset: step; display: grid; gap: 22px; margin-block: 28px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: clamp(56px, 5vw, 72px) 1fr; gap: 4px 16px; }
/* Numeral editorial en contorno (01, 02, 03). El texto alternativo vacío ("/ ''") evita que los lectores de pantalla lo lean dos veces. */
.steps li::before {
  content: counter(step, decimal-leading-zero); content: counter(step, decimal-leading-zero) / "";
  font-family: var(--display); font-size: clamp(36px, 3.4vw, 48px); line-height: .95;
  color: transparent; -webkit-text-stroke: 1.4px var(--ink); grid-row: span 2;
}
.steps strong { font-weight: 600; }

/* Foto de El club (la sala luminosa, completa). */
.room-photo { margin: 0; aspect-ratio: 4 / 3; background: var(--bg-2); overflow: hidden; }
.room-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Lo básico, sobre miel clara */
/* Lo básico: banda oliva (ritmo oscuro/claro). Crema sobre oliva 9,5:1. */
.basics { background: var(--ink); color: var(--bg); }
.basics .link-arrow, .basics a { color: var(--bg); }
.basics :focus-visible { outline-color: var(--bg); }
.basics-list { counter-reset: basic; }
.basics-list li { counter-increment: basic; border-top: 1px solid color-mix(in srgb, var(--bg) 28%, transparent); padding-top: 18px; }
.basics-list li::before {
  content: counter(basic, decimal-leading-zero); content: counter(basic, decimal-leading-zero) / "";
  display: block; font-family: var(--display); font-size: clamp(56px, 6vw, 96px); line-height: .9; margin-bottom: 14px;
  color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--bg) 70%, transparent);
}
.basics-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px clamp(24px, 3vw, 48px); margin-bottom: 40px; }
.basics .eyebrow { color: var(--bg); }
.basics-list h3 { font-family: var(--display); font-size: var(--step-h3); line-height: var(--display-lh); text-transform: uppercase; margin-bottom: 12px; }
.basics-list p { text-wrap: pretty; }
/* En 4 columnas, los cuatro párrafos empiezan a la misma altura aunque un título ocupe dos líneas. */
@media (min-width: 1081px) {
  .basics-list { grid-template-rows: auto auto auto; }
  .basics-list li { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 12px; }
  .basics-list li::before { margin-bottom: 0; }
  .basics-list h3 { margin-bottom: 0; align-self: end; }
}
@media (max-width: 1080px) { .basics-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.basics-list:last-child { margin-bottom: 0; }
.basics + .row { border-top: 0; }
@media (max-width: 560px) { .basics-list { grid-template-columns: 1fr; } }

/* Dónde estamos */
.place { display: grid; gap: 20px; }
.place address { font-style: normal; font-size: var(--step-1); line-height: 1.5; }
.hours { display: grid; gap: 4px; }
.open-now { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.open-now::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink-2); }
.open-now.is-open::before { background: var(--accent); }
.small { font-size: 14px; color: var(--ink-2); }
.ways { list-style: none; display: grid; gap: 18px; }
.ways strong { font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
/* En escritorio, cómo llegar se alinea abajo con Directions y repite las líneas finas de la FAQ. */
@media (min-width: 900px) {
  .split > .ways { align-self: end; padding-bottom: 14px; }
  .ways { gap: 0; font-size: var(--step-1); }
  .ways li { padding-block: 16px; border-top: 1px solid var(--line); }
}

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 24px; align-items: baseline;
  padding: 22px 0;
  font-size: var(--step-1); font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
/* "+" y "−" son decoración: el texto alternativo vacío ("/ ''") evita que se lean. */
.faq summary::after { content: "+"; content: "+" / ""; font-family: var(--display); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "−"; content: "−" / ""; }
.faq details p { padding: 0 0 24px; max-width: 46em; }

/* Bloque final */
.final { padding-block: clamp(72px, 10vw, 152px); }
.final .wrap { display: grid; gap: 28px; justify-items: start; }

/* ---------- Páginas interiores ---------- */
/* Cabecera de página: migas, eyebrow, H1 grande en Anton, entradilla y (si toca) la línea de avisos. */
.page-top { padding-block: clamp(24px, 4vw, 56px) clamp(56px, 8vw, 112px); }
.page-top .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; justify-items: start; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; content: "/" / ""; margin-right: 10px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-top .eyebrow { margin-top: clamp(16px, 3vw, 40px); }
.page-title {
  font-family: var(--display);
  font-size: clamp(52px, 9vw, 136px);
  line-height: var(--display-lh);
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 15ch;
}
.page-title--long { font-size: clamp(44px, 7vw, 112px); max-width: 18ch; }
/* Móviles de 320 px: "in Benalmádena" / "en Benalmádena" va unido (&nbsp;) y a 52 px no cabe en la columna. */
@media (max-width: 359px) { .page-title { font-size: 42px; } }
.page-top .lead { max-width: 38em; }
/* Avisos en una línea que se parte (como el copy: "Notice line"). */
.notice--line { display: flex; flex-wrap: wrap; gap: 6px 22px; border: 0; }
.notice--line li { padding: 0; border: 0; }

/* Filas editoriales: titular a la izquierda, texto a la derecha, separadas por una línea fina. */
.row { border-top: 1px solid var(--line); padding-block: clamp(48px, 7vw, 104px); }
.row-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px clamp(24px, 5vw, 80px); align-items: start; }
.h3x {
  font-family: var(--display);
  font-size: clamp(32px, 4.2vw, 60px);
  line-height: var(--display-lh);
  text-transform: uppercase;
  text-wrap: balance;
}
.row .prose { font-size: var(--step-1); line-height: 1.55; }
.row .prose .small { font-size: 14px; }
.row-body { display: grid; gap: 24px; min-width: 0; }
.row-body > .steps { margin-block: 0; }
.row-body > .faq { max-width: none; }
.row--block { background: var(--block); border-top: 0; }
.row--block .eyebrow, .row--block .small { color: var(--ink); } /* por si el bloque vuelve a un fondo más oscuro */
.row--band { background: var(--band); border-top: 0; }
.row + .row--block, .row--block + .row, .row + .row--band, .row--band + .row, .stripes + .row { border-top: 0; }
.stripes + .section { padding-top: clamp(48px, 7vw, 104px); }
/* En /rules/, "The basics" justo bajo el H1: titular de sección, no de home. */
.page-top + .basics .h2 { font-size: clamp(32px, 4.2vw, 60px); }
/* En escritorio, el titular de la fila acompaña al texto largo (FAQ, listas). */
@media (min-width: 900px) { .row-grid > .h3x { position: sticky; top: 28px; } }
@media (max-width: 899px) { .row-grid { grid-template-columns: 1fr; } }

/* Lista con negrita de entrada (cómo hacemos las cosas, cómo llegar, fuera del club). */
.points { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.points li { padding-block: 16px; border-bottom: 1px solid var(--line); }
.points strong { font-weight: 600; }
.row--block .points, .row--block .points li { border-color: color-mix(in srgb, var(--ink) 22%, transparent); }

/* Datos destacados (dirección, horario) */
.facts { display: grid; gap: 6px; font-size: var(--step-1); line-height: 1.5; }
.facts address { font-style: normal; }

/* Mapa (Leaflet autoalojado, teselas por /api/tiles). Sin JS o sin teselas, queda el fondo y la dirección. */
.map { aspect-ratio: 4 / 3; width: 100%; background: var(--bg-2); border: 1px solid var(--line); position: relative; z-index: 0; }
@media (min-width: 900px) { .map { aspect-ratio: 16 / 10; } }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--ink-2); font-size: 15px; }
.map .leaflet-control-attribution { font: 12px/1.4 var(--body); background: color-mix(in srgb, var(--bg) 88%, transparent); color: var(--ink); }
.map .leaflet-control-attribution a { color: var(--ink); }
.map .leaflet-bar a { color: var(--ink); background: var(--bg); border-color: var(--line); }
.map.leaflet-container { background: var(--bg-2); font-family: var(--body); }
.map .leaflet-tile-pane { filter: saturate(.35) sepia(.12); } /* teselas OSM en tonos de la marca */
.map .leaflet-bar, .map.leaflet-touch .leaflet-bar { border: 2px solid var(--ink); border-radius: 0; }
.map .leaflet-bar a, .map .leaflet-bar a:first-child, .map .leaflet-bar a:last-child { border-radius: 0; border-bottom-color: var(--ink); }
.map .leaflet-bar a:last-child { border-bottom: 0; }
.map .leaflet-bar a:not(.leaflet-disabled):hover, .map .leaflet-bar a:focus-visible { background: var(--block); color: var(--ink); }
.map-pin { width: 22px; height: 22px; background: var(--ink); border: 3px solid var(--bg); border-radius: 50%; box-shadow: 0 0 0 2px var(--ink); }

/* Journal: fichas de artículos */
.cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(20px, 3vw, 36px); }
.card { display: grid; gap: 14px; align-content: start; padding-top: 22px; border-top: 2px solid var(--ink); }
.card h2 { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); line-height: var(--display-lh); text-wrap: balance; text-transform: uppercase; }
.card h2 a { text-decoration: none; }
.card h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.card .small { margin-top: 2px; }
.card .link-arrow { justify-self: start; }
@media (min-width: 720px) { .card { grid-row: span 4; grid-template-rows: subgrid; row-gap: 14px; } }

/* Artículos y textos legales: una columna de lectura. */
.article { padding-block: 0 clamp(64px, 9vw, 128px); }
.stripes + .article { padding-top: clamp(48px, 7vw, 104px); }
.article-body > :first-child { margin-top: 0; }
.article .wrap { display: grid; justify-items: start; }
.article-body { max-width: 42em; display: grid; gap: 18px; font-size: var(--step-1); line-height: 1.6; }
.article-body h2 { font-family: var(--display); font-size: clamp(30px, 3.6vw, 48px); line-height: var(--display-lh); text-transform: uppercase; margin-top: clamp(28px, 4vw, 48px); text-wrap: balance; }
.article-body h3 { font-weight: 600; font-size: var(--step-1); margin-top: 12px; }
.article-body ul, .article-body ol { padding-left: 1.2em; display: grid; gap: 8px; }
.article-body ul { list-style: square; }
.article-body li::marker { color: var(--ink-2); }
.article-body table { border-collapse: collapse; width: 100%; font-size: 16px; }
.article-body th, .article-body td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.article-body th { font-weight: 600; }
/* "In brief": resumen sobre miel clara */
.brief { background: var(--block); padding: clamp(20px, 3vw, 32px); display: grid; gap: 12px; }
.brief h2 { margin-top: 0; font-size: clamp(26px, 3vw, 36px); }
.brief ul { list-style: square; }
.brief li::marker { color: var(--ink); }
.article-meta { font-size: 14px; color: var(--ink-2); }
.article-note { border-top: 1px solid var(--line); padding-top: 22px; margin-top: clamp(24px, 4vw, 40px); font-size: 15px; color: var(--ink-2); display: grid; gap: 8px; }
.cta-soft { font-size: var(--step-1); font-weight: 600; }
.legal-body th[scope="row"] { width: 34%; }
@media (max-width: 480px) {
  .legal-body th[scope="row"], .legal-body th[scope="row"] + td { display: block; width: auto; padding-right: 0; }
  .legal-body th[scope="row"] { border-bottom: 0; padding-bottom: 0; }
}
.article-body:not(.legal-body) td { overflow-wrap: break-word; }
.article-body thead th { border-bottom: 2px solid var(--ink); }
.legal-body h3 { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-top: 18px; }
.legal-body h2 { font-family: var(--body); text-transform: none; font-weight: 600; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; margin-top: 28px; }

/* 404 */
.notfound { padding-block: clamp(40px, 8vw, 120px); }
.notfound .wrap { display: grid; gap: 24px; justify-items: start; }
.notfound .links { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }

/* Navegación: página actual */
.nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.nav .btn[aria-current="page"] { background: var(--block); color: var(--ink); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--bg); padding-block: 64px 40px; }
.site-footer a { color: var(--bg); }
.site-footer :focus-visible { outline-color: var(--bg); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer-brand { font-family: var(--display); font-size: clamp(48px, 7vw, 88px); line-height: .92; text-transform: uppercase; }
.footer-grid address { font-style: normal; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; align-content: start; }
.footer-notice { margin-top: 48px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--bg) 30%, transparent); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 979px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Age gate ---------- */
/* Opaco: hasta responder no se ve nada de la web. Con scroll propio por si la caja no cabe (zoom, móvil apaisado). */
.age-gate { display: none; }
.age-pending .age-gate {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg-2);
  padding: var(--gutter);
  overflow-y: auto; overscroll-behavior: contain;
}
.age-pending body { overflow: hidden; }
/* Si responde "No", solo queda el aviso. */
.age-denied body > :not(#age-gate) { display: none !important; }
/* Rayas de etiqueta en el borde de arriba de la caja: la marca, sin enseñar nada de la web. */
.age-box {
  background: var(--bg); border-top: 6px solid var(--ink);
  max-width: 520px; width: 100%;
  padding: calc(16px + clamp(24px, 4.5vw, 40px)) clamp(28px, 5vw, 48px) clamp(28px, 5vw, 48px);
  display: grid; gap: 18px;
}
.age-box h2 { font-family: var(--display); font-size: clamp(38px, 6vw, 56px); line-height: var(--display-lh); text-transform: uppercase; }
.age-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.age-box .small a { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  .btn, .link-arrow::after, .seal-disc, .seal-text { transition: none; }
  .link-arrow:hover::after { transform: none; }
}


/* ---------- Capa editorial ---------- */

/* Textura de papel muy sutil en toda la página: ruido SVG que el navegador pinta una vez (sin descarga). Encima de todo salvo el
   age gate; no recibe clics. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .21 0 0 0 0 .02 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media print { body::after { display: none; } }

/* Banda que se mueve sola: dos tandas iguales que se desplazan en bucle sin costura
   (translateX -50 %). main.js ajusta la duración para ir a ~60 px/s en cualquier ancho, la pausa fuera de pantalla y gestiona el
   botón de pausa (WCAG 2.2.2). Se para al pasar el ratón. Con reducir movimiento, quieta y sin botón. */
.marquee {
  position: relative; background: var(--ink); color: var(--bg); overflow: hidden;
  padding-block: clamp(22px, 3.4vw, 44px) calc(clamp(22px, 3.4vw, 44px) + 18px);
}
.marquee-track {
  display: flex; width: max-content;
  font-family: var(--display); font-size: clamp(54px, 9vw, 150px); line-height: 1; text-transform: uppercase; white-space: nowrap;
  animation: marquee var(--marquee-dur, 60s) linear infinite;
}
.marquee-set { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); padding-right: clamp(18px, 2.4vw, 36px); }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.marquee-track:hover, .marquee.is-paused .marquee-track, .marquee.is-off .marquee-track { animation-play-state: paused; }
.marquee-track .o { color: transparent; -webkit-text-stroke: 1.5px var(--bg); }
.marquee-drop { flex: none; width: .32em; height: .46em; }
.marquee-toggle {
  position: absolute; right: var(--gutter); bottom: 10px; z-index: 1;
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  font: 500 13px/1.3 var(--body); color: var(--bg); text-decoration: underline; text-underline-offset: .2em;
}
.marquee-toggle:focus-visible { outline-color: var(--bg); }
@media (prefers-reduced-motion: no-preference) { .marquee-track { will-change: transform; } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee-toggle { display: none; } }

/* Bloque final: titular más grande. */
.final .h2 { font-size: clamp(56px, 10vw, 168px); line-height: .98; }

/* Pie: "HONEY WEED CLUB" gigante en una línea a todo el ancho (6,66 em de ancho en Anton). */
.footer-brand { font-size: 22px; line-height: 1.1; }
.footer-mega {
  font-family: var(--display); text-transform: uppercase; white-space: nowrap; line-height: .82; letter-spacing: -.005em;
  font-size: min(calc((100vw - 2 * var(--gutter)) / 6.7), calc((var(--max) - 2 * var(--gutter)) / 6.7));
  margin-top: clamp(40px, 6vw, 80px); color: var(--bg);
}
.site-footer { overflow: hidden; }

/* Entrada del wordmark: cada palabra se asienta (solo transform: no retrasa el LCP). Arranca al verse el hero (tras el age gate). */
@keyframes settle { from { transform: translateY(.18em); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  html:not(.age-pending) .wordmark > span { animation: settle 1s cubic-bezier(.2, .7, .2, 1) both; }
  html:not(.age-pending) .wordmark > span:nth-child(2) { animation-delay: .08s; }
  html:not(.age-pending) .wordmark > span:nth-child(3) { animation-delay: .16s; }
}

/* Entradas suaves al hacer scroll (main.js añade .reveal e .is-in). Sin JS o con reducir movimiento, todo visible y quieto. */
.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
/* Si el foco del teclado entra en un bloque que aún no ha aparecido, aparece al momento. */
.js-reveal .reveal:focus-within { opacity: 1; transform: none; transition: none; }
@media print { .js-reveal .reveal { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; } /* también si se activa con la página abierta */
}
