/* twasnowmusic.com — Warm Editorial Light */

/* ===== Fonts (self-hosted, variable) ===== */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/fonts/bricolage-grotesque-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
}

/* ===== Tokens ===== */
:root {
  --bg: #FAF5EC;
  --surface: #FFFFFF;
  --surface-2: #F3EADB;
  --ink: #2A2320;
  --ink-soft: #5C5049;
  --ink-mut: #857468;
  --bordo: #9E2A33;
  --bordo-dark: #7D1F27;
  --ochre: #C8892C;
  --gold: #E0A83E;
  --line: rgba(42, 35, 32, .12);
  --line-2: rgba(42, 35, 32, .07);
  --shadow-sm: 0 2px 8px rgba(42, 35, 32, .07);
  --shadow-md: 0 14px 34px -14px rgba(42, 35, 32, .28);
  --shadow-lg: 0 30px 60px -22px rgba(42, 35, 32, .4);
  --font-display: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --container: 1240px;
  --pad: clamp(16px, 5vw, 40px);
  --radius: 18px;
  --radius-sm: 12px;
  --cookie-h: 0px;
  --header-h: 118px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, textarea, select, button { font: inherit; }
[hidden] { display: none !important; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--ink);
  overflow-wrap: break-word;
  word-break: break-word;
}
a { overflow-wrap: break-word; word-break: break-word; }
p { overflow-wrap: break-word; }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}
main { display: block; }
.section { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.section--alt { background: var(--surface-2); }
.section--ink { background: var(--ink); color: #F4EEE4; }
.section--ink .section-title { color: #FBF6EC; }

.section-head { margin-bottom: clamp(28px, 4vw, 52px); }
.section-kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bordo);
  margin-bottom: 14px;
}
.section-title { font-size: clamp(2rem, 5vw, 3.5rem); }
.section-lead {
  margin-top: 18px;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: .82em 1.5em;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .01em;
  line-height: 1;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .2s, color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.btn--primary { background: var(--bordo); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--bordo-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn--outline { border: 1.5px solid var(--line); color: var(--ink); background: var(--surface); }
.btn--outline:hover { border-color: var(--bordo); color: var(--bordo); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--gold { background: var(--ochre); color: #fff; }
.btn--gold:hover { background: #b0761f; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 245, 236, .88);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header-row--top { padding-block: 16px; }
.header-row--bottom {
  padding-block: 10px;
  border-top: 1px solid var(--line-2);
  font-size: .92rem;
  color: var(--ink-soft);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 34px; height: 34px; flex: 0 0 auto; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -.03em;
  color: var(--ink);
}
.brand__name b { color: var(--bordo); font-weight: 800; }

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav .nav-drop__btn {
  position: relative;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .98rem;
  color: var(--ink);
  transition: color .2s, background .2s;
}
.nav a:hover, .nav .nav-drop__btn:hover { color: var(--bordo); background: rgba(158,42,51,.07); }
.nav a[aria-current="page"] { color: var(--bordo); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 5px;
  height: 2px;
  background: var(--ochre);
  border-radius: 2px;
}

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop__btn { display: inline-flex; align-items: center; gap: 6px; }
.nav-drop__btn svg { width: 12px; height: 12px; }
.nav-drop__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: auto;
  min-width: 210px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 60;
}
.nav-drop__menu::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 22px;
  width: 12px;
  height: 12px;
  background: var(--surface);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
/* transparent bridge over the gap so the menu stays open while the
   cursor travels from the button down to the menu */
.nav-drop__menu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}
.nav-drop:hover .nav-drop__menu,
.nav-drop[data-open="true"] .nav-drop__menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-drop__menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 10px;
  font-weight: 600;
  width: 100%;
}
.nav-drop__menu a:hover { background: var(--surface-2); color: var(--bordo); }

.header-meta { display: inline-flex; align-items: center; gap: 22px; }
.header-phone { font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.header-phone svg { width: 16px; height: 16px; color: var(--bordo); }
.header-phone:hover { color: var(--bordo); }
.header-note { display: inline-flex; align-items: center; gap: 9px; }
.header-note svg { width: 15px; height: 15px; color: var(--ochre); }

/* Burger */
.burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  position: relative;
  flex: 0 0 auto;
}
.burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, opacity .2s, top .3s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg);
  z-index: 190;
  padding: 24px var(--pad) 40px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, transform .3s, visibility .3s;
}
.nav-mobile[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-mobile > a { display: block; padding: 15px 6px; font-size: 1.28rem; font-weight: 700; font-family: var(--font-display); border-bottom: 1px solid var(--line-2); }
.nav-mobile > a:active { color: var(--bordo); }
.nav-mobile__sub { padding-left: 16px; }
.nav-mobile__sub a { display: block; padding: 11px 6px; font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; color: var(--ink-soft); border-bottom: 1px solid var(--line-2); }
.nav-mobile__sub a:active { color: var(--bordo); }
.nav-mobile__label { padding: 15px 6px 6px; font-size: 1.28rem; font-weight: 700; font-family: var(--font-display); color: var(--bordo); }
.nav-mobile__cta { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.nav-mobile__cta .btn { justify-content: center; }

/* ===== Hero (full-bleed immersive) ===== */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: -4% -4% -4% -4%;
  background: url('/assets/img/hero/hero-bg.avif') center/cover no-repeat;
  z-index: -2;
  animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,14,12,.28) 0%, rgba(20,14,12,.12) 32%, rgba(20,14,12,.62) 74%, rgba(20,14,12,.86) 100%),
    radial-gradient(120% 80% at 15% 100%, rgba(158,42,51,.42), transparent 60%);
}
.hero__inner { width: 100%; padding-block: clamp(48px, 9vw, 108px); }
.hero__title {
  font-size: clamp(2.7rem, 8.4vw, 6.6rem);
  line-height: .98;
  color: #fff;
  max-width: 15ch;
  text-wrap: balance;
}
.hero__title .accent { color: var(--gold); }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: block;
  transform: translateY(110%);
  animation: heroRise .9s cubic-bezier(.19,1,.22,1) forwards;
}
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__text {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.9vw, 1.32rem);
  color: rgba(255,255,255,.92);
  max-width: 62ch;
  opacity: 0;
  animation: fadeUp .8s ease .5s forwards;
}
.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  animation: fadeUp .8s ease .68s forwards;
}
.hero__stats {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 56px);
  opacity: 0;
  animation: fadeUp .8s ease .86s forwards;
}
.hero__stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--gold); line-height: 1; }
.hero__stat span { font-size: .92rem; color: rgba(255,255,255,.82); }

@keyframes kenburns { from { transform: scale(1) translate(0,0); } to { transform: scale(1.12) translate(1.5%, -2%); } }
@keyframes heroRise { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* ===== Reveal on scroll ===== */
/* Reveal animates opacity + transform; hover uses the separate `translate`
   property so the two never fight over `transform`. Reveal delay via --rd. */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.2,.7,.3,1) var(--rd,0s), transform .7s cubic-bezier(.2,.7,.3,1) var(--rd,0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { --rd: .08s; }
.reveal[data-delay="2"] { --rd: .16s; }
.reveal[data-delay="3"] { --rd: .24s; }

/* ===== Stars ===== */
.stars { display: inline-flex; gap: 3px; align-items: center; }
.stars svg { width: 17px; height: 17px; }
.stars .s-on { color: var(--ochre); }
.stars .s-off { color: rgba(42,35,32,.2); }
.section--ink .stars .s-off { color: rgba(255,255,255,.24); }
.rating-row { display: flex; align-items: center; gap: 10px; }
.rating-row b { font-family: var(--font-display); font-weight: 700; }

/* ===== Grids ===== */
.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ===== Entertainment cards (rich) ===== */
.ent-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: opacity .6s cubic-bezier(.2,.7,.3,1) var(--rd,0s), transform .6s cubic-bezier(.2,.7,.3,1) var(--rd,0s), translate .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s, border-color .3s;
}
.ent-card + .ent-card { margin-top: clamp(18px, 2.4vw, 28px); }
.ent-card:hover { translate: 0 -4px; box-shadow: var(--shadow-md); border-color: rgba(158,42,51,.34); }
.ent-card__media { position: relative; min-height: 220px; overflow: hidden; }
.ent-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ent-card__rank {
  position: absolute; top: 14px; left: 14px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bordo); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  box-shadow: var(--shadow-md);
}
.ent-card__body { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; }
.ent-card__cat { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ochre); }
.ent-card__title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 6px; }
.ent-card__desc { margin-top: 12px; color: var(--ink-soft); }
.ent-card__meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.ent-card__meta a, .ent-card__meta span { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--ink-soft); font-weight: 500; }
.ent-card__meta svg { width: 16px; height: 16px; color: var(--bordo); flex: 0 0 auto; }
.ent-card__meta a:hover { color: var(--bordo); }
.ent-card__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ===== Venue cards (bars/restaurants/hotels) ===== */
.venue-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: opacity .6s cubic-bezier(.2,.7,.3,1) var(--rd,0s), transform .6s cubic-bezier(.2,.7,.3,1) var(--rd,0s), translate .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s, border-color .3s;
}
.venue-card:hover { translate: 0 -5px; box-shadow: var(--shadow-md); border-color: rgba(158,42,51,.34); }
.venue-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.venue-card__media img { width: 100%; height: 100%; object-fit: cover; }
.venue-card__body { padding: clamp(18px, 2.4vw, 26px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.venue-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.venue-card__title { font-size: 1.28rem; }
.venue-card__city { font-size: .82rem; font-weight: 700; color: var(--ochre); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.venue-card__desc { color: var(--ink-soft); font-size: .97rem; }
.venue-card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.venue-card__hours { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.venue-card__hours svg { width: 15px; height: 15px; color: var(--bordo); }
.venue-card__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--bordo); font-size: .93rem; }
.venue-card__link svg { width: 15px; height: 15px; transition: transform .25s; }
.venue-card:hover .venue-card__link svg { transform: translateX(4px); }

/* ===== Review cards ===== */
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 28px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: opacity .6s cubic-bezier(.2,.7,.3,1) var(--rd,0s), transform .6s cubic-bezier(.2,.7,.3,1) var(--rd,0s), translate .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s;
}
.review-card:hover { translate: 0 -4px; box-shadow: var(--shadow-md); }
.review-card__quote { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.review-card__person { display: flex; align-items: center; gap: 13px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.review-card__person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.review-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.review-card__date { font-size: .84rem; color: var(--ink-mut); }

/* ===== Page hero (inner pages) ===== */
.page-hero { padding-block: clamp(48px, 8vw, 96px) clamp(30px, 5vw, 54px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -8%; top: -40%; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(200,137,44,.18), transparent 68%); z-index: 0; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero__title { font-size: clamp(2.3rem, 6.5vw, 4.6rem); }
.page-hero__lead { margin-top: 18px; font-size: clamp(1.02rem, 1.7vw, 1.24rem); color: var(--ink-soft); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--ink-mut); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--bordo); }
.breadcrumb span { color: var(--line); }

/* ===== Prose (legal) ===== */
.legal-content h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 40px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-top: 14px; color: var(--ink-soft); }
.legal-content ul { margin-top: 14px; padding-left: 22px; color: var(--ink-soft); }
.legal-content li { margin-top: 8px; }
.legal-content a { color: var(--bordo); font-weight: 600; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 52px); align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.contact-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.contact-item:last-child { border-bottom: 0; }
.contact-item__ic { width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; flex: 0 0 auto; }
.contact-item__ic svg { width: 19px; height: 19px; color: var(--bordo); }
.contact-item h3 { font-size: 1.05rem; }
.contact-item a, .contact-item p { color: var(--ink-soft); }
.contact-item a:hover { color: var(--bordo); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: none; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--bordo); box-shadow: 0 0 0 3px rgba(158,42,51,.14); }

/* ===== Footer (ribbon CTA + columns + oversized wordmark) ===== */
.site-footer { position: relative; background: var(--ink); color: #E8DFD3; padding-top: clamp(46px, 6vw, 80px); overflow: hidden; }
.site-footer > .container { position: relative; z-index: 1; }
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 26px; flex-wrap: wrap;
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.55rem, 3vw, 2.1rem); color: #fff; letter-spacing: -.03em; }
.footer-brand__name b { color: var(--gold); }
.footer-tagline { margin-top: 8px; color: rgba(232,223,211,.68); }
.footer-email {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 24px; border-radius: 999px;
  background: var(--gold); color: var(--ink);
  font-weight: 700; font-size: 1.02rem; white-space: nowrap;
  transition: background .2s, transform .25s, box-shadow .25s;
}
.footer-email svg:first-child { width: 20px; height: 20px; flex: 0 0 auto; }
.footer-email svg:last-child { width: 18px; height: 18px; transition: transform .25s; }
.footer-email:hover { background: #efb751; transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(224,168,62,.65); }
.footer-email:hover svg:last-child { transform: translateX(4px); }

.footer-cols { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: clamp(28px, 5vw, 64px); padding-block: clamp(34px, 5vw, 54px); }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: .02em; }
.footer-col a { display: block; color: rgba(232,223,211,.72); padding: 6px 0; }
.footer-col a:hover { color: var(--gold); }
.footer-connect p { color: rgba(232,223,211,.72); margin-bottom: 18px; }
.footer-mail-inline { color: var(--gold); font-weight: 600; }
.footer-mail-inline:hover { text-decoration: underline; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; transition: background .2s, transform .2s, border-color .2s; }
.footer-social a:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); border-color: var(--gold); }
.footer-social svg { width: 19px; height: 19px; color: #fff; }
.age-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: .88rem; color: rgba(232,223,211,.82); }
.age-badge b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bordo); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .82rem; }

.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 30px; justify-content: space-between; align-items: center; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { color: rgba(232,223,211,.6); font-size: .85rem; }
.footer-cookie-note a { color: var(--gold); font-weight: 600; }
.footer-disclaimer { color: rgba(232,223,211,.46); font-size: .8rem; margin-top: 14px; padding-bottom: 6px; }
.footer-wordmark {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 100%; text-align: center;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(4rem, 20vw, 16rem);
  line-height: 1;
  color: rgba(255,255,255,.038);
  letter-spacing: -.045em;
  user-select: none; white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

/* ===== Cookie banner ===== */
.cookie {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 260;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 780px;
  margin-inline: auto;
  transform: translateY(140%);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.cookie[data-show="true"] { transform: translateY(0); }
.cookie p { font-size: .9rem; color: var(--ink-soft); flex: 1; min-width: 240px; }
.cookie a { color: var(--bordo); font-weight: 600; }
.cookie__actions { display: flex; gap: 10px; }

/* ===== Support chat ===== */
.chat-toggle {
  position: fixed;
  right: 22px;
  bottom: calc(22px + var(--cookie-h));
  z-index: 250;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--bordo);
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s, background .2s, bottom .4s;
}
.chat-toggle:hover { transform: scale(1.08); background: var(--bordo-dark); box-shadow: 0 20px 40px -10px rgba(158,42,51,.6); }
.chat-toggle svg { width: 28px; height: 28px; color: #fff; }
.chat-toggle__dot { position: absolute; top: 10px; right: 12px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid var(--bordo); }
.chat-toggle[aria-expanded="true"] .chat-toggle__ic-open { display: none; }
.chat-toggle .chat-toggle__ic-close { display: none; }
.chat-toggle[aria-expanded="true"] .chat-toggle__ic-close { display: block; }
.chat-toggle[aria-expanded="true"] .chat-toggle__dot { display: none; }

.chat-panel {
  position: fixed;
  right: 22px;
  bottom: calc(96px + var(--cookie-h));
  z-index: 250;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 460px;
  max-height: calc(100vh - 130px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(.97);
  transform-origin: bottom right;
  transition: opacity .3s, transform .3s, visibility .3s, bottom .4s;
}
.chat-panel[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 15px 18px; background: var(--ink); color: #fff; }
.chat-head img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.3); }
.chat-head__name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.chat-head__status { font-size: .78rem; color: rgba(255,255,255,.72); display: flex; align-items: center; gap: 6px; }
.chat-head__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #57d97e; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--surface-2); }
.chat-msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.5; animation: msgIn .3s ease; }
.chat-msg--bot { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg--user { background: var(--bordo); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chat-quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--surface); }
.chat-quick button { font-size: .82rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); transition: background .2s, color .2s, border-color .2s; }
.chat-quick button:hover { background: var(--bordo); color: #fff; border-color: var(--bordo); }
.chat-form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--surface); }
.chat-form input { flex: 1; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); }
.chat-form input:focus { outline: none; border-color: var(--bordo); }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; background: var(--bordo); flex: 0 0 auto; display: grid; place-items: center; transition: background .2s, transform .2s; }
.chat-form button:hover { background: var(--bordo-dark); transform: scale(1.06); }
.chat-form button svg { width: 18px; height: 18px; color: #fff; }
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-mut); animation: typing 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

/* ===== Toast (form feedback) ===== */
.toast-back {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: rgba(42,35,32,.42);
  padding: 20px;
  opacity: 0; transition: opacity .35s;
}
.toast-back[data-show="true"] { opacity: 1; }
.toast {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px 30px;
  max-width: 380px;
  text-align: center;
  transform: translateY(16px) scale(.96);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.toast-back[data-show="true"] .toast { transform: none; }
.toast__ic {
  width: 54px; height: 54px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--bordo); color: #fff;
  display: grid; place-items: center; font-size: 1.6rem; font-weight: 700;
}
.toast p { color: var(--ink-soft); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===== Responsive ===== */
@media (max-width: 1220px) {
  :root { --header-h: 74px; }
  .nav, .header-row--bottom { display: none; }
  .header-row--top { padding-block: 13px; }
  .burger { display: block; }
}
@media (max-width: 900px) {
  .ent-card { grid-template-columns: 1fr; }
  .ent-card__media { min-height: 200px; aspect-ratio: 16 / 9; }
  .ent-card__rank { width: 36px; height: 36px; font-size: 1rem; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-connect { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-email { width: 100%; justify-content: center; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .chat-panel { right: 16px; left: 16px; width: auto; }
  .chat-toggle { right: 16px; }
  .hero { min-height: auto; }
  .cookie { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie__actions { justify-content: stretch; }
  .cookie__actions .btn { flex: 1; justify-content: center; }
}
@media (max-width: 420px) {
  .hero__title { font-size: clamp(2.05rem, 10.2vw, 2.7rem); }
}
@media (max-width: 380px) {
  .brand__name { font-size: 1.22rem; }
  .btn { padding: .78em 1.2em; font-size: .92rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .line > span, .hero__text, .hero__actions, .hero__stats { opacity: 1; transform: none; }
}
