/* ==========================================================================
   ODECAPTURE — cinematic portfolio styles
   Palette: midnight / navy backgrounds, ice-blue light, soft white text.
   ========================================================================== */
:root {
  --midnight: #070B12;
  --navy: #0D1524;
  --ice: #9EDCFF;
  --ice-electric: #5CCBFF;
  --white: #F4F8FC;
  --grey: #A8B4C4;

  --glass-bg: rgba(13, 21, 36, .55);
  --glass-border: rgba(158, 220, 255, .16);
  --glass-border-hi: rgba(158, 220, 255, .5);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);

  --ease: cubic-bezier(.22, .8, .24, 1);       /* natural deceleration */
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-fast: .25s;
  --t-med: .6s;
  --t-slow: 1.1s;

  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(18px, 4vw, 56px);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--midnight); overflow-x: clip; }
body {
  margin: 0; min-height: 100vh; color: var(--white); background: var(--midnight);
  font-family: var(--font-body); font-weight: 400; line-height: 1.65; font-size: 1.02rem;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.is-loading, body.menu-open, body.lb-open { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ice); color: var(--midnight); padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--ice-electric); outline-offset: 3px; border-radius: 6px; }

::selection { background: rgba(92, 203, 255, .35); }

/* ---------- Persistent background ---------- */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--midnight); pointer-events: none; }
.bg__fallback {
  position: absolute; inset: -10%;
  background:
    radial-gradient(60% 50% at 20% 30%, rgba(92, 203, 255, .16), transparent 70%),
    radial-gradient(50% 45% at 85% 70%, rgba(158, 220, 255, .10), transparent 70%),
    radial-gradient(70% 60% at 50% 110%, rgba(13, 21, 36, 1), transparent 70%),
    linear-gradient(160deg, #0D1524 0%, #070B12 60%);
  animation: drift 26s var(--ease-in-out) infinite alternate;
  background-size: cover;
}
@keyframes drift { from { transform: translate3d(-2%, -1%, 0) scale(1.05); } to { transform: translate3d(2%, 2%, 0) scale(1.14); } }
.bg__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s var(--ease); }
.bg__video.is-ready { opacity: 1; }
.bg__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 18, .55), rgba(7, 11, 18, .72) 45%, rgba(7, 11, 18, .86)),
    radial-gradient(90% 70% at 50% 40%, transparent 30%, rgba(7, 11, 18, .55));
  opacity: var(--overlay, 1); transition: opacity .8s linear;
}
.bg__grain { position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.bg__dust { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Camera rig (scroll-linked) ---------- */
.rig { position: fixed; left: 0; top: 0; z-index: 1; width: clamp(120px, 15vw, 230px); pointer-events: none; will-change: transform, opacity; opacity: 0; transition: opacity 1s var(--ease); }
.rig.is-on { opacity: var(--rig-op, .9); }
.rig__inner { position: relative; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6)) drop-shadow(0 0 22px rgba(92, 203, 255, .18)); }
.rig__svg { width: 100%; height: auto; }
.rig__beam { position: absolute; left: 92%; top: 42%; width: 140%; height: 22%; transform-origin: 0 50%; background: linear-gradient(90deg, rgba(158, 220, 255, .22), transparent); clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 60%); filter: blur(6px); opacity: .7; }

/* ---------- Cursor glow ---------- */
.cursor-glow { position: fixed; left: 0; top: 0; z-index: 90; width: 360px; height: 360px; margin: -180px 0 0 -180px; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle, rgba(92, 203, 255, .13), transparent 62%); mix-blend-mode: screen; will-change: transform; }
.cursor-glow.is-on { opacity: 1; }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 200; background: #02040a; display: grid; place-items: center; overflow: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro__glow { position: absolute; width: 70vmax; height: 70vmax; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(92, 203, 255, .16), transparent 60%); opacity: 0; animation: fadeIn 2.4s .3s var(--ease) forwards; }
.intro__dust { position: absolute; inset: 0; }
.intro__dust i { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: rgba(190, 232, 255, var(--o)); left: var(--x); top: var(--y); opacity: 0; animation: float var(--d) var(--dl) linear infinite; filter: blur(.4px); }
@keyframes float { 0% { opacity: 0; transform: translate3d(0, 20px, 0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate3d(var(--dx), -110px, 0); } }
@keyframes fadeIn { to { opacity: 1; } }
.intro__stage { position: relative; z-index: 2; width: min(92vw, 860px); text-align: center; padding: 0 12px; display: grid; gap: 14px; justify-items: center; }
.intro__camera { position: relative; width: clamp(170px, 30vw, 300px); opacity: 0; transform: translateY(18px) scale(.94) rotate(-3deg); animation: camIn 1.8s .7s var(--ease) forwards; margin-bottom: 14px; overflow: hidden; border-radius: 12px; filter: drop-shadow(0 0 40px rgba(92, 203, 255, .22)); }
@keyframes camIn { to { opacity: 1; transform: none; } }
.intro__camera svg { width: 100%; height: auto; }
.intro__sweep { position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(220, 244, 255, .7), transparent); transform: skewX(-18deg); mix-blend-mode: screen; animation: sweep 1.4s 2s var(--ease-in-out) forwards; }
@keyframes sweep { to { left: 130%; } }
.intro__line { opacity: 0; filter: blur(10px); transform: translateY(16px); animation: lineIn 1.1s var(--ease) forwards; }
.intro__line--1 { font-family: var(--font-display); font-size: clamp(1.7rem, 4.4vw, 3.1rem); line-height: 1.12; font-weight: 500; animation-delay: 2.3s; }
.intro__line--1 em { color: var(--ice); font-style: italic; }
.intro__line--2 { font-size: clamp(.8rem, 1.6vw, 1rem); letter-spacing: .32em; text-transform: uppercase; color: var(--ice-electric); animation-delay: 3.4s; }
.intro__line--3 { max-width: 40ch; color: var(--grey); font-size: clamp(.95rem, 1.7vw, 1.1rem); animation-delay: 4.3s; }
@keyframes lineIn { to { opacity: 1; filter: blur(0); transform: none; } }
.intro__skip { position: absolute; right: var(--gutter); bottom: 28px; z-index: 3; background: transparent; border: 1px solid var(--glass-border); border-radius: 999px; padding: 10px 18px; color: var(--grey); letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; transition: .3s var(--ease); }
.intro__skip:hover, .intro__skip:focus-visible { color: var(--white); border-color: var(--glass-border-hi); box-shadow: 0 0 24px rgba(92, 203, 255, .2); }
/* lightweight variant (mobile / low motion): shorter timeline, no heavy blur */
.intro--lite .intro__camera { animation-delay: .3s; animation-duration: 1s; }
.intro--lite .intro__sweep { animation-delay: 1s; }
.intro--lite .intro__line { filter: none; }
.intro--lite .intro__line--1 { animation-delay: 1.2s; }
.intro--lite .intro__line--2 { animation-delay: 1.9s; }
.intro--lite .intro__line--3 { animation-delay: 2.5s; }

/* ---------- Top bar / burger ---------- */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 120; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); pointer-events: none; }
.topbar > * { pointer-events: auto; }
.burger { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--glass-border); background: rgba(7, 11, 18, .45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: grid; place-content: center; gap: 6px; transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast); }
.burger:hover { border-color: var(--glass-border-hi); box-shadow: 0 0 26px rgba(92, 203, 255, .22); }
.burger:active { transform: scale(.94); }
.burger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .45s var(--ease), opacity .3s, width .3s var(--ease); }
.burger span:nth-child(2) { width: 15px; margin-left: auto; }
.burger:hover span:nth-child(2) { width: 22px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.topbar__brand { position: absolute; left: 50%; transform: translateX(-50%); font-family: var(--font-display); letter-spacing: .42em; font-size: .95rem; font-weight: 600; padding: 8px; color: var(--white); text-indent: .42em; }

/* ---------- Menu overlay ---------- */
.menu { position: fixed; inset: 0; z-index: 110; display: grid; align-content: center; justify-items: start; padding: 110px var(--gutter) 60px calc(var(--gutter) + 8px); background: rgba(5, 8, 14, .78); backdrop-filter: blur(26px) saturate(1.2); -webkit-backdrop-filter: blur(26px) saturate(1.2); visibility: hidden; opacity: 0; transition: opacity .5s var(--ease), visibility .5s; }
.menu.is-open { visibility: visible; opacity: 1; }
.menu__list { display: grid; gap: clamp(2px, 1.2vh, 12px); }
.menu__list li { overflow: hidden; }
.menu__list a { position: relative; display: inline-block; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 7vw, 5rem); line-height: 1.15; letter-spacing: .01em; color: var(--white); opacity: 0; transform: translateY(105%); transition: transform .8s var(--ease), opacity .6s var(--ease), letter-spacing .5s var(--ease), color .3s; transition-delay: calc(var(--i) * 70ms + 120ms), calc(var(--i) * 70ms + 120ms), 0s, 0s; }
.menu.is-open .menu__list a { opacity: 1; transform: none; }
.menu__list a::after { content: ""; position: absolute; left: 0; bottom: 4px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--ice-electric), transparent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.menu__list a:hover, .menu__list a:focus-visible, .menu__list a.is-current { color: var(--ice); letter-spacing: .05em; }
.menu__list a:hover::after, .menu__list a:focus-visible::after, .menu__list a.is-current::after { transform: scaleX(1); }
.menu__foot { margin-top: 40px; color: var(--grey); letter-spacing: .24em; text-transform: uppercase; font-size: .72rem; opacity: 0; transition: opacity .8s .7s; }
.menu.is-open .menu__foot { opacity: 1; }

/* ---------- Buttons / glass ---------- */
.glass { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius); backdrop-filter: blur(16px) saturate(1.15); -webkit-backdrop-filter: blur(16px) saturate(1.15); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .05); transition: border-color var(--t-fast), box-shadow var(--t-med) var(--ease), transform var(--t-med) var(--ease); }
.btn { --glow: rgba(92, 203, 255, .0); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px; border-radius: 999px; border: 1px solid var(--glass-border-hi); background: rgba(158, 220, 255, .06); color: var(--white); font-weight: 600; letter-spacing: .08em; font-size: .86rem; text-transform: uppercase; transition: background var(--t-fast), box-shadow var(--t-med) var(--ease), transform var(--t-fast) var(--ease), border-color var(--t-fast), color var(--t-fast); box-shadow: 0 0 0 var(--glow); will-change: transform; }
.btn:hover, .btn:focus-visible { background: rgba(92, 203, 255, .16); border-color: var(--ice-electric); box-shadow: 0 0 34px rgba(92, 203, 255, .3), inset 0 0 18px rgba(158, 220, 255, .08); }
.btn:active { transform: scale(.965); }
.btn--primary { background: linear-gradient(135deg, rgba(92, 203, 255, .95), rgba(158, 220, 255, .85)); color: var(--midnight); border-color: transparent; }
.btn--primary:hover, .btn--primary:focus-visible { background: linear-gradient(135deg, #7fd7ff, #c4eaff); color: var(--midnight); }
.btn--ghost { background: rgba(7, 11, 18, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--sm { padding: 10px 20px; font-size: .74rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn__spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(7, 11, 18, .3); border-top-color: var(--midnight); animation: spin .8s linear infinite; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--glass-border); background: rgba(7, 11, 18, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast); }
.icon-btn:hover { border-color: var(--glass-border-hi); box-shadow: 0 0 22px rgba(92, 203, 255, .25); }
.icon-btn:active { transform: scale(.92); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Layout ---------- */
main, .footer { position: relative; z-index: 2; }
main { overflow-x: clip; }
.wrap { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding: clamp(90px, 14vh, 170px) 0; position: relative; }
.eyebrow { letter-spacing: .34em; text-transform: uppercase; font-size: .72rem; color: var(--ice-electric); font-weight: 600; margin-bottom: 18px; }
.display { font-family: var(--font-display); font-weight: 500; line-height: 1.04; font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -.01em; }
.lede { color: var(--grey); max-width: 56ch; margin-top: 18px; font-size: 1.08rem; }
.section__head { margin-bottom: clamp(36px, 6vh, 64px); }
.center { text-align: center; margin-top: 54px; }
.streak { position: relative; height: 1px; width: min(1240px, 100% - var(--gutter) * 2); margin: 0 auto; background: linear-gradient(90deg, transparent, rgba(158, 220, 255, .35), transparent); overflow: visible; }
.streak::after { content: ""; position: absolute; top: -2px; left: -20%; width: 20%; height: 5px; border-radius: 4px; background: radial-gradient(closest-side, rgba(220, 244, 255, .95), transparent); filter: blur(2px); animation: streak 7s var(--ease-in-out) infinite; }
@keyframes streak { 0% { left: -20%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* ---------- Reveal system ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); filter: blur(8px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease), filter var(--t-slow) var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .slide-left { opacity: 0; transform: translateX(-60px); filter: blur(8px); transition: all 1.2s var(--ease); }
.js .slide-right { opacity: 0; transform: translateX(60px); filter: blur(8px); transition: all 1.2s .12s var(--ease); }
.js .reveal.in-view, .js .slide-left.in-view, .js .slide-right.in-view { opacity: 1; transform: none; filter: blur(0); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 120px var(--gutter) 110px; }
.hero__inner { width: min(1240px, 100%); margin-inline: auto; }
.hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(3rem, 12.5vw, 10rem); line-height: .95; letter-spacing: .04em; margin-bottom: 26px; }
.hero__title .ch { display: inline-block; opacity: 0; transform: translateY(40%) rotateX(-50deg); filter: blur(10px); transition: all 1.2s var(--ease); transition-delay: calc(var(--k) * 55ms); }
.hero.is-live .hero__title .ch { opacity: 1; transform: none; filter: blur(0); }
.hero__tag { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.4rem); font-style: italic; color: var(--ice); max-width: 32ch; line-height: 1.2; }
.hero__sub { margin-top: 18px; letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; color: var(--white); opacity: .85; }
.hero__area { margin-top: 12px; color: var(--grey); max-width: 52ch; font-size: .95rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero:not(.is-live) .reveal { opacity: 0 !important; }
.hero.is-live .reveal { transition-delay: calc(.5s + var(--d, 0) * 110ms); }
.scrollcue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 12px; font-size: .68rem; letter-spacing: .34em; color: var(--grey); padding: 8px; transition: color .3s; white-space: nowrap; text-indent: .34em; }
.scrollcue:hover { color: var(--ice); }
.scrollcue i { width: 1px; height: 46px; background: linear-gradient(var(--ice-electric), transparent); position: relative; overflow: hidden; }
.scrollcue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { to { top: 110%; } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.about__text p { color: var(--grey); margin-top: 20px; max-width: 52ch; }
.about__text .display { margin-bottom: 14px; }
.about__text .about__em { color: var(--white); font-family: var(--font-display); font-style: italic; font-size: 1.45rem; line-height: 1.35; }
.frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-border); background: linear-gradient(160deg, #0f1a2e, #070B12); box-shadow: var(--shadow); }
.frame::before, .frame::after { content: ""; position: absolute; top: 0; bottom: 0; width: 14px; z-index: 3; background: repeating-linear-gradient(180deg, transparent 0 14px, rgba(158, 220, 255, .28) 14px 26px); mask: linear-gradient(90deg, #000 0 0); opacity: .55; }
.frame::before { left: 8px; } .frame::after { right: 8px; }
.frame > img, .frame > video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); animation: slowzoom 20s var(--ease-in-out) infinite alternate; }
@keyframes slowzoom { to { transform: scale(1.2) translate(-2%, -2%); } }
.ph { position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; text-align: center; padding: 28px; color: var(--grey); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; background: radial-gradient(60% 50% at 30% 20%, rgba(92, 203, 255, .14), transparent 70%), linear-gradient(160deg, #0f1a2e, #070B12); }
.ph svg { width: 40px; height: 40px; margin-inline: auto; stroke: var(--ice); fill: none; stroke-width: 1.4; opacity: .8; }
.ph code { font-family: ui-monospace, Menlo, monospace; letter-spacing: 0; text-transform: none; font-size: .72rem; color: var(--ice); opacity: .9; }
.founder { position: relative; display: inline-flex; align-items: center; gap: 18px; margin-top: 34px; padding: 18px 28px 18px 18px; overflow: hidden; }
.founder:hover { border-color: var(--glass-border-hi); transform: translateY(-3px); box-shadow: var(--shadow), 0 0 40px rgba(92, 203, 255, .16); }
.founder__mark { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.7rem; background: radial-gradient(circle at 30% 25%, rgba(158, 220, 255, .5), rgba(13, 21, 36, .9)); border: 1px solid var(--glass-border-hi); }
.founder__name { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.1; }
.founder__role { color: var(--ice); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-top: 4px; }
.founder__shine { position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(158, 220, 255, .18), transparent); transform: skewX(-18deg); animation: shine 6s 1s var(--ease-in-out) infinite; }
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 140%; } }

/* ---------- Quote ---------- */
.quote { position: relative; min-height: 86vh; display: grid; place-items: center; overflow: hidden; padding: 120px 0; isolation: isolate; }
.quote::before, .quote::after { content: ""; position: absolute; left: 0; right: 0; height: 22vh; z-index: 1; pointer-events: none; }
.quote::before { top: 0; background: linear-gradient(var(--midnight), transparent); }
.quote::after { bottom: 0; background: linear-gradient(transparent, var(--midnight)); }
.quote__kb { position: absolute; inset: -6%; z-index: -2; background: radial-gradient(60% 60% at 50% 50%, rgba(13, 21, 36, .0), rgba(7, 11, 18, .9)); background-size: cover; background-position: center; opacity: .5; animation: slowzoom 28s var(--ease-in-out) infinite alternate; }
.quote__beam { position: absolute; z-index: -1; top: -20%; left: -30%; width: 60%; height: 140%; background: linear-gradient(100deg, transparent, rgba(158, 220, 255, .10), transparent); transform: skewX(-20deg); animation: beam 14s var(--ease-in-out) infinite alternate; filter: blur(10px); }
@keyframes beam { to { left: 80%; } }
.quote__text { position: relative; z-index: 3; max-width: 1000px; text-align: center; }
.quote__text p { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 5.6vw, 4.2rem); line-height: 1.15; }
.quote__text .w { display: inline-block; opacity: 0; transform: translateY(20px); filter: blur(10px); transition: all 1s var(--ease); transition-delay: calc(var(--k) * 90ms); margin-right: .26em; }
.quote__text.in-view .w { opacity: 1; transform: none; filter: blur(0); }
.quote__text .w:nth-last-child(-n+4) { color: var(--ice); font-style: italic; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.chip { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--glass-border); background: rgba(13, 21, 36, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); transition: all var(--t-fast) var(--ease); }
.chip:hover { color: var(--white); border-color: var(--glass-border-hi); }
.chip[aria-pressed="true"] { color: var(--midnight); background: var(--ice); border-color: var(--ice); box-shadow: 0 0 26px rgba(92, 203, 255, .35); }

.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 120px; grid-auto-flow: dense; gap: 18px; }
.grid > li { min-width: 0; perspective: 1100px; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.grid > li[data-size="wide"] { grid-column: span 4; grid-row: span 3; }
.grid > li[data-size="std"] { grid-column: span 3; grid-row: span 3; }
.grid > li[data-size="square"] { grid-column: span 2; grid-row: span 3; }
.grid > li[data-size="tall"] { grid-column: span 2; grid-row: span 4; }
.grid > li.is-out { opacity: 0; transform: scale(.94); }
.grid > li.is-in { animation: cardIn .7s var(--ease) both; animation-delay: calc(var(--k, 0) * 60ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.96); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }

.card { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 1px solid var(--glass-border); border-radius: var(--radius); overflow: hidden; background: var(--navy); text-align: left; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease); isolation: isolate; box-shadow: var(--shadow); }
.card:hover, .card:focus-visible { border-color: var(--glass-border-hi); box-shadow: var(--shadow), 0 0 38px rgba(92, 203, 255, .22); }
.card.is-tilting { transition: transform .12s linear, border-color .4s, box-shadow .5s var(--ease); }
.card__media { position: absolute; inset: 0; transform: scale(1) translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .9s var(--ease); }
.card:hover .card__media, .card:focus-visible .card__media { transform: scale(1.06) translate3d(var(--px, 0), var(--py, 0), 0); }
.card__media img, .card__media video { width: 100%; height: 100%; object-fit: cover; }
.card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7, 11, 18, .82)); transition: opacity .5s; }
.card__over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 22px; background: linear-gradient(180deg, rgba(13, 21, 36, 0) 20%, rgba(13, 21, 36, .78)); backdrop-filter: blur(0); transition: backdrop-filter .5s; }
.card__cat { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ice); }
.card__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; transform: translateY(8px); transition: transform .55s var(--ease); }
.card__more { display: flex; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--white); opacity: 0; transform: translateY(10px); transition: all .55s var(--ease); }
.card:hover .card__title, .card:focus-visible .card__title { transform: none; }
.card:hover .card__more, .card:focus-visible .card__more { opacity: 1; transform: none; }
.card:hover .card__over, .card:focus-visible .card__over { backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.card__glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 0%), rgba(220, 244, 255, .22), transparent 60%); opacity: 0; transition: opacity .4s; mix-blend-mode: screen; }
.card:hover .card__glare { opacity: 1; }
.card__play { position: absolute; top: 16px; right: 16px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(7, 11, 18, .55); border: 1px solid var(--glass-border-hi); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .4s var(--ease), background .3s; }
.card:hover .card__play { transform: scale(1.12); background: rgba(92, 203, 255, .3); }
.card__play svg { width: 16px; height: 16px; fill: var(--white); margin-left: 2px; }
.badge { position: absolute; top: 16px; left: 16px; z-index: 3; padding: 5px 10px; border-radius: 999px; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; background: rgba(7, 11, 18, .7); border: 1px dashed var(--glass-border-hi); color: var(--ice); }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.svc { position: relative; padding: 32px 28px 34px; overflow: hidden; }
.svc::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--ice-electric), transparent); transform: scaleX(0); transition: transform .7s var(--ease); }
.svc:hover { transform: translateY(-8px); border-color: var(--glass-border-hi); box-shadow: var(--shadow), 0 0 42px rgba(92, 203, 255, .18); }
.svc:hover::before { transform: scaleX(1); }
.svc__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(158, 220, 255, .08); border: 1px solid var(--glass-border); margin-bottom: 22px; transition: background .4s, transform .6s var(--ease); }
.svc:hover .svc__icon { background: rgba(92, 203, 255, .18); transform: rotate(-6deg) scale(1.06); }
.svc__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--ice); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; line-height: 1.15; margin-bottom: 10px; }
.svc p { color: var(--grey); font-size: .96rem; }
.js .svc { opacity: 0; transform: translateY(30px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease), border-color .3s, box-shadow .5s var(--ease); transition-delay: calc(var(--k) * 80ms), calc(var(--k) * 80ms), calc(var(--k) * 80ms), 0s, 0s; }
.js .svc.in-view { opacity: 1; transform: none; filter: none; }
.js .svc.in-view:hover { transform: translateY(-8px); transition-delay: 0s; }

/* ---------- Reviews ---------- */
.slider { position: relative; }
.slider__track { position: relative; display: grid; }
.rev { grid-area: 1 / 1; padding: clamp(28px, 5vw, 56px); opacity: 0; visibility: hidden; transform: translateX(40px) scale(.98); transition: all .8s var(--ease); }
.rev.is-active { opacity: 1; visibility: visible; transform: none; }
.rev.is-prev { transform: translateX(-40px) scale(.98); }
.rev__tag { display: inline-block; padding: 5px 12px; border: 1px dashed var(--glass-border-hi); border-radius: 999px; color: var(--ice); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 22px; }
.rev__text { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.3; max-width: 34ch; }
.rev__who { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.rev__avatar { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 30% 25%, rgba(158, 220, 255, .4), rgba(13, 21, 36, .9)); border: 1px solid var(--glass-border-hi); display: grid; place-items: center; font-family: var(--font-display); }
.rev__avatar img { width: 100%; height: 100%; object-fit: cover; }
.rev__name { font-weight: 600; }
.rev__ctx { color: var(--grey); font-size: .85rem; }
.stars { display: inline-flex; gap: 3px; margin-left: auto; }
.stars svg { width: 18px; height: 18px; fill: var(--ice); }
.stars svg.off { fill: rgba(158, 220, 255, .2); }
.slider__ctrl { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 26px; }
.dots { display: flex; gap: 10px; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 1px solid var(--glass-border-hi); background: transparent; transition: all .4s var(--ease); }
.dots button[aria-selected="true"] { width: 30px; border-radius: 6px; background: var(--ice); border-color: var(--ice); }

/* ---------- Stats ---------- */
.stats { padding: clamp(60px, 10vh, 110px) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.stat { padding: 34px 26px; text-align: center; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--ice); font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 12px; letter-spacing: .2em; text-transform: uppercase; font-size: .72rem; color: var(--grey); }
.stat__ph { display: block; margin-top: 12px; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ice); opacity: .75; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact__side { display: grid; gap: 18px; }
.actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.actions .btn { justify-content: flex-start; padding: 14px 18px; font-size: .74rem; letter-spacing: .06em; text-transform: none; font-weight: 600; }
.actions .btn svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.actions .btn--wa { grid-column: 1 / -1; }
.contact__info { padding: 26px 28px; display: grid; gap: 8px; color: var(--grey); }
.contact__info b { color: var(--white); font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.contact__info a { color: var(--ice); border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact__info a:hover { border-color: var(--ice); }
.map { padding: 22px 28px; color: var(--grey); font-size: .9rem; }
.map iframe { width: 100%; height: 260px; border: 0; border-radius: 14px; }
.form { padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; }
.form__title { font-family: var(--font-display); font-weight: 500; font-size: 1.9rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); }
.field input, .field select, .field textarea { width: 100%; padding: 15px 18px; border-radius: 16px; border: 1px solid var(--glass-border); background: rgba(7, 11, 18, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--white); transition: border-color .3s, box-shadow .3s, background .3s; }
.field select option { background: var(--navy); color: var(--white); }
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(158, 220, 255, .32); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ice-electric); box-shadow: 0 0 0 3px rgba(92, 203, 255, .2), 0 0 26px rgba(92, 203, 255, .12); background: rgba(7, 11, 18, .7); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ff8fa3; }
.err { color: #ffb0be; font-size: .8rem; min-height: 0; }
.form__notice { padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--glass-border-hi); background: rgba(92, 203, 255, .07); color: var(--ice); font-size: .88rem; }
.form__result { font-size: .95rem; }
.form__result.is-ok { color: #b9f3d0; }
.form__result.is-err { color: #ffb0be; }
.form__result .btn { margin: 10px 10px 0 0; }

/* ---------- Footer ---------- */
.footer { padding: 90px 0 30px; border-top: 1px solid var(--glass-border); background: linear-gradient(180deg, rgba(7, 11, 18, .6), var(--midnight) 60%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer__brand { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: .2em; }
.footer__tag { color: var(--ice); font-family: var(--font-display); font-style: italic; font-size: 1.2rem; margin-top: 8px; }
.footer__links { display: grid; gap: 8px; align-content: start; }
.footer__links a { color: var(--grey); position: relative; transition: color .3s; font-size: .95rem; }
.footer__links a:hover, .footer__links a:focus-visible { color: var(--ice); }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 60px; padding-top: 22px; border-top: 1px solid rgba(158, 220, 255, .08); color: var(--grey); font-size: .82rem; }
.to-top { background: none; border: 1px solid var(--glass-border); border-radius: 999px; padding: 9px 18px; color: var(--white); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; transition: all .3s var(--ease); }
.to-top:hover { border-color: var(--glass-border-hi); box-shadow: 0 0 22px rgba(92, 203, 255, .22); transform: translateY(-2px); }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; opacity: 0; transition: opacity .4s var(--ease); }
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }
.lb__backdrop { position: absolute; inset: 0; background: rgba(3, 6, 11, .82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.lb__panel { position: relative; width: min(1180px, 100% - 24px); max-height: 100svh; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; transform: scale(.96) translateY(12px); transition: transform .5s var(--ease); }
.lb.is-open .lb__panel { transform: none; }
.lb__close { position: absolute; top: -62px; right: 0; z-index: 3; }
.lb__stage { position: relative; grid-column: 2; display: grid; place-items: center; border-radius: 20px; overflow: hidden; background: #02040a; border: 1px solid var(--glass-border); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 60px rgba(92, 203, 255, .1); aspect-ratio: 16 / 9; max-height: 78svh; width: 100%; }
.lb__stage video, .lb__stage img { width: 100%; height: 100%; object-fit: contain; background: #02040a; }
.lb__stage.is-portrait { width: auto; height: min(78svh, 160vw); max-width: 100%; aspect-ratio: 9 / 16; justify-self: center; }
.lb__stage.is-portrait video { width: 100%; height: 100%; object-fit: contain; }
.lb__rotated-controls { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid rgba(158, 220, 255, .2); border-radius: 12px; background: rgba(7, 11, 18, .82); backdrop-filter: blur(12px); }
.lb__video-control { border: 0; padding: 4px; background: transparent; color: var(--white); font-size: .72rem; cursor: pointer; }
.lb__video-seek { flex: 1; min-width: 40px; accent-color: var(--ice); }
.lb__video-time { color: var(--white); font-size: .68rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lb__stage.is-rotated video { width: 56.25%; height: 177.78%; object-fit: contain; }
.lb__stage .ph { position: relative; width: 100%; height: 100%; }
.lb__nav--prev { grid-column: 1; grid-row: 1; } .lb__nav--next { grid-column: 3; grid-row: 1; }
.lb__cap { grid-column: 2; padding: 6px 4px 0; }
.lb__title { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; }
.lb__meta { color: var(--ice); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; margin-top: 4px; }
.lb.is-swapping .lb__stage { opacity: 0; transform: scale(.98); }
.lb__stage { transition: opacity .3s var(--ease), transform .4s var(--ease); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid > li[data-size="wide"] { grid-column: span 4; }
  .grid > li[data-size="std"] { grid-column: span 2; }
  .grid > li[data-size="square"] { grid-column: span 2; }
  .grid > li[data-size="tall"] { grid-column: span 2; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .about__grid { grid-template-columns: 1fr; }
  .frame { aspect-ratio: 4 / 3; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 14px; }
  .js .slide-left { transform: translateX(-24px); } .js .slide-right { transform: translateX(24px); }
  .grid > li { grid-row: auto !important; }
  .grid > li[data-size="wide"] { grid-column: span 2; aspect-ratio: 16 / 9; }
  .grid > li[data-size="std"] { grid-column: span 2; aspect-ratio: 4 / 3; }
  .grid > li[data-size="square"] { grid-column: span 1; aspect-ratio: 1; }
  .grid > li[data-size="tall"] { grid-column: span 1; aspect-ratio: 3 / 4; }
  .card__over { padding: 14px; } .card__title { font-size: 1.1rem; }
  .card__more { display: none; }
  .card .ph code { display: none; }
  .card .ph { padding-bottom: 70px; }
  .actions, .field-row { grid-template-columns: 1fr; }
  .topbar__brand { display: none; }
  .hero { padding-top: 110px; }
  .lb__panel { grid-template-columns: 1fr; }
  .lb__stage { grid-column: 1; }
  .lb__stage.is-portrait { height: min(78svh, 160vw); max-width: 92vw; }
  .lb__nav { position: absolute; top: calc(50% - 24px); z-index: 3; }
  .lb__nav--prev { left: 8px; } .lb__nav--next { right: 8px; }
  .lb__cap { grid-column: 1; }
  .lb__close { top: -56px; right: 4px; }
  .footer__grid { grid-template-columns: 1fr; }
  .bg__dust { opacity: .6; }
}
@media (max-width: 680px) {
  /* Use the lightweight cinematic gradient on phones instead of loading video. */
  .bg__video { display: none; }
  .bg__fallback { animation: none; }
  /* Keep the first-screen heading visible immediately for mobile loading. */
  .hero__title .ch { opacity: 1; transform: none; filter: none; transition: none; transition-delay: 0s; }
  .hero.is-live .reveal { transition: none; transition-delay: 0s; }
}
@media (hover: none) { .cursor-glow { display: none; } .card:hover .card__media { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .slide-left, .js .slide-right, .js .svc { opacity: 1; transform: none; filter: none; }
  .hero__title .ch, .quote__text .w { opacity: 1; transform: none; filter: none; }
  .hero:not(.is-live) .reveal { opacity: 1 !important; }
  .cursor-glow, .streak::after, .bg__dust, .intro { display: none; }
  .bg__fallback { animation: none; }
}
