/* ═══════════════════════════════════════════════════════════
   SYNACT — Global Stylesheet (Updated Logo Palette)
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #050a15; /* Deep navy-black */
  --bg-2: #0a1128; /* Rich dark navy */
  --card: #0f1a35; /* Elevated navy card */
  --line: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.12);
  --txt: #ffffff;
  --muted: #94a3b8; /* Cool slate gray */
  --muted-2: #64748b;
  --blue: #0055ff; /* Royal blue */
  --sapphire: #00b9ef; /* Bright sapphire */
  --navy: #1e3a8a; /* Deep navy */
  --grad: linear-gradient(135deg, #0055ff 0%, #00b9ef 100%);
  --grad-2: linear-gradient(90deg, #00b9ef, #0055ff, #1e3a8a);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --ok: #10b981;
  --err: #ef4444;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--txt);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.loading {
  overflow: hidden;
}
body.nav-open {
  overflow: hidden;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.mono {
  font-family: "JetBrains Mono", monospace;
}
h1,
h2,
h3,
h4 {
  font-family: "Syne", sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-weight: 700;
}
h1 {
  font-size: clamp(2rem, 7vw, 6.5rem);
}
h2 {
  font-size: clamp(1.5rem, 4.5vw, 3.8rem);
  margin-bottom: 20px;
}
h3 {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.3;
}
h4 {
  font-size: 0.95rem;
  font-weight: 600;
}
p {
  color: var(--muted);
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  line-height: 1.7;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── CURSOR ── */
@media (pointer: fine) and (min-width: 1024px) {
  body,
  a,
  button {
    cursor: none;
  }
  .cur-dot,
  .cur-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    mix-blend-mode: difference;
    will-change: transform;
  }
  .cur-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    transition:
      width 0.25s,
      height 0.25s;
  }
  .cur-ring {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    transition:
      width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      border-color 0.25s,
      background 0.25s;
  }
  .cur-ring.hov {
    width: 70px;
    height: 70px;
    border-color: transparent;
    background: rgba(255, 255, 255, 0.85);
  }
  .cur-dot.hov {
    width: 0;
    height: 0;
  }
  .cur-ring.txt {
    width: 110px;
    height: 110px;
    background: rgba(255, 255, 255, 0.95);
  }
  .cur-ring.txt::after {
    content: attr(data-label);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
  }
}
@media (pointer: coarse) {
  .cur-dot,
  .cur-ring {
    display: none !important;
  }
}

.prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 10000;
  background: var(--grad-2);
  box-shadow: 0 0 14px rgba(0, 185, 239, 0.6);
}

/* ── PRELOADER ── */
.pre {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
  padding: 20px;
}
.pre.done {
  opacity: 0;
  visibility: hidden;
}
.pre-inner {
  text-align: center;
  width: 100%;
}
.pre-logo {
  position: relative;
  width: clamp(144px, 30vw, 184px);
  aspect-ratio: 1;
  margin-inline: auto;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: clamp(20px, 4vw, 32px);
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.pre-logo::before,
.pre-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}
.pre-logo::before {
  border: 1px solid rgba(0, 185, 239, 0.16);
}
.pre-logo::after {
  background: conic-gradient(from -90deg, var(--blue), var(--sapphire) var(--loader-angle, 0deg), transparent var(--loader-angle, 0deg));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  transition: opacity 0.3s ease;
}
.pre-logo img {
  width: clamp(88px, 20vw, 120px);
  height: auto;
  object-fit: contain;
  transform-origin: center;
  animation: logo-assemble 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
  filter: drop-shadow(0 0 10px rgba(0, 185, 239, 0.2));
  transition: filter 0.3s ease;
}
.pre.ready .pre-logo img {
  filter: drop-shadow(0 0 22px rgba(0, 185, 239, 0.55));
}
.pre.ready .pre-logo::after {
  opacity: 0.45;
}
.pre.done .pre-logo img {
  animation: none;
}
@keyframes logo-assemble {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.88);
    clip-path: inset(100% 0 0);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    clip-path: inset(0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.pre-count {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(3rem, 14vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  background: var(--grad-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shine 3s linear infinite;
}
@keyframes shine {
  to {
    background-position: 200% center;
  }
}
.pre-bar {
  width: min(240px, 80vw);
  height: 1px;
  background: var(--line-2);
  margin: clamp(18px, 4vw, 26px) auto 0;
  overflow: hidden;
}
.pre-bar-fill {
  height: 100%;
  width: 0;
  background: var(--grad-2);
  transition: width 0.15s linear;
}
.pre-status {
  margin-top: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.6rem, 2.5vw, 0.7rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: clamp(12px, 2.5vw, 24px) 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding-top: calc(clamp(12px, 2.5vw, 24px) + var(--safe-top));
}
.nav.scrolled {
  padding: clamp(10px, 2vw, 14px) 0;
  background: rgba(5, 10, 21, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
  padding-top: calc(clamp(10px, 2vw, 14px) + var(--safe-top));
}
.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 48px;
  min-width: 48px;
}
.brand img {
  width: auto;
  height: clamp(44px, 4.5vw, 56px);
  object-fit: contain;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 99px;
  transition: all 0.25s;
}
.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.nav-links a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.nav-links a.is-active::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sapphire);
  margin-right: 8px;
  box-shadow: 0 0 8px var(--sapphire);
  vertical-align: middle;
}
.nav-right {
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav-kbd {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-2);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--muted);
  transition: all 0.25s;
}
.nav-kbd:hover {
  border-color: var(--sapphire);
  color: #fff;
}
.nav-kbd kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-2);
  font-family: inherit;
  font-size: 0.68rem;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--grad-2);
  color: #fff;
  box-shadow: 0 6px 24px rgba(0, 85, 255, 0.3);
  transition: all 0.3s;
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10002;
  padding: 12px 20px;
  background: var(--bg);
  color: var(--txt);
  border: 2px solid var(--sapphire);
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.animation-unavailable .rv,
.animation-unavailable .rv-in,
.animation-unavailable .rv-stag > *,
.animation-unavailable .hero-lead,
.animation-unavailable .hero-acts,
.animation-unavailable .hero h1 .word-inner {
  opacity: 1 !important;
  transform: none !important;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 85, 255, 0.5);
}
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: all 0.3s;
}
.nav-burger span {
  width: 18px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-burger.on {
  background: var(--grad-2);
  border-color: transparent;
}
.nav-burger.on span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-burger.on span:nth-child(2) {
  opacity: 0;
}
.nav-burger.on span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ── MOBILE MENU ── */
.mob-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5, 10, 21, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: calc(80px + var(--safe-top)) 24px calc(32px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s,
    visibility 0.35s;
  overflow-y: auto;
}
.mob-menu.on {
  opacity: 1;
  visibility: visible;
}
.mob-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.mob-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-radius: 16px;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.4rem, 6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s;
}
.mob-menu-link:active,
.mob-menu-link.is-active {
  background: rgba(0, 185, 239, 0.06);
  border-color: var(--sapphire);
  transform: translateX(4px);
}
.mob-menu-link span.num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--muted-2);
  letter-spacing: 1.5px;
}
.mob-menu-foot {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mob-menu-foot a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 12px 4px;
  transition: color 0.25s;
}
.mob-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 24px;
  border-radius: 14px;
  background: var(--grad-2);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 12px;
}

/* ── COMMAND PALETTE ── */
.cmdk {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16vh 16px 16px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s,
    visibility 0.25s;
}
.cmdk.on {
  opacity: 1;
  visibility: visible;
}
.cmdk-bg {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 21, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.cmdk-box {
  position: relative;
  width: min(580px, 100%);
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
  transform: translateY(-16px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}
.cmdk.on .cmdk-box {
  transform: translateY(0) scale(1);
}
.cmdk-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.cmdk-search svg {
  color: var(--muted-2);
  flex-shrink: 0;
}
.cmdk-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  min-width: 0;
}
.cmdk-hint {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  color: var(--muted-2);
  letter-spacing: 1px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.cmdk-list {
  overflow-y: auto;
  padding: 8px;
  flex: 1;
}
.cmdk-section {
  padding: 14px 16px 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted-2);
}
.cmdk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #c5cad6;
  transition: all 0.15s;
  cursor: pointer;
}
.cmdk-item.sel {
  background: rgba(0, 185, 239, 0.08);
  color: #fff;
}
.cmdk-item.sel .cmdk-item-ic {
  background: var(--grad-2);
  border-color: transparent;
  color: #fff;
}
.cmdk-item-ic {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.2s;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.cmdk-item-txt {
  flex: 1;
  min-width: 0;
}
.cmdk-item-txt small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted-2);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cmdk-item-key {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  color: var(--muted-2);
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  flex-shrink: 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: clamp(12px, 2vw, 16px) clamp(20px, 3vw, 30px);
  border-radius: 99px;
  font-weight: 600;
  font-size: clamp(0.82rem, 2.5vw, 0.88rem);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  min-height: 44px;
}
.btn span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-fill {
  background: var(--grad-2);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 85, 255, 0.28);
}
.btn-fill:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(0, 85, 255, 0.5);
}
.btn-ghost {
  border-color: var(--line-2);
  color: #fff;
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-3px);
}

/* ── HERO (home) ── */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(120px, 20vh, 180px) 0 clamp(60px, 10vh, 100px);
}
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.7;
}
.hero-aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}
.aur {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: floatA 20s ease-in-out infinite;
}
.aur-1 {
  width: min(600px, 90vw);
  height: min(600px, 90vw);
  background: rgba(0, 85, 255, 0.35);
  top: -200px;
  left: -100px;
}
.aur-2 {
  width: min(500px, 80vw);
  height: min(500px, 80vw);
  background: rgba(30, 58, 138, 0.25);
  bottom: -200px;
  right: -100px;
  animation-delay: -7s;
}
.aur-3 {
  width: min(400px, 70vw);
  height: min(400px, 70vw);
  background: rgba(0, 185, 239, 0.2);
  top: 40%;
  right: 20%;
  animation-delay: -13s;
}
@keyframes floatA {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(60px, -40px) scale(1.1);
  }
  66% {
    transform: translate(-40px, 60px) scale(0.95);
  }
}
.hero-in {
  position: relative;
  z-index: 3;
  max-width: 820px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(20px, 4vw, 32px);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 99px;
  background: rgba(0, 185, 239, 0.06);
  border: 1px solid rgba(0, 185, 239, 0.18);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sapphire);
  white-space: nowrap;
}
.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sapphire);
  box-shadow: 0 0 10px var(--sapphire);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}
.hero-clock {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  color: var(--muted-2);
  text-transform: uppercase;
}
.hero-clock b {
  color: var(--sapphire);
  font-weight: 500;
}
.hero h1 {
  margin-bottom: clamp(20px, 3vw, 34px);
  word-break: break-word;
}
.hero h1 .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.hero h1 .word-inner {
  display: inline-block;
  transform: translateY(110%);
}
.hero h1 .grad {
  background: linear-gradient(120deg, #3b82f6, #0055ff, #00b9ef, #3b82f6);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shine 5s linear infinite;
}
.hero-lead {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  max-width: 600px;
  margin-bottom: clamp(28px, 5vw, 42px);
  color: #94a3b8;
  opacity: 0;
  transform: translateY(20px);
}
.hero-acts {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}
.hero-side {
  position: absolute;
  right: 40px;
  bottom: 80px;
  z-index: 4;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-side .line {
  width: 40px;
  height: 1px;
  background: var(--muted-2);
}
.scroll-hint {
  position: absolute;
  bottom: 80px;
  left: 40px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-hint span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted-2);
  writing-mode: vertical-rl;
}
.scroll-hint .bar {
  width: 1px;
  height: 50px;
  background: var(--line-2);
  position: relative;
  overflow: hidden;
}
.scroll-hint .bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--sapphire);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% {
    top: -50%;
  }
  100% {
    top: 100%;
  }
}

/* ── SUB-PAGE HEADER ── */
.page-head {
  position: relative;
  padding: clamp(140px, 20vh, 200px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 800px 400px at 30% 20%,
      rgba(0, 85, 255, 0.12),
      transparent 60%
    ),
    radial-gradient(
      ellipse 500px 300px at 80% 60%,
      rgba(30, 58, 138, 0.08),
      transparent 60%
    );
}
.page-head-inner {
  position: relative;
  z-index: 2;
  max-width: 840px;
}
.page-head h1 {
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  margin-bottom: 22px;
  word-break: break-word;
}
.page-head p {
  max-width: 640px;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
}
.page-head-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 24px;
}
.page-head-breadcrumb a {
  color: var(--muted);
  transition: color 0.2s;
}
.page-head-breadcrumb a:hover {
  color: var(--sapphire);
}
.page-head-breadcrumb .sep {
  opacity: 0.4;
}

/* ── MARQUEE ── */
.marq {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(30px, 6vw, 50px) 0;
  overflow: hidden;
  background: var(--bg);
  position: relative;
}
.marq-track {
  display: flex;
  gap: clamp(30px, 5vw, 70px);
  width: max-content;
  animation: scrollX 40s linear infinite;
}
.marq-item {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}
.marq-item.ghost {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  color: transparent;
}
.marq-item .star {
  color: var(--sapphire);
  font-size: clamp(0.9rem, 2.5vw, 2rem);
}
@keyframes scrollX {
  to {
    transform: translateX(-50%);
  }
}

/* ── SECTIONS ── */
.sec {
  padding: clamp(70px, 12vw, 140px) 0;
  position: relative;
}
.sec-sm {
  padding: clamp(50px, 8vw, 90px) 0;
}
.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.62rem, 2.2vw, 0.7rem);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sapphire);
  margin-bottom: clamp(14px, 3vw, 22px);
  flex-wrap: wrap;
}
.sec-tag::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--sapphire);
  opacity: 0.6;
  flex-shrink: 0;
}
.sec-num {
  color: var(--muted-2);
  font-size: 0.68rem;
}
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: clamp(40px, 8vw, 70px);
}
.sec-head-l {
  max-width: 680px;
}
.sec-head p {
  max-width: 600px;
  margin-top: 16px;
}

/* ── CLIENTS ── */
.clients {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: clamp(50px, 8vw, 80px) 0;
}
.clients-lbl {
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.62rem, 2.2vw, 0.7rem);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: clamp(30px, 6vw, 50px);
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.client {
  padding: clamp(24px, 4vw, 40px) clamp(10px, 2vw, 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  transition: all 0.4s;
  opacity: 0.5;
}
.client:hover {
  opacity: 1;
  color: var(--sapphire);
  background: rgba(0, 185, 239, 0.03);
}
.client svg {
  height: clamp(20px, 3vw, 32px);
  width: auto;
  max-width: 100%;
}

/* ── BENTO ── */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: clamp(12px, 1.5vw, 18px);
}
.bento-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: clamp(14px, 2vw, 20px);
  padding: clamp(20px, 3vw, 32px);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(
    500px circle at var(--mx, 50%) var(--my, 50%),
    rgba(0, 185, 239, 0.12),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.35s;
}
.bento-card:hover::before {
  opacity: 1;
}
.bento-card:hover {
  border-color: rgba(0, 185, 239, 0.35);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.b-1 {
  grid-column: span 4;
  grid-row: span 2;
}
.b-2,
.b-3,
.b-4,
.b-5,
.b-6 {
  grid-column: span 2;
}
.bento-ic {
  width: clamp(42px, 5vw, 52px);
  height: clamp(42px, 5vw, 52px);
  border-radius: clamp(10px, 1.5vw, 14px);
  background: rgba(0, 85, 255, 0.08);
  border: 1px solid rgba(0, 85, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sapphire);
  margin-bottom: clamp(16px, 2.5vw, 24px);
  transition: all 0.4s;
  flex-shrink: 0;
}
.bento-ic svg {
  width: clamp(18px, 2vw, 22px);
  height: clamp(18px, 2vw, 22px);
}
.bento-card:hover .bento-ic {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  transform: scale(1.05);
}
.bento-card h3 {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 10px;
}
.bento-card p {
  font-size: clamp(0.8rem, 2vw, 0.87rem);
  line-height: 1.6;
}
.b-1 h3 {
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
}
.b-1 p {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  max-width: 520px;
}
.bento-vis {
  position: absolute;
  top: clamp(20px, 3vw, 32px);
  right: clamp(20px, 3vw, 32px);
  opacity: 0.35;
  width: clamp(50px, 8vw, 80px);
  height: auto;
}
.bento-vis svg {
  width: 100%;
  height: auto;
}
.bento-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: clamp(16px, 2vw, 24px);
  gap: 12px;
}
.bento-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--muted-2);
  letter-spacing: 1px;
}
.bento-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.35s;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.bento-card:hover .bento-arrow {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  transform: rotate(-45deg);
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about-vis {
  position: relative;
  order: -1;
}
.about-vis-inner {
  position: relative;
  border-radius: clamp(16px, 2.5vw, 24px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.6);
}
.about-vis-inner img {
  width: 100%;
  height: clamp(320px, 50vw, 620px);
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-vis:hover .about-vis-inner img {
  transform: scale(1.05);
}
.about-vis-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(5, 10, 21, 0.7) 100%
  );
  pointer-events: none;
}
.about-badge {
  position: absolute;
  bottom: -24px;
  left: 20px;
  background: rgba(15, 26, 53, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line-2);
  border-radius: clamp(14px, 2vw, 20px);
  padding: clamp(14px, 2vw, 24px) clamp(16px, 2.5vw, 28px);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.about-badge-ic {
  width: clamp(38px, 5vw, 50px);
  height: clamp(38px, 5vw, 50px);
  border-radius: clamp(10px, 1.5vw, 14px);
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 85, 255, 0.5);
  flex-shrink: 0;
}
.about-badge-ic svg {
  width: clamp(16px, 2vw, 22px);
  height: clamp(16px, 2vw, 22px);
}
.about-badge-num {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.about-badge-lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted-2);
  margin-top: 5px;
}
.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 26px) clamp(18px, 3vw, 30px);
  margin-top: clamp(28px, 5vw, 48px);
}
.pillar {
  display: flex;
  gap: 12px;
}
.pillar-ic {
  width: clamp(34px, 4vw, 40px);
  height: clamp(34px, 4vw, 40px);
  border-radius: 11px;
  flex-shrink: 0;
  background: rgba(0, 185, 239, 0.06);
  border: 1px solid rgba(0, 185, 239, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sapphire);
  transition: all 0.35s;
}
.pillar:hover .pillar-ic {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  transform: scale(1.08);
}
.pillar h4 {
  font-size: clamp(0.82rem, 2vw, 0.9rem);
  margin-bottom: 3px;
}
.pillar p {
  font-size: clamp(0.72rem, 1.8vw, 0.78rem);
  line-height: 1.5;
  margin: 0;
  color: var(--muted-2);
}

/* ── STATS ── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(50px, 10vw, 100px);
  padding: clamp(30px, 5vw, 50px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.stat {
  padding: 0 clamp(10px, 2vw, 24px);
  text-align: center;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child {
  border-right: none;
}
.stat-num {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 0%, #7a8aa8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.stat-lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.58rem, 1.8vw, 0.68rem);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted-2);
  line-height: 1.4;
}

/* ── PORTFOLIO ── */
.hz {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hz-pin {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.hz-head {
  position: absolute;
  top: 80px;
  left: 40px;
  right: 40px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.hz-track {
  display: flex;
  gap: clamp(16px, 2vw, 32px);
  padding: 0 40px;
  will-change: transform;
}
.hz-panel {
  flex-shrink: 0;
  width: min(560px, 72vw);
  border-radius: clamp(14px, 2vw, 22px);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  position: relative;
  transition: all 0.5s;
  cursor: pointer;
}
.hz-panel:hover {
  border-color: rgba(0, 185, 239, 0.35);
}
.hz-panel img {
  width: 100%;
  height: clamp(200px, 32vw, 380px);
  object-fit: cover;
  filter: brightness(0.7);
  transition:
    filter 0.5s,
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.hz-panel:hover img {
  filter: brightness(0.5);
  transform: scale(1.06);
}
.hz-body {
  padding: clamp(20px, 3vw, 30px);
}
.hz-body h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 10px;
}
.hz-body p {
  font-size: clamp(0.82rem, 2vw, 0.9rem);
}
.hz-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  gap: 12px;
  flex-wrap: wrap;
}
.hz-idx {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--muted-2);
}
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.58rem, 1.5vw, 0.65rem);
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(0, 185, 239, 0.06);
  color: var(--sapphire);
  border: 1px solid rgba(0, 185, 239, 0.18);
  white-space: nowrap;
}
.hz-cursor {
  position: absolute;
  bottom: 60px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted-2);
}
.hz-cursor .bar {
  width: 60px;
  height: 1px;
  background: var(--line-2);
  position: relative;
  overflow: hidden;
}
.hz-cursor .bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--sapphire);
}

/* ── PORTFOLIO GRID (portfolio page) ── */
.pf-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: clamp(30px, 5vw, 50px);
}
.pf-filter {
  padding: 10px 20px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.25s;
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.5px;
}
.pf-filter:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.pf-filter.on {
  background: var(--grad-2);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 85, 255, 0.35);
}
.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.pf-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: clamp(14px, 2vw, 20px);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.pf-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 185, 239, 0.35);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.pf-card.hide {
  display: none;
}
.pf-card-img {
  position: relative;
  overflow: hidden;
  height: clamp(180px, 22vw, 240px);
}
.pf-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition:
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.5s;
}
.pf-card:hover .pf-card-img img {
  transform: scale(1.06);
  filter: brightness(0.5);
}
.pf-card-body {
  padding: clamp(18px, 2.5vw, 26px);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pf-card-body h3 {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  margin-bottom: 8px;
}
.pf-card-body p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.pf-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.pf-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 80px 20px;
  color: var(--muted-2);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── LIGHTBOX ── */
.lb {
  position: fixed;
  inset: 0;
  z-index: 10003;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s,
    visibility 0.4s;
  padding-top: calc(20px + var(--safe-top));
  padding-bottom: calc(20px + var(--safe-bottom));
}
.lb.on {
  opacity: 1;
  visibility: visible;
}
.lb-bg {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 21, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.lb-box {
  position: relative;
  width: min(1100px, 100%);
  max-height: 88vh;
  max-height: 88svh;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: clamp(14px, 2vw, 22px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.7);
  transform: scale(0.96);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.lb.on .lb-box {
  transform: scale(1);
}
.lb-img {
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  width: 100%;
}
.lb-content {
  padding: clamp(24px, 4vw, 48px) clamp(20px, 3vw, 40px);
  display: flex;
  flex-direction: column;
}
.lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.3s;
  z-index: 2;
}
.lb-close:hover {
  background: var(--grad-2);
  border-color: transparent;
  color: #fff;
  transform: rotate(90deg);
}
.lb-content h3 {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  margin-bottom: 16px;
}
.lb-content > p {
  margin-bottom: 24px;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}
.lb-detail {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.lb-detail span {
  color: var(--muted-2);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.lb-detail b {
  font-weight: 500;
  color: #fff;
  text-align: right;
  word-break: break-word;
}
.lb-cta {
  margin-top: auto;
  padding-top: 32px;
}

/* ── PROCESS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  margin-top: clamp(40px, 8vw, 80px);
}
.steps-line {
  position: absolute;
  top: 34px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.steps-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--grad-2);
  box-shadow: 0 0 12px rgba(0, 185, 239, 0.6);
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.step-num {
  width: clamp(52px, 7vw, 68px);
  height: clamp(52px, 7vw, 68px);
  border-radius: 50%;
  margin: 0 auto clamp(14px, 2.5vw, 24px);
  background: var(--bg);
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.72rem, 2vw, 0.85rem);
  font-weight: 500;
  color: var(--muted);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.step-num::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  opacity: 0;
  transition: all 0.5s;
}
.step.active .step-num {
  background: var(--grad-2);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 15px 40px rgba(0, 85, 255, 0.4);
  transform: scale(1.05);
}
.step.active .step-num::before {
  opacity: 1;
  inset: -14px;
  animation: pulseRing 3s infinite;
}
@keyframes pulseRing {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.06);
  }
}
.step h4 {
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  margin-bottom: 10px;
  transition: color 0.3s;
}
.step.active h4 {
  color: var(--sapphire);
}
.step p {
  font-size: clamp(0.76rem, 1.9vw, 0.83rem);
  line-height: 1.6;
  color: var(--muted-2);
  max-width: 180px;
  margin: 0 auto;
}

/* ── TESTIMONIALS ── */
.tst-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(40px, 6vw, 60px);
}
.tst {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: clamp(14px, 2vw, 20px);
  padding: clamp(22px, 3.5vw, 36px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.tst::before {
  content: "“";
  position: absolute;
  top: -40px;
  right: 20px;
  font-family: "Syne", sans-serif;
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  color: rgba(0, 85, 255, 0.06);
  line-height: 1;
  pointer-events: none;
}
.tst:hover {
  background: #111e3d;
  border-color: rgba(0, 185, 239, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.tst-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
  color: #fbbf24;
  position: relative;
  z-index: 1;
}
.tst-stars svg {
  width: clamp(12px, 1.5vw, 15px);
  height: clamp(12px, 1.5vw, 15px);
}
.tst-quote {
  font-size: clamp(0.88rem, 2.2vw, 0.98rem);
  line-height: 1.75;
  color: #cbd2e0;
  font-style: italic;
  margin-bottom: clamp(20px, 3vw, 30px);
  position: relative;
  z-index: 1;
}
.tst-auth {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: clamp(18px, 2.5vw, 24px);
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.tst-av-wrap {
  position: relative;
  flex-shrink: 0;
}
.tst-av {
  width: clamp(40px, 5vw, 48px);
  height: clamp(40px, 5vw, 48px);
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-2);
}
.tst-v {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--grad-2);
  border: 2px solid var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.tst-name {
  font-size: clamp(0.85rem, 2vw, 0.92rem);
  font-weight: 600;
  margin-bottom: 2px;
}
.tst-role {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.6rem, 1.6vw, 0.68rem);
  color: var(--muted-2);
  letter-spacing: 0.5px;
}

/* ── TEAM (about page) ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.team-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: clamp(14px, 2vw, 20px);
  overflow: hidden;
  transition: all 0.35s;
}
.team-card:hover {
  border-color: rgba(0, 185, 239, 0.3);
  transform: translateY(-4px);
}
.team-photo {
  width: 100%;
  height: clamp(200px, 25vw, 280px);
  object-fit: cover;
  filter: grayscale(1) brightness(0.85);
  transition: filter 0.4s;
}
.team-card:hover .team-photo {
  filter: grayscale(0) brightness(1);
}
.team-body {
  padding: 20px;
}
.team-name {
  font-family: "Syne", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.team-role {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--sapphire);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.team-bio {
  font-size: 0.82rem;
  color: var(--muted-2);
  margin-top: 10px;
  line-height: 1.55;
}

/* ── TECH STACK ── */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(10px, 1.5vw, 16px);
}
.stack-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 12px;
  text-align: center;
  transition: all 0.3s;
}
.stack-item:hover {
  border-color: rgba(0, 185, 239, 0.4);
  background: #111e3d;
  transform: translateY(-3px);
}
.stack-item-name {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  color: var(--muted-2);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 10px;
}
.stack-item-ic {
  width: 36px;
  height: 36px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sapphire);
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  background: rgba(0, 185, 239, 0.06);
  border-radius: 9px;
}

/* ── FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 840px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item.on {
  border-color: rgba(0, 185, 239, 0.35);
  background: #111e3d;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  font-family: "Syne", sans-serif;
  font-weight: 600;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  text-align: left;
  width: 100%;
  color: #fff;
  background: none;
  border: none;
  transition: color 0.2s;
}
.faq-q:hover {
  color: var(--sapphire);
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
  transition: all 0.3s;
}
.faq-item.on .faq-icon {
  background: var(--grad-2);
  border-color: transparent;
  color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-a-inner {
  padding: 0 24px 24px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ── CONTACT ── */
.contact-sec {
  padding: clamp(70px, 12vw, 140px) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.contact-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background:
    radial-gradient(
      ellipse 700px 400px at 20% 30%,
      rgba(0, 85, 255, 0.15),
      transparent 60%
    ),
    radial-gradient(
      ellipse 500px 300px at 85% 70%,
      rgba(30, 58, 138, 0.1),
      transparent 60%
    );
  pointer-events: none;
}
.contact-sec .wrap {
  position: relative;
  z-index: 1;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  margin-bottom: 22px;
}
.contact-info > p {
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  margin-bottom: 32px;
  max-width: 480px;
}
.contact-ways {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 36px;
}
.contact-way {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s;
}
.contact-way:hover {
  border-color: rgba(0, 185, 239, 0.4);
  background: rgba(0, 185, 239, 0.04);
  transform: translateX(4px);
}
.contact-way-ic {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0, 85, 255, 0.35);
}
.contact-way-lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted-2);
  margin-bottom: 2px;
}
.contact-way-val {
  font-size: 0.92rem;
  font-weight: 500;
  color: #fff;
}
.contact-trust {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted-2);
}
.contact-trust-item svg {
  color: var(--sapphire);
  flex-shrink: 0;
}
.contact-form {
  background: rgba(15, 26, 53, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-2);
  border-radius: clamp(16px, 2.5vw, 22px);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  position: relative;
}
.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 185, 239, 0.5),
    transparent
  );
}
.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.f-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.f-field label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.f-field label .req {
  color: var(--sapphire);
}
.f-field input,
.f-field textarea,
.f-field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-2);
  color: #fff;
  font-family: inherit;
  transition: all 0.25s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.f-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
.f-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 44px;
  cursor: pointer;
}
.f-field select option {
  background: #0f1a35;
  color: #fff;
}
.f-field input:focus,
.f-field textarea:focus,
.f-field select:focus {
  border-color: var(--sapphire);
  background: rgba(0, 185, 239, 0.04);
  box-shadow: 0 0 0 4px rgba(0, 185, 239, 0.08);
}
.f-field input.err,
.f-field textarea.err,
.f-field select.err {
  border-color: var(--err);
  background: rgba(239, 68, 68, 0.05);
}
.f-field .f-error {
  font-size: 0.72rem;
  color: var(--err);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.5px;
  display: none;
  margin-top: -2px;
}
.f-field.err .f-error {
  display: block;
}
.f-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 24px;
  border-radius: 14px;
  background: var(--grad-2);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  border: none;
  margin-top: 8px;
}
.f-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 85, 255, 0.4);
}
.f-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.f-submit svg {
  transition: transform 0.3s;
}
.f-submit:hover svg {
  transform: translateX(4px);
}
.f-submit .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.f-submit.loading .spinner {
  display: inline-block;
}
.f-submit.loading .btn-text,
.f-submit.loading svg {
  display: none;
}
.f-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  display: none;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.f-status.show {
  display: flex;
}
.f-status.ok {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}
.f-status.bad {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}
.f-status svg {
  flex-shrink: 0;
}
.f-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
.f-note {
  font-size: 0.72rem;
  color: var(--muted-2);
  text-align: center;
  margin-top: 14px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.5px;
}

/* ── CTA ── */
.cta {
  padding: clamp(90px, 15vw, 160px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 900px 500px at 50% 50%,
      rgba(0, 85, 255, 0.18),
      transparent 60%
    ),
    radial-gradient(
      ellipse 600px 300px at 80% 20%,
      rgba(30, 58, 138, 0.12),
      transparent 60%
    ),
    linear-gradient(180deg, var(--bg-2) 0%, #0a1128 100%);
  border-top: 1px solid var(--line);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(
    ellipse 60% 60% at 50% 50%,
    #000,
    transparent 75%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 60% 60% at 50% 50%,
    #000,
    transparent 75%
  );
}
.cta .wrap {
  position: relative;
  z-index: 1;
}
.cta h2 {
  max-width: 900px;
  margin: 0 auto 22px;
  font-size: clamp(1.8rem, 5.5vw, 4.5rem);
}
.cta p {
  max-width: 520px;
  margin: 0 auto clamp(28px, 5vw, 44px);
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
}
.cta-notes {
  margin-top: clamp(24px, 4vw, 36px);
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
  flex-wrap: wrap;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.6rem, 2vw, 0.72rem);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted-2);
}
.cta-notes span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── FOOTER ── */
footer {
  background: #03050a;
  border-top: 1px solid var(--line);
  padding: clamp(60px, 10vw, 100px) 0 calc(30px + var(--safe-bottom));
  position: relative;
}
.f-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.4fr;
  gap: clamp(30px, 5vw, 60px);
  margin-bottom: clamp(50px, 8vw, 80px);
}
.f-grid > :first-child {
  width: 100%;
  max-width: 320px;
  text-align: center;
}
.f-grid > :first-child .f-social {
  justify-content: center;
}
.f-brand {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 0 20px;
  max-width: 320px;
  line-height: 0;
}
.f-brand img {
  width: 188px;
  height: auto;
  object-fit: contain;
}
.f-desc {
  text-align: center;
  font-size: clamp(0.82rem, 2vw, 0.88rem);
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 320px;
}
.f-col h5 {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.65rem, 1.8vw, 0.7rem);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: clamp(16px, 3vw, 24px);
}
.f-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.f-col a {
  font-size: clamp(0.82rem, 2vw, 0.88rem);
  color: var(--muted);
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.f-col a:hover {
  color: var(--sapphire);
  transform: translateX(4px);
}
.f-news {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.f-news input {
  flex: 1;
  padding: 13px 16px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-2);
  color: #fff;
  font-family: inherit;
  transition: all 0.25s;
  min-width: 0;
  font-size: 16px;
}
.f-news input:focus {
  outline: none;
  border-color: var(--sapphire);
  background: rgba(0, 185, 239, 0.04);
}
.f-news button {
  padding: 0 20px;
  border-radius: 11px;
  background: var(--grad-2);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.3s;
  min-height: 44px;
}
.f-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.f-social[hidden] {
  display: none !important;
}
.f-social a {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.3s;
}
.f-social a:hover {
  border-color: transparent;
  background: var(--grad-2);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 85, 255, 0.35);
}
.f-grid > .f-col > div[style*="margin-top"] > span:nth-child(2) {
  display: none !important;
}
.f-bot {
  border-top: 1px solid var(--line);
  padding-top: clamp(20px, 3vw, 32px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.6rem, 1.8vw, 0.72rem);
  color: var(--muted-2);
  letter-spacing: 0.5px;
  gap: 16px;
  flex-wrap: wrap;
}
.f-bot-links {
  display: flex;
  gap: clamp(14px, 2.5vw, 28px);
  flex-wrap: wrap;
}
.f-bot-links a {
  transition: color 0.2s;
}
.f-bot-links a:hover {
  color: var(--sapphire);
}
.f-credit a {
  background: var(--grad-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
  transition: filter 0.2s, transform 0.2s;
}
.f-credit a:hover {
  filter: brightness(1.2);
  transform: translateY(-1px);
}
.f-heart {
  background: var(--grad-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1em;
  line-height: 1;
  vertical-align: -0.08em;
}
/* The About page no longer presents a team section. */
section:has(.team-grid) {
  display: none;
}

/* ── BACK TO TOP ── */
.to-top {
  position: fixed;
  right: clamp(16px, 2vw, 32px);
  bottom: calc(clamp(16px, 2vw, 32px) + var(--safe-bottom));
  z-index: 900;
  width: clamp(44px, 5vw, 52px);
  height: clamp(44px, 5vw, 52px);
  border-radius: 50%;
  background: var(--grad-2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.9);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 15px 40px rgba(0, 85, 255, 0.45);
}
.to-top.on {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* ── REVEAL UTILITIES ── */
.rv {
  opacity: 0;
  transform: translateY(40px);
}
.rv-in {
  opacity: 0;
}
.rv-stag > * {
  opacity: 0;
  transform: translateY(30px);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .wrap {
    padding: 0 clamp(20px, 4vw, 40px);
  }
  .nav-links,
  .nav-kbd {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: clamp(40px, 8vw, 60px);
  }
  .about-vis {
    order: 0;
  }
  .about-vis-inner img {
    height: clamp(320px, 45vw, 480px);
  }
  .bento {
    grid-template-columns: repeat(4, 1fr);
  }
  .b-1 {
    grid-column: span 4;
    grid-row: span 1;
  }
  .b-2,
  .b-3,
  .b-4,
  .b-5 {
    grid-column: span 2;
  }
  .b-6 {
    grid-column: span 4;
  }
  .f-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: clamp(30px, 6vw, 60px);
  }
  .steps-line {
    display: none;
  }
  .tst-grid {
    grid-template-columns: 1fr 1fr;
  }
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .hz-pin {
    height: auto;
    min-height: auto;
    padding: clamp(60px, 10vw, 100px) 0 clamp(40px, 8vw, 60px);
    display: block;
  }
  .hz-head {
    position: static;
    padding: 0 clamp(20px, 4vw, 40px) clamp(24px, 4vw, 40px);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .hz-track {
    padding: 0 clamp(20px, 4vw, 40px) 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transform: none !important;
  }
  .hz-track::-webkit-scrollbar {
    display: none;
  }
  .hz-panel {
    width: min(500px, 85vw);
    scroll-snap-align: center;
  }
  .hz-cursor {
    display: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pf-grid {
    grid-template-columns: 1fr 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stack-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 720px) {
  .wrap {
    padding: 0 20px;
  }
  .sec {
    padding: clamp(60px, 14vw, 90px) 0;
  }
  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .sec-head .btn {
    width: 100%;
    justify-content: center;
  }
  .hero {
    padding: calc(110px + var(--safe-top)) 0 60px;
    min-height: auto;
    align-items: flex-start;
  }
  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }
  .hero-side,
  .scroll-hint {
    display: none;
  }
  .hero-acts {
    flex-direction: column;
    width: 100%;
  }
  .hero-acts .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 0.9rem;
  }
  .btn {
    padding: 14px 22px;
    font-size: 0.88rem;
  }
  .page-head {
    padding: calc(120px + var(--safe-top)) 0 clamp(30px, 5vw, 50px);
  }
  .page-head h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .bento {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .b-1,
  .b-2,
  .b-3,
  .b-4,
  .b-5,
  .b-6 {
    grid-column: span 1;
    grid-row: span 1;
  }
  .bento-card {
    padding: 24px;
  }
  .bento-vis {
    width: 56px;
    opacity: 0.25;
  }
  .b-1 h3 {
    font-size: 1.3rem;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    padding: 20px 0;
    margin-top: 50px;
  }
  .stat {
    padding: 24px 12px;
  }
  .stat:nth-child(2) {
    border-right: none;
  }
  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .stat-num {
    font-size: 2rem;
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .client {
    padding: 22px 12px;
  }
  .client svg {
    height: 22px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 30px;
  }
  .step {
    display: flex;
    gap: 20px;
    text-align: left;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
  }
  .step:last-child {
    border-bottom: none;
  }
  .step-num {
    margin: 0;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
  }
  .step h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
    margin-top: 12px;
  }
  .step p {
    margin: 0;
    max-width: none;
    font-size: 0.82rem;
    text-align: left;
  }
  .tst-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }
  .f-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
    max-width: 400px;
    margin: 0 auto 32px;
    align-items: start;
  }
  .f-grid > :first-child,
  .f-grid > :last-child {
    grid-column: 1 / -1;
  }
  .f-grid > :first-child {
    margin-inline: auto;
  }
  .f-grid > .f-col {
    text-align: center;
  }
  .f-col h5 {
    margin-bottom: 12px;
  }
  .f-col ul {
    gap: 0;
  }
  .f-col li {
    display: flex;
    justify-content: center;
  }
  .f-col a {
    justify-content: center;
    width: 100%;
    min-height: 44px;
  }
  .f-col a:hover {
    transform: none;
  }
  .f-grid > .f-col:last-child {
    border-top: 1px solid var(--line);
    padding-top: 28px;
  }
  .f-grid > .f-col:last-child > div > span {
    justify-content: center;
  }
  .f-news {
    flex-direction: column;
    gap: 10px;
    max-width: 320px;
    margin: 18px auto 0;
  }
  .f-news input,
  .f-news button {
    width: 100%;
    min-height: 48px;
  }
  .f-news button {
    padding: 12px 20px;
  }
  .f-brand {
    margin-inline: auto;
  }
  .f-bot {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .f-bot-links {
    justify-content: center;
  }
  .about-pillars {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .about-badge {
    left: 16px;
    right: 16px;
    bottom: -24px;
    padding: 14px 18px;
  }
  .about-badge-num {
    font-size: 1.2rem;
  }
  .hz-track {
    padding: 0 20px 20px;
    gap: 16px;
  }
  .hz-panel {
    width: min(420px, 88vw);
  }
  .hz-body {
    padding: 20px;
  }
  .hz-body h3 {
    font-size: 1.15rem;
  }
  .hz-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .lb {
    padding: 12px;
  }
  .lb-box {
    grid-template-columns: 1fr;
    max-height: 92svh;
  }
  .lb-img {
    min-height: 200px;
    max-height: 240px;
    height: auto;
  }
  .lb-content {
    padding: 22px 20px;
  }
  .lb-content h3 {
    font-size: 1.3rem;
  }
  .lb-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
  }
  .cmdk {
    padding: 10vh 12px 12px;
    align-items: flex-start;
  }
  .cmdk-box {
    max-height: 78svh;
    border-radius: 14px;
  }
  .cmdk-search {
    padding: 14px 16px;
  }
  .cmdk-item {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
  .cmdk-item-ic {
    width: 28px;
    height: 28px;
  }
  .cmdk-item-key {
    display: none;
  }
  .cmdk-hint {
    display: none;
  }
  .f-row {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 24px 20px;
  }
  .contact-way {
    padding: 14px;
  }
  .pf-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .stack-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 400px) {
  .wrap {
    padding: 0 16px;
  }
  .hero h1 {
    font-size: 1.85rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .btn {
    padding: 12px 18px;
    font-size: 0.82rem;
  }
  .brand {
    font-size: 1rem;
  }
  .nav-cta {
    padding: 9px 16px;
    font-size: 0.72rem;
  }
  .stat-num {
    font-size: 1.7rem;
  }
  .sec {
    padding: 56px 0;
  }
  .f-news {
    flex-direction: column;
  }
  .f-news button {
    padding: 12px 20px;
    width: 100%;
  }
  .to-top {
    width: 42px;
    height: 42px;
    right: 14px;
    bottom: calc(14px + var(--safe-bottom));
  }
  .mob-menu-link {
    padding: 16px;
    font-size: 1.3rem;
  }
  .stack-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 100px 0 40px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .scroll-hint,
  .hero-side {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pre-logo img {
    animation: none;
    transform: none;
    filter: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .rv,
  .rv-in,
  .rv-stag > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
@supports (-webkit-touch-callout: none) {
  input,
  textarea,
  select {
    font-size: 16px;
  }
}

/* Responsive interaction and content safeguards. */
body.modal-open { overflow: hidden; }
main, .wrap, .nav-in > *, .f-grid > *, .contact-grid > *,
.f-row > *, .about-grid > *, .bento > *, .team-grid > *,
.tst-grid > *, .step > *, .lb-content { min-width: 0; }
h1, h2, h3, h4, p, .contact-way-val, .lb-detail,
.tst-auth, .team-info { overflow-wrap: anywhere; }
input, select, textarea { max-width: 100%; min-width: 0; }
button, a, input, select, textarea { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--sapphire); outline-offset: 4px; }
.lb-box, .cmdk-box, .mob-menu { overscroll-behavior: contain; }
.lb-close { width: 44px; height: 44px; flex-shrink: 0; }
.lb-img { flex-shrink: 0; }

@media (max-width: 1100px) {
  .wrap {
    padding-left: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left));
    padding-right: max(clamp(16px, 4vw, 40px), env(safe-area-inset-right));
  }
  .nav-cta, .pf-filter, .f-col a, .f-bot-links a, .to-top {
    min-height: 44px;
  }
  .f-bot-links a { display: inline-flex; align-items: center; }
  a.bento-arrow { min-width: 44px; min-height: 44px; }
  .to-top { min-width: 44px; }
  .f-col ul { gap: 4px; }
  .mob-menu {
    padding-top: calc(100px + var(--safe-top));
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .mob-menu-links { flex: 0 0 auto; }
  .mob-menu-foot { flex-shrink: 0; }
  .hz-track { width: 100%; scroll-padding-inline: 20px; }
  .hz-panel { width: min(500px, calc(100vw - 48px)); }
  .contact-way > :last-child { min-width: 0; }
  input, select, textarea { font-size: 16px !important; }
}
@media (max-width: 720px) {
  .nav-in { gap: 10px; }
  .nav-right { gap: 8px; }
  .nav-burger { flex-shrink: 0; }
  .btn { white-space: normal; text-align: center; }
  .tags, .hz-meta, .f-bot-links { flex-wrap: wrap; }
  .tag { white-space: normal; overflow-wrap: anywhere; }
  .hz-panel { width: min(420px, calc(100vw - 48px)); }
  .lb { padding: max(12px, var(--safe-top)) 12px max(12px, var(--safe-bottom)); }
  .lb-box { max-height: calc(100dvh - 24px - var(--safe-top) - var(--safe-bottom)); }
  .lb-img { min-height: 0; height: clamp(140px, 30dvh, 240px); }
  .lb-close { width: 44px; height: 44px; background: var(--bg); color: white; }
  .cmdk { padding-top: max(12px, var(--safe-top)); }
  .cmdk-box { max-height: calc(100dvh - 24px - var(--safe-top) - var(--safe-bottom)); }
  .about-vis { margin-bottom: 24px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .mob-menu { padding-top: calc(88px + var(--safe-top)); }
  .mob-menu-link { padding: 12px 16px; font-size: 1.1rem; min-height: 48px; }
  .lb-box { max-height: calc(100dvh - 24px); }
  .pre-logo { width: 100px; margin-bottom: 12px; }
  .pre-logo img { width: 68px; }
  .pre-count { font-size: 2.5rem; }
  .pre-bar { margin-top: 12px; }
  .pre-status { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hz-pin { height: auto; min-height: 0; display: block; padding-block: 60px; }
  .hz-head { position: static; margin-bottom: 24px; }
  .hz-track { overflow-x: auto; transform: none !important; }
}
