/* María Gamero · base: tokens, reset, type, grid, links. Measured values from the Odyssée card are marked [O]. */
:root {
  --cal: #F2F0EB;      /* ground: lime whitewash (Marbella Club, 1970s) */
  --tinta: #2A1A24;    /* all ink: bougainvillea in shade; the menu's contact block, the door duotone */
  --sala: #0D0B0C;     /* the film stage: first-load ground and behind every film */
  --buganvilla: #B0275F; /* the dot only: active, focus, the live clock */
  --blanco: #FFFFFF;
  --ink: var(--tinta);
  --ink-soft: #6B5A64; /* Ceniza: faded text that still reads at AA on Cal (Odyssée fades to .3; we keep 4.5:1) */
  --serif: "Source Serif 4", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --m: 20px;           /* [O] 12 × 107.5 px, 10 px gaps, 20 px margins at 1440 */
  --g: 10px;
  --cols: 12;
  --hd: 42px;          /* [O] header and band */
  --expo: cubic-bezier(.16, 1, .3, 1);  /* [O-lib CSS] easeOutExpo: menu, stepper switches */
  --std: cubic-bezier(.4, 0, .2, 1);    /* [O-lib CSS] dots, doors, backdrop */
  --quint: cubic-bezier(.23, 1, .32, 1); /* [ref] Partizan's and Siena's one hover curve: a film fading in under the pointer */
  --film-h: 675px;     /* [O] closing film */
}
@media (max-width: 767px) {
  :root { --m: 16px; --g: 8px; --cols: 6; --film-h: 62svh; } /* [O] 6 × 53 px, 8 px gaps, 16 px margins */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.hb-scroll-locked { overflow: hidden; padding-right: var(--hb-scrollbar, 0px); }
body {
  margin: 0;
  background: var(--cal);
  color: var(--ink);
  font: 400 14px/18.2px var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; text-transform: inherit; }
h1, h2, h3, p, figure, ol, ul, dl, dd, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
h1, h2, h3 { font: inherit; }
table { border-collapse: collapse; }
th { font: inherit; text-align: left; }
[hidden] { display: none !important; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
::selection { background: var(--buganvilla); color: #fff; }
.hb-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: var(--m); top: 8px; z-index: 400; padding: 10px 14px;
  background: var(--tinta); color: var(--cal); font: 400 12px/1 var(--sans); letter-spacing: .03em; text-transform: uppercase;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ── Type: two families, one weight each [O] ── */
.t-48 { font: 200 48px/50px var(--serif); font-variation-settings: "opsz" 60; letter-spacing: -0.01em; }
.t-32 { font: 300 32px/35px var(--serif); font-variation-settings: "opsz" 48; letter-spacing: -0.005em; }
.t-28 { font: 200 28px/31px var(--serif); font-variation-settings: "opsz" 48; }
.t-18 { font: 300 19px/21px var(--serif); font-variation-settings: "opsz" 20; }
.t-body { font: 400 14px/18.2px var(--sans); }
.t-legal { font: 400 13px/16.9px var(--sans); }
.caps { font: 400 12px/12px var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.wm { font: 200 30px/1 var(--serif); font-variation-settings: "opsz" 60; letter-spacing: .01em; white-space: nowrap; }
.wm i { font-style: normal; margin: 0 .06em; letter-spacing: -.02em; } /* M—G: the em dash with hairline air */
@media (max-width: 767px) {
  .t-48 { font-size: 32px; line-height: 33.6px; }
  .t-32 { font-size: 24px; line-height: 26.4px; }
  .wm { font-size: 24px; }
}
/* A serif statement starts one grid column in on its first line [O]; --span = the columns it spans. */
.indent { --span: 10; text-indent: calc((100% - (var(--span) - 1) * var(--g)) / var(--span) + var(--g)); }

/* ── Grid [O] ── */
.grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--g);
  padding-inline: var(--m);
}

/* ── Media ── */
.fill-media { width: 100%; height: 100%; object-fit: cover; }
[data-layer-host] { overflow: clip; }

/* ── Links and buttons [O-lib] ── */
/* the dot: 6 px, fades and scales 0 → 1 in 0.5 s (.4,0,.2,1) */
.dot { position: relative; display: inline-block; }
.dot::before {
  content: ""; position: absolute; top: 50%; left: -12px; width: 6px; height: 6px; margin-top: -3px;
  border-radius: 50%; background: currentColor; opacity: 0; transform: scale(0);
  transition: opacity .5s var(--std), transform .5s var(--std);
}
.dot:focus-visible::before, .dot.is-on::before, .dot[aria-current]::before { opacity: 1; transform: none; }
@media (hover: hover) { .dot:hover::before { opacity: 1; transform: none; } }
/* the in-text call to action: the dot comes in while the label shoves right, 0.5 s */
.cta { position: relative; display: inline-flex; align-items: center; min-height: 24px; white-space: nowrap; }
.cta::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: currentColor; opacity: 0; transform: scale(0); transition: opacity .5s var(--std), transform .5s var(--std);
}
.cta > span { display: inline-block; transition: transform .5s var(--std); }
.cta:focus-visible::before { opacity: 1; transform: none; }
.cta:focus-visible > span { transform: translateX(12px); }
@media (hover: hover) {
  .cta:hover::before { opacity: 1; transform: none; }
  .cta:hover > span { transform: translateX(12px); }
}
/* underlined links: the line grows by background-size, 0.4 s easeOutExpo */
.u { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--expo); }
.u:focus-visible { background-size: 100% 1px; }
@media (hover: hover) { .u:hover { background-size: 100% 1px; } }
/* legal links: faded until hovered, 0.5 s */
.fade-link { color: var(--ink-soft); transition: color .5s var(--std); }
@media (hover: hover) { .fade-link:hover { color: var(--ink); } }
.u-mob { display: none; }
@media (max-width: 767px) { .u-desk { display: none; } .u-mob { display: inline; } }

/* ── revealExpo units (js/reveal.js) ── */
.rv__w, .rv__l { display: inline-block; text-indent: 0; } /* text-indent is inherited: only the line indents, never each word */
[data-reveal-hidden] { opacity: 0; }
.js main:not([data-reveal-ready]) :is([data-reveal], [data-reveal-block], [data-frame]) { visibility: hidden; animation: rv-failsafe 0s 3s forwards; }
@keyframes rv-failsafe { to { visibility: visible; } }
