:root {
  --bg: #0a0a12;
  --bg-alt: #100e1a;
  --bg-raised: #18141f;
  --primary: #b026ff;
  --primary-dim: #7c1bb8;
  --secondary: #00e5ff;
  --accent: #ff3b5c;
  --text: #f4f2fa;
  --text-dim: #a9a3bd;
  --line: rgba(244, 242, 250, 0.14);

  --fiverr: #1dbf73;
  --youtube: #ff0033;
  --x: #f4f2fa;
  --instagram: #e1306c;

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }

button {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
  font: inherit;
  color: inherit;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

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

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.03;
  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 type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 64px);
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(10, 10, 18, 0.85);
  backdrop-filter: blur(10px);
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.nav__mark {
  display: flex;
  align-items: center;
  transition: transform 0.3s var(--bounce);
}

.nav__mark:hover { transform: rotate(-6deg) scale(1.06); }

.nav__logo {
  height: 30px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  gap: 32px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dim);
}

.nav__links a {
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s ease, transform 0.25s var(--bounce);
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.nav__links a:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.nav__links a:hover::after { width: 100%; }

.nav__cta {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  background: var(--bg-raised);
  box-shadow: 3px 3px 0 rgba(176, 38, 255, 0.3);
  transition: transform 0.25s var(--bounce), border-color 0.2s ease, color 0.2s ease, box-shadow 0.25s ease;
}

.nav__cta:hover {
  border-color: var(--primary);
  color: var(--secondary);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 rgba(176, 38, 255, 0.4), 0 0 16px rgba(176, 38, 255, 0.3);
}

.nav__cta:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(176, 38, 255, 0.4);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px clamp(20px, 5vw, 64px) 80px;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 78% 12%, rgba(176, 38, 255, 0.28), transparent 60%),
    radial-gradient(45% 40% at 8% 92%, rgba(0, 229, 255, 0.14), transparent 60%),
    var(--bg);
  background-size: 160% 160%;
  animation: hero-drift 16s ease-in-out infinite;
}

@keyframes hero-drift {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 30% 20%; }
}

.hero__rays {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  z-index: 0;
  animation: rays-spin 90s linear infinite;
  transform-origin: 50% 50%;
}

@keyframes rays-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero__kicker {
  display: inline-block;
  margin: 0 0 22px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 999px;
  transform: rotate(-1.5deg);
}

.hero__title {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  font-size: clamp(48px, 9vw, 104px);
  letter-spacing: 0.005em;
}

.hero__title-line2 {
  display: block;
  color: var(--text-dim);
  font-size: 0.52em;
  margin-top: 10px;
}

.glitch {
  position: relative;
  display: inline-block;
  color: var(--text);
  background: linear-gradient(100deg, var(--primary) 0%, var(--secondary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 6s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-image: none;
}

.glitch::before {
  color: var(--accent);
  opacity: 0.75;
  animation: glitch-shift 4.5s ease-in-out infinite;
}

.glitch::after {
  color: var(--secondary);
  opacity: 0.6;
  animation: glitch-shift 4.5s ease-in-out infinite reverse;
}

@keyframes glitch-shift {
  0%, 88%, 100% { transform: translate(0, 0); opacity: 0; }
  90% { transform: translate(-3px, 2px); opacity: 0.7; }
  92% { transform: translate(3px, -1px); opacity: 0.5; }
  94% { transform: translate(-2px, 0); opacity: 0.6; }
  96% { transform: translate(0, 0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .glitch::before, .glitch::after { animation: none; opacity: 0; }
  html { scroll-behavior: auto; }
}

.hero__sub {
  max-width: 560px;
  color: var(--text-dim);
  font-size: 17px;
  margin: 0 0 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s var(--bounce), border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.25s ease;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn:hover::before { left: 130%; }

.btn:hover { transform: translate(-3px, -3px); }

.btn:active { transform: translate(1px, 1px); }

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 4px 4px 0 rgba(176, 38, 255, 0.35);
}

.btn--primary:hover {
  background: #9b1fe0; /* darker on hover keeps white text AA-contrast */
  box-shadow: 7px 7px 0 rgba(176, 38, 255, 0.4), 0 0 22px rgba(176, 38, 255, 0.35);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--text);
  box-shadow: 4px 4px 0 rgba(0, 229, 255, 0.18);
}

.btn--ghost:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  box-shadow: 7px 7px 0 rgba(0, 229, 255, 0.25), 0 0 22px rgba(0, 229, 255, 0.25);
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: clamp(20px, 5vw, 64px);
  width: 1px;
  height: 56px;
  background: var(--line);
  z-index: 1;
}

.hero__scroll span {
  position: absolute;
  top: 0; left: -2px;
  width: 5px; height: 5px;
  background: var(--secondary);
  animation: scroll-dot 2.2s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% { top: 0; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 90%; opacity: 0; }
}

/* ---------- SECTION HEAD ---------- */
.section-head {
  max-width: 620px;
  margin: 0 0 48px;
  padding: 0 clamp(20px, 5vw, 64px);
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 12px;
}

.section-head p {
  color: var(--text-dim);
  font-size: 16px;
  margin: 0;
}

/* ---------- WORK / GALLERY ---------- */
.work {
  padding: 120px 0 100px;
  background: var(--bg);
}

.showcase {
  position: relative;
}

.showcase__viewport {
  overflow: hidden;
  /* NO horizontal padding: the viewport's centre must equal the track's centre maths.
     Vertical room fits the 1.14x active scale, hover lift and offset shadows. */
  padding: 64px 0 72px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.showcase__viewport.is-dragging { cursor: grabbing; }

.showcase { --slide-w: min(62vw, 620px); }

.showcase__track {
  display: flex;
  gap: 20px;
  will-change: transform;
}

.showcase__slide {
  position: relative;
  flex: 0 0 var(--slide-w);
  width: var(--slide-w);
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-raised);
  box-shadow: 5px 5px 0 rgba(176, 38, 255, 0.18);
  /* individual transform properties compose, so hover + active never fight */
  transition: scale 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), translate 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), rotate 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.showcase__slide picture { display: contents; }

.showcase__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; /* thumbnails are 16:9; if one isn't, set its focal point here */
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
  filter: saturate(0.94) brightness(0.92);
  -webkit-user-drag: none;
}

.showcase__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(8, 6, 14, 0.5) 100%);
  opacity: 0.35;
  transition: opacity 0.4s ease;
}

.showcase__slide:hover {
  translate: 0 -6px;
  rotate: -0.6deg;
  box-shadow: 8px 8px 0 rgba(176, 38, 255, 0.28), 0 0 24px rgba(176, 38, 255, 0.2);
}

.showcase__slide:hover img { transform: scale(1.08); filter: saturate(1.05) brightness(1); }
.showcase__slide:hover::after { opacity: 0.15; }

.showcase__slide.is-active {
  scale: 1.14;
  border-color: var(--secondary);
  box-shadow: 6px 6px 0 rgba(0, 229, 255, 0.3), 0 0 26px rgba(0, 229, 255, 0.25);
  z-index: 2;
}

.showcase__slide.is-active img { filter: saturate(1.08) brightness(1.02); }
.showcase__slide.is-active::after { opacity: 0.1; }

@media (max-width: 720px) {
  .showcase { --slide-w: 84vw; }
  .showcase__slide.is-active { scale: 1.08; }
}

.showcase__slide:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }

.showcase__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.showcase__arrow {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-raised);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 0 rgba(176, 38, 255, 0.2);
  transition: transform 0.25s var(--bounce), border-color 0.2s ease, color 0.2s ease, box-shadow 0.25s ease;
}

.showcase__arrow svg { width: 18px; height: 18px; }

.showcase__arrow:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translate(-2px, -2px) rotate(-6deg);
  box-shadow: 5px 5px 0 rgba(0, 229, 255, 0.3), 0 0 16px rgba(0, 229, 255, 0.25);
}

.showcase__arrow:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(0, 229, 255, 0.3);
}

.showcase__dots { display: flex; }

/* 24px hit area (WCAG 2.2 target size) around an 8px dot */
.showcase__dot {
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.showcase__dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  opacity: 0.45;
  transition: background 0.25s ease, opacity 0.25s ease, transform 0.25s var(--bounce);
}

.showcase__dot.is-active::before { background: var(--secondary); opacity: 1; transform: scale(1.4); }

/* ---------- ABOUT ---------- */
.about {
  position: relative;
  overflow: hidden;
  padding: 110px clamp(20px, 5vw, 64px);
  background: var(--bg-alt);
}

.about::before,
.about::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 90px;
  pointer-events: none;
}

.about::before {
  top: -1px;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 100%);
}

.about::after {
  bottom: -1px;
  background: linear-gradient(0deg, var(--bg) 0%, transparent 100%);
}

.about__bg-mark {
  position: absolute;
  top: 50%;
  right: clamp(0px, 4vw, 40px);
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(140px, 20vw, 280px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 242, 250, 0.08);
  background: linear-gradient(155deg, rgba(176, 38, 255, 0.12), rgba(0, 229, 255, 0.08));
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.about__copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.about__kicker {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 15px;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 999px;
  transform: rotate(-1.5deg);
}

.about__copy h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 5.5vw, 58px);
  margin: 0 0 28px;
}

.about__copy p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.005em;
  max-width: 60ch;
  margin: 0 0 20px;
}

.about__list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about__list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: transform 0.3s var(--bounce), border-color 0.3s ease, color 0.25s ease, box-shadow 0.3s ease;
}

.about__list li:nth-child(odd) { rotate: -1deg; }
.about__list li:nth-child(even) { rotate: 1deg; }

.about__list li:hover {
  transform: translateY(-3px) scale(1.03);
  rotate: 0deg;
  border-color: var(--secondary);
  color: var(--secondary);
  box-shadow: 3px 3px 0 rgba(0, 229, 255, 0.25);
}

.about__list-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.55);
  transition: box-shadow 0.35s ease;
  flex: none;
}

.about__list li:hover .about__list-dot {
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.9);
}

@media (max-width: 720px) {
  .about__bg-mark { display: none; }
}

/* ---------- SERVICES ---------- */
.services {
  padding: 110px 0 100px;
  background: var(--bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0 clamp(20px, 5vw, 64px);
}

.service {
  background: var(--bg-raised);
  padding: 30px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.3s var(--bounce), background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service:nth-child(odd) { rotate: -0.6deg; }
.service:nth-child(even) { rotate: 0.6deg; }

.service:hover {
  transform: translateY(-6px);
  rotate: 0deg;
  background: #1c1826;
  border-color: var(--primary);
  box-shadow: 6px 6px 0 rgba(176, 38, 255, 0.22), 0 0 22px rgba(176, 38, 255, 0.18);
}

.service__mark {
  display: block;
  width: 10px;
  height: 10px;
  background: var(--primary);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  margin-bottom: 22px;
  transition: transform 0.4s var(--bounce), background 0.3s ease;
}

.service:hover .service__mark {
  transform: rotate(90deg) scale(1.25);
  background: var(--secondary);
}

.service h3 {
  font-size: 18px;
  margin: 0 0 12px;
  font-weight: 700;
}

.service p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin: 0;
}

@media (max-width: 900px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .services__grid { grid-template-columns: 1fr; }
}

.pricing {
  margin: 56px clamp(20px, 5vw, 64px) 0;
  padding: 30px clamp(24px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  background: linear-gradient(100deg, rgba(176, 38, 255, 0.1), rgba(0, 229, 255, 0.06));
  border: 1px solid var(--line);
  border-left: 3px solid var(--primary);
  border-radius: 4px 16px 16px 4px;
  box-shadow: 6px 6px 0 rgba(176, 38, 255, 0.15);
}

.pricing__intro {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 260px;
}

.pricing__eyebrow-mark {
  flex: none;
  width: 11px;
  height: 11px;
  background: var(--secondary);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.pricing__intro p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.4;
}

.pricing__row {
  display: flex;
  align-items: center;
  gap: 36px;
}

.pricing__tier {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing__amount {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 44px;
  background: linear-gradient(100deg, var(--primary) 0%, var(--secondary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  animation: gradient-shift 5s ease-in-out infinite;
}

.pricing__tier-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pricing__label {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.pricing__note {
  font-size: 12.5px;
  color: var(--text-dim);
  white-space: nowrap;
}

.pricing__divider {
  width: 1px;
  height: 40px;
  background: var(--line);
}

@media (max-width: 720px) {
  .pricing { flex-direction: column; align-items: flex-start; }
  .pricing__row { gap: 24px; }
}

@media (max-width: 460px) {
  .pricing__row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pricing__divider { display: none; }
}

.services__cta {
  margin-top: 56px;
  padding: 0 clamp(20px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.services__cta p {
  color: var(--text-dim);
  font-size: 15px;
  max-width: 42ch;
  margin: 0;
}

/* ---------- CONTACT / FOOTER ---------- */
.contact {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding-top: 110px;
}

.contact__inner {
  padding: 0 clamp(20px, 5vw, 64px) 70px;
  text-align: left;
}

.contact h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 56px);
  margin: 0 0 16px;
  max-width: 16ch;
}

.contact > .contact__inner > p {
  color: var(--text-dim);
  font-size: 16px;
  margin: 0 0 40px;
}

.contact__links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.contact__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 3px 3px 0 rgba(244, 242, 250, 0.06);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.25s var(--bounce), box-shadow 0.25s ease, background 0.2s ease;
}

.contact__link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--bounce);
}

.contact__link:hover {
  transform: translate(-2px, -2px) rotate(-2deg);
}

.contact__link:hover svg { transform: scale(1.15) rotate(-8deg); }

.contact__link:active { transform: translate(1px, 1px); }

.contact__link--fiverr { border-color: color-mix(in srgb, var(--fiverr) 45%, var(--line)); }
.contact__link--fiverr:hover { border-color: var(--fiverr); color: var(--fiverr); background: color-mix(in srgb, var(--fiverr) 12%, transparent); box-shadow: 5px 5px 0 color-mix(in srgb, var(--fiverr) 35%, transparent); }

.contact__link--youtube { border-color: color-mix(in srgb, var(--youtube) 45%, var(--line)); }
.contact__link--youtube:hover { border-color: var(--youtube); color: var(--youtube); background: color-mix(in srgb, var(--youtube) 12%, transparent); box-shadow: 5px 5px 0 color-mix(in srgb, var(--youtube) 35%, transparent); }

.contact__link--x { border-color: color-mix(in srgb, var(--x) 45%, var(--line)); }
.contact__link--x:hover { border-color: var(--x); color: var(--x); background: color-mix(in srgb, var(--x) 12%, transparent); box-shadow: 5px 5px 0 color-mix(in srgb, var(--x) 35%, transparent); }

.contact__link--instagram { border-color: color-mix(in srgb, var(--instagram) 45%, var(--line)); }
.contact__link--instagram:hover { border-color: var(--instagram); color: var(--instagram); background: color-mix(in srgb, var(--instagram) 12%, transparent); box-shadow: 5px 5px 0 color-mix(in srgb, var(--instagram) 35%, transparent); }

.contact__base {
  border-top: 1px solid var(--line);
  padding: 22px clamp(20px, 5vw, 64px);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
}

.contact__logo {
  height: 20px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  animation: mark-pulse 3.5s ease-in-out infinite;
}

@keyframes mark-pulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(176, 38, 255, 0)); }
  50% { filter: drop-shadow(0 0 6px rgba(176, 38, 255, 0.6)); }
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 5, 10, 0.94);
  backdrop-filter: blur(6px);
  padding: 76px 16px 40px;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: clamp(20px, 5vw, 48px);
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  width: 42px;
  height: 42px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.25s var(--bounce);
}

.lightbox__close:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: rotate(-8deg) scale(1.08);
}

/* ---------- reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.service.reveal:nth-child(2) { transition-delay: 0.08s; }
.service.reveal:nth-child(3) { transition-delay: 0.16s; }
.service.reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .hero, .hero__rays, .contact__logo, .glitch, .pricing__amount {
    animation: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ================= v2 ADDITIONS ================= */

/* ---------- accessibility helpers ---------- */
:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -64px; z-index: 2000; padding: 10px 16px; background: var(--primary); color: #fff; border-radius: 10px; font-weight: 600; transition: top 0.2s; }
.skip-link:focus { top: 12px; }
section[id] { scroll-margin-top: 72px; }

/* looping animations pause while off-screen (class set from script.js) */
.anim-paused, .anim-paused *, .anim-paused *::before, .anim-paused *::after { animation-play-state: paused !important; }

/* ---------- nav: active link + mobile menu ---------- */
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after { width: 100%; }
.nav__toggle {
  display: none; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg-raised); cursor: pointer;
}
.nav__toggle span { width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.25s ease, opacity 0.2s ease; }
.nav.is-open { background: rgba(10, 10, 18, 0.97); }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav { gap: 12px; }
  .nav__mark { margin-right: auto; }
  .nav__toggle { display: flex; }
  .nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    padding: 6px clamp(20px, 5vw, 64px) 14px; background: rgba(10, 10, 18, 0.97); border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 14px 0; font-size: 16px; }
}

/* ---------- hero CTA ---------- */
.btn--lg { padding: 17px 34px; font-size: 17px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--text-dim); }
.hero__proof li { display: flex; align-items: center; gap: 8px; }
.hero__proof li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--secondary); box-shadow: 0 0 8px rgba(0, 229, 255, 0.5); }

/* ---------- carousel extras ---------- */
.showcase__noscript { text-align: center; color: var(--text-dim); }

/* ---------- lightbox extras ---------- */
.lightbox[hidden] { display: none; }
.lightbox__stage { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; touch-action: pan-y; }
.lightbox__nav { top: 50%; right: auto; margin-top: -21px; }
.lightbox__nav--prev { left: clamp(8px, 3vw, 40px); }
.lightbox__nav--next { right: clamp(8px, 3vw, 40px); }
.lightbox__count { position: absolute; top: 34px; left: 50%; translate: -50% 0; font-size: 14px; color: var(--text-dim); font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .showcase__track { transition: none !important; }
  .hero__scroll span { animation: none; }
}
