/* Upscale Digital — tokens from assets/brand/tokens.json */
:root {
  --night: #05080F; --ink: #0C121D; --slate: #1A2230; --mist: #A9B1BE; --white: #FFFFFF;
  --paper: #F6F2EC; --sky: #8CCBFF; --ice: #B8E0FF; --haze: #DCEFFF; --depth: #3F74A8;
  --sans: "Inter", "Helvetica Neue", system-ui, sans-serif;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 80px);
  --wrap: 1240px;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { background: var(--night); color-scheme: dark; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.menu-open { overflow: hidden; }
body { margin: 0; background: var(--night); color: var(--white); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 300; background: var(--sky); color: var(--night); padding: 12px 18px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
section { scroll-margin-top: 72px; }

/* Type */
.hd { margin: 0; line-height: .92; letter-spacing: -.02em; }
.hd em { font-family: var(--display); font-style: normal; font-weight: 300; letter-spacing: -.025em; }
.hd strong { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; }
.hd-xl { font-size: clamp(2.9rem, 6.4vw, 6.2rem); }
.hd-xl em { white-space: nowrap; }
.hd-lg { font-size: clamp(2.5rem, 6.5vw, 5.5rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--mist); max-width: 40ch; margin: 1.4rem 0 0; }
.sec-head { max-width: var(--wrap); margin: 0 auto 3rem; padding: 0 var(--pad); }
.sec-head.center { text-align: center; }
.sec-head.center .lead { margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; color: var(--night); font-weight: 700; text-decoration: none; white-space: nowrap; border: 1px solid rgba(220,239,255,.9);
  background: linear-gradient(180deg, #CFE8FF 0%, var(--sky) 48%, #78BDF7 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -2px 0 rgba(63,116,168,.35), 0 1px 2px rgba(0,0,0,.4), 0 10px 24px -10px rgba(140,203,255,.45);
  transition: transform .3s var(--ease), box-shadow .3s, filter .3s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -2px 0 rgba(63,116,168,.3), 0 2px 4px rgba(0,0,0,.4), 0 16px 40px -10px rgba(140,203,255,.75); }
.btn:active { transform: translateY(0) scale(.98); filter: brightness(.96); box-shadow: inset 0 2px 4px rgba(5,8,15,.25), 0 6px 18px -10px rgba(140,203,255,.5); }
.btn-ghost { background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); color: var(--white); border-color: rgba(255,255,255,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px rgba(0,0,0,.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(184,224,255,.6); color: var(--ice); filter: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 10px 30px -12px rgba(140,203,255,.45); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 1.05rem; }
.btn-dark { background: linear-gradient(180deg, #1A2230, #05080F); border-color: #0C121D; color: var(--white); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px rgba(0,0,0,.3), 0 12px 28px -12px rgba(5,8,15,.6); }
.btn-dark:hover { filter: brightness(1.15); box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 16px 36px -12px rgba(5,8,15,.7); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2.2rem; }

/* Nav: full-width at the top, detaches into a floating glass capsule on scroll */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 120; padding: 14px var(--pad) 0; transition: transform .45s var(--ease), padding .45s var(--ease); pointer-events: none; }
.nav.is-hidden { transform: translateY(-120%); }
.nav-progress { position: absolute; left: 0; top: 0; height: 2px; width: 100%; transform-origin: left; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--depth), var(--sky)); box-shadow: 0 0 12px rgba(140,203,255,.6); }
.nav-in { pointer-events: auto; max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 28px; padding: 6px 0; border: 1px solid transparent; border-radius: 999px; transition: background .45s, border-color .45s, box-shadow .45s, padding .45s var(--ease), max-width .45s var(--ease), backdrop-filter .45s; }
.nav.is-solid .nav-in { max-width: 920px; padding: 6px 8px 6px 18px; background: rgba(12,18,29,.62); border-color: rgba(140,203,255,.18); box-shadow: 0 20px 50px -24px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.wordmark { display: inline-flex; align-items: baseline; gap: .32em; font-size: 20px; line-height: 1; text-transform: uppercase; white-space: nowrap; color: var(--white); }
.wm-light { font-family: var(--sans); font-weight: 300; font-style: italic; letter-spacing: .08em; display: inline-flex; align-items: baseline; }
.wm-light img { height: .92em; width: auto; margin: 0 .03em 0 .05em; transform: translateY(-.2em); }
.wm-heavy { font-family: var(--display); font-weight: 900; letter-spacing: -.01em; }
.nav-brand { position: relative; display: block; height: 28px; width: 212px; padding: 8px 0; box-sizing: content-box; transition: width .45s var(--ease); }
.nav-brand > * { position: absolute; left: 0; top: 8px; height: 28px; transition: opacity .3s, transform .45s var(--ease); }
.nav-brand .nav-word { display: inline-flex; align-items: center; }
.nav-brand .nav-mark { width: auto; }
.nav-mark { opacity: 0; transform: translateY(6px) rotate(-20deg); }
.nav.is-solid .nav-brand { width: 28px; }
.nav.is-solid .nav-word { opacity: 0; transform: translateX(-8px); }
.nav.is-solid .nav-mark { opacity: 1; transform: none; }
.nav-links { position: relative; display: flex; gap: 4px; margin-left: auto; }
.nav-links a { position: relative; z-index: 1; display: block; padding: 0 14px; border-radius: 999px; text-decoration: none; color: var(--mist); font-weight: 500; font-size: .95rem; overflow: hidden; height: 36px; line-height: 36px; transition: color .25s; }
.nav-links a span { display: block; position: relative; transition: transform .4s var(--ease); }
.nav-links a span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; color: var(--white); }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover span { transform: translateY(-100%); }
.nav-links a.is-active { color: var(--white); }
.nav-ind { position: absolute; left: 0; top: 0; height: 36px; width: 0; border-radius: 999px; background: rgba(140,203,255,.12); box-shadow: inset 0 0 0 1px rgba(140,203,255,.25); opacity: 0; transition: left .45s var(--ease), width .45s var(--ease), opacity .3s; }
.nav-ind.on { opacity: 1; }
.nav-cta { gap: 8px; }
.nav-cta svg { transition: transform .3s var(--ease); }
.nav-cta:hover svg { transform: translateX(3px); }
.nav-burger { display: none; position: relative; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; padding: 0; }
.nav-burger i { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); transition: transform .3s var(--ease); transform-origin: center; }
.nav-burger i:nth-of-type(1) { top: 17px; }
.nav-burger i:nth-of-type(2) { top: 25px; }
.nav-burger[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] i:nth-of-type(2) { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 110; background: var(--night); padding: 110px var(--pad) 40px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu nav { display: flex; flex-direction: column; gap: 10px; }
.menu nav a { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1; text-decoration: none; }
.menu-foot { display: flex; flex-direction: column; gap: 8px; color: var(--mist); }
.menu-foot .btn { align-self: flex-start; margin-top: 12px; color: var(--night); }
.menu-foot a { text-decoration: none; padding: 8px 0; display: inline-block; }
@media (max-width: 899px) {
  .nav { padding-top: 10px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav-brand { height: 22px; width: 166px; } .nav-brand > * { height: 22px; } .nav-brand .wordmark { font-size: 16px; }
  .nav.is-solid .nav-brand { width: 22px; }
  .nav.is-solid .nav-in { padding: 4px 4px 4px 14px; }
}

/* Hero */
.hero { position: relative; min-height: 92svh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: 110px var(--pad) 60px; max-width: var(--wrap); margin: 0 auto; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(63,116,168,.35), transparent 70%); pointer-events: none; }
.hero-copy { position: relative; }
.hero-copy .lead, .hero-copy .ctas { opacity: 0; transform: translateY(18px); animation: rise .7s var(--ease) forwards; }
.hero-copy .lead { animation-delay: .75s; }
.hero-copy .ctas { animation-delay: .9s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero h1 em, .hero h1 strong { display: inline-block; }
.hero h1 em { opacity: 0; animation: wordUp .8s var(--ease) .15s forwards; }
@keyframes wordUp { from { opacity: 0; transform: translateY(.5em) skewY(2deg); } to { opacity: 1; transform: none; } }
.hero h1 strong { opacity: 0; animation: slam .75s var(--ease) .5s forwards, sheen 6s ease-in-out 1.4s infinite; }
@keyframes slam { 0% { opacity: 0; transform: scale(1.35) translateY(.1em); filter: blur(6px); } 55% { opacity: 1; transform: scale(.97); filter: blur(0); } 100% { opacity: 1; transform: none; } }
.hero h1 { position: relative; }
.hero h1::after { content: ""; position: absolute; left: -10%; right: -10%; top: 40%; height: 2px; background: linear-gradient(90deg, transparent, var(--ice), transparent); opacity: 0; transform: scaleX(0); animation: flash .5s ease-out .85s; pointer-events: none; }
@keyframes flash { 0% { opacity: 0; transform: scaleX(0); } 40% { opacity: .9; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1.1); } }
@media (prefers-reduced-motion: reduce) { .hero-copy .lead, .hero-copy .ctas, .hero h1 em, .hero h1 strong { animation: none; opacity: 1; transform: none; } .hero h1::after { display: none; } }
.hero-stage { position: relative; aspect-ratio: 1 / 1; width: 116%; max-width: 760px; justify-self: end; margin: -6% -10% -6% 0; opacity: 0; animation: fade .9s .2s ease forwards; }
@keyframes fade { to { opacity: 1; } }
.hero-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.hero-foot { grid-column: 1 / -1; margin: 0; color: var(--mist); font-size: .95rem; padding-top: 24px; border-top: 1px solid var(--slate); }

/* CSS poster: the layered site, shown until 3D is ready, or always when 3D is skipped */
.poster { position: absolute; inset: 0; perspective: 1400px; transition: opacity .6s ease; display: grid; place-items: center; --sep: 1; }
.poster.is-off { opacity: 0; pointer-events: none; }
.stack { position: relative; width: min(62%, 340px); aspect-ratio: 3.4 / 4.2; transform-style: preserve-3d; transform: rotateY(-28deg) rotateX(14deg); animation: stackFloat 7s ease-in-out infinite; }
@keyframes stackFloat { 0%, 100% { transform: rotateY(-28deg) rotateX(14deg) translateY(0); } 50% { transform: rotateY(-25deg) rotateX(12deg) translateY(-10px); } }
.lyr { position: absolute; inset: 0; border-radius: 7%/5.7%; transform: translateZ(calc(var(--z) * var(--sep))); animation: lyrIn .9s var(--ease) both; animation-delay: calc(.3s + var(--i, 0) * .12s); }
@keyframes lyrIn { from { opacity: 0; transform: translateZ(0) translateY(30px); } }
.l0 { --z: 0px; --i: 0; background: var(--ink); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 50px 90px -30px rgba(0,0,0,.9); }
.l1 { --z: 40px; --i: 1; background: rgba(140,203,255,.05); box-shadow: inset 0 0 0 1px rgba(140,203,255,.12); }
.l2 { --z: 80px; --i: 2; }
.l3 { --z: 120px; --i: 3; }
.l4 { --z: 160px; --i: 4; }
.lyr .tile { position: absolute; width: 25%; height: 12%; bottom: 14%; background: rgba(255,255,255,.05); border-radius: 10px; }
.t1 { left: 8%; } .t2 { left: 37.5%; } .t3 { left: 67%; }
.lyr .bar { position: absolute; left: 8%; height: 2%; border-radius: 99px; background: var(--slate); }
.fb1 { bottom: 9%; width: 26%; } .fb2 { bottom: 5.5%; width: 40%; }
.l1 .img { position: absolute; left: 8%; right: 8%; top: 24%; height: 36%; border-radius: 14px; background: linear-gradient(#132038, #0B1322); box-shadow: inset 0 0 0 1px rgba(140,203,255,.25); overflow: hidden; }
.l1 .img img { position: absolute; right: 6%; top: 8%; width: 36%; height: auto; }
.l2 .kick { position: absolute; left: 11%; top: 26%; font-size: .5rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); font-weight: 600; }
.l2 b { position: absolute; left: 11%; top: 30%; font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; font-size: clamp(1.1rem, 3.4vw, 1.5rem); line-height: .95; color: var(--white); }
.pb3 { top: 71%; width: 18%; background: var(--mist) !important; } .pb4 { top: 71%; left: 37.5% !important; width: 17%; background: var(--mist) !important; } .pb5 { top: 71%; left: 67% !important; width: 19%; background: var(--mist) !important; }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 99px; background: var(--sky); color: var(--night); font-size: .62rem; font-weight: 800; white-space: nowrap; }
.pill.ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.pill.sm { height: 20px; padding: 0 9px; font-size: .55rem; }
.l3 .pill { position: absolute; top: 52%; } .l3 .pill:first-child { left: 11%; } .l3 .pill.ghost { left: 48%; }
.l4 { background: linear-gradient(rgba(12,18,29,.95), rgba(12,18,29,0) 18%); }
.l4 .wm { position: absolute; left: 8%; top: 5%; display: flex; align-items: center; gap: 5px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: .62rem; color: var(--white); }
.l4 .wm em { width: 9px; height: 9px; background: var(--sky); clip-path: polygon(50% 0, 100% 100%, 72% 100%, 50% 45%, 28% 100%, 0 100%); }
.l4 .links { position: absolute; left: 50%; top: 6.2%; display: flex; gap: 8px; } .l4 .links i { width: 16px; height: 4px; border-radius: 2px; background: var(--mist); opacity: .7; }
.l4 .pill.sm { position: absolute; right: 8%; top: 4.6%; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 99px; background: rgba(12,18,29,.92); box-shadow: 0 0 0 1px rgba(140,203,255,.45), 0 20px 40px -16px rgba(0,0,0,.8); color: var(--white); font-size: .66rem; font-weight: 700; white-space: nowrap; transform: translateZ(200px); animation: chipIn .6s var(--ease) both 1.15s, chipFloat 5s ease-in-out 1.75s infinite; }
@keyframes chipIn { from { opacity: 0; transform: translateZ(200px) scale(.4); } }
.chip .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--sky); }
.chip .stars { color: #F5C451; letter-spacing: .05em; }
.c1 { left: -22%; top: 18%; } .c2 { right: -24%; top: 40%; animation-delay: 1.3s, 1.9s; } .c3 { right: -16%; bottom: 10%; padding: 0; background: none; box-shadow: none; animation-delay: 1.45s, 2.05s; }
.c3 .pill.sm { height: 30px; padding: 0 14px; font-size: .66rem; box-shadow: 0 20px 40px -16px rgba(0,0,0,.8); }
@keyframes chipFloat { 0%, 100% { transform: translateZ(200px) translateY(0); } 50% { transform: translateZ(200px) translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .stack, .chip, .lyr { animation: none; } }
@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; padding: 92px var(--pad) 24px; gap: 32px; min-height: 0; }
  .hero-stage { aspect-ratio: 1 / 1; width: 100%; max-width: 400px; margin: 0 auto; justify-self: center; }
  .poster { --sep: .5; }
  .stack { width: min(64%, 250px); animation: none; transform: rotateY(-16deg) rotateX(9deg); }
  .l2 .kick { font-size: .42rem; } .l2 b { font-size: .95rem; }
  .pill { height: 20px; padding: 0 9px; font-size: .5rem; } .pill.sm { height: 16px; padding: 0 7px; font-size: .45rem; }
  .c1 { display: none; } .c2 { right: -16%; top: 36%; } .c3 { right: -10%; bottom: 8%; }
  .l3 .pill:first-child { left: 9%; } .l3 .pill.ghost { left: 56%; }
  .chip { height: 26px; font-size: .6rem; padding: 0 10px; } .c3 .pill.sm { height: 26px; font-size: .6rem; padding: 0 12px; }
  .lead { font-size: 1.05rem; }
  .ribbon { margin-top: 8px; }
}

/* Work */
.work { padding: clamp(80px, 10vw, 140px) 0 0; }
.work-grid { list-style: none; margin: 0 auto; padding: 0 var(--pad); max-width: var(--wrap); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.proj { margin: 0; }
.proj:nth-child(even) { transform: translateY(clamp(0px, 4vw, 48px)); }
.proj-btn { display: block; width: 100%; padding: 0; background: none; border: 0; text-align: left; border-radius: 16px; }
.proj-frame { position: relative; border-radius: 12px; isolation: isolate; }
.proj-frame::before { content: ""; position: absolute; inset: 6% -4% -6%; border-radius: 40px; background: radial-gradient(ellipse at 50% 70%, var(--c), transparent 70%); filter: blur(40px); opacity: .28; transition: opacity .4s; z-index: 0; }
.proj-frame { padding: 0 0 7%; }
.bframe { position: relative; z-index: 1; border-radius: 12px; overflow: hidden; background: #0B1322; box-shadow: 0 30px 60px -24px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.1); }
.bframe .bbar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #0B1322; }
.bframe .bbar i { width: 8px; height: 8px; border-radius: 50%; background: var(--slate); }
.bframe .bbar span { margin-left: 10px; flex: 1; height: 16px; line-height: 16px; border-radius: 8px; background: rgba(255,255,255,.06); color: var(--mist); font-size: .6rem; padding: 0 8px; text-align: center; }
.pview { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink); }
.pview .pshot { position: absolute; left: 0; top: 0; width: 100%; height: auto; transform: translateY(calc(var(--shift, 0px) * var(--p, 0) * -1)); will-change: transform; }
.mframe { position: absolute; z-index: 2; right: -3%; bottom: 0; width: 25%; border-radius: 12px; padding: 4px; background: #0B1322; box-shadow: 0 24px 50px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.1); }
.mframe .pview { aspect-ratio: 9 / 19; border-radius: 9px; }
.mframe .pshot { transform: translateY(calc(var(--shift, 0px) * var(--p, 0) * -1)); }
.proj-frame::before { z-index: 0; }
.proj-btn:hover .proj-frame::before { opacity: .45; }
.proj-meta { padding: 10px 4px 0; text-align: center; }
.proj-meta h3 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; font-size: 1.5rem; line-height: 1; }
.proj-meta p { margin: 6px 0 0; color: var(--mist); font-size: .95rem; }
.proj-meta .line { font-family: var(--sans); font-style: normal; font-weight: 400; color: var(--mist); font-size: 1rem; margin-top: 6px; }
@media (max-width: 699px) {
  .work-grid { grid-template-columns: 1fr; gap: 40px; }
  .proj:nth-child(even) { transform: none; }
  .mframe { right: 0; width: 27%; }
  .proj-meta h3 { font-size: 1.35rem; }
}

/* Services: cards with animated icons */
.services { padding: clamp(100px, 12vw, 180px) 0 0; }
.cards { list-style: none; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; perspective: 1400px; }
.card { position: relative; overflow: hidden; padding: 24px 22px 24px 18px; border: 1px solid var(--slate); border-radius: 18px; background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); display: grid; grid-template-columns: clamp(84px, 7vw, 100px) minmax(0, 1fr); column-gap: 16px; align-items: center; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: border-color .3s, transform .4s var(--ease); transform-style: preserve-3d; }
.card:hover { border-color: rgba(140,203,255,.55); }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(140,203,255,.22), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover::before { opacity: 1; }
.card h3 { grid-column: 2; margin: 0 0 .4rem; font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; font-size: clamp(1.1rem, 1.2vw, 1.22rem); text-wrap: balance; line-height: 1.02; transform: translateZ(24px); }
.card p { grid-column: 2; margin: 0; color: var(--mist); font-family: var(--sans); font-style: normal; font-size: 1rem; line-height: 1.4; transform: translateZ(14px); }
.fv { grid-column: 1; grid-row: 1 / span 2; margin: 0; width: 100%; aspect-ratio: 120 / 76; height: auto; color: var(--sky); }
.fv svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* 1 Custom design: pen draws the line, rides it with offset-path */
.ic-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: icDraw 4s ease-in-out infinite; }
.ic-pen { offset-path: path("M34 50c8-10 14 2 22-6s12-14 20-6 8 8 12 2"); offset-rotate: 0deg; offset-distance: 0%; transform: rotate(40deg); animation: icPen 4s ease-in-out infinite; }
@keyframes icDraw { 0%, 10% { stroke-dashoffset: 1; } 60%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes icPen { 0%, 10% { offset-distance: 0%; opacity: 1; } 60%, 85% { offset-distance: 100%; opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
/* 2 Phones first: content blocks land, thumb taps the button */
.ic-blocks rect { transform-origin: 60px 40px; animation: icLand 3.6s ease-out infinite; }
.ic-blocks rect:nth-child(2) { animation-delay: .12s; } .ic-blocks rect:nth-child(3) { animation-delay: .24s; } .ic-blocks rect:nth-child(4) { animation-delay: .36s; } .ic-blocks rect:nth-child(5) { animation-delay: .5s; }
@keyframes icLand { 0% { opacity: 0; transform: translateY(6px); } 12%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.ic-tap { transform-origin: 60px 60px; animation: icTap 3.6s ease-out infinite; }
@keyframes icTap { 0%, 55% { opacity: 0; transform: scale(.3); } 62% { opacity: .9; transform: scale(.6); } 80%, 100% { opacity: 0; transform: scale(1.4); } }
/* 3 Fast: needle snaps to the top */
.ic-needle { transform-origin: 60px 58px; animation: icNeedle 3s cubic-bezier(.3,0,.2,1) infinite; }
.ic-arc { stroke-dasharray: 1; stroke-dashoffset: 1; animation: icArc 3s cubic-bezier(.3,0,.2,1) infinite; }
@keyframes icNeedle { 0% { transform: rotate(-88deg); } 40%, 80% { transform: rotate(52deg); } 86% { transform: rotate(46deg); } 100% { transform: rotate(-88deg); } }
@keyframes icArc { 0% { stroke-dashoffset: 1; } 40%, 80% { stroke-dashoffset: .22; } 100% { stroke-dashoffset: 1; } }
/* 4 Convert: the handset rings, sound waves roll out */
.ic-handset { transform-origin: 59px 40px; animation: icRingShake 3.2s ease-in-out infinite; }
.ic-wave { opacity: 0; animation: icWave 3.2s ease-out infinite; }
.ic-wave.w2 { animation-delay: .18s; } .ic-wave.w3 { animation-delay: .36s; }
@keyframes icRingShake { 0%, 20%, 60%, 100% { transform: rotate(0); } 25%, 35%, 45%, 55% { transform: rotate(-9deg); } 30%, 40%, 50% { transform: rotate(9deg); } }
@keyframes icWave { 0%, 20% { opacity: 0; transform: translate(-3px, 3px); } 32% { opacity: 1; } 60% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; transform: translate(2px, -2px); } }
/* 5 Found: the pin drops in, bounces, and sends a pulse through the ground */
.ic-pin { transform-origin: 60px 62px; animation: icDrop 3.4s cubic-bezier(.3,0,.2,1) infinite; }
.ic-pulse { transform-origin: 60px 64px; animation: icPulse 3.4s ease-out infinite; }
.ic-ground { transform-origin: 60px 64px; animation: icSquash 3.4s ease-out infinite; }
@keyframes icDrop { 0%, 8% { opacity: 0; transform: translateY(-40px); } 30% { opacity: 1; transform: translateY(0); } 38% { transform: translateY(-6px); } 46%, 86% { transform: translateY(0); } 100% { opacity: 0; transform: translateY(0); } }
@keyframes icPulse { 0%, 30% { opacity: 0; transform: scale(.6); } 36% { opacity: .8; } 70%, 100% { opacity: 0; transform: scale(2.2); } }
@keyframes icSquash { 0%, 28% { transform: scale(1); } 32% { transform: scale(1.25, .7); } 42%, 100% { transform: scale(1); } }
/* 6 Launch: the shackle drops and locks, the check appears, the status goes green */
.ic-shackle { transform-origin: 60px 40px; animation: icShackle 4s ease-in-out infinite; }
.ic-padlock { transform-origin: 60px 46px; animation: icLockNudge 4s ease-in-out infinite; }
.ic-check { animation: icCheck 4s ease-in-out infinite; }
.ic-live { animation: icLive 4s ease-in-out infinite; }
@keyframes icShackle { 0%, 25% { transform: translateY(-5px); } 40%, 100% { transform: translateY(0); } }
@keyframes icLockNudge { 0%, 38%, 48%, 100% { transform: none; } 42% { transform: scale(1.08); } }
@keyframes icCheck { 0%, 42% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes icLive { 0%, 42% { fill: var(--mist); } 50%, 100% { fill: #5BE39A; } }
.cards .fv, .cards .fv * { animation-play-state: var(--play, paused); }
.cards.is-live { --play: running; }
.cards { gap: 16px; }
@media (max-width: 899px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 699px) {
  .cards { grid-template-columns: 1fr; gap: 10px; }
  .card { grid-template-columns: 80px minmax(0, 1fr); padding: 14px; transform: none !important; }
  .card .fv { width: 80px; height: 50px; } .card .fv svg { width: 80px; height: 50px; }
  .card h3, .card p { transform: none; }
  .card h3 { font-size: 1.15rem; }
  .card p { font-size: .95rem; }
}
/* Minimal cards: icon + title only. Remove the "minimal" class on the list to show the one-line descriptions again. */
.cards.minimal .card { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 26px 16px 22px; row-gap: 12px; }
.cards.minimal .fv { grid-column: 1; grid-row: 1; width: 110px; }
.cards.minimal .card h3 { grid-column: 1; grid-row: 2; margin: 0; font-size: clamp(1.05rem, 1.15vw, 1.2rem); white-space: nowrap; }
.cards.minimal .card p { display: none; }
@media (max-width: 899px) { .cards.minimal { grid-template-columns: repeat(3, 1fr); gap: 10px; } .cards.minimal .card { padding: 18px 8px 16px; } .cards.minimal .fv { width: 84px; } .cards.minimal .card h3 { font-size: .95rem; } }
@media (max-width: 479px) { .cards.minimal { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .fv *, .fv { animation: none !important; } .ic-draw { stroke-dashoffset: 0; } .ic-pen { offset-distance: 100%; } .ic-wave { opacity: 1; } .ic-check { opacity: 1; } .card { transform: none !important; } }

/* Process */
.process { padding: clamp(100px, 12vw, 180px) 0 0; }
.steps { list-style: none; margin: 0 auto; padding: 0 var(--pad); max-width: var(--wrap); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; counter-reset: step; }
.steps li { position: relative; padding: 28px 28px 32px; border-radius: 16px; background: var(--ink); box-shadow: 0 0 0 1px var(--slate); }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sky); color: var(--night); font-family: var(--display); font-weight: 900; font-size: 1.1rem; }
.steps h3 { margin: 22px 0 8px; font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; font-size: 1.6rem; line-height: 1; }
.steps p { margin: 0; color: var(--mist); }
@media (max-width: 799px) { .steps { grid-template-columns: 1fr; } }

/* Pricing (paper) */
.pricing { margin-top: clamp(100px, 12vw, 180px); background: var(--paper); color: var(--night); color-scheme: light; }
.pricing-in { max-width: var(--wrap); margin: 0 auto; padding: clamp(80px, 9vw, 130px) var(--pad); display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.pricing .lead { color: #4a5160; }
.pricing .hd-lg { font-size: clamp(2.3rem, 4.4vw, 4.2rem); }
.pricing .hd-lg strong { white-space: nowrap; }
.pricing .btn-dark { margin-top: 2rem; }
.included { list-style: none; margin: 0; padding: 0; }
.included li { padding: 16px 0 16px 36px; border-top: 1px solid rgba(5,8,15,.12); position: relative; font-size: 1.05rem; }
.included li:last-child { border-bottom: 1px solid rgba(5,8,15,.12); }
.included li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 16px; height: 10px; border-left: 2.5px solid var(--depth); border-bottom: 2.5px solid var(--depth); transform: rotate(-45deg); }
@media (max-width: 799px) { .pricing-in { grid-template-columns: 1fr; gap: 36px; } }

/* FAQ */
.faq { padding: clamp(100px, 12vw, 180px) 0 0; }
.faq-list { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.faq details { max-width: 820px; }
.faq details { border-top: 1px solid var(--slate); }
.faq details:last-child { border-bottom: 1px solid var(--slate); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 700; font-size: 1.12rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--sky); border-bottom: 2px solid var(--sky); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 24px; color: var(--mist); max-width: 62ch; }

/* Contact */
.contact { max-width: var(--wrap); margin: 0 auto; padding: clamp(100px, 12vw, 180px) var(--pad) 100px; }
.contact-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; }
.contact-side { text-align: right; }
.big-link { display: block; padding: 6px 0; font-family: var(--display); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.03em; text-decoration: none; line-height: 1.1; }
.big-link.sm { font-family: var(--sans); font-weight: 400; font-size: clamp(1rem, 1.6vw, 1.2rem); margin-top: .1rem; padding: 10px 0; color: var(--mist); }
.big-link:hover { color: var(--sky); }
.form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 20px; padding: 28px; border-radius: 20px; background: rgba(12,18,29,.85); border: 1px solid var(--slate); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.fld { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fld label { font-size: .9rem; color: var(--mist); }
.fld input, .fld textarea { width: 100%; background: var(--night); border: 1px solid var(--slate); border-radius: 10px; padding: 14px 14px; color: var(--white); font: inherit; transition: border-color .2s; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--sky); }
.fld.bad input { border-color: #ff7a7a; }
.fld .err { color: #ff9b9b; font-size: .85rem; }
.fld-msg { grid-column: 1 / -1; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: nowrap; gap: 6px; align-content: flex-start; }
.chips legend { font-size: .9rem; color: var(--mist); padding: 0; margin-bottom: 10px; }
.chips label { position: relative; flex: 1 1 0; min-width: 0; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 8px; font-size: .9rem; white-space: nowrap; border-radius: 999px; border: 1px solid var(--slate); background: var(--night); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chips input:checked + span { background: var(--sky); color: var(--night); border-color: var(--sky); font-weight: 700; }
.chips input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.consent { margin: 0; font-size: .9rem; color: var(--mist); max-width: 48ch; }
.form-msg { grid-column: 1 / -1; margin: 0; color: var(--ice); }
.form-msg:empty { display: none; }
.form-done { padding: 32px; border-radius: 16px; background: var(--ink); box-shadow: 0 0 0 1px var(--slate); }
.form-done h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; font-size: 1.8rem; }
.form-done p { color: var(--mist); margin: 0 0 20px; }
@media (max-width: 899px) { .form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) {
  .form { grid-template-columns: 1fr; padding: 20px 16px; gap: 16px; }
  .contact-head { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 24px; }
  .contact-side { text-align: left; }
  .form-foot .btn { width: 100%; }
}

/* Footer */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--slate); }
.footer-mark { position: absolute; right: -4%; bottom: -40%; width: min(26vw, 260px); height: auto; opacity: .05; pointer-events: none; transform: rotate(-8deg); }
.footer-in { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 26px var(--pad) 30px; display: flex; align-items: center; gap: 24px; }
.footer-brand { display: inline-block; padding: 11px 0; }
.footer-brand .wordmark { font-size: 16px; }
.footer-copy { margin: 0 auto 0 0; font-size: .85rem; color: var(--mist); }
.socials { display: flex; gap: 8px; }
.social { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--slate); color: var(--white); text-decoration: none; transition: border-color .25s, transform .25s var(--ease); }
.social span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.social svg, .social img { width: 20px; height: 20px; color: var(--sky); }
.social:hover { border-color: var(--sky); transform: translateY(-2px); }
@media (max-width: 599px) {
  .footer-in { flex-wrap: wrap; gap: 14px 16px; }
  .footer-copy { order: 3; flex-basis: 100%; margin: 0; }
  .socials { margin-left: auto; }
}

/* Project viewer */
.viewer { position: fixed; inset: 0; z-index: 200; background: var(--night); display: grid; grid-template-rows: auto 1fr auto; padding: 16px var(--pad) 20px; gap: 16px; }
.viewer[hidden] { display: none; }
.viewer-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.viewer-title h3 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1; }
.viewer-title p { margin: 6px 0 0; color: var(--mist); font-family: var(--sans); font-style: normal; }
.viewer-ctl { display: flex; gap: 8px; flex-shrink: 0; }
.viewer-ctl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--slate); background: var(--ink); font-size: 1.2rem; transition: border-color .2s; }
.viewer-ctl button:hover { border-color: var(--sky); }
.viewer-body { min-height: 0; display: grid; grid-template-columns: 1fr minmax(180px, 24%); gap: 20px; }
.viewer-desktop, .viewer-phone { min-height: 0; display: flex; flex-direction: column; background: var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--slate); }
.viewer-phone { border-radius: 28px; justify-self: center; width: 100%; max-width: 300px; border: 6px solid #0B1322; }
.bbar { display: flex; gap: 6px; padding: 10px 12px; background: #0B1322; }
.bbar i { width: 10px; height: 10px; border-radius: 50%; background: var(--slate); }
.viewer-scroll { overflow-y: auto; flex: 1; scrollbar-width: thin; scrollbar-color: var(--slate) transparent; }
.viewer-scroll img { width: 100%; height: auto; }
.viewer-cta { justify-self: center; }
@media (max-width: 799px) {
  .viewer-body { grid-template-columns: 1fr; }
  .viewer-phone { display: none; }
  .viewer-title p { display: none; }
}

/* ===== Atmosphere ===== */
:root { --tint: #3F74A8; }
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform, background-color; background-color: var(--tint); -webkit-mask-image: radial-gradient(circle, #000, transparent 65%); mask-image: radial-gradient(circle, #000, transparent 65%); transition: background-color 1.8s ease; }
.b1 { width: 60vmax; height: 60vmax; left: -15vmax; top: -20vmax; animation: drift1 38s ease-in-out infinite alternate; }
.b2 { width: 50vmax; height: 50vmax; right: -20vmax; top: 10vh; opacity: .4; animation: drift2 46s ease-in-out infinite alternate; }
.b3 { width: 45vmax; height: 45vmax; left: 20vw; bottom: -25vmax; opacity: .35; animation: drift3 52s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-22vw, 28vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(14vw, -24vh) scale(1.1); } }
.field { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: .9; }
.glow { position: fixed; left: -300px; top: -300px; width: 600px; height: 600px; z-index: 1; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, rgba(140,203,255,.14), transparent 60%); opacity: 0; transition: opacity .6s; will-change: transform; }
.glow.on { opacity: 1; }
main, .footer { position: relative; z-index: 2; }
.nav { z-index: 120; } .menu { z-index: 110; } .viewer { z-index: 200; }
.hero::before { display: none; }
.pricing { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .blob { animation: none; } .field, .glow { display: none; } }
@media (pointer: coarse) { .field, .glow { display: none; } .blob { filter: blur(60px); } .b3 { display: none; } }

/* Hero stage halo + float */
.stage-halo { position: absolute; inset: 8% -6% -4% -6%; border-radius: 50%; background: radial-gradient(ellipse at 50% 60%, rgba(140,203,255,.22), transparent 62%); filter: blur(30px); animation: halo 7s ease-in-out infinite alternate; pointer-events: none; }
@keyframes halo { to { transform: scale(1.08) translateY(-10px); opacity: .7; } }
.hero-copy, .hero-foot { will-change: transform, opacity; }

/* Client ribbon */
.ribbon { overflow: hidden; border-top: 1px solid var(--slate); border-bottom: 1px solid var(--slate); background: rgba(12,18,29,.5); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ribbon-track { display: flex; align-items: center; gap: 36px; width: max-content; padding: 16px 0; animation: ribbon 40s linear infinite; }
.ribbon-track span { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; font-size: 1.15rem; color: var(--mist); white-space: nowrap; }
.ribbon-track img { width: 18px; height: 18px; opacity: .8; }
@keyframes ribbon { to { transform: translateX(-50%); } }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ribbon-track { animation: none; } }

/* Reveal */
html.js .rv, html.js .rv-group > * { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
html.js .rv.in, html.js .rv-group > .in { opacity: 1; transform: none; }
html.js .hd.rv { clip-path: inset(0 0 100% 0); transform: translateY(0); transition: clip-path .9s var(--ease), opacity .4s; }
html.js .hd.rv.in { clip-path: inset(0 0 -10% 0); }
@media (prefers-reduced-motion: reduce) { html.js .rv, html.js .rv-group > * { opacity: 1; transform: none; clip-path: none; transition: none; } }

/* Portfolio: parallax + tilt + light sweep */
.proj { transform: translateY(var(--py, 0px)); transition: transform .1s linear; will-change: transform; }
.proj:nth-child(even) { transform: translateY(calc(clamp(0px, 4vw, 48px) + var(--py, 0px))); }
.proj-btn { perspective: 1200px; }
.proj-frame { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease); transform-style: preserve-3d; }
.proj-frame::after { content: ""; position: absolute; inset: 0 0 7%; z-index: 2; border-radius: 12px; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.14), transparent 55%); opacity: 0; transition: opacity .3s; }
.proj-btn:hover .proj-frame::after { opacity: 1; }

@media (max-width: 699px) { .proj, .proj:nth-child(even) { transform: none !important; } }

/* Process line draws across */
.steps { position: relative; --line: 0; }
.steps::before { content: ""; position: absolute; left: var(--pad); right: var(--pad); top: 48px; height: 2px; background: var(--slate); z-index: 0; }
.steps::after { content: ""; position: absolute; left: var(--pad); top: 48px; height: 2px; width: calc((100% - 2 * var(--pad)) * var(--line)); background: linear-gradient(90deg, var(--depth), var(--sky)); z-index: 0; box-shadow: 0 0 16px rgba(140,203,255,.6); }
.steps li { z-index: 1; }
.step-n { box-shadow: 0 0 0 6px var(--ink), 0 0 30px rgba(140,203,255,.35); }
@media (max-width: 799px) { .steps::before, .steps::after { left: calc(var(--pad) + 48px); right: auto; width: 2px; height: 100%; top: 0; } .steps::after { height: calc(100% * var(--line)); width: 2px; background: linear-gradient(180deg, var(--depth), var(--sky)); } }

/* Buttons: light follows the pointer */
.btn { position: relative; overflow: hidden; transition: transform .3s var(--ease), background .3s, box-shadow .3s, translate .3s var(--ease); }
.btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.45), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.btn:hover::after { opacity: 1; }
.btn-ghost::after { background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(140,203,255,.25), transparent 60%); }

/* Included list drifts */
.included { will-change: transform; }

/* Big headings get a faint Sky sweep on their bold word */
.hd strong { background: linear-gradient(100deg, var(--white) 0%, var(--white) 55%, var(--ice) 70%, var(--white) 85%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 6s ease-in-out infinite; }
.pricing .hd strong { background: none; color: var(--night); animation: none; }
@keyframes sheen { 0%, 60% { background-position: 110% 0; } 100% { background-position: -110% 0; } }
@media (prefers-reduced-motion: reduce) { .hd strong { animation: none; } }
