:root {
  --bg: #070712;
  --bg-deep: #030308;
  --bg-elevated: rgba(255, 255, 255, 0.045);
  --purple: #140a2e;
  --purple-mid: #1c1240;
  --ink: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.58);
  --cyan: #64d2ff;
  --cyan-bright: #7de4ff;
  --blue: #2997ff;
  --blue-deep: #0071e3;
  --line: rgba(255, 255, 255, 0.12);
  --grad: linear-gradient(165deg, #8ae8ff 0%, #3aa0ff 48%, #1a7ae8 100%);
  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 0.75rem;
  --radius-md: 1.15rem;
  --radius-lg: 1.75rem;
  --radius-pill: 999px;
  --radius-btn: 0.9rem;
  --grad-soft: linear-gradient(165deg, #8ae8ff 0%, #3aa0ff 48%, #1a7ae8 100%);
  --glass: rgba(22, 22, 30, 0.55);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.28);
  --header-h: 3.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(1000px 640px at 50% -8%, rgba(41, 151, 255, 0.18), transparent 58%),
    radial-gradient(800px 500px at 85% 35%, rgba(100, 210, 255, 0.07), transparent 50%),
    radial-gradient(700px 500px at 10% 70%, rgba(20, 10, 46, 0.7), transparent 55%),
    linear-gradient(180deg, #030308 0%, #070712 42%, #0d0820 100%);
  background-attachment: fixed;
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0;
}

p {
  margin: 0;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.02;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Neural circuit field � logo-style traces + nodes */
.neural-field--ambient {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 28%, rgba(125, 228, 255, 0.08), transparent 12%),
    radial-gradient(circle at 88% 42%, rgba(47, 111, 214, 0.1), transparent 14%),
    radial-gradient(circle at 70% 78%, rgba(125, 228, 255, 0.06), transparent 12%);
  animation: ambientDrift 12s ease-in-out infinite alternate;
}

.hero-circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.85;
  overflow: visible;
}

.trace {
  fill: none;
  stroke: url(#traceGrad);
  stroke-width: 1.6;
  stroke-linecap: square;
  stroke-linejoin: miter;
  opacity: 0.75;
}

.section-circuit .trace {
  stroke-width: 1.5;
  opacity: 0.85;
}

.trace-flow {
  stroke-dasharray: 10 16;
  animation: traceMove 3.8s linear infinite;
}

.node-pulse {
  fill: #7de4ff;
  stroke: rgba(125, 228, 255, 0.45);
  stroke-width: 7;
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 2.2s ease-in-out infinite;
}

.node-glow {
  fill: url(#nodeGlow);
  opacity: 0.75;
  transform-box: fill-box;
  transform-origin: center;
  animation: glowPulse 2.8s ease-in-out infinite;
}

.node-float {
  fill: #5ad8f4;
  opacity: 0.85;
  transform-box: fill-box;
  transform-origin: center;
  animation: nodeFloat 5.5s ease-in-out infinite;
}

.delay-1 { animation-delay: 0.35s; }
.delay-2 { animation-delay: 0.7s; }
.delay-3 { animation-delay: 1.05s; }
.delay-4 { animation-delay: 1.4s; }
.delay-5 { animation-delay: 1.75s; }

.section-circuit {
  position: absolute;
  width: min(30vw, 200px);
  height: auto;
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
}

.section-circuit--left {
  top: 1.5rem;
  left: clamp(0.5rem, 3vw, 2rem);
}

.section-circuit--right {
  top: 2rem;
  right: clamp(0.5rem, 3vw, 2rem);
}

.about,
.mark,
.work,
.contact {
  position: relative;
}

.mark-orbit {
  position: absolute;
  top: 0.2rem;
  left: 50%;
  width: 11rem;
  height: 11rem;
  margin-left: -5.5rem;
  border: 1px dashed rgba(90, 216, 244, 0.22);
  border-radius: 50%;
  animation: spinSlow 22s linear infinite;
  z-index: 0;
}

.orbit-node {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(90, 216, 244, 0.12);
  animation: nodePulse 2.2s ease-in-out infinite;
}

.orbit-node:nth-child(1) {
  top: -0.28rem;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-node:nth-child(2) {
  right: -0.28rem;
  top: 50%;
  transform: translateY(-50%);
}

.orbit-node:nth-child(3) {
  bottom: -0.28rem;
  left: 35%;
}

.node--live {
  animation: nodePulse 2.2s ease-in-out infinite;
}

@keyframes ambientDrift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.05) translate3d(-1%, 1%, 0); }
}

@keyframes traceMove {
  to { stroke-dashoffset: -52; }
}

@keyframes nodePulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.55); opacity: 1; }
}

@keyframes glowPulse {
  0%, 100% { transform: scale(0.8); opacity: 0.3; }
  50% { transform: scale(1.35); opacity: 0.85; }
}

@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-12px); opacity: 1; }
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

/* Header � simple & clean */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 0.85rem clamp(1rem, 3vw, 1.75rem);
  pointer-events: none;
  transition: padding 0.5s var(--ease-spring);
}

.site-header[data-scrolled="true"] {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.header-shell {
  pointer-events: auto;
  height: var(--header-h);
  max-width: 64rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.65rem 0 0.95rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  transition:
    background 0.45s var(--ease-spring),
    border-color 0.45s var(--ease-spring),
    box-shadow 0.45s var(--ease-spring),
    transform 0.45s var(--ease-spring);
}

.site-header[data-scrolled="true"] .header-shell {
  border-color: var(--glass-border);
  background: rgba(16, 16, 24, 0.72);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 1;
  transition: transform 0.3s var(--ease);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand img {
  width: 1.85rem;
  height: 1.85rem;
  object-fit: contain;
  transition: transform 0.45s var(--ease);
}

.brand:hover img {
  transform: scale(1.04);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-num {
  color: var(--cyan-bright);
  margin-left: 0.08rem;
}

.nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
  z-index: 1;
}

.nav a {
  position: relative;
  padding: 0.5rem 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.25s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.25rem;
  height: 1.5px;
  border-radius: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.header-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  z-index: 1;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.18rem;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(245, 245, 247, 0.45);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.38rem 0.62rem;
  border-radius: calc(var(--radius-btn) - 0.12rem);
  cursor: pointer;
  transition: color 0.3s var(--ease-spring), background 0.3s var(--ease-spring), transform 0.3s var(--ease-spring);
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.is-active {
  color: #041018;
  background: var(--grad);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  padding: 0.58rem 1.1rem;
  border: 0;
  border-radius: var(--radius-btn);
  color: #041018;
  background: var(--grad);
  box-shadow: 0 8px 22px rgba(41, 151, 255, 0.22);
  transition:
    transform 0.35s var(--ease-spring),
    box-shadow 0.35s var(--ease-spring);
}

.nav-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 26px rgba(61, 210, 255, 0.28);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 0.95rem;
  height: 1.5px;
  margin-inline: auto;
  background: var(--cyan-bright);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.site-header[data-menu-open="true"] .nav-toggle span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.site-header[data-menu-open="true"] .nav-toggle span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

@media (min-width: 860px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

@media (max-width: 859px) {
  .site-header[data-menu-open="true"] .nav {
    display: flex;
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(16, 16, 24, 0.92);
    backdrop-filter: blur(24px) saturate(1.3);
    animation: menuIn 0.4s var(--ease-spring) both;
  }

  .site-header[data-menu-open="true"] .nav a {
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
  }

  .header-end {
    gap: 0.35rem;
  }
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero � animated logo stage */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2.5rem) clamp(1.25rem, 4vw, 3rem) 3.25rem;
  isolation: isolate;
  overflow: hidden;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(47, 111, 214, 0.22), transparent 70%),
    radial-gradient(circle at 20% 20%, rgba(125, 228, 255, 0.08), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(25, 3, 75, 0.55), transparent 35%),
    linear-gradient(165deg, #050314 0%, #0a0620 45%, #12083a 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.hero-glow--a {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  top: 18%;
  left: 50%;
  margin-left: calc(min(55vw, 520px) / -2);
  background: rgba(90, 216, 244, 0.14);
  animation: glowBreathe 6s ease-in-out infinite;
}

.hero-glow--b {
  width: min(35vw, 320px);
  height: min(35vw, 320px);
  top: 35%;
  left: 58%;
  background: rgba(47, 111, 214, 0.18);
  animation: glowBreathe 7.5s ease-in-out infinite reverse;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 3, 20, 0.35) 0%, transparent 22%, transparent 55%, rgba(5, 3, 20, 0.82) 82%, var(--bg) 100%),
    linear-gradient(90deg, rgba(5, 3, 20, 0.45) 0%, transparent 35%, transparent 65%, rgba(5, 3, 20, 0.25) 100%);
  pointer-events: none;
}


.hero-brand {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  justify-items: center;
  gap: 1.25rem;
  padding: 5.5rem 1.5rem 9rem;
  animation: brandIn 1.1s var(--ease) both;
}

.logo-core {
  position: relative;
  width: min(52vw, 240px);
  height: min(52vw, 240px);
  display: grid;
  place-items: center;
  overflow: visible;
}

.logo-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(90, 216, 244, 0.18);
}

.orbit-ring--a {
  animation: spinSlow 28s linear infinite;
}

.orbit-ring--b {
  inset: 12%;
  border-style: dashed;
  border-color: rgba(90, 216, 244, 0.28);
  animation: spinSlow 18s linear infinite reverse;
}

.logo-orbit .orbit-node {
  width: 0.55rem;
  height: 0.55rem;
  box-shadow: 0 0 0 5px rgba(90, 216, 244, 0.12);
}

.logo-orbit .o1 { top: -0.25rem; left: 50%; transform: translateX(-50%); }
.logo-orbit .o2 { right: -0.25rem; top: 50%; transform: translateY(-50%); animation-delay: 0.5s; }
.logo-orbit .o3 { bottom: -0.25rem; left: 42%; animation-delay: 1s; }
.logo-orbit .o4 { left: -0.25rem; top: 38%; animation-delay: 1.4s; }

.hero-logo-mark {
  width: 68%;
  height: auto;
  max-width: 9rem;
  position: relative;
  z-index: 2;
  object-fit: contain;
  animation: logoPulse 4.5s ease-in-out infinite;
  filter: drop-shadow(0 12px 28px rgba(90, 216, 244, 0.22));
}

.hero-wordmark {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  text-align: center;
  animation: lockupIn 1.15s var(--ease) 0.15s both;
}

.wm-name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: #fff;
}

.wm-num {
  margin-left: 0.08em;
  background: linear-gradient(180deg, #7de4ff 0%, #2997ff 55%, #0071e3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.brand-num {
  background: linear-gradient(180deg, #7de4ff 0%, #2997ff 55%, #0071e3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.wm-tag {
  font-family: var(--font-body);
  font-size: clamp(0.68rem, 1.5vw, 0.82rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--cyan-bright);
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.72);
  animation: riseIn 1s var(--ease-spring) 0.35s both;
}

.hero-status-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #3dffb5;
  animation: livePulse 2s ease-out infinite;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  animation: riseIn 1s var(--ease) 0.2s both;
}

.hero-title {
  /* legacy */
  display: none;
}

.hero-wordmark {
  margin: 0;
}

.hero-seo-line {
  margin: 0.55rem 0 0;
  max-width: 22rem;
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.6vw, 0.92rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: rgba(244, 247, 251, 0.55);
  text-align: center;
  justify-self: center;
}

.hero-lead {
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: rgba(244, 247, 251, 0.78);
  animation: riseIn 1s var(--ease) 0.3s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.2rem;
  animation: riseIn 1s var(--ease) 0.4s both;
}

.hero-domains {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
  animation: riseIn 1s var(--ease) 0.5s both;
}

.hero-domains a {
  color: var(--cyan);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.hero-domains a:hover {
  color: var(--cyan-bright);
}

.trace-draw {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: traceDraw 2.8s var(--ease) forwards, traceMove 4s linear 2.8s infinite;
}

@keyframes brandIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes lockupIn {
  from { opacity: 0; transform: translateY(14px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(90, 216, 244, 0.2)); }
  50% { transform: scale(1.04); filter: drop-shadow(0 0 36px rgba(90, 216, 244, 0.4)); }
}

@keyframes glowBreathe {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.08); }
}


@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 255, 181, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(61, 255, 181, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 255, 181, 0); }
}

@keyframes traceDraw {
  to { stroke-dashoffset: 0; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.45rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  text-transform: none;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.35s var(--ease-spring), background 0.3s var(--ease-spring), color 0.3s var(--ease-spring), border-color 0.3s var(--ease-spring);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.18) 48%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 0.65s var(--ease);
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn:active {
  transform: translateY(-1px) scale(0.985);
}

.btn-primary {
  color: #041018;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(41, 151, 255, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(61, 210, 255, 0.28);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(125, 228, 255, 0.35);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(5.5rem, 12vw, 9rem) clamp(1.35rem, 5vw, 3.5rem);
}

.section-inner {
  max-width: 68rem;
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: var(--grad);
  transform-origin: left;
  animation: lineGrow 0.8s var(--ease) both;
}

.section h2 {
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  max-width: 16ch;
  margin-bottom: 1.35rem;
  color: var(--ink);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.section-lead {
  max-width: 38rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
}

.about {
  border-top: 1px solid rgba(90, 216, 244, 0.12);
}

.about .section-inner {
  max-width: 46rem;
}


.about-inner {
  max-width: 46rem;
}

.about-copy {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  max-width: 42rem;
}

.about-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  line-height: 1.7;
}

.focus .section-inner {
  max-width: 70rem;
}

.focus-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 720px) {
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

.focus-block {
  padding: 1.4rem 1.35rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  transition: transform 0.4s var(--ease-spring), background 0.4s var(--ease-spring), border-color 0.4s var(--ease-spring);
}

.focus-block:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.14);
}

.focus-idx {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 0.85rem;
}

.focus-block h3 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  margin-bottom: 0.7rem;
}

.focus-block p:last-child {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.focus-closing {
  margin-top: 2rem;
  max-width: 40rem;
  color: rgba(245, 245, 247, 0.7);
  font-size: 1.02rem;
  line-height: 1.65;
}


/* Process */
.process .section-inner {
  max-width: 68rem;
}

.process-flow {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
  counter-reset: none;
}

@media (min-width: 900px) {
  .process-flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
  }

  .process-flow::before {
    content: "";
    position: absolute;
    top: 1.15rem;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(125, 228, 255, 0.35) 15%,
      rgba(41, 151, 255, 0.45) 50%,
      rgba(125, 228, 255, 0.35) 85%,
      transparent
    );
    pointer-events: none;
  }
}

.process-step {
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .process-step {
    padding: 0 1.25rem;
  }

  .process-step:first-child {
    padding-left: 0;
  }

  .process-step:last-child {
    padding-right: 0;
  }
}

.process-node {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.process-idx {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.process-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 6px rgba(41, 151, 255, 0.12);
  animation: nodePulse 2.4s ease-in-out infinite;
}

.process-copy h3 {
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  margin-bottom: 0.55rem;
}

.process-copy p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 22rem;
}

/* Work */
.work-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .work-grid {
    grid-template-columns: 1fr 1.05fr;
  }
}

.work-copy p {
  color: var(--muted);
  max-width: 34rem;
  font-size: 1.05rem;
}

.work-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.work-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-weight: 500;
  font-size: 1.02rem;
  transition: transform 0.35s var(--ease-spring), color 0.35s var(--ease-spring);
}

.work-list li:hover {
  transform: translateX(6px);
}

.work-item-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.work-item-desc {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--muted);
  max-width: 34rem;
  line-height: 1.55;
}

.work-list li .node {
  margin-top: 0.45rem;
}

.node {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(90, 216, 244, 0.12);
  flex-shrink: 0;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.work-list li:hover .node {
  transform: scale(1.2);
  box-shadow: 0 0 0 6px rgba(90, 216, 244, 0.2);
}

.work-visual {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  max-height: 34rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.work-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 38%);
}

.work-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
}

.work-visual:hover img {
  transform: scale(1.06);
}

/* Mark band */
.mark {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  background: linear-gradient(90deg, rgba(25, 3, 75, 0.55), rgba(10, 6, 32, 0.2));
  border-block: 1px solid rgba(90, 216, 244, 0.12);
}

.mark-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.mark-icon {
  position: relative;
  z-index: 1;
  width: clamp(4.5rem, 10vw, 6.5rem);
  height: auto;
  animation: pulseSoft 4.5s ease-in-out infinite;
}

.mark blockquote {
  margin: 0;
}

.mark blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.8vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cyan-bright);
}

/* Contact */
.contact-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  }
}

.contact-copy .section-lead {
  margin-bottom: 2rem;
}

.contact-meta {
  display: grid;
  gap: 0.75rem;
}

.contact-channel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(12px);
  transition: border-color 0.35s var(--ease-spring), background 0.35s var(--ease-spring), transform 0.35s var(--ease-spring);
}

a.contact-channel:hover,
.contact-channel:hover {
  border-color: rgba(90, 216, 244, 0.35);
  background: rgba(90, 216, 244, 0.06);
  transform: translateX(4px);
}

.contact-channel-idx {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(90, 216, 244, 0.55);
  padding-top: 0.15rem;
}

.contact-channel-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 247, 251, 0.5);
  margin-bottom: 0.2rem;
}

.contact-channel-value {
  display: block;
  font-weight: 500;
  color: var(--ink);
}

.contact-form {
  position: relative;
  padding: clamp(1.4rem, 3.2vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(28px) saturate(1.35);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.55s var(--ease-spring), box-shadow 0.55s var(--ease-spring);
}

.contact-form.is-visible {
  animation: formRise 0.9s var(--ease-spring) both;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.form-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1.35rem;
}

.form-kicker {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-bright);
}

.form-note {
  font-size: 0.78rem;
  color: rgba(244, 247, 251, 0.45);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .field--full {
    grid-column: 1 / -1;
  }
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244, 247, 251, 0.62);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  margin: 0;
  padding: 0.95rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.28);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-spring), background 0.3s var(--ease-spring);
  resize: vertical;
  min-height: 3.1rem;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  resize: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(125, 228, 255, 0.85) 50%),
    linear-gradient(135deg, rgba(125, 228, 255, 0.85) 50%, transparent 50%);
  background-position:
    calc(100% - 1.15rem) calc(50% - 0.12rem),
    calc(100% - 0.85rem) calc(50% - 0.12rem);
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
  cursor: pointer;
}

.field select option {
  background: #0c0c16;
  color: var(--ink);
}

.field textarea {
  min-height: 8.5rem;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(244, 247, 251, 0.32);
}

.field input:hover,
.field textarea:hover,
.field select:hover {
  border-color: rgba(90, 216, 244, 0.28);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(41, 151, 255, 0.55);
  background: rgba(0, 0, 0, 0.38);
  box-shadow: 0 0 0 4px rgba(41, 151, 255, 0.16);
}

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select {
  border-color: rgba(255, 120, 120, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 120, 120, 0.1);
}

.field-error {
  font-size: 0.78rem;
  color: #ff9b9b;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.form-submit {
  gap: 0.5rem;
}

.form-submit svg {
  transition: transform 0.25s var(--ease);
}

.form-submit:hover svg {
  transform: translateX(2px);
}

.form-privacy {
  flex: 1;
  min-width: 12rem;
  font-size: 0.8rem;
  color: rgba(244, 247, 251, 0.45);
}

.form-success {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-top: 1.15rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(52, 199, 89, 0.28);
  border-radius: var(--radius-md);
  background: rgba(52, 199, 89, 0.08);
}

.form-success[hidden] {
  display: none;
}

.form-success-dot {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: #3dffb5;
  box-shadow: 0 0 0 4px rgba(61, 255, 181, 0.12);
  flex-shrink: 0;
}

.form-success-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.form-success-text {
  font-size: 0.9rem;
  color: rgba(244, 247, 251, 0.7);
}

.contact-form.is-sent .form-grid,
.contact-form.is-sent .form-foot,
.contact-form.is-sent .form-head .form-note {
  opacity: 0.4;
  pointer-events: none;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  margin: 0 clamp(0.75rem, 2vw, 1.25rem) 1rem;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  overflow: hidden;
}

.footer-circuit {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 70rem;
  margin: 0 auto;
  padding: 1.35rem 0 0.35rem;
}

.footer-node {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(90, 216, 244, 0.1);
  animation: nodePulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

.footer-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(90, 216, 244, 0.35), rgba(90, 216, 244, 0.08), rgba(90, 216, 244, 0.35));
  position: relative;
  overflow: hidden;
}

.footer-line::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(125, 228, 255, 0.7), transparent);
  animation: footerScan 3.8s linear infinite;
}

.footer-inner {
  max-width: 70rem;
  margin: 0 auto;
  padding-top: 1.5rem;
}

.footer-top {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(90, 216, 244, 0.1);
}

@media (min-width: 860px) {
  .footer-top {
    grid-template-columns: 1.2fr 1fr auto;
    gap: 2rem;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: transform 0.3s var(--ease);
}

.footer-brand:hover {
  transform: translateY(-1px);
}

.footer-brand img {
  width: 2rem;
  height: 2rem;
  animation: logoPulse 5s ease-in-out infinite;
}

.footer-brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.footer-brand-name span {
  color: var(--cyan-bright);
}

.footer-tag {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(90, 216, 244, 0.75);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  transition: color 0.25s var(--ease);
}

.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2rem;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-nav a:hover::after {
  transform: scaleX(1);
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.footer-contact-lines {
  display: grid;
  gap: 0.25rem;
}

.footer-mail,
.footer-phone {
  font-size: 0.92rem;
  color: var(--cyan);
  transition: color 0.2s;
}

.footer-mail:hover,
.footer-phone:hover {
  color: var(--cyan-bright);
}

.footer-address {
  font-size: 0.82rem;
  color: rgba(245, 245, 247, 0.45);
}

.footer-btn {
  min-height: 2.55rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.78rem;
}

.footer-bottom {
  display: grid;
  gap: 0.65rem;
  padding-top: 1.25rem;
  color: var(--muted);
  font-size: 0.84rem;
}

@media (min-width: 720px) {
  .footer-bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .footer-note {
    justify-self: end;
  }
}

.footer-copy {
  margin: 0;
}

.footer-domains {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
}

.footer-domains a {
  color: rgba(90, 216, 244, 0.8);
  transition: color 0.2s;
}

.footer-domains a:hover {
  color: var(--cyan-bright);
}

.footer-note {
  margin: 0;
  letter-spacing: 0.04em;
  color: rgba(244, 247, 251, 0.4);
}

@keyframes footerScan {
  from {
    transform: translateX(-30%);
  }
  to {
    transform: translateX(350%);
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease),
    filter 1s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}

.reveal.is-visible .reveal-item,
.is-visible .reveal-item {
  opacity: 1;
  transform: translateY(0);
}

.reveal-title {
  opacity: 0;
  transform: translateY(28px);
  clip-path: inset(0 0 100% 0);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease),
    clip-path 0.85s var(--ease);
}

.reveal.is-visible .reveal-title,
.reveal-title.is-visible {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
}

/* Pro motion extras */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 60;
  pointer-events: none;
  background: transparent;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2997ff, #64d2ff);
  transition: width 0.1s linear;
}

.pointer-glow {
  position: fixed;
  width: 34rem;
  height: 34rem;
  margin-left: -17rem;
  margin-top: -17rem;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  left: 0;
  top: 0;
  background: radial-gradient(circle, rgba(90, 216, 244, 0.12), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  mix-blend-mode: screen;
  will-change: transform;
}

body.is-pointer .pointer-glow {
  opacity: 1;
}

.btn-magnetic {
  will-change: transform;
}

.section {
  transition: opacity 0.3s var(--ease);
}

.work-visual {
  transition: transform 0.6s var(--ease);
}

.work-visual.is-tilting img {
  transition: transform 0.2s linear;
}

.contact-form .field {
  transition: transform 0.35s var(--ease);
}

.contact-form .field:focus-within {
  transform: translateY(-2px);
}

.contact-channel,
.footer-brand,
.nav-cta,
.lang-btn {
  transition: transform 0.35s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.hero-brand {
  transition: transform 0.2s linear;
}

.hero-circuit {
  transition: transform 0.2s linear;
}

.page-enter .site-header {
  animation: headerDrop 0.8s var(--ease) both;
}

.page-enter .hero-brand {
  animation: brandIn 1.15s var(--ease) 0.1s both;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes pulseSoft {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    transform: scale(1.04);
    filter: drop-shadow(0 0 24px rgba(90, 216, 244, 0.35));
  }
}

@keyframes lineGrow {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes formRise {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mark-icon,
  .hero-content,
  .hero-brand,
  .hero-logo-mark,
  .hero-wordmark,
  .hero-status,
  .hero-lead,
  .hero-actions,
  .hero-domains,
  .hero-glow,
  .eyebrow::before,
  .contact-form,
  .trace-flow,
  .trace-draw,
  .node-pulse,
  .node-glow,
  .node-float,
  .node--live,
  .mark-orbit,
  .orbit-node,
  .orbit-ring,
  .hero-status-dot,
  .neural-field--ambient,
  .footer-node,
  .footer-line::after,
  .footer-brand img {
    animation: none !important;
  }

  .reveal,
  .reveal-item {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .btn::before {
    display: none;
  }

  .scroll-progress,
  .pointer-glow {
    display: none !important;
  }

  .reveal-title {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }

  .hero-brand,
  .hero-circuit {
    transition: none !important;
    transform: none !important;
  }
}


/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 1rem clamp(1rem, 4vw, 1.75rem) calc(1rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.cookie-banner:not([hidden]) {
  animation: cookieIn 0.55s var(--ease-spring) both;
}

@keyframes cookieIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-panel {
  pointer-events: auto;
  max-width: 42rem;
  margin: 0 auto;
  display: grid;
  gap: 1.15rem;
  padding: 1.25rem 1.3rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(12, 12, 22, 0.88);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

@media (min-width: 720px) {
  .cookie-panel {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    max-width: 34rem;
    padding: 1.35rem 1.45rem;
  }

  .cookie-actions {
    justify-content: flex-end;
  }
}

.cookie-kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.35rem;
}

.cookie-title {
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.45rem;
}

.cookie-text {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 34rem;
}

.cookie-prefs {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.cookie-pref {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.cookie-pref:has(input:disabled) {
  cursor: default;
  opacity: 0.92;
}

.cookie-pref-text {
  display: grid;
  gap: 0.2rem;
  padding-right: 0.5rem;
}

.cookie-pref-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.cookie-pref-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.cookie-pref input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.cookie-switch {
  flex-shrink: 0;
  width: 2.55rem;
  height: 1.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  transition: background 0.3s var(--ease-spring), border-color 0.3s var(--ease-spring);
}

.cookie-switch::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #f5f5f7;
  transition: transform 0.3s var(--ease-spring);
}

.cookie-pref input:checked + .cookie-switch {
  background: linear-gradient(165deg, #8ae8ff 0%, #3aa0ff 100%);
  border-color: transparent;
}

.cookie-pref input:checked + .cookie-switch::after {
  transform: translateX(1.05rem);
}

.cookie-pref input:focus-visible + .cookie-switch {
  box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.35);
}

.cookie-pref input:disabled + .cookie-switch {
  opacity: 0.85;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.cookie-btn {
  min-height: 2.6rem;
  padding: 0.55rem 1.05rem;
  font-size: 0.88rem;
}

.footer-links {
  margin: 0;
}

.footer-cookie-link {
  appearance: none;
  border: 0;
  background: none;
  color: rgba(245, 245, 247, 0.45);
  font-family: var(--font-body);
  font-size: 0.84rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: color 0.25s var(--ease);
}

.footer-cookie-link:hover {
  color: var(--cyan);
}

@media (min-width: 720px) {
  .footer-bottom {
    grid-template-columns: auto 1fr auto;
  }

  .footer-links {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner:not([hidden]) {
    animation: none;
  }
}


/* —— Pro polish —— */
::selection {
  background: rgba(41, 151, 255, 0.35);
  color: #fff;
}

body {
  background:
    radial-gradient(900px 560px at 50% -12%, rgba(41, 151, 255, 0.12), transparent 60%),
    radial-gradient(700px 480px at 88% 40%, rgba(100, 210, 255, 0.04), transparent 52%),
    radial-gradient(640px 460px at 8% 72%, rgba(20, 10, 46, 0.55), transparent 55%),
    linear-gradient(180deg, #04040a 0%, #070712 45%, #0a0718 100%);
}

.noise {
  opacity: 0.015;
}

.neural-field--ambient {
  opacity: 0.35;
}

.header-shell {
  background: rgba(10, 10, 16, 0.45);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.site-header[data-scrolled="true"] .header-shell {
  background: rgba(8, 8, 14, 0.82);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.brand:hover img {
  transform: scale(1.04);
}

.nav a {
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.nav-cta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: none;
}

.nav-cta:hover {
  transform: none;
  box-shadow: 0 8px 24px rgba(41, 151, 255, 0.22);
}

.hero-stage {
  min-height: min(88vh, 52rem);
}

.hero-logo-mark {
  filter: drop-shadow(0 12px 40px rgba(41, 151, 255, 0.18));
}

.wm-name {
  letter-spacing: -0.04em;
}

.wm-tag {
  opacity: 0.72;
  letter-spacing: 0.22em;
}

.hero-lead {
  color: rgba(245, 245, 247, 0.7);
  font-weight: 400;
  line-height: 1.55;
}

.btn {
  font-weight: 550;
  letter-spacing: 0;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  box-shadow: 0 8px 24px rgba(41, 151, 255, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(41, 151, 255, 0.26);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(125, 228, 255, 0.4);
}

.section {
  padding: clamp(5rem, 11vw, 8rem) clamp(1.35rem, 5vw, 3.5rem);
}

.eyebrow {
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  opacity: 0.9;
}

.section-lead {
  color: rgba(245, 245, 247, 0.62);
  max-width: 38rem;
}

.focus-block {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: var(--radius-md);
  padding: 1.5rem 0 1.5rem 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 720px) {
  .focus-block {
    padding: 1.35rem 1.1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
  }
}

.focus-block:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.14);
}

.focus-idx {
  font-size: 0.68rem;
  opacity: 0.85;
}

.process-flow::before {
  opacity: 0.7;
}

.process-dot {
  box-shadow: 0 0 0 5px rgba(41, 151, 255, 0.1);
  animation: none;
}

.work-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.work-visual:hover img {
  transform: scale(1.02);
}

.mark {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}

.mark blockquote p {
  letter-spacing: 0.18em;
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  opacity: 0.55;
  font-weight: 500;
}

.mark-icon {
  opacity: 0.85;
  width: 4.5rem;
  height: 4.5rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: none;
  border-radius: var(--radius-md);
}

.contact-form::before {
  display: none;
}

.contact-channel {
  border-color: transparent;
  background: transparent;
  padding-left: 0;
}

.contact-channel:hover {
  transform: none;
  background: transparent;
}

.contact-channel-idx {
  color: rgba(125, 228, 255, 0.7);
}

.field input,
.field textarea,
.field select {
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.09);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.12);
}

.cookie-panel {
  max-width: 36rem;
  background: rgba(8, 8, 14, 0.92);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.cookie-pref {
  border-radius: 0.75rem;
  background: transparent;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-note {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .nav-cta:hover,
  .work-visual:hover img {
    transform: none;
  }
}


/* —— iPad + mobile layout —— */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

@media (hover: none) and (pointer: coarse) {
  .pointer-glow {
    display: none !important;
  }

  .btn-magnetic {
    transform: none !important;
  }
}

/* Tablet (iPad portrait / small landscape) */
@media (max-width: 1024px) {
  .site-header {
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
  }

  .header-shell {
    max-width: none;
  }

  .section {
    padding-left: clamp(1.25rem, 4vw, 2.5rem);
    padding-right: clamp(1.25rem, 4vw, 2.5rem);
  }

  .hero-circuit {
    opacity: 0.55;
  }

  .section-circuit {
    opacity: 0.35;
  }
}

@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .work-visual {
    order: -1;
    max-width: 28rem;
    margin-inline: auto;
    width: 100%;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Below desktop nav breakpoint */
@media (max-width: 859px) {
  .nav-cta {
    display: none;
  }

  .header-shell {
    height: 3.15rem;
    border-radius: 1.15rem;
    padding: 0 0.55rem 0 0.8rem;
  }

  .brand img {
    width: 1.65rem;
    height: 1.65rem;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .site-header[data-menu-open="true"] .nav {
    max-height: min(70vh, 24rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-header[data-menu-open="true"] .nav a {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
  }

  .lang-btn {
    min-height: 2rem;
    padding: 0.4rem 0.7rem;
  }

  .nav-toggle {
    width: 2.55rem;
    height: 2.55rem;
  }
}

/* Hero: mobile + tablet portrait stacking */
@media (max-width: 860px) {
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
    min-height: 100svh;
    min-height: 100dvh;
    padding:
      calc(var(--header-h) + 0.75rem + env(safe-area-inset-top, 0px))
      clamp(1.1rem, 4vw, 1.75rem)
      max(1.5rem, env(safe-area-inset-bottom, 0px));
    align-items: stretch;
  }

  .hero-brand {
    position: relative !important;
    inset: auto !important;
    flex: 1 1 auto;
    display: grid;
    place-content: center;
    justify-items: center;
    align-content: center;
    gap: 0.85rem;
    padding: 0.75rem 0.5rem;
    min-height: 12rem;
    transform: none !important;
    animation: none !important;
    z-index: 3;
  }

  .logo-core {
    width: min(48vw, 200px);
    height: min(48vw, 200px);
  }

  .hero-logo-mark {
    width: 62%;
    max-width: none;
    height: auto;
    animation: none;
  }

  .orbit-ring--b {
    inset: 14%;
  }

  .hero-wordmark {
    align-items: center;
    text-align: center;
  }

  .wm-name {
    font-size: clamp(1.85rem, 7.5vw, 2.75rem);
    text-align: center;
  }

  .wm-tag {
    font-size: clamp(0.55rem, 2.2vw, 0.68rem);
    letter-spacing: 0.16em;
    text-align: center;
    max-width: 18rem;
    margin-inline: auto;
  }

  .hero-content {
    position: relative;
    z-index: 4;
    flex: 0 0 auto;
    max-width: none;
    width: 100%;
    gap: 0.85rem;
    margin-top: 0;
    padding-top: 0.35rem;
    padding-bottom: 0.25rem;
    transform: none !important;
    animation: none !important;
  }

  .hero-lead {
    max-width: none;
    font-size: clamp(1rem, 3.8vw, 1.15rem);
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 3.05rem;
  }

  .hero-stage::after {
    background:
      linear-gradient(180deg, rgba(5, 3, 20, 0.5) 0%, transparent 20%, transparent 55%, rgba(5, 3, 20, 0.9) 82%, var(--bg) 100%),
      linear-gradient(90deg, rgba(5, 3, 20, 0.15) 0%, transparent 40%, transparent 60%, rgba(5, 3, 20, 0.15) 100%);
  }
}

/* Phones */
@media (max-width: 480px) {
  .logo-core {
    width: min(52vw, 190px);
    height: min(52vw, 190px);
  }

  .hero-logo-mark {
    width: 60%;
  }

  .wm-tag {
    letter-spacing: 0.12em;
  }

  .section h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .focus-grid {
    gap: 0;
  }

  .focus-block {
    padding: 1.15rem 0;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
  }

  .focus-block:hover {
    background: transparent;
  }

  .process-step {
    gap: 0.65rem;
  }

  .cookie-banner {
    padding: 0.75rem max(0.75rem, env(safe-area-inset-left)) calc(0.75rem + env(safe-area-inset-bottom, 0px)) max(0.75rem, env(safe-area-inset-right));
  }

  .cookie-panel {
    padding: 1.05rem 1rem 1.1rem;
    gap: 0.95rem;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    text-align: left;
  }

  .footer-links,
  .footer-note {
    justify-self: start;
  }

  .footer-cta {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-btn {
    width: 100%;
  }
}

/* iPad landscape / medium tablets keep 2-col focus */
@media (min-width: 720px) and (max-width: 1024px) {
  .hero-actions {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .btn {
    width: auto;
  }

  .logo-core {
    width: min(36vw, 220px);
    height: min(36vw, 220px);
  }

  .hero-logo-mark {
    width: 64%;
  }
}

/* Short phones (SE / landscape phones) */
@media (max-height: 700px) and (max-width: 900px) {
  .hero {
    min-height: auto;
    gap: 0.85rem;
  }

  .logo-core {
    width: min(34vw, 140px);
    height: min(34vw, 140px);
  }

  .hero-logo-mark {
    width: 60%;
  }

  .wm-name {
    font-size: clamp(1.45rem, 5vw, 1.9rem);
  }

  .hero-content {
    margin-top: 0.5rem;
  }
}


/* —— Launch: privacy, form backend, legal page —— */
.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-privacy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  align-items: baseline;
}

.form-privacy a {
  color: rgba(125, 228, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}

.form-privacy a:hover {
  color: var(--cyan-bright, #7de4ff);
}

.form-error {
  margin: 0.85rem 0 0;
  color: #ff8f9a;
  font-size: 0.88rem;
}

.form-submit.is-loading,
.form-submit:disabled {
  opacity: 0.72;
  cursor: wait;
  pointer-events: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: center;
}

.footer-links a {
  color: rgba(245, 245, 247, 0.45);
  font-size: 0.84rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: color 0.25s var(--ease);
}

.footer-links a:hover {
  color: var(--cyan, #5ad8f4);
}

.footer-cvr {
  white-space: nowrap;
}

.legal-page .site-header {
  position: sticky;
}

.legal-main {
  padding-top: clamp(5.5rem, 12vh, 7rem);
  padding-bottom: 2rem;
}

.legal-section {
  padding-block: clamp(2rem, 6vw, 3.5rem);
}

.legal-inner {
  max-width: 42rem;
}

.legal-body {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
  color: rgba(244, 247, 251, 0.78);
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-body h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: #f5f5f7;
}

.legal-body p,
.legal-body ul {
  margin: 0;
}

.legal-body ul {
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
}

.legal-body a {
  color: rgba(125, 228, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.legal-body a:hover {
  color: #7de4ff;
}

.legal-back {
  margin-top: 2.5rem;
}

.legal-back a {
  color: rgba(125, 228, 255, 0.85);
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(125, 228, 255, 0.25);
  padding-bottom: 0.1rem;
  transition: color 0.2s, border-color 0.2s;
}

.legal-back a:hover {
  color: #7de4ff;
  border-color: rgba(125, 228, 255, 0.55);
}

.privacy-cvr-line[hidden],
.footer-cvr[hidden] {
  display: none !important;
}


h1.hero-wordmark {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.hero-brand .hero-seo-line {
  max-width: min(22rem, 86vw);
  margin-inline: auto;
}

@media (max-width: 860px) {
  .hero-seo-line {
    font-size: 0.8rem;
    padding-inline: 1rem;
  }
}
