/* Design system "Nirela" (working title). Dark, calm, editorial. */

@font-face { font-family: "Cormorant"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.efeea72c7a42.woff2") format("woff2"),
       url("../fonts/cormorant-garamond-latin-ext-500-normal.60704cc35ffe.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.bf1e09fb81d7.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 500; font-style: italic; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-italic.9b8a16c9964e.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-latin-400-normal.da03732a27e1.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-latin-500-normal.51205681a1ba.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-latin-600-normal.2ede57db1a3a.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-latin-ext-400-normal.0a6ff1a7c1e4.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF; }

:root {
  --bg: #0e0c0d;
  --surface: #171315;
  --surface-2: #211b1e;
  --line: #2e2629;
  --text: #f2ebe5;
  --muted: #a3958d;
  --gold: #d2a473;
  --gold-soft: rgba(210, 164, 115, .14);
  --wine: #9b2f4a;
  --ok: #7fb59a;
  --radius: 14px;
  --serif: "Cormorant", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .4em; }
h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 24px; }
em { font-family: var(--serif); font-style: italic; color: var(--gold); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(14, 12, 13, .86);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { font-family: var(--serif); font-size: 28px; letter-spacing: .04em; }
.logo span { color: var(--gold); }
.nav { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.top .spacer { flex: 1; }
.lang { font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.lang b { color: var(--text); font-weight: 500; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 14px; font-weight: 500; cursor: pointer;
  background: transparent; color: var(--text); transition: .2s; }
.btn:hover { border-color: var(--gold); }
.btn.gold { background: var(--gold); color: #1a1209; border-color: var(--gold); }
.btn.gold:hover { filter: brightness(1.08); }

/* Hero */
.hero { padding: 88px 0 64px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 760px; height: 760px;
  background: radial-gradient(closest-side, rgba(155, 47, 74, .35), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.search { margin-top: 32px; display: flex; gap: 8px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px; max-width: 620px; }
.search input, .search select { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text);
  font: inherit; padding: 10px 16px; outline: none; }
.search select { flex: 0 0 auto; color: var(--muted); border-left: 1px solid var(--line); }
.trust { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; font-size: 13px; color: var(--muted); }
.trust span::before { content: "◆"; color: var(--gold); margin-right: 8px; font-size: 9px; vertical-align: 2px; }

/* Sections */
section.block { padding: 56px 0; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.head a { font-size: 14px; color: var(--gold); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px;
  background: var(--surface); }
.chip small { color: var(--muted); margin-left: 6px; }
.chip.on { border-color: var(--gold); background: var(--gold-soft); }
.chip:hover { border-color: var(--gold); }

/* Placeholder imagery: abstract, per-item hue */
.ph { position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(120% 80% at 30% 20%, hsla(var(--h), 55%, 55%, .55), transparent 60%),
    radial-gradient(90% 70% at 80% 90%, hsla(calc(var(--h) + 40), 45%, 35%, .7), transparent 65%),
    linear-gradient(160deg, hsl(var(--h), 25%, 16%), hsl(calc(var(--h) + 20), 30%, 8%)); }
.ph .initial { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif);
  font-style: italic; font-size: 120px; color: rgba(255, 255, 255, .13); }

/* Profile cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.card { display: block; }
.card .ph { aspect-ratio: 3 / 4; transition: transform .35s; }
.card:hover .ph { transform: translateY(-4px); }
.card .meta { padding: 12px 2px 0; }
.card .name { font-family: var(--serif); font-size: 26px; line-height: 1; }
.card .line { font-size: 13px; color: var(--muted); }
.badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 500; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px;
  background: rgba(14, 12, 13, .7); backdrop-filter: blur(6px); }
.badge.ok::before { content: "✓"; color: var(--ok); font-weight: 600; }
.badge.tier { left: auto; right: 12px; color: var(--gold); }
.stars { color: var(--gold); font-size: 13px; }

/* Venues + events */
.venues { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.venue .ph { aspect-ratio: 16 / 10; }
.events { display: grid; gap: 12px; }
.event { display: flex; align-items: center; gap: 18px; padding: 14px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--surface); }
.event.hl { border-color: var(--gold); background: linear-gradient(90deg, var(--gold-soft), var(--surface) 60%); }
.date { width: 60px; text-align: center; flex: 0 0 auto; }
.date b { display: block; font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1; }
.date span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.event .t { flex: 1; }
.event .t b { font-weight: 500; }

/* Magazine */
.articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.article .ph { aspect-ratio: 16 / 9; margin-bottom: 14px; }
.article h3 { font-size: 26px; }

/* Split layout: two columns that collapse on phones */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* Profile page */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 4 / 3.4; }
.gallery .ph:first-child { grid-row: span 2; }
.locked { position: relative; }
.locked::after { content: ""; position: absolute; inset: 0; backdrop-filter: blur(16px); border-radius: var(--radius); }
.locked .lock { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; text-align: center;
  gap: 4px; font-size: 13px; padding: 12px; }
.locked .lock b { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-size: 14px; margin: 18px 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.seal { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px;
  background: rgba(127, 181, 154, .1); border: 1px solid rgba(127, 181, 154, .35); font-size: 13px; }
.seal .ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ok); color: #0e0c0d; font-weight: 600; flex: 0 0 auto; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

.bars { display: grid; gap: 8px; font-size: 13px; }
.bar { display: grid; grid-template-columns: 130px 1fr 34px; gap: 12px; align-items: center; }
.bar .track { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.bar .fill { height: 100%; background: var(--gold); border-radius: 3px; }
.review { border-top: 1px solid var(--line); padding: 20px 0; }
.reply { margin-top: 10px; padding: 12px 14px; border-left: 2px solid var(--gold); background: var(--surface-2);
  border-radius: 0 10px 10px 0; font-size: 14px; }
.note { font-size: 12px; color: var(--muted); }

/* Onboarding */
.steps { counter-reset: s; display: grid; gap: 14px; }
.step { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step::before { content: counter(s); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 24px; border: 1px solid var(--gold); color: var(--gold); }
.step b { font-weight: 500; }

/* Help box (support for providers) */
.help { margin-top: 24px; padding: 18px; border-radius: var(--radius); border: 1px dashed var(--line); font-size: 14px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 60px; margin-top: 40px; font-size: 13px; color: var(--muted); }
footer .cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
footer a:hover { color: var(--text); }

/* Age gate */
.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px;
  background: rgba(8, 6, 7, .82); backdrop-filter: blur(18px); }
.gate[hidden] { display: none; }
.gate .box { max-width: 460px; text-align: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 36px 28px; }
.gate .actions { justify-content: center; }

.proto { background: var(--wine); color: #fff; text-align: center; font-size: 12px; padding: 6px 12px; letter-spacing: .04em; }

@media (max-width: 720px) {
  .nav { display: none; }
  .hero { padding: 56px 0 40px; }
  .search { flex-wrap: wrap; border-radius: 20px; }
  .search select { border-left: 0; border-top: 1px solid var(--line); width: 100%; }
  .search .btn { width: 100%; justify-content: center; }
  .bar { grid-template-columns: 110px 1fr 30px; }
}

/* Public pre-launch pages */
.soon { min-height: 78vh; display: grid; align-items: center; padding: 64px 0; position: relative; overflow: hidden; }
.soon::before { content: ""; position: absolute; inset: auto -10% -30% auto; width: 760px; height: 760px;
  background: radial-gradient(closest-side, rgba(155, 47, 74, .35), transparent 70%); pointer-events: none; }
.soon .wrap { position: relative; max-width: 760px; }
.soon-logo { font-size: 44px; margin-bottom: 40px; }
.soon p.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.gold-link { color: var(--gold); border-bottom: 1px solid rgba(210, 164, 115, .4); }
.legal .wrap { max-width: 760px; }
.legal h3 { margin-top: 28px; }
.missing { color: var(--wine); font-weight: 600; }
