/* The world is the lid of a Feaugas tub: seal black, gold foil, kraft board, a white paper label set in a heavy Didone
   with ruled fields, and the round seal stuck over the label's corner. */
:root {
  --ink: #121010;          /* the seal */
  --ink-2: #1c1917;
  --gold: #c9a45c;         /* the foil */
  --gold-hi: #e8cc8f;
  --gold-deep: #76590f;    /* foil as small text on paper: 6:1 */
  --kraft: #c99a6b;        /* the tub */
  --kraft-ink: #33210c;    /* secondary text on kraft, tinted from it */
  --label: #fbfaf6;        /* the paper label */
  --label-2: #ebe7dc;
  --label-mute: #655f53;
  --bone: #f0e8d9;         /* text on the seal */
  --bone-2: #bdb09b;
  --m: clamp(16px, 2.4vw, 36px);
  --nav: 64px;
  --sello: 96px;         /* the seal in the bar */
  --ficha: min(430px, 36vw);
  --display: 'Bodoni Moda', Didot, 'Bodoni MT', serif;
  --seal: Cinzel, 'Bodoni Moda', serif;
  --sans: 'Noto Sans', system-ui, sans-serif;
  --out: cubic-bezier(.16, 1, .3, 1);
  --ring: var(--gold);
  color-scheme: dark;
  scrollbar-color: var(--gold) var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scroll-padding-top: var(--nav); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--bone); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--gold); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; border-radius: 0; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.005em; line-height: 1; text-wrap: balance; }
[hidden] { display: none !important; }
html[lang="en"]:not(.i18n) body { visibility: hidden; } /* English arrives with the script: don't flash the Spanish first */
.ficha, .hoja, .cart, .carnet, .nosotros { --ring: var(--ink); color-scheme: light; }

/* Three views of one document: only the one in the address shows. Without script, all of them read in order. */
html[data-view="tienda"] [data-page]:not([data-page="tienda"]),
html[data-view="club"] [data-page]:not([data-page="club"]),
html[data-view="nosotros"] [data-page]:not([data-page="nosotros"]) { display: none; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .38s; animation-timing-function: var(--out); }

/* ---------- bar: black, with the client's seal hanging off it like the sticker off the label ---------- */
.nav { position: fixed; inset: 0 0 auto; height: var(--nav); z-index: 30; display: flex; align-items: center; gap: clamp(8px, 1.6vw, 22px); padding: 0 var(--m); background: var(--ink); view-transition-name: nav; }
/* The seal is the menu button. Past the top of the page it rolls to the centre of the bar and grows. */
.sello { position: absolute; left: var(--m); top: 8px; z-index: 1; width: var(--sello); height: var(--sello); border-radius: 50%; box-shadow: 0 0 0 1px rgba(201, 164, 92, .6), 0 10px 22px rgba(0, 0, 0, .45); transition: left .8s var(--out), translate .8s var(--out), rotate .8s var(--out), scale .5s var(--out); }
.sello img { width: 100%; height: 100%; border-radius: 50%; }
.sello:hover { rotate: -7deg; scale: 1.04; }
html.scrolled .sello { left: calc(50% - var(--sello) / 2); translate: 0 calc(var(--sello) * .25); rotate: 360deg; scale: 1.5; }
html.scrolled .sello:hover { rotate: 353deg; scale: 1.56; }
.menu { display: none; position: fixed; inset: calc(20px + var(--sello)) auto auto var(--m); margin: 0; min-width: 240px; padding: 10px; gap: 6px; border: 1px solid var(--gold); border-radius: 28px; background: var(--ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.menu:popover-open { display: grid; animation: menu .35s var(--out); }
html.scrolled .menu { top: calc(22px + var(--sello) * 1.5); left: 50%; translate: -50% 0; }
.menu a, .menu button { display: block; width: 100%; padding: 13px 24px; border-radius: 999px; color: var(--gold-hi); font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; text-align: center; transition: background-color .2s, color .2s; }
.menu a:hover, .menu a[aria-current], .menu button:hover { background: var(--gold); color: var(--ink); }
@keyframes menu { from { opacity: 0; transform: translateY(-10px) scale(.96); } }
.nav nav { display: flex; gap: clamp(12px, 2.2vw, 30px); margin-left: auto; transition: opacity .3s, visibility .3s; }
.nav nav a { display: block; padding: 14px 0; font-size: 12.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav nav a:hover { color: var(--gold-hi); }
.nav nav a[aria-current] { color: var(--gold-hi); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 9px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; flex: none; border-radius: 50%; transition: color .2s, background-color .2s; }
.nav .icon-btn:hover { color: var(--gold-hi); }
#sound .off { display: none; }
#sound[aria-pressed="false"] .on { display: none; }
#sound[aria-pressed="false"] .off { display: block; }
.cart-btn { position: relative; display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 16px; border: 1px solid var(--gold); border-radius: 21px; color: var(--gold-hi); font-size: 13px; font-weight: 700; letter-spacing: .08em; flex: none; transition: background-color .2s, color .2s, transform .12s; }
.cart-btn:hover, .cart-btn.has { background: var(--gold); color: var(--ink); }
.cart-btn.has:hover { background: var(--gold-hi); }
.cart-btn:active { transform: scale(.97); }
.lang-btn { height: 42px; padding: 0 14px; border: 1px solid var(--gold); border-radius: 21px; color: var(--gold-hi); font-size: 13px; font-weight: 700; letter-spacing: .08em; flex: none; transition: background-color .2s, color .2s, transform .12s; }
.lang-btn:hover { background: var(--gold); color: var(--ink); }
.lang-btn:active { transform: scale(.97); }
.menu button { border-top: 1px solid rgba(201, 164, 92, .38); border-radius: 0 0 18px 18px; }
.cart-label { text-transform: uppercase; }
#cart-n, .cart-total { font-variant-numeric: tabular-nums; }
.cart-btn::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; border: 2px solid var(--gold-hi); opacity: 0; pointer-events: none; }
.cart-btn.ping::after { animation: ping .7s var(--out); }
@keyframes ping { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.5, 2.1); } }

/* ---------- tienda: the stage is the cava, on kraft board ---------- */
/* The stage starts under the bar instead of behind it: nothing opaque lies over the canvas. */
.stage { position: relative; margin-top: var(--nav); height: calc(100svh - var(--nav)); min-height: 600px; overflow: clip; --ground: #c99a6b; --on: var(--ink); --on-2: var(--kraft-ink); --accent: var(--ink); --line: var(--ink); --ring: var(--ink);
  background: var(--ground); color: var(--on); }
.cava, .view { position: absolute; inset: 0; }
.cava-canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; opacity: 0; transition: opacity .6s; }
.stage.painted .cava-canvas { opacity: 1; }
.cava-fly { position: fixed; z-index: 60; pointer-events: none; object-fit: contain; max-width: none; will-change: transform; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .35)); }
.line-row { position: absolute; inset: 100px var(--m) 30%; display: flex; justify-content: center; gap: clamp(8px, 3vw, 48px); }
.line-row button { flex: 1 1 0; min-width: 0; }
.line-row img { width: 100%; height: 100%; object-fit: contain; }

/* The flavours' names ride above their tubs; they are the keyboard's way into the cava too. */
.tags { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tag { position: absolute; left: 0; top: 0; display: grid; justify-items: center; align-content: center; min-width: 78px; min-height: 44px; padding: 6px 18px 7px; background: var(--ink); color: var(--gold-hi); border: 1px solid var(--gold); border-radius: 999px; box-shadow: 0 5px 12px rgba(51, 33, 12, .28); line-height: 1.2; pointer-events: auto; visibility: hidden; opacity: 0; will-change: transform; transition: opacity .4s, visibility 0s .4s, background-color .2s, color .2s; }
.stage.is-open .tag { visibility: visible; opacity: 1; transition: opacity .5s, background-color .2s, color .2s; }
.tag b { font: 700 11.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.tag i { font-style: normal; font-size: 12px; font-variant-numeric: tabular-nums; opacity: .85; }
.tag::after { content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: 12px; background: var(--line); }
.tag:hover, .tag[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
.stage.nogl .tags { display: none; }

/* The way in: a seal to press. */
.abrir { position: absolute; left: 50%; bottom: 30px; z-index: 4; width: 126px; height: 126px; margin-left: -63px; border-radius: 50%; background: var(--gold); color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 14px 28px rgba(0, 0, 0, .4); font: 600 14.5px/1.3 var(--seal); letter-spacing: .17em; text-transform: uppercase; transition: transform .5s var(--out), background-color .25s, color .25s, opacity .35s, visibility 0s; }
.abrir span { display: block; margin-right: -.17em; }
.abrir::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; border: 1px solid rgba(18, 16, 16, .45); }
.abrir::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); animation: aliento 2.6s var(--out) infinite; }
@keyframes aliento { from { transform: scale(1); opacity: .8; } to { transform: scale(1.55); opacity: 0; } }
.abrir:hover { transform: scale(1.06); background: var(--gold-hi); }
.abrir:active { transform: scale(.96); }
.stage.opening .abrir { opacity: 0; transform: scale(.5); visibility: hidden; pointer-events: none; transition: transform .45s var(--out), opacity .3s, visibility 0s .45s; }
.stage:not(.painted) .abrir { opacity: 0; }

.copy { position: absolute; z-index: 3; left: var(--m); bottom: var(--m); width: min(38vw, 600px); pointer-events: none; }
.copy h1 { font-size: clamp(30px, min(3.5vw, 6.4vh), 58px); }
.copy h1, .lede { transition: opacity .35s; }
.stage.open .copy h1, .stage.open .lede { opacity: 0; } /* the sheet is open: the cava takes the headline's place */
.lede { margin-top: 12px; max-width: 44ch; font-size: 16px; line-height: 1.5; color: var(--on-2); }
.step { margin-top: 14px; min-height: 1.5em; font-size: 12.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); }

/* The flavour's sheet is the lid's label, at the size of a wall. */
.ficha { position: absolute; top: 0; right: 0; bottom: 0; z-index: 5; width: var(--ficha); padding: 26px clamp(18px, 2vw, 28px) 0; background: var(--label); color: var(--ink); overflow: auto; overscroll-behavior: contain; scrollbar-color: var(--ink) var(--label); display: flex; flex-direction: column; gap: 14px; transform: translateX(104%); visibility: hidden; transition: transform .6s var(--out), visibility 0s .6s; box-shadow: -20px 0 50px rgba(0, 0, 0, .35); }
.stage.open .ficha { transform: none; visibility: visible; transition: transform .6s var(--out), visibility 0s; }
.ficha-close { position: absolute; top: 10px; right: 10px; z-index: 1; }
.ficha-close:hover { background: var(--label-2); }
.ficha-sello { position: absolute; top: 12px; right: 60px; width: 62px; height: 62px; border-radius: 50%; transform: rotate(-9deg); box-shadow: 0 5px 12px rgba(0, 0, 0, .28); }
.etiqueta { font-family: var(--display); }
.campo, .campos dt { font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.f-name { margin: 34px 0 0; padding-bottom: 12px; border-bottom: 2px solid currentColor; font-size: clamp(34px, 3.3vw, 52px); font-weight: 900; line-height: .95; text-transform: uppercase; overflow-wrap: anywhere; }
.campos { display: grid; grid-template-columns: 1fr 1fr; padding-top: 10px; }
.campos div + div { padding-left: 16px; border-left: 2px solid currentColor; }
.campos dd { font-size: 21px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums lining-nums; }
/* The tub at the left with its two sizes beside it; the rest of the sheet is the description. */
.f-top { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(12px, 1.6vw, 22px); }
.f-img { width: auto; height: clamp(150px, 27vh, 260px); margin-left: -6px; }
.f-desc { font: 500 clamp(19px, 1.6vw, 25px)/1.38 var(--display); text-wrap: pretty; }
.f-tag { font-size: 13px; color: var(--label-mute); }
.formatos { display: grid; gap: 10px; }
.formatos button { display: grid; align-content: center; min-height: 62px; padding: 8px 22px; text-align: left; border: 2px solid var(--gold); border-radius: 999px; line-height: 1.2; transition: transform .12s, background-color .15s, color .15s; }
.formatos button:hover { background: var(--label-2); }
.formatos button:active { transform: scale(.98); }
.formatos button[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
.formatos strong { font: 800 18px/1.2 var(--display); }
.formatos span { font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.buy { position: sticky; bottom: 0; margin-top: auto; padding: 8px 0 clamp(14px, 2vw, 22px); background: var(--label); }
.btn-action { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 58px; padding: 10px 26px; background: var(--gold); color: var(--ink); border-radius: 999px; font-weight: 700; font-size: 16px; letter-spacing: .05em; text-decoration: none; text-align: center; transition: transform .12s, background-color .2s, color .2s; }
.btn-action:hover { background: var(--gold-hi); }
.btn-action:active { transform: scale(.98); }
.btn-action:disabled { opacity: .55; cursor: progress; }
.link-btn { text-decoration: underline; text-underline-offset: .2em; font-weight: 700; padding: 12px 0; }
.tip { position: absolute; z-index: 6; margin: 0; padding: 5px 14px; border-radius: 999px; background: var(--ink); color: var(--gold-hi); box-shadow: 0 0 0 1px var(--gold); font-size: 13px; font-weight: 700; pointer-events: none; transform: translate(-50%, -150%); white-space: nowrap; }

/* ---------- club: black and gold; the form is a sheet of label paper ---------- */
.club { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding-top: var(--nav); }
.club-pic { position: sticky; top: var(--nav); height: calc(100svh - var(--nav)); align-self: start; }
.club-pic img { width: 100%; height: 100%; object-fit: cover; }
.club-body { padding: clamp(40px, 6vw, 96px) var(--m) clamp(56px, 7vw, 110px) clamp(22px, 4.5vw, 72px); }
.puerta, .panel { display: grid; gap: clamp(22px, 2.6vw, 34px); align-content: start; max-width: 760px; }
.club h1 { font-size: clamp(46px, 6.6vw, 96px); font-weight: 900; line-height: .92; }
.puerta h1 { text-transform: uppercase; }
.club-lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; max-width: 44ch; color: var(--bone-2); }
.perks li { padding: 15px 0; border-top: 1px solid rgba(201, 164, 92, .38); color: var(--bone-2); max-width: 58ch; }
.perks li:last-child { border-bottom: 1px solid rgba(201, 164, 92, .38); }
.perks strong { display: block; font: 700 clamp(19px, 1.7vw, 23px)/1.2 var(--display); color: var(--gold-hi); margin-bottom: 3px; }
.hoja { position: relative; display: grid; gap: 20px; margin-top: 34px; padding: clamp(22px, 3vw, 40px); background: var(--label); color: var(--ink); scroll-margin-top: calc(var(--nav) + 40px); }
.hoja h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 900; text-transform: uppercase; padding: 0 110px 12px 0; border-bottom: 2px solid var(--ink); }
.hoja-sello, .carnet-sello { position: absolute; top: -38px; right: clamp(16px, 3vw, 34px); width: 108px; height: 108px; border-radius: 50%; transform: rotate(8deg); box-shadow: 0 8px 18px rgba(0, 0, 0, .35); }
.par { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label, .entrar label, .fav legend { display: grid; gap: 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
label small, legend small { font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--label-mute); }
.form label small, .fav legend small { display: inline; margin-left: 4px; }
.form label:has(small), .fav legend { display: block; }
.form label:has(small) input { display: block; margin-top: 2px; }
/* fields are ruled lines, like the label's */
input:not([type="checkbox"], [type="radio"], [type="range"]) { min-height: 46px; width: 100%; padding: 8px 0; background: none; border: 0; border-bottom: 1.5px solid currentColor; border-radius: 0; font-size: 17px; font-weight: 400; letter-spacing: 0; text-transform: none; caret-color: var(--gold-deep); transition: border-color .2s; }
input::placeholder { color: var(--label-mute); opacity: 1; }
.hoja input:not([type="checkbox"], [type="radio"]):focus-visible { outline: 0; border-bottom-color: var(--gold-deep); box-shadow: 0 2px 0 var(--gold-deep); }
.fav { display: flex; flex-wrap: wrap; gap: 8px; }
.fav legend { margin-bottom: 8px; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: block; padding: 10px 18px; border: 2px solid var(--gold); border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: .02em; text-transform: none; transition: background-color .15s, color .15s; }
.chip:hover span { background: var(--label-2); }
.chip input:checked + span { background: var(--gold); color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.check { grid-template-columns: 24px 1fr !important; gap: 12px !important; align-items: start; font-size: 14px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; line-height: 1.5; cursor: pointer; }
.check input { appearance: none; width: 22px; height: 22px; margin: 1px 0 0; background: none; border: 1.5px solid var(--ink); border-radius: 0; cursor: pointer; }
.check input:checked { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.2l3 3L11.5 4' fill='none' stroke='%23e8cc8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.msg { min-height: 1.5em; font-weight: 700; font-size: 14px; }
.msg.error { color: #a3261b; }
.club-body > .puerta .ingresar .msg.error { color: #ff9a8f; }
.ingresar { display: grid; gap: 12px; margin-top: 26px; padding-top: 30px; border-top: 1px solid rgba(201, 164, 92, .38); }
.ingresar h2, .panel h2 { font-size: clamp(28px, 3vw, 42px); color: var(--gold-hi); }
.ingresar p { color: var(--bone-2); max-width: 52ch; }
.entrar { display: grid; grid-template-columns: 1fr 1fr auto; gap: 20px; align-items: end; margin-top: 8px; }
.entrar .msg { grid-column: 1 / -1; }
.entrar input::placeholder { color: #94897a; }
.entrar input { caret-color: var(--gold-hi); }
.btn-line { min-height: 48px; padding: 0 30px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: background-color .2s, color .2s, transform .12s; }
.btn-line:hover { background: var(--gold-hi); }
.btn-line:active { transform: scale(.97); }

.panel h1 { outline: none; }
.panel h2 { margin-top: 22px; }
.panel > p { color: var(--bone-2); max-width: 58ch; }
.carnet { position: relative; max-width: 540px; margin-top: 30px; padding: clamp(18px, 2.4vw, 28px); background: var(--kraft); color: var(--ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.carnet .etiqueta { padding: 18px 20px 16px; background: var(--label); }
.carnet-nombre { margin-top: 20px; padding: 0 60px 10px 0; border-bottom: 2px solid var(--ink); font-size: clamp(26px, 3vw, 40px); font-weight: 900; line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.carnet-sello { top: -30px; }
.panel-nota { font-size: 14px; }
.pedidos li, .pruebas li { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 15px 0; border-top: 1px solid rgba(201, 164, 92, .38); }
.pedidos li:last-child, .pruebas li:last-child { border-bottom: 1px solid rgba(201, 164, 92, .38); }
.pedidos strong, .pruebas strong { font-weight: 700; color: var(--bone); }
.pruebas strong { font: 700 21px/1.2 var(--display); color: var(--gold-hi); }
.pedidos small { display: block; font-size: 13px; color: var(--bone-2); }
.pedidos p { grid-column: 1; color: var(--bone-2); }
.pedidos b { grid-row: 1; grid-column: 2; font-variant-numeric: tabular-nums; color: var(--gold-hi); }
.pruebas span { grid-column: 1 / -1; color: var(--bone-2); max-width: 58ch; }
.pedidos .vacio { display: block; color: var(--bone-2); }
.panel-pie { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 18px; }
.panel-pie .btn-action { width: auto; padding: 10px 34px; }
.panel-pie .link-btn { color: var(--bone-2); font-weight: 400; }

/* ---------- sobre nosotros: kraft board, the two cooks, each with his label ---------- */
.nosotros { background: var(--kraft); color: var(--ink); padding-top: var(--nav); scrollbar-color: var(--ink) var(--kraft); }
.nosotros ::selection { background: var(--ink); color: var(--kraft); }
.nos-head { display: grid; gap: clamp(18px, 2.4vw, 30px); padding: clamp(64px, 9vw, 130px) var(--m) clamp(56px, 8vw, 120px); }
.nos-head h1 { font-size: clamp(44px, 7.6vw, 96px); font-weight: 900; line-height: .92; text-transform: uppercase; max-width: 11em; }
.nos-head p { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; max-width: 56ch; color: var(--kraft-ink); }
.fundador { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); padding: 0 var(--m) clamp(72px, 10vw, 160px); }
.fundador figure { position: sticky; top: calc(var(--nav) + 28px); align-self: start; }
.fundador figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; max-height: calc(100svh - var(--nav) - 90px); }
.fundador.vuelta figure { order: 2; }
.fundador figcaption { position: absolute; right: -18px; bottom: 26px; width: min(310px, 80%); padding: 14px 18px 12px; background: var(--label); transform: rotate(-2.2deg); box-shadow: 0 12px 26px rgba(51, 33, 12, .35); }
.fundador.vuelta figcaption { right: auto; left: -18px; transform: rotate(1.8deg); }
.et-nombre { margin-top: 2px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); font-size: clamp(22px, 2.2vw, 30px); font-weight: 900; line-height: 1; text-transform: uppercase; }
.fundador .campos dd { font-size: 15px; }
.relato { display: grid; gap: 18px; align-content: start; padding-top: clamp(0px, 3vw, 40px); }
.relato h2 { font-size: clamp(38px, 5vw, 78px); font-weight: 900; line-height: .95; }
.relato blockquote { margin: 6px 0 10px; padding: 20px 0; border-block: 2px solid var(--ink); font: 600 clamp(22px, 2.3vw, 32px)/1.22 var(--display); text-wrap: balance; max-width: 22em; }
.relato blockquote::before { content: '«'; }
.relato blockquote::after { content: '»'; }
.relato p { font-size: 17.5px; line-height: 1.68; max-width: 62ch; }
.practico { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); padding: clamp(56px, 8vw, 120px) var(--m); background: var(--ink); color: var(--bone); --ring: var(--gold); color-scheme: dark; }
.practico ::selection { background: var(--gold); color: var(--ink); }
.practico h2 { font-size: clamp(28px, 3vw, 44px); color: var(--gold-hi); margin-bottom: 22px; }
.practico h2.escribe { margin-top: 44px; }
.datos { display: grid; }
.datos div { padding: 14px 0; border-top: 1px solid rgba(201, 164, 92, .38); }
.datos dt { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.datos dd { color: var(--bone); max-width: 52ch; }
details { border-top: 1px solid rgba(201, 164, 92, .38); }
summary { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-weight: 700; cursor: pointer; list-style: none; transition: color .2s; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; flex: none; width: 12px; height: 12px; margin-top: 7px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23c9a45c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .3s var(--out); }
details[open] summary::after { transform: rotate(45deg); }
summary:hover { color: var(--gold-hi); }
details p { padding: 0 28px 16px 0; color: var(--bone-2); max-width: 58ch; }
.contacto { font: 700 clamp(24px, 2.6vw, 36px)/1.35 var(--display); }
.contacto a { text-decoration-color: var(--gold); }
.contacto a:hover { color: var(--gold-hi); }

/* ---------- close: the seal's lettering at a civil size, and what a visitor may still need ---------- */
.pie { background: var(--ink); color: var(--bone-2); padding: clamp(40px, 5vw, 72px) var(--m) 24px; border-top: 1px solid rgba(201, 164, 92, .3); }
.pie-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding-bottom: clamp(32px, 4vw, 56px); }
.pie-marca { display: grid; justify-items: start; text-decoration: none; }
.pie-name { font: 500 clamp(40px, 5.2vw, 76px)/1 var(--seal); letter-spacing: .14em; color: var(--gold); transition: color .3s; }
.pie-marca:hover .pie-name { color: var(--gold-hi); }
.pie-sub { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--gold); min-width: 64px; font-size: 13px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-hi); }
.pie-lema { margin-top: 18px; font: 500 17px/1.4 var(--display); color: var(--bone); }
.pie-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(20px, 3vw, 48px); }
.pie-cols h2 { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(201, 164, 92, .38); font: 700 11.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.pie-cols li { padding: 4px 0; font-size: 15px; line-height: 1.45; color: var(--bone); font-variant-numeric: tabular-nums; }
.pie-cols a, .pie-cols button { display: inline-block; padding: 3px 0; text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.pie-cols a:hover, .pie-cols button:hover { color: var(--gold-hi); border-bottom-color: var(--gold); }
.pie-cols button { color: var(--gold-hi); }
.pie-line { margin-top: 10px; font-size: 13px; max-width: 110ch; }
.pie-top { border-bottom: 1px solid rgba(201, 164, 92, .3); }
.pie-top + .pie-line { margin-top: 20px; }
.hecho { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(201, 164, 92, .3); font-size: 15px; color: var(--bone); }
.hecho strong { color: var(--gold-hi); font-weight: 700; }
.hecho a { color: var(--gold-hi); font-weight: 700; text-decoration-color: var(--gold); }
.hecho a:hover { color: var(--bone); }

/* ---------- cart: more label paper ---------- */
.cart { margin: 0 0 0 auto; width: min(460px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; padding: 0; border: 0; background: var(--label); color: var(--ink); scrollbar-color: var(--ink) var(--label); box-shadow: -20px 0 50px rgba(0, 0, 0, .4); }
.cart[open] { display: flex; flex-direction: column; animation: entrar .45s var(--out); }
.cart::backdrop { background: rgba(10, 8, 7, .55); }
@keyframes entrar { from { transform: translateX(48px); opacity: 0; } }
.cart header { display: flex; align-items: center; justify-content: space-between; margin: 0 22px; padding: 14px 0 12px; border-bottom: 2px solid var(--ink); }
.cart h2 { font-size: 34px; font-weight: 900; text-transform: uppercase; outline: none; }
.cart .icon-btn:hover { background: var(--label-2); }
.cart-items { flex: 1; overflow: auto; padding: 12px 22px; display: grid; gap: 8px; align-content: start; }
.cart-items li { display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px 8px 8px; background: var(--label-2); }
.cart-items img { width: 62px; height: 84px; object-fit: contain; }
.cart-items strong { display: block; font: 800 19px/1.15 var(--display); }
.cart-items small { font-size: 13.5px; }
.qty { display: flex; align-items: center; gap: 2px; margin-top: 4px; margin-left: -6px; }
.qty button { width: 44px; height: 44px; display: grid; place-items: center; }
.qty button svg { box-sizing: content-box; padding: 9.5px; border-radius: 50%; background: var(--gold); transition: background-color .15s; }
.qty button:hover svg { background: var(--gold-hi); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.line-total { font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-items .vacio { display: block; padding: 18px 0; background: none; font: 700 24px/1.2 var(--display); }
.cart-foot { padding: 14px 22px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 12px; }
.cart-foot dl { display: grid; gap: 2px; padding-top: 12px; border-top: 2px solid var(--ink); }
.cart-foot dl div { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.cart-foot .total { font: 900 30px/1.3 var(--display); }
.cart-foot p { font-size: 13.5px; color: var(--label-mute); }
.cart-foot p a { color: var(--ink); font-weight: 700; }

/* ---------- entrances: visible by default, only held back when script runs ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--out), transform .9s var(--out); }
.js .reveal.in { opacity: 1; transform: none; }
.js .fundador figure.reveal { opacity: 1; transform: none; }
.js .fundador figure.reveal img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--out); }
.js .fundador figure.reveal.in img { clip-path: inset(0); }
.js .fundador figure.reveal figcaption { opacity: 0; transition: opacity .6s .7s; }
.js .fundador figure.reveal.in figcaption { opacity: 1; }
.js .relato > .reveal:nth-child(n+3) { transition-delay: .12s; }

/* ---------- phone: its own composition ---------- */
@media (max-width: 900px) {
  :root { --nav: 56px; --sello: 70px; }
  html { scroll-padding-top: calc(var(--sello) * 1.5 + 22px); } /* what scrolls into view clears the grown seal */
  body { font-size: 16px; }
  .nav { gap: 6px; }
  .sello { top: 7px; }
  html.scrolled .nav nav { opacity: 0; visibility: hidden; } /* the seal sits where the links were, and opens them */
  .nav nav { gap: 12px; }
  .nav nav a { font-size: 11px; letter-spacing: .1em; }
  .nav .wide, .cart-label, .cart-total, .lang-btn { display: none; } /* on a phone the language is in the seal's menu and the footer */
  .cart-btn { padding: 0 12px; gap: 6px; height: 38px; }
  .nav .icon-btn { width: 36px; }

  .stage { height: auto; min-height: calc(100svh - var(--nav)); overflow: visible; display: flex; flex-direction: column; padding-top: 30px; }
  .cava { position: relative; inset: auto; flex: none; height: clamp(360px, 58svh, 600px); }
  .cava-canvas { -webkit-mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent); } /* the floor's light fades into the page above and below */
  .abrir { bottom: 12px; width: 108px; height: 108px; margin-left: -54px; font-size: 12.5px; }
  .copy { position: static; width: auto; padding: 4px var(--m) 30px; pointer-events: auto; }
  .copy h1 { font-size: clamp(28px, 7.6vw, 44px); }
  .stage.open .copy { order: 5; padding-top: 26px; }
  .stage.open .copy h1, .stage.open .lede { opacity: 1; }
  .ficha, .stage.open .ficha { position: static; width: auto; transform: none; visibility: visible; box-shadow: none; overflow: visible; padding: 22px var(--m) 4px; transition: none; }
  .stage:not(.open) .ficha { display: none; }
  .ficha-close { top: 12px; right: 8px; }
  .f-img { height: 190px; }
  .tip { display: none; }
  .tag { min-width: 0; padding: 5px 11px 6px; }
  .tag b { font-size: 10px; letter-spacing: .08em; }
  .tag i { display: none; } /* four tubs on a phone: the name alone, the price is on the sheet */
  .tag { min-height: 30px; }

  .club { display: block; }
  .club-pic { position: relative; top: 0; height: 40svh; }
  .par, .entrar { grid-template-columns: 1fr; }
  .hoja-sello, .carnet-sello { width: 86px; height: 86px; }
  .hoja h2 { padding-right: 96px; }
  .fundador { grid-template-columns: 1fr; }
  .fundador figure { position: relative; top: 0; margin-right: 14px; }
  .fundador.vuelta figure { order: 0; margin: 0 0 0 14px; }
  .fundador figure img { max-height: none; }
  .practico { grid-template-columns: 1fr; }
  .pie-top { grid-template-columns: 1fr; }
  .pie-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .nav nav { gap: 9px; }
  .nav nav a { font-size: 11px; letter-spacing: .04em; }
  :root { --sello: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .fundador figure.reveal img, .js .fundador figure.reveal figcaption { opacity: 1; transform: none; clip-path: none; }
}
