:root {
  --bg: #0c0d15;
  --ink: #f2f4fa;
  --ink-2: #c3cadb;
  --muted: #8d96ab;
  --muted-2: #6b7386;
  --soft: #9aa1b5;
  --lilac: #afa9ec;
  --mint: #38e2c8;
  --red: #ff6b6b;
  --line: rgba(255, 255, 255, .085);
  --line-soft: rgba(255, 255, 255, .05);
  --purple: linear-gradient(135deg, #8b7bff 0%, #6a55f7 55%, #5b47e8 100%);
  --ease: cubic-bezier(.16, .84, .32, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --bar: 76px;
  --gutter: 28px;
  --max: 1144px;
}

* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 96px; }
template { display: none; }
::selection { background: rgba(124, 105, 255, .45); }
:focus-visible { outline: 2px solid rgba(175, 169, 236, .8); outline-offset: 3px; border-radius: 6px; }

.ambient { position: fixed; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(900px 600px at 12% -8%, rgba(124, 105, 255, .13), transparent 70%), radial-gradient(700px 500px at 100% 110%, rgba(56, 226, 200, .05), transparent 70%); }
.texture { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: url("texture.png") repeat; background-size: 240px auto; opacity: .1; mix-blend-mode: soft-light; }
.page { position: relative; display: flex; flex-direction: column; align-items: center; padding: 100px var(--gutter) 28px; }
.page > * { width: 100%; max-width: var(--max); }
.divider { height: 1px; background: var(--line-soft); margin: 40px 0; }
.icon { width: 1em; height: 1em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Reveal on scroll ---------- */
.js [data-r] { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-r="x"] { transform: translateX(30px); }
.js .in [data-r], .js [data-r].in { opacity: 1; transform: none; filter: none; }
.js .sec-head .l1, .js .sec-head .l2 { transform: scaleX(0); }
.js .in .sec-head .l1, .js .in .sec-head .l2 { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .js [data-r] { opacity: 1; transform: none; filter: none; transition: none; }
  .js .sec-head .l1, .js .sec-head .l2 { transform: none; }
  * { animation: none !important; }
}

/* ---------- Topbar ---------- */
.topbar { position: fixed; inset: 0 0 auto; z-index: 10; height: var(--bar); isolation: isolate; }
.topbar .frost { position: absolute; inset: 0; z-index: -1; border-bottom: 1px solid transparent; transition: background .35s, border-color .35s, backdrop-filter .35s; }
.topbar.stuck .frost { background: rgba(12, 13, 21, .72); border-bottom-color: rgba(255, 255, 255, .05); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); }
.topbar .inner { height: 100%; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.wordmark { font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: #eeedfe; }
.wordmark b { font-weight: 600; color: var(--lilac); }
.nav { position: relative; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; border: 1px solid transparent; transition: border-color .4s, background .4s; }
.stuck .nav { border-color: rgba(255, 255, 255, .05); background: rgba(255, 255, 255, .024); }
.nav .pill { position: absolute; top: 5px; left: 0; height: calc(100% - 10px); border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); pointer-events: none; opacity: 0; transition: transform .4s var(--ease), width .4s var(--ease), opacity .3s; }
.nav-item { position: relative; z-index: 1; }
.nav-item.open { z-index: 2; }
.nav-link { display: flex; align-items: center; gap: 6px; padding: 7px 14px; border: 0; background: none; border-radius: 999px; font-size: 13.5px; line-height: 21px; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; cursor: pointer; transition: color .25s; }
.nav-item:hover .nav-link, .nav-item.open .nav-link { color: var(--ink); }
.nav-link .chev { font-size: 13px; opacity: .65; stroke-width: 2; transition: transform .45s var(--ease), opacity .3s; }
.nav-item.open .chev { transform: rotate(180deg); opacity: 1; }
.menu-wrap { position: absolute; left: 0; top: 100%; padding-top: 12px; pointer-events: none; }
.nav-item.open .menu-wrap { pointer-events: auto; }
.glass { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); background: rgba(16, 18, 26, .55); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06); }
.menu { min-width: 220px; opacity: 0; transform: translateY(-6px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.nav-item.open .menu, .sheet.open { opacity: 1; transform: none; }
.menu-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 16px; font-size: 13.5px; line-height: 20px; font-weight: 500; white-space: nowrap; text-decoration: none; color: var(--ink-2); transition: color .25s, background .25s; }
.menu-row + .menu-row { border-top: 1px solid rgba(255, 255, 255, .07); }
.menu-row .icon { font-size: 13px; opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .3s var(--ease); }
.menu-row:hover, .menu-row:focus-visible { color: var(--ink); background: rgba(255, 255, 255, .03); }
.menu-row:hover .icon, .menu-row:focus-visible .icon { opacity: 1; transform: none; }
.actions { justify-self: end; display: flex; align-items: center; gap: 9px; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 9px 15px; border-radius: 10px; border: 0; font-size: 13px; line-height: 21px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; text-decoration: none; overflow: hidden; isolation: isolate; cursor: pointer; transition: transform .35s var(--ease), background .3s, border-color .3s, box-shadow .35s; }
.btn .icon { font-size: 16px; transition: transform .3s var(--ease); }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .085); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .075); border-color: rgba(255, 255, 255, .18); }
.btn-primary { color: #fff; background: var(--purple); box-shadow: 0 12px 30px -12px rgba(124, 105, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -1px 0 rgba(0, 0, 0, .2); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .32) 48%, transparent 72%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover { box-shadow: 0 18px 40px -12px #7c69ff, inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn:hover .arrow { transform: translate(2px, -2px); }
.btn-lg { padding: 12px 20px; font-size: 14.5px; border-radius: 11px; }
.btn-gh svg { width: 18px; height: 18px; fill: currentColor; }
.menu-btn { display: none; width: 39px; height: 39px; padding: 0; border-radius: 10px; color: var(--ink); background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .085); cursor: pointer; align-items: center; justify-content: center; transition: background .3s; }
.menu-btn .icon { font-size: 18px; }
.menu-btn .x, .sheet-open .menu-btn .bars { display: none; }
.sheet-open .menu-btn .x { display: block; }
.sheet { position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); background: rgba(16, 18, 26, .7); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.sheet.open { pointer-events: auto; }
@media (max-width: 719.98px) {
  .topbar .inner { padding: 0 16px; }
  .topbar .nav, .topbar .btn-gh { display: none; }
  .menu-btn { display: flex; }
}
@media (min-width: 720px) { .sheet { display: none; } }

/* ---------- Hero ---------- */
.hero { display: flex; align-items: center; gap: 40px; }
.intro { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: 12px; color: #c9f5ec; background: rgba(56, 226, 200, .06); border: 1px solid rgba(56, 226, 200, .22); text-decoration: none; }
.status .icon { font-size: 12px; opacity: .7; }
.hero h1 { margin: 0; max-width: 535px; font-size: 58px; line-height: 1.05; font-weight: 650; letter-spacing: -.035em; }
.hero .lead { margin: 0; max-width: 504px; font-size: 16px; line-height: 1.6; color: var(--soft); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.skills { display: flex; flex-wrap: wrap; gap: 6px; max-width: 560px; margin: -6px 0 2px; padding: 0; list-style: none; }
.skills li { padding: 4px 10px; border-radius: 999px; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--ink-2); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.load-in { animation: loadIn .8s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes loadIn { from { opacity: 0; transform: translateY(22px); } }

.reel { position: relative; flex: 0 0 564px; height: 320px; border-radius: 16px; overflow: hidden; isolation: isolate; background: #0d0f16; border: 1px solid rgba(255, 255, 255, .09); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9); }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(1.06); filter: blur(8px); transition: opacity .9s var(--ease), transform 1.2s var(--ease), filter .9s var(--ease); }
.reel video.on { opacity: 1; transform: none; filter: none; }
.reel .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 8, 13, 0) 45%, rgba(7, 8, 13, .92)); pointer-events: none; }
.reel .timer { margin-left: 2px; padding: 1px 7px; border-radius: 6px; font-family: var(--mono); font-size: 11px; line-height: 17px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); background: rgba(10, 12, 18, .55); border: 1px solid rgba(255, 255, 255, .12); font-variant-numeric: tabular-nums; }
.reel .foot { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.reel .cap { min-width: 0; text-decoration: none; animation: reelText .7s var(--ease) both; }
.reel .cap b { display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.reel .cap b .icon { font-size: 15px; opacity: .5; transition: transform .3s var(--ease), opacity .3s; }
.reel:hover .cap b .icon { opacity: 1; transform: translate(2px, -2px); }
.reel .cap span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--soft); }
@keyframes reelText { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
.dots { display: flex; gap: 5px; padding-bottom: 4px; }
.dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .25); cursor: pointer; transition: width .5s var(--ease), background .3s; }
.dots button.on { width: 18px; background: var(--lilac); }

.cue { display: flex; justify-content: center; padding-top: 36px; transition: opacity .4s; }
.cue.gone { opacity: 0; pointer-events: none; }
.cue span { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); }
.cue .mouse { width: 14px; height: 22px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .25); position: relative; }
.cue .mouse::after { content: ""; position: absolute; left: 50%; top: 4px; width: 2px; height: 5px; margin-left: -1px; border-radius: 1px; background: var(--mint); animation: cueDot 1.8s var(--ease) infinite; }
@keyframes cueDot { 0% { opacity: 0; transform: translateY(-2px); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(7px); } }

@media (max-width: 1199.98px) {
  .hero { flex-direction: column; align-items: flex-start; gap: 48px; }
  .reel { display: none; }
}
@media (max-width: 809.98px) {
  :root { --gutter: 16px; }
  .page { padding-top: 92px; }
  .intro { gap: 18px; }
  .hero h1 { font-size: 38px; max-width: none; }
  .hero .lead { font-size: 15px; }
  .cue { padding-top: 24px; }
}

/* ---------- Sections ---------- */
.sec-head { display: flex; align-items: center; gap: 12px; user-select: none; }
.sec-head.toggle { cursor: pointer; }
.sec-head .l1 { flex: 0 0 40px; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, 0)); transform-origin: right; transition: transform .7s var(--ease); }
.sec-head .l2 { flex: 1 1 auto; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .24)); transform-origin: left; transition: transform 1.1s var(--ease) .15s; }
.sec-head h2 { margin: 0; font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -.03em; white-space: nowrap; }
.sec-head .count { font-size: 12px; font-weight: 600; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.sec-head .toggle-icon { font-size: 20px; stroke-width: 1.8; color: var(--muted); transform: rotate(90deg); transition: transform .45s var(--ease), color .3s; }
.sec-head:hover .toggle-icon { color: var(--ink); }
.closed .sec-head .toggle-icon { transform: none; }
.fold { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .55s var(--ease), opacity .4s var(--ease); }
.fold > div { min-height: 0; overflow: hidden; margin: -8px -8px 0; padding: 8px 8px 0; }
.fold.shut { grid-template-rows: 0fr; opacity: 0; }
.fold:not(.shut):not(.moving) > div { overflow: visible; }
.sec-body { padding-top: 28px; }
.grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
.faded { -webkit-mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, .12)); mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, .12)); }
.more-row { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 18px; }
.more { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; cursor: pointer; transition: color .25s; }
.more:hover { color: var(--ink); }
.more .icon { font-size: 15px; }
.more .bob { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }
.less { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border: 0; background: none; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); cursor: pointer; transition: color .25s; }
.less:hover { color: var(--ink-2); }

/* ---------- Cards ---------- */
.card { border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid rgba(255, 255, 255, .07); box-shadow: 0 18px 40px -30px rgba(0, 0, 0, .8); }
.media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #1a1c24; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .media img { transform: scale(1.04); }
.chips { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 7px; font-size: 10px; line-height: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; background: rgba(10, 14, 24, .82); border: 1px solid rgba(94, 200, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.chip b { font-size: 12px; font-weight: 650; letter-spacing: -.01em; text-transform: none; color: var(--ink); font-variant-numeric: tabular-nums; }
.chip .ccu { color: #5dfc73; }
.card-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.card-icon { width: 34px; height: 34px; border-radius: 9px; flex: 0 0 34px; object-fit: cover; background: linear-gradient(135deg, #2a2550, #1a1830); border: 1px solid rgba(255, 255, 255, .08); }
.card-name { font-size: 14px; line-height: 19px; font-weight: 600; letter-spacing: -.01em; }
.card-sub { font-size: 12px; line-height: 18px; color: var(--muted); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.card-body .card-sub { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 2px 8px; border-radius: 6px; font-size: 10.5px; line-height: 16px; font-weight: 500; color: var(--muted); background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07); }
.card-link { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.card-link .icon { font-size: 13px; transition: transform .3s var(--ease); }
.card:hover .card-link .icon { transform: translate(2px, -2px); }
.play { position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(10, 12, 18, .6); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); transition: background .35s, transform .35s var(--ease), opacity .35s; }
.play svg { width: 14px; height: 14px; fill: currentColor; margin-left: 2px; }
.card:hover .play { background: var(--purple); transform: scale(1.06); }
.card.playing .play { opacity: 0; transform: scale(.8); }
.dur { position: absolute; right: 10px; bottom: 10px; padding: 3px 7px; border-radius: 6px; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; background: rgba(10, 12, 18, .75); }
.code-win { background: #0b0c12; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.code-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.code-bar i { width: 7px; height: 7px; border-radius: 50%; background: #2a2d38; }
.code-bar span { margin-left: 6px; font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.code-win pre { margin: 0; height: 120px; overflow: hidden; padding: 12px 14px; font-family: var(--mono); font-size: 11.5px; line-height: 18px; color: var(--ink-2); white-space: pre; }
@media (max-width: 859.98px) { .grid { --cols: 2 !important; } }
@media (max-width: 559.98px) { .grid { --cols: 1 !important; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding-top: 40px; }
.contact-grid h3 { margin: 0 0 14px; max-width: 440px; font-size: 40px; line-height: 1.08; font-weight: 650; letter-spacing: -.035em; }
.contact-grid .lead { margin: 0 0 28px; max-width: 400px; font-size: 16px; line-height: 26px; color: var(--soft); }
.meta { display: flex; gap: 26px; }
.meta .sep { width: 1px; background: rgba(255, 255, 255, .08); }
.meta span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.meta b { display: block; margin-top: 5px; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.form-wrap { position: relative; }
.form-wrap::before { content: ""; position: absolute; inset: 10% -8% -4% 6%; border-radius: 50%; background: rgba(124, 105, 255, .22); filter: blur(60px); pointer-events: none; }
.form { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 18px; background: linear-gradient(180deg, #12141c, #0c0d14); border: 1px solid rgba(255, 255, 255, .09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 60px -20px rgba(0, 0, 0, .85), 0 12px 24px -12px rgba(0, 0, 0, .6); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-5px); } }
.form-title { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.form-sub { margin: 4px 0 6px; font-size: 13.5px; color: #7d859a; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.box { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 9px; background: #090a10; border: 1px solid rgba(255, 255, 255, .12); cursor: text; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.box.multi { align-items: flex-start; }
.box .icon { font-size: 17px; color: #7d859a; transition: color .25s; }
.box.multi .icon { margin-top: 1px; }
.box:focus-within { border-color: rgba(139, 123, 255, .6); box-shadow: 0 0 0 3px rgba(124, 105, 255, .14); }
.box:focus-within .icon { color: var(--lilac); }
.box input, .box textarea { flex: 1; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; font-size: 14px; line-height: 20px; color: var(--ink); resize: none; }
.box input::placeholder, .box textarea::placeholder, .search input::placeholder { color: var(--muted-2); opacity: 1; }
.box input[type="date"] { cursor: pointer; }
.box input[type="date"]:invalid, .box input[type="date"].empty { color: var(--muted-2); }
.box input[type="date"]::-webkit-calendar-picker-indicator { display: none; }
.field.bad .box, .field.bad .drop { border-color: rgba(255, 107, 107, .55); }
.field.bad .box:focus-within { box-shadow: 0 0 0 3px rgba(255, 107, 107, .12); }
.err { display: grid; grid-template-rows: 0fr; font-size: 12px; line-height: 16px; color: var(--red); transition: grid-template-rows .3s var(--ease); }
.err > span { overflow: hidden; display: flex; align-items: center; gap: 5px; }
.field.bad .err { grid-template-rows: 1fr; }
.err .icon { font-size: 12px; }
.drop { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 15px; border-radius: 9px; border: 1px dashed rgba(255, 255, 255, .16); background: #090a10; font-size: 13.5px; color: var(--muted); cursor: pointer; transition: border-color .25s var(--ease), background .25s var(--ease); }
.drop.over { border-color: rgba(139, 123, 255, .7); background: rgba(124, 105, 255, .06); }
.drop b { color: var(--lilac); font-weight: 600; }
.drop .icon { font-size: 17px; }
.drop small { color: var(--muted-2); font-size: 12px; }
.files { display: flex; flex-direction: column; gap: 6px; }
.file { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; font-size: 12.5px; color: var(--ink-2); background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); }
.file span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file small { color: var(--muted-2); font-variant-numeric: tabular-nums; }
.file button { display: flex; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; }
.file button:hover { color: var(--red); }
.send { width: 100%; margin-top: 4px; padding: 13px 16px; }
.send[disabled] { opacity: .65; cursor: progress; }
.form-status { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.form-status > div { overflow: hidden; }
.form-status.show { grid-template-rows: 1fr; }
.form-status p { margin: 0; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 9px; font-size: 13px; }
.form-status.ok p { color: #fff; background: rgba(56, 226, 200, .07); border: 1px solid rgba(56, 226, 200, .25); }
.form-status.fail p { color: #fff; background: rgba(255, 92, 92, .07); border: 1px solid rgba(255, 92, 92, .28); }
.form-status.ok p .icon { color: var(--mint); }
.form-status.fail p .icon { color: #ff8a8a; }
@media (max-width: 1099.98px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .js .contact-grid [data-r="x"] { transform: translateY(22px); }
}
@media (max-width: 809.98px) {
  .contact-grid h3 { font-size: 30px; }
  .form { padding: 18px; }
  .row2 { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; padding-bottom: 40px; }
.footer-brand { flex: 1 1 280px; }
.footer-brand p { margin: 14px 0 0; max-width: 300px; font-size: 14px; line-height: 22px; color: var(--muted); }
.footer-col { flex: 0 0 180px; }
.footer-col h4 { margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.footer-col a { display: flex; align-items: center; gap: 6px; padding: 5px 0; font-size: 14.5px; color: var(--ink-2); text-decoration: none; transition: color .25s; }
.footer-col a:hover { color: var(--ink); }
.footer-col a .icon { font-size: 13px; opacity: .55; transition: transform .3s var(--ease), opacity .25s; }
.footer-col a:hover .icon { opacity: 1; transform: translate(2px, -2px); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.legal { font-size: 12.5px; line-height: 20px; color: var(--muted-2); }
.legal b { font-weight: 500; color: var(--muted); }
.to-top { display: flex; align-items: center; gap: 7px; padding: 0; border: 0; background: none; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: color .25s; }
.to-top:hover { color: var(--ink); }
.to-top .icon { font-size: 14px; transition: transform .3s var(--ease); }
.to-top:hover .icon { transform: translateY(-2px); }

/* ---------- All work ---------- */
.work-title { margin: 0; font-size: 52px; line-height: 1.05; font-weight: 650; letter-spacing: -.035em; }
.work-intro { margin: 14px 0 28px; max-width: 520px; font-size: 16px; line-height: 26px; color: var(--soft); }
.search-wrap { position: relative; z-index: 3; }
.search { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 50px; padding: 8px 10px 8px 14px; border-radius: 12px; cursor: text; background: #0d0f16; border: 1px solid rgba(255, 255, 255, .12); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.search:focus-within { border-color: rgba(139, 123, 255, .6); box-shadow: 0 0 0 3px rgba(124, 105, 255, .14); }
.search > .icon { font-size: 17px; color: #7d859a; }
.search:focus-within > .icon { color: var(--lilac); }
.search input { flex: 1 1 160px; min-width: 120px; padding: 4px 0; border: 0; outline: 0; background: transparent; font-size: 14.5px; }
.tag-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 6px 4px 9px; border-radius: 7px; font-size: 12px; font-weight: 600; color: #e6e3ff; background: rgba(124, 105, 255, .16); border: 1px solid rgba(139, 123, 255, .35); animation: chipIn .35s var(--ease) both; }
.tag-chip button { display: flex; padding: 0; border: 0; background: none; color: var(--lilac); cursor: pointer; }
.tag-chip .icon { font-size: 12px; }
@keyframes chipIn { from { opacity: 0; transform: scale(.85); } }
.clear { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border-radius: 8px; color: var(--red); background: rgba(255, 92, 92, .08); border: 1px solid rgba(255, 92, 92, .28); cursor: pointer; transition: background .25s; }
.clear:hover { background: rgba(255, 92, 92, .16); }
.clear .icon { font-size: 15px; stroke-width: 2.2; }
.suggest { position: absolute; left: 0; top: calc(100% + 8px); min-width: 240px; background: rgba(16, 18, 26, .7); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.suggest.open { opacity: 1; transform: none; pointer-events: auto; }
.suggest-label { padding: 10px 16px 8px; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.suggest button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 11px 16px; border: 0; border-top: 1px solid rgba(255, 255, 255, .07); background: transparent; font-size: 13.5px; text-align: left; color: var(--ink-2); cursor: pointer; }
.suggest button .icon { font-size: 13px; opacity: 0; }
.suggest button.on { color: var(--ink); background: rgba(255, 255, 255, .04); }
.suggest button.on .icon { opacity: 1; }
.results { margin-top: 14px; min-height: 18px; font-size: 12.5px; color: var(--muted-2); }
.none { margin-top: 28px; padding: 40px 20px; border-radius: 14px; border: 1px dashed rgba(255, 255, 255, .12); text-align: center; font-size: 14px; color: var(--muted); }
.none button { padding: 0; border: 0; background: none; font-weight: 600; color: var(--lilac); cursor: pointer; }
.work-sec { padding-top: 48px; }
.work-sec .grid > * { animation: cardIn .6s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }
.back-row { display: flex; justify-content: center; padding-top: 26px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; transition: color .25s; }
.back:hover { color: var(--ink); }
.back .icon { font-size: 15px; transition: transform .3s var(--ease); }
.back:hover .icon { transform: translateX(-3px); }
.work-sec .divider { margin: 40px 0 0; }
@media (max-width: 809.98px) { .page.work { padding-top: 108px; } .work-title { font-size: 38px; } }
@media (min-width: 810px) { .page.work { padding-top: 128px; } }

/* ---------- Reviews ---------- */
.rv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.rv-list { min-width: 0; }
.rv-side .form, .rv-aside .form { animation: none; }
.rv-avg { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.rv-avg { gap: 6px; font-weight: 600; color: var(--ink-2); }
.rv-avg b { font-weight: 600; }
.rv-avg span { color: var(--muted-2); font-weight: 500; }
.review { display: flex; flex-direction: column; gap: 14px; padding: 18px; scroll-margin-top: 110px; }
.review.flash { border-color: rgba(175, 169, 236, .45); box-shadow: 0 0 0 3px rgba(124, 105, 255, .14); }
.rv-head { display: flex; align-items: center; gap: 14px; }
.rv-avatar { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 50%; object-fit: cover; background: #1a1c24; border: 1px solid rgba(255, 255, 255, .08); }
.rv-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rv-name { font-size: 15px; line-height: 20px; font-weight: 650; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-handle { font-size: 12.5px; line-height: 17px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 11.5px; line-height: 15px; color: var(--muted-2); }
.rv-verified { display: inline-flex; align-items: center; gap: 5px; color: #aab3ff; }
.review > .rv-verified { align-self: flex-start; font-size: 11.5px; line-height: 15px; }
.rv-verified svg { width: 12px; height: 12px; }
.rv-posted { display: inline-flex; align-items: center; gap: 5px; }
.rv-posted .icon { font-size: 12px; }
.rv-view { align-self: flex-start; display: flex; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: color .3s; }
.review:hover .rv-view { color: var(--ink); }
.rv-view .icon { font-size: 13px; transition: transform .35s var(--ease); }
.review:hover .rv-view .icon { transform: translate(2px, -2px); }
.rv-stars { display: inline-flex; gap: 2px; }
.rv-stars svg { width: 17px; height: 17px; fill: rgba(255, 255, 255, .13); }
.rv-stars svg.on { fill: #a99bff; }
.rv-stars.sm svg { width: 13px; height: 13px; }
.rv-text { margin: 0; font-size: 13.5px; line-height: 21px; color: var(--ink-2); white-space: pre-line; overflow-wrap: anywhere; }
.rv-list .rv-text { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.rv-files { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-files a { display: block; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); background: #1a1c24; }
.rv-files img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.rv-files a:hover img { transform: scale(1.06); }
.rv-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 48px 20px; border-radius: 16px; border: 1px dashed rgba(255, 255, 255, .12); text-align: center; color: var(--muted); font-size: 14px; }
.rv-empty b { color: var(--ink); font-size: 16px; }
.rv-lookup:empty { display: none; }
.rv-found { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 9px; background: rgba(0, 0, 0, .12); border: 1px solid rgba(255, 255, 255, .28); font-size: 13px; animation: chipIn .35s var(--ease) both; }
.rv-found .rv-avatar { width: 32px; height: 32px; flex-basis: 32px; }
.rv-found > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 17px; }
.rv-found > div span { color: var(--muted); font-size: 12px; }
.rv-ok { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: rgba(0, 0, 0, .14); color: var(--mint); font-size: 16px; }
.rv-found.loading { color: var(--muted); background: rgba(255, 255, 255, .03); border-color: var(--line); }
.rv-avatar.sk { display: inline-block; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.form .mono { font-family: var(--mono); font-size: 13px; }
.rv-help summary { font-size: 12px; color: var(--lilac); cursor: pointer; list-style: none; width: max-content; }
.rv-help summary::-webkit-details-marker { display: none; }
.rv-help p { margin: 6px 0 0; font-size: 12.5px; line-height: 19px; color: var(--muted); }
.rv-help b { color: var(--ink-2); font-weight: 600; }
.rv-rate { display: flex; align-items: center; gap: 2px; }
.rv-rate-title { margin-right: 8px; font-size: 12.5px; color: var(--muted); }
.rv-rate button { display: flex; padding: 2px; border: 0; background: none; cursor: pointer; border-radius: 6px; }
.rv-rate svg { width: 20px; height: 20px; fill: none; stroke: #4a5063; stroke-width: 1.6; stroke-linejoin: round; transition: fill .2s, stroke .2s; }
.rv-rate button.on svg { fill: #a99bff; stroke: #a99bff; }

/* Review form: a flat card, as in the design */
.rv-form { gap: 14px; padding: 20px; border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid rgba(255, 255, 255, .07); box-shadow: none; animation: none; }
.rv-form .form-title { font-size: 17px; line-height: 22px; }
.rv-form .form-sub { margin: 3px 0 0; font-size: 12.5px; line-height: 18px; color: var(--muted); }
.rv-form .send { margin-top: 0; height: 42px; padding: 0 16px; border-radius: 10px; font-size: 14px; }
.rv-note { margin-top: -4px; font-size: 11px; line-height: 16px; text-align: center; color: var(--muted-2); }
.rv-ok .icon { stroke-width: 2.2; font-size: 14px; }

/* /reviews page */
.rv-page { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.rv-main { min-width: 0; }
.rv-bar-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.rv-filters, .rv-sort { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-filters button, .rv-sort button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, .035); border: 1px solid var(--line); cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.rv-filters button small { font-size: 11px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.rv-filters button.on, .rv-sort button.on { color: #e6e3ff; background: rgba(124, 105, 255, .16); border-color: rgba(139, 123, 255, .35); }
.rv-filters button.on small { color: var(--lilac); }
#rv-grid > * { animation: cardIn .6s var(--ease) both; animation-delay: var(--d, 0ms); }
.rv-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.rv-summary { padding: 18px; border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid rgba(255, 255, 255, .07); display: flex; flex-direction: column; gap: 8px; }
.rv-sum-top { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.rv-sum-top > b { font-size: 40px; line-height: 1; font-weight: 650; letter-spacing: -.03em; }
.rv-sum-top > div { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--muted); }
.rv-bar { display: grid; grid-template-columns: 12px 1fr 24px; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rv-bar > div { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.rv-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #6c5ce7, #a99bff); transition: width .8s var(--ease); }
.rv-bar small { text-align: right; }
.rv-bar-head { margin-bottom: -2px; font-size: 11px; font-weight: 600; color: var(--muted-2); }
.rv-bar-head > div { height: 0; background: none; }
@media (max-width: 1019.98px) {
  .rv-layout, .rv-page { grid-template-columns: 1fr; }
  .rv-aside { position: static; }
  .js .rv-layout [data-r="x"] { transform: translateY(22px); }
}
@media (max-width: 699.98px) { .rv-grid { --cols: 1 !important; } }
@media (max-width: 479.98px) { .rv-head { flex-wrap: wrap; } .rv-view { margin-left: 67px; } }
