/* ===== DESIGN TOKENS (edit to match the Nexahs logo) ===== */
:root {
  --bg: #070a1a;
  --surface: #0e1330;
  --surface2: #151b40;
  --text: #eef0ff;
  --muted: #8e95bf;
  --line: rgba(160, 170, 255, 0.16);
  --primary: #7c5cff;
  --secondary: #3de0ff;
  --accent: #ff6b8a;
  --grad: linear-gradient(120deg, #7c5cff, #3de0ff);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
:root[data-theme="light"] {
  --bg: #f5f6ff;
  --surface: #fff;
  --surface2: #e9ebff;
  --text: #0b1030;
  --muted: #555c86;
  --line: rgba(20, 30, 90, 0.15);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f5f6ff;
    --surface: #fff;
    --surface2: #e9ebff;
    --text: #0b1030;
    --muted: #555c86;
    --line: rgba(20, 30, 90, 0.15);
  }
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  background: var(--bg);
  color: var(--text);
  font:
    400 17px/1.6 "DM Sans",
    system-ui,
    sans-serif;
  padding-top: var(--safe-t);
  overflow-x: hidden;
}
body:after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  z-index: 90;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1,
h2,
h3 {
  font-family: Syne, sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
a {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}
.wrap {
  max-width: 1400px;
  margin: auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}
.h2 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  margin-bottom: 22px;
}
.muted {
  color: var(--muted);
}
/* reveal */
.rv {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.rv.in {
  opacity: 1;
  transform: none;
}
/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 99px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition:
    transform 0.3s var(--ease),
    background 0.3s,
    box-shadow 0.3s;
}
.btn.p {
  background: var(--grad);
  color: #050818;
  border: 0;
  box-shadow: 0 10px 40px -10px var(--primary);
}
.btn:hover {
  box-shadow: 0 12px 50px -10px var(--secondary);
}
/* preloader */
#pre {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: clip-path 0.9s var(--ease);
  clip-path: inset(0 0 0 0);
  animation: preFailsafe 0s linear 3.6s forwards;
}
#pre.out {
  clip-path: inset(0 0 100% 0);
}
@keyframes preFailsafe {
  to {
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    pointer-events: none;
  }
}
#pre b {
  font: 800 clamp(2.5rem, 10vw, 6rem)/1 Syne;
  letter-spacing: 0.06em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#pre i {
  display: block;
  height: 3px;
  margin-top: 20px;
  background: var(--grad);
  width: 0;
  transition: width 1s var(--ease);
}
/* nav */
header {
  position: fixed;
  top: var(--safe-t);
  left: 0;
  right: 0;
  z-index: 60;
  height: 88px;
  display: flex;
  align-items: center;
  transition:
    height 0.4s,
    background 0.4s,
    backdrop-filter 0.4s;
}
header.s {
  height: 64px;
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo {
  font: 800 1.5rem Syne;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo span {
  width: 26px;
  height: 26px;
  background: var(--grad);
  border-radius: 8px;
  transform: rotate(45deg);
} /* replace with logo image */
nav ul {
  display: flex;
  gap: 34px;
  list-style: none;
  padding: 0;
}
nav a {
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.2s;
}
nav a:hover {
  opacity: 1;
}
.burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}
#menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--bg);
  padding: 110px 24px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: circle(0 at calc(100% - 48px) 48px);
  transition: clip-path 0.7s var(--ease);
  visibility: hidden;
}
#menu.open {
  clip-path: circle(150% at calc(100% - 48px) 48px);
  visibility: visible;
}
#menu a.big {
  display: block;
  font: 800 2.6rem/1.15 Syne;
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s var(--ease);
}
#menu.open a.big {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i) * 70ms + 250ms);
}
#menu .x {
  position: absolute;
  top: calc(20px + var(--safe-t));
  right: 24px;
}
/* hero */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
#cv {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(760px, 90vw);
  height: min(760px, 90vw);
  z-index: 0;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: fl 12s ease-in-out infinite alternate;
}
@keyframes fl {
  to {
    transform: translate(60px, -40px) scale(1.2);
  }
}
.hero .wrap {
  position: relative;
  z-index: 2;
  margin-left: 10px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.6rem);
  max-width: 12ch;
}
.hero h1 .l {
  display: block;
  overflow: hidden;
}
.hero h1 .l > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
}
.go .hero h1 .l > span {
  transform: none;
}
.hero h1 .l:nth-child(2) > span {
  transition-delay: 0.12s;
}
.hero h1 .l:nth-child(3) > span {
  transition-delay: 0.24s;
}
.hero p.lead {
  max-width: 520px;
  margin: 28px 0 36px;
  color: var(--muted);
  font-size: 1.15rem;
}
.hero .fade {
  opacity: 0;
  transform: translateY(24px);
  transition: 1s var(--ease) 0.6s;
}
.go .hero .fade {
  opacity: 1;
  transform: none;
}
.scroll {
  position: absolute;
  bottom: 28px;
  left: 24px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}
.scroll:after {
  content: "";
  width: 60px;
  height: 1px;
  background: var(--muted);
  transform-origin: left;
  animation: ln 2s infinite;
}
@keyframes ln {
  0% {
    transform: scaleX(0);
  }
  60% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(1);
    opacity: 0;
  }
}
/* marquee */
.mq {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  white-space: nowrap;
}
.mq div {
  display: inline-flex;
  gap: 60px;
  animation: mq 40s linear infinite;
  font: 800 1.15rem Syne;
  color: var(--muted);
}
.mq div span:nth-child(even) {
  color: var(--primary);
}
@keyframes mq {
  to {
    transform: translateX(-50%);
  }
}
/* about */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 80px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.stats b {
  display: block;
  font: 800 clamp(1.8rem, 3.4vw, 2.8rem) Syne;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* services */
.svc {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}
.row {
  display: grid;
  grid-template-columns: 50px 1fr 30px;
  gap: 16px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  transition: padding 0.4s var(--ease);
}
.row h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  transition: transform 0.4s var(--ease);
}
.row p {
  grid-column: 2;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  color: var(--muted);
  transition: 0.5s var(--ease);
}
.row .ar {
  transition: transform 0.4s var(--ease);
}
.row.on {
  padding-left: 18px;
}
.row.on h3 {
  transform: translateX(8px);
  color: var(--secondary);
}
.row.on p {
  max-height: 120px;
  opacity: 1;
}
.row.on .ar {
  transform: translate(6px, -6px);
}
.row .n {
  color: var(--muted);
  font-size: 0.9rem;
}
.prev {
  position: sticky;
  top: 110px;
  height: min(520px, 70vh);
  border-radius: 28px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
  perspective: 900px;
}
.prev .pv {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition:
    opacity 0.6s,
    transform 0.8s var(--ease),
    filter 0.6s;
  opacity: 0;
  transform: scale(1.15);
  filter: blur(12px);
}
.prev .pv.on {
  opacity: 1;
  transform: none;
  filter: none;
}
.mock {
  width: 66%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 18px;
  display: grid;
  gap: 10px;
  align-content: start;
  transform: rotateY(-18deg) rotateX(8deg);
  box-shadow: -30px 40px 60px -20px rgba(0, 0, 0, 0.5);
}
.mock i {
  display: block;
  height: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.35);
}
.mock i:nth-child(1) {
  width: 35%;
  height: 20px;
}
.mock i:nth-child(3) {
  width: 70%;
}
.mock i:nth-child(4) {
  height: 60px;
  background: rgba(255, 255, 255, 0.18);
}
.pv em {
  position: absolute;
  bottom: 22px;
  left: 26px;
  font: 800 1.4rem Syne;
  font-style: normal;
  color: #fff;
}
/* work */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 50px;
}
.filters button {
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 10px 20px;
  border-radius: 99px;
  cursor: pointer;
  font: inherit;
  transition: 0.3s;
}
.filters button.on {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.proj {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 100px;
  transition: opacity 0.5s;
}
.proj:nth-child(even) {
  grid-template-columns: 1fr 1.3fr;
}
.proj:nth-child(even) .pimg {
  order: 2;
}
.proj.hide {
  display: none;
}
.pimg {
  aspect-ratio: 16/11;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.2s;
  border: 1px solid var(--line);
}
.pimg .art {
  position: absolute;
  inset: -6%;
  transition: transform 1s var(--ease);
}
.pimg:hover .art {
  transform: scale(1.1);
}
.pimg .art b {
  position: absolute;
  font: 800 clamp(1.8rem, 4.4vw, 3.4rem) Syne;
  color: rgba(255, 255, 255, 0.9);
  left: 8%;
  bottom: 4%;
  mix-blend-mode: overlay;
}
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 26px;
}
.tags span {
  font-size: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 4px 12px;
  color: var(--muted);
}
.proj h3 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin: 8px 0;
}
.cat {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.9rem;
}
/* why: horizontal scroll */
.why {
  padding: 0;
}
.hs {
  height: 300vh;
  position: relative;
}
.hs .stick {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.track {
  display: flex;
  gap: 30px;
  padding: 0 8vw;
  will-change: transform;
}
.track h2 {
  flex: 0 0 min(80vw, 520px);
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  align-self: center;
}
.card {
  flex: 0 0 min(80vw, 420px);
  min-height: 340px;
  padding: 34px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.5s var(--ease),
    border-color 0.3s;
}
.card:hover {
  transform: translateY(-12px) rotate(-1deg);
  border-color: var(--primary);
}
.card h3 {
  font-size: 1.4rem;
}
.card .k {
  font: 800 2.6rem Syne;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* process */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 70px;
}
.steps:before,
.steps .fill {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  height: 2px;
  background: var(--line);
  width: 100%;
}
.steps .fill {
  background: var(--grad);
  width: 0;
  transition: width 0.3s;
}
.st {
  position: relative;
  padding-top: 44px;
  cursor: pointer;
  opacity: 0.5;
  transition: 0.4s;
}
.st:before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--muted);
  transition: 0.4s;
}
.st.on {
  opacity: 1;
}
.st.on:before {
  border-color: var(--secondary);
  background: var(--secondary);
  box-shadow: 0 0 24px var(--secondary);
}
.st h3 {
  font-size: 1.1rem;
}
.st p {
  font-size: 0.9rem;
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  transition: 0.5s;
}
.st.on p {
  max-height: 200px;
}
/* tech */
.tech {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  max-width: 900px;
  margin: 50px auto 0;
}
.tech span {
  padding: 14px 26px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 700;
  animation: bob 5s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -0.6s);
}
@keyframes bob {
  to {
    transform: translateY(-14px);
  }
}
/* testimonials */
.tq {
  position: relative;
  min-height: 300px;
}
.tq figure {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(40px);
  transition: 0.7s var(--ease);
  pointer-events: none;
}
.tq figure.on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.tq blockquote {
  font: 600 clamp(1.3rem, 2.2vw, 1.8rem)/1.3 Syne;
  max-width: 26ch;
}
/* pricing */
.tog {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 5px;
  margin-bottom: 40px;
}
.tog button {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 10px 22px;
  border-radius: 99px;
  cursor: pointer;
  font: inherit;
}
.tog button.on {
  background: var(--grad);
  color: #050818;
  font-weight: 700;
}
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.plan {
  padding: 32px 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan.hot {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--surface2), var(--surface));
}
.plan .pr {
  font: 800 1.9rem Syne;
}
.plan ul {
  padding-left: 18px;
  color: var(--muted);
  flex: 1;
  font-size: 0.95rem;
}
/* faq */
.q {
  border-bottom: 1px solid var(--line);
}
.q button {
  width: 100%;
  background: none;
  border: 0;
  color: var(--text);
  text-align: left;
  font: 700 1.25rem "DM Sans";
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}
.q button:after {
  content: "+";
  transition: transform 0.4s;
}
.q.on button:after {
  transform: rotate(135deg);
}
.q div {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
  color: var(--muted);
}
.q.on div {
  grid-template-rows: 1fr;
}
.q div p {
  overflow: hidden;
}
.q.on div p {
  padding-bottom: 24px;
}
/* contact */
.ct {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.fld {
  position: relative;
  margin-bottom: 22px;
}
.fld input,
.fld select,
.fld textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  padding: 22px 0 10px;
  font: inherit;
  outline: 0;
}
.fld select option {
  background: var(--surface);
}
.fld label {
  position: absolute;
  left: 0;
  top: 22px;
  color: var(--muted);
  pointer-events: none;
  transition: 0.3s var(--ease);
  transform-origin: left;
}
.fld:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.fld:focus-within:after {
  transform: scaleX(1);
}
.fld:focus-within label,
.fld.f label {
  transform: translateY(-20px) scale(0.78);
  color: var(--secondary);
}
.err {
  color: var(--accent);
  font-size: 0.85rem;
  display: none;
}
.fld.bad .err {
  display: block;
}
.fld.bad input,
.fld.bad textarea {
  border-color: var(--accent);
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
#ok {
  display: none;
  padding: 26px;
  border-radius: 20px;
  border: 1px solid var(--secondary);
  margin-top: 20px;
}
/* cta+footer */
.cta {
  text-align: center;
  overflow: hidden;
  perspective: 1000px;
}
.cta h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  transform-style: preserve-3d;
}
footer {
  border-top: 1px solid var(--line);
  padding: 70px 0 40px;
}
.fg {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.fg ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}
.fg h4 {
  margin-bottom: 14px;
}
.bot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 60px;
  color: var(--muted);
  font-size: 0.9rem;
}
/* modal */
#md {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--bg);
  overflow: auto;
  clip-path: circle(0 at 50% 50%);
  visibility: hidden;
  transition: clip-path 0.8s var(--ease);
}
#md.open {
  clip-path: circle(150% at 50% 50%);
  visibility: visible;
}
#md .wrap {
  padding-top: 120px;
  padding-bottom: 80px;
}
#md h2 {
  font-size: clamp(2.4rem, 7vw, 6rem);
}
#md h3 {
  margin: 40px 0 10px;
  font-size: 1.5rem;
}
/* cursor */
#cur {
  position: fixed;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  margin: -7px;
  border-radius: 50%;
  background: var(--secondary);
  pointer-events: none;
  z-index: 300;
  mix-blend-mode: normal;
  display: none;
  transition:
    width 0.3s var(--ease),
    height 0.3s var(--ease),
    margin 0.3s var(--ease),
    background 0.3s;
  font: 700 0.7rem/1 "DM Sans";
  color: #050818;
  text-align: center;
  align-items: center;
  justify-content: center;
}
#cur.big {
  width: 84px;
  height: 84px;
  margin: -42px;
  background: var(--secondary);
}
#cur.lnk {
  width: 44px;
  height: 44px;
  margin: -22px;
  background: transparent;
  border: 1px solid var(--secondary);
}
@media (hover: hover) and (pointer: fine) {
  body.cur * {
    cursor: none !important;
  }
  #cur {
    display: flex;
  }
}
/* progress */
#pg {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--grad);
  z-index: 100;
}
/* 404 */
.nf {
  font: 800 clamp(6rem, 24vw, 18rem) Syne;
  line-height: 0.9;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* responsive */
@media (max-width: 960px) {
  nav ul,
  header .btn {
    display: none;
  }
  .burger {
    display: block;
  }
  .about,
  .svc,
  .ct,
  .proj,
  .proj:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .proj:nth-child(even) .pimg {
    order: 0;
  }
  .prev {
    display: none;
  }
  .row p {
    max-height: 120px;
    opacity: 1;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .plans {
    grid-template-columns: 1fr 1fr;
  }
  .fg {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .steps:before,
  .steps .fill {
    display: none;
  }
  .st {
    padding: 0 0 0 40px;
    opacity: 1;
  }
  .st:before {
    top: 4px;
  }
  .st p {
    max-height: 200px;
  }
  .hs {
    height: auto;
  }
  .hs .stick {
    position: static;
    height: auto;
    overflow: visible;
  }
  .track {
    flex-direction: column;
    padding: 0 24px;
  }
  .track h2,
  .card {
    flex: none;
    width: 100%;
  }
  #cv {
    opacity: 0.55;
    right: -30%;
  }
  .two {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .plans {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .rv {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

.off {
  display: none !important;
}
.phero {
  padding: 190px 0 0;
}
.phero + section {
  padding-top: 60px;
}
#contact {
  padding-top: 170px;
}
#tx {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--grad);
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 0.5s var(--ease);
  pointer-events: none;
}
#tx.on {
  clip-path: circle(150% at 50% 50%);
}
nav a.act {
  opacity: 1;
  color: var(--secondary);
}
.homeonly {
  display: none;
}
body[data-page="home"] .homeonly {
  display: inline-flex;
}
body[data-page="home"] #fl {
  display: none;
}
body[data-page="home"] .proj:nth-child(n + 4) {
  display: none;
}
.tm {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
  perspective: 900px;
}
.tmc {
  padding: 28px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    transform 0.5s var(--ease),
    border-color 0.3s;
}
.tmc:hover {
  transform: rotateY(-8deg) rotateX(4deg) translateY(-8px);
  border-color: var(--primary);
}
.av {
  width: 160px;
  height: 160px;
  border-radius: 10%;

  background: var(--grad);
  display: grid;
  place-items: center;
  font: 800 2.8rem Syne;
  color: #050818;
  margin-bottom: 22px;
  overflow: hidden;
}
.pimg .art img,
.av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pv img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 960px) {
  .tm {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .tm {
    grid-template-columns: 1fr;
  }
}
