:root {
  --bg: #0b0b0c;
  --surface: #131315;
  --surface-2: #19191c;
  --ink: #f2f1ec;
  --ink-2: rgba(242, 241, 236, 0.72);
  --muted: #8b8984;
  --line: rgba(242, 241, 236, 0.12);
  --line-soft: rgba(242, 241, 236, 0.07);
  --accent: #c6ff2e;
  --max: 1320px;
  --pad: clamp(20px, 4.5vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: #0b0b0c;
}

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

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

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

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ================= NAV ================= */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled,
.nav.open {
  background: rgba(11, 11, 12, 0.78);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line-soft);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--pad);
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 18px rgba(198, 255, 46, 0.45);
}

.brand-word {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.32em;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
  color: var(--ink-2);
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-mobile-cta {
  display: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  background: none;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font: 500 11px var(--mono);
  letter-spacing: 0.1em;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.lang:hover {
  color: var(--ink);
  border-color: rgba(242, 241, 236, 0.4);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: none;
  cursor: pointer;
  position: relative;
}

.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.burger span:first-child {
  top: 16px;
}

.burger span:last-child {
  top: 23px;
}

.nav.open .burger span:first-child {
  top: 19.5px;
  transform: rotate(45deg);
}

.nav.open .burger span:last-child {
  top: 19.5px;
  transform: rotate(-45deg);
}

/* ================= BUTTONS ================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: var(--bg);
  font: 500 14px var(--body);
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13px;
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-line:hover {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.link {
  display: inline-flex;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ================= COMMON ================= */

.section {
  padding: clamp(96px, 13vw, 168px) 0;
  border-top: 1px solid var(--line-soft);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 3fr;
  gap: 24px;
  align-items: baseline;
  margin-bottom: clamp(48px, 7vw, 88px);
}

.eyebrow {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font: 500 12px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.idx {
  color: var(--accent);
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1.02;
  max-width: 16ch;
}

.muted-line {
  color: var(--muted);
}

/* ================= HERO ================= */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(48px, 8vw, 96px);
  padding: 140px 0 40px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 82% 18%, rgba(198, 255, 46, 0.09), transparent 70%),
    radial-gradient(50% 45% at 10% 90%, rgba(120, 110, 255, 0.07), transparent 70%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(80% 70% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 70% at 60% 40%, #000 20%, transparent 75%);
  opacity: 0.6;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: clamp(28px, 4vw, 44px);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(198, 255, 46, 0.6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(198, 255, 46, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(198, 255, 46, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(198, 255, 46, 0);
  }
}

.hero-title {
  font-size: clamp(3rem, 10.4vw, 9.4rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.hero-title span {
  display: block;
}

.hero-foot {
  margin-top: clamp(32px, 5vw, 56px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.lede {
  max-width: 52ch;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font: 400 12px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ================= WORK / CASE ================= */

.case {
  display: grid;
  gap: clamp(32px, 4vw, 56px);
}

.case-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #1a1630;
  border: 1px solid var(--line);
  isolation: isolate;
}

.case-poster,
.case-live {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.case-live {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s var(--ease);
}

.case-live.ready {
  opacity: 1;
}

.case-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0) 55%, rgba(11, 11, 12, 0.55));
  pointer-events: none;
}

.case-chip {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  font: 500 11px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4b3a;
  box-shadow: 0 0 10px #ff4b3a;
  animation: blink 1.6s infinite;
}

@keyframes blink {
  50% {
    opacity: 0.3;
  }
}

.case-play {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #0b0b0c;
  font-weight: 500;
  font-size: 14px;
  transition: transform 0.4s var(--ease);
}

.case-media:hover .case-play {
  transform: scale(1.06);
}

.case-body {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 80px);
}

.case-kicker {
  font: 500 12px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.case-title h3 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.case-desc {
  color: var(--ink-2);
  font-size: 1.05rem;
  max-width: 46ch;
  margin-bottom: 26px;
}

.case-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
}

.case-meta div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.case-meta dt {
  font: 500 11px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.case-meta dd {
  margin: 0;
  font-size: 14px;
}

.case-points {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
}

.case-points li {
  background: var(--bg);
  padding: 24px 22px 26px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.case-points strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.case-points span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.case-note {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--muted);
}

/* ================= SERVICES ================= */

.svc-list {
  border-top: 1px solid var(--line);
}

.svc {
  display: grid;
  grid-template-columns: 80px 1.4fr 1fr;
  gap: 24px;
  align-items: start;
  padding: clamp(28px, 3.5vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}

.svc-num {
  font: 500 13px var(--mono);
  color: var(--muted);
  padding-top: 10px;
  transition: color 0.3s var(--ease);
}

.svc:hover .svc-num {
  color: var(--accent);
}

.svc h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.1;
  margin-bottom: 12px;
  transition: transform 0.5s var(--ease);
}

.svc:hover h3 {
  transform: translateX(6px);
}

.svc p {
  color: var(--ink-2);
  max-width: 50ch;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  padding-top: 8px;
}

.tags li {
  font-size: 12px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
}

/* ================= AUDIENCE ================= */

.aud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.aud {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: clamp(26px, 3vw, 38px);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease);
}

.aud:hover {
  border-color: var(--line);
  transform: translateY(-4px);
}

.aud h3 {
  font-size: 1.6rem;
  line-height: 1.1;
}

.aud p {
  color: var(--ink-2);
  font-size: 15px;
}

/* ================= PROCESS ================= */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  position: relative;
}

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.step-num {
  display: block;
  font: 500 13px var(--mono);
  color: var(--muted);
  margin-bottom: 44px;
}

.step h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.step p {
  color: var(--ink-2);
  font-size: 15px;
}

/* ================= STUDIO ================= */

.studio-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.portrait {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  max-width: 460px;
}

.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.04);
  transition: transform 1.2s var(--ease), filter 1.2s var(--ease);
}

.portrait:hover img {
  transform: scale(1.03);
  filter: grayscale(0) contrast(1.04);
}

.studio-copy .eyebrow {
  margin-bottom: 26px;
}

.studio-copy h2 {
  margin-bottom: 28px;
  max-width: 14ch;
}

.studio-copy > p {
  color: var(--ink-2);
  font-size: 1.05rem;
  max-width: 52ch;
  margin-bottom: 16px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 36px 0 0;
  border-top: 1px solid var(--line);
}

.facts div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.facts dt {
  font: 500 11px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.facts dd {
  margin: 0;
  font-size: 15px;
}

/* ================= CONTACT ================= */

.contact {
  padding-bottom: clamp(80px, 10vw, 140px);
}

.contact .eyebrow {
  margin-bottom: 30px;
}

.contact-title {
  font-size: clamp(3rem, 9vw, 8.4rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  max-width: none;
}

.contact-title span {
  display: block;
}

.contact-row {
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.mail {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  transition: color 0.3s var(--ease);
}

.mail span {
  font-size: 0.6em;
  color: var(--accent);
  transition: transform 0.4s var(--ease);
}

.mail:hover {
  color: var(--accent);
}

.mail:hover span {
  transform: translate(4px, -4px);
}

.contact-note {
  max-width: 36ch;
  color: var(--muted);
  font-size: 15px;
}

/* ================= FOOTER ================= */

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 28px 0 36px;
  font-size: 13px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer .brand-word {
  color: var(--ink);
  font-size: 13px;
}

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

/* ================= REVEAL ================= */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1000px) {
  .case-body {
    grid-template-columns: 1fr;
  }

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

  .svc {
    grid-template-columns: 56px 1fr;
  }

  .tags {
    grid-column: 2;
    justify-content: flex-start;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 48px;
  }

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

  .aud {
    min-height: 0;
  }
}

@media (max-width: 860px) {
  .burger {
    display: block;
  }

  .nav-right .btn-sm {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--pad) 28px;
    background: rgba(11, 11, 12, 0.96);
    border-bottom: 1px solid var(--line-soft);
    font-size: 22px;
    font-family: var(--display);
    color: var(--ink);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-mobile-cta {
    display: block;
    color: var(--accent);
  }

  .nav.open .nav-links {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-right {
    margin-left: auto;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .portrait {
    max-width: 360px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 120px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .case-media {
    aspect-ratio: 4 / 5;
    border-radius: 14px;
  }

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

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

  .svc {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .svc-num {
    padding-top: 0;
  }

  .tags {
    grid-column: 1;
  }

  .steps {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }

  .step-num {
    margin-bottom: 20px;
  }

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

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

  .pulse,
  .case-chip i {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
