/* ==========================================================================
   LOUDROOM — Rage-Friendly PC Club (dark)
   Layout scheme: C — full-bleed-grid (no max-width, 12-col grid from edges,
   24px gutter / 16px mobile, faint vertical grid lines through the page).
   Spacing scale: compact (section 64px / block 40px, 24px mobile).
   Motif: loudness — equalizer bars as dividers/markers, dB values per zone,
   sound-wave arcs by scream words, acoustic-foam pyramids on booth cards.
   ========================================================================== */

:root {
  /* colour */
  --c-bg:        #f2efe9;   /* light, used sparingly (one section) */
  --c-bg-dark:   #141118;   /* main background */
  --c-bg-dark-2: #1d1922;   /* raised dark surface */
  --c-ink:       #141118;   /* text on light */
  --c-ink-inv:   #f2efe9;   /* text on dark */
  --c-a1:        #ef4444;   /* peak red */
  --c-a2:        #fde047;   /* level yellow */
  --c-mute:      #8f8a99;   /* muted text on dark */
  --c-line:      rgba(242,239,233,0.08); /* grid hairlines on dark */

  /* type */
  --f-display: "Alfa Slab One", Georgia, "Times New Roman", serif;
  --f-body:    "Libre Franklin", system-ui, -apple-system, Segoe UI, sans-serif;

  /* radius / border */
  --r-card: 6px;
  --bw:     3px;          /* thick soundproof borders */

  /* spacing — compact + 8px step */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 40px; --s-6: 64px; --s-7: 96px;
  --sec-y: 64px;         /* section vertical rhythm (compact) */
  --blk-y: 40px;         /* inner block rhythm */

  /* grid */
  --gutter: 24px;
}

@media (max-width: 768px) {
  :root { --sec-y: 40px; --blk-y: 24px; --gutter: 16px; }
}

/* ------------------------------ reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink-inv);
  background: var(--c-bg-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.02; margin: 0 0 var(--s-3); letter-spacing: 0.01em; }
h1 { font-size: clamp(46px, 8.5vw, 108px); }
h2 { font-size: clamp(32px, 5.5vw, 60px); }
h3 { font-size: clamp(20px, 2.4vw, 28px); }
p  { margin: 0 0 var(--s-3); }
a  { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ------------------------------ layout: full-bleed grid ---------------- */
.u-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  padding-inline: var(--gutter);
  position: relative;
}
/* faint vertical grid lines through the page background */
.gridlines {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent calc((100% - 11 * var(--gutter)) / 12),
    var(--c-line) calc((100% - 11 * var(--gutter)) / 12),
    var(--c-line) calc((100% - 11 * var(--gutter)) / 12 + 1px),
    transparent calc((100% - 11 * var(--gutter)) / 12 + 1px)
  );
  opacity: 0.7;
}
@media (max-width: 768px) { .gridlines { display: none; } }

.section { position: relative; z-index: 1; padding-block: var(--sec-y); }
.section--light { background: var(--c-bg); color: var(--c-ink); }
.section__head { grid-column: 1 / -1; margin-bottom: var(--blk-y); }
.section__kicker {
  font-family: var(--f-body); font-weight: 800; font-size: 13px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-a1);
  display: inline-block; margin-bottom: var(--s-2);
}
.section--light .section__kicker { color: #b91c1c; }
.lead { max-width: 62ch; color: var(--c-mute); font-size: 18px; }
.section--light .lead { color: #55505b; }

.u-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------ equalizer divider (motif) -------------- */
.eq-divider {
  grid-column: 1 / -1;
  display: flex; align-items: flex-end; gap: 5px; height: 34px;
  margin: 0; padding-inline: var(--gutter);
}
.eq-divider span {
  flex: 1 1 auto; background: var(--c-a2); opacity: 0.55;
  border-radius: 2px 2px 0 0; transform-origin: bottom;
}
.section--light + .eq-divider span,
.eq-divider--red span { background: var(--c-a1); }

/* scream word with wave-arcs */
.yell { position: relative; color: var(--c-a2); white-space: nowrap; }
.yell::before, .yell::after {
  content: ""; position: absolute; top: 50%; width: 0.42em; height: 0.7em;
  border: var(--bw) solid var(--c-a1); border-radius: 50%;
  border-left-color: transparent; border-right-color: transparent;
  opacity: 0; transform: translateY(-50%) scale(0.5);
}
.yell::before { left: -0.62em; border-right-color: transparent; }
.yell::after  { right: -0.62em; transform: translateY(-50%) scale(0.5) rotate(180deg); }
.is-revealed .yell::before, .is-revealed .yell::after { opacity: 0.9; transform: translateY(-50%) scale(1); }

/* dB pill (motif) */
.db {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-family: var(--f-body); font-weight: 800; font-variant-numeric: tabular-nums;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border: 2px solid currentColor; border-radius: 999px;
}
.db b { font-size: 15px; color: var(--c-a2); }
.section--light .db b { color: #b45309; }

/* ------------------------------ buttons -------------------------------- */
.btn {
  --btn-fg: var(--c-ink); --btn-bg: var(--c-a2);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-weight: 800; font-size: 15px;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  padding: 14px 26px; color: var(--btn-fg); background: var(--btn-bg);
  border: var(--bw) solid var(--c-ink); border-radius: var(--r-card);
  outline: var(--bw) solid var(--c-ink); outline-offset: 3px; /* double glazing */
  cursor: pointer; transition: transform 140ms ease, background 140ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline-color: var(--c-a1); }
.btn--primary { --btn-bg: var(--c-a1); --btn-fg: #fff; border-color: #fff; outline-color: #fff; }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--c-ink-inv);
  border-color: var(--c-ink-inv); outline-color: transparent;
}
.section--light .btn--ghost { --btn-fg: var(--c-ink); border-color: var(--c-ink); }
/* VU bar that jumps on hover inside the button */
.btn__vu { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.btn__vu i { width: 3px; height: 5px; background: currentColor; border-radius: 1px; transition: height 160ms ease; }
.btn:hover .btn__vu i:nth-child(1) { height: 12px; }
.btn:hover .btn__vu i:nth-child(2) { height: 8px; }
.btn:hover .btn__vu i:nth-child(3) { height: 14px; }

/* ------------------------------ nav-pill ------------------------------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 50; width: min(1360px, calc(100% - 28px));
  display: flex; align-items: center; gap: var(--s-3);
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(20,17,24,0.72); backdrop-filter: blur(12px);
  border: 2px solid rgba(242,239,233,0.14);
}
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-ink-inv); }
.nav__logo { font-family: var(--f-display); font-size: 22px; letter-spacing: 0.02em; }
.nav__logo b { color: var(--c-a1); }
.nav__badge {
  font-weight: 800; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-bg-dark); background: var(--c-a2); padding: 4px 9px; border-radius: 999px;
  line-height: 1.25; white-space: nowrap;
}
.nav__links { display: flex; gap: var(--s-3); margin-left: auto; }
.nav__links a {
  text-decoration: none; font-weight: 700; font-size: 14px; color: var(--c-mute);
  position: relative; padding: 4px 0; transition: color 140ms ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--c-a1); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--c-ink-inv); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 0; }
.nav__toggle {
  display: none; margin-left: auto; background: var(--c-a2); color: var(--c-bg-dark);
  border: none; border-radius: 999px; padding: 10px 16px; font-weight: 800;
  text-transform: uppercase; font-size: 13px; cursor: pointer;
}
@media (max-width: 900px) {
  .nav__links, .nav > .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open { flex-wrap: wrap; border-radius: 22px; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; width: 100%; order: 3; gap: var(--s-2);
    margin: var(--s-2) 0 var(--s-1); padding-top: var(--s-2);
    border-top: 1px solid rgba(242,239,233,0.14);
  }
  .nav.is-open > .nav__cta { display: inline-flex; order: 4; width: 100%; justify-content: center; }
  .nav__badge { display: none; }
}

/* ------------------------------ hero-diagonal-split -------------------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero__block { position: absolute; inset: 0; }
.hero__block--a { background-color: var(--c-bg-dark); background-image: linear-gradient(rgba(20,17,24,0.90), rgba(20,17,24,0.94)), url("../images/loudroom-backdrop.jpg"); background-size: cover; background-position: center; z-index: 1; }
.hero__block--b { z-index: 0; }
.hero__block--b img { width: 100%; height: 100%; object-fit: cover; }
.hero__block--b::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,17,24,0.55) 0%, rgba(20,17,24,0.15) 60%, rgba(20,17,24,0.5) 100%); }
@media (min-width: 861px) {
  .hero__block--a { clip-path: polygon(0 0, 58% 0, 42% 100%, 0 100%); }
}
@media (max-width: 860px) {
  .hero__block--a { clip-path: polygon(0 0, 100% 0, 100% 62%, 0 78%); }
}
.hero__inner { position: relative; z-index: 3; }
.hero__content { grid-column: 1 / 8; padding-block: 120px var(--s-6); }
@media (max-width: 860px) { .hero__content { grid-column: 1 / -1; padding-top: 130px; } }
.hero__badge {
  display: inline-block; font-weight: 800; font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--c-bg-dark); background: var(--c-a2);
  padding: 6px 12px; border-radius: 4px; margin-bottom: var(--s-3);
}
.hero h1 { margin-bottom: var(--s-3); }
.hero h1 .line2 { color: var(--c-a1); }
.hero__sub { max-width: 46ch; font-size: 19px; color: #d9d4dd; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-4); }

/* VU meter along bottom of hero */
.hero__vu {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: flex-end; gap: 4px; height: 96px;
  padding: 0 var(--gutter) 0; pointer-events: none;
}
.hero__vu i {
  flex: 1 1 auto; min-width: 4px; height: 8%;
  background: linear-gradient(to top, var(--c-a1), var(--c-a2));
  border-radius: 2px 2px 0 0; transform-origin: bottom;
  will-change: transform;
}

/* ------------------------------ cards / grids -------------------------- */
/* roomy 2-up feature grids on desktop, single column on mobile */
.grid--3up { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); grid-column: 1 / -1; }
.grid--4up { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); grid-column: 1 / -1; }
@media (max-width: 700px) { .grid--3up, .grid--4up { grid-template-columns: 1fr; } }

.card {
  background: var(--c-bg-dark-2); border: var(--bw) solid #2c2733;
  border-radius: var(--r-card); padding: var(--s-4);
}
.card h3 { margin-bottom: var(--s-2); }
.card p { color: var(--c-mute); margin-bottom: var(--s-3); }

/* booth card: double glazing + foam pyramids pattern */
.booth {
  position: relative; border: var(--bw) solid var(--c-a1);
  outline: var(--bw) solid var(--c-a1); outline-offset: 8px;
  background:
    linear-gradient(rgba(20,17,24,0.86), rgba(20,17,24,0.94)),
    conic-gradient(from 45deg at 50% 50%, #26212e 0 25%, #1a1620 0 50%, #26212e 0 75%, #1a1620 0);
  background-size: 100% 100%, 22px 22px;
  transition: outline-offset 500ms ease;
}
.booth--sealed { outline-offset: 4px; }  /* seals on reveal */
.booth__img { border: var(--bw) solid #2c2733; border-radius: 4px; overflow: hidden; margin-bottom: var(--s-3); }
.booth__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.booth__cap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); margin-top: var(--s-2); }
.booth__cap .num { font-family: var(--f-display); font-size: 15px; color: var(--c-a2); }

/* quiet hall card — deliberately opposite: thin line, airy */
.quiet-card { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-6); align-items: center; }
@media (max-width: 900px) { .quiet-card { grid-template-columns: 1fr; gap: var(--s-4); } }
.quiet-card__media { border: 1px solid #d8d3c9; border-radius: var(--r-card); overflow: hidden; }
.quiet-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.quiet-card__body { max-width: 52ch; }
.quiet-card__body p { color: #55505b; }
.quiet-card .db { color: #55505b; }

/* dB meter bar (fills on reveal, with overshoot) */
.dbbar { margin-top: var(--s-2); }
.dbbar__label { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-mute); margin-bottom: 6px; }
.dbbar__track { height: 10px; background: #2c2733; border-radius: 999px; overflow: hidden; }
.dbbar__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--c-a2), var(--c-a1)); border-radius: 999px; transition: width 900ms cubic-bezier(.34,1.4,.5,1); }

/* ------------------------------ spec / hardware ------------------------ */
.spec { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-6); align-items: start; }
@media (max-width: 900px) { .spec { grid-template-columns: 1fr; gap: var(--s-4); } }
.spec__list { list-style: none; margin: 0; padding: 0; }
.spec__list li { display: flex; gap: var(--s-3); padding: var(--s-3) 0; border-top: 1px solid #2c2733; }
.spec__list li:first-child { border-top: none; }
.spec__list b { font-family: var(--f-display); font-weight: 400; color: var(--c-a2); min-width: 46px; }
.spec__aside { background: var(--c-bg-dark-2); border: var(--bw) solid #2c2733; border-radius: var(--r-card); padding: var(--s-4); }

/* ------------------------------ pricing -------------------------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); grid-column: 1 / -1; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.price-card {
  background: var(--c-bg-dark-2); border: var(--bw) solid #2c2733;
  border-radius: var(--r-card); padding: var(--s-4);
}
.price-card.is-featured { border-color: var(--c-a1); outline: var(--bw) solid var(--c-a1); outline-offset: 4px; }
.price-card h3 { color: var(--c-a2); }
.price-card__price { font-family: var(--f-display); font-size: clamp(28px, 4vw, 42px); margin: var(--s-2) 0; }
.price-card__price span { font-family: var(--f-body); font-size: 14px; color: var(--c-mute); font-weight: 700; }
.price-card ul { list-style: none; margin: var(--s-2) 0 0; padding: 0; }
.price-card li { padding: 8px 0; color: var(--c-mute); border-top: 1px solid #2c2733; font-size: 15px; }
.rates-note { grid-column: 1 / -1; margin-top: var(--blk-y); color: var(--c-mute); }
.rates-note b { color: var(--c-a2); font-family: var(--f-display); font-weight: 400; }

/* ------------------------------ loud rooms feature --------------------- */
.feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: center; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: var(--s-4); } }
.meter-wall { background: var(--c-bg-dark-2); border: var(--bw) solid #2c2733; border-radius: var(--r-card); padding: var(--s-4); }
.meter-wall h3 { color: var(--c-a2); }
.meter-row { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: var(--s-2); padding: var(--s-2) 0; border-top: 1px solid #2c2733; }
.meter-row:first-of-type { border-top: none; }
.meter-row__name { font-weight: 700; font-size: 14px; }
.meter-row__track { height: 8px; background: #2c2733; border-radius: 999px; overflow: hidden; }
.meter-row__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--c-a2), var(--c-a1)); transition: width 900ms cubic-bezier(.34,1.4,.5,1); }
.meter-row__val { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 13px; color: var(--c-a2); }

/* ------------------------------ club log (numbered list) --------------- */
.log { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 96px 1fr; gap: var(--s-3); padding: var(--s-4) 0; border-top: 1px solid #2c2733; }
.log li:first-child { border-top: none; }
.log__num { font-family: var(--f-display); font-size: clamp(30px, 5vw, 52px); color: #35303d; line-height: 1; }
.log h3 { margin-bottom: var(--s-1); }
.log p { color: var(--c-mute); margin: 0; }
@media (max-width: 560px) { .log li { grid-template-columns: 1fr; } }

/* ------------------------------ gallery -------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); grid-column: 1 / -1; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure { margin: 0; position: relative; border: var(--bw) solid #2c2733; border-radius: var(--r-card); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s-2) var(--s-3);
  background: linear-gradient(transparent, rgba(20,17,24,0.92));
  font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; align-items: center; gap: var(--s-2);
}
.gallery figcaption .db { border-color: var(--c-a2); color: var(--c-a2); }

/* ------------------------------ faq (light) ---------------------------- */
.faq { grid-column: 1 / -1; max-width: 860px; }
.faq details { border-bottom: 2px solid #d8d3c9; padding: var(--s-3) 0; }
.faq summary {
  cursor: pointer; list-style: none; font-family: var(--f-display); font-size: clamp(17px, 2.2vw, 22px);
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); color: var(--c-ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; color: #b91c1c; transition: transform 200ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: var(--s-2) 0 0; color: #55505b; max-width: 66ch; }

/* ------------------------------ form (cta-form-card-floating) ---------- */
.cta-form__card {
  grid-column: 3 / 11; background: var(--c-bg-dark-2); border: var(--bw) solid var(--c-a1);
  outline: var(--bw) solid var(--c-a1); outline-offset: 6px; border-radius: var(--r-card);
  padding: clamp(24px, 4vw, 48px);
}
@media (max-width: 900px) { .cta-form__card { grid-column: 1 / -1; } }
.cta-form__card h2 { margin-bottom: var(--s-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-top: var(--blk-y); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-mute); }
.field input, .field select {
  font-family: var(--f-body); font-size: 15px; color: var(--c-ink-inv); background: var(--c-bg-dark);
  border: var(--bw) solid #2c2733; border-radius: 4px; padding: 12px 14px; position: relative;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--c-a2); }
/* eq wave runs once along bottom edge of a focused input */
.field { position: relative; }
.field::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--c-a2), var(--c-a1), var(--c-a2));
  transform: scaleX(0); transform-origin: left; border-radius: 999px;
}
.field.is-focused::after { animation: eqwave 620ms ease-out 1; }
@keyframes eqwave { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .field.is-focused::after { animation: none; } }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#formStatus { margin: var(--s-3) 0 0; font-weight: 700; }
#formStatus.success { color: var(--c-a2); }
#formStatus.error { color: var(--c-a1); }
.form-actions { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--blk-y); flex-wrap: wrap; }

/* ------------------------------ footer (footer-cta-repeat) ------------- */
.footer { position: relative; z-index: 1; background: #0e0b12; }
.footer__cta {
  grid-column: 1 / -1; text-align: center; padding: var(--sec-y) 0;
  border-bottom: 2px solid #241f2c;
}
.footer__cta h2 { margin-bottom: var(--s-4); }
.footer__cols { grid-column: 1 / -1; display: grid; grid-template-columns: 1.6fr 0.9fr 0.9fr 0.9fr 1.4fr; gap: var(--s-5); padding-top: var(--sec-y); }
@media (max-width: 900px) { .footer__cols { grid-template-columns: 1fr 1fr; gap: var(--s-4); } }
@media (max-width: 560px) { .footer__cols { grid-template-columns: 1fr; } }
.footer__brand .nav__logo { font-size: 30px; }
.footer__brand p { color: var(--c-mute); max-width: 40ch; margin-top: var(--s-2); }
.footer__col h4 { font-family: var(--f-body); font-weight: 800; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-a2); margin-bottom: var(--s-2); }
.footer__col a, .footer__col p { display: block; text-decoration: none; color: var(--c-mute); font-size: 14px; margin-bottom: 8px; }
.footer__col a:hover { color: var(--c-ink-inv); }
/* footer contact block */
.footer__contact p { margin-bottom: var(--s-2); line-height: 1.5; }
.footer__contact a { display: inline; }
.footer__label {
  display: block; font-weight: 800; font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--c-a1); margin-bottom: 2px;
}
.footer__bottom {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4);
  justify-content: space-between; align-items: center;
  padding: var(--s-4) 0; margin-top: var(--sec-y); border-top: 2px solid #241f2c; color: var(--c-mute); font-size: 13px;
}
.disclaimer {
  grid-column: 1 / -1; text-align: center; padding: var(--s-3) 0;
  font-weight: 800; letter-spacing: 0.04em; color: var(--c-bg-dark);
  background: var(--c-a2); border-radius: var(--r-card);
}

/* ------------------------------ reveal animation ----------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 560ms ease, transform 560ms ease; }
.reveal.is-revealed { opacity: 1; transform: none; }
/* quiet section: opposite — no movement, opacity only */
.reveal--still { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--still { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------ legal pages ---------------------------- */
.legal { max-width: 820px; margin: 0 auto; padding: 140px var(--gutter) var(--sec-y); position: relative; z-index: 1; }
.legal__scale { display: flex; align-items: flex-end; gap: 5px; height: 40px; margin-bottom: var(--s-3); }
.legal__scale span { flex: 1; background: var(--c-a1); opacity: 0.5; border-radius: 2px 2px 0 0; }
.legal h1 { font-size: clamp(38px, 6vw, 64px); margin-bottom: var(--s-3); }
.legal h2 { font-size: clamp(22px, 3.2vw, 30px); margin: var(--s-5) 0 var(--s-2); color: var(--c-a2); }
.legal__level { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-a1); margin-bottom: var(--s-1); }
.legal p, .legal li { color: #cfc9d6; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--c-a2); }
.legal__back { display: inline-block; margin-bottom: var(--s-4); color: var(--c-mute); text-decoration: none; font-weight: 700; }
.legal__foot { border-top: 2px solid #241f2c; margin-top: var(--s-6); padding-top: var(--s-4); color: var(--c-mute); font-size: 13px; }

/* ------------------------------ cookie banner -------------------------- */
.cookie {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%) translateY(140%);
  z-index: 80; width: min(760px, calc(100% - 24px));
  background: rgba(20,17,24,0.96); backdrop-filter: blur(10px);
  border: var(--bw) solid var(--c-a2); border-radius: var(--r-card);
  padding: var(--s-3) var(--s-4);
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-3); align-items: center;
  transition: transform 460ms cubic-bezier(.2,.9,.3,1.2);
}
.cookie.is-shown { transform: translateX(-50%) translateY(0); }
.cookie__eq { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.cookie__eq i { width: 4px; background: var(--c-a1); border-radius: 2px 2px 0 0; }
.cookie__eq i:nth-child(1){height:40%} .cookie__eq i:nth-child(2){height:80%}
.cookie__eq i:nth-child(3){height:55%} .cookie__eq i:nth-child(4){height:100%} .cookie__eq i:nth-child(5){height:65%}
.cookie p { margin: 0; font-size: 14px; color: #d9d4dd; }
.cookie p a { color: var(--c-a2); }
.cookie__actions { display: flex; gap: var(--s-2); }
.cookie__btn {
  font-family: var(--f-body); font-weight: 800; font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.04em; padding: 10px 16px; border-radius: 4px; cursor: pointer;
  border: 2px solid var(--c-a2); white-space: nowrap;
}
.cookie__btn--accept { background: var(--c-a2); color: var(--c-bg-dark); }
.cookie__btn--essential { background: transparent; color: var(--c-ink-inv); }
.cookie__btn:focus-visible { outline: 3px solid var(--c-a1); outline-offset: 2px; }
@media (max-width: 640px) {
  .cookie { grid-template-columns: 1fr; text-align: left; }
  .cookie__eq { display: none; }
  .cookie__actions { justify-content: stretch; }
  .cookie__btn { flex: 1; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie { transition: none; }
}

/* cookie dismissal fix: make the [hidden] attribute authoritative over the banner display */
.cookie[hidden] { display: none !important; }
