:root {
  --ink: #090706;
  --paper: #fff1d2;
  --muted: rgba(255, 241, 210, 0.68);
  --line: rgba(255, 241, 210, 0.22);
  --pink: #ff2f8f;
  --coral: #ff7747;
  --sun: #ffc83d;
  --teal: #00f0d4;
  --blue: #4968ff;
  --lime: #c8ff3d;
  --violet: #b56cff;
  --hero-text: #fff7e8;
  --hero-accent: #00f0d4;
  --hero-gold: #ffc83d;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(181, 108, 255, 0.13), transparent 30rem),
    linear-gradient(180deg, #050405 0, var(--ink) 28rem, #120b18 62rem, #071b1d 100%);
  background-color: var(--ink);
  color: var(--paper);
  font-family: "Noto Sans SC", system-ui, sans-serif;
}

main {
  background: var(--ink);
}

body.menu-open,
body.preview-open {
  overflow: hidden;
}

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

.site-header {
  position: fixed;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(5, 4, 6, 0.76), rgba(5, 4, 6, 0));
}

.brand,
.site-header a {
  font-weight: 900;
  text-transform: uppercase;
}

.brand {
  color: var(--hero-gold);
  font-family: Anton, Impact, sans-serif;
  font-size: 1.18rem;
  text-shadow: 0 0 22px rgba(255, 200, 61, 0.28);
}

nav {
  display: flex;
  gap: clamp(12px, 3vw, 34px);
  color: rgba(255, 247, 232, 0.78);
  font-size: 0.82rem;
}

nav a {
  position: relative;
}

nav a::after {
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), var(--pink));
  content: "";
  transition: width 180ms ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a.active {
  color: var(--hero-gold);
  text-shadow: 0 0 18px rgba(255, 200, 61, 0.32);
}

.menu-toggle {
  position: relative;
  display: none;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 2px solid rgba(255, 243, 214, 0.7);
  border-radius: 999px;
  background: rgba(9, 7, 6, 0.45);
  color: var(--paper);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span:first-child {
  transform: translate(-50%, -5px);
}

.menu-toggle span:last-child {
  transform: translate(-50%, 5px);
}

.menu-open .menu-toggle span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 118svh;
  overflow: visible;
  padding: 0;
  isolation: isolate;
  background:
    linear-gradient(180deg, var(--ink) 0 74%, rgba(18, 11, 24, 0.94) 92%, rgba(22, 16, 12, 0.96) 100%);
}

.hero-stage {
  position: sticky;
  top: 0;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 6vw, 88px) 8vh;
}

.hero-art,
.hero-shade,
.hero-noise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art {
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04) brightness(0.88);
  transform: scale(1.02);
  will-change: transform;
}

.hero-noise {
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 0.7px, transparent 0.7px);
  background-size: 4px 4px;
  mix-blend-mode: soft-light;
  opacity: 0.16;
}

.hero-shade {
  z-index: 1;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 47, 143, 0.12), transparent 30%),
    radial-gradient(circle at 20% 78%, rgba(0, 240, 212, 0.16), transparent 32%),
    linear-gradient(90deg, rgba(4, 3, 5, 0.86), rgba(4, 3, 5, 0.2) 50%, rgba(4, 3, 5, 0.42)),
    linear-gradient(0deg, rgba(18, 11, 24, 0.98), rgba(5, 4, 5, 0.54) 24%, transparent 58%);
}

.hero-frame {
  position: absolute;
  inset: 88px clamp(16px, 4vw, 54px) 42px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-bottom: 0;
  color: rgba(0, 240, 212, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
  pointer-events: none;
}

.hero-frame span {
  padding: 12px 14px;
  background: rgba(5, 4, 6, 0.28);
  backdrop-filter: blur(8px);
  text-shadow: 0 0 18px rgba(0, 240, 212, 0.34);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: min(1080px, 100%);
  transform: translateY(var(--hero-copy-y, 30px));
  opacity: var(--hero-copy-opacity, 0);
  will-change: transform, opacity;
}

.hero-copy .kicker,
.hero-copy .tagline,
.hero-proof,
.hero-actions,
.hero-meta {
  opacity: var(--hero-detail-opacity, 0);
  transform: translateY(var(--hero-detail-y, 28px));
  will-change: transform, opacity;
}

.hero-progress {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 25;
  width: calc(var(--hero-progress, 0) * 100%);
  height: 4px;
  background: linear-gradient(90deg, var(--lime), var(--sun), var(--pink));
}

.kicker,
.eyebrow {
  margin: 0 0 12px;
  color: var(--hero-accent);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  text-shadow: 0 0 22px rgba(0, 240, 212, 0.36);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1;
  text-wrap: balance;
}

h1 {
  max-width: none;
  color: var(--hero-title-fill, transparent);
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(5.2rem, var(--hero-title-size, 23vw), 24rem);
  font-weight: 900;
  text-transform: uppercase;
  -webkit-text-stroke: var(--hero-title-stroke, 2px) rgba(255, 247, 232, 0.94);
  text-stroke: var(--hero-title-stroke, 2px) rgba(255, 247, 232, 0.94);
  text-shadow: var(--hero-title-shadow, none);
  transform: translateX(var(--hero-title-x, -2vw));
  transform-origin: left center;
  will-change: color, font-size, text-shadow, transform;
}

h2 {
  font-size: clamp(2.35rem, 7vw, 6.2rem);
  font-weight: 900;
  line-height: 1.02;
}

h3 {
  font-size: clamp(1.7rem, 4vw, 3.3rem);
  font-weight: 900;
  line-height: 1.08;
}

.tagline {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--hero-text);
  font-size: clamp(1.08rem, 2vw, 1.72rem);
  font-weight: 900;
  line-height: 1.48;
  text-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
}

.hero-proof {
  max-width: 720px;
  margin: 12px 0 0;
  color: rgba(213, 255, 249, 0.78);
  font-size: clamp(0.88rem, 1.3vw, 1.04rem);
  font-weight: 900;
  line-height: 1.55;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-meta span {
  padding: 8px 12px;
  border: 1px solid rgba(0, 240, 212, 0.34);
  border-radius: 999px;
  background: rgba(5, 4, 6, 0.28);
  color: rgba(213, 255, 249, 0.92);
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 24px rgba(0, 240, 212, 0.08);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255, 241, 210, 0.72);
  border-radius: 6px;
  box-shadow: none;
  font-weight: 900;
  cursor: pointer;
  font: inherit;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  border-color: rgba(255, 200, 61, 0.9);
  background: linear-gradient(135deg, #ffe07a, var(--hero-gold) 44%, #ff8f3d);
  color: #160c05;
  box-shadow: 0 14px 34px rgba(255, 143, 61, 0.24);
}

.button.ghost {
  border-color: rgba(0, 240, 212, 0.52);
  background: rgba(0, 240, 212, 0.08);
  color: #d8fffb;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 28px rgba(0, 240, 212, 0.08);
}

.release-card {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(18px, 5vw, 70px);
  z-index: 3;
  display: grid;
  gap: 2px;
  width: min(220px, 42vw);
  padding: 17px;
  border: 1px solid rgba(181, 108, 255, 0.48);
  border-radius: 8px;
  background: rgba(5, 4, 6, 0.36);
  color: var(--paper);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
  transform: translateY(var(--hero-card-y, 42px)) scale(var(--hero-card-scale, 0.94));
  opacity: var(--hero-card-opacity, 0);
  will-change: transform, opacity;
}

.release-card span,
.release-card small {
  font-weight: 900;
  color: rgba(223, 209, 255, 0.82);
}

.release-card strong {
  font-family: Anton, Impact, sans-serif;
  color: var(--violet);
  font-size: 3.4rem;
  line-height: 1;
  text-shadow: 0 0 28px rgba(181, 108, 255, 0.42);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: rgba(0, 240, 212, 0.82);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  opacity: var(--scroll-cue-opacity, 1);
}

.scroll-cue i {
  display: block;
  width: 2px;
  height: 48px;
  background: linear-gradient(var(--teal), rgba(255, 47, 143, 0.2), transparent);
  animation: scrollPulse 1.35s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% {
    transform: scaleY(0.42);
    transform-origin: top;
    opacity: 0.45;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 56px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}

.preview-open .preview-modal {
  pointer-events: auto;
  opacity: 1;
}

.preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 7, 0.86);
  backdrop-filter: blur(12px);
}

.preview-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(20px, 4vw, 48px);
  width: min(1120px, 100%);
  max-height: min(760px, 88svh);
  overflow: auto;
  padding: clamp(18px, 3vw, 34px);
  border: 4px solid var(--paper);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 14px 14px 0 var(--pink);
  transform: translateY(18px) scale(0.98);
  transition: transform 220ms ease;
}

.preview-open .preview-panel {
  transform: translateY(0) scale(1);
}

.preview-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 3px solid var(--paper);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.preview-media {
  min-height: 360px;
  overflow: hidden;
  border-radius: 6px;
  background: #111;
}

.preview-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.preview-copy {
  display: grid;
  align-content: center;
  gap: 20px;
}

.preview-copy h2 {
  color: var(--sun);
  font-family: Anton, Impact, sans-serif;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 var(--pink);
}

.preview-copy p {
  line-height: 1.8;
}

.section-grid,
.feature-section,
.route-section,
.final-cta {
  padding: clamp(70px, 10vw, 140px) clamp(20px, 6vw, 88px);
  scroll-margin-top: 78px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 6vw, 86px);
  margin-top: -1px;
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 200, 61, 0.13), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(0, 240, 212, 0.16), transparent 24rem),
    linear-gradient(135deg, #16100c, #35114c 44%, #093c42);
}

.copy-stack {
  display: grid;
  gap: 24px;
  align-content: center;
  font-size: clamp(1rem, 1.45vw, 1.24rem);
  line-height: 1.75;
}

.copy-stack p {
  margin: 0;
}

.quote {
  padding: 22px;
  border-left: 8px solid var(--teal);
  background: rgba(255, 255, 255, 0.08);
  color: var(--sun);
  font-weight: 900;
}

.feature-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 47, 143, 0.2), transparent 34%),
    radial-gradient(circle at 20% 74%, rgba(0, 240, 212, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(5, 4, 6, 0.5), rgba(5, 4, 6, 0.86)),
    url("assets/hero-premium-bg-optimized.jpg") center / cover fixed;
  background-color: var(--ink);
  color: var(--paper);
}

.section-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.feature-section .eyebrow {
  color: var(--teal);
}

.work-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.work-card {
  min-height: 420px;
  display: grid;
  grid-column: span 2;
  align-content: end;
  padding: 18px;
  border: 4px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(180deg, transparent 0 44%, rgba(9, 7, 6, 0.88) 100%),
    linear-gradient(135deg, var(--teal), var(--blue) 45%, var(--pink));
  color: white;
  box-shadow: 8px 8px 0 var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.work-content {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 48px 72px 31px 82px 24px;
  align-content: start;
  gap: 12px;
  min-height: 304px;
  height: auto;
  min-height: 0;
  padding: 20px;
  border: 1px solid rgba(255, 247, 232, 0.26);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 247, 232, 0.16), rgba(255, 255, 255, 0.04) 42%, rgba(0, 240, 212, 0.1)),
    rgba(10, 8, 14, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -30px 80px rgba(0, 0, 0, 0.22),
    0 22px 56px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(24px) saturate(1.45) contrast(1.08);
  -webkit-backdrop-filter: blur(24px) saturate(1.45) contrast(1.08);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.work-content::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.34), transparent 26%),
    radial-gradient(circle at 92% 12%, rgba(0, 240, 212, 0.22), transparent 28%);
  opacity: 0.5;
  content: "";
  pointer-events: none;
}

.work-content::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 0.6px, transparent 0.6px);
  background-size: 4px 4px;
  opacity: 0.12;
  content: "";
  pointer-events: none;
}

.work-content > * {
  position: relative;
  z-index: 1;
}

.work-content:hover,
.work-content:focus-visible {
  border-color: rgba(255, 200, 61, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -30px 80px rgba(0, 0, 0, 0.2),
    0 26px 62px rgba(0, 0, 0, 0.46),
    0 0 0 4px rgba(255, 200, 61, 0.12);
  outline: 0;
  transform: translateY(-2px);
}

.work-content h3,
.work-facts,
.work-content p,
.case-link,
.work-content .number {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.work-card:nth-child(1) {
  background:
    linear-gradient(180deg, transparent 0 44%, rgba(9, 7, 6, 0.88) 100%),
    url("assets/work-buzzer-player-optimized.jpg") center / cover;
}

.work-card:nth-child(2) {
  background:
    linear-gradient(180deg, transparent 0 44%, rgba(9, 7, 6, 0.88) 100%),
    url("assets/work-idle.jpg") center / cover;
}

.work-card:nth-child(3) {
  background:
    linear-gradient(180deg, transparent 0 44%, rgba(9, 7, 6, 0.88) 100%),
    url("assets/work-zmagic-erp-optimized.jpg") center / cover;
}

.work-card:nth-child(4) {
  background:
    linear-gradient(180deg, transparent 0 44%, rgba(9, 7, 6, 0.88) 100%),
    url("assets/work-g-aero-macbook-optimized.jpg") center / cover;
}

.work-card:nth-child(5) {
  grid-column: span 4;
  background:
    linear-gradient(180deg, transparent 0 44%, rgba(9, 7, 6, 0.88) 100%),
    url("assets/work-visual-campaign-optimized.jpg") center / cover;
}

.work-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 14px 14px 0 var(--ink);
}

.number {
  align-self: start;
  color: var(--teal);
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(2.25rem, 4vw, 2.75rem);
  line-height: 1;
}

.work-content h3 {
  align-self: start;
  display: flex;
  align-items: end;
  min-height: 72px;
  max-width: 10ch;
  font-size: clamp(1.65rem, 2.35vw, 2.45rem);
  line-height: 1.08;
}

.work-card:nth-child(5) .work-content h3 {
  max-width: 10ch;
}

.work-card:nth-child(5) .work-content {
  justify-self: start;
  width: min(100%, 380px);
}

.work-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: start;
  min-height: 31px;
}

.work-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid rgba(0, 240, 212, 0.34);
  border-radius: 999px;
  background: rgba(5, 4, 6, 0.34);
  color: rgba(213, 255, 249, 0.9);
  font-size: 0.74rem;
  font-weight: 900;
}

.work-card p {
  align-self: start;
  min-height: 82px;
  margin: 0;
  color: rgba(255, 247, 232, 0.86);
  font-size: 0.94rem;
  line-height: 1.68;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.case-link {
  align-self: end;
  width: fit-content;
  margin-top: 0;
  color: var(--sun);
  border-bottom: 2px solid var(--sun);
  font-size: 0.92rem;
  font-weight: 900;
}

.work-content:hover .case-link,
.work-content:focus-visible .case-link {
  color: #ffe07a;
}

.route-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 26%, rgba(0, 240, 212, 0.2), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(255, 200, 61, 0.16), transparent 28%),
    linear-gradient(135deg, #071514, #1a1438 50%, #4a111d);
}

.route-section::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 243, 214, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 243, 214, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

.route-copy,
.map-board {
  position: relative;
  z-index: 1;
}

.route-copy p:last-child {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(255, 247, 232, 0.82);
  line-height: 1.8;
}

.map-board {
  position: relative;
  min-height: 660px;
  border: 1px solid rgba(255, 247, 232, 0.28);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 243, 214, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 243, 214, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 74% 22%, rgba(255, 63, 145, 0.5), transparent 22%),
    radial-gradient(circle at 24% 70%, rgba(16, 212, 194, 0.46), transparent 26%),
    linear-gradient(135deg, rgba(255, 247, 232, 0.1), rgba(255, 255, 255, 0.02)),
    #0e0b14;
  background-size: 54px 54px, 54px 54px, auto, auto, auto, auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -80px 140px rgba(0, 0, 0, 0.38),
    0 28px 80px rgba(0, 0, 0, 0.32);
}

.map-board::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 247, 232, 0.16);
  border-radius: 6px;
  content: "";
  pointer-events: none;
}

.map-route {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.map-route::before {
  position: absolute;
  left: 16%;
  top: 18%;
  width: 66%;
  height: 44%;
  border-top: 2px dashed rgba(255, 200, 61, 0.62);
  border-right: 2px dashed rgba(0, 240, 212, 0.58);
  border-bottom: 2px dashed rgba(255, 47, 143, 0.58);
  border-left: 2px dashed rgba(181, 108, 255, 0.5);
  border-radius: 120px;
  content: "";
  transform: rotate(4deg);
}

.map-route::after {
  position: absolute;
  left: 48%;
  top: 38%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--sun);
  box-shadow:
    0 0 0 8px rgba(255, 200, 61, 0.14),
    0 0 38px rgba(255, 200, 61, 0.64);
  content: "";
}

.pin {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 128px;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(255, 247, 232, 0.38);
  border-radius: 999px;
  background: rgba(9, 7, 6, 0.68);
  color: var(--paper);
  box-shadow:
    inset 0 0 28px rgba(255, 255, 255, 0.04),
    0 16px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pin span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 247, 232, 0.12);
  color: var(--teal);
  font-family: Anton, Impact, sans-serif;
  font-size: 0.88rem;
}

.pin:hover,
.pin:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 247, 232, 0.72);
  outline: 0;
}

.pin.active {
  border-color: rgba(255, 200, 61, 0.92);
  background: linear-gradient(135deg, #ffe07a, var(--sun) 48%, #ff7d48);
  color: var(--ink);
  box-shadow:
    0 0 0 8px rgba(255, 200, 61, 0.12),
    0 22px 56px rgba(255, 47, 143, 0.28);
}

.pin.active span {
  background: var(--ink);
  color: var(--sun);
}

.pin:nth-of-type(1) {
  left: 10%;
  top: 13%;
}

.pin:nth-of-type(2) {
  right: 8%;
  top: 20%;
}

.pin:nth-of-type(3) {
  left: 15%;
  top: 34%;
}

.pin:nth-of-type(4) {
  right: 11%;
  top: 43%;
}

.pin:nth-of-type(5) {
  left: 12%;
  top: 52%;
}

.pin:nth-of-type(6) {
  right: 9%;
  top: 53%;
}

.map-panel {
  position: absolute;
  left: clamp(18px, 4vw, 34px);
  right: clamp(18px, 4vw, 34px);
  bottom: clamp(18px, 4vw, 34px);
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(255, 247, 232, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 247, 232, 0.18), rgba(255, 255, 255, 0.05)),
    rgba(7, 6, 10, 0.74);
  color: var(--paper);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 20px 60px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(22px) saturate(1.35);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.map-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.map-panel span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 0 22px rgba(0, 240, 212, 0.36);
}

.map-panel strong {
  display: block;
  margin-top: 6px;
  color: var(--sun);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.28;
}

.map-panel p {
  margin: 10px 0 0;
  color: rgba(255, 247, 232, 0.82);
  font-size: 0.96rem;
  line-height: 1.68;
}

.map-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.map-panel li {
  padding: 7px 10px;
  border: 1px solid rgba(0, 240, 212, 0.3);
  border-radius: 999px;
  background: rgba(0, 240, 212, 0.08);
  color: #d8fffb;
  font-size: 0.82rem;
  font-weight: 900;
}

.final-cta {
  position: relative;
  min-height: 78svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: clamp(34px, 7vw, 96px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 4, 6, 0.2), rgba(5, 4, 6, 0.92)),
    radial-gradient(circle at 78% 22%, rgba(255, 200, 61, 0.24), transparent 28%),
    radial-gradient(circle at 18% 76%, rgba(0, 240, 212, 0.2), transparent 30%),
    linear-gradient(135deg, #090706, #211032 48%, #083d3a);
}

.final-cta::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 243, 214, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 243, 214, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  pointer-events: none;
}

.final-cta::after {
  position: absolute;
  right: clamp(20px, 6vw, 88px);
  bottom: clamp(18px, 5vw, 72px);
  width: min(520px, 58vw);
  height: min(520px, 58vw);
  border: 1px solid rgba(255, 247, 232, 0.12);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 200, 61, 0.18), transparent 58%),
    radial-gradient(circle at 38% 36%, rgba(255, 47, 143, 0.18), transparent 42%);
  box-shadow: inset 0 0 80px rgba(0, 240, 212, 0.08);
  content: "";
  pointer-events: none;
}

.contact-copy,
.contact-panel {
  position: relative;
  z-index: 1;
}

.contact-copy {
  max-width: 940px;
}

.final-cta h2 {
  max-width: 900px;
  text-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 247, 232, 0.82);
  font-size: clamp(1rem, 1.45vw, 1.24rem);
  font-weight: 900;
  line-height: 1.75;
}

.contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-tags span {
  padding: 8px 12px;
  border: 1px solid rgba(0, 240, 212, 0.3);
  border-radius: 999px;
  background: rgba(0, 240, 212, 0.08);
  color: #d8fffb;
  font-size: 0.78rem;
  font-weight: 900;
}

.contact-panel {
  display: grid;
  gap: 16px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 10px;
  min-height: 158px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(255, 247, 232, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 247, 232, 0.16), rgba(255, 255, 255, 0.05)),
    rgba(7, 6, 10, 0.62);
  color: var(--paper);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 24px 68px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px) saturate(1.3);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.22), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(0, 240, 212, 0.16), transparent 30%);
  content: "";
  pointer-events: none;
}

.contact-card > * {
  position: relative;
  z-index: 1;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 200, 61, 0.62);
  outline: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 28px 78px rgba(0, 0, 0, 0.42),
    0 0 0 4px rgba(255, 200, 61, 0.1);
}

.contact-card.primary {
  border-color: rgba(255, 200, 61, 0.38);
}

.contact-card span,
.contact-card small {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-card strong {
  color: var(--hero-gold);
  font-size: clamp(1.22rem, 2vw, 1.72rem);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.contact-card small {
  align-self: end;
  width: fit-content;
  color: rgba(255, 247, 232, 0.72);
  border-bottom: 1px solid rgba(255, 247, 232, 0.42);
}

.case-page {
  background:
    radial-gradient(circle at 72% 16%, rgba(0, 240, 212, 0.12), transparent 30%),
    radial-gradient(circle at 18% 68%, rgba(255, 47, 143, 0.14), transparent 32%),
    #050406;
}

.case-main {
  min-height: 100svh;
  padding: 108px clamp(18px, 5vw, 72px) 72px;
}

.case-hero {
  position: relative;
  min-height: min(760px, 78svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(255, 247, 232, 0.18);
  border-radius: 10px;
  background: #08060a;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.case-hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 4, 6, 0.92), rgba(5, 4, 6, 0.34) 58%, rgba(5, 4, 6, 0.66)),
    linear-gradient(0deg, rgba(5, 4, 6, 0.88), transparent 58%);
  content: "";
}

.case-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03) brightness(0.86);
}

.case-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  max-width: 900px;
  padding: clamp(28px, 6vw, 72px);
}

.case-hero-copy h1 {
  max-width: 10ch;
  color: var(--hero-gold);
  font-size: clamp(3.8rem, 10vw, 8.8rem);
  line-height: 0.94;
  -webkit-text-stroke: 0;
  text-stroke: 0;
  text-shadow: 0 16px 52px rgba(255, 47, 143, 0.3);
  transform: none;
}

.case-hero-copy p:last-child {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 247, 232, 0.84);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.75;
}

.case-section {
  margin-top: clamp(28px, 5vw, 56px);
}

.case-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.case-summary article {
  min-height: 128px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid rgba(255, 247, 232, 0.18);
  border-radius: 8px;
  background: rgba(255, 247, 232, 0.07);
  backdrop-filter: blur(18px);
}

.case-summary span {
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.2;
}

.case-summary strong {
  font-size: clamp(1.08rem, 1.6vw, 1.38rem);
  line-height: 1.32;
}

.case-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(24px, 6vw, 78px);
  align-items: start;
  padding: clamp(28px, 5vw, 62px) 0;
  border-top: 1px solid rgba(255, 247, 232, 0.16);
  border-bottom: 1px solid rgba(255, 247, 232, 0.16);
}

.case-grid h2 {
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1.04;
}

.case-grid > p {
  margin: 0;
  max-width: 680px;
  color: rgba(255, 247, 232, 0.8);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.86;
}

.case-grid > div {
  display: grid;
  gap: 4px;
}

.case-gallery {
  overflow: hidden;
  border: 1px solid rgba(255, 247, 232, 0.18);
  border-radius: 10px;
  background: rgba(255, 247, 232, 0.06);
}

.case-gallery img {
  display: block;
  width: 100%;
  max-height: 820px;
  object-fit: cover;
}

.case-gallery-stack {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  border: 0;
  background: transparent;
}

.case-gallery-stack img {
  max-height: none;
  border: 1px solid rgba(255, 247, 232, 0.16);
  border-radius: 8px;
  background: rgba(255, 247, 232, 0.04);
  box-shadow: 0 18px 62px rgba(0, 0, 0, 0.28);
  object-fit: contain;
}

.case-gallery-stack img.reveal-image {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.case-gallery-stack img.reveal-image.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.case-footer-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(28px, 5vw, 56px);
}

.back-to-top {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(18px, 4vw, 38px);
  z-index: 45;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 247, 232, 0.36);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 247, 232, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(7, 6, 10, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 18px 48px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: rgba(255, 200, 61, 0.72);
  outline: 0;
}

.back-to-top span {
  width: 13px;
  height: 13px;
  border-top: 3px solid var(--hero-gold);
  border-left: 3px solid var(--hero-gold);
  transform: translateY(4px) rotate(45deg);
}

@media (max-width: 840px) {
  .site-header {
    align-items: center;
  }

  .menu-toggle {
    z-index: 31;
    display: block;
  }

  nav {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    padding: 96px 24px 72px;
    gap: clamp(18px, 4vh, 28px);
    overflow-y: auto;
    background:
      radial-gradient(circle at 70% 20%, rgba(255, 63, 145, 0.36), transparent 26%),
      linear-gradient(135deg, rgba(9, 7, 6, 0.97), rgba(34, 10, 58, 0.97));
    font-size: clamp(2rem, 9vw, 4.2rem);
    line-height: 1.08;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translate3d(0, -10px, 0);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  nav a {
    display: block;
    width: min(100%, 12rem);
    padding: 2px 0 8px;
  }

  .menu-open nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translate3d(0, 0, 0);
  }

  .hero {
    min-height: 112svh;
  }

  .hero-stage {
    min-height: 100svh;
    padding-top: 110px;
  }

  .release-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

  .scroll-cue {
    left: auto;
    right: 18px;
    transform: none;
  }

  .section-grid,
  .route-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-card,
  .work-card:nth-child(5) {
    grid-column: auto;
  }

  .section-title {
    display: block;
  }

  .feature-section {
    background:
      radial-gradient(circle at 78% 18%, rgba(255, 47, 143, 0.2), transparent 34%),
      radial-gradient(circle at 20% 74%, rgba(0, 240, 212, 0.18), transparent 36%),
      linear-gradient(180deg, rgba(5, 4, 6, 0.52), rgba(5, 4, 6, 0.9)),
      url("assets/hero-premium-bg-optimized.jpg") center / cover;
    background-color: var(--ink);
  }

  .work-card {
    min-height: 300px;
  }

  .work-content {
    min-height: 286px;
    height: auto;
  }

  .map-board {
    min-height: 660px;
  }

  .pin:nth-of-type(1) {
    left: 8%;
    top: 12%;
  }

  .pin:nth-of-type(2) {
    right: 7%;
    top: 20%;
  }

  .pin:nth-of-type(3) {
    left: 10%;
    top: 32%;
  }

  .pin:nth-of-type(4) {
    right: 8%;
    top: 42%;
  }

  .pin:nth-of-type(5) {
    left: 10%;
    top: 51%;
  }

  .pin:nth-of-type(6) {
    right: 8%;
    top: 53%;
  }

  .preview-panel {
    grid-template-columns: 1fr;
  }

  .final-cta {
    min-height: auto;
    align-items: start;
  }

  .contact-panel {
    width: 100%;
  }

  .case-summary,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-footer-nav {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  html,
  body {
    overflow-x: hidden;
  }

  .site-header {
    padding-inline: 14px;
    background:
      linear-gradient(180deg, rgba(5, 4, 6, 0.94), rgba(5, 4, 6, 0.72) 58%, rgba(5, 4, 6, 0));
    backdrop-filter: blur(12px);
  }

  nav {
    gap: clamp(16px, 3.2vh, 24px);
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  h2 {
    font-size: clamp(2.05rem, 9vw, 3.15rem);
    line-height: 1.08;
  }

  .hero {
    min-height: auto;
    background: linear-gradient(180deg, var(--ink) 0 68%, #11100f 88%, #16100c 100%);
  }

  .hero-stage {
    min-height: auto;
    align-items: start;
    justify-items: center;
    padding: 142px 22px 58px;
  }

  .hero-copy {
    width: 100%;
    max-width: 21.4rem;
    padding-inline: 2px;
    text-align: center;
    transform: translateY(0);
    opacity: 1;
  }

  .hero-copy .kicker,
  .hero-copy .tagline,
  .hero-proof,
  .hero-actions,
  .hero-meta {
    opacity: 1;
    transform: translateY(0);
  }

  .hero-copy h1 {
    color: var(--hero-gold);
    margin-top: 4px;
    font-size: clamp(3.65rem, 19vw, 5.35rem);
    line-height: 0.96;
    -webkit-text-stroke: 0;
    text-stroke: 0;
    text-shadow:
      0 14px 38px rgba(255, 47, 143, 0.34),
      0 0 18px rgba(255, 200, 61, 0.26);
    transform: scale(1);
    transform-origin: left center;
  }

  .hero-copy .tagline {
    max-width: 20rem;
    margin-top: 16px;
    margin-inline: auto;
    font-size: 0.96rem;
    line-height: 1.68;
  }

  .hero-proof {
    max-width: 19rem;
    margin-top: 10px;
    margin-inline: auto;
    color: rgba(213, 255, 249, 0.82);
    font-size: 0.82rem;
    line-height: 1.65;
  }

  .hero-meta {
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
  }

  .hero-meta span {
    padding: 7px 10px;
    font-size: 0.74rem;
  }

  .hero-actions {
    display: grid;
    gap: 12px;
    margin-top: clamp(42px, 9vh, 76px);
  }

  .release-card {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .button {
    width: 100%;
    min-height: 52px;
    padding-inline: 18px;
  }

  .section-grid,
  .feature-section,
  .route-section,
  .final-cta {
    padding-top: clamp(56px, 14vw, 76px);
    padding-bottom: clamp(64px, 16vw, 88px);
  }

  .section-grid h2 {
    max-width: 12ch;
  }

  .contact-tags span {
    font-size: 0.72rem;
  }

  .contact-card {
    min-height: 132px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    padding: 12px;
  }

  .work-content {
    min-height: 276px;
    height: auto;
    padding: 18px;
  }

  .work-content h3 {
    max-width: 11ch;
    font-size: clamp(1.62rem, 8vw, 2.15rem);
  }

  .work-card p {
    font-size: 0.9rem;
    line-height: 1.62;
  }

  .pin {
    min-width: auto;
    min-height: 44px;
    padding-inline: 11px;
    font-size: 0.8rem;
  }

  .pin span {
    width: 24px;
    height: 24px;
    font-size: 0.76rem;
  }

  .map-board {
    min-height: 760px;
  }

  .map-route::before {
    left: 18%;
    top: 16%;
    width: 58%;
    height: 44%;
  }

  .pin:nth-of-type(1) {
    left: 7%;
    top: 9%;
  }

  .pin:nth-of-type(2) {
    right: 6%;
    top: 18%;
  }

  .pin:nth-of-type(3) {
    left: 7%;
    top: 28%;
  }

  .pin:nth-of-type(4) {
    right: 6%;
    top: 38%;
  }

  .pin:nth-of-type(5) {
    left: 7%;
    top: 48%;
  }

  .pin:nth-of-type(6) {
    right: 6%;
    top: 58%;
  }

  .map-panel {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .case-main {
    padding: 92px 20px 56px;
  }

  .case-hero {
    min-height: min(660px, 78svh);
  }

  .case-hero-copy {
    padding: 24px;
  }

  .case-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(3.1rem, 15vw, 4.6rem);
    line-height: 0.98;
  }

  .case-summary article {
    min-height: 112px;
  }

  .case-grid h2 {
    font-size: clamp(2.35rem, 11vw, 3.8rem);
  }
}
