/* Alegría Productora — estilos del sitio */
:root {
  --bg: #0B0A09;
  --bg-2: #0F0D0B;
  --surface: #12100D;
  --surface-hover: #16130F;
  --text: #F5F1E8;
  --text-2: #D8D2C6;
  --muted: #A39E94;
  --gold: #E0B03A;
  --gold-light: #F2CD6B;
  --gold-dark: #B8861B;
  --line: rgba(255,255,255,.08);
  --radius: 16px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--gold); }
a:hover { color: var(--gold-light); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; margin: 0; }
h1, h2 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.02em; font-optical-sizing: auto; }
h1 .gold, h2 .gold { font-style: italic; font-weight: 400; padding-right: .06em; }
h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.gold { background: linear-gradient(100deg, var(--gold-dark) 0%, var(--gold-light) 45%, var(--gold) 70%, var(--gold-dark) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.eyebrow.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 14px 24px; border-radius: 8px; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; border: 0; transition: transform .2s, box-shadow .2s, background-color .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(224,176,58,.22); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { color: var(--bg); }
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { color: var(--bg); }
.btn-outline { color: var(--text); border: 1px solid rgba(255,255,255,.18); background: transparent; }
.btn-outline:hover { color: var(--text); }
.btn:focus-visible, .filter:focus-visible, a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(11,10,9,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.06); }
.header-inner { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.brand:hover { color: var(--text); }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.main-nav { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; font-size: 14px; font-weight: 500; }
.main-nav > a:not(.btn) { color: var(--text-2); text-decoration: none; }
.back-link { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }

/* Hero */
main { position: relative; }
.hero-bg { position: absolute; inset: 0 0 auto 0; height: min(980px, 100vh); overflow: hidden; pointer-events: none; z-index: 0; -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%); mask-image: linear-gradient(to bottom, #000 45%, transparent 100%); }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: blur(5px) saturate(.9); transform: scale(1.08); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 40%, rgba(11,10,9,.35) 0%, rgba(11,10,9,.85) 75%); }
.hero { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 1 1 480px; min-width: 0; }
.pill { margin: 0 0 28px; display: inline-flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 500; color: var(--text-2); border: 1px solid rgba(255,255,255,.12); padding: 8px 14px; border-radius: 999px; }
.glow-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--gold); animation: glow 4s ease-in-out infinite; }
.hero h1 { font-size: clamp(42px, 5.4vw, 74px); line-height: 1.04; letter-spacing: -0.025em; }
.lead { margin-top: 28px; max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.cta-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Orbit */
.orbit-wrap { flex: 1 1 460px; min-width: 0; display: flex; justify-content: center; overflow: clip; overflow-clip-margin: 24px; }
.orbit { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1 / 1; }
.orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-line { stroke: rgba(224,176,58,.45); stroke-width: .35; stroke-dasharray: 2 4; animation: dash 1.6s linear infinite; }
.orbit-ring { position: absolute; inset: 6%; border-radius: 999px; border: 1px dashed rgba(255,255,255,.07); animation: spin 40s linear infinite; }
.spark { position: absolute; border-radius: 999px; animation: twinkle 3.2s ease-in-out infinite; }
.spark.t2 { animation-delay: .5s; animation-duration: 4s; } .spark.t3 { animation-delay: 1.1s; } .spark.t4 { animation-delay: 1.7s; animation-duration: 2.6s; } .spark.t5 { animation-delay: 2.2s; animation-duration: 3.8s; }
.orbit-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 30%; aspect-ratio: 1 / 1; border-radius: 999px; background: radial-gradient(circle, rgba(224,176,58,.18) 0%, rgba(11,10,9,0) 70%); display: flex; align-items: center; justify-content: center; }
.orbit-logo img { width: 92%; height: 92%; object-fit: contain; }
.node-link { position: absolute; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; width: 120px; text-decoration: none; z-index: 2; }
.node { width: 52px; height: 52px; border-radius: 999px; border: 1px solid rgba(224,176,58,.5); background: #13110E; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--gold-light); animation: blink 5.5s ease-in-out infinite; }
.node-label { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--text-2); text-align: center; white-space: nowrap; animation: blink-label 5.5s ease-in-out infinite; }
.node-link:hover .node, .node-link:focus-visible .node { outline: 2px solid var(--gold-light); outline-offset: 4px; animation-play-state: paused; background: var(--gold); color: var(--bg); }
.node-link:hover .node-label { color: var(--gold-light); }

/* Stats */
.stats { border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div { padding: 36px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.07); }
.stats-grid > div:last-child { border-right: 0; }
.stat { font-family: var(--font-display); font-weight: 600; font-size: 44px; letter-spacing: -0.03em; }
.stat-label { margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Gallery */
.gallery { padding-top: 72px; }
.gallery-head { padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: baseline; justify-content: space-between; }
.gallery-head h2 { font-size: clamp(28px, 3vw, 40px); }
.gallery-viewport { overflow: hidden; }
.gallery-track { display: flex; width: max-content; gap: 16px; padding: 0 8px; animation: marquee 60s linear infinite; }
.gallery-track:hover { animation-play-state: paused; }
.gal-item { position: relative; display: block; width: 240px; height: 320px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); flex: 0 0 auto; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.04); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.gal-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,10,9,.7) 0%, rgba(11,10,9,0) 45%); pointer-events: none; }
.gal-item { transition: border-color .35s; }
.gal-item:hover { border-color: rgba(224,176,58,.55); }
.gal-item:hover img { transform: scale(1.06); }
.gal-item span { z-index: 1; position: absolute; left: 12px; bottom: 12px; font-size: 12px; font-weight: 600; color: var(--text); background: rgba(11,10,9,.72); padding: 6px 10px; border-radius: 999px; }

/* Sections */
.section { padding-top: 112px; padding-bottom: 48px; }
.section-last { padding-top: 48px; padding-bottom: 112px; }
.section-head { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.section-head > p { max-width: 380px; font-size: 16px; line-height: 1.6; }
.narrow { max-width: 720px; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, background-color .35s; }
.card:hover { transform: translateY(-4px); border-color: rgba(224,176,58,.45); background: var(--surface-hover); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.group-card { gap: 14px; }
.group-card h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.group-card .muted { font-size: 15px; line-height: 1.6; }
.group-label { font-size: 12px; font-weight: 600; color: var(--gold); }
.group-rows { margin-top: 8px; }
.group-row { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.07); font-size: 14px; }
.group-row a { font-weight: 600; color: var(--text); text-decoration: none; }
.group-row a:hover { color: var(--gold-light); }
.group-row span { color: var(--muted); }
.link-arrow { margin-top: auto; color: var(--text); font-weight: 600; font-size: 14px; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.link-arrow:hover { color: var(--gold-light); }

/* Marquee */
.marquee { padding: 40px 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; gap: 56px; font-family: var(--font-display); font-weight: 600; font-size: 56px; letter-spacing: -0.03em; white-space: nowrap; color: rgba(245,241,232,.1); animation: marquee 42s linear infinite; }
.marquee-track > span { display: inline-flex; gap: 56px; align-items: center; }
.star { font-size: 20px; color: var(--gold); }

/* Services */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { font: inherit; font-size: 14px; font-weight: 600; min-height: 44px; padding: 10px 18px; border-radius: 8px; border: 1px solid rgba(255,255,255,.16); background: transparent; color: var(--text-2); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.filter.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.service-card { min-height: 280px; }
.service-card[hidden] { display: none; }
.thumb { position: relative; display: block; margin: -28px -28px 4px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,16,13,.55) 0%, rgba(18,16,13,0) 40%); pointer-events: none; }
.thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.04); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.card:hover .thumb img { transform: scale(1.06); }
.service-top { display: flex; justify-content: space-between; align-items: center; }
.num { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(224,176,58,.5); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--gold-light); }
.tag { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.service-card h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; }
.kind { margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--gold); }
.grow { flex-grow: 1; font-size: 15px; line-height: 1.6; }
.ig-inline { font-size: 14px; font-weight: 500; color: var(--gold); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }

/* Events */
.events-box { border: 1px solid rgba(224,176,58,.22); border-radius: 24px; padding: clamp(32px, 5vw, 72px); background: #100E0B; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.events-copy { flex: 1 1 380px; }
.events-copy h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.08; }
.events-copy p { margin-top: 24px; font-size: 16px; line-height: 1.6; }
.chips { flex: 1 1 420px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-size: 16px; font-weight: 500; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); }
.chip-link { font-size: 14px; color: var(--text-2); text-decoration: none; padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; transition: border-color .2s, color .2s; }
.chip-link:hover { border-color: var(--gold); color: var(--text); }
.chip-n { color: var(--gold); font-weight: 600; }

/* Steps */
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.step { border-top: 1px solid rgba(255,255,255,.18); padding-top: 24px; }
.step.first { border-top-color: var(--gold); }
.step-n { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--gold); }
.step h3 { margin: 12px 0 10px; font-size: 22px; letter-spacing: -0.02em; }
.step .muted { font-size: 15px; line-height: 1.6; }

/* Contact */
.contact-box { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 56px; }
.contact-copy { flex: 1 1 340px; }
.contact-copy img { width: 96px; height: 96px; object-fit: contain; }
.contact-copy h2 { margin-top: 24px; }
.contact-copy > p { margin: 20px 0 32px; font-size: 16px; line-height: 1.6; }
.contact-list { display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.contact-list > a, .contact-list > span { color: var(--text); text-decoration: none; display: inline-flex; gap: 12px; align-items: center; min-height: 44px; }
.contact-list > span { color: var(--muted); }
.quote-form { flex: 1 1 420px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; align-content: start; }
.quote-form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.quote-form .full { grid-column: 1 / -1; }
.quote-form input, .quote-form select, .quote-form textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--text); background: #1A1713; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 12px 14px; min-height: 50px; color-scheme: dark; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.quote-form input::placeholder, .quote-form textarea::placeholder { color: #8A857B; }
.quote-form input:hover, .quote-form select:hover, .quote-form textarea:hover { border-color: rgba(255,255,255,.28); }
.quote-form textarea { resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--gold); background: #1E1A14; box-shadow: 0 0 0 3px rgba(224,176,58,.18); }
.quote-form .btn-gold { min-height: 54px; padding: 16px 28px; font-size: 16px; background: linear-gradient(100deg, var(--gold-dark), var(--gold) 45%, var(--gold-light)); box-shadow: 0 8px 24px rgba(224,176,58,.25); }
.quote-form .btn-gold:hover { box-shadow: 0 14px 34px rgba(224,176,58,.35); }
.form-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,.07); background: var(--bg-2); }
.footer-top { padding-top: 56px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: space-between; }
.footer-brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 16px; }
.footer-brand .brand { font-size: 16px; }
.footer-brand .brand img { width: 56px; height: 56px; }
.footer-brand p { max-width: 300px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.footer-contact { color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.footer-contact.muted { color: var(--text-2); font-weight: 400; }
.footer-social { flex: 2 1 520px; }
.ig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 24px; }
.ig-link { color: var(--text); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; min-height: 44px; font-size: 14px; }
.ig-link:hover { color: var(--gold-light); }
.ig-name { display: block; font-weight: 600; }
.ig-handle { display: block; font-size: 12px; color: var(--muted); }
.footer-bottom { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid rgba(255,255,255,.06); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: var(--muted); }

/* WhatsApp button */
.wa-fab { position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 56px; height: 56px; border-radius: 999px; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .2s; }
.wa-fab:hover { transform: translateY(-2px) scale(1.04); }

/* Service pages */
.svc-hero { padding-top: 80px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; justify-content: space-between; }
.svc-title { flex: 1 1 560px; min-width: 0; }
.svc-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.svc-num { width: 64px; height: 64px; border-radius: 999px; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--gold-light); animation: num-glow 3.5s ease-in-out infinite; }
.tag-box { letter-spacing: .16em; border: 1px solid rgba(255,255,255,.14); padding: 8px 14px; border-radius: 999px; }
.svc-title h1 { margin-top: 28px; font-size: clamp(48px, 6.6vw, 92px); line-height: 1.02; letter-spacing: -0.03em; }
.svc-kind { margin-top: 16px; font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; }
.svc-desc { flex: 1 1 380px; max-width: 460px; }
.svc-desc > p { font-size: 18px; line-height: 1.65; color: var(--text-2); }
.svc-desc .cta-row { margin-top: 28px; }
.svc-photos { padding-top: 16px; padding-bottom: 32px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.media-tile { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.media-tile img, .media-tile video { width: 100%; height: 100%; object-fit: cover; }
.media-tile.empty > div { position: absolute; inset: 14px; border: 1.5px dashed rgba(224,176,58,.35); border-radius: 10px; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); }
.svc-video { padding-top: 48px; padding-bottom: 96px; }
.svc-video .section-head { margin-bottom: 24px; align-items: baseline; }
.svc-video h2 { font-size: clamp(30px, 3.4vw, 44px); }
.video-box { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.video-box.vertical { aspect-ratio: 9 / 16; max-width: 440px; margin: 0 auto; }
.video-box video { width: 100%; height: 100%; object-fit: cover; }
.svc-cta-wrap { padding-bottom: 96px; }
.svc-cta { gap: 32px; justify-content: space-between; }
.svc-cta h2 { flex: 1 1 420px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; }
.svc-others { padding-bottom: 96px; }
.svc-others .eyebrow { margin-bottom: 18px; }

/* Animations */
.rise { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.rise.r2 { animation-delay: .1s; } .rise.r3 { animation-delay: .2s; } .rise.r4 { animation-delay: .3s; } .rise.r5 { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes twinkle { 0%,100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }
@keyframes blink { 0%,22%,100% { background-color: #13110E; color: #F2CD6B; border-color: rgba(224,176,58,.5); box-shadow: 0 0 0 0 rgba(224,176,58,0); transform: scale(1); } 6%,14% { background-color: #E0B03A; color: #0B0A09; border-color: #F2CD6B; box-shadow: 0 0 28px 6px rgba(224,176,58,.55); transform: scale(1.14); } }
@keyframes blink-label { 0%,22%,100% { color: #D8D2C6; } 6%,14% { color: #F2CD6B; } }
@keyframes dash { to { stroke-dashoffset: -24; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glow { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes num-glow { 0%,100% { box-shadow: 0 0 0 0 rgba(224,176,58,0); } 50% { box-shadow: 0 0 40px 4px rgba(224,176,58,.35); } }

@media (max-width: 1000px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid > div:nth-child(2) { border-right: 0; }
  .stats-grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.07); }
}
@media (max-width: 350px) {
  .brand .muted { display: none; }
}
@media (max-width: 760px) {
  .hide-sm { display: none !important; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 80px; }
  .node-link { width: 84px; }
  .node { width: 40px; height: 40px; font-size: 13px; }
  .node-label { font-size: 9px; white-space: normal; line-height: 1.2; }
  .header-inner { flex-wrap: nowrap; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .brand { font-size: 15px; gap: 10px; min-width: 0; }
  .brand img { width: 40px; height: 40px; }
  .brand > span { white-space: nowrap; }
  .main-nav { flex-wrap: nowrap; flex-shrink: 0; gap: 14px; }
  .header-inner:has(.back-link) .brand > span { display: none; }
  .back-link { font-size: 13px; color: var(--text-2); text-decoration: none; }
  .main-nav .btn-sm { min-height: 40px; padding: 8px 14px; font-size: 13px; }
  .orbit-wrap { overflow-clip-margin: 0px; }
  .orbit { padding: 0 6px; }
  .node-link { width: 76px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid > div { padding: 28px 12px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .stats-grid > div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.07); }
  .stats-grid > div:nth-child(n+3) { border-bottom: 0; }
  .stat { font-size: 36px; }
  .stat-label { font-size: 11px; letter-spacing: .1em; }
  .footer-bottom { padding-bottom: 96px; }
  .section-last { padding-bottom: 80px; }
  .group-row { grid-template-columns: 1fr; gap: 4px; }
  .gal-item { width: 180px; height: 240px; }
  .marquee-track { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .hero-bg video { display: none; }
  .hero-bg { background: url(../img/hero-poster.jpg) center / cover; opacity: .2; }
}
