/* =========================================================
   Nora Lind — UI/UX & product designer portfolio
   Dark · wide display type · ultramarine→sky accent · scroll motion
   ========================================================= */

:root {
  --bg: #09090f;
  --bg-2: #101119;
  --bg-3: #171927;
  --text: #e6e9f2;
  --muted: rgba(230, 233, 242, 0.56);
  --faint: rgba(230, 233, 242, 0.14);
  --line: rgba(230, 233, 242, 0.1);
  --light: #f1f2f7;
  --ink: #0b0c14;
  --primary: #4d6bff;
  --primary-2: #5cc8ff;
  --grad: linear-gradient(118deg, #3d5afe 0%, #4d8bff 50%, #5cc8ff 100%);
  --silver: linear-gradient(180deg, #5f6478 0%, #e6e9f2 100%);
  --display: "Funnel Display", "Helvetica Neue", sans-serif;
  --body: "Funnel Sans", system-ui, sans-serif;
  --radius: 26px;
  --radius-lg: 56px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  color-scheme: dark;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
::selection { background: var(--primary); color: #fff; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* Shared */
.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 0.9; letter-spacing: -0.035em; }
.silver { background: var(--silver); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.sec-title { font-size: clamp(3.2rem, 11vw, 168px); text-align: center; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}
.kicker i { color: var(--primary-2); }
.sec-head { text-align: center; margin-bottom: 70px; }
.sec-head .kicker { margin-bottom: 22px; }
.sec-head p { max-width: 560px; margin: 22px auto 0; color: var(--muted); font-size: clamp(0.98rem, 1.4vw, 1.12rem); }
.section { padding: 130px 0; position: relative; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 36px -12px rgba(77, 107, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  white-space: nowrap;
}
.btn i { font-size: 1.1rem; transition: transform 0.35s var(--ease); }
.btn:hover { box-shadow: 0 18px 44px -10px rgba(77, 107, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn:hover i { transform: translate(3px, -3px); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); box-shadow: inset 0 0 0 1px var(--faint); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--text); }
.btn--dark { background: var(--ink); color: #fff; box-shadow: none; }

/* Reveal: scale in from slightly small */
.reveal { opacity: 0; transform: translateY(30px) scale(0.97); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Header — floating glass pill */
.header { position: fixed; top: 18px; left: 50%; translate: -50% 0; z-index: 50; width: min(940px, 100% - 24px); transition: top 0.4s var(--ease), width 0.5s var(--ease); }
.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  border: 1px solid var(--faint);
  background: rgba(16, 17, 25, 0.62);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.8);
}
.header.sticky { top: 10px; width: min(820px, 100% - 24px); }
.logo { font-family: var(--display); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.logo span { width: 22px; height: 22px; border-radius: 7px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 0.8rem; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 9px 14px; border-radius: 999px; font-size: 0.9rem; color: var(--muted); transition: all 0.3s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav a.active { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.header .btn { padding: 11px 20px; font-size: 0.86rem; }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); font-size: 1.2rem; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 140px 0 80px; overflow: hidden; }
.hero__aura { position: absolute; inset: auto -10% -40% -10%; height: 80%; background: radial-gradient(50% 60% at 50% 100%, rgba(61, 90, 254, 0.35), transparent 70%); pointer-events: none; }
.hero__name { font-size: clamp(4.4rem, 17.5vw, 300px); line-height: 0.82; white-space: nowrap; }
.hero__name .ch { background: var(--silver); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; transform: translateY(110%) rotate(8deg); opacity: 0; transition: transform 1.1s var(--ease), opacity 0.8s; transition-delay: calc(var(--i) * 0.06s + 0.2s); }
.hero.loaded .hero__name .ch { transform: none; opacity: 1; }
.hero__mask { overflow: hidden; padding: 0.04em 0.05em 0.02em; }
.hero__role { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 26px; font-size: 0.82rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.hero__role::before, .hero__role::after { content: ""; width: 40px; height: 1px; background: var(--faint); }
.hero__lead { max-width: 560px; margin: 34px auto 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); }
.hero__lead b { color: var(--text); font-weight: 500; }
.hero__btns { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero__tags { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 48px; }
.hero__tags span { padding: 8px 14px; border-radius: 999px; font-size: 0.8rem; border: 1px solid var(--line); color: var(--muted); }

/* Image trail */
.trail { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.trail img {
  position: absolute;
  width: 190px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  translate: -50% -50%;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
  animation: trail 1.2s var(--ease) forwards;
}
@keyframes trail {
  0% { opacity: 0; transform: scale(0.6) rotate(var(--r)); }
  15% { opacity: 1; transform: scale(1) rotate(var(--r)); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: scale(0.85) translateY(30px) rotate(var(--r)); }
}
.hero > *:not(.trail):not(.hero__aura):not(.cursors) { position: relative; z-index: 2; }

/* Multiplayer cursors */
.cursors { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.mc { position: absolute; display: flex; align-items: flex-start; gap: 2px; animation: drift var(--t) ease-in-out infinite alternate; }
.mc svg { width: 20px; height: 20px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)); }
.mc span { margin-top: 14px; padding: 4px 10px; border-radius: 999px 999px 999px 4px; font-size: 0.74rem; font-weight: 600; color: #fff; white-space: nowrap; }
.mc--1 { left: 12%; top: 26%; --t: 7s; }
.mc--2 { right: 12%; top: 34%; --t: 9s; }
.mc--3 { left: 22%; bottom: 18%; --t: 8s; }
@keyframes drift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(60px, -30px); }
  100% { transform: translate(-30px, 40px); }
}

/* Featured — scroll zoom */
.feature { height: 260vh; position: relative; }
.feature__pin { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.feature__frame {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  transform: scale(var(--s, 0.5));
  border-radius: calc(var(--rad, 48) * 1px);
  will-change: transform;
}
.feature__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.25 - (var(--p, 0) * 0.25))); }
.feature__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 9, 15, 0.1), rgba(9, 9, 15, 0.85)); opacity: var(--p, 0); }
.feature__copy {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(24px, 5vw, 80px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  opacity: var(--o, 0);
  transform: translateY(calc((1 - var(--o, 0)) * 40px));
}
.feature__copy h2 { font-size: clamp(3rem, 8vw, 128px); }
.feature__copy p { max-width: 420px; color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.feature__stats { display: flex; gap: 30px; }
.feature__stats b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1; }
.feature__stats span { font-size: 0.82rem; color: var(--muted); }
.feature__label { position: absolute; top: 50%; left: 50%; translate: -50% -50%; font-size: clamp(2.6rem, 6vw, 96px); white-space: nowrap; opacity: calc(1 - var(--p, 0) * 2.5); pointer-events: none; z-index: 2; }

/* About */
.about__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.about__pic { position: relative; }
.about__pic img { border-radius: 40px; aspect-ratio: 4 / 5; object-fit: cover; }
.sticker {
  position: absolute;
  padding: 10px 16px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.8);
}
.sticker--a { top: 8%; left: -24px; background: var(--grad); color: #fff; rotate: -6deg; }
.sticker--b { top: 46%; right: -26px; background: var(--light); color: var(--ink); rotate: 5deg; animation-delay: -1.6s; }
.sticker--c { bottom: 8%; left: 10%; background: var(--bg-3); border: 1px solid var(--faint); rotate: -3deg; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.about h2 { font-size: clamp(3rem, 6.6vw, 104px); margin: 20px 0 28px; }
.blur-words { font-size: clamp(1.1rem, 1.8vw, 1.42rem); line-height: 1.6; }
.blur-words .w { display: inline-block; filter: blur(var(--b, 8px)); opacity: var(--op, 0.2); transition: filter 0.3s, opacity 0.3s; }
.about__sign { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.about__sign small { color: var(--muted); }

/* Services — light band with sticky title */
.services { background: var(--light); color: var(--ink); border-radius: var(--radius-lg) var(--radius-lg) 0 0; z-index: 2; }
.services__in { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.services__side { position: sticky; top: 130px; }
.services__side .kicker { color: rgba(11, 12, 20, 0.6); border-color: rgba(11, 12, 20, 0.12); background: #fff; }
.services__side .kicker i { color: var(--primary); }
.services__side h2 { font-size: clamp(3rem, 7vw, 110px); margin: 22px 0 20px; }
.services__side p { color: rgba(11, 12, 20, 0.6); max-width: 380px; }
.services__side .btn { margin-top: 30px; }
.svc-list { display: grid; gap: 18px; }
.svc {
  padding: 34px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(11, 12, 20, 0.06);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.45s;
}
.svc:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: 0 34px 60px -34px rgba(11, 12, 20, 0.45); }
.svc__ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 1.6rem; background: rgba(77, 107, 255, 0.1); color: var(--primary); transition: all 0.4s var(--ease); }
.svc:hover .svc__ic { background: var(--grad); color: #fff; transform: scale(1.06); }
.svc h3 { font-family: var(--display); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.02em; line-height: 1.1; }
.svc p { color: rgba(11, 12, 20, 0.62); margin-top: 8px; }
.svc ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.svc li { font-size: 0.76rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--light); }

/* Process — drawn path */
.process { background: var(--bg); border-radius: var(--radius-lg) var(--radius-lg) 0 0; margin-top: -56px; z-index: 3; }
.path-wrap { position: relative; }
.path-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.path-svg path { fill: none; stroke-width: 3; stroke-linecap: round; }
.path-svg .bg { stroke: var(--faint); stroke-dasharray: 2 10; }
.path-svg .fg { stroke: url(#pathGrad); }
.stages { position: relative; display: grid; gap: 70px; }
.stage { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.stage:nth-child(even) .stage__card { grid-column: 2; }
.stage__card {
  position: relative;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: border-color 0.5s, box-shadow 0.5s, opacity 0.5s, transform 0.5s var(--ease);
  opacity: 0.4;
  transform: scale(0.96);
}
.stage.on .stage__card { opacity: 1; transform: none; border-color: rgba(92, 200, 255, 0.4); box-shadow: 0 30px 80px -40px rgba(61, 90, 254, 0.7); }
.stage__no { font-family: var(--display); font-weight: 800; font-size: 4.4rem; line-height: 1; }
.stage h3 { font-family: var(--display); font-weight: 800; font-size: 1.8rem; letter-spacing: -0.02em; margin: 6px 0 10px; }
.stage p { color: var(--muted); }
.stage__out { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.stage__out span { font-size: 0.76rem; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }

/* Before / after toy */
.compare-wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.compare-copy h2 { font-size: clamp(3rem, 7vw, 110px); margin: 20px 0 22px; }
.compare-copy p { color: var(--muted); max-width: 440px; }
.compare-ctrl { display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.seg button { padding: 9px 18px; border-radius: 999px; font-size: 0.86rem; font-weight: 600; color: var(--muted); transition: all 0.3s; }
.seg button.on { background: var(--text); color: var(--ink); }
.grid-btn { padding: 10px 18px; border-radius: 999px; font-size: 0.86rem; font-weight: 600; border: 1px solid var(--line); color: var(--muted); transition: all 0.3s; }
.grid-btn.on { border-color: var(--primary-2); color: var(--primary-2); }
.compare-notes { margin-top: 30px; display: grid; gap: 12px; }
.compare-notes div { display: flex; gap: 12px; color: var(--muted); font-size: 0.94rem; }
.compare-notes i { color: var(--primary-2); }

.device {
  position: relative;
  width: 340px;
  aspect-ratio: 9 / 18.5;
  border-radius: 46px;
  padding: 12px;
  background: #1b1d2a;
  box-shadow: 0 0 0 1px var(--faint), 0 60px 120px -40px rgba(61, 90, 254, 0.6);
  user-select: none;
  touch-action: pan-y;
}
.screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; }
.layer { position: absolute; inset: 0; padding: 46px 18px 18px; display: flex; flex-direction: column; gap: 12px; }
.layer--wire { background: #f3f3f5; font-family: "Comic Sans MS", "Funnel Sans", sans-serif; color: #8a8a96; }
.layer--final { background: linear-gradient(180deg, #eef1ff 0%, #ffffff 40%); color: var(--ink); clip-path: inset(0 0 0 var(--x, 50%)); }
/* Wireframe blocks */
.wf { border: 1.5px dashed #b6b6c2; border-radius: 12px; display: grid; place-items: center; font-size: 0.7rem; }
.wf--top { height: 40px; display: flex; justify-content: space-between; padding: 0 12px; }
.wf--card { height: 150px; }
.wf--row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; border: 0; }
.wf--row div { height: 56px; border: 1.5px dashed #b6b6c2; border-radius: 12px; }
.wf--line { height: 52px; }
/* Final UI */
.ui-top { display: flex; justify-content: space-between; align-items: center; }
.ui-top b { font-size: 1.05rem; }
.ui-top small { display: block; color: #7a7f94; font-size: 0.72rem; }
.ui-top img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.ui-card { height: 150px; border-radius: 22px; padding: 18px; background: var(--grad); color: #fff; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 18px 30px -16px rgba(61, 90, 254, 0.8); }
.ui-card small { opacity: 0.8; font-size: 0.72rem; }
.ui-card b { font-family: var(--display); font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.ui-card div { display: flex; justify-content: space-between; font-size: 0.72rem; opacity: 0.9; }
.ui-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ui-actions span { height: 56px; border-radius: 16px; background: #fff; box-shadow: 0 6px 16px -8px rgba(11, 12, 20, 0.25); display: grid; place-items: center; color: var(--primary); font-size: 1.25rem; }
.ui-tx { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 12px; border-radius: 16px; background: #fff; box-shadow: 0 6px 16px -10px rgba(11, 12, 20, 0.3); font-size: 0.8rem; }
.ui-tx i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #eef1ff; color: var(--primary); }
.ui-tx b { flex: 1; font-weight: 600; }
.ui-tx em { font-style: normal; font-weight: 700; }
.ui-tx em.plus { color: #10b981; }
.grid-ov { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s; background-image: linear-gradient(rgba(255, 60, 120, 0.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 60, 120, 0.18) 1px, transparent 1px); background-size: 8px 8px; z-index: 3; }
.device.grid .grid-ov { opacity: 1; }
.handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: var(--primary); z-index: 4; cursor: ew-resize; }
.handle span {
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  box-shadow: 0 0 0 6px rgba(77, 107, 255, 0.25);
}
.tag { position: absolute; top: 14px; z-index: 5; padding: 4px 10px; border-radius: 999px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.tag--l { left: 14px; background: #e3e3ea; color: #6b6b78; }
.tag--r { right: 14px; background: var(--ink); color: #fff; }

/* Case accordion */
.cases { display: flex; gap: 12px; height: 560px; }
.case {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.8s var(--ease);
  background: var(--bg-2);
}
.case.on { flex: 5; }
.case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter 0.6s; filter: brightness(0.55) saturate(0.8); }
.case.on img { filter: brightness(0.8); }
.case:hover img { transform: scale(1.04); }
.case::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(9, 9, 15, 0.7) 55%, rgba(9, 9, 15, 0.96)); }
.case__v { position: absolute; left: 50%; bottom: 30px; z-index: 2; writing-mode: vertical-rl; rotate: 180deg; translate: -50% 0; font-family: var(--display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; transition: opacity 0.4s; }
.case.on .case__v { opacity: 0; }
.case__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 34px; opacity: 0; transform: translateY(20px); transition: all 0.5s var(--ease); }
.case.on .case__info { opacity: 1; transform: none; transition-delay: 0.25s; }
.case__info small { font-size: 0.8rem; color: var(--primary-2); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.case__info h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 3rem); letter-spacing: -0.03em; line-height: 1; margin: 8px 0 10px; text-transform: uppercase; }
.case__info p { color: rgba(230, 233, 242, 0.75); max-width: 520px; }
.case__meta { display: flex; gap: 26px; margin-top: 18px; flex-wrap: wrap; }
.case__meta b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.8rem; line-height: 1; }
.case__meta span { font-size: 0.78rem; color: var(--muted); }
.case__no { position: absolute; top: 22px; left: 24px; z-index: 2; font-size: 0.8rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(9, 9, 15, 0.55); backdrop-filter: blur(6px); }

/* Impact rings */
.rings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ring-card { padding: 30px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); text-align: center; }
.ring { position: relative; width: 150px; height: 150px; margin: 0 auto 18px; }
.ring svg { width: 100%; height: 100%; rotate: -90deg; }
.ring circle { fill: none; stroke-width: 8; }
.ring .track { stroke: var(--faint); }
.ring .val { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 402; stroke-dashoffset: 402; transition: stroke-dashoffset 2s var(--ease); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 2.2rem; letter-spacing: -0.03em; }
.ring-card h4 { font-weight: 600; font-size: 1.02rem; }
.ring-card p { color: var(--muted); font-size: 0.88rem; margin-top: 4px; }

/* Tools */
.tools { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; perspective: 900px; }
.tool {
  aspect-ratio: 1;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--muted);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out, border-color 0.3s, background 0.3s;
}
.tool i { font-size: 2.6rem; transform: translateZ(30px); }
.tool span { transform: translateZ(20px); }
.tool:hover { border-color: rgba(92, 200, 255, 0.4); background: radial-gradient(circle at 50% 30%, rgba(77, 107, 255, 0.18), var(--bg-2) 70%); color: var(--text); }

/* Testimonials — drag carousel */
.slider { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px max(16px, calc((100vw - 1200px) / 2)) 30px; scrollbar-width: none; cursor: grab; }
.slider::-webkit-scrollbar { display: none; }
.slider.drag { cursor: grabbing; scroll-snap-type: none; }
.quote {
  flex: 0 0 min(520px, 86vw);
  scroll-snap-align: center;
  padding: 36px;
  border-radius: 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  user-select: none;
}
.quote__stars { color: #ffc24b; letter-spacing: 2px; }
.quote p { font-size: 1.2rem; line-height: 1.55; margin: 18px 0 26px; }
.quote footer { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; pointer-events: none; }
.quote b { display: block; }
.quote small { color: var(--muted); }
.slider-nav { display: flex; justify-content: center; gap: 10px; }
.round { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; border: 1px solid var(--faint); transition: all 0.3s; }
.round:hover { background: var(--grad); border-color: transparent; color: #fff; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.qa { border-radius: 22px; border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; transition: border-color 0.3s; }
.qa.open { border-color: rgba(92, 200, 255, 0.35); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 26px; text-align: left; font-weight: 600; font-size: 1.06rem; }
.qa button i { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); transition: transform 0.4s var(--ease), background 0.3s; }
.qa.open button i { transform: rotate(45deg); background: var(--grad); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.qa.open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 26px 24px; color: var(--muted); }

/* Contact — booking */
.contact { background: var(--light); color: var(--ink); border-radius: var(--radius-lg); margin: 0 clamp(8px, 1.5vw, 24px); }
.contact__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.contact h2 { font-size: clamp(3.6rem, 9vw, 150px); }
.contact__lead { color: rgba(11, 12, 20, 0.62); max-width: 420px; margin-top: 20px; font-size: 1.08rem; }
.blob-btn {
  margin-top: 40px;
  width: 170px; height: 170px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  box-shadow: 0 30px 60px -20px rgba(61, 90, 254, 0.7);
  transition: transform 0.3s ease-out;
}
.blob-btn i { display: block; font-size: 1.6rem; margin-bottom: 4px; }
.book { padding: clamp(22px, 3vw, 36px); border-radius: 32px; background: #fff; border: 1px solid rgba(11, 12, 20, 0.06); box-shadow: 0 40px 80px -50px rgba(11, 12, 20, 0.5); }
.book h3 { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
.book > p { color: rgba(11, 12, 20, 0.55); font-size: 0.92rem; }
.book__lbl { display: block; font-size: 0.78rem; font-weight: 600; color: rgba(11, 12, 20, 0.55); margin: 22px 0 10px; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.day { padding: 12px 0; border-radius: 16px; border: 1px solid rgba(11, 12, 20, 0.1); text-align: center; transition: all 0.25s; }
.day small { display: block; font-size: 0.7rem; color: rgba(11, 12, 20, 0.5); }
.day b { font-family: var(--display); font-size: 1.4rem; font-weight: 800; }
.day:hover { border-color: var(--primary); }
.day.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.day.on small { color: rgba(255, 255, 255, 0.6); }
.times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.time { padding: 10px 0; border-radius: 12px; border: 1px solid rgba(11, 12, 20, 0.1); font-size: 0.86rem; font-weight: 600; transition: all 0.25s; }
.time:hover:not(:disabled) { border-color: var(--primary); }
.time.on { background: var(--grad); color: #fff; border-color: transparent; }
.time:disabled { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }
.book__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.book__fields input { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(11, 12, 20, 0.12); background: var(--light); outline: none; transition: border-color 0.3s; }
.book__fields input:focus { border-color: var(--primary); }
.book .btn { width: 100%; justify-content: center; margin-top: 18px; }
.book__sum { margin-top: 12px; text-align: center; font-size: 0.84rem; color: rgba(11, 12, 20, 0.55); }

/* Footer */
.footer { padding: 90px 0 30px; overflow: hidden; }
.footer__big { font-size: clamp(4rem, 15vw, 260px); text-align: center; line-height: 0.85; }
.footer__mid { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 60px; padding: 30px 0; border-block: 1px solid var(--line); }
.footer__mid a.mail { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -0.02em; transition: color 0.3s; }
.footer__mid a.mail:hover { color: var(--primary-2); }
.socials { display: flex; gap: 10px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; border: 1px solid var(--faint); transition: all 0.3s; }
.socials a:hover { background: var(--grad); border-color: transparent; color: #fff; }
.footer__bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; font-size: 0.84rem; color: var(--muted); }
.footer__bot nav { display: flex; gap: 22px; }
.footer__bot a:hover { color: var(--text); }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 120; translate: -50% calc(100% + 60px); padding: 14px 22px; border-radius: 999px; background: var(--text); color: var(--ink); font-weight: 600; display: flex; align-items: center; gap: 10px; transition: translate 0.5s var(--ease); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.6); }
.toast i { color: var(--primary); font-size: 1.2rem; }
.toast.show { translate: -50% 0; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 1.3rem; display: grid; place-items: center; opacity: 0; transform: translateY(20px); transition: all 0.4s var(--ease); }
.to-top.show { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .mc, .sticker { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .hero__name .ch { transform: none; opacity: 1; }
  .blur-words .w { filter: none; opacity: 1; }
}

/* Responsive */
@media (max-width: 1100px) {
  .rings { grid-template-columns: 1fr 1fr; }
  .tools { grid-template-columns: repeat(4, 1fr); }
  .compare-wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .compare-copy p { margin-inline: auto; }
  .compare-ctrl { justify-content: center; }
  .compare-notes { justify-items: center; }
}
@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    padding: 14px;
    border-radius: 28px;
    background: rgba(16, 17, 25, 0.96);
    border: 1px solid var(--faint);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.35s var(--ease);
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: 1.1rem; padding: 14px 18px; }
  .burger { display: grid; place-items: center; }
  .header .btn { display: none; }
  .mc--2, .mc--3 { display: none; }
  .about__in, .services__in, .contact__in { grid-template-columns: 1fr; }
  .about__pic { max-width: 460px; }
  .services__side { position: static; }
  .stage { grid-template-columns: 1fr; gap: 0; }
  .stage:nth-child(even) .stage__card { grid-column: auto; }
  .path-svg { display: none; }
  .stage__card { opacity: 1; transform: none; }
  .cases { flex-direction: column; height: auto; }
  .case { flex: none; height: 110px; }
  .case.on { flex: none; height: 460px; }
  .case__v { writing-mode: horizontal-tb; rotate: none; left: 26px; translate: none; bottom: 50%; transform: translateY(50%); }
  .feature__copy { flex-direction: column; align-items: flex-start; }
  .blob-btn { width: 140px; height: 140px; }
}
@media (max-width: 640px) {
  .section { padding: 90px 0; }
  .hero__role::before, .hero__role::after { display: none; }
  .trail { display: none; }
  .mc--1 { left: 4%; top: 15%; }
  .rings { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ring { width: 116px; height: 116px; }
  .ring b { font-size: 1.7rem; }
  .ring-card { padding: 22px 12px; }
  .tools { grid-template-columns: repeat(3, 1fr); }
  .device { width: min(320px, 100%); }
  .sticker--a { left: -6px; }
  .sticker--b { right: -6px; }
  .book__fields { grid-template-columns: 1fr; }
  .days { gap: 5px; }
  .times { grid-template-columns: repeat(3, 1fr); }
  .services, .process { border-radius: 32px 32px 0 0; }
  .contact { border-radius: 32px; }
  .feature__stats { gap: 18px; }
}
