/* ============ TOKENS ============ */
:root {
  --bg: #0c0c12;
  --bg-2: #11111a;
  --card: #15151f;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f1f1f6;
  --muted: #a3a3b5;
  --dim: #6d6d80;
  --accent: #8b5cf6;
  --accent-2: #a78bfa;
  --accent-deep: #2a1760;
  --grad: linear-gradient(100deg, #8b5cf6 0%, #6366f1 45%, #3b82f6 100%);
  --radius: 22px;
  --stack-top: 180px;
  --display: "Sora", "Inter", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em {
  font-style: normal;
  color: var(--accent);
}
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--accent); color: #fff; }

.container { width: min(1000px, 100% - 40px); margin-inline: auto; }
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.h2 em { padding-right: .04em; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: inset 0 -3px 0 rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--sm { padding: 9px 18px; }
.btn--glow { box-shadow: 0 8px 34px rgba(139,92,246, .5), inset 0 -3px 0 rgba(0,0,0,.18); }
.btn--dark { background: #0c0c12; color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.3); }

/* ============ CURSOR ============ */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none;
  width: 14px; height: 14px; border-radius: 999px; background: var(--accent);
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 0 18px rgba(139,92,246, .6);
  transition: width .35s var(--ease), height .35s var(--ease), opacity .3s;
}
.cursor span { font-size: 13px; font-weight: 500; color: #fff; white-space: nowrap; opacity: 0; transition: opacity .2s; }
.cursor.is-project { width: 100px; height: 32px; }
.cursor.is-project span { opacity: 1; transition-delay: .1s; }
@media (hover: none) { .cursor { display: none; } }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 24px; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center; pointer-events: none;
}
.nav__pill {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 620px; height: 58px; padding: 0 10px 0 12px;
  background: rgba(22, 22, 32, .7);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: width .6s var(--ease);
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; white-space: nowrap; }
.nav__avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(139,92,246,.6); }
.nav__links { display: flex; align-items: center; gap: 22px; font-size: 15px; transition: opacity .3s; }
.nav__links > a:not(.btn) { color: #cfcfdc; transition: color .2s; }
.nav__links > a:not(.btn):hover { color: #fff; }
.nav__burger {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; display: grid; place-content: center; gap: 4px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.nav__burger span { display: block; width: 16px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav__menu {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  background: rgba(22, 22, 32, .94); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 20px; padding: 8px;
  display: grid; opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.nav__menu a { padding: 12px 14px; border-radius: 12px; font-size: 15px; }
.nav__menu a:hover { background: rgba(139,92,246,.14); }

.nav.is-compact .nav__pill { width: 300px; }
.nav.is-compact .nav__links { opacity: 0; pointer-events: none; }
.nav.is-compact .nav__burger { opacity: 1; pointer-events: auto; }
.nav.menu-open .nav__menu { opacity: 1; transform: none; pointer-events: auto; }
.nav.menu-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative; height: 680px; min-height: 640px;
  display: flex; flex-direction: column; align-items: center;
  overflow: hidden; padding-top: 108px;
}
.hero__glow {
  position: absolute; left: 50%; top: 250px; width: 620px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(59,130,246,.38), rgba(59,130,246,.14) 55%, transparent);
  filter: blur(20px); pointer-events: none;
}
.hero__title {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  font-family: "Roboto", sans-serif; font-weight: 900; line-height: .84;
  letter-spacing: -0.04em; text-align: center; user-select: none;
}
.hero__l1 {
  font-size: clamp(76px, 14.2vw, 204px);
  background: linear-gradient(180deg, #fff 30%, #cfd0dc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__l2 {
  font-size: clamp(70px, 13.4vw, 192px);
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-top: 4px; padding-right: .04em;
}
.hero__l1, .hero__l2 { display: block; opacity: 0; transform: translateY(40px); filter: blur(10px); animation: rise 1.1s var(--ease) forwards; }
.hero__l2 { animation-delay: .15s; }
.hero__avatar {
  position: absolute; left: 50%; bottom: -70px; z-index: 2;
  width: clamp(320px, 40vw, 560px);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)) drop-shadow(0 0 1px rgba(160,140,255,.5));
  transform: translateX(-50%) translateY(60px); opacity: 0;
  animation: pop 1.2s .35s var(--ease) forwards;
  will-change: transform;
}
.hero__bottom {
  position: absolute; left: 0; right: 0; bottom: 110px; z-index: 3;
  width: min(1000px, 100% - 40px); margin-inline: auto;
  display: flex; justify-content: space-between; align-items: flex-end;
  opacity: 0; animation: fade 1s .7s var(--ease) forwards;
  pointer-events: none;
}
.hero__bottom > * { pointer-events: auto; }
.hero__tagline { font-size: 19px; line-height: 1.38; color: #c9c9d6; font-weight: 400; }
.hero__tagline span { color: var(--muted); }
.hero__hint {
  position: absolute; bottom: 22px; right: max(20px, calc(50% - 500px)); z-index: 3;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: .02em;
  opacity: 0; animation: fade 1s 1.2s forwards;
}
.hero__hint i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 1.6s infinite; }

@keyframes rise { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes pop { to { opacity: 1; transform: translateX(-50%); } }
@keyframes fade { to { opacity: 1; } }
@keyframes pulse { 50% { transform: scale(1.6); opacity: .5; } }

/* ============ STRIP ============ */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); position: relative; z-index: 3; }
.strip__inner { display: flex; align-items: center; gap: 48px; height: 106px; }
.strip__stats { display: flex; gap: 28px; flex-shrink: 0; }
.strip__stats > div { display: flex; align-items: center; gap: 10px; }
.strip__stats strong { font-family: var(--display); font-size: 34px; font-weight: 700; color: var(--accent); }
.strip__stats span { font-size: 13px; line-height: 1.25; color: var(--muted); }
.happy { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.happy__faces { display: flex; }
.happy__faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg-2); margin-left: -12px; }
.happy__faces img:first-child { margin-left: 0; }
.happy__stars { color: var(--accent); font-size: 17px; letter-spacing: 3px; line-height: 1; }
.happy__text { font-size: 17px; color: #d8d8e2; margin-top: 5px; }

.logos {
  flex: 1; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logos__track { display: flex; align-items: center; gap: 48px; width: max-content; animation: marquee 18s linear infinite; }
.stack-item { display: inline-flex; align-items: center; gap: 10px; color: #9c9cae; font-size: 17px; font-weight: 500; white-space: nowrap; }
.stack-item img { width: 22px; height: 22px; filter: invert(.7); }
.logo-item { height: 24px; width: auto; max-width: 150px; object-fit: contain; opacity: .7; transition: opacity .3s; flex-shrink: 0; }
.logo-item:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ AD VIDEO ============ */
.ad { padding: 90px 0 20px; }
.ad__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 36px; }
.ad__sub { color: var(--muted); font-size: 16px; line-height: 1.5; max-width: 300px; margin-bottom: 6px; }
.ad__frame {
  position: relative; border-radius: 26px; overflow: hidden; background: #000;
  aspect-ratio: 16 / 9; border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(139,92,246,.12);
}
.ad__video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.ad__play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; border-radius: 50%;
  transform: translate(-50%, -50%) scale(.9); display: grid; place-items: center;
  background: var(--accent); box-shadow: 0 10px 40px rgba(139,92,246,.55);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease);
}
.ad__play svg { width: 32px; height: 32px; fill: #fff; margin-left: 4px; }
.ad__frame.is-paused .ad__play { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.ad__play:hover { transform: translate(-50%, -50%) scale(1.06) !important; }
.ad__sound {
  position: absolute; left: 18px; bottom: 22px; display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px 10px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #fff;
  background: rgba(12,12,18,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14); transition: background .3s, transform .3s var(--ease);
}
.ad__sound:hover { transform: translateY(-2px); }
.ad__sound svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ad__sound svg path:first-child { fill: currentColor; }
.ad__ico-on { display: none; }
.ad__frame.is-muted .ad__sound { background: var(--accent); border-color: var(--accent); animation: adNudge 2.4s ease-in-out infinite; }
.ad__frame:not(.is-muted) .ad__ico-on { display: block; }
.ad__frame:not(.is-muted) .ad__ico-off { display: none; }
@keyframes adNudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(139,92,246,.6); } 50% { box-shadow: 0 0 0 10px rgba(139,92,246,0); } }
.ad__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.12); }
.ad__progress i { display: block; height: 100%; width: 0; background: var(--accent); }

/* ============ WORK BENTO ============ */
.projects { padding: 90px 0 90px; }
.projects__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.projects__sub { color: var(--muted); font-size: 16px; line-height: 1.5; max-width: 320px; margin-bottom: 6px; }

.work-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 14px; }
.wtile {
  position: relative; overflow: hidden; isolation: isolate; cursor: none;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 20px; border-radius: 22px; background: var(--card); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .35s, background .35s, opacity 1s var(--ease), filter 1s var(--ease);
}
.wtile--l { grid-column: span 2; grid-row: span 2; background: var(--accent); border-color: var(--accent); }
.wtile--w { grid-column: span 2; }
.wtile--t { grid-row: span 2; }
.wtile:hover { transform: translateY(-4px); border-color: rgba(139,92,246,.6); background: #1a1530; }
.wtile--l:hover { background: #7c4de8; border-color: #7c4de8; }
.wtile__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.wtile__kind { font-family: var(--mono); font-size: 11px; color: var(--muted); padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wtile__arrow { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-size: 14px; transition: transform .45s var(--ease), background .3s, color .3s, border-color .3s; }
.wtile:hover .wtile__arrow { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.wtile--l:hover .wtile__arrow { background: #fff; color: var(--accent); border-color: #fff; }
.wtile__idx {
  position: absolute; right: 14px; bottom: -18px; z-index: -1;
  font-family: "Roboto", sans-serif; font-weight: 900; font-size: 120px; line-height: 1; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); transition: -webkit-text-stroke-color .4s, transform .6s var(--ease);
}
.wtile:hover .wtile__idx { -webkit-text-stroke-color: rgba(139,92,246,.35); transform: translateY(-6px); }
.wtile--l .wtile__idx { font-size: 260px; bottom: -44px; -webkit-text-stroke: 1.5px rgba(255,255,255,.22); }
.wtile--l:hover .wtile__idx { -webkit-text-stroke-color: rgba(255,255,255,.4); }
.wtile h3 { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.wtile p { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 8px; max-width: 420px; }
.wtile--s p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; }
.wtile__url { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--accent); margin-top: 10px; }
.wtile--l h3 { font-size: 40px; }
.wtile--l p { font-size: 17px; color: rgba(255,255,255,.88); max-width: 380px; }
.wtile--l .wtile__kind { color: #fff; border-color: rgba(255,255,255,.4); }
.wtile--l .wtile__arrow { border-color: rgba(255,255,255,.4); }
.wtile--l .wtile__url { color: #fff; opacity: .8; }
.wtile--t h3 { font-size: 26px; }
.wtile--gh { border-style: dashed; border-color: rgba(139,92,246,.45); }
.wtile.reveal { transform: translateY(30px); transition: transform .6s var(--ease), opacity .9s var(--ease), filter .9s var(--ease), border-color .35s, background .35s; }
.wtile.reveal.in { transform: none; }
.wtile.reveal.in:hover { transform: translateY(-4px); }

/* ============ QUOTE ============ */
.quote { border-top: 1px solid var(--line); padding: 56px 0 64px; }
.quote__inner { text-align: center; }
.quote__mark { display: block; font-family: var(--display); font-size: 80px; line-height: .8; height: 40px; color: var(--accent); }
.quote blockquote {
  max-width: 680px; margin: 0 auto;
  font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5; color: #bdbdcc; font-weight: 300;
}
.person { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; text-align: left; }
.person__img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(139,92,246,.6); }
.person strong { display: block; font-size: 16px; font-weight: 600; color: #e4e4ee; }
.person span { font-size: 13px; color: var(--muted); }

/* ============ SERVICES ============ */
.eyebrow { display: block; font-family: var(--mono); font-size: 13px; color: var(--accent); margin-bottom: 16px; }
.services { border-top: 1px solid var(--line); padding: 90px 0 100px; }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.services__sub { color: var(--muted); font-size: 17px; line-height: 1.55; max-width: 340px; margin-bottom: 6px; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bcard {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  padding: 24px; display: flex; flex-direction: column;
  transition: transform .45s var(--ease), border-color .35s, background .35s;
}
.bcard:hover { transform: translateY(-4px); border-color: rgba(139,92,246,.55); background: #151a2a; }
.bcard--web { grid-column: span 2; }
.bcard__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.bcard__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.25); transition: background .35s, border-color .35s; }
.bcard__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.bcard:hover .bcard__icon { background: var(--accent); border-color: var(--accent); }
.bcard:hover .bcard__icon svg { stroke: #fff; }
.bcard__num { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.bcard h3 { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.bcard p { color: #b3b3c4; font-size: 16px; line-height: 1.5; margin: 10px 0 20px; max-width: 520px; }
.bcard .chips { margin-top: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); font-size: 13px; color: #d9d9e4; background: rgba(255,255,255,.02); }
.bcard__note {
  display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 13.5px; color: #ddd0fa;
  background: #0c0c12; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
}
.bcard__note strong { color: #fff; font-weight: 600; }
.bcard__note-dot { width: 8px; height: 8px; border-radius: 50%; background: #28c840; box-shadow: 0 0 8px #28c840; flex-shrink: 0; }
.bcard__prompt {
  margin-top: 22px; font-family: var(--mono); font-size: 12.5px; line-height: 1.5; color: #c9b8ff;
  background: #0c0c12; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.bcard__prompt span { color: var(--accent); }
.bcard__prompt i { display: inline-block; width: 7px; height: 14px; background: var(--accent); vertical-align: -2px; margin-left: 4px; animation: blink 1s steps(1) infinite; }
.bcard__prompt .ok { color: #7ee2a8; }


/* ============ ABOUT ============ */
.about { border-top: 1px solid var(--line); padding: 90px 0 110px; }
.about__grid { display: grid; grid-template-columns: 370px 1fr; gap: 44px; margin-top: 70px; align-items: start; }
.about__left { position: sticky; top: 100px; }
.about__photo {
  position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 370 / 400;
  background:
    radial-gradient(circle at 50% 38%, #8b5cf6 0%, #6d28d9 40%, #1e0b3d 85%);
  display: flex; align-items: flex-end; justify-content: center;
}
.about__photo::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(180deg, #000, transparent 80%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); }
.about__photo > img { position: relative; width: 100%; height: 94%; object-fit: cover; object-position: top center; filter: drop-shadow(0 20px 30px rgba(0,0,0,.45)); }
.about__photo::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(8,14,34,.75)); pointer-events: none; }
.about__socials { position: absolute; right: 12px; top: 12px; z-index: 2; display: flex; gap: 6px; }
.about__socials a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: rgba(12,12,18,.55); backdrop-filter: blur(8px); transition: background .2s; }
.about__socials a:hover { background: var(--accent); }
.about__socials img, .socials img { width: 15px; height: 15px; filter: invert(1); }
.about__name { font-family: var(--display); font-size: 24px; font-weight: 600; margin-top: 26px; }
.about__role { font-size: 17px; line-height: 1.5; color: #b3b3c3; margin-top: 8px; }
.resume { display: inline-flex; gap: 6px; margin-top: 18px; font-size: 14px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(139,92,246,.5); color: #d7d0ff; transition: background .3s; }
.resume:hover { background: rgba(139,92,246,.15); }
.about__text p { font-size: 18px; line-height: 1.55; color: #b9b9c8; margin-bottom: 20px; font-weight: 300; }
.reveal-sign { margin: 14px 0 0; }
.sig-svg { display: block; width: 240px; height: auto; margin-left: -8px; overflow: visible; }
.sig-svg mask path {
  fill: none; stroke: #fff; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.reveal-sign.in .sig-svg mask path { animation-name: sigDraw; animation-timing-function: linear; animation-fill-mode: forwards; }
@keyframes sigDraw { to { stroke-dashoffset: 0; } }

/* ============ REVIEWS ============ */
.reviews { border-top: 1px solid var(--line); padding: 90px 0 70px; }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 56px; }
.reviews__head .h2 { max-width: 640px; }
.reviews__side { color: var(--muted); font-size: 15px; line-height: 1.5; text-align: right; margin-bottom: 8px; }
.reviews__marquee { overflow: hidden; padding: 6px 0; }
.reviews__track { display: flex; align-items: stretch; gap: 20px; width: max-content; animation: marquee 48s linear infinite; }
.reviews__marquee:hover .reviews__track { animation-play-state: paused; }
.rcard {
  width: 340px; flex-shrink: 0;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px;
  padding: 24px 22px 22px; display: flex; flex-direction: column;
  transition: background .45s var(--ease), transform .45s var(--ease), border-color .45s;
}
.rcard:hover { background: var(--accent-deep); border-color: rgba(139,92,246,.5); transform: translateY(-4px); }
.rcard__q { font-family: var(--display); font-size: 46px; line-height: .6; height: 22px; color: var(--accent); }
.rcard p { font-size: 15.5px; line-height: 1.6; color: #b9b9c8; margin-top: 12px; flex: 1; }
.rcard__who { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 20px; }
.rcard__who img, .rcard__init { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.rcard__init { display: grid; place-items: center; background: var(--accent); font-family: var(--display); font-weight: 700; font-size: 14px; }
.rcard__who strong { display: block; font-size: 15px; font-weight: 600; }
.rcard__who span { font-size: 12.5px; color: var(--muted); }

/* ============ FAQ ============ */
.faq { border-top: 1px solid var(--line); padding: 70px 0 70px; }
.faq__grid { display: grid; grid-template-columns: 1fr 410px; gap: 32px; align-items: start; }
.faq .h2 { margin-bottom: 36px; }
.accordion { display: grid; gap: 14px; }
.acc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: background .3s, border-color .3s; }
.acc:hover { background: #1a1a26; }
.acc.open { border-color: rgba(139,92,246,.4); }
.acc__q { width: 100%; display: flex; align-items: center; gap: 18px; padding: 17px 18px; text-align: left; font-size: 16px; font-weight: 500; color: #e6e6ee; }
.acc__num { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.acc__label { flex: 1; }
.acc__icon { position: relative; width: 12px; height: 12px; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease); }
.acc__icon::after { transform: rotate(90deg); }
.acc.open .acc__icon::after { transform: rotate(0deg); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc__a > p { overflow: hidden; padding: 0 18px 0 49px; color: #a8a8b8; font-size: 15px; line-height: 1.6; transition: padding .45s var(--ease); }
.acc.open .acc__a { grid-template-rows: 1fr; }
.acc.open .acc__a > p { padding-bottom: 18px; }

.cta { position: sticky; top: 110px; background: var(--accent); border-radius: 24px; padding: 30px 30px 32px; margin-top: 84px; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 30px solid rgba(255,255,255,.08); }
.cta__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.cta h3 { font-family: var(--display); font-size: 30px; line-height: 1.1; margin: 24px 0 16px; letter-spacing: -.02em; }
.cta p { font-size: 17px; line-height: 1.45; margin-bottom: 16px; color: rgba(255,255,255,.92); }
.cta__actions { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; margin-top: 26px; }

/* ============ FOOTER ============ */
@keyframes blink { 50% { opacity: 0; } }
.footer { border-top: 1px solid var(--line); padding: 100px 0 0; overflow: hidden; }
.footer__cta { display: grid; grid-template-columns: 1fr 420px; gap: 50px; align-items: center; }
.footer__lead { color: var(--muted); font-size: 18px; line-height: 1.5; margin-top: 18px; max-width: 420px; }
.footer__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.copy-email {
  display: inline-flex; align-items: center; gap: 12px; padding: 7px 7px 7px 18px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); font-size: 15px; transition: border-color .3s;
}
.copy-email:hover { border-color: rgba(139,92,246,.6); }
.copy-email__tag { font-family: var(--mono); font-size: 12px; padding: 7px 12px; border-radius: 999px; background: #22222f; transition: background .3s; }
.copy-email.copied .copy-email__tag { background: var(--accent); }

.linkstack { display: grid; gap: 10px; }
.lk {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  opacity: 0; transform: translateX(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .3s, background .3s;
}
.linkstack.in .lk { opacity: 1; transform: none; }
.linkstack.in .lk:nth-child(2) { transition-delay: .12s, .12s, 0s, 0s; }
.linkstack.in .lk:nth-child(3) { transition-delay: .24s, .24s, 0s, 0s; }
.linkstack.in .lk:nth-child(4) { transition-delay: .36s, .36s, 0s, 0s; }
.linkstack.in .lk:nth-child(5) { transition-delay: .48s, .48s, 0s, 0s; }
.lk:hover { border-color: rgba(139,92,246,.6); background: #1a1530; }
.lk__logo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #1e1e2a; flex-shrink: 0; transition: background .3s; }
.lk__logo img { width: 20px; height: 20px; filter: invert(1); }
.lk__logo .ico { width: 20px; height: 20px; }
.lk:hover .lk__logo { background: var(--accent); }
.lk__txt { flex: 1; min-width: 0; }
.lk__txt strong { display: block; font-size: 15px; font-weight: 600; }
.lk__txt span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk__arrow { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-size: 14px; transition: transform .4s var(--ease), background .3s, border-color .3s; }
.lk:hover .lk__arrow { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }

.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 90px; padding: 22px 0; border-top: 1px solid var(--line); }
.footer__me { display: flex; align-items: center; gap: 12px; }
.footer__me img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.footer__me strong { display: block; font-size: 15px; font-weight: 600; }
.footer__me span { font-size: 12px; color: var(--dim); }
.footer__nav { display: flex; gap: 26px; font-size: 14px; color: #c5c5d2; }
.footer__nav a:hover { color: var(--accent); }
.to-top { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.to-top:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }

.footer__marquee { border-top: 1px solid var(--line); padding: 26px 0 110px; overflow: hidden; }
.footer__marquee-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 30s linear infinite; }
.footer__marquee span {
  font-family: "Roboto", sans-serif; font-weight: 900; font-size: clamp(56px, 9vw, 120px); letter-spacing: -.04em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.22); transition: color .3s, -webkit-text-stroke-color .3s;
}
.footer__marquee span:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.footer__marquee b { color: var(--accent); font-size: 36px; }

/* ============ DOCK ============ */
.dock {
  position: fixed; left: 50%; bottom: 32px; z-index: 90;
  transform: translate(-50%, 140%); opacity: 0;
  background: rgba(20, 20, 30, .8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  transition: transform .6s var(--ease), opacity .5s;
  height: 66px; overflow: hidden; width: 300px;
}
.dock.show { transform: translate(-50%, 0); opacity: 1; }
.dock__wide, .dock__compact { position: absolute; inset: 8px; display: flex; align-items: center; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.dock__wide { gap: 8px; }
.dock__btn { flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; background: #22222f; font-size: 14px; border: 1px solid rgba(255,255,255,.08); }
.dock__btn--accent { background: var(--accent); border-color: transparent; }
.dock__compact { opacity: 0; transform: translateY(20px); pointer-events: none; gap: 8px; padding-left: 14px; }
.dock__text { flex: 1; line-height: 1.2; }
.dock__text strong { display: block; font-weight: 600; font-size: 15px; }
.dock__text span { font-size: 13px; color: #a5a5b8; }
.dock__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #22222f; border: 1px solid rgba(255,255,255,.08); transition: transform .3s var(--ease); }
.dock__icon:hover { transform: scale(1.08); }
.dock__icon--accent { background: var(--accent); border-color: transparent; box-shadow: 0 0 20px rgba(139,92,246,.5); }
.dock.compact .dock__wide { opacity: 0; transform: translateY(-20px); pointer-events: none; }
.dock.compact .dock__compact { opacity: 1; transform: none; pointer-events: auto; }

/* ============ REVEALS ============ */
.reveal { opacity: 0; transform: translateY(40px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: blur(0); }
.w { display: inline-block; opacity: 0; transform: translateY(24px); filter: blur(10px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.in .w { opacity: 1; transform: none; filter: blur(0); }
.reveal-lines p { opacity: 0; filter: blur(8px); transform: translateY(16px); transition: opacity 1s var(--ease), filter 1s var(--ease), transform 1s var(--ease); }
.reveal-lines.in p { opacity: 1; filter: blur(0); transform: none; }
.reveal-lines.in p:nth-child(2) { transition-delay: .12s; }
.reveal-lines.in p:nth-child(3) { transition-delay: .24s; }
.reveal-lines.in p:nth-child(4) { transition-delay: .36s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .about__grid, .faq__grid, .footer__cta { grid-template-columns: 1fr; }
  .about__left, .cta { position: static; }
  .services__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bcard--web { grid-column: 1 / -1; }
  .toolbar { flex-direction: column; align-items: flex-start; }
  .work-bento { grid-template-columns: repeat(2, 1fr); }
  .cta { margin-top: 20px; }
  .strip__inner { flex-direction: column; height: auto; padding: 24px 0; gap: 20px; }
  .logos { width: 100%; }
  .reviews__head, .ad__head { flex-direction: column; align-items: flex-start; }
  .reviews__side { text-align: left; }
  .about__left { max-width: 420px; }
}
@media (max-width: 640px) {
  .nav { top: 14px; }
  .nav__pill { width: calc(100% - 32px); }
  .nav .nav__links { opacity: 0; pointer-events: none; }
  .nav .nav__burger { opacity: 1; pointer-events: auto; }
  .nav.is-compact .nav__pill { width: calc(100% - 32px); }
  .hero { height: 700px; padding-top: 110px; }
  .hero__avatar { width: 360px; bottom: -40px; }
  .hero__bottom { bottom: auto; top: 300px; flex-direction: column; gap: 14px; align-items: flex-start; }
  .hero__l1 { font-size: 17vw; }
  .hero__l2 { font-size: 16vw; white-space: nowrap; }
  .hero__bottom { top: 250px; }
  .hero__tagline { font-size: 16px; }
  .hero__hint { display: none; }
  .bento { grid-template-columns: 1fr; }
  .work-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .ad__frame { border-radius: 18px; }
  .ad__sound { left: 12px; bottom: 14px; padding: 8px 12px 8px 10px; font-size: 13px; }
  .ad__play { width: 64px; height: 64px; }
  .wtile, .wtile--l, .wtile--w, .wtile--t { grid-column: auto; grid-row: auto; min-height: 180px; }
  .wtile--l { min-height: 300px; }
  .wtile--l h3 { font-size: 32px; }
  .rcard { width: 290px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__nav { flex-wrap: wrap; gap: 16px; }
  .dock { bottom: 16px; }
}
