/* =============================================================================
   ZIVROTECH — COMPONENTS & MOTION  (v4 · colourful glass / depth)
============================================================================= */

/* ---------------------------------------------------------------------------
   FIXED CHROME : colour-orb background, bracket cursor, frame, rail, progress
--------------------------------------------------------------------------- */
#bg-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 75; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 14px rgba(91,61,245,.6); }

.siderail { position: fixed; left: 14px; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; z-index: 52; font-family: var(--font-mono); font-size: 10px; letter-spacing: .3em; color: var(--ink-faint); pointer-events: none; }
@media (max-width: 1180px) { .siderail { display: none; } }

/* BRACKET CURSOR — focus reticle that snaps around interactive elements (inspector-style) */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; } a, button, input, select, textarea, [data-cursor] { cursor: none; }
  .cursor { display: block; --cur: var(--accent); transition: opacity .25s; }
  .cursor.on-dark { --cur: var(--c-cyan); }
  .cursor.is-away { opacity: 0; }
  .cursor__frame { position: fixed; left: 0; top: 0; width: 26px; height: 26px; z-index: 9999; pointer-events: none; }
  .cursor__frame i { position: absolute; width: 8px; height: 8px; border: 1.5px solid var(--cur); transition: width .25s var(--ease), height .25s var(--ease), border-color .2s; }
  .cursor__frame .tl { left: 0; top: 0; border-right: 0; border-bottom: 0; }
  .cursor__frame .tr { right: 0; top: 0; border-left: 0; border-bottom: 0; }
  .cursor__frame .bl { left: 0; bottom: 0; border-right: 0; border-top: 0; }
  .cursor__frame .br { right: 0; bottom: 0; border-left: 0; border-top: 0; }
  .cursor__dot { position: fixed; left: 0; top: 0; width: 4px; height: 4px; margin: -2px 0 0 -2px; background: var(--cur); z-index: 9999; pointer-events: none; transition: background .2s; }
  .cursor__tag { position: absolute; left: 0; bottom: calc(100% + 6px); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .08em; line-height: 1; white-space: nowrap; padding: 4px 7px; border-radius: 4px; background: var(--cur); color: #fff; opacity: 0; transform: translateY(3px); transition: opacity .2s, transform .2s; }
  .cursor.tag-below .cursor__tag { bottom: auto; top: calc(100% + 6px); transform: translateY(-3px); }
  body.cursor-hover .cursor__frame i { width: 12px; height: 12px; border-width: 2px; }
  body.cursor-hover .cursor__tag.has-text { opacity: 1; transform: none; }
}
/* reduced motion / no GSAP → keep the native pointer */
.native-cursor .cursor { display: none; }
.native-cursor body { cursor: auto; }
.native-cursor a, .native-cursor button, .native-cursor [data-cursor] { cursor: pointer; }
.native-cursor input, .native-cursor textarea { cursor: text; }
.native-cursor select { cursor: pointer; }

.frame { position: fixed; inset: 13px; z-index: 50; pointer-events: none; }
.frame__corner { position: absolute; width: 18px; height: 18px; border: 1.5px solid var(--line-strong); }
.frame__corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.frame__corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.frame__corner--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.frame__corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.statusbar { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 51; display: flex; gap: 14px; align-items: center; padding: 8px 18px; background: var(--glass-strong); border: 1px solid var(--glass-brd); border-radius: var(--radius-pill); backdrop-filter: blur(14px); box-shadow: var(--glass-shadow); pointer-events: none; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; }
.statusbar__item { display: flex; gap: 6px; white-space: nowrap; }
.statusbar__k { color: var(--ink-faint); } .statusbar__v { color: var(--ink); }
.statusbar__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-cyan); box-shadow: 0 0 8px var(--c-cyan); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(20,197,224,.55); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (max-width: 760px) { .statusbar { display: none; } .frame { inset: 8px; } }

/* ---------------------------------------------------------------------------
   GLASS PRIMITIVE
--------------------------------------------------------------------------- */
.glass { background: var(--glass); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border: 1px solid var(--glass-brd); border-radius: var(--radius); box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,.6); }

/* ---------------------------------------------------------------------------
   HEADER — glass instrument panel
--------------------------------------------------------------------------- */
.nh { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: rgba(246,247,254,.6); backdrop-filter: blur(16px) saturate(150%); border-bottom: 1px solid var(--line-faint); transition: background .4s, box-shadow .4s; }
.nh.is-stuck { background: rgba(246,247,254,.82); box-shadow: 0 10px 40px -24px rgba(58,40,160,.35); }
.nh__strip { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 7px var(--gutter); border-bottom: 1px solid var(--line-faint); font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--ink-faint); text-transform: uppercase; }
.nh__strip-r { display: flex; gap: 18px; align-items: center; }
.nh__clock { color: var(--accent); }
.nh__live { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.nh__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-cyan); box-shadow: 0 0 8px var(--c-cyan); animation: pulse 2.4s infinite; }
.nh__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px var(--gutter); max-width: var(--shell); margin-inline: auto; }
.nh__brand { display: flex; align-items: center; gap: 11px; }
.brand__mark { width: 42px; height: 42px; border-radius: 13px; flex: none; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 15px; box-shadow: 0 10px 24px -10px rgba(91,61,245,.6); position: relative; overflow: hidden; }
.brand__mark--inv { background: #fff; color: var(--accent); }
.nh__name { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -.01em; }
.nh__nav { display: flex; align-items: center; gap: 4px; }
.nh__link { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; font-size: 14.5px; color: var(--ink-soft); border-radius: var(--radius-pill); transition: color .25s, background .25s; }
.nh__link .nh__num { font-family: var(--font-mono); font-size: 10px; color: var(--ink-faint); }
.nh__link:hover, .nh__link.is-active { color: var(--accent); background: rgba(91,61,245,.08); }
.nh__link:hover .nh__num, .nh__link.is-active .nh__num { color: var(--accent); }
.nh__right { display: flex; align-items: center; gap: 10px; }
.nh__scan { display: none; }

.burger { display: none; width: 46px; height: 46px; border-radius: 13px; position: relative; background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(10px); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { bottom: 18px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 58; background: var(--grad-deep); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: var(--gutter); clip-path: circle(0% at calc(100% - 60px) 56px); transition: clip-path .7s var(--ease-io); pointer-events: none; }
body.menu-open .menu { clip-path: circle(160% at calc(100% - 60px) 56px); pointer-events: auto; }
.menu__meta { color: rgba(255,255,255,.5); margin-bottom: 28px; }
.menu__link { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem,11vw,5rem); line-height: 1.16; letter-spacing: -.02em; color: #fff; display: flex; align-items: baseline; gap: 16px; transition: color .25s, transform .25s; }
.menu__link:hover { color: var(--c-cyan); transform: translateX(10px); }
.menu__link .num { font-family: var(--font-mono); font-size: 14px; color: var(--c-cyan); }
.menu__foot { margin-top: 44px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
@media (max-width: 1024px) { .nh__nav, .nh__right .btn { display: none; } .burger { display: block; } }
@media (max-width: 620px) { .nh__strip-l { display: none; } .nh__strip { justify-content: flex-end; } }

/* ---------------------------------------------------------------------------
   BUTTONS  (gradient + glow)
--------------------------------------------------------------------------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: var(--radius-pill); font-size: 14.5px; font-weight: 500; transition: transform .25s var(--ease), box-shadow .3s, background .3s, color .3s; will-change: transform; }
.btn .btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translate(3px,-3px); }
.btn:active { transform: scale(.96); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 14px 32px -14px rgba(91,61,245,.7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 46px -14px rgba(91,61,245,.85); }
.btn--lime { background: var(--grad-warm); color: #fff; box-shadow: 0 14px 32px -14px rgba(255,92,114,.65); }
.btn--lime:hover { transform: translateY(-2px); box-shadow: 0 22px 46px -14px rgba(255,92,114,.8); }
.btn--ghost { background: var(--glass); border: 1px solid var(--glass-brd); color: var(--ink); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--ghost-light { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3); color: #fff; backdrop-filter: blur(10px); }
.btn--ghost-light:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.ctarow { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 32px; }

.tlink { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; color: var(--accent); }
.tlink__line { position: relative; }
.tlink__line::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.tlink:hover .tlink__line::after { transform: scaleX(1); transform-origin: left; }
.tlink svg { transition: transform .35s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------------------
   CHIPS
--------------------------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; padding: 6px 13px; border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--ink-soft); background: rgba(255,255,255,.5); backdrop-filter: blur(6px); transition: border-color .25s, color .25s, transform .25s; }
.chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.chip--mini { padding: 4px 10px; font-size: 10px; }

/* ---------------------------------------------------------------------------
   IMAGE FRAME
--------------------------------------------------------------------------- */
.imgframe { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--glass-brd); box-shadow: var(--glass-shadow); }
.imgframe img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.imgframe:hover img { transform: scale(1.05); }
.imgframe--tall { aspect-ratio: 4/3.2; }
.imgframe::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(150deg, rgba(91,61,245,.12), transparent 45%, rgba(20,197,224,.12)); mix-blend-mode: overlay; }
.imgframe__hud { position: absolute; left: 12px; top: 12px; z-index: 2; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: #fff; background: rgba(20,18,40,.55); padding: 5px 10px; border-radius: var(--radius-pill); backdrop-filter: blur(6px); display: inline-flex; align-items: center; gap: 6px; }
.imgframe__hud i { width: 5px; height: 5px; border-radius: 50%; background: var(--c-cyan); box-shadow: 0 0 6px var(--c-cyan); }
.imgframe__bracket { display: none; }
.imgframe.is-failed img { display: none; }
.imgframe.is-failed { background: var(--grad-deep); }
.imgframe.is-failed::before { content: "LOADING IMAGE…"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; color: rgba(255,255,255,.7); }

/* section head */
.shead { display: flex; align-items: center; gap: 14px; }
.shead__tick { width: 28px; height: 3px; border-radius: 3px; background: var(--grad); }
.shead__code { margin-left: auto; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--accent); padding: 5px 12px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: rgba(255,255,255,.4); }

/* ---------------------------------------------------------------------------
   HERO
--------------------------------------------------------------------------- */
.hero { padding-top: clamp(150px, 20vh, 240px); padding-bottom: clamp(40px, 5vw, 80px); }
.hero__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__coord { color: var(--ink-faint); }
.hero__title { margin: clamp(20px, 2.6vw, 38px) 0 0; max-width: 15ch; }
.hero__foot { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,0.82fr); gap: clamp(28px,4vw,70px); align-items: end; margin-top: clamp(32px,4vw,60px); border-top: 1px solid var(--line); padding-top: clamp(26px,3vw,44px); }
.hero__sub { max-width: 50ch; }
.hero__viz { align-self: center; }
.split-line { overflow: hidden; display: block; }
.split-word { display: inline-block; will-change: transform; }
@media (max-width: 1000px) { .hero__foot { grid-template-columns: 1fr; align-items: start; } .hero__viz { order: -1; max-width: 480px; margin-bottom: 8px; } .hero__title { max-width: 13ch; } }

/* video monitor (glass-framed) */
.monitor { width: 100%; max-width: 560px; margin-inline: auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--glass-shadow); border: 1px solid var(--glass-brd); background: var(--ink); }
.monitor__bar { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; background: rgba(20,18,40,.9); }
.monitor__url { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--c-cyan); }
.monitor__dots { display: flex; gap: 5px; } .monitor__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.3); }
.monitor__dots i:first-child { background: var(--c-coral); } .monitor__dots i:nth-child(2) { background: var(--c-amber); } .monitor__dots i:last-child { background: var(--routine); }
.monitor__screen { position: relative; aspect-ratio: 16/11; background: #0a0c12; overflow: hidden; }
.monitor__screen video { width: 100%; height: 100%; object-fit: cover; opacity: .94; }
.monitor__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(20,197,224,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(20,197,224,.14) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.monitor__cross { position: absolute; inset: 0; pointer-events: none; }
.monitor__cross::before, .monitor__cross::after { content: ""; position: absolute; background: rgba(255,255,255,.22); }
.monitor__cross::before { left: 50%; top: 0; bottom: 0; width: 1px; } .monitor__cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.monitor__scanline { position: absolute; left: 0; right: 0; height: 42%; background: linear-gradient(180deg, transparent, rgba(20,197,224,.35), transparent); animation: mscan 3.6s linear infinite; }
@keyframes mscan { 0% { top: -42%; } 100% { top: 100%; } }
.monitor__hud { position: absolute; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; color: rgba(255,255,255,.85); display: inline-flex; gap: 5px; align-items: center; }
.monitor__hud i { width: 5px; height: 5px; border-radius: 50%; background: var(--c-cyan); }
.monitor__hud.tl { left: 10px; top: 10px; } .monitor__hud.tr { right: 10px; top: 10px; } .monitor__hud.bl { left: 10px; bottom: 10px; } .monitor__hud.br { right: 10px; bottom: 10px; }
.monitor__cap { display: none; }

/* scanviz (three.js fallback) */
.scene { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1/1; margin-inline: auto; }
.scene > canvas { display: block; width: 100% !important; height: 100% !important; }
.scene.is-3d .scanviz { opacity: 0; pointer-events: none; }
.scene .scanviz { position: absolute; inset: 0; }
.scanviz { position: relative; aspect-ratio: 1/1; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; isolation: isolate; color: var(--accent); }
.dark .scanviz, .portfolio .scanviz { color: var(--c-cyan); border-color: rgba(255,255,255,.2); }
.scanviz::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 76%, var(--c-cyan) 90%, transparent 100%); animation: sweep 4.5s linear infinite; z-index: 1; opacity: .5; }
@keyframes sweep { to { transform: rotate(360deg); } }
.scanviz__ring { position: absolute; border: 1px solid currentColor; opacity: .2; border-radius: 50%; }
.scanviz__cross { position: absolute; inset: 0; }
.scanviz__cross::before, .scanviz__cross::after { content: ""; position: absolute; background: currentColor; opacity: .16; }
.scanviz__cross::before { left: 50%; top: 8%; bottom: 8%; width: 1px; transform: translateX(-50%); }
.scanviz__cross::after { top: 50%; left: 8%; right: 8%; height: 1px; transform: translateY(-50%); }
.scanviz__brain { width: 60%; z-index: 2; }
.scanviz__ekg { stroke: var(--c-coral); stroke-width: 1.8; fill: none; stroke-dasharray: 480; stroke-dashoffset: 480; animation: ekg 3.2s linear infinite; }
@keyframes ekg { to { stroke-dashoffset: -480; } }
.scanviz__readout { position: absolute; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--ink-faint); }
.portfolio .scanviz__readout { color: rgba(255,255,255,.55); }

/* ---------------------------------------------------------------------------
   helpers
--------------------------------------------------------------------------- */
.wh-grid { display: grid; gap: clamp(18px,2.5vw,34px); }
.wh-grid > *, [class*="__in"] > *, .hero__foot > * { min-width: 0; }
.center-head { max-width: 820px; }
.sblock { max-width: 1100px; }
.sblock__title { margin-top: 22px; max-width: 20ch; }
.sblock__intro { margin-top: 22px; max-width: 56ch; }

/* ---------------------------------------------------------------------------
   HOME : BENTO (connected) — asymmetric tiles, no carousel
--------------------------------------------------------------------------- */
.bento { margin-top: clamp(44px,5vw,80px); display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento__tile { position: relative; overflow: hidden; border-radius: var(--radius); display: flex; flex-direction: column; min-height: 300px; background: var(--glass); backdrop-filter: blur(18px) saturate(150%); border: 1px solid var(--glass-brd); box-shadow: var(--glass-shadow); transition: transform .4s var(--ease), box-shadow .4s; }
.bento__tile:hover { transform: translateY(-6px); box-shadow: 0 44px 84px -42px rgba(58,40,160,.55); }
.bento__a { grid-column: span 4; }
.bento__b { grid-column: span 3; }
.bento__c { grid-column: span 3; }
.bento__inner { padding: clamp(24px,2.4vw,32px); display: flex; flex-direction: column; flex: 1; }
.bento__num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.bento__h { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem,1.9vw,1.7rem); margin: 14px 0 12px; letter-spacing: -.01em; }
.bento__p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
.bento__media { position: relative; height: 200px; overflow: hidden; flex: none; }
.bento__media--lg { height: 264px; }
.bento__media img { width: 100%; height: 100%; object-fit: cover; }
.bento__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20,18,40,.45)); }
.bento__tag { position: absolute; left: 14px; top: 14px; z-index: 2; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: #fff; background: rgba(20,18,40,.5); padding: 5px 11px; border-radius: var(--radius-pill); backdrop-filter: blur(6px); }
.bento__link { margin-top: auto; padding-top: 18px; }
/* spec tile (replaces marquee) */
.bento__spec { grid-column: span 2; padding: clamp(22px,2.2vw,30px); display: flex; flex-direction: column; gap: 18px; }
.bento__spec-head .bento__h { margin: 10px 0 0; font-size: 1.2rem; }
.bento__spec-grid { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.spec { display: flex; flex-direction: row; align-items: center; gap: 14px; padding: 15px 16px; border-radius: var(--radius-sm); background: rgba(255,255,255,.5); border: 1px solid var(--glass-brd); transition: transform .35s var(--ease); }
.spec:hover { transform: translateX(5px); }
.spec__ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 8px 18px -8px rgba(91,61,245,.6); }
.spec:nth-child(2) .spec__ic { background: var(--grad-warm); box-shadow: 0 8px 18px -8px rgba(255,92,114,.6); }
.spec:nth-child(3) .spec__ic { background: linear-gradient(120deg,#14C5E0,#12C9B0); box-shadow: 0 8px 18px -8px rgba(18,201,176,.6); }
.spec:nth-child(4) .spec__ic { background: linear-gradient(120deg,#8B5CF6,#5B3DF5); box-shadow: 0 8px 18px -8px rgba(139,92,246,.6); }
.spec__t { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; line-height: 1.2; }
@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__a, .bento__b, .bento__c, .bento__spec { grid-column: span 2; }
}
@media (max-width: 600px) { .bento, .bento__a, .bento__b, .bento__c, .bento__spec { grid-template-columns: 1fr; grid-column: span 1; } }

/* ---------------------------------------------------------------------------
   PORTFOLIO (deep gradient)
--------------------------------------------------------------------------- */
.portfolio { background: var(--grad-deep); color: #fff; overflow: hidden; }
.portfolio__in { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,0.8fr); gap: clamp(30px,5vw,80px); align-items: center; }
.portfolio .eyebrow { color: #fff; } .portfolio .shead__tick { background: linear-gradient(120deg,#14C5E0,#8B5CF6); }
.portfolio .shead__code { color: var(--c-cyan); border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.05); }
.portfolio .chip { color: rgba(255,255,255,.82); border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
@media (max-width: 920px) { .portfolio__in { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   TEAM PREVIEW (glass cards)
--------------------------------------------------------------------------- */
.tpreview { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,0.9fr); gap: clamp(30px,5vw,72px); align-items: center; }
.tpreview__r { display: flex; flex-direction: column; gap: 14px; }
.pcard { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(16px); box-shadow: var(--glass-shadow); transition: transform .35s var(--ease); }
.pcard:hover { transform: translateX(8px); }
.pcard__av { width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 15px; flex: none; box-shadow: 0 10px 20px -10px rgba(91,61,245,.6); }
.pcard:nth-child(2) .pcard__av { background: var(--grad-warm); }
.pcard:nth-child(3) .pcard__av { background: linear-gradient(120deg,#14C5E0,#12C9B0); }
.pcard__meta { display: flex; flex-direction: column; gap: 3px; }
.pcard__name { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.pcard__plus { margin-left: auto; font-family: var(--font-mono); color: var(--accent); font-size: 20px; }
@media (max-width: 920px) { .tpreview { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   GUIDE + SIGNUP
--------------------------------------------------------------------------- */
.guide { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px,4vw,60px); align-items: center; padding: clamp(30px,4vw,60px); background: var(--grad-deep); color: #fff; border-radius: var(--radius); position: relative; overflow: hidden; box-shadow: var(--glass-shadow); }
.guide::after { content: ""; position: absolute; right: -8%; top: -50%; width: 46%; height: 200%; background: radial-gradient(circle, rgba(20,197,224,.4), transparent 60%); }
.guide .lead { color: rgba(255,255,255,.78); position: relative; }
.guide .tlabel { color: var(--c-cyan); }
.signup__in { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px,4vw,64px); align-items: center; }
.signup__form { display: flex; gap: 10px; margin-top: 22px; max-width: 480px; }
.signup__form input { flex: 1; padding: 16px 22px; border: 1px solid var(--glass-brd); border-radius: var(--radius-pill); background: var(--glass-strong); backdrop-filter: blur(8px); font: inherit; outline: none; }
.signup__form input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(91,61,245,.12); }
@media (max-width: 860px) { .guide, .signup__in { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   CTA BAND (gradient)
--------------------------------------------------------------------------- */
.cta-band { background: var(--grad-deep); color: #fff; overflow: hidden; }
.cta-band .eyebrow { color: #fff; } .cta-band .shead__tick { background: linear-gradient(120deg,#14C5E0,#FF5C72); }
.cta-band .shead__code { color: var(--c-cyan); border-color: rgba(255,255,255,.2); }
.cta-band__in { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,0.85fr); gap: clamp(30px,5vw,80px); align-items: end; }
.cta-band__r .lead { max-width: 46ch; color: rgba(255,255,255,.78); }
@media (max-width: 860px) { .cta-band__in { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   VERTICAL GLOWING TIMELINE (replaces horizontal carousel)
--------------------------------------------------------------------------- */
.vtl { position: relative; margin-top: clamp(44px,5vw,72px); display: flex; flex-direction: column; gap: 18px; }
.vtl__step { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: clamp(20px,3vw,44px); position: relative; }
.vtl__rail { position: relative; display: flex; justify-content: center; }
.vtl__conn { position: absolute; top: 96px; bottom: -18px; width: 3px; left: 50%; transform: translateX(-50%) scaleY(1); transform-origin: top; border-radius: 3px; background: linear-gradient(var(--c-indigo), var(--c-cyan)); box-shadow: 0 0 12px rgba(91,61,245,.45); }
.vtl__step:last-child .vtl__conn { display: none; }
.vtl__num { width: 92px; height: 92px; border-radius: 26px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; color: #fff; background: var(--grad); box-shadow: 0 18px 38px -16px rgba(91,61,245,.65); position: relative; z-index: 1; }
.vtl__step:nth-child(2) .vtl__num { background: linear-gradient(120deg,#7C4DF2,#14C5E0); box-shadow: 0 18px 38px -16px rgba(20,197,224,.6); }
.vtl__step:nth-child(3) .vtl__num { background: linear-gradient(120deg,#14C5E0,#12C9B0); box-shadow: 0 18px 38px -16px rgba(18,201,176,.6); }
.vtl__step:nth-child(4) .vtl__num { background: var(--grad-warm); box-shadow: 0 18px 38px -16px rgba(255,92,114,.6); }
.vtl__card { padding: clamp(24px,2.4vw,34px); border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(16px); box-shadow: var(--glass-shadow); transition: transform .35s var(--ease); }
.vtl__card:hover { transform: translateY(-4px); }
.vtl__weeks { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--accent); }
.vtl__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem,2.2vw,1.9rem); margin: 12px 0 12px; }
.vtl__body { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 640px) { .vtl__step { grid-template-columns: 70px minmax(0,1fr); gap: 18px; } .vtl__num { width: 64px; height: 64px; border-radius: 18px; font-size: 1.3rem; } .vtl__conn { top: 68px; } }

/* ---------------------------------------------------------------------------
   PRODUCT modules + UI mocks (glass)
--------------------------------------------------------------------------- */
.module__in { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(30px,5vw,80px); align-items: center; }
.module--rev .module__viz { order: -1; }
.module__in--wide { display: block; }
.module__tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--accent); text-transform: uppercase; }
.module__title { margin-top: 14px; max-width: 16ch; }
@media (max-width: 920px) { .module__in { grid-template-columns: 1fr; } .module--rev .module__viz { order: 0; } }

.flist { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.flist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); line-height: 1.45; }
.flist__tick { color: var(--c-cyan); margin-top: 2px; flex: none; }
.mstats { margin-top: 26px; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.mstat { padding: 20px 22px; border-radius: var(--radius-sm); background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(12px); }
.mstat__v { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem,2.6vw,2.2rem); }
.mstat:nth-child(odd) .mstat__v { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mstat__l { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; display: block; }

.ui { border-radius: var(--radius); overflow: hidden; background: var(--glass-strong); border: 1px solid var(--glass-brd); backdrop-filter: blur(16px); box-shadow: var(--glass-shadow); }
.ui__bar { display: flex; align-items: center; gap: 10px; padding: 13px 16px; background: var(--grad-deep); }
.ui__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c-cyan); box-shadow: 0 0 8px var(--c-cyan); }
.ui__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: #fff; }
.ui__tag { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.25); padding: 3px 9px; border-radius: var(--radius-pill); }
.ui__tag.live { color: var(--c-cyan); border-color: var(--c-cyan); }
.ui__body { padding: 24px; }
.ui__report { font-family: var(--font-mono); font-size: 13.5px; line-height: 1.75; color: var(--ink-soft); }
.ui__report mark { background: linear-gradient(transparent 60%, rgba(255,159,28,.45) 0); color: var(--ink); padding: 0 2px; }
.ui__sign { display: flex; align-items: center; gap: 6px; margin-top: 20px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); }
.ui__cursor { width: 8px; height: 15px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ui__struct { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.ui__field { display: flex; align-items: center; gap: 14px; }
.ui__fkey { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--ink-faint); width: 116px; flex: none; }
.ui__fline { height: 9px; border-radius: 5px; background: linear-gradient(90deg, rgba(91,61,245,.25), rgba(20,197,224,.18)); }
.ui__chiprow { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 24px 24px; }
.wl { padding: 8px; }
.wl__row { display: grid; grid-template-columns: 96px 1fr; grid-template-areas: "pri case" "pri find"; gap: 2px 14px; align-items: center; padding: 15px 16px; border-radius: var(--radius-sm); transition: background .25s; }
.wl__row:hover { background: rgba(91,61,245,.06); }
.wl__row + .wl__row { border-top: 1px solid var(--line); }
.wl__pri { grid-area: pri; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .05em; padding: 7px 8px; border-radius: 8px; text-align: center; color: #fff; }
.wl__pri--critical { background: var(--critical); box-shadow: 0 6px 16px -6px var(--critical); }
.wl__pri--urgent { background: var(--urgent); box-shadow: 0 6px 16px -6px var(--urgent); }
.wl__pri--routine { background: var(--routine); box-shadow: 0 6px 16px -6px var(--routine); }
.wl__case { grid-area: case; font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
.wl__find { grid-area: find; font-size: 13px; color: var(--ink-soft); }
.fcards { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.fcard { padding: 28px 24px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(14px); box-shadow: var(--glass-shadow); transition: transform .35s var(--ease); }
.fcard:hover { transform: translateY(-6px); }
.fcard__n { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.fcard h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; margin: 12px 0 8px; }
.fcard p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 960px) { .fcards { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .fcards, .mstats { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   APPROACH
--------------------------------------------------------------------------- */
.msteps { margin-top: clamp(48px,6vw,80px); display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(18px,2.4vw,32px); }
.mstep { padding: 34px 30px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(16px); box-shadow: var(--glass-shadow); transition: transform .4s var(--ease); position: relative; overflow: hidden; }
.mstep::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--grad); }
.mstep:nth-child(2)::before { background: linear-gradient(120deg,#14C5E0,#12C9B0); }
.mstep:nth-child(3)::before { background: var(--grad-warm); }
.mstep:hover { transform: translateY(-6px); }
.mstep__tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--accent); }
.mstep__title { margin-top: 14px; }
.mstep__body { margin-top: 14px; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.security { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(30px,5vw,80px); align-items: start; }
.security__r { display: grid; gap: 16px; }
.seccard { padding: 30px 28px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(14px); box-shadow: var(--glass-shadow); }
.seccard__n { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.seccard h3 { margin-top: 14px; }
@media (max-width: 920px) { .msteps { grid-template-columns: 1fr; } .security { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   VISION
--------------------------------------------------------------------------- */
.crisis { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr); gap: clamp(30px,5vw,72px); align-items: start; }
.crisis__r { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bigstat { padding: 30px 26px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(14px); box-shadow: var(--glass-shadow); }
.bigstat__v { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem,3.2vw,2.8rem); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bigstat:nth-child(2) .bigstat__v, .bigstat:nth-child(3) .bigstat__v { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bigstat__l { display: block; margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); }
.mission { margin-top: 28px; padding: 26px 28px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-brd); border-left: 4px solid var(--c-cyan); backdrop-filter: blur(14px); }
.mktcards { margin-top: clamp(40px,5vw,64px); display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(18px,2.4vw,28px); }
.mktcard { padding: 34px 30px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(14px); box-shadow: var(--glass-shadow); display: flex; flex-direction: column; transition: transform .4s var(--ease); }
.mktcard:hover { transform: translateY(-8px); }
.mktcard__v { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem,3vw,3rem); margin-top: 16px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mktcard:nth-child(2) .mktcard__v { background: linear-gradient(100deg,#14C5E0,#12C9B0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mktcard:nth-child(3) .mktcard__v { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mktcard__l { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-top: 12px; }
.srow { margin-top: 48px; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 40px; }
.srow__v { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem,2.6vw,2.2rem); display: block; }
.srow__l { font-size: 13px; color: var(--ink-soft); margin-top: 8px; display: block; }
.principles { margin-top: clamp(40px,5vw,64px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.principle { padding: 36px 34px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(14px); box-shadow: var(--glass-shadow); transition: transform .4s var(--ease); }
.principle:hover { transform: translateY(-6px); }
.principle__n { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.principle h3 { margin-top: 12px; }
@media (max-width: 920px) { .crisis { grid-template-columns: 1fr; } .mktcards { grid-template-columns: 1fr; } .srow { grid-template-columns: 1fr 1fr; } .principles { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   TEAM
--------------------------------------------------------------------------- */
.members { display: flex; flex-direction: column; }
.member { display: grid; grid-template-columns: 200px minmax(0,1fr); gap: clamp(24px,4vw,64px); padding-block: clamp(40px,5vw,72px); }
.member + .member { border-top: 1px solid var(--line); }
.member__l { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.member__av { width: 104px; height: 104px; border-radius: 28px; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 32px; box-shadow: 0 18px 38px -16px rgba(91,61,245,.6); }
.member:nth-child(2) .member__av { background: var(--grad-warm); box-shadow: 0 18px 38px -16px rgba(255,92,114,.6); }
.member:nth-child(3) .member__av { background: linear-gradient(120deg,#14C5E0,#12C9B0); box-shadow: 0 18px 38px -16px rgba(18,201,176,.6); }
.member__head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.member__role { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.building { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(30px,5vw,72px); align-items: start; }
.building__r { display: grid; gap: 14px; }
.goal { display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(14px); box-shadow: var(--glass-shadow); transition: transform .35s var(--ease); }
.goal:hover { transform: translateX(8px); }
.goal__n { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.goal__t { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; }
.goal__b { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
.contact { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,0.8fr); gap: clamp(30px,5vw,72px); align-items: center; }
.contact__card { padding: 40px 36px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(16px); box-shadow: var(--glass-shadow); }
.contact__email { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem,2.4vw,1.9rem); margin-top: 18px; word-break: break-word; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact__line { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 920px) { .member { grid-template-columns: 1fr; } .building { grid-template-columns: 1fr; } .contact { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   FOOTER (deep gradient)
--------------------------------------------------------------------------- */
.ft { position: relative; overflow: hidden; background: var(--grad-deep); color: #fff; }
.ft a { color: #fff; }
.ft__cta { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,0.8fr); gap: 40px; align-items: end; padding-block: clamp(56px,7vw,108px); border-bottom: 1px solid rgba(255,255,255,.14); }
.ft .eyebrow { color: #fff; }
.ft__big { margin-top: 22px; }
.ft__big em { background: linear-gradient(100deg,#14C5E0,#FF5C72); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.ft__cta-r { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ft__main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-block: clamp(48px,6vw,80px); border-bottom: 1px solid rgba(255,255,255,.14); }
.ft__brand .nh__name { color: #fff; }
.ft__blurb { color: rgba(255,255,255,.64); margin-top: 18px; max-width: 30ch; }
.ft__status { margin-top: 22px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--c-cyan); display: inline-flex; gap: 8px; align-items: center; }
.ft__col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 18px; }
.ft__col a { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: rgba(255,255,255,.82); transition: color .25s, gap .25s; }
.ft__col a:hover { color: var(--c-cyan); gap: 14px; }
.ft__num { font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,.4); }
.ft__col a svg { margin-left: auto; opacity: 0; transition: opacity .25s; }
.ft__col a:hover svg { opacity: 1; }
.ft__contact .ft__addr { color: rgba(255,255,255,.64); line-height: 1.6; margin-bottom: 14px; }
.ft__line { display: inline-flex; gap: 9px; align-items: center; color: rgba(255,255,255,.82); padding: 5px 0; }
.ft__line:hover { color: var(--c-cyan); }
.ft__wordwrap { overflow: hidden; padding-block: clamp(20px,3vw,46px); display: flex; justify-content: center; }
.ft__word { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 12.2vw, 12rem); line-height: .82; letter-spacing: -.045em; white-space: nowrap; text-align: center; user-select: none; background: linear-gradient(100deg, rgba(255,255,255,.14), rgba(20,197,224,.16)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ft__bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding-block: 24px; }
.ft__copy { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.5); }
.ft__badges { display: flex; gap: 16px; flex-wrap: wrap; }
.ft__badge { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.6); display: inline-flex; gap: 7px; align-items: center; }
.ft__top { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--c-cyan); }
@media (max-width: 1000px) { .ft__cta { grid-template-columns: 1fr; } .ft__main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ft__main { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   PRELOADER + WIPE
--------------------------------------------------------------------------- */
.wipe { position: fixed; inset: 0; z-index: 9000; background: var(--grad-deep); transform: translateY(100%); pointer-events: none; }
.wipe__label { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-family: var(--font-mono); font-size: 12px; letter-spacing: .3em; color: var(--c-cyan); opacity: 0; }
.loader { position: fixed; inset: 0; z-index: 9500; background: var(--bg); display: grid; place-items: center; }
.loader__mark { font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.loader__bar { width: 220px; height: 3px; border-radius: 3px; background: var(--line); margin: 18px auto 0; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--grad); }
.loader__pct { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--ink-faint); margin-top: 12px; text-align: center; }
.loader__inner { text-align: center; }

[data-reveal] { will-change: transform, opacity; }

/* =============================================================================
   v4.1 — ENHANCED MICRO-ANIMATIONS
============================================================================= */

/* button light-sweep on hover */
.btn { overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.5) 50%, transparent 65%); transform: translateX(-135%); transition: transform .8s var(--ease); }
.btn:hover::after { transform: translateX(135%); }
.btn--ghost::after, .btn--ghost-light::after { background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.28) 50%, transparent 62%); }

/* cursor-following glare on 3D tilt cards */
[data-tilt] { position: relative; }
[data-tilt]::after { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease); background: radial-gradient(220px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.5), transparent 60%); mix-blend-mode: soft-light; }
[data-tilt]:hover::after { opacity: 1; }

/* animated gradient sheen on gradient text */
.grad-text, .bigstat__v, .mktcard__v, .goal__n, .contact__email, .loader__mark, .ft__big em, .mstat:nth-child(odd) .mstat__v {
  background-size: 220% auto; animation: gshimmer 7s linear infinite;
}
@keyframes gshimmer { to { background-position: 220% center; } }

/* gently floating hero monitor */
.monitor { animation: mfloat 7s ease-in-out infinite; }
@keyframes mfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* eyebrow node pulse */
.eyebrow::before { animation: dotpulse 2.6s ease-in-out infinite; }
@keyframes dotpulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91,61,245,.5), 0 0 10px var(--c-indigo); }
  50%      { box-shadow: 0 0 0 7px rgba(91,61,245,0), 0 0 10px var(--c-indigo); }
}

/* brand mark sheen on hover */
.nh__brand:hover .brand__mark { transform: rotate(-6deg) scale(1.06); }
.brand__mark { transition: transform .4s var(--ease); }

/* chips lift in sequence-friendly way already handled; add glow on hover */
.chip:hover { box-shadow: 0 8px 18px -10px rgba(91,61,245,.5); }

/* link arrows on cards nudge on hover (tlink already animated) */
.bento__tile:hover .tlink svg, .vtl__card:hover { }

[data-reveal] { will-change: transform, opacity, filter; }

/* hide the header status strip */
.nh__strip { display: none; }

/* hide the bottom status bar */
.statusbar { display: none; }

/* ---------------------------------------------------------------------------
   PRODUCT SCREENSHOTS — browser / phone frames, click to enlarge
--------------------------------------------------------------------------- */
.shot { margin: 0; min-width: 0; }
.shot__open { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; position: relative; cursor: zoom-in; }
.shot img { display: block; width: 100%; height: auto; }
.shot__web { display: block; overflow: hidden; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--glass-brd); box-shadow: var(--glass-shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: var(--grad-deep); }
.shot__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.32); }
.shot__url { margin-left: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; color: rgba(255,255,255,.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot__phone { display: block; padding: 8px; border-radius: 34px; background: var(--ink); box-shadow: var(--glass-shadow), inset 0 0 0 1px rgba(255,255,255,.08); transition: transform .4s var(--ease); }
.shot__phone img { border-radius: 26px; }
.shot__open:hover .shot__web, .shot__open:hover .shot__phone, .shot__open:focus-visible .shot__web, .shot__open:focus-visible .shot__phone { transform: translateY(-6px); }
.shot__open:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: var(--radius-sm); }
.shot__zoom { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: rgba(21,19,43,.72); backdrop-filter: blur(6px); opacity: 0; transform: scale(.9); transition: opacity .25s, transform .25s var(--ease); }
.shot--phone .shot__zoom { right: 18px; bottom: 18px; }
.shot__open:hover .shot__zoom, .shot__open:focus-visible .shot__zoom { opacity: 1; transform: none; }
.shot figcaption { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.shot figcaption strong { display: block; margin-bottom: 3px; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.shots-wrap { margin-top: clamp(36px, 4vw, 56px); }
.shots { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.shots--web { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shots--web .shot__web img { aspect-ratio: 1600 / 563; object-fit: contain; object-position: top center; background: #fff; } /* equal heights so captions line up */
.shots--phone { grid-template-columns: repeat(auto-fit, minmax(190px, 250px)); justify-content: center; }
@media (max-width: 760px) { .shots--web { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .shots--phone { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .shot__phone { padding: 6px; border-radius: 26px; } .shot__phone img { border-radius: 20px; } }

.lightbox { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: clamp(16px, 4vw, 56px); background: rgba(21,19,43,.84); backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__fig { margin: 0; max-width: min(1400px, 100%); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox__fig img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); }
.lightbox__fig figcaption { max-width: 70ch; text-align: center; font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.86); }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 13px; color: #fff; font-size: 18px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); }
.lightbox__close:hover { background: rgba(255,255,255,.2); }
html.lightbox-open { overflow: hidden; }

/* ---------------------------------------------------------------------------
   CONTACT PAGE — enquiry form
--------------------------------------------------------------------------- */
.contact-page { padding-top: clamp(150px, 20vh, 220px); }
.contact--page { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
.cform { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--glass-strong); border: 1px solid var(--glass-brd); backdrop-filter: blur(16px); box-shadow: var(--glass-shadow); }
.cform[hidden] { display: none; }
.cform__title { grid-column: 1 / -1; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -.01em; }
.cform__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cform__field--full { grid-column: 1 / -1; }
.cform label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.cform__opt { text-transform: none; letter-spacing: .02em; color: var(--ink-faint); }
.cform input, .cform select, .cform textarea { width: 100%; padding: 13px 15px; font: inherit; font-size: 15px; color: var(--ink); background: rgba(255,255,255,.78); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.cform select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234E4B6E' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.cform textarea { min-height: 140px; resize: vertical; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(91,61,245,.14); }
.cform.was-validated input:invalid, .cform.was-validated textarea:invalid { border-color: var(--c-coral); }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform__status { grid-column: 1 / -1; padding: 12px 14px; font-size: 14px; border-radius: var(--radius-sm); }
.cform__status:empty { display: none; }
.cform__status--error { color: #B4233B; background: rgba(255,61,94,.08); border: 1px solid rgba(255,61,94,.25); }
.cform__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.cform__wa .ic-wa, .contact__line--wa .ic-wa { color: #25D366; flex: none; }
.cform__wa:hover { border-color: #25D366; color: var(--ink); }
.cform__status--ok { color: #11744A; background: rgba(37,211,102,.1); border: 1px solid rgba(37,211,102,.3); }
@media (max-width: 620px) { .cform__foot .btn { flex: 1 1 100%; justify-content: center; } }
.cform__note { grid-column: 1 / -1; font-size: 13px; color: var(--ink-faint); }
.cform button[disabled] { opacity: .7; pointer-events: none; }
.cform__done { padding: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 40px); text-align: center; border-radius: var(--radius); background: var(--glass-strong); border: 1px solid var(--glass-brd); backdrop-filter: blur(16px); box-shadow: var(--glass-shadow); }
.cform__done .cform__title { margin-top: 18px; }
.cform__done p { margin: 10px auto 22px; max-width: 42ch; color: var(--ink-soft); }
.cform__tick { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; color: #fff; background: var(--grad); box-shadow: 0 12px 28px -12px rgba(91,61,245,.7); }
@media (max-width: 920px) { .contact--page { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .cform { grid-template-columns: 1fr; } }
