/* ===========================================================================
   QUENCH NIGHTLIFE — the public site
   ---------------------------------------------------------------------------
   Separate from assets/styles.css on purpose. The operations app is a tool and
   should be quiet; this is the room's front door and should not be. Same
   palette so the two never look like different companies, different
   personality: bigger type, full-bleed photography, more air.

   Photography carries this design. Every image slot degrades to a deliberate
   textured panel rather than a broken frame, so the site is never embarrassing
   while the library is still being filled.
   =========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&family=Syne:wght@700;800&display=swap');

:root {
  /* The same values as the ops app. Kept literal rather than imported so the
     two stylesheets can drift apart deliberately, not by accident. */
  --bg:        #100A15;
  --bg-deep:   #0A060E;
  --surface:   #1A1122;
  --surface-2: #241830;
  --line:      #33243D;
  --line-soft: #241931;

  --text:      #F2EAF3;
  --text-soft: #B0A0B4;
  --text-dim:  #7B6B82;

  --gold:      #D9A356;
  --gold-lit:  #EFC079;
  --gold-ink:  #241505;

  --iykyk:     #7B5CD6;   /* Thursday is a different room; it gets its own light */

  --maxw:      1240px;
  --gut:       clamp(20px, 5vw, 56px);
  --band:      clamp(64px, 9vw, 132px);
  --radius:    4px;

  --ease:      cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
/* The ticker is deliberately wider than the screen. Without a clip at the
   root, a phone widens its layout viewport to fit it, and that carries the
   fixed header — and with it the menu button — off the right edge. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Archivo, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--gold); color: var(--gold-ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ------------------------------------------------------------- type ------ */

.display {
  font-family: Syne, Georgia, serif;
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.03em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  margin: 0;
}
.d1 { font-size: clamp(42px, 11.4vw, 150px); }
.d2 { font-size: clamp(34px, 6.2vw, 78px); }
.d3 { font-size: clamp(26px, 3.4vw, 42px); letter-spacing: -.02em; }
/* A d2 inside a split has half a column to live in, so it cannot be sized off
   the viewport the way a full-width one is. */
.split .d2 { font-size: clamp(30px, 4.6vw, 58px); }

.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}
.eyebrow.dim { color: var(--text-dim); }

.lede {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 60ch;
  margin: 0;
}

.note { color: var(--text-dim); font-size: 14.5px; max-width: 62ch; }

/* ------------------------------------------------------------ layout ----- */

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.band { padding-block: var(--band); }
.band.tight { padding-block: calc(var(--band) * .55); }
.stack > * + * { margin-top: 20px; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.grid { display: grid; gap: clamp(14px, 2vw, 26px); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 48px);
}

/* ------------------------------------------------------------ buttons ---- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  padding: 15px 26px; border-radius: 100px; border: 1px solid var(--line);
  background: transparent; color: var(--text); text-decoration: none;
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease),
                              border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { border-color: var(--gold); color: var(--gold-lit); transform: translateY(-1px); }
.btn.solid { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); font-weight: 500; }
.btn.solid:hover { background: var(--gold-lit); border-color: var(--gold-lit); color: var(--gold-ink); }
.btn.big { padding: 18px 34px; font-size: 12.5px; }

.btn .arw { transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Text link that behaves like a nightclub listing rather than a document. */
.tlink {
  font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; text-decoration: none; color: var(--gold);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color .25s var(--ease);
}
.tlink:hover { border-bottom-color: var(--gold); }

/* ------------------------------------------------------------- header ---- */

.head {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.head.stuck {
  background: rgba(16, 10, 21, .88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; max-width: none;
}
/* The brand is the club's own mark: the monogram in the bar, where there is
   only 74px of height, and the full lockup in the footer, where there is room
   for the wordmark under it. */
.brand { display: block; text-decoration: none; line-height: 0; }
.brand img { display: block; width: auto; height: 40px;
             /* the bar is transparent over the hero photograph */
             filter: drop-shadow(0 1px 7px rgba(6, 3, 10, .65)); }
.foot .brand img { height: auto; width: clamp(140px, 14vw, 176px); }
@media (max-width: 560px) { .brand img { height: 34px; } }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav a {
  font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; text-decoration: none; color: var(--text-soft);
  transition: color .2s var(--ease);
}
/* :not(.btn) matters. Without it this rule outranks `.btn.solid`'s colour on
   the page the button points at — gold text on a gold pill, which reads as an
   empty button rather than the current page. */
.nav a:not(.btn):hover,
.nav a:not(.btn)[aria-current="page"] { color: var(--gold); }
.nav .btn { margin-left: 8px; }

.burger {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
  color: var(--text);
}
.burger span {
  display: block; width: 22px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger span + span { margin-top: 6px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg-deep); border-bottom: 1px solid var(--line);
    padding: 8px var(--gut) 28px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 15px 0; font-size: 14px; letter-spacing: .18em; width: 100%;
           border-bottom: 1px solid var(--line-soft); }
  .nav .btn { margin: 18px 0 0; }
}

/* --------------------------------------------------------------- hero ---- */

.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(40px, 7vw, 90px);
  overflow: hidden;
}
.hero .shot { position: absolute; inset: 0; z-index: 0; }
.hero .shot::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 2%, rgba(16,10,21,.55) 42%, rgba(16,10,21,.30) 100%),
    radial-gradient(120% 80% at 50% 0%, transparent 40%, rgba(10,6,14,.75) 100%);
}
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero .d1 { margin: 14px 0 0; }
.hero .lede { margin-top: 22px; }
.hero .row { margin-top: 32px; }

/* The week, running under the hero like a listing board. */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
  overflow: hidden;
}
.strip .track {
  display: flex; gap: 44px; padding: 14px 0; width: max-content;
  animation: slide 38s linear infinite;
}
.strip span {
  font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--text-dim); white-space: nowrap;
}
.strip span b { color: var(--gold); font-weight: 500; }
@keyframes slide { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------- media ---- */
/* Every photograph on the site goes through .shot. With an image it shows the
   image; without one it shows a woven dark panel that looks intended. */

.shot {
  position: relative; overflow: hidden; background: var(--surface);
  background-image:
    repeating-linear-gradient(115deg, rgba(217,163,86,.05) 0 2px, transparent 2px 7px),
    radial-gradient(90% 70% at 25% 15%, rgba(123,92,214,.20), transparent 60%),
    linear-gradient(150deg, #241830, #140D1B 70%);
}
.shot > img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), opacity .6s var(--ease);
}
.shot[data-empty="1"]::before {
  content: attr(data-label);
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-family: "IBM Plex Mono", monospace; font-size: 9.5px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(242,234,243,.30);
}
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-16x9 { aspect-ratio: 16 / 9; }

/* --------------------------------------------------------------- cards --- */

.card {
  position: relative; display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--surface);
  transition: border-color .3s var(--ease), transform .4s var(--ease);
}
.card:hover { border-color: var(--gold); transform: translateY(-3px); }
.card:hover .shot > img { transform: scale(1.05); }
.card .body { padding: 20px 20px 24px; }
.card h3 {
  font-family: Syne, serif; font-weight: 700; font-size: 22px;
  letter-spacing: -.01em; margin: 8px 0 6px; text-transform: uppercase;
}
.card p { margin: 0; color: var(--text-soft); font-size: 15px; }
.card .meta {
  margin-top: 14px; display: flex; align-items: center; gap: 8px;
  font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold);
}

/* A night card leans on the photograph and keeps the words short. */
.night { position: relative; }
.night .shot { aspect-ratio: 3 / 4; }
.night .cap {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px 20px;
  background: linear-gradient(to top, rgba(10,6,14,.92) 12%, transparent 100%);
}
.night h3 { margin: 6px 0 4px; font-size: clamp(20px, 2.1vw, 27px); }
.night p { font-size: 14.5px; color: var(--text-soft); }
.night.iykyk .eyebrow { color: #A98CFF; }
.night.iykyk:hover { border-color: var(--iykyk); }

/* --------------------------------------------------------------- panel --- */

.panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: clamp(22px, 3vw, 34px);
}
.panel h3 { font-family: Syne, serif; font-weight: 700; font-size: 20px;
            text-transform: uppercase; margin: 10px 0 8px; letter-spacing: -.01em; }
.panel p { margin: 0; color: var(--text-soft); font-size: 15px; }

.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px;
        background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
        overflow: hidden; }
.figs div { background: var(--bg); padding: 26px 22px; }
.figs b { display: block; font-family: Syne, serif; font-weight: 800;
          font-size: clamp(19px, 2.1vw, 26px); letter-spacing: -.02em; }
/* A booking reference is a string to read back down a phone, not a headline.
   It must not wrap, so it gets mono at a size that fits. */
.figs div.ref b {
  font-family: "IBM Plex Mono", monospace; font-weight: 600;
  font-size: clamp(19px, 2vw, 25px); letter-spacing: .02em; white-space: nowrap;
}
.figs span { display: block; margin-top: 6px; font-family: "IBM Plex Mono", monospace;
             font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
             color: var(--text-dim); }
/* A figure sits in a cell of no fixed width — a stat row across the page, or
   three across a night panel. Where the browser can measure the cell, size the
   figure against it rather than against the window. */
@supports (container-type: inline-size) {
  .figs div { container-type: inline-size; }
  .figs b { font-size: clamp(18px, 12cqi, 34px); }
  .figs div.ref b { font-size: clamp(16px, 9cqi, 25px); }
}

/* ------------------------------------------------------------- gallery --- */

.tiles { columns: 3; column-gap: clamp(10px, 1.4vw, 18px); }
@media (max-width: 900px) { .tiles { columns: 2; } }
@media (max-width: 520px) { .tiles { columns: 1; } }
.tiles .shot {
  break-inside: avoid; margin-bottom: clamp(10px, 1.4vw, 18px);
  border-radius: var(--radius); cursor: zoom-in;
}
.tiles .shot:hover > img { transform: scale(1.04); }

.lightbox {
  position: fixed; inset: 0; z-index: 90; display: none;
  background: rgba(6, 3, 9, .95); padding: 4vh 4vw;
  align-items: center; justify-content: center;
}
.lightbox[open] { display: flex; }
.lightbox img { max-height: 92vh; width: auto; border-radius: var(--radius); }
.lightbox button {
  position: absolute; top: 18px; right: 22px; background: none; border: 0;
  color: var(--text); font-size: 30px; line-height: 1; cursor: pointer;
}

/* ---------------------------------------------------------------- form --- */

.field { display: block; margin-bottom: 18px; }
.field label {
  display: block; margin-bottom: 8px;
  font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-dim);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 15.5px;
  color: var(--text); background: var(--bg-deep);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); outline: none;
}
.field .hint { margin: 7px 0 0; font-size: 13px; color: var(--text-dim); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 620px) { .fields { grid-template-columns: 1fr; } }

.msg {
  border-left: 2px solid var(--line); padding: 12px 16px; margin-top: 16px;
  font-size: 14.5px; color: var(--text-soft); background: var(--surface);
}
.msg.good { border-left-color: var(--gold); color: var(--text); }
.msg.bad  { border-left-color: #E05068; color: #F6C6CE; }

/* -------------------------------------------------------------- footer --- */

.foot { border-top: 1px solid var(--line); background: var(--bg-deep);
        padding: clamp(46px, 6vw, 82px) 0 34px; }
.foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr; } }
.foot h4 { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .2em;
           text-transform: uppercase; color: var(--text-dim); margin: 0 0 14px; font-weight: 500; }
.foot a { color: var(--text-soft); text-decoration: none; display: block; padding: 5px 0;
          transition: color .2s var(--ease); }
.foot a:hover { color: var(--gold); }
.foot .fine { margin-top: clamp(34px, 5vw, 54px); padding-top: 22px; border-top: 1px solid var(--line-soft);
              display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
              font-size: 13px; color: var(--text-dim); }

/* --------------------------------------------------------------- motion -- */

.js [data-rise] { opacity: 0; transform: translateY(22px); }
.js [data-rise].seen {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-rise] { opacity: 1; transform: none; }
  .strip .track { animation: none; }
}

/* ------------------------------------------------------------- booking --- */

.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: var(--bg-deep); color: var(--text-soft);
  border-radius: var(--radius); padding: 12px 16px; cursor: pointer; text-align: left;
  font: inherit; transition: border-color .2s var(--ease), color .2s var(--ease),
                            background .2s var(--ease);
  min-width: 108px;
}
.chip b {
  display: block; font-family: "IBM Plex Mono", monospace; font-size: 10.5px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim);
  font-weight: 500; margin-bottom: 4px;
}
.chip:hover { border-color: var(--gold); color: var(--text); }
.chip[aria-pressed="true"] {
  border-color: var(--gold); background: var(--gold); color: var(--gold-ink);
}
.chip[aria-pressed="true"] b { color: rgba(36,21,5,.7); }

/* The floor, as a list of what is left rather than a plan. A plan invites
   comparison with a room the visitor has not seen yet. */
.tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.tbl {
  border: 1px solid var(--line); background: var(--bg-deep); border-radius: var(--radius);
  padding: 14px 12px; text-align: center; cursor: pointer; font: inherit; color: var(--text);
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.tbl span {
  display: block; margin-top: 5px; font-family: "IBM Plex Mono", monospace;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim);
}
.tbl:hover:not(:disabled) { border-color: var(--gold); }
.tbl[aria-pressed="true"] { border-color: var(--gold); background: var(--gold); color: var(--gold-ink); }
.tbl[aria-pressed="true"] span { color: rgba(36,21,5,.72); }
.tbl:disabled { opacity: .32; cursor: not-allowed; text-decoration: line-through; }

.sec-name {
  font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin: 26px 0 12px;
}
.sec-name:first-child { margin-top: 0; }

.step { margin-bottom: clamp(30px, 5vw, 52px); }
.step > h2 {
  font-family: Syne, serif; font-weight: 700; font-size: 19px; text-transform: uppercase;
  letter-spacing: -.01em; margin: 0 0 4px;
}
.step > h2 i { color: var(--gold); font-style: normal; margin-right: 10px; }
.step > p { margin: 0 0 18px; color: var(--text-dim); font-size: 14.5px; }
.step[hidden] { display: none; }

/* A honeypot has to be reachable by a bot and invisible to a person, which
   means off-screen rather than display:none — some bots skip hidden fields. */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
