/* B&B Studio — site styles. Plain CSS, no framework. */

:root {
  --bg: #09090b;
  --bg-2: #0f0f13;
  --surface: #141419;
  --surface-2: #1b1b22;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eeece7;
  --muted: #a4a3ab;
  --silver: #c9ccd3;
  --silver-hi: #f4f5f8;
  --gold: #d6b05a;
  --gold-hi: #f5dd9c;
  --gold-deep: #a77d2c;
  --gold-ink: #e3c170;
  --ok: #6fd39a;
  --err: #ff8f7d;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --glow: rgba(214, 176, 90, 0.18);
  --hero-bg: radial-gradient(1200px 600px at 50% -10%, rgba(214, 176, 90, 0.20), transparent 60%),
             radial-gradient(800px 500px at 100% 30%, rgba(160, 170, 200, 0.08), transparent 60%),
             linear-gradient(180deg, #0d0d11 0%, #09090b 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f7f5f0;
    --bg-2: #efebe2;
    --surface: #ffffff;
    --surface-2: #f3f0e9;
    --line: rgba(30, 24, 10, 0.10);
    --line-strong: rgba(30, 24, 10, 0.20);
    --text: #17161a;
    --muted: #5b5962;
    --silver: #6b6f79;
    --silver-hi: #2a2c33;
    --gold: #a67c26;
    --gold-hi: #c99a3c;
    --gold-deep: #7d5c17;
    --gold-ink: #85611a;
    --ok: #1d8a52;
    --err: #b8351f;
    --shadow: 0 30px 70px -35px rgba(60, 45, 10, 0.35);
    --glow: rgba(166, 124, 38, 0.14);
    --hero-bg: radial-gradient(1200px 600px at 50% -10%, rgba(201, 154, 60, 0.22), transparent 60%),
               radial-gradient(800px 500px at 100% 30%, rgba(120, 130, 160, 0.10), transparent 60%),
               linear-gradient(180deg, #fbfaf6 0%, #f7f5f0 100%);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f7f5f0;
  --bg-2: #efebe2;
  --surface: #ffffff;
  --surface-2: #f3f0e9;
  --line: rgba(30, 24, 10, 0.10);
  --line-strong: rgba(30, 24, 10, 0.20);
  --text: #17161a;
  --muted: #5b5962;
  --silver: #6b6f79;
  --silver-hi: #2a2c33;
  --gold: #a67c26;
  --gold-hi: #c99a3c;
  --gold-deep: #7d5c17;
  --gold-ink: #85611a;
  --ok: #1d8a52;
  --err: #b8351f;
  --shadow: 0 30px 70px -35px rgba(60, 45, 10, 0.35);
  --glow: rgba(166, 124, 38, 0.14);
  --hero-bg: radial-gradient(1200px 600px at 50% -10%, rgba(201, 154, 60, 0.22), transparent 60%),
             radial-gradient(800px 500px at 100% 30%, rgba(120, 130, 160, 0.10), transparent 60%),
             linear-gradient(180deg, #fbfaf6 0%, #f7f5f0 100%);
  color-scheme: light;
}
:root[data-theme="dark"] { color-scheme: dark; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: #111; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #111; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 0.74rem/1 var(--font-body); letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.gold-text {
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.silver-text {
  background: linear-gradient(180deg, var(--silver-hi) 0%, var(--silver) 70%, #8d9099 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }

/* ---------- buttons & badges ---------- */
.btn {
  --b: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 0.95rem/1 var(--font-body); letter-spacing: 0.01em; text-decoration: none;
  border: 1px solid var(--b); color: var(--text); background: transparent;
  cursor: pointer; transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-1px); border-color: var(--gold); color: var(--text); }
.btn-gold {
  border: 0; color: #1a1408;
  background: linear-gradient(180deg, #f6e1a6 0%, #d9b360 48%, #b88a33 100%);
  box-shadow: 0 10px 30px -10px rgba(214, 176, 90, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-gold:hover { color: #1a1408; box-shadow: 0 14px 36px -10px rgba(214, 176, 90, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 14px; border-radius: 14px;
  border: 1px dashed var(--line-strong); background: var(--surface);
  color: var(--text); cursor: default; user-select: none;
}
.store-badge svg { width: 26px; height: 26px; flex: none; color: var(--gold-ink); }
.store-badge small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.store-badge strong { display: block; font-size: 1rem; line-height: 1.25; font-weight: 600; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  font: 600 .72rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--line-strong); color: var(--muted);
}
.pill-gold { border-color: color-mix(in srgb, var(--gold) 55%, transparent); color: var(--gold-ink); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 var(--gold); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(214,176,90,.55); } 70% { box-shadow: 0 0 0 9px rgba(214,176,90,0); } 100% { box-shadow: 0 0 0 0 rgba(214,176,90,0); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-badge {
  width: 40px; height: 40px; border-radius: 11px; background: #0d0d10; display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 8px 20px -8px rgba(0, 0, 0, .6);
}
.brand-badge img { width: 40px; height: 40px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font: 600 1.05rem/1.1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; }
.brand-name b i { font-style: normal; color: var(--gold-ink); }
.brand-name small { font-size: .7rem; color: var(--muted); letter-spacing: .06em; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer;
}
.icon-btn:hover { border-color: var(--gold); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-btn { display: none; }
.theme-btn .moon { display: none; }
:root[data-theme="light"] .theme-btn .sun { display: none; }
:root[data-theme="light"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-btn .sun { display: none; }
  :root:not([data-theme="dark"]) .theme-btn .moon { display: block; }
}

@media (max-width: 820px) {
  .menu-btn { display: inline-grid; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 18px; background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; animation: drop .25s ease; }
  .nav-links a { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); background: none !important; }
  .brand-name small { display: none; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section-tight { padding: clamp(48px, 7vw, 90px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); border: 0; margin: 0; }

/* ---------- hero ---------- */
.hero { background: var(--hero-bg); overflow: hidden; padding: clamp(64px, 12vw, 150px) 0 clamp(64px, 10vw, 120px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}
.hero-inner { display: grid; justify-items: center; text-align: center; }
.hero-logo {
  position: relative; width: clamp(120px, 22vw, 176px); aspect-ratio: 1; border-radius: 32%;
  background: #0d0d10; margin-bottom: 34px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 40px 90px -30px rgba(214, 176, 90, .45), 0 20px 50px -20px rgba(0,0,0,.8);
  overflow: hidden; animation: rise 1.1s cubic-bezier(.2,.7,.2,1) both;
}
.hero-logo img { width: 100%; height: 100%; }
.hero-logo::after {
  content: ""; position: absolute; inset: -50%;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.28) 50%, transparent 58%);
  transform: translateX(-60%); animation: sheen 5.5s ease-in-out 1.2s infinite;
}
@keyframes sheen { 0%, 60% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
.hero-kicker { font: 600 .8rem/1 var(--font-body); letter-spacing: .5em; text-transform: uppercase; color: var(--silver); margin-bottom: 22px; padding-left: .5em; animation: rise 1.1s .1s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 { max-width: 14ch; animation: rise 1.1s .18s cubic-bezier(.2,.7,.2,1) both; }
.hero .lede { margin-inline: auto; animation: rise 1.1s .26s cubic-bezier(.2,.7,.2,1) both; }
.hero .btn-row { justify-content: center; margin-top: 30px; animation: rise 1.1s .34s cubic-bezier(.2,.7,.2,1) both; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 48px; color: var(--muted); font-size: .85rem; animation: rise 1.1s .42s both; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: var(--gold); }

.page-hero { background: var(--hero-bg); padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 6vw, 70px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }

/* ---------- featured game ---------- */
.feature-game { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.pb-wordmark { width: min(340px, 80%); margin: 0 0 22px -8px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.game-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.check-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.check-list li::before {
  content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold-hi), var(--gold-deep));
  box-shadow: 0 0 0 4px var(--glow);
}

.phones { position: relative; height: clamp(440px, 52vw, 600px); }
.phone {
  position: absolute; width: clamp(180px, 21vw, 260px); aspect-ratio: 516 / 872;
  border-radius: 34px; padding: 8px; background: linear-gradient(160deg, #3b3d44, #111216 40%, #2a2b31);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; }
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; width: 30%; height: 14px; transform: translateX(-50%); background: #08080a; border-radius: 10px; z-index: 2; }
.phones .p1 { left: 50%; top: 0; z-index: 3; transform: translateX(-50%); }
.phones .p2 { left: 4%; top: 10%; z-index: 2; transform: rotate(-8deg) scale(.9); opacity: .92; }
.phones .p3 { right: 4%; top: 10%; z-index: 1; transform: rotate(8deg) scale(.9); opacity: .92; }
.phones.in .p2 { transform: rotate(-10deg) translateX(-6px) scale(.9); }
.phones.in .p3 { transform: rotate(10deg) translateX(6px) scale(.9); }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

@media (max-width: 900px) {
  .feature-game { grid-template-columns: 1fr; }
  .phones { order: -1; height: clamp(380px, 110vw, 520px); }
  .phone { width: clamp(150px, 46vw, 230px); }
}

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; padding: clamp(22px, 3vw, 30px); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface) 0%, color-mix(in srgb, var(--surface) 70%, var(--bg)) 100%);
  border: 1px solid var(--line); transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); box-shadow: 0 24px 50px -30px var(--glow); }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; }
.card .ic { width: 64px; height: 64px; margin-bottom: 16px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.3)); }
.card-num { font: 600 .75rem/1 var(--font-body); letter-spacing: .3em; color: var(--gold-ink); margin-bottom: 18px; display: block; }

/* gallery */
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(200px, 24vw, 260px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 22px; overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: var(--gold-deep) transparent;
}
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery img { width: 100%; aspect-ratio: 516 / 872; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
.gallery figcaption { margin-top: 12px; font-size: .88rem; color: var(--muted); }
.gallery figcaption b { display: block; color: var(--text); font-weight: 600; }

/* pets */
.pets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .pets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pets { grid-template-columns: 1fr; } }
.pet { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 18px; }
.pet img {
  width: 96px; height: 96px; object-fit: contain; border-radius: 22px; padding: 6px;
  background: radial-gradient(circle at 50% 40%, #fffaf0, #e8e2d4);
}
.pet h3 { font-size: 1.35rem; margin: 0 0 2px; }
.pet .where { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 6px; display: block; }
.pet p { font-size: .92rem; }

/* towns */
.towns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); counter-reset: town; }
@media (max-width: 860px) { .towns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .towns { grid-template-columns: 1fr; } }
.town { text-align: center; padding: 22px 18px 26px; }
.town img { width: min(220px, 80%); margin: -6px auto 10px; transition: transform .6s cubic-bezier(.2,.7,.2,1); filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); }
.town:hover img { transform: translateY(-6px) rotate(-2deg) scale(1.03); }
.town h3 { margin-bottom: 4px; }
.town h3::before { counter-increment: town; content: "0" counter(town) "  "; font: 600 .78rem/1 var(--font-body); letter-spacing: .2em; color: var(--gold-ink); vertical-align: middle; }

/* values */
.value h3 { font-size: 1.5rem; }
.value .card-num { font-family: var(--font-display); font-size: 2.6rem; letter-spacing: 0; line-height: 1; margin-bottom: 14px; }

/* ---------- leaderboard ---------- */
.lb { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.lb-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.lb-head h3 { margin: 0; font-size: 1.4rem; }
.lb-status { font-size: .82rem; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.lb-table { width: 100%; border-collapse: collapse; }
.lb-table th, .lb-table td { padding: 14px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.lb-table th { font: 600 .7rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.lb-table tr:last-child td { border-bottom: 0; }
.lb-table td.num, .lb-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.lb-table tbody tr { transition: background .2s; }
.lb-table tbody tr:hover { background: var(--surface-2); }
.rank { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 10px; font-weight: 700; font-variant-numeric: tabular-nums; background: var(--surface-2); color: var(--muted); }
.rank-1 { background: linear-gradient(180deg, #f6e1a6, #c99a3c); color: #2a1d05; }
.rank-2 { background: linear-gradient(180deg, #f2f3f6, #a8acb6); color: #1d1f24; }
.rank-3 { background: linear-gradient(180deg, #f1c6a0, #b0703e); color: #2a1406; }
.lb-name { font-weight: 600; word-break: break-word; }
.lb-city { display: none; font-size: .8rem; color: var(--muted); }
.lb-score { font-weight: 700; color: var(--gold-ink); }
.lb-empty { padding: 44px 22px; text-align: center; color: var(--muted); }
.lb-empty b { display: block; color: var(--text); font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin-bottom: 6px; }
.skel { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg, var(--surface-2), color-mix(in srgb, var(--surface-2) 50%, var(--line-strong)), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 560px) {
  .lb-table th, .lb-table td { padding: 12px 12px; }
  .lb-table .hide-sm { display: none; }
  .lb-city { display: block; }
}
.lb-foot { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .88rem; color: var(--muted); }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .82rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: 12px; padding: 13px 14px; min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--glow); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--err); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .84rem; color: var(--muted); margin: 0; }
.alert { display: none; padding: 14px 16px; border-radius: 12px; border: 1px solid; font-size: .95rem; }
.alert.show { display: block; animation: drop .3s ease; }
.alert-ok { border-color: color-mix(in srgb, var(--ok) 50%, transparent); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.alert-err { border-color: color-mix(in srgb, var(--err) 50%, transparent); background: color-mix(in srgb, var(--err) 10%, transparent); }
.contact-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.side-card { display: grid; gap: 18px; }
.side-card h3 { font-size: 1.3rem; margin: 0 0 4px; }
.side-card p { margin: 0; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .25s; }
.faq details[open] { border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font-weight: 600; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }
.faq kbd, .kbd { font: 600 .85em/1 var(--font-body); padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); white-space: nowrap; }

/* ---------- legal ---------- */
.legal { font-size: 1.02rem; }
.legal h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2.2em; padding-top: .6em; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.3rem; margin-top: 1.6em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .45em; }
.legal .summary { padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); margin: 0 0 1.5em; }
.legal .summary ul { margin: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 2em; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--muted); font-size: .85rem; }
.toc a:hover { color: var(--text); border-color: var(--gold); }
.meta-line { color: var(--muted); font-size: .92rem; }

/* ---------- cta band ---------- */
.cta {
  border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 64px); text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 50% 0%, var(--glow), transparent 70%), var(--surface);
  border: 1px solid var(--line);
}
.cta .btn-row { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 32px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot-brand p { color: var(--muted); max-width: 38ch; margin-top: 16px; }
.site-footer h4 { font: 600 .72rem/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 6px 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer ul a { color: var(--text); text-decoration: none; }
.site-footer ul a:hover { color: var(--gold-ink); }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: var(--muted); font-size: .84rem; }
.foot-bottom a { color: var(--muted); }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.big-404 { font-family: var(--font-display); font-size: clamp(6rem, 22vw, 12rem); line-height: .9; margin: 0 0 10px; }

/* ---------- reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@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; }
}
.card .ic-round { border-radius: 18px; object-fit: cover; }
