/* ======================================================
   Sanju's Portfolio: dark + glowing orange, Apple-style motion
   ====================================================== */
:root {
  --bg: #070605;
  --panel: #121010;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #f4efea;
  --muted: #9b928b;
  --dim: #6c645e;
  --orange: #ff5b1f;
  --orange-2: #ff7a35;
  --orange-deep: #c63a08;
  --glow: 0 0 0 1px rgba(255, 110, 50, 0.35), 0 8px 30px -6px rgba(255, 91, 31, 0.6);
  --radius: 18px;
  --max: 1180px;
  --font: 'Urbanist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* motion: Apple-like ease-out, plus a real spring with a little bounce */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, 0.009, 0.035 2.1%, 0.141, 0.281 6.7%, 0.723 12.9%, 0.938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.974 53.8%, 0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1.004 83.8%, 1);
    --spring-soft: linear(0, 0.012, 0.047 2.6%, 0.184 5.4%, 0.403 9%, 0.69 13.6%, 0.876 17.6%, 0.958, 1.019 23.3%, 1.059, 1.08 29.2%, 1.084 31.4%, 1.078 34.2%, 1.039 41.9%, 1.011 49.3%, 0.997 57.8%, 0.996 64.5%, 1);
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.06; letter-spacing: -0.025em; font-weight: 600; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange-2); outline-offset: 3px; border-radius: 8px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.accent { color: var(--orange-2); }

/* ---------- 3D shapes layer ---------- */
.shapes-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 6; pointer-events: none; }
.slot { position: absolute; aspect-ratio: 1; z-index: 2; border-radius: 50%; -webkit-tap-highlight-color: transparent; }

/* ---------- buttons (springy) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .6s var(--spring), box-shadow .4s var(--ease), background .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn:active { transform: scale(0.94); transition-duration: .12s; }
.btn span[aria-hidden] { transition: transform .5s var(--spring); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }
.btn--orange { background: linear-gradient(180deg, var(--orange-2), var(--orange)); color: #fff; box-shadow: var(--glow); }
.btn--orange:hover { box-shadow: 0 0 0 1px rgba(255, 130, 70, .5), 0 12px 44px -4px rgba(255, 91, 31, .9); }
.btn--dark { background: linear-gradient(180deg, #1f1b19, #141110); border-color: var(--line-2); }
.btn--dark:hover { border-color: rgba(255,120,60,.45); }
.btn--ghost { background: rgba(255,255,255,.04); border-color: var(--line-2); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--xs { height: 30px; padding: 0 12px; font-size: 12.5px; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px 20px; transform: translateY(-120%); animation: navIn 1s var(--ease) .2s forwards; }
@keyframes navIn { to { transform: none; } }
.nav__inner {
  max-width: var(--max); margin: 0 auto; height: 60px; padding: 0 10px 0 22px;
  display: flex; align-items: center; gap: 24px; border-radius: 999px;
  border: 1px solid transparent; transition: background .5s var(--ease), border-color .5s, backdrop-filter .5s, transform .6s var(--spring);
}
.nav.is-scrolled .nav__inner { background: rgba(14, 12, 11, .66); border-color: var(--line); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); }
.nav.is-hidden .nav__inner { transform: translateY(-110px); }
.logo { font-weight: 900; font-size: 21px; letter-spacing: .02em; display: inline-flex; align-items: flex-start; }
.logo__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); margin-left: 2px; margin-top: 3px; animation: pulse 2.4s var(--ease-in-out) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 18px 3px var(--orange); } }
.nav__links { display: flex; gap: 4px; margin: 0 auto; position: relative; }
.nav__links a { font-size: 14px; color: var(--muted); padding: 8px 13px; border-radius: 999px; transition: color .3s, background .4s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(255,255,255,.07); }
.nav__burger { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .5s var(--spring), top .4s var(--ease); }
.nav__burger span:first-child { top: 16px; } .nav__burger span:last-child { top: 24px; }
.nav.is-open .nav__burger span:first-child { top: 20px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  --tf: clamp(48px, 8.6vw, 170px);           /* title size: one line on desktop */
  --av: min(620px, 44vw, 68svh);             /* avatar size */
  position: relative; min-height: 100svh; padding: 112px 20px 0; text-align: center;
  display: flex; flex-direction: column; align-items: center; isolation: isolate; overflow: clip;
}
.hero::before { content: ''; position: absolute; inset: auto 0 0; height: 70%; z-index: -2; background: radial-gradient(55% 55% at 50% 85%, rgba(255, 91, 31, .2), transparent 70%); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__title {
  font-size: var(--tf); font-weight: 900; line-height: .86; letter-spacing: -0.035em; text-transform: uppercase;
  display: flex; gap: .2em; justify-content: center; flex-wrap: nowrap; white-space: nowrap; position: relative; z-index: 1;
  color: #f4efea; will-change: transform, opacity, filter;
}
.hero__word { display: inline-flex; }
.char { display: inline-block; overflow: hidden; padding: .04em 0 .08em; margin: -.04em 0 -.08em; }
.char > i { font-style: normal; display: inline-block; -webkit-background-clip: text; background-clip: text; color: transparent; background-image: linear-gradient(180deg, #ffffff 25%, #e2d8d1 70%, #a2968e 100%); }
.js .char > i { transform: translateY(105%) rotate(6deg); filter: blur(6px); opacity: 0; }
.js .is-ready .char > i { transform: none; filter: none; opacity: 1; transition: transform 1.1s var(--spring-soft, var(--ease)), filter .8s var(--ease), opacity .6s var(--ease); transition-delay: calc(var(--i) * 38ms + 150ms); }

.hero__avatar {
  position: relative; z-index: 3; width: var(--av); aspect-ratio: 1; margin-top: calc(var(--tf) * -0.62);
  transform: translateY(var(--py, 0px)); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.avatar-body {
  position: absolute; inset: 0; transform-origin: 50% 92%;
  transform: perspective(1200px) translateY(var(--ty, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--sx, 1), var(--sy, 1));
  opacity: var(--in, 0);
  -webkit-mask-image: linear-gradient(#000 70%, transparent 97%); mask-image: linear-gradient(#000 70%, transparent 97%);
  filter: drop-shadow(0 0 30px rgba(255, 91, 31, .35)) drop-shadow(0 30px 40px rgba(0,0,0,.5));
}
.avatar-body canvas, .avatar-body img { position: absolute; inset: 0; width: 100%; height: 100%; }
.avatar-body img { opacity: 0; }
.no-webgl .avatar-body { opacity: 1; } .no-webgl .avatar-body img { opacity: 1; } .no-webgl .avatar-body canvas { display: none; }
.hi {
  position: absolute; top: 12%; right: -4%; z-index: 4; padding: 10px 16px; border-radius: 18px 18px 18px 4px;
  background: #fff; color: #1a0d06; font-weight: 800; font-size: clamp(13px, 1.1vw, 16px); white-space: nowrap;
  box-shadow: 0 14px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.4);
  transform: scale(0) rotate(-8deg); transform-origin: 0% 100%; transition: transform .7s var(--spring);
}
.hi.is-on { transform: scale(1) rotate(0); }
.wave { display: inline-block; transform-origin: 70% 70%; }
.hi.is-on .wave { animation: wave 1.6s var(--ease-in-out) .4s 2; }
@keyframes wave { 0%,100% { transform: rotate(0); } 15% { transform: rotate(16deg); } 30% { transform: rotate(-8deg); } 45% { transform: rotate(14deg); } 60% { transform: rotate(-4deg); } 75% { transform: rotate(10deg); } }

.hero__exp {
  position: absolute; left: max(20px, 5vw); top: calc(112px + var(--tf) * 1.05); z-index: 4; max-width: 250px; text-align: left;
  font-weight: 800; font-size: clamp(14px, 1.15vw, 18px); line-height: 1.3; text-transform: uppercase; letter-spacing: .01em;
}
.hero__hire { position: absolute; right: max(20px, 5vw); top: calc(112px + var(--tf) * 1.05); z-index: 4; }
.hero__chips { list-style: none; padding: 0; margin: -54px 0 0; position: relative; z-index: 4; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hero__chips li {
  padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  background: rgba(16, 12, 11, .72); border: 1px solid rgba(255, 120, 60, .4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .6s var(--spring), border-color .3s, background .3s;
}
.hero__chips li:hover { transform: translateY(-5px) scale(1.06); border-color: var(--orange-2); background: rgba(255, 91, 31, .16); }
.scroll-cue { position: absolute; bottom: 18px; left: 50%; width: 24px; height: 38px; margin-left: -12px; border-radius: 14px; border: 2px solid rgba(255,255,255,.25); z-index: 4; opacity: 0; animation: fadeIn 1s var(--ease) 2s forwards; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange-2); animation: cue 1.8s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- trust ---------- */
.trust { position: relative; padding: 110px 0 10px; text-align: center; }
.trust__title { font-size: clamp(26px, 3.4vw, 42px); margin-bottom: 30px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-size: clamp(20px, 2.4vw, 30px); font-weight: 800; color: #8a817a; white-space: nowrap; transition: color .3s; }
.marquee__track span:hover { color: var(--text); }
@keyframes marquee { to { transform: translateX(calc(-100% / 3)); } }

/* ---------- sections ---------- */
.section { position: relative; max-width: var(--max); margin: 0 auto; padding: 130px 20px 0; }
.section--tight { padding-top: 70px; }
.section--narrow { max-width: 820px; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 50px; position: relative; z-index: 3; }
.section__head h2 { font-size: clamp(36px, 5.4vw, 64px); margin: 12px 0 14px; font-weight: 700; }
.section__head p { color: var(--muted); font-size: 17px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--orange-2); letter-spacing: .12em; text-transform: uppercase; }

/* split headings: words rise out of a mask */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(110%); opacity: 0; filter: blur(4px); }
.js [data-split].is-in .w > span { transform: none; opacity: 1; filter: none; transition: transform 1s var(--spring-soft, var(--ease)), opacity .6s var(--ease), filter .7s var(--ease); transition-delay: calc(var(--i) * 55ms); }

/* reveal on scroll */
.js [data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="up"] { transform: translateY(36px); filter: blur(8px); }
.js [data-reveal="pop"] { transform: scale(.7) translateY(14px); transition-timing-function: var(--ease), var(--spring), var(--ease); transition-duration: .5s, .9s, .5s; }
.js [data-reveal="scale"] { transform: scale(.92) translateY(30px); filter: blur(6px); transition-duration: 1s, 1.3s, 1s; }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* lit paragraph: words brighten as you scroll (Apple product-page style) */
.lit .lw { color: #4a423d; transition: color .35s var(--ease); }
.lit .lw.on { color: var(--text); }

/* ---------- slider (3 per slide) ---------- */
.work { overflow: visible; }
.slider { position: relative; z-index: 3; outline: none; }
.slider__viewport { overflow: hidden; padding: 30px 0 40px; margin: -30px 0 -40px; touch-action: pan-y; cursor: grab; }
.slider__viewport.is-drag { cursor: grabbing; }
.slider__track { display: flex; transition: transform 1s var(--spring-soft, var(--ease)); will-change: transform; }
.slider__track.is-drag { transition: none; }
.page { flex: 0 0 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2.4vw, 30px); padding: 0 max(4px, calc((100% - min(900px, 62svh * 1.75)) / 2)); perspective: 1400px; align-items: center; }
.vcard {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden;
  background: #120f0e; cursor: pointer; isolation: isolate; text-align: left;
  transform: scale(.82) translateY(30px); opacity: .25; filter: blur(4px);
  transition: transform 1s var(--spring-soft, var(--ease)), opacity .7s var(--ease), filter .7s var(--ease), box-shadow .6s var(--ease), border-color .4s;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
}
.page.is-active .vcard { opacity: 1; filter: none; transition-delay: calc(var(--n) * 90ms); }
.page.is-active .vcard:nth-child(1) { transform: rotateY(14deg) scale(.9) translateX(6%); }
.page.is-active .vcard:nth-child(2) { transform: translateY(-14px) scale(1.04); border-color: rgba(255,120,60,.55); box-shadow: 0 0 0 1px rgba(255,120,60,.3), 0 40px 80px -24px rgba(255,91,31,.55); }
.page.is-active .vcard:nth-child(3) { transform: rotateY(-14deg) scale(.9) translateX(-6%); }
.page.is-active .vcard:hover { transform: translateY(-18px) scale(1.06) rotateY(0); transition-delay: 0ms; border-color: rgba(255,120,60,.6); }
.vcard__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.vcard:hover .vcard__media { transform: scale(1.06); }
.vcard::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 50%, rgba(5,4,3,.9)); }
.vcard__play {
  position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 91, 31, .92); box-shadow: 0 0 34px rgba(255,91,31,.75);
  transform: scale(.8); opacity: .0; transition: transform .7s var(--spring), opacity .4s var(--ease);
}
.vcard__play svg { width: 22px; height: 22px; fill: #fff; stroke: none; margin-left: 3px; }
.vcard:hover .vcard__play, .vcard:focus-visible .vcard__play, .page.is-active .vcard:nth-child(2) .vcard__play { transform: scale(1); opacity: 1; }
.vcard:hover .vcard__play { transform: scale(1.12); }
.vcard__title { position: absolute; left: 16px; right: 16px; bottom: 16px; font-weight: 700; font-size: clamp(12px, 1.2vw, 16px); line-height: 1.25; }
.vcard__src { position: absolute; top: 12px; right: 12px; font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: rgba(0,0,0,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.vcard--ig .vcard__media { background: radial-gradient(120% 90% at 20% 110%, #ffb347 0%, #ff5b1f 30%, #c1258a 60%, #5b2bd1 100%); }
.vcard__ph { position: absolute; inset: 0; display: grid; place-items: center; z-index: -1; }
.vcard__ph svg { width: 48px; height: 48px; color: rgba(255,255,255,.85); }
.slider__ctrl { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 34px; }
.round-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); background: #151110; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 3px; transition: transform .6s var(--spring), background .3s, border-color .3s; }
.round-btn:hover { transform: scale(1.1); background: var(--orange); border-color: transparent; }
.round-btn:active { transform: scale(.9); transition-duration: .1s; }
.round-btn:disabled { opacity: .3; cursor: default; transform: none; background: #151110; }
.dots { display: flex; gap: 8px; }
.dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: #3a332f; cursor: pointer; transition: width .6s var(--spring), background .3s; }
.dots button.is-on { width: 30px; background: var(--orange); box-shadow: 0 0 12px rgba(255,91,31,.7); }
.counter { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--muted); min-width: 64px; text-align: center; }
.slider__empty { text-align: center; color: var(--muted); padding: 50px 0; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; z-index: 1; }
.card {
  position: relative; padding: 26px; border-radius: 24px; min-height: 290px; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #151211, #0d0b0a); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .8s var(--spring), border-color .4s, opacity .9s var(--ease), filter .9s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(255,120,60,.32); }
.card--wide { grid-column: span 2; }
.card__art { position: relative; height: 130px; margin-bottom: auto; }
.card h3 { font-size: 22px; margin: 18px 0 8px; font-weight: 700; }
.card p { color: var(--muted); font-size: 15px; max-width: 460px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.about__text h2 { font-size: clamp(32px, 4.2vw, 52px); margin: 12px 0 20px; font-weight: 700; }
.lit { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; font-weight: 600; letter-spacing: -0.01em; }
.checks { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; font-size: 15px; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--orange); box-shadow: 0 0 12px rgba(255,91,31,.6); }
.about__visual { position: relative; border-radius: 28px; padding: 26px; min-height: 580px; background: linear-gradient(180deg, #141110, #0b0908); border: 1px solid var(--line); }
.glass-list { position: relative; z-index: 3; display: grid; gap: 10px; max-width: 330px; }
.glass-item { display: flex; gap: 14px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .7s var(--spring), background .3s, opacity .9s var(--ease), filter .9s var(--ease); }
.glass-item:hover { transform: translateX(6px); background: rgba(255,255,255,.06); }
.glass-item.is-on { background: rgba(255,255,255,.06); border-color: var(--line-2); }
.glass-item b { display: block; font-size: 15px; }
.glass-item small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.glass-item__icon { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #1d1917; border: 1px solid var(--line-2); }
.glass-item.is-on .glass-item__icon { background: linear-gradient(180deg, var(--orange-2), var(--orange)); border-color: transparent; box-shadow: var(--glow); }
.glass-item__icon svg { width: 18px; height: 18px; }

/* ---------- skills ---------- */
.skills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto; }
.skills span { padding: 10px 17px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.025); font-size: 14.5px; font-weight: 600; color: #d4cbc4; transition: transform .6s var(--spring), border-color .3s, background .3s, opacity .5s var(--ease); }
.skills span:hover { transform: translateY(-4px) scale(1.05); border-color: rgba(255,120,60,.5); background: rgba(255,91,31,.1); }
.skills span::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 8px var(--orange); vertical-align: 2px; }

/* ---------- pricing ---------- */
.prices { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 18px; align-items: center; position: relative; z-index: 1; }
.price { position: relative; padding: 30px 26px; border-radius: 26px; background: linear-gradient(180deg, #151211, #0c0a09); border: 1px solid var(--line); transition: transform .8s var(--spring), box-shadow .5s var(--ease), opacity .9s var(--ease), filter .9s var(--ease); }
.price:hover { transform: translateY(-8px); }
.price h3 { font-size: 18px; color: #d4cbc4; font-weight: 700; }
.price__amt { margin: 14px 0 6px; color: var(--muted); font-size: 15px; }
.price__amt span { font-size: 48px; font-weight: 800; color: var(--text); letter-spacing: -0.03em; margin-right: 4px; }
.price__amt small { font-size: 14px; }
.price__note { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.price--hot { padding: 40px 30px; border-color: rgba(255, 110, 50, .6); background: radial-gradient(120% 70% at 50% 0%, rgba(255, 91, 31, .28), transparent 60%), linear-gradient(180deg, #1c1513, #0d0a09); box-shadow: 0 0 0 1px rgba(255,110,50,.25), 0 40px 90px -30px rgba(255, 91, 31, .7); }
.price--hot .price__amt span { font-size: 60px; background: linear-gradient(180deg, #fff, #ffc5a3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.js .price--hot.is-in { transform: translateY(-10px) scale(1.02); }
.price--hot:hover, .js .price--hot.is-in:hover { transform: translateY(-18px) scale(1.03); }
.price__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; background: linear-gradient(180deg, var(--orange-2), var(--orange)); color: #fff; box-shadow: var(--glow); white-space: nowrap; animation: badge 2.6s var(--ease-in-out) infinite; }
@keyframes badge { 50% { transform: translateX(-50%) translateY(-3px); } }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; font-size: 14.5px; }
.ticks li { position: relative; padding-left: 28px; color: #d4cbc4; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 5px; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: linear-gradient(180deg, #141110, #0d0b0a); border: 1px solid var(--line); padding: 0 22px; transition: border-color .4s, opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease); }
.faq details[open] { border-color: rgba(255,110,50,.35); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--orange-2); transition: transform .6s var(--spring); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(135deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; }
.faq details[open] p { animation: faqIn .6s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: center; padding: 60px; border-radius: 32px; background: linear-gradient(180deg, #151110, #0a0807); border: 1px solid var(--line-2); min-height: 420px; }
.cta__glow { position: absolute; left: -10%; right: -10%; bottom: -60%; height: 90%; background: radial-gradient(50% 50% at 50% 50%, rgba(255,91,31,.55), transparent 70%); filter: blur(40px); pointer-events: none; }
.cta__glow::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, #ffb27f, transparent); box-shadow: 0 0 30px 6px rgba(255,120,60,.8); }
.cta__text { position: relative; z-index: 3; }
.cta h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; }
.cta__text > p { color: var(--muted); margin: 14px 0 26px; max-width: 420px; }
.cta__form { display: flex; gap: 8px; flex-wrap: wrap; max-width: 540px; }
.cta__form input { flex: 1 1 160px; height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(0,0,0,.35); color: var(--text); font: inherit; font-size: 15px; outline: none; transition: border-color .3s, box-shadow .3s; }
.cta__form input:focus { border-color: rgba(255,120,60,.6); box-shadow: 0 0 0 4px rgba(255,91,31,.15); }
.cta__form input::placeholder { color: var(--dim); }
.cta__form .btn { height: 48px; }
.cta__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.cta__links a { transition: color .3s; } .cta__links a:hover { color: var(--orange-2); }
.cta__art { position: relative; height: 300px; }

/* ---------- footer ---------- */
.footer { margin-top: 120px; border-top: 1px solid var(--line); padding: 60px 20px 30px; position: relative; z-index: 1; }
.footer__inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 50px; flex-wrap: wrap; }
.footer__big { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; max-width: 460px; margin-top: 16px; letter-spacing: -0.02em; color: #d9d0c9; }
.footer__cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer__cols h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin-bottom: 14px; }
.footer__cols a { display: block; color: var(--muted); font-size: 15px; padding: 4px 0; transition: color .3s, transform .5s var(--spring); }
.footer__cols a:hover { color: var(--text); transform: translateX(4px); }
.footer__base { max-width: var(--max); margin: 50px auto 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--dim); font-size: 13.5px; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(4,3,2,.84); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); animation: fade .4s var(--ease); }
.modal__box { position: relative; display: flex; gap: 22px; align-items: flex-end; max-height: 92vh; animation: pop .7s var(--spring); }
.modal__media { border-radius: 22px; overflow: hidden; background: #000; border: 1px solid var(--line-2); box-shadow: 0 30px 100px -20px rgba(255,91,31,.45); }
.modal__media.is-vertical { height: min(86vh, 860px); aspect-ratio: 9 / 16; }
.modal__media.is-wide { width: min(92vw, 1100px); aspect-ratio: 16 / 9; }
.modal__media.is-ig { height: min(86vh, 820px); width: min(92vw, 420px); background: #fff; }
.modal__media iframe, .modal__media video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
/* own video player */
.player { position: relative; width: 100%; height: 100%; background: #000; overflow: hidden; }
.player video { width: 100%; height: 100%; object-fit: contain; cursor: pointer; }
.player svg { width: 20px; height: 20px; }
.player svg path, .player svg rect { fill: currentColor; stroke: none; }
.player svg .stroke { fill: none; stroke: currentColor; stroke-width: 2; }
.player__big {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff; background: rgba(255, 91, 31, .92); box-shadow: 0 0 50px rgba(255, 91, 31, .7);
  transform: scale(.6); opacity: 0; pointer-events: none; transition: transform .7s var(--spring), opacity .3s var(--ease);
}
.player__big svg { width: 32px; height: 32px; margin-left: 4px; }
.player.is-paused .player__big { transform: scale(1); opacity: 1; pointer-events: auto; }
.player__big:hover { transform: scale(1.08) !important; }
.player__bar {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 16px;
  background: rgba(20, 16, 15, .55); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border: 1px solid rgba(255,255,255,.1);
  transform: translateY(14px); opacity: 0; transition: transform .6s var(--spring), opacity .35s var(--ease);
}
.player.is-awake .player__bar, .player.is-paused .player__bar, .player.is-scrub .player__bar { transform: none; opacity: 1; }
.player:not(.is-awake):not(.is-paused) { cursor: none; }
.player__btn { flex: none; width: 34px; height: 34px; border: 0; border-radius: 10px; background: none; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .5s var(--spring); }
.player__btn:hover { background: rgba(255,255,255,.12); transform: scale(1.1); }
.player__btn:active { transform: scale(.9); }
.player__track { position: relative; flex: 1; height: 22px; cursor: pointer; touch-action: none; }
.player__track::before, .player__buf, .player__fill { content: ''; position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; transition: height .3s var(--spring), margin .3s var(--spring); }
.player__track::before { right: 0; background: rgba(255,255,255,.18); }
.player__buf { width: 0; background: rgba(255,255,255,.3); }
.player__fill { width: 0; background: linear-gradient(90deg, var(--orange-deep), var(--orange-2)); box-shadow: 0 0 10px rgba(255,91,31,.6); }
.player__fill i { position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .4s var(--spring); }
.player__track:hover::before, .player__track:hover .player__buf, .player__track:hover .player__fill, .player.is-scrub .player__fill { height: 7px; margin-top: -3.5px; }
.player__track:hover .player__fill i, .player.is-scrub .player__fill i { transform: scale(1); }
.player__time { flex: none; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: #e9e1db; min-width: 78px; text-align: center; }
.player.is-loading::after { content: ''; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px; border-radius: 50%; border: 3px solid rgba(255,255,255,.2); border-top-color: var(--orange-2); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.modal__info { max-width: 280px; padding-bottom: 6px; }
.modal__info h3 { font-size: 22px; }
.modal__info p { color: var(--muted); margin-top: 8px; font-size: 14.5px; }
.modal__close { position: absolute; top: -14px; right: -14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: #1a1614; cursor: pointer; font-size: 15px; transition: transform .5s var(--spring), background .3s; }
.modal__close:hover { background: var(--orange); transform: rotate(90deg) scale(1.1); }
.modal__box:has(.is-wide) { flex-direction: column; align-items: flex-start; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(40px) scale(.9); } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .prices { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; gap: 26px; }
  .prices .price--hot { order: -1; }
  .cta { grid-template-columns: 1fr; padding: 44px 28px; }
  .cta__art { height: 220px; }
}
@media (max-width: 780px) {
  .nav { padding: 10px 12px; }
  .nav__inner { padding: 0 6px 0 18px; background: rgba(14,12,11,.72); border-color: var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
  .nav__inner > .btn { display: none; }
  .nav__burger { display: block; margin-left: auto; }
  .nav__links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 2px; padding: 10px; border-radius: 24px; background: rgba(16,13,12,.96); border: 1px solid var(--line-2); backdrop-filter: blur(18px); opacity: 0; pointer-events: none; transform: translateY(-10px) scale(.96); transform-origin: top; transition: opacity .3s var(--ease), transform .6s var(--spring); }
  .nav__links a { font-size: 17px; padding: 13px 16px; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; transform: none; }

  .hero { --tf: clamp(46px, 17vw, 120px); --av: min(92vw, 470px); padding-top: 100px; }
  .hero__title { flex-direction: column; gap: 0; line-height: .9; }
  .hero__avatar { margin-top: calc(var(--tf) * -0.45); }
  .hero__exp { position: static; order: 5; max-width: 300px; text-align: center; margin: -36px auto 14px; font-size: 14px; }
  .hero__hire { position: static; order: 7; margin: 18px 0 70px; }
  .hero__chips { order: 6; margin: 0; gap: 8px; }
  .hero__chips li { font-size: 13px; padding: 8px 13px; }
  .hi { right: 0; top: 4%; }

  .section { padding-top: 90px; }
  .page { gap: 8px; padding: 0 4px; }
  .vcard { border-radius: 14px; }
  .vcard__title { left: 8px; right: 8px; bottom: 8px; font-size: 11px; }
  .vcard__src { display: none; }
  .vcard__play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .page.is-active .vcard:nth-child(1) { transform: rotateY(10deg) scale(.9) translateX(4%); }
  .page.is-active .vcard:nth-child(3) { transform: rotateY(-10deg) scale(.9) translateX(-4%); }
  .bento { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .about__visual { min-height: 440px; }
  .price__amt span { font-size: 42px; }
  .modal__box { flex-direction: column; align-items: flex-start; }
  .modal__media.is-vertical { height: min(78vh, 760px); max-width: 92vw; }
  .modal__info { max-width: 92vw; }
  .modal__close { top: -50px; right: 0; }
  .footer__cols { gap: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js [data-reveal], .js [data-split] .w > span, .js .char > i { opacity: 1 !important; transform: none !important; filter: none !important; }
  .marquee__track { animation: none; }
}
