/* =========================================================
   CYBRIX — Cyber Intelligence
   Palette from the logo: charcoal + champagne sand + ivory
   ========================================================= */
:root {
  --bg: #1d1d1d;
  --bg-2: #232323;
  --bg-3: #2a2a29;
  --sand: #c6b9a5;
  --sand-2: #e6dccb;
  --sand-deep: #9c8f7b;
  --ivory: #f4f1ec;
  --muted: #8f897f;
  --line: rgba(198, 185, 165, 0.14);
  --line-2: rgba(198, 185, 165, 0.28);
  --glass: rgba(40, 40, 39, 0.55);

  --f-display: "Michroma", "Montserrat", sans-serif;
  --f-wide: "Montserrat", sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --pad: clamp(16px, 4vw, 48px);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg); color: var(--ivory);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }
img { display: block; max-width: 100%; }
::selection { background: var(--sand); color: var(--bg); }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.section { position: relative; padding: clamp(56px, 7vw, 96px) 0; }

/* ---------- Grain + progress + cursor ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0) } 10% { transform: translate(-5%,-10%) } 30% { transform: translate(3%,-15%) }
  50% { transform: translate(12%,9%) } 70% { transform: translate(9%,4%) } 90% { transform: translate(-1%,7%) }
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--sand-deep), var(--sand-2)); }

.cursor { position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%,-50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--ivory); }
.cursor__ring { width: 38px; height: 38px; border: 1px solid rgba(244,241,236,.6); display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), background .3s, border-color .3s; }
.cursor__ring em { font-style: normal; font-family: var(--f-wide); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--bg); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; border-color: var(--ivory); }
.cursor.is-label .cursor__ring { width: 92px; height: 92px; background: var(--ivory); }
.cursor.is-label .cursor__ring em { opacity: 1; }
.cursor.is-label { mix-blend-mode: normal; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body, a, button, label { cursor: none; } input, textarea { cursor: text; } }

/* ---------- Logo mark ---------- */
.mark { overflow: visible; }
.mark path { fill: none; stroke-width: var(--sw, 1); stroke-linecap: round; stroke-linejoin: round; }
.mark--hero { --sw: .4; } .mark--loader { --sw: 1.05; } .mark--nav { --sw: 4.2; } .mark--footer { --sw: 2.4; }
.mark .s1 { stroke: var(--sand); }
.mark .s2 { stroke: var(--ivory); }
.mark path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.mark.is-drawn path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease); transition-delay: calc(var(--i) * 22ms); }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 300; background: var(--bg); display: grid; place-items: center; transition: clip-path 1.1s var(--ease-in-out); clip-path: inset(0 0 0 0); }
.preloader.is-done { clip-path: inset(0 0 100% 0); }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.mark--loader { width: min(42vw, 220px); height: auto; animation: spinSlow 18s linear infinite; }
.preloader__word { font-family: var(--f-display); font-size: clamp(28px, 5vw, 44px); letter-spacing: .14em; color: var(--sand); margin-top: 18px; }
.preloader__sub { font-family: var(--f-wide); font-weight: 300; letter-spacing: .5em; font-size: 11px; color: var(--ivory); opacity: .8; }
.preloader__bar { width: 180px; height: 1px; background: var(--line); margin-top: 10px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--sand); }
.preloader__count { font-family: var(--f-wide); font-size: 11px; letter-spacing: .3em; color: var(--muted); }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px; border-radius: 100px; overflow: hidden; isolation: isolate; white-space: nowrap;
  font-family: var(--f-wide); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; transition: color .5s var(--ease), border-color .5s; will-change: transform; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .6s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn__arrow { font-style: normal; display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px) rotate(-45deg); }
.btn--solid { background: var(--sand); color: var(--bg); }
.btn--solid::before { background: var(--ivory); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ivory); background: rgba(255,255,255,.02); backdrop-filter: blur(8px); }
.btn--ghost::before { background: var(--sand); }
.btn--ghost:hover { color: var(--bg); border-color: var(--sand); }
.btn--lg { padding: 18px 30px; font-size: 13.5px; }

.round-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 18px; transition: background .4s, color .4s, border-color .4s, opacity .3s; }
.round-btn:hover { background: var(--sand); color: var(--bg); border-color: var(--sand); }
.round-btn:disabled { opacity: .3; pointer-events: none; }

/* ---------- Social icons ---------- */
.socials { display: flex; gap: 10px; }
.social { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--sand-2); overflow: hidden; isolation: isolate; transition: color .4s, border-color .4s; }
.social svg { width: 18px; height: 18px; }
.social::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scale(0); border-radius: 50%; transition: transform .5s var(--ease); }
.social[aria-label="LinkedIn"]::before { background: #0a66c2; }
.social[aria-label="Instagram"]::before { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social:hover { color: #fff; border-color: transparent; }
.social:hover::before { transform: scale(1); }
.social--lg { width: 56px; height: 56px; }
.social--lg svg { width: 22px; height: 22px; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px var(--pad);
  transition: transform .6s var(--ease), background .4s, padding .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(29,29,29,.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px); padding-top: 10px; padding-bottom: 10px; border-color: var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.mark--nav { width: 34px; height: 34px; transition: transform 1s var(--ease); }
.nav__brand:hover .mark--nav { transform: rotate(90deg); }
.nav__word { font-family: var(--f-display); font-size: 17px; letter-spacing: .16em; color: var(--sand); }
.nav__links { display: flex; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 100px; background: var(--glass); backdrop-filter: blur(14px); }
.nav__links a { font-family: var(--f-wide); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 9px 16px; border-radius: 100px; color: rgba(244,241,236,.75); transition: color .3s, background .3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--bg); background: var(--sand); }
.nav__cta { padding: 12px 20px; font-size: 12px; }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 1px; background: var(--ivory); transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:first-child { top: 19px; } .nav__burger span:last-child { top: 26px; }
.nav__burger.is-open span:first-child { top: 22px; transform: rotate(45deg); }
.nav__burger.is-open span:last-child { top: 22px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 95; background: var(--bg-2); display: flex; flex-direction: column; justify-content: center; padding: 100px var(--pad) 40px;
  clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .9s var(--ease-in-out); }
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); }
.menu nav { display: flex; flex-direction: column; gap: 8px; }
.menu nav a { font-family: var(--f-display); font-size: clamp(30px, 9vw, 52px); color: var(--ivory); display: flex; align-items: baseline; gap: 14px; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s; }
.menu nav a small { font-family: var(--f-wide); font-size: 12px; color: var(--sand); letter-spacing: .2em; }
.menu.is-open nav a { opacity: 1; transform: none; }
.menu.is-open nav a:nth-child(2) { transition-delay: .05s } .menu.is-open nav a:nth-child(3) { transition-delay: .1s }
.menu.is-open nav a:nth-child(4) { transition-delay: .15s } .menu.is-open nav a:nth-child(5) { transition-delay: .2s }
.menu nav a:hover { color: var(--sand); }
.menu__foot { margin-top: auto; }

/* ---------- Hero (calm: mark on the right, a single soft wave band at the bottom) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding: 120px 0 clamp(48px, 6vw, 80px); }
.hero__waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 42%; z-index: 0; pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 35%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%); }
.hero__glow { position: absolute; width: 60vmax; height: 60vmax; right: -16vmax; top: -16vmax; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,185,165,.10), transparent 60%); animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.1); opacity: .75; } }

.hero__mark-wrap { position: absolute; z-index: 1; right: clamp(-80px, 3vw, 80px); top: 46%; width: min(48vw, 600px); aspect-ratio: 1; transform: translateY(-50%); display: grid; place-items: center; pointer-events: none; }
.mark--hero { width: 100%; height: 100%; opacity: .62; }

.hero__content { position: relative; z-index: 2; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 100px; border: 1px solid var(--line-2); background: var(--glass); backdrop-filter: blur(10px);
  font-family: var(--f-wide); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--sand-2); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #9fdc9a; box-shadow: 0 0 0 0 rgba(159,220,154,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(159,220,154,0); } 100% { box-shadow: 0 0 0 0 rgba(159,220,154,0); } }

.hero__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(46px, 10vw, 150px); line-height: .98; letter-spacing: -.01em; margin: 22px 0 28px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .word { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.4s var(--ease); }
.hero__title .line:nth-child(2) .word { transition-delay: .1s; }
.hero__title .line:nth-child(3) .word { transition-delay: .2s; }
.is-ready .hero__title .word { transform: none; }
.word--outline { color: transparent; -webkit-text-stroke: 1px var(--sand-2); }
.word--sand { background: linear-gradient(100deg, var(--sand-deep), var(--sand-2) 40%, var(--sand) 60%, var(--sand-deep)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero__lead { max-width: 470px; color: rgba(244,241,236,.72); font-size: clamp(15px, 1.25vw, 18px); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Reveal utilities ---------- */
.reveal-up { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--rd, 0s); }
.reveal-up.is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--wi) * 45ms); }
.split.is-in .w > span { transform: none; }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 3; border-block: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__row { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee__row span { font-family: var(--f-display); font-size: clamp(20px, 2.8vw, 38px); white-space: nowrap; color: var(--ivory); }
.marquee__row span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--sand); }
.marquee__row b { color: var(--sand); font-size: 20px; font-weight: 400; animation: spinSlow 6s linear infinite; display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
.section__label { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-wide); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--sand); margin-bottom: 20px; }
.section__label span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 10px; letter-spacing: 0; }
.section__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 4.4vw, 60px); line-height: 1.1; letter-spacing: -.01em; max-width: 15ch; }
.section__title em, .contact__title em { font-style: normal; color: var(--sand); }
.section__head { margin-bottom: clamp(32px, 4.5vw, 56px); }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__intro { max-width: 400px; color: var(--muted); font-size: 15.5px; }

/* ---------- About (bento) ---------- */
.ab-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ab { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2) 70%); display: flex; flex-direction: column; transition: border-color .5s, transform .6s var(--ease); }
.ab:hover { border-color: var(--line-2); transform: translateY(-4px); }
.ab__num { font-family: var(--f-display); font-size: clamp(36px, 3.6vw, 52px); line-height: 1.05; color: var(--sand-2); }
.ab__label { color: var(--muted); font-size: 14px; margin-top: 6px; max-width: 24ch; }

.ab--mission { grid-column: span 2; grid-row: span 2; padding: clamp(26px, 3vw, 40px); justify-content: space-between; gap: 28px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(198,185,165,.14), transparent 55%), linear-gradient(160deg, #2c2b29, var(--bg-2) 70%); }
.mark--about { --sw: .55; position: absolute; width: 440px; height: 440px; right: -150px; top: -150px; z-index: -1; opacity: .35; animation: spinSlow 80s linear infinite; }
.ab__tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 100px; border: 1px solid var(--line-2); background: var(--glass);
  font-family: var(--f-wide); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--sand-2); }
.about__statement { font-weight: 500; font-size: clamp(21px, 2.15vw, 31px); line-height: 1.32; letter-spacing: -.015em; max-width: 30ch; }
.about__statement .sw { opacity: .16; transition: opacity .4s; }
.about__statement .sw.on { opacity: 1; }
.about__statement .sw.hl { color: var(--sand); }
.motto { display: flex; gap: 10px; flex-wrap: wrap; }
.motto span { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 100px; border: 1px solid var(--line-2);
  font-family: var(--f-display); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .6s, background .6s, border-color .6s; }
.motto i { font-style: normal; font-family: var(--f-wide); font-size: 10px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .6s, color .6s, border-color .6s; }
.motto span.is-on { color: var(--bg); background: var(--sand); border-color: var(--sand); }
.motto span.is-on i { background: var(--bg); color: var(--sand-2); border-color: var(--bg); }

.ab--stat { justify-content: space-between; min-height: 230px; }
.icon-stack { display: flex; align-items: center; margin-top: 22px; padding-left: 10px; }
.icon-stack img, .icon-stack b { width: 46px; height: 46px; border-radius: 14px; margin-left: -10px; border: 3px solid var(--bg-2); object-fit: cover; background: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.4); transition: transform .5s var(--ease); }
.icon-stack b { display: grid; place-items: center; background: var(--sand); color: var(--bg); font-family: var(--f-wide); font-size: 13px; font-weight: 600; }
.ab:hover .icon-stack img, .ab:hover .icon-stack b { transform: translateY(-6px); }
.ab:hover .icon-stack > :nth-child(2) { transition-delay: .04s } .ab:hover .icon-stack > :nth-child(3) { transition-delay: .08s }
.ab:hover .icon-stack > :nth-child(4) { transition-delay: .12s } .ab:hover .icon-stack > :nth-child(5) { transition-delay: .16s } .ab:hover .icon-stack > :nth-child(6) { transition-delay: .2s }
.spark { width: calc(100% + 52px); margin: 18px -26px -26px; height: 90px; }
.spark__line { fill: none; stroke: var(--sand-2); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.spark__area { opacity: 0; transition: opacity 1s ease .9s; }
.spark__dot { fill: var(--sand-2); opacity: 0; transition: opacity .4s ease 1.5s; }
.ab.is-in .spark__line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.ab.is-in .spark__area, .ab.is-in .spark__dot { opacity: 1; }

.ab--globe { grid-column: span 2; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; min-height: 230px; padding-right: 0; }
.ab__globe-text { position: relative; z-index: 1; }
.globe { width: 260px; height: 230px; flex: none; margin: -26px 0; }
.regions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.regions span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; padding: 6px 12px; border-radius: 100px; border: 1px solid var(--line-2); color: var(--sand-2); }
.regions .dot { width: 6px; height: 6px; border-radius: 50%; background: #9fdc9a; box-shadow: 0 0 8px #9fdc9a; }

.ab--value { min-height: 210px; }
.ab__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; position: relative;
  background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--c1) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .6s var(--ease); }
.ab__icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ab--value:hover .ab__icon { transform: rotate(-8deg) scale(1.08); }
.ab--value h3 { font-family: var(--f-wide); font-weight: 600; font-size: 18px; margin: 20px 0 6px; }
.ab--value p { color: var(--muted); font-size: 14.5px; }
.ab--value.spot::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c1) 16%, transparent), transparent 45%); }

.ab--radar { justify-content: space-between; gap: 18px; min-height: 210px; }
.radar { position: relative; width: 96px; height: 96px; border-radius: 50%; overflow: hidden;
  background: repeating-radial-gradient(circle, transparent 0 15px, rgba(16,185,129,.25) 15px 16px), radial-gradient(circle, rgba(16,185,129,.12), transparent 70%);
  border: 1px solid rgba(16,185,129,.35); }
.radar::before, .radar::after { content: ""; position: absolute; background: rgba(16,185,129,.25); }
.radar::before { left: 50%; top: 0; bottom: 0; width: 1px; } .radar::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(16,185,129,.55), transparent 70deg); animation: spinSlow 3s linear infinite; }
.radar b { position: absolute; left: var(--x); top: var(--y); width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; animation: blip 3s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes blip { 0%, 60%, 100% { opacity: .15; } 20% { opacity: 1; } }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px; isolation: isolate;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2) 70%); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: border-color .5s, transform .6s var(--ease), box-shadow .6s;
}
.svc:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c1, var(--sand)) 45%, transparent); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--c1, var(--sand)) 55%, transparent); }
.svc--wide { grid-column: span 2; }
.svc__top { display: flex; align-items: flex-start; justify-content: space-between; }
.svc__num { font-family: var(--f-wide); font-size: 12px; letter-spacing: .2em; color: var(--muted); }
.svc__icon {
  position: relative; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 12px 30px -8px color-mix(in srgb, var(--c1) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -8px 16px rgba(0,0,0,.18);
  transition: transform .7s var(--ease);
}
.svc__icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, rgba(255,255,255,.35), transparent 45%); }
.svc__icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; position: relative; z-index: 1; }
.svc:hover .svc__icon { transform: rotate(-8deg) scale(1.08); }
.svc h3 { font-family: var(--f-wide); font-weight: 600; font-size: clamp(19px, 1.6vw, 22px); margin: 22px 0 8px; }
.svc p { color: var(--muted); font-size: 15px; max-width: 46ch; }
.svc.spot::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c1, var(--sand)) 16%, transparent), transparent 45%); }
.svc__split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: center; flex: 1; margin-top: 8px; }
.svc__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 18px; }
.svc__list li { font-size: 14px; color: var(--sand-2); display: flex; align-items: center; gap: 8px; }
.svc__list li::before { content: "✓"; width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); }

/* service mini-visuals */
.viz { margin-top: auto; padding-top: 22px; }
.viz--phones { display: flex; justify-content: center; gap: 14px; height: 210px; padding-top: 0; overflow: hidden; margin-bottom: -28px; }
.vp { width: 112px; height: 230px; border-radius: 22px; padding: 18px 10px; display: flex; flex-direction: column; gap: 8px; transform: translateY(26px) rotate(-6deg); transition: transform .8s var(--ease);
  background: linear-gradient(170deg, #302e33, #1d1c20); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.vp--2 { transform: translateY(52px) rotate(6deg); }
.svc:hover .vp { transform: translateY(8px) rotate(-3deg); } .svc:hover .vp--2 { transform: translateY(26px) rotate(3deg); }
.vp i { display: block; height: 9px; border-radius: 6px; background: rgba(255,255,255,.12); }
.vp i:first-child { height: 74px; border-radius: 12px; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.vp--2 i:first-child { background: linear-gradient(135deg, var(--c2), #f59e0b); }
.vp i:nth-child(3) { width: 70%; }
.vp i:last-child { height: 30px; border-radius: 10px; margin-top: 4px; }

.viz--scan { position: relative; display: grid; gap: 8px; overflow: hidden; border-radius: 14px; }
.scan__row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); font-size: 13px; color: var(--sand-2); }
.scan__row b { width: 8px; height: 8px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 10px var(--c1); }
.scan__row em { margin-left: auto; font-style: normal; font-size: 11px; font-family: var(--f-wide); letter-spacing: .06em; color: var(--c1); }
.scan__beam { position: absolute; left: 0; right: 0; height: 40px; top: -40px; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--c2) 30%, transparent), transparent); animation: beam 3.2s ease-in-out infinite; }
@keyframes beam { to { top: 110%; } }

.viz--code { display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; background: #141518; border: 1px solid rgba(255,255,255,.06); margin-top: auto; }
.viz--code code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 12.5px; color: #c9cdd6; white-space: nowrap; }
.viz--code .k { color: #a78bfa; } .viz--code .f { color: #60a5fa; } .viz--code .s { color: #34d399; }
.caret { display: inline-block; width: 7px; height: 14px; background: var(--c1); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.viz--bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; }
.viz--bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--c1), color-mix(in srgb, var(--c2) 30%, transparent)); transform-origin: bottom; animation: grow 2.8s var(--ease) infinite alternate; }
.viz--bars i:nth-child(2n) { animation-delay: .4s; } .viz--bars i:nth-child(3n) { animation-delay: .8s; }
@keyframes grow { from { transform: scaleY(.55); } to { transform: scaleY(1); } }

.viz--ai svg { width: 100%; height: 90px; }
.ai-links path { fill: none; stroke: color-mix(in srgb, var(--c1) 55%, transparent); stroke-width: 1; stroke-dasharray: 4 5; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.ai-nodes circle { fill: var(--c2); filter: drop-shadow(0 0 6px var(--c1)); animation: nodePulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.ai-nodes circle:nth-child(2n) { fill: var(--c1); animation-delay: .6s; }
@keyframes nodePulse { 50% { transform: scale(1.45); } }

.viz--swatch { display: flex; padding-left: 14px; }
.viz--swatch i { width: 56px; height: 56px; border-radius: 50%; margin-left: -14px; background: var(--s); border: 3px solid var(--bg-2); transition: transform .5s var(--ease); }
.svc:hover .viz--swatch i { transform: translateY(-8px); }
.svc:hover .viz--swatch i:nth-child(2) { transition-delay: .05s; } .svc:hover .viz--swatch i:nth-child(3) { transition-delay: .1s; }
.svc:hover .viz--swatch i:nth-child(4) { transition-delay: .15s; } .svc:hover .viz--swatch i:nth-child(5) { transition-delay: .2s; }

.svc--cta { grid-column: span 2; background: linear-gradient(130deg, var(--sand), var(--sand-2)); color: var(--bg); border-color: transparent; justify-content: flex-end; min-height: 220px; }
.svc--cta .svc__num { position: absolute; top: 26px; right: 28px; font-size: 28px; color: var(--bg); transition: transform .6s var(--ease); }
.svc--cta:hover .svc__num { transform: translateX(8px) rotate(-45deg); }
.svc--cta h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2.4vw, 34px); margin: 0 0 8px; max-width: 18ch; }
.svc--cta p { color: rgba(29,29,29,.7); }
.svc__cta-btn { margin-top: 18px; align-self: flex-start; font-family: var(--f-wide); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 12px 20px; border-radius: 100px; background: var(--bg); color: var(--sand-2); }
.svc--cta:hover { box-shadow: 0 30px 60px -30px rgba(198,185,165,.6); }

/* spotlight shared */
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(198,185,165,.13), transparent 45%); }
.spot:hover::before { opacity: 1; }

/* ---------- Work ---------- */
.work__sub { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.work__sub--web { margin-top: clamp(48px, 6vw, 72px); }
.work__sub h3 { font-family: var(--f-wide); font-weight: 500; font-size: clamp(18px, 1.8vw, 24px); display: flex; align-items: center; gap: 12px; }
.work__sub sup { font-size: 11px; color: var(--sand); }
.work__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); }
.work__nav { display: flex; gap: 8px; }

/* Apps carousel */
.apps { display: grid; grid-auto-flow: column; grid-auto-columns: max(300px, calc((100% - 32px) / 3)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; overscroll-behavior-x: contain; }
.apps::-webkit-scrollbar { display: none; }
.apps.is-dragging { scroll-snap-type: none; }
.apps.is-dragging a { pointer-events: none; }
.app { scroll-snap-align: start; position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; transition: border-color .4s; user-select: none; }
.app:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.app img { -webkit-user-drag: none; pointer-events: none; }
.app__stage { position: relative; height: 340px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--accent) 55%, #1d1d1d), #1d1d1d 75%); }
.app__stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(180deg, transparent, var(--bg-2)); z-index: 3; }
.app__shots { position: absolute; left: 50%; top: 36px; width: 0; height: 100%; }
.app__shot { position: absolute; top: 0; width: 150px; aspect-ratio: 9 / 19.5; border-radius: 20px; overflow: hidden; background: #111;
  border: 4px solid #0d0d0d; box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.12); transition: transform .9s var(--ease); }
.app__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.app__shot:nth-child(1) { transform: translateX(-50%) translateY(0); z-index: 2; }
.app__shot:nth-child(2) { transform: translateX(-118%) translateY(30px) rotate(-8deg) scale(.88); z-index: 1; opacity: .9; }
.app__shot:nth-child(3) { transform: translateX(18%) translateY(30px) rotate(8deg) scale(.88); z-index: 1; opacity: .9; }
.app:hover .app__shot:nth-child(1) { transform: translateX(-50%) translateY(-12px) scale(1.04); }
.app:hover .app__shot:nth-child(2) { transform: translateX(-135%) translateY(18px) rotate(-11deg) scale(.88); }
.app:hover .app__shot:nth-child(3) { transform: translateX(35%) translateY(18px) rotate(11deg) scale(.88); }
.app__badge { position: absolute; top: 16px; right: 16px; z-index: 4; display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-wide); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 100px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); color: #fff; }
.app__badge svg { width: 12px; height: 12px; fill: currentColor; }
.app__body { padding: 0 22px 22px; margin-top: -26px; position: relative; z-index: 4; display: flex; flex-direction: column; flex: 1; }
.app__head { display: flex; align-items: center; gap: 14px; }
.app__icon { width: 58px; height: 58px; border-radius: 16px; overflow: hidden; flex: none; box-shadow: 0 10px 24px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.1); background: #fff; }
.app__icon img { width: 100%; height: 100%; object-fit: cover; }
.app__name { font-family: var(--f-wide); font-weight: 600; font-size: 19px; line-height: 1.2; }
.app__cat { font-size: 12.5px; color: var(--muted); }
.app__desc { color: var(--muted); font-size: 14.5px; margin: 14px 0 16px; }
.app__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.app__stats { display: flex; gap: 8px; flex-wrap: wrap; }
.app__stats span { font-size: 11.5px; font-family: var(--f-wide); padding: 5px 10px; border-radius: 100px; border: 1px solid var(--line-2); color: var(--sand-2); white-space: nowrap; }
.app__stats span.hl { border-color: color-mix(in srgb, var(--accent) 60%, transparent); color: #fff; background: color-mix(in srgb, var(--accent) 22%, transparent); }
.arrow-link { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .5s var(--ease), color .4s, transform .6s var(--ease), border-color .4s; }
.app:hover .arrow-link, .site:hover .arrow-link { background: var(--accent); border-color: var(--accent); color: #111; transform: rotate(45deg); }

/* Website showcase */
.sites { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.site { grid-column: span 3; position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; transition: border-color .4s; }
.site:nth-child(5n+3), .site:nth-child(5n+4), .site:nth-child(5n+5) { grid-column: span 2; }
.site:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.site__frame { margin: 14px 14px 0; border-radius: 14px 14px 0 0; overflow: hidden; background: #0f0f0f; border: 1px solid rgba(255,255,255,.08); border-bottom: 0; }
.site__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #191919; border-bottom: 1px solid rgba(255,255,255,.06); }
.site__bar i { width: 8px; height: 8px; border-radius: 50%; background: #e0705f; } .site__bar i:nth-child(2) { background: #e1b45c; } .site__bar i:nth-child(3) { background: #79b977; }
.site__url { margin-left: 8px; flex: 1; font-size: 10.5px; font-family: var(--f-wide); color: rgba(244,241,236,.55); background: rgba(255,255,255,.05); border-radius: 6px; padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site__live { font-size: 9.5px; font-family: var(--f-wide); letter-spacing: .14em; color: #79d98a; display: inline-flex; align-items: center; gap: 5px; }
.site__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.site__view { position: relative; height: clamp(230px, 24vw, 330px); overflow: hidden; }
.site__view img { width: 100%; height: auto; transform: translateY(0); transition: transform var(--dur, 6s) cubic-bezier(.45,.05,.55,.95); }
.site:hover .site__view img, .site.is-playing .site__view img { transform: translateY(calc(-1 * var(--dist, 0px))); }
.site.is-playing .site__view img { transition-duration: calc(var(--dur, 6s) * 1.6); }
.site__hint { position: absolute; right: 12px; bottom: 12px; font-family: var(--f-wide); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 100px; background: rgba(0,0,0,.6); color: #fff; backdrop-filter: blur(6px); transition: opacity .4s; }
.site:hover .site__hint { opacity: 0; }
.site__cover { height: 100%; display: grid; place-items: center; text-align: center; padding: 20px;
  background: radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 60%), radial-gradient(circle at 20% 90%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 55%), #161616; }
.site__cover b { font-family: var(--f-display); font-weight: 400; font-size: clamp(20px, 2.2vw, 30px); color: #fff; letter-spacing: .04em; }
.site__cover small { display: block; margin-top: 8px; font-family: var(--f-wide); font-size: 10.5px; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.site__body { padding: 20px 22px 22px; display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; border-top: 1px solid var(--line); flex: 1; }
.site__name { font-family: var(--f-wide); font-weight: 600; font-size: 19px; }
.site__desc { color: var(--muted); font-size: 14.5px; margin-top: 6px; max-width: 54ch; }
.site__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.site__tags span { font-size: 11px; font-family: var(--f-wide); padding: 4px 10px; border-radius: 100px; border: 1px solid var(--line-2); color: var(--sand-2); }

/* ---------- Process ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps__line { position: absolute; top: 28px; left: 0; right: 0; height: 1px; background: var(--line); }
.steps__line span { display: block; height: 100%; background: linear-gradient(90deg, var(--sand-deep), var(--sand-2)); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px var(--sand); }
.step__num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); font-family: var(--f-wide); font-size: 13px; color: var(--sand); position: relative; z-index: 1; transition: background .5s, color .5s; }
.step.is-lit .step__num { background: var(--sand); color: var(--bg); box-shadow: 0 0 0 8px rgba(198,185,165,.08); }
.step__icon { margin: 24px 0 12px; }
.step__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--sand); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-family: var(--f-wide); font-weight: 500; font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; max-width: 30ch; }

/* ---------- Tech logos ---------- */
.tech { padding: clamp(40px, 5vw, 64px) 0; border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.tech__head { margin-bottom: 8px; }
.tech__rows { display: grid; gap: 14px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tech__row { overflow: hidden; padding: 6px 0; }
.tech__track { display: flex; gap: 14px; width: max-content; animation: marquee 45s linear infinite; }
.tech__row--rev .tech__track { animation-direction: reverse; animation-duration: 52s; }
.tech__rows:hover .tech__track { animation-play-state: paused; }
.tchip { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 14px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); white-space: nowrap; transition: border-color .4s, transform .5s var(--ease), box-shadow .5s; }
.tchip:hover { border-color: color-mix(in srgb, var(--tc) 60%, transparent); transform: translateY(-4px); box-shadow: 0 14px 30px -14px var(--tc); }
.tchip__ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--tc) 14%, transparent); }
.tchip__ic svg { width: 22px; height: 22px; fill: var(--tc); }
.tchip span { font-family: var(--f-wide); font-weight: 500; font-size: 14.5px; color: var(--ivory); }

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact__waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 55%; z-index: 0; opacity: .6; pointer-events: none; }
.contact__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.contact__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 4.4vw, 62px); line-height: 1.08; }
.contact__lead { color: rgba(244,241,236,.7); max-width: 460px; margin: 20px 0 26px; font-size: clamp(15px, 1.2vw, 17px); }
.contact__points { list-style: none; display: grid; gap: 14px; margin-bottom: 28px; }
.contact__points li { display: flex; align-items: center; gap: 14px; }
.contact__points b { display: block; font-family: var(--f-wide); font-weight: 500; font-size: 15px; }
.contact__points small { color: var(--muted); font-size: 13px; }
.cp-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(198,185,165,.06); flex: none; }
.cp-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--sand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.form { position: relative; padding: clamp(22px, 3vw, 36px); border-radius: 28px; border: 1px solid var(--line-2); background: rgba(35,35,35,.72); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); overflow: hidden; isolation: isolate; display: grid; gap: 16px; }
.form__glow { position: absolute; width: 380px; height: 380px; top: -190px; right: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(198,185,165,.22), transparent 65%); z-index: -1; pointer-events: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: block; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ivory); background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 14px; padding: 24px 16px 10px; outline: none; transition: border-color .3s, background .3s, box-shadow .3s; resize: vertical; }
.field textarea { min-height: 120px; }
.field span { position: absolute; left: 17px; top: 17px; font-size: 15px; color: var(--muted); pointer-events: none; transition: font-size .3s, color .3s, top .3s; }
.field input:focus, .field textarea:focus { border-color: var(--sand); background: rgba(198,185,165,.06); box-shadow: 0 0 0 4px rgba(198,185,165,.08); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { top: 7px; font-size: 11px; letter-spacing: .06em; color: var(--sand); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e0705f; }
.field.is-invalid span { color: #e0705f; }
.chips { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; font-family: var(--f-wide); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 15px; border-radius: 100px; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--sand-2); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); user-select: none; }
.chips label:hover span { border-color: var(--sand); }
.chips input:checked + span { background: var(--sand); color: var(--bg); border-color: var(--sand); transform: translateY(-2px); }
.chips input:focus-visible + span { outline: 2px solid var(--sand-2); outline-offset: 2px; }
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__status { font-size: 14px; color: var(--muted); }
.form__status.is-error { color: #e9907f; }
.form.is-sending .form__submit { pointer-events: none; opacity: .75; }
.form.is-sending .btn__arrow { animation: spinSlow 1s linear infinite; }
.form__success { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 30px;
  background: rgba(29,29,29,.94); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.form.is-sent .form__success { opacity: 1; visibility: visible; }
.form__success h3 { font-family: var(--f-display); font-weight: 400; font-size: 26px; }
.form__success p { color: var(--muted); max-width: 34ch; margin-bottom: 8px; }
.success__check svg { width: 86px; height: 86px; fill: none; stroke: var(--sand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.success__check circle { stroke-dasharray: 160; stroke-dashoffset: 160; }
.success__check path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.form.is-sent .success__check circle { transition: stroke-dashoffset .9s var(--ease) .2s; stroke-dashoffset: 0; }
.form.is-sent .success__check path { transition: stroke-dashoffset .6s var(--ease) .9s; stroke-dashoffset: 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 52px 0 24px; overflow: hidden; background: linear-gradient(180deg, var(--bg), #181818); }
.footer__top { display: flex; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: flex-start; gap: 20px; }
.mark--footer { width: 74px; height: 74px; animation: spinSlow 40s linear infinite; flex: none; }
.footer__brand p { font-family: var(--f-wide); font-size: 14px; letter-spacing: .14em; color: var(--sand-2); }
.footer__brand p span { color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.footer__socials { margin-top: 16px; }
.footer__cols { display: flex; gap: clamp(32px, 6vw, 90px); flex-wrap: wrap; }
.footer__cols h4 { font-family: var(--f-wide); font-weight: 500; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer__cols a { display: block; padding: 4px 0; color: rgba(244,241,236,.8); transition: color .3s, transform .4s var(--ease); }
.footer__cols a:hover { color: var(--sand); transform: translateX(4px); }
.footer__word { font-family: var(--f-display); font-size: clamp(48px, 14.2vw, 205px); line-height: .9; text-align: center; letter-spacing: .02em; white-space: nowrap; margin: 36px 0 16px;
  color: transparent; -webkit-text-stroke: 1px rgba(198,185,165,.35);
  background: linear-gradient(90deg, transparent 0%, rgba(198,185,165,.6) 50%, transparent 100%); background-size: 50% 100%; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; animation: sweep 6s ease-in-out infinite; }
@keyframes sweep { 0% { background-position: -100% 0; } 100% { background-position: 200% 0; } }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 13px; font-family: var(--f-wide); letter-spacing: .06em; padding-top: 18px; border-top: 1px solid var(--line); }
.to-top { color: var(--sand-2); display: inline-block; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ab-grid { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc--cta { grid-column: span 2; }
  .apps { grid-auto-columns: max(300px, calc((100% - 16px) / 2)); }
  .site, .site:nth-child(n) { grid-column: span 3; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps__line { display: none; }
  .hero__mark-wrap { width: 100vw; right: -36vw; top: 30%; }
  .mark--hero { opacity: .35; }
  .sites { grid-template-columns: 1fr; }
  .site, .site:nth-child(n) { grid-column: span 1; }
  .svc__split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ab-grid { grid-template-columns: 1fr; }
  .ab--mission, .ab--globe { grid-column: span 1; grid-row: auto; }
  .ab--globe { flex-direction: column; align-items: flex-start; padding-right: 26px; }
  .globe { width: 100%; height: 220px; margin: 0 0 -26px; }
  .mark--about { width: 300px; height: 300px; right: -120px; top: -120px; }
  .motto { gap: 6px; }
  .motto span { font-size: 10.5px; padding: 7px 11px 7px 7px; gap: 6px; letter-spacing: .06em; }
  .motto i { width: 20px; height: 20px; font-size: 9px; }
  .nav__cta { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc--wide, .svc--cta { grid-column: span 1; }
  .svc { padding: 22px; }
  .svc__list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero__eyebrow { font-size: 10px; letter-spacing: .14em; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1; justify-content: center; padding: 15px 16px; font-size: 11.5px; gap: 8px; }
  .apps { grid-auto-columns: 86%; }
  .work__nav { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .form__submit { width: 100%; justify-content: center; }
  .footer__brand { flex-direction: column; }
  .section__intro { font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
