:root {
  --bg: #080A1E;
  --surface: #131528;
  --line: #262A45;
  --line2: #3A3F63;
  --text: #F4F5FF;
  --text2: #E7E9FA;
  --soft: #C3C7E0;
  --muted: #A3A8C6;
  --a1: #7B93FF;
  --a2: #C7B8FF;
  --display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }

body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--text); }
a:hover { color: #fff; }
img, video { max-width: 100%; }
:focus-visible { outline: 2px solid var(--a2); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 60px); line-height: 1; letter-spacing: -0.03em; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 999px; }
.btn-a1 { background: var(--a1); color: var(--bg); }
.btn-a1:hover { color: var(--bg); filter: brightness(1.08); }

/* ---------- HERO ---------- */
.hero { position: relative; width: 100%; height: 900px; overflow: hidden; background: var(--bg); }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; }
.glow-main { left: 50%; top: 48%; width: 780px; height: 780px; background: var(--a2); opacity: .24; filter: blur(140px); will-change: transform; }
.glow-b { left: 12%; top: 4%; width: 520px; height: 520px; background: var(--a1); opacity: .2; filter: blur(150px); }
.glow-c { right: 4%; top: 18%; width: 420px; height: 420px; background: var(--a1); opacity: .14; filter: blur(150px); }
.floor { position: absolute; left: -50%; right: -50%; bottom: -60px; height: 560px; transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(123,147,255,.38) 1px, transparent 1px), linear-gradient(90deg, rgba(123,147,255,.38) 1px, transparent 1px);
  background-size: 72px 72px; -webkit-mask-image: linear-gradient(to top, #000 15%, transparent 90%); mask-image: linear-gradient(to top, #000 15%, transparent 90%); }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(to bottom, rgba(8,10,30,0), var(--bg)); }
.hero-head { position: absolute; top: 0; left: 0; right: 0; z-index: 5; padding: 28px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: .04em; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nav a { padding: 12px 14px; text-decoration: none; font-weight: 500; font-size: 16px; }
.tagline { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); min-height: 44px; z-index: 5; display: flex; align-items: center; justify-content: center; text-align: center; }
.tagline span { font-size: 15px; color: var(--soft); white-space: nowrap; }
.tagline strong { color: var(--a2); }
.figure { position: absolute; bottom: 0; left: 50%; z-index: 2; width: 478px; transform: translate(calc(-50% - 26px), 0); }
.figure img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)) drop-shadow(0 0 40px rgba(167,139,250,.18));
  }
.figure-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 300px; z-index: 2; pointer-events: none; background: linear-gradient(to bottom, rgba(8,10,30,0) 0%, rgba(8,10,30,.7) 45%, rgba(8,10,30,.95) 75%, var(--bg) 100%); }
.phone { position: absolute; z-index: 3; }
.phone-body { position: relative; aspect-ratio: 9 / 19.5; padding: 6px; border-radius: 44px; background: #2B2D36; border: 1.5px solid #4A4D5C; box-shadow: 0 30px 60px rgba(0,0,0,.55); }
.phone-body > i { position: absolute; width: 3px; border-radius: 2px; background: #4A4D5C; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; border: 3px solid #050507; }
.island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 32%; height: 22px; border-radius: 999px; background: #050507; }
.status { display: flex; justify-content: space-between; align-items: center; padding: 11px 18px 0; font-size: 11px; font-weight: 700; }
.play { position: absolute; top: 34%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.28); display: flex; align-items: center; justify-content: center; }
.actions { position: absolute; right: 10px; bottom: 30%; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 9px; font-weight: 700; }
.hook { position: absolute; left: 14px; right: 44px; top: 47%; font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.05; letter-spacing: -.02em; }
.phone-foot { position: absolute; left: 12px; right: 12px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.acct { display: flex; align-items: center; gap: 6px; }
.acct .av { width: 20px; height: 20px; border-radius: 50%; }
.acct span { display: flex; flex-direction: column; line-height: 1.1; }
.acct strong { font-size: 11px; }
.acct small { font-size: 9px; opacity: .8; }
.cta-bar { border-radius: 10px; padding: 7px 10px; font-size: 11px; font-weight: 700; display: flex; justify-content: space-between; }
.home-ind { align-self: center; width: 36%; height: 4px; border-radius: 2px; opacity: .7; }
.badge { position: absolute; right: 22%; top: 600px; transform-origin: right top; z-index: 4; background: var(--a2); color: var(--bg); border-radius: 22px; padding: 18px 24px; display: flex; flex-direction: column; gap: 2px; }
.badge b { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.03em; }
.badge > span { font-weight: 700; font-size: 15px; }
.hero-bar { position: absolute; left: 48px; right: 48px; bottom: 36px; z-index: 5; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; pointer-events: none; }
.hero-bar a { pointer-events: auto; }
.role { margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -.01em; color: var(--text2); }
.name { margin: 0; font-size: 17px; font-weight: 500; color: var(--muted); }
.name span { margin-left: 12px; }
.cta-group { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.tools { display: flex; align-items: center; justify-content: center; gap: 22px; }
.tools img { display: block; width: auto; }
.tools .t1 { height: 34px; }
.tools .t2 { height: 38px; }
.hero-cta { padding: 16px 32px; font-size: 17px; }

/* ---------- PROCESS ---------- */
.process { position: relative; overflow: hidden; }
.process-glow { position: absolute; left: 50%; top: 0; width: 900px; height: 500px; transform: translateX(-50%); border-radius: 50%; background: var(--a1); opacity: .1; filter: blur(140px); pointer-events: none; }
.process-inner { position: relative; padding-top: 72px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 64px; }
.process-title { margin: 0; text-align: center; font-family: var(--display); font-weight: 800; font-size: clamp(44px, 6vw, 84px); line-height: 1; letter-spacing: -.03em; }
.steps-wrap { position: relative; }
.steps-line { position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: var(--line); }
.steps-line div { height: 100%; width: 0; background: linear-gradient(90deg, var(--a1), var(--a2)) no-repeat; transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.steps { position: relative; margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 20px; }
.step { flex: 1 1 250px; display: flex; flex-direction: column; gap: 18px; opacity: 0; transform: perspective(1000px) translateY(70px) rotateX(22deg); transition: opacity .8s ease, transform 1s cubic-bezier(.2,.8,.2,1); }
.step.in { opacity: 1; transform: perspective(1000px) translateY(0) rotateX(0); }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--bg); border: 2px solid var(--c); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--c); }
.step-card { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.free { align-self: flex-start; background: var(--c); color: var(--bg); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.step-card h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.1; letter-spacing: -.02em; }
.step-card p { margin: 0; color: var(--soft); }
.center { display: flex; justify-content: center; }
.btn-lg { padding: 18px 36px; font-size: 18px; }

/* ---------- CLIENTS ---------- */
.clients { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients-inner { padding-top: 22px; padding-bottom: 22px; display: flex; align-items: center; gap: 40px; }
.clients-head { flex: none; display: flex; align-items: center; gap: 10px; }
.clients-arrow { display: none; }
.clients-scroll { overflow: hidden; }
.clients-label { flex: none; font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.clients-view { position: relative; flex: 1; min-width: 0; overflow: hidden; padding: 12px 0; }
.clients-track { margin: 0; padding: 0 4px; list-style: none; display: inline-flex; white-space: nowrap; will-change: transform; }
.clients-track li { display: inline-block; margin-right: 48px; font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -.02em; color: var(--text2); transition: transform .3s cubic-bezier(.2,.8,.2,1), color .3s; }
.clients-track li:hover { color: var(--a2); transform: translateY(-3px) scale(1.06); }
.fade-r, .fade-l { position: absolute; top: 0; bottom: 0; pointer-events: none; }
.fade-r { right: 0; width: 240px; background: linear-gradient(to right, rgba(8,10,30,0), var(--bg)); }
.fade-l { left: 0; width: 120px; background: linear-gradient(to left, rgba(8,10,30,0), var(--bg)); opacity: 0; }

/* ---------- WORK ---------- */
.work { padding-top: 110px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 24px; }
.work-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.work-head p { margin: 0; color: var(--soft); max-width: 42ch; }
.hint-m { display: none; }
.stacks { display: flex; gap: 18px; padding: 64px 0; }
.stack { flex: 1 1 0; min-width: 0; position: relative; aspect-ratio: 9 / 16; transition: opacity .4s ease; }
.stack-name { position: absolute; z-index: 30; left: 0; right: 0; top: -52px; text-align: center; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text2); }
.card { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 2px solid var(--line); border-radius: 22px; background: var(--surface); color: var(--text); overflow: hidden; cursor: pointer;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .45s ease, box-shadow .6s ease, border-color .4s ease; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.card.land { top: 15.2%; width: 220%; height: 69.6%; }
.media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; clip-path: inset(0 round 20px); }
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.sound { position: absolute; top: 12px; right: 12px; background: var(--a2); color: var(--bg); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 13px; display: none; }
.card.need-sound .sound { display: block; }
.seek { flex: 1; min-width: 0; display: none; align-items: center; gap: 10px; margin-left: 12px; }
.card.show-seek .seek { display: flex; }
.seek input { flex: 1; min-width: 0; margin: 0; accent-color: var(--a1); cursor: pointer; }
.seek span { flex: none; font-family: var(--mono); font-size: 11px; color: var(--text2); }
.card-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px; background: rgba(8,10,30,.72); display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.card.show-seek .card-foot, .mcard.show-seek .card-foot { align-items: center; }
.card-foot .t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.card-foot .t b { font-size: 15px; }
.views { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 13px; color: var(--a2); }
.reel { flex: none; background: var(--a1); color: var(--bg); text-decoration: none; font-weight: 700; font-size: 12px; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.reel:hover { color: var(--bg); }
.strip-wrap { display: none; }

/* ---------- CONTACT / FOOTER ---------- */
.contact { padding-top: 110px; padding-bottom: 120px; }
.contact-box { background: var(--a2); color: var(--bg); border-radius: 28px; padding: clamp(36px, 6vw, 72px); display: flex; flex-direction: column; gap: 20px; }
.contact-box .eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; }
.contact-box h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 6vw, 72px); line-height: .98; letter-spacing: -.03em; max-width: 16ch; }
.contact-box p { margin: 0; font-size: 20px; max-width: 46ch; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-btns a { padding: 16px 28px; font-size: 18px; }
.btn-dark { background: var(--bg); color: var(--text); }
.btn-dark:hover { color: #fff; }
.btn-line { border: 2px solid var(--bg); color: var(--bg); }
.btn-line:hover { color: var(--bg); background: rgba(8,10,30,.08); }
.footer { padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; }
.footer a { color: var(--muted); }

/* ---------- ABOUT ---------- */
.page-head { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.about-hero { padding-top: 64px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.about-hero img { flex: 0 1 460px; max-width: 460px; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; border-radius: 24px; border: 1px solid var(--line); display: block; }
.about-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 24px; }
.about-text .eyebrow { font-family: var(--mono); font-size: 13px; color: var(--a2); letter-spacing: .08em; }
.about-text h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6vw, 80px); line-height: .98; letter-spacing: -.04em; }
.about-text p { margin: 0; color: var(--soft); }
.about-text p.lead { font-size: 20px; color: var(--text2); }
.about-text strong { color: var(--a2); }
.about-cols { padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 48px; }
.about-cols > div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
.about-cols h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 36px; letter-spacing: -.02em; }
.about-cols ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.about-cols li { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills span { border: 1px solid var(--line2); border-radius: 999px; padding: 8px 16px; font-weight: 700; }

/* ---------- MOBILE ---------- */
@media (max-width: 759px) {
  .hero { height: max(560px, min(780px, 100svh)); --fw: min(86vw, 400px, calc((100svh - 190px) * 0.638)); }
  .hero-head { padding: 16px 18px; }
  .logo { font-size: 22px; }
  .nav a { padding: 10px 7px; font-size: 14px; }
  .tagline { top: 70px; left: 20px; right: 20px; transform: none; }
  .tagline span { white-space: normal; font-size: 14px; }
  .figure { width: var(--fw); bottom: calc(150px - var(--fw) * 0.44); }
  .phone { transform-origin: top left; }
  .phone.p2 { display: none; }
  .phone.p1 { left: 3% !important; top: 150px !important; }
  .phone.p3 { left: 68% !important; top: 175px !important; }
  .badge { right: 4%; top: 380px; }
  .hero-bar { left: 20px; right: 20px; bottom: 22px; flex-direction: column; align-items: flex-start; }
  .role { font-size: 19px; }
  .name { font-size: 14px; }
  .cta-group { flex-direction: row; gap: 16px; }
  .tools .t1 { height: 22px; }
  .tools .t2 { height: 25px; }
  .hero-cta { padding: 12px 24px; font-size: 15px; }
  .steps-line { display: none; }
  .step { transform: perspective(1000px) translateY(28px) rotateX(8deg); transition: opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1); transition-delay: 0s !important; }
  .step.in { transform: perspective(1000px) translateY(0) rotateX(0); }
  .clients-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
  .clients-view { width: 100%; flex: none; }
  .clients-scroll { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .clients-scroll::-webkit-scrollbar { display: none; }
  .fade-r { width: 110px; transition: opacity .25s ease; }
  .fade-l { width: 60px; transition: opacity .25s ease; }
  .clients-arrow { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: var(--a2); color: var(--bg); cursor: pointer; animation: nudge 1.6s ease-in-out infinite; box-shadow: 0 0 0 4px rgba(199,184,255,.18); }
  @keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
  .hint-d { display: none; }
  .hint-m { display: inline; }
  .stacks { display: none; }
  .strip-wrap { display: flex; flex-direction: column; gap: 14px; margin: 0 -24px; }
  .strip { display: flex; align-items: flex-end; gap: 28px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding: 12px 19vw 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .strip::-webkit-scrollbar { display: none; }
  .group { flex: none; display: flex; flex-direction: column; gap: 12px; }
  .group-name { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--text2); padding-left: 4px; }
  .group-cards { display: flex; align-items: center; gap: 12px; }
  .mcard { position: relative; flex: none; width: 62vw; aspect-ratio: 9 / 16; scroll-snap-align: center; border-radius: 22px; overflow: hidden; background: var(--surface); border: 2px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.45); transition: transform .2s ease-out, opacity .2s ease-out, border-color .3s ease; }
  .mcard.land { width: 86vw; aspect-ratio: 16 / 9; }
  .mcard.need-sound .sound { display: block; }
  .mcard.show-seek .seek { display: flex; }
  .strip-range { padding: 0 24px; }
  .page-head { padding-top: 16px; padding-bottom: 8px; }
  .about-hero { padding-top: 16px; padding-bottom: 56px; gap: 32px; }
  .about-hero img { flex: none; max-width: 100%; aspect-ratio: 4 / 5; }
  .about-text { flex: 1 1 100%; gap: 18px; }
  .about-cols { gap: 40px; padding-bottom: 56px; }
  .strip-range input { display: block; width: 100%; margin: 0; accent-color: var(--a1); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-arrow { animation: none; }
  .step { opacity: 1; transform: none; transition: none; }
}
video::-internal-media-controls-overlay-cast-button { display: none !important; }
video::-webkit-media-controls, video::-webkit-media-controls-overlay-play-button { display: none !important; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; max-width: calc(100vw - 32px); padding: 14px 16px 14px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line2); color: var(--text2); font-size: 15px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast strong { color: var(--a2); }
.toast a { background: var(--a1); color: var(--bg); text-decoration: none; font-weight: 700; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.toast a:hover { color: var(--bg); }
.toast button { background: none; border: 0; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; }

/* ---------- PAGE SWIPE ---------- */
html { overflow-x: clip; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; animation-timing-function: cubic-bezier(.2,.8,.2,1); animation-fill-mode: both; mix-blend-mode: normal; }
html:active-view-transition-type(fwd)::view-transition-old(root) { animation-name: vtOutLeft; }
html:active-view-transition-type(fwd)::view-transition-new(root) { animation-name: vtInRight; }
html:active-view-transition-type(back)::view-transition-old(root) { animation-name: vtOutRight; }
html:active-view-transition-type(back)::view-transition-new(root) { animation-name: vtInLeft; }
@keyframes vtOutLeft { from { transform: none; } to { transform: translateX(-100%); } }
@keyframes vtOutRight { from { transform: none; } to { transform: translateX(100%); } }
html.vt-in-right body { animation: vtInRight .26s cubic-bezier(.15,.85,.25,1) both; will-change: transform; }
html.vt-in-left body { animation: vtInLeft .26s cubic-bezier(.15,.85,.25,1) both; will-change: transform; }
@keyframes vtInRight { from { transform: translateX(100%); } to { transform: none; } }
@keyframes vtInLeft { from { transform: translateX(-100%); } to { transform: none; } }
body.vt-out-left, body.vt-out-right { transition: transform .18s cubic-bezier(.5,0,.9,.5); }
body.vt-out-left { transform: translateX(-100%); }
body.vt-out-right { transform: translateX(100%); }
@media (prefers-reduced-motion: reduce) { html.vt-in-right body, html.vt-in-left body { animation: none; } ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ---------- SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: perspective(1000px) translateY(70px) rotateX(22deg); transition: opacity .8s ease, transform 1s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (max-width: 759px) {
  .reveal { transform: perspective(1000px) translateY(28px) rotateX(8deg); transition: opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1); transition-delay: 0s !important; }
  .reveal.in { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
