:root {
  --bg: #070b18;
  --panel: rgba(12, 18, 38, .62);
  --panel-2: rgba(18, 26, 52, .72);
  --line: rgba(160, 180, 255, .14);
  --line-2: rgba(160, 180, 255, .26);
  --text: #eef1f8;
  --muted: #9ba5be;
  --accent: #3b82f6;
  --accent-2: #6aa8ff;
  --warm: #ffb27a;
  --r: 14px;
  --pad: clamp(16px, 5vw, 72px);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --script: "Caveat", cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(120% 80% at 70% 100%, #3a2440 0%, #141a35 45%, var(--bg) 80%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 8, 20, var(--vl, .78)) 0%, rgba(5, 8, 20, calc(var(--vl, .78) * .35)) 42%, transparent 62%, rgba(5, 8, 20, calc(var(--vr, 0) * .35)) 58%, rgba(5, 8, 20, var(--vr, 0)) 100%),
              linear-gradient(180deg, rgba(5, 8, 20, .55) 0%, transparent 18%, transparent 75%, rgba(5, 8, 20, .7) 100%);
  transition: --vl .6s, --vr .6s;
}
@property --vl { syntax: "<number>"; inherits: true; initial-value: .78; }
@property --vr { syntax: "<number>"; inherits: true; initial-value: 0; }
body.v-r .veil { --vl: 0; --vr: .8; }
body.v-c .veil { --vl: .45; --vr: .45; }

main { position: relative; z-index: 2; }

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 40px;
  padding: 18px var(--pad);
  transition: background .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7, 11, 24, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 12px; border-color: var(--line); }
.logo { font-weight: 800; font-size: 26px; letter-spacing: -1.5px; color: #fff; }
.logo span { color: var(--accent); }
.logo.big { font-size: 44px; }
.links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.links a { position: relative; padding: 6px 0; transition: color .2s; }
.links a:hover, .links a.active { color: #fff; }
.links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--accent); }
.connect { margin-left: 12px; }
.tod-wrap { margin-left: auto; position: relative; }
.tod { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(10, 16, 34, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 12px; color: #dfe5f2; transition: border-color .2s, background .2s; white-space: nowrap; }
.tod:hover { border-color: var(--accent-2); background: rgba(59, 130, 246, .14); }
.tod-ic { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: rgba(255, 178, 122, .18); color: var(--warm); transition: background .4s, color .4s; }
.tod-time { font-weight: 700; font-variant-numeric: tabular-nums; }
.tod-mode { font-style: normal; color: var(--muted); }
.tod-wx { font-weight: 600; color: #cfe0ff; padding-left: 8px; border-left: 1px solid var(--line-2); }
.tod-wx:empty { display: none; }
.tod-panel { position: absolute; top: calc(100% + 10px); right: 0; width: 320px; padding: 18px; border-radius: 16px; background: rgba(9, 14, 30, .86); border: 1px solid var(--line-2); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); z-index: 30; }
.tod-panel[hidden] { display: none; }
.tod-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.tod-big { font-size: 30px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tod-phase { font-size: 12px; color: var(--muted); text-align: right; }
.tod-range { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 10px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, #0b1230 0%, #1b1d48 18%, #ff8a4c 26%, #8fc4f2 34%, #6aa6e8 50%, #8fc4f2 66%, #ff7a3d 74%, #3a2a5a 80%, #0b1230 100%); }
.tod-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.tod-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.tod-ticks { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); margin: 6px 2px 14px; font-variant-numeric: tabular-nums; }
.tod-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tod-chips button { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; color: #dfe5f2; transition: background .2s, border-color .2s; }
.tod-chips button:hover { border-color: var(--accent-2); }
.tod-chips button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.tod-weather { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.tod-weather b { color: #fff; font-weight: 600; }
body[data-tod="night"] .tod-ic, body[data-tod="dusk"] .tod-ic, body[data-tod="dawn"] .tod-ic { background: rgba(160, 180, 255, .18); color: #c9d6ff; }
body[data-tod="day"] .tod-ic { background: rgba(255, 220, 120, .22); color: #ffd666; }
body[data-tod="day"] .veil, body[data-tod="morning"] .veil { --vl: .86; }
body[data-tod="day"].v-r .veil, body[data-tod="morning"].v-r .veil { --vl: 0; --vr: .88; }
.burger { display: none; margin-left: auto; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger span:nth-child(1) { top: 13px; } .burger span:nth-child(2) { top: 19px; } .burger span:nth-child(3) { top: 25px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 15;
  background: linear-gradient(180deg, rgba(8, 12, 28, .96), rgba(10, 14, 34, .98));
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: center; padding: 90px 28px 40px;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
body.menu-open .menu { opacity: 1; visibility: visible; }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu nav a { display: flex; align-items: center; gap: 18px; font-size: 18px; padding: 12px 16px; border-radius: 12px; opacity: 0; transform: translateX(-16px); transition: opacity .4s, transform .4s, background .2s; }
.menu nav a i { font-style: normal; width: 22px; text-align: center; color: var(--muted); }
.menu nav a:hover, .menu nav a.active { background: rgba(59, 130, 246, .14); }
body.menu-open .menu nav a { opacity: 1; transform: none; }
.menu nav a:nth-child(2) { transition-delay: .04s } .menu nav a:nth-child(3) { transition-delay: .08s } .menu nav a:nth-child(4) { transition-delay: .12s }
.menu nav a:nth-child(5) { transition-delay: .16s } .menu nav a:nth-child(6) { transition-delay: .2s } .menu nav a:nth-child(7) { transition-delay: .24s } .menu nav a:nth-child(8) { transition-delay: .28s }
.menu-foot { margin-top: auto; text-align: center; display: grid; gap: 4px; }
.menu-foot small { color: var(--muted); }
.socials { display: flex; gap: 22px; justify-content: center; font-size: 20px; margin-bottom: 18px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: transform .2s, background .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
.btn svg { font-size: 15px; }
.btn.sm { padding: 10px 18px; font-size: 13px; }
.btn.primary { background: #fff; color: #0b1020; }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(106, 168, 255, .35); }
.btn.ghost { border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px); }
.btn.ghost:hover { border-color: var(--accent-2); background: rgba(59, 130, 246, .12); }
.btn.light { background: #fff; color: #0b1020; }

/* sections */
.sec { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px var(--pad) 80px; position: relative; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; position: relative; }
.wrap.wide { max-width: 1320px; }
.col { width: min(560px, 100%); }
.side-r .wrap { flex-direction: row-reverse; }
.side-c .col { width: 100%; }

.eyebrow, .kicker { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: #c7cfe4; font-weight: 600; margin-bottom: 18px; }
.eyebrow em { display: block; width: 44px; height: 1px; background: currentColor; opacity: .6; }
.kicker b { color: var(--muted); font-weight: 600; letter-spacing: .1em; margin-right: 8px; }
.display { font-size: clamp(56px, 8.4vw, 112px); line-height: .98; font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.06; font-weight: 800; letter-spacing: -.03em; margin-bottom: 20px; }
.accent { background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 60%, #a7c8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: #d4d9e6; max-width: 440px; margin: 26px 0 30px; }
.body { color: #c3cadb; font-size: 15.5px; margin-bottom: 26px; max-width: 520px; }
.body strong { color: #fff; font-weight: 600; }
.muted { color: var(--muted); font-size: 14px; max-width: 260px; }

.script { font-family: var(--script); font-size: clamp(28px, 2.6vw, 40px); line-height: 1.12; color: rgba(255, 255, 255, .88); transform: rotate(-8deg); text-align: center; margin-top: 10px; text-shadow: 0 2px 18px rgba(0, 0, 0, .5); flex-shrink: 0; position: relative; }
.script::after { content: ""; position: absolute; left: 18%; right: 10%; bottom: -10px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7)); transform: rotate(-4deg); }
.hero-script { margin-top: -20px; }

.ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(4, auto); gap: 0; margin-top: 64px; width: fit-content; }
.stats div { padding: 0 28px; border-left: 1px solid var(--line-2); }
.stats div:first-child { padding-left: 0; border: 0; }
.stats b { font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.stats sup { font-size: 22px; font-weight: 700; color: var(--accent-2); vertical-align: top; position: relative; top: 4px; }
.stats span { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 2px; }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scroll-cue span { width: 22px; height: 34px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 12px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0) } 30% { opacity: 1 } 100% { opacity: 0; transform: translateY(10px) } }

/* cards */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: border-color .25s, transform .25s, background .25s; }
.card:hover { border-color: var(--line-2); transform: translateY(-3px); background: var(--panel-2); }
.card h4 { font-size: 15px; font-weight: 700; margin: 12px 0 6px; }
.card p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.card.row { display: flex; gap: 14px; align-items: flex-start; }
.card.row h4 { margin-top: 0; }
.ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; font-style: normal; font-size: 18px; background: rgba(59, 130, 246, .16); color: var(--accent-2); flex-shrink: 0; }
.ic svg { font-size: 20px; }
.ic.c1 { color: #61dafb; background: rgba(97, 218, 251, .12) } .ic.c2 { color: #6cd37c; background: rgba(108, 211, 124, .12) }
.ic.c3 { color: #5b9bff; background: rgba(91, 155, 255, .14) } .ic.c4 { color: #c084fc; background: rgba(192, 132, 252, .12) }
.ic.c5 { color: #ffb24a; background: rgba(255, 178, 74, .12) } .ic.c6 { color: #ff7a59; background: rgba(255, 122, 89, .12) }
.ic.red { background: #e5484d; color: #fff } .ic.dark { background: #1d2230; color: #fff } .ic.blue { background: var(--accent); color: #fff; font-size: 14px; font-weight: 800 }

.cards4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cards3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; position: relative; }
.steps li { position: relative; }
.steps li:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 4px; color: var(--muted); font-size: 14px; }
.steps i { font-style: normal; font-size: 20px; color: var(--warm); display: block; height: 28px; font-weight: 700; }
.steps small { color: var(--accent-2); font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.steps h4 { font-size: 15px; margin: 2px 0 4px; }
.steps p { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

.timeline { list-style: none; position: relative; margin-top: 10px; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--accent), rgba(59, 130, 246, .1)); }
.timeline li { display: flex; gap: 20px; padding: 14px 0; position: relative; }
.timeline time { font-size: 13px; font-weight: 700; color: #fff; }
.timeline h3 { font-size: 17px; font-weight: 700; margin-top: 2px; }
.timeline em { display: block; font-style: normal; color: var(--accent-2); font-size: 13px; margin-bottom: 4px; }
.timeline p { font-size: 13px; color: var(--muted); }
.badge { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--panel-2); border: 1px solid var(--line-2); flex-shrink: 0; position: relative; z-index: 1; backdrop-filter: blur(8px); }
.b-bh { color: #ff8a3d } .b-tr { color: var(--accent-2) } .b-mtm { color: #ffb24a } .b-q { color: #6cd37c } .b-h { color: #c084fc } .b-i { color: #ff7a8a }

.tools { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.tool { aspect-ratio: 1; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; align-content: center; gap: 8px; padding: 8px 4px; font-size: 11px; color: #cfd5e4; text-align: center; backdrop-filter: blur(12px); transition: transform .25s, border-color .25s; }
.tool:hover { transform: translateY(-3px); border-color: var(--line-2); }
.tool img { width: 30px; height: 30px; object-fit: contain; }
.tool img.inv { filter: brightness(0) invert(1); }
.tool .fb { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: rgba(59, 130, 246, .2); color: var(--accent-2); }

.quote { margin-top: 34px; font-size: 17px; color: #dfe4f0; position: relative; padding-left: 34px; max-width: 460px; }
.quote::before { content: "“"; position: absolute; left: 0; top: -14px; font-size: 54px; color: var(--accent); font-family: Georgia, serif; }

.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.filters { display: flex; gap: 10px; margin: 6px 0 24px; flex-wrap: wrap; }
.filters button { padding: 8px 16px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(10, 16, 34, .5); font-size: 13px; color: #cfd5e4; backdrop-filter: blur(8px); transition: background .2s, border-color .2s; }
.filters button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.projects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proj { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform .3s, border-color .3s, opacity .3s; display: flex; flex-direction: column; }
.proj:hover { transform: translateY(-4px); border-color: var(--line-2); }
.proj.hide { display: none; }
.thumb { height: 140px; position: relative; overflow: hidden; display: grid; place-items: center; }
.thumb::before { content: ""; position: absolute; top: 12px; left: 12px; right: 12px; height: 14px; border-radius: 4px 4px 0 0; background: rgba(255, 255, 255, .18); box-shadow: inset 6px 0 0 -2px rgba(255, 255, 255, .5); }
.thumb b { font-size: 44px; font-weight: 800; letter-spacing: -.04em; color: rgba(255, 255, 255, .92); text-shadow: 0 6px 24px rgba(0, 0, 0, .3); position: relative; }
.thumb small { position: absolute; right: 12px; bottom: 10px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; background: rgba(0, 0, 0, .35); padding: 3px 8px; border-radius: 20px; }
.proj .in { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.proj h4 { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.proj h4 svg { font-size: 13px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 11px; padding: 3px 9px; border-radius: 6px; border: 1px solid var(--line-2); color: #cfd5e4; }
.proj p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.proj-script { display: none; }

.contacts { display: grid; gap: 12px; max-width: 420px; }
.ct { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(14px); transition: border-color .25s, transform .25s; }
.ct:hover { border-color: var(--accent-2); transform: translateX(4px); }
.ct b { display: block; font-size: 14px; }
.ct span { font-size: 13px; color: var(--muted); word-break: break-all; }
.ct em { margin-left: auto; font-style: normal; color: var(--muted); }

.foot { position: relative; min-height: 60vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 10px; padding: 80px var(--pad); }
.foot p { color: #d4d9e6; }
.foot small { color: var(--muted); }

/* reveal */
.hero .col > *, .hero .script { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero .col > :nth-child(2) { animation-delay: .08s } .hero .col > :nth-child(3) { animation-delay: .16s }
.hero .col > :nth-child(4) { animation-delay: .24s } .hero .col > :nth-child(5) { animation-delay: .32s } .hero .script { animation-delay: .4s }
@keyframes rise { from { opacity: 0; transform: translateY(26px) } }
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .links { display: none; }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .tools { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 760px) {
  .connect { display: none; }
  .burger { display: block; margin-left: 6px; }
  .tod { padding: 6px 10px 6px 7px; font-size: 11px; }
  .tod-mode { display: none; }
  .tod-panel { position: fixed; top: 64px; left: 16px; right: 16px; width: auto; }
  .nav { padding: 14px 16px; }
  .veil, body.v-r .veil, body.v-c .veil { --vl: 0; --vr: 0;
    background: linear-gradient(180deg, rgba(5, 8, 20, .35) 0%, transparent 16%, transparent 34%, rgba(5, 8, 20, .82) 58%, rgba(5, 8, 20, .92) 100%); }
  .sec { padding: 46vh 16px 64px; align-items: flex-end; }
  .hero { padding-top: 52vh; }
  .wrap, .side-r .wrap { flex-direction: column; gap: 22px; }
  .script { position: absolute; right: 0; top: -36vh; font-size: 30px; margin: 0; }
  .hero-script { top: -42vh; }
  .proj-script { display: block; top: -38vh; }
  .display { font-size: 58px; }
  h2 { font-size: 34px; }
  .lead { margin: 16px 0 22px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 18px 0; margin-top: 36px; width: 100%; }
  .stats div:nth-child(3) { padding-left: 0; border: 0; }
  .scroll-cue { display: none; }
  .cards4, .cards3 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cards3 { grid-template-columns: 1fr; }
  .card { padding: 14px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 20px 14px; margin-top: 30px; }
  .steps li::after { display: none; }
  .tools { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .head-row { flex-direction: column; align-items: flex-start; }
  .projects { grid-template-columns: 1fr; }
  .thumb { height: 120px; }
  .btn { padding: 13px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
}

.gl-loader { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px; background: rgba(10, 14, 30, .72); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #dbe6ff; font: 600 13px/1 "Plus Jakarta Sans", system-ui, sans-serif; letter-spacing: .02em; transition: opacity .5s ease, transform .5s ease, visibility 0s linear .5s; }
.gl-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .18); border-top-color: var(--accent-2); animation: gl-spin .8s linear infinite; }
@keyframes gl-spin { to { transform: rotate(360deg); } }
.scene-ready .gl-loader { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; }
#scene { opacity: 0; transition: opacity .9s ease; }
.scene-ready #scene { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .gl-spin { animation-duration: 2s; } }
