:root {
  --bg: #07080a;
  --text: #e8e6e1;
  --muted: #8b8f9a;
  --line: rgba(232, 230, 225, 0.1);
  --accent: #5eead4;
  --accent-dim: rgba(94, 234, 212, 0.14);
  --selection-bg: #5eead4;
  --selection-text: #061210;
  --font-display: "Syne", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --page-pad: clamp(1rem, 4vw, 1.5rem);
}

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

img,
video,
iframe {
  max-width: 100%;
}

::selection {
  background: var(--selection-bg);
  color: var(--selection-text);
}

::-moz-selection {
  background: var(--selection-bg);
  color: var(--selection-text);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.has-custom-cursor,
body.has-custom-cursor * {
  cursor: none !important;
}

/* Load veil */
.veil {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: #050607;
  opacity: 0;
  transition: opacity 0.9s var(--ease-out);
}

body.is-loading .veil {
  opacity: 1;
}

body.is-ready .veil {
  opacity: 0;
}

/* Footage background */
.stage {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #07080a;
}

.stage-footage {
  position: absolute;
  inset: -12%;
  pointer-events: none;
  transform: scale(1.04);
  animation: footage-drift 28s ease-in-out infinite alternate;
  background: var(--poster) center / cover no-repeat;
}

.stage-footage iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.78vh;
  border: 0;
  transform: translate(-50%, -50%);
  filter: saturate(1.05) contrast(1.05);
}

.stage-poster-mask {
  position: absolute;
  inset: -12%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.9s var(--ease-out);
  z-index: 1;
}

body.is-ready .stage-poster-mask {
  opacity: 0;
  transition-delay: 1.1s;
}

.stage-dim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(105deg, rgba(7, 8, 10, 0.82) 0%, rgba(7, 8, 10, 0.42) 48%, rgba(7, 8, 10, 0.55) 100%),
    linear-gradient(180deg, rgba(7, 8, 10, 0.28) 0%, rgba(7, 8, 10, 0.12) 55%, rgba(7, 8, 10, 0.45) 100%);
}

.stage-noise {
  position: absolute;
  inset: -50%;
  z-index: 3;
  width: 200%;
  height: 200%;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: noise-shift 0.4s steps(3) infinite;
  pointer-events: none;
}

.stage-vignette {
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, transparent 25%, rgba(7, 8, 10, 0.55) 100%),
    linear-gradient(180deg, transparent 70%, rgba(7, 8, 10, 0.35) 100%);
}

.page-edits--lite {
  background: #07080a;
}

.page-edits--lite .site-header,
.page-edits--lite .catalog,
.page-edits--lite .site-footer {
  position: relative;
  z-index: 1;
}

.page-edits--lite .catalog-intro {
  padding-top: clamp(2rem, 6vh, 3.5rem);
}

@keyframes footage-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, 1%, 0);
  }
}

@keyframes noise-shift {
  0% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(-1.5%, 1%);
  }
  66% {
    transform: translate(1%, -1.5%);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* Custom cursor */
.cursor-root {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

.cursor-root.is-gone {
  opacity: 0;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  will-change: transform;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--accent);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(94, 234, 212, 0.7);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), margin 0.25s var(--ease-out),
    border-color 0.2s ease, background 0.2s ease;
}

.cursor-root.is-hover .cursor-ring {
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-color: rgba(94, 234, 212, 0.95);
  background: rgba(94, 234, 212, 0.08);
}

.cursor-root.is-down .cursor-ring {
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  background: rgba(94, 234, 212, 0.18);
}

.cursor-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cursor-ripple {
  position: fixed;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  animation: cursor-ripple 0.65s var(--ease-out) forwards;
}

@keyframes cursor-ripple {
  from {
    transform: scale(0.4);
    opacity: 0.95;
  }
  to {
    transform: scale(6.5);
    opacity: 0;
  }
}

/* Blurred edit collage (hero decoration) */
.edit-field {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  --px: 0px;
  --py: 0px;
}

.edit-frame {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid rgba(232, 230, 225, 0.08);
  opacity: 0;
  --blur: 10px;
  --bright: 0.55;
  --sat: 0.85;
  --depth: 1;
  filter: blur(var(--blur)) saturate(var(--sat)) brightness(var(--bright));
  transform: translate3d(calc(var(--px) * var(--depth)), calc(var(--py) * var(--depth)), 0);
  will-change: transform, opacity, filter;
}

body.is-ready .edit-frame {
  animation:
    frame-fade 1.35s var(--ease-out) var(--in-delay, 0.4s) both,
    frame-float var(--float-dur, 12s) ease-in-out var(--float-delay, 1.5s) infinite alternate;
}

.edit-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
  animation: kenburns 18s ease-in-out infinite alternate;
}

.edit-frame--1 {
  width: min(42vw, 380px);
  aspect-ratio: 16 / 10;
  top: 8%;
  right: 4%;
  --float-dur: 11s;
  --float-delay: 1.6s;
  --in-delay: 0.35s;
  --depth: 1.15;
  --blur: 9px;
  --bright: 0.58;
  --sat: 0.9;
}

.edit-frame--2 {
  width: min(34vw, 300px);
  aspect-ratio: 16 / 10;
  top: 28%;
  right: 28%;
  --float-dur: 14s;
  --float-delay: 1.8s;
  --in-delay: 0.5s;
  --depth: 0.7;
  --blur: 14px;
  --bright: 0.4;
  --sat: 0.7;
}

.edit-frame--3 {
  width: min(28vw, 250px);
  aspect-ratio: 16 / 10;
  top: 4%;
  right: 36%;
  --float-dur: 12s;
  --float-delay: 1.9s;
  --in-delay: 0.65s;
  --depth: 1;
  --blur: 8px;
  --bright: 0.5;
  --sat: 0.9;
}

.edit-frame--4 {
  width: min(24vw, 210px);
  aspect-ratio: 16 / 10;
  top: 48%;
  right: 8%;
  --float-dur: 13s;
  --float-delay: 2s;
  --in-delay: 0.8s;
  --depth: 0.55;
  --blur: 16px;
  --bright: 0.35;
  --sat: 0.65;
}

.edit-frame--5 {
  width: min(22vw, 190px);
  aspect-ratio: 16 / 10;
  top: 58%;
  right: 34%;
  --float-dur: 15s;
  --float-delay: 2.1s;
  --in-delay: 0.95s;
  --depth: 0.4;
  --blur: 18px;
  --bright: 0.3;
  --sat: 0.6;
}

.edit-field-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 10, 0.97) 0%, rgba(7, 8, 10, 0.55) 42%, transparent 72%),
    linear-gradient(180deg, transparent 55%, rgba(7, 8, 10, 0.95) 100%),
    linear-gradient(0deg, transparent 80%, rgba(7, 8, 10, 0.5) 100%);
}

@keyframes frame-fade {
  from {
    opacity: 0;
    filter: blur(28px) saturate(0.5) brightness(0.2);
  }
  to {
    opacity: 1;
    filter: blur(var(--blur)) saturate(var(--sat)) brightness(var(--bright));
  }
}

@keyframes frame-float {
  from {
    transform: translate3d(calc(var(--px) * var(--depth)), calc(var(--py) * var(--depth)), 0)
      translateY(0) rotate(-1.2deg);
  }
  to {
    transform: translate3d(calc(var(--px) * var(--depth)), calc(var(--py) * var(--depth)), 0)
      translateY(-18px) rotate(1.5deg);
  }
}

@keyframes kenburns {
  from {
    transform: scale(1.12) translate(0, 0);
  }
  to {
    transform: scale(1.28) translate(-3%, 2%);
  }
}

/* Layout */
.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.25rem var(--page-pad) 0;
  padding-top: max(1.25rem, env(safe-area-inset-top));
  padding-left: max(var(--page-pad), env(safe-area-inset-left));
  padding-right: max(var(--page-pad), env(safe-area-inset-right));
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.03em;
  color: inherit;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.85rem 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.status {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.35rem 0.7rem;
  border-radius: 2px;
  backdrop-filter: blur(8px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-head .section-lede {
  margin-bottom: 0;
}

.text-link {
  flex-shrink: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

main {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 var(--page-pad) 4rem;
  padding-left: max(var(--page-pad), env(safe-area-inset-left));
  padding-right: max(var(--page-pad), env(safe-area-inset-right));
}

.home-main {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 var(--page-pad);
  padding-left: max(var(--page-pad), env(safe-area-inset-left));
  padding-right: max(var(--page-pad), env(safe-area-inset-right));
  position: relative;
  z-index: 1;
}

.hero {
  min-height: calc(100vh - 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 10vh, 6rem) 0 clamp(8rem, 18vh, 12rem);
  max-width: 40rem;
  gap: 0.25rem;
}

.hero h1 {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.15rem, 5.5vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.lede {
  margin: 0 0 2.75rem;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 32rem;
  line-height: 1.65;
}

.home-panel {
  position: relative;
  z-index: 2;
  margin-top: clamp(2rem, 8vh, 5rem);
  background: #07080a;
  border-top: 1px solid var(--line);
  box-shadow: 0 -40px 80px rgba(7, 8, 10, 0.55);
}

.home-panel-inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vh, 5.5rem) max(var(--page-pad), env(safe-area-inset-left))
    max(2.5rem, env(safe-area-inset-bottom));
  padding-right: max(var(--page-pad), env(safe-area-inset-right));
}

.home-panel .examples {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.home-panel .pay {
  padding-top: clamp(3.5rem, 7vh, 5rem);
  margin-top: clamp(3rem, 6vh, 4rem);
}

.home-panel .site-footer {
  max-width: none;
  margin-top: clamp(3rem, 6vh, 4.5rem);
  padding: clamp(2rem, 4vh, 2.75rem) 0 0.5rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.35rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #061210;
  background: var(--accent);
  text-decoration: none;
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), background 0.2s ease, box-shadow 0.25s ease;
}

.btn:hover {
  background: #7ff5e0;
  transform: translateY(-2px);
}

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

.cta {
  margin-top: 0.25rem;
}

.cta-note {
  margin: 1.15rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 26rem;
}

.examples,
.pay {
  padding: 3rem 0 0;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}

.examples h2,
.pay h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-lede {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 34rem;
}

.section-head + .video-list .section-lede,
.section-head .section-lede {
  margin-bottom: 0;
}

/* Edits catalog page */
.catalog {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 max(var(--page-pad), env(safe-area-inset-left)) 4rem;
  padding-right: max(var(--page-pad), env(safe-area-inset-right));
  padding-bottom: max(4rem, env(safe-area-inset-bottom));
}

.catalog-intro {
  padding: clamp(2.5rem, 8vh, 4.5rem) 0 2.5rem;
  max-width: 38rem;
}

.catalog-intro .status {
  display: inline-block;
  margin-bottom: 1rem;
}

.catalog-intro h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.catalog-intro .lede {
  margin-bottom: 0;
}

.edit-catalog {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.edit-row {
  display: grid;
  gap: 1.5rem;
  padding: 2.25rem 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 900px) {
  .edit-row {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2.5rem;
    padding: 2.75rem 0;
  }
}

.edit-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(232, 230, 225, 0.08);
  background: #0c0e12;
}

.edit-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-facade {
  display: block;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
}

.yt-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out), filter 0.3s ease;
  filter: saturate(0.95) brightness(0.88);
}

.yt-facade:hover img,
.yt-facade:focus-visible img {
  transform: scale(1.03);
  filter: saturate(1.05) brightness(0.95);
}

.yt-facade:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.yt-facade-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3.25rem;
  height: 3.25rem;
  margin: -1.625rem 0 0 -1.625rem;
  border-radius: 50%;
  background: rgba(7, 8, 10, 0.55);
  border: 1px solid rgba(94, 234, 212, 0.55);
  backdrop-filter: blur(6px);
  transition: transform 0.25s var(--ease-out), background 0.2s ease, border-color 0.2s ease;
  z-index: 1;
}

.yt-facade-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.45rem 0 0.45rem 0.75rem;
  border-color: transparent transparent transparent var(--accent);
}

.yt-facade:hover .yt-facade-play,
.yt-facade:focus-visible .yt-facade-play {
  transform: scale(1.06);
  background: rgba(7, 8, 10, 0.7);
  border-color: var(--accent);
}

.yt-facade.is-playing {
  cursor: default;
}

.edit-copy {
  padding-top: 0.15rem;
}

.edit-index {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.edit-copy h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.edit-copy p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 1rem;
  max-width: 36rem;
}

.edit-copy p:last-child {
  margin-bottom: 0;
}

.video-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .video-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.video {
  display: block;
  text-decoration: none;
  color: inherit;
}

.video-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(180deg, transparent 40%, rgba(10, 11, 13, 0.55)),
    var(--thumb) center / cover no-repeat;
  border-radius: 2px;
  border: 1px solid rgba(232, 230, 225, 0.06);
  transition: transform 0.45s var(--ease-out), opacity 0.25s ease, filter 0.35s ease;
  opacity: 0.92;
  filter: saturate(0.95);
}

.video:hover .video-thumb {
  transform: scale(1.03) translateY(-3px);
  opacity: 1;
  filter: saturate(1.05);
}

.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.video-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.video-link {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.pay .section-lede {
  margin-bottom: 0;
}

.reviews {
  padding: clamp(3.5rem, 7vh, 5rem) 0 0;
  border-top: 1px solid var(--line);
  margin-top: clamp(3rem, 6vh, 4rem);
}

.reviews h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.reviews .section-lede {
  margin-bottom: 1.5rem;
}

.review-card {
  position: relative;
  display: block;
  width: fit-content;
  max-width: min(100%, 22rem);
  text-decoration: none;
  color: inherit;
  outline: none;
}

.review-shot {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid rgba(232, 230, 225, 0.08);
  isolation: isolate;
  transition:
    transform 0.45s var(--ease-out),
    border-color 0.3s ease,
    box-shadow 0.45s var(--ease-out);
}

.review-shot.media-fx {
  overflow: visible;
  border: none;
}

.review-shot.media-fx img {
  border-radius: 2px;
  border: 1px solid rgba(232, 230, 225, 0.08);
  box-sizing: border-box;
}

.review-card:hover .review-shot.media-fx img,
.review-card:focus-visible .review-shot.media-fx img {
  border-color: rgba(94, 234, 212, 0.35);
}

.review-shot img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  animation: media-float 6.2s ease-in-out infinite;
  transition: transform 0.55s var(--ease-out), filter 0.45s ease;
}

.review-edit {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem 0.75rem;
  background: rgba(7, 8, 10, 0.82);
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 2px;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  pointer-events: none;
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}

.review-edit-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.review-edit-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.review-card:hover .review-shot,
.review-card:focus-visible .review-shot {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(94, 234, 212, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.review-card:hover .review-shot img,
.review-card:focus-visible .review-shot img {
  animation-play-state: paused;
  transform: scale(1.04);
  filter: saturate(1.08) brightness(1.05);
}

.review-card:hover .review-edit,
.review-card:focus-visible .review-edit {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.review-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.home-panel .reviews {
  border-top: 1px solid var(--line);
}

.pay-row {
  display: flex;
  align-items: center;
  gap: 1.25rem 1.5rem;
  max-width: 40rem;
}

.pay-icon-wrap {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  isolation: isolate;
}

.pay-icon {
  position: relative;
  z-index: 1;
  width: clamp(4.5rem, 14vw, 6.5rem);
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
  animation: media-float 5.5s ease-in-out infinite;
}

@media (max-width: 520px) {
  .pay-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* About me */
.about {
  padding: clamp(3.5rem, 7vh, 5rem) 0 0;
  border-top: 1px solid var(--line);
  margin-top: clamp(3rem, 6vh, 4rem);
}

.about h2 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem 3rem;
  }
}

.about-ign {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.85rem;
  margin: 0 0 1.15rem;
}

.about-ign-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-ign-name {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.about-copy p:last-child {
  margin: 0;
  color: var(--muted);
  max-width: 34rem;
  line-height: 1.65;
}

.about-visual {
  position: relative;
  margin: 0;
  justify-self: center;
  width: min(100%, 380px);
  isolation: isolate;
}

.about-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  animation: media-float 7s ease-in-out infinite;
  filter: drop-shadow(0 12px 28px rgba(94, 234, 212, 0.12));
}

.media-fx {
  position: relative;
}

.media-fx-canvas {
  position: absolute;
  inset: -18%;
  width: 136%;
  height: 136%;
  pointer-events: none;
  z-index: 2;
}

.review-shot .media-fx-canvas {
  z-index: 3;
}

@keyframes media-float {
  0%,
  100% {
    transform: translateY(0) rotate(-0.4deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.6deg);
  }
}

/* Krunker profile */
.krunker {
  padding: clamp(3.5rem, 7vh, 5rem) 0 0;
  border-top: 1px solid var(--line);
  margin-top: clamp(3rem, 6vh, 4rem);
}

.krunker-status {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.krunker-body {
  margin-top: 1.5rem;
  display: grid;
  gap: 2rem;
}

.krunker-level {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 1rem;
}

.krunker-level-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.krunker-level-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.krunker-clan {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.krunker-stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

@media (min-width: 640px) {
  .krunker-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .krunker-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.krunker-stat {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.krunker-stat dt {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.krunker-stat dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.krunker-items h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.krunker-item-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

@media (min-width: 720px) {
  .krunker-item-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 1.25rem;
  }
}

.krunker-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.krunker-item-rank {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.krunker-item-main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.krunker-item-name {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.krunker-item-meta {
  font-size: 0.82rem;
  color: var(--muted);
}

.krunker-item.rarity-contraband .krunker-item-name {
  color: #ff6b6b;
}

.krunker-item.rarity-relic .krunker-item-name {
  color: #f0c674;
}

.krunker-item.rarity-legendary .krunker-item-name {
  color: #f5a623;
}

.krunker-item.rarity-epic .krunker-item-name {
  color: #c792ea;
}

.krunker-item.rarity-rare .krunker-item-name {
  color: #82aaff;
}

.krunker-item.rarity-uncommon .krunker-item-name {
  color: #7fdb9a;
}

.krunker-item-empty {
  color: var(--muted);
  padding: 0.5rem 0;
}

.home-panel .about,
.home-panel .krunker {
  border-top: 1px solid var(--line);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.5rem;
  max-width: 68rem;
  margin: 0 auto;
  padding: 2rem max(var(--page-pad), env(safe-area-inset-left))
    max(2.5rem, env(safe-area-inset-bottom));
  padding-right: max(var(--page-pad), env(safe-area-inset-right));
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Reveal on load (hero / header) */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 0.95s var(--ease-out) var(--d, 0s),
    transform 0.95s var(--ease-out) var(--d, 0s),
    filter 0.95s var(--ease-out) var(--d, 0s);
}

body.is-ready .reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Scroll text animations */
.scroll-anim {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(10px);
  transition:
    opacity 0.85s var(--ease-out) var(--scroll-d, 0s),
    transform 0.85s var(--ease-out) var(--scroll-d, 0s),
    filter 0.85s var(--ease-out) var(--scroll-d, 0s);
  will-change: opacity, transform, filter;
}

.scroll-anim.scroll-anim--left {
  transform: translateX(-28px);
}

.scroll-anim.scroll-anim--right {
  transform: translateX(28px);
}

.scroll-anim.scroll-anim--soft {
  transform: translateY(18px);
  filter: blur(4px);
}

.scroll-anim.is-inview {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.scroll-stagger > .scroll-anim:nth-child(1) { --scroll-d: 0.05s; }
.scroll-stagger > .scroll-anim:nth-child(2) { --scroll-d: 0.14s; }
.scroll-stagger > .scroll-anim:nth-child(3) { --scroll-d: 0.23s; }
.scroll-stagger > .scroll-anim:nth-child(4) { --scroll-d: 0.32s; }
.scroll-stagger > .scroll-anim:nth-child(5) { --scroll-d: 0.41s; }
.scroll-stagger > .scroll-anim:nth-child(6) { --scroll-d: 0.5s; }
.scroll-stagger > .scroll-anim:nth-child(7) { --scroll-d: 0.59s; }
.scroll-stagger > .scroll-anim:nth-child(8) { --scroll-d: 0.68s; }

/* Responsive */
@media (max-width: 1100px) {
  .edit-row {
    gap: 1.75rem;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: calc(100dvh - 5rem);
    padding: clamp(2.5rem, 8vh, 4rem) 0 clamp(5rem, 14vh, 8rem);
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.75rem);
    margin-bottom: 1.35rem;
  }

  .lede {
    font-size: 1.02rem;
    margin-bottom: 2rem;
  }

  .stage-dim {
    background:
      linear-gradient(180deg, rgba(7, 8, 10, 0.55) 0%, rgba(7, 8, 10, 0.35) 40%, rgba(7, 8, 10, 0.55) 100%),
      linear-gradient(105deg, rgba(7, 8, 10, 0.88) 0%, rgba(7, 8, 10, 0.55) 55%, rgba(7, 8, 10, 0.45) 100%);
  }

  .home-panel {
    margin-top: clamp(1rem, 4vh, 2.5rem);
  }

  .catalog-intro {
    padding: clamp(1.75rem, 5vh, 3rem) 0 1.75rem;
    max-width: 100%;
  }

  .edit-copy h2 {
    font-size: clamp(1.2rem, 4.5vw, 1.45rem);
  }
}

@media (max-width: 720px) {
  body {
    font-size: 1rem;
  }

  .site-header {
    padding-top: max(1rem, env(safe-area-inset-top));
    row-gap: 0.85rem;
  }

  .brand {
    font-size: clamp(1.2rem, 5.5vw, 1.45rem);
    width: 100%;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.35rem 1rem;
  }

  .nav-link {
    font-size: 0.88rem;
    padding: 0.35rem 0;
  }

  .hero {
    min-height: auto;
    padding: 2.25rem 0 4.5rem;
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
    margin-bottom: 1.1rem;
  }

  .lede {
    font-size: 0.98rem;
    margin-bottom: 1.75rem;
    line-height: 1.6;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 0.95rem 1.2rem;
  }

  .cta-note {
    font-size: 0.88rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.35rem;
  }

  .home-panel-inner {
    padding-top: 2.75rem;
  }

  .home-panel .pay {
    padding-top: 2.75rem;
    margin-top: 2.5rem;
  }

  .video-list {
    gap: 1.15rem;
  }

  .video-meta {
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
  }

  .edit-field {
    height: 70vh;
    opacity: 0.55;
  }

  .edit-frame--1 {
    width: 62vw;
    right: -6%;
    top: 12%;
  }

  .edit-frame--2 {
    width: 48vw;
    right: 22%;
    top: 28%;
  }

  .edit-frame--3 {
    width: 40vw;
    right: 4%;
    top: 48%;
  }

  .edit-frame--4,
  .edit-frame--5 {
    display: none;
  }

  .edit-field-fade {
    background:
      linear-gradient(180deg, rgba(7, 8, 10, 0.45) 0%, rgba(7, 8, 10, 0.65) 45%, rgba(7, 8, 10, 0.98) 100%),
      linear-gradient(90deg, rgba(7, 8, 10, 0.82) 0%, transparent 70%);
  }

  .edit-row {
    padding: 1.75rem 0;
    gap: 1.15rem;
  }

  .edit-copy {
    padding-top: 0;
  }

  .edit-index {
    margin-bottom: 0.4rem;
  }

  .edit-copy p {
    font-size: 0.95rem;
  }

  .yt-facade-play {
    width: 2.85rem;
    height: 2.85rem;
    margin: -1.425rem 0 0 -1.425rem;
  }

  .page-edits--lite .catalog-intro {
    padding-top: 1.5rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .nav {
    gap: 0.25rem 0.85rem;
  }

  .hero {
    padding-bottom: 3.5rem;
  }

  .stage-footage iframe {
    /* Prefer cover crop on narrow phones */
    min-width: 220vh;
  }

  .home-panel {
    margin-top: 0.5rem;
  }

  .examples h2,
  .pay h2,
  .catalog-intro h1 {
    letter-spacing: -0.03em;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .video-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .video-label,
  .video-link {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .veil {
    display: none;
  }

  .reveal,
  .scroll-anim,
  .edit-frame {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .about-visual img,
  .pay-icon,
  .review-shot img {
    animation: none !important;
  }

  .media-fx-canvas {
    display: none !important;
  }

  .edit-frame {
    filter: blur(10px) brightness(0.5) !important;
  }

  .stage-footage,
  .stage-noise {
    animation: none !important;
  }

  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: auto !important;
  }

  .cursor-root {
    display: none !important;
  }
}
