/* ═══════════════════════════════════════════════════════════════════════════
   SALSA CUBANA DALLAS — design system v2 · "Cinematic"
   Modelled on the craft of We Are Jealous (studiothis): monochrome UI, ONE
   sans, fluid clamp type scale, full-viewport panels, custom cursor,
   mix-blend-mode. Restraint — almost no keyframes.

   Deliberately gone: colour in the UI, cards, borders, hard shadows, emoji,
   tilts, marquees. The PHOTOGRAPHS keep their colour — they are the only
   colour on the page, which is what makes monochrome work.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --black: #000;
  --white: #fff;
  --grey:  #9ca3af;
  --grey-d:#404040;
  --line:  #e5e7eb;
  --paper: #fff;

  /* fluid modular scale (same construction as the reference) */
  --fs-1: clamp(1rem,    0.643rem + 1.78vw, 1.5rem);
  --fs-2: clamp(1.25rem, 0.893rem + 1.78vw, 2rem);
  --fs-3: clamp(2.5625rem, 2.339rem + 1.12vw, 3.25rem);
  --fs-4: clamp(3.75rem, 3.304rem + 2.24vw, 6rem);

  --pad: clamp(1.25rem, 4.5vw, 4rem);
  --sec: clamp(4rem, 12vw, 11rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter Tight', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  background: var(--paper); color: var(--black);
  font-size: var(--fs-1); line-height: 1.45; font-weight: 400;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }

h1, h2, h3 { font-weight: 500; letter-spacing: -0.03em; line-height: 0.98; }
.t-4 { font-size: var(--fs-4); letter-spacing: -0.045em; line-height: 0.92; }
.t-3 { font-size: var(--fs-3); letter-spacing: -0.035em; }
.t-2 { font-size: var(--fs-2); letter-spacing: -0.03em; }

.wrap    { max-width: 1560px; margin: 0 auto; padding-inline: var(--pad); }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }
.muted   { color: var(--grey); }
.center  { text-align: center; }
.section { padding-block: var(--sec); }
.narrow  { max-width: 44ch; }

/* ── custom cursor (the signature) ────────────────────────────────────────── */
.cursor {
  position: fixed; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); mix-blend-mode: difference; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%); transition: width .3s var(--ease), height .3s var(--ease), opacity .3s;
  opacity: 0;
}
.cursor.on { opacity: 1; }
.cursor.grow { width: 76px; height: 76px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ── header — inverts over whatever is behind it ──────────────────────────── */
/* White over the hero, ink once you scroll onto the white page.
   NOT mix-blend-mode: difference — over the blue Havana sky that inverts white to
   yellow and the logo looks broken. */
.head {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  color: var(--white); padding-block: clamp(0.9rem, 2vw, 1.5rem);
  transition: color .35s ease, background .35s ease, backdrop-filter .35s ease;
}
.head.on-light {
  color: var(--black); background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.head.on-light nav a { opacity: .72; }
.head.on-light nav a:hover { opacity: 1; }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.head .logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600;
               letter-spacing: -0.03em; font-size: clamp(0.95rem, 1.6vw, 1.15rem); white-space: nowrap; }
.head .logo .mk { height: 30px; width: auto; flex: 0 0 auto; }
.head .mk-c { display: none; }
/* the mark is white over the video and full colour once the header turns light */
.head.on-light .mk-w { display: none; }
.head.on-light .mk-c { display: block; }
.foot-logo { width: min(210px, 46vw); height: auto; margin-bottom: .9rem; }
.head nav { display: flex; align-items: center; gap: clamp(0.9rem, 2.4vw, 2.2rem); }
.head nav a { font-size: 0.9rem; font-weight: 400; opacity: .85; transition: opacity .25s; }
.head nav a:hover { opacity: 1; }
.head .join { border-bottom: 1px solid currentColor; padding-bottom: 3px; opacity: 1; }
.burger { display: none; width: 34px; height: 22px; position: relative; }
.burger span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 5px; } .burger span:nth-child(2) { top: 15px; }
.burger.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.open span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }
.sheet {
  position: fixed; inset: 0; z-index: 150; background: var(--black); color: var(--white);
  display: flex; flex-direction: column; justify-content: center; gap: .4rem;
  padding: var(--pad); clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease);
}
.sheet.open { clip-path: inset(0 0 0 0); }
.sheet a { font-size: var(--fs-3); font-weight: 500; letter-spacing: -0.035em; opacity: .9; }
.sheet a:hover { opacity: 1; }

/* ── hero: full viewport, silent looping video ────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--black); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.34) 0%, rgba(0,0,0,0) 22%),
              linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.28) 42%, rgba(0,0,0,.12) 100%);
}
.hero-in { position: relative; z-index: 2; color: var(--white); padding-block: clamp(2.4rem, 6vw, 5rem); width: 100%; }
.hero h1 { margin-top: .5rem; }
.hero .sub { max-width: 40ch; margin-top: 1.4rem; color: rgba(255,255,255,.8); }
.hero .acts { display: flex; flex-wrap: wrap; gap: .7rem 1.6rem; margin-top: 1.8rem; align-items: center; }
.scroll-cue { display: flex; align-items: center; gap: .55rem; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.scroll-cue i { display: block; width: 1px; height: 34px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,.8)); animation: cue 2.4s var(--ease) infinite; font-style: normal; }
@keyframes cue { 0%,100% { transform: scaleY(.4); opacity: .4 } 50% { transform: scaleY(1); opacity: 1 } }

/* ── buttons — flat, no shadow, no border-radius theatre ─────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .55em; font-weight: 500; font-size: 0.98rem;
  padding: .85em 1.7em; border-radius: 100px; background: var(--white); color: var(--black);
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.link { border-bottom: 1px solid currentColor; padding-bottom: 2px; font-weight: 500; }

/* ── typographic index list (the reference's core pattern) ────────────────── */
.index { list-style: none; border-top: 1px solid var(--line); }
.index li { border-bottom: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 3.5rem 1fr auto; align-items: baseline; gap: 1rem;
  padding-block: clamp(1.1rem, 3vw, 2rem); transition: padding-left .35s var(--ease), color .25s;
}
.row:hover { padding-left: 1.1rem; color: var(--grey-d); }
.row .num { font-size: .8rem; color: var(--grey); letter-spacing: .1em; }
.row .name { font-size: var(--fs-2); font-weight: 500; letter-spacing: -0.03em; }
.row .meta { font-size: .9rem; color: var(--grey); text-align: right; max-width: 34ch; }
.row .lvl { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
            color: var(--grey); margin-bottom: .35rem; }
.row .facts { display: block; margin-top: .5rem; font-size: .82rem; letter-spacing: .04em;
              color: var(--ink); opacity: .72; }
@media (max-width: 760px) {
  .row { grid-template-columns: 2.4rem 1fr; }
  .row .meta { grid-column: 2; text-align: left; margin-top: .4rem; }
}
/* ── full-bleed photo panels ──────────────────────────────────────────────── */
.bleed { position: relative; min-height: clamp(420px, 68vw, 800px); display: flex; align-items: flex-end;
         overflow: hidden; background: var(--black); }
.bleed > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.bleed::after { content: ''; position: absolute; inset: 0; z-index: 1;
                background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.06) 58%); }
.bleed .in { position: relative; z-index: 2; color: var(--white); padding-block: clamp(2.2rem, 6vw, 4.5rem); }
.bleed .in p { color: rgba(255,255,255,.82); max-width: 46ch; margin-top: 1rem; }

/* ── wall — edge to edge, tight gutters ───────────────────────────────────── */
.wall { display: grid; gap: 3px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .wall { grid-template-columns: repeat(4, 1fr); } }
.wall figure { aspect-ratio: 1/1; overflow: hidden; background: #111; }
.wall figure.wide { grid-column: span 2; aspect-ratio: 2/1; }
.wall img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.wall figure:hover img { transform: scale(1.04); }

/* ── shared full-bleed photo band ─────────────────────────────────────────── */
.band-photo { position: relative; overflow: hidden; background: var(--black); color: var(--white);
              padding-block: clamp(3.5rem, 10vw, 8rem); }
.band-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.band-photo::after { content: ''; position: absolute; inset: 0; z-index: 1;
                     background: linear-gradient(to right, rgba(0,0,0,.86) 0%, rgba(0,0,0,.60) 58%, rgba(0,0,0,.40) 100%); }
.band-in { position: relative; z-index: 2; }
.band-photo .lead { color: rgba(255,255,255,.8); max-width: 46ch; }
.band-photo .lvl { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
                   color: var(--grey); margin-bottom: .5rem; }
.band-photo .facts { display: block; margin-top: .8rem; font-size: .84rem; color: rgba(255,255,255,.72); }
.cls { display: grid; gap: clamp(1.2rem, 3vw, 2.2rem); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.cls-i { display: block; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.28);
         transition: border-color .3s var(--ease), transform .3s var(--ease); }
.cls-i:hover { border-color: var(--white); transform: translateY(-3px); }
.cls-i h3 { margin-bottom: .6rem; }
.cls-i p { color: rgba(255,255,255,.78); font-size: .97rem; }

/* ── weekly schedule: a full-bleed cinematic band ─────────────────────────── */
.sched-band { position: relative; overflow: hidden; background: var(--black); color: var(--white);
              padding-block: clamp(3.5rem, 10vw, 8rem); }
.sched-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.sched-band::after { content: ''; position: absolute; inset: 0; z-index: 1;
                     background: linear-gradient(to right, rgba(0,0,0,.88) 0%, rgba(0,0,0,.62) 60%, rgba(0,0,0,.42) 100%); }
.sched-in { position: relative; z-index: 2; }
.sched { list-style: none; margin-top: clamp(1.6rem, 4vw, 2.8rem); }
.sched li { display: grid; grid-template-columns: minmax(6.5rem, 0.9fr) 5.5rem minmax(0, 2fr) minmax(5rem, 0.8fr);
            gap: 1rem; align-items: baseline; padding-block: clamp(.7rem, 1.8vw, 1.05rem);
            border-top: 1px solid rgba(255,255,255,.18); }
.sched li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.sched .d { font-size: var(--fs-2); font-weight: 500; letter-spacing: -0.02em; }
.sched .t { color: rgba(255,255,255,.72); font-variant-numeric: tabular-nums; }
.sched .c { color: rgba(255,255,255,.88); }
.sched .l { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); text-align: right; }
@media (max-width: 720px) {
  .sched li { grid-template-columns: 1fr auto; gap: .2rem .8rem; }
  .sched .d { grid-column: 1; } .sched .t { grid-column: 2; text-align: right; }
  .sched .c { grid-column: 1; } .sched .l { grid-column: 2; }
}
.since { display: block; font-size: .78rem; color: var(--grey); font-weight: 400; letter-spacing: 0; }

/* a large no-photo statement block */
.statement { font-size: clamp(1.3rem, 3.2vw, 2.1rem); line-height: 1.32; letter-spacing: -0.02em;
             color: var(--ink); max-width: 30ch; }

/* deliberately hidden but kept in the markup, so it is never forgotten.
   Nothing is deleted — remove `is-hidden` to bring it back. */
.is-hidden { display: none !important; }

/* ── quote ────────────────────────────────────────────────────────────────── */
.quote { font-size: var(--fs-2); font-weight: 400; letter-spacing: -0.025em; line-height: 1.3; max-width: 30ch; }
.quote .who { display: block; margin-top: 1.6rem; font-size: .95rem; color: var(--grey); letter-spacing: 0; }
.three { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.three .quote { font-size: var(--fs-1); }

/* ── dark CTA ─────────────────────────────────────────────────────────────── */
.dark { background: var(--black); color: var(--white); }
.dark h2 { margin-bottom: 1.4rem; }
.form { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.2rem; }
.form input { background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.4);
              padding: .8em .2em; min-width: min(260px, 74vw); color: var(--white); }
.form input::placeholder { color: rgba(255,255,255,.45); }
.form input:focus { outline: none; border-bottom-color: var(--white); }

/* ── footer ───────────────────────────────────────────────────────────────── */
.foot { padding-block: clamp(2.6rem, 6vw, 4.5rem); border-top: 1px solid var(--line); font-size: .9rem; }
.foot .cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.foot h4 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); margin-bottom: .8rem; font-weight: 500; }
.foot ul { list-style: none; display: grid; gap: .45rem; }
.foot a:hover { color: var(--grey); }
.foot .fine { margin-top: 3rem; color: var(--grey); font-size: .82rem; }

/* ── reveal ───────────────────────────────────────────────────────────────── */
.rise { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  .scroll-cue i { animation: none; }
}

/* ── mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .head nav { display: none; }
  .burger { display: block; }
}
