:root {
  --black: #080808;
  --panel: #111111;
  --panel-2: #171717;
  --paper: #f5f0e6;
  --muted: rgba(245, 240, 230, 0.68);
  --line: rgba(245, 240, 230, 0.14);
  --accent: #c7ff26;
  --accent-soft: rgba(199, 255, 38, 0.2);
  --danger: #ff3d2e;
  --blue: #38a4ff;
  --radius: 8px;
  --max: 1240px;
  --font-display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --font-body: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --button-texture: url("assets/generated/button-texture.jpg");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background:
    linear-gradient(rgba(8, 8, 8, 0.48), rgba(8, 8, 8, 0.74)),
    url("assets/textures/yakari-grain.png") center top / cover fixed,
    var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  gap: 22px;
  place-content: center;
  background:
    radial-gradient(28% 22% at 50% 45%, rgba(199, 255, 38, 0.12), transparent 62%),
    url("assets/textures/yakari-grain.png") center / cover,
    var(--black);
  transition:
    opacity 520ms ease,
    visibility 520ms ease;
}

.site-loader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.site-loader.is-gone {
  display: none;
}

.loader-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 0 auto;
}

.loader-mark span {
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from 0deg, transparent 0 42%, rgba(199, 255, 38, 0.9) 47%, transparent 53% 100%);
  border-radius: 50%;
  filter: blur(0.2px);
  animation: loaderOrbit 1100ms cubic-bezier(0.55, 0.02, 0.24, 1) infinite;
}

.loader-mark::after {
  position: absolute;
  inset: 8px;
  content: "";
  background: var(--black);
  border: 1px solid rgba(245, 240, 230, 0.12);
  border-radius: 50%;
}

.loader-mark img {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 0 18px rgba(199, 255, 38, 0.42));
  animation: loaderMark 1100ms ease-in-out infinite;
}

.loader-track {
  width: min(220px, 52vw);
  height: 3px;
  overflow: hidden;
  background: rgba(245, 240, 230, 0.14);
  border-radius: 999px;
}

.loader-track span {
  display: block;
  width: 48%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: inherit;
  animation: loaderTrack 920ms cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 10px clamp(14px, 3vw, 32px);
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.94), rgba(8, 8, 8, 0.68)),
    rgba(8, 8, 8, 0.74);
  border-bottom: 1px solid rgba(245, 240, 230, 0.08);
  backdrop-filter: blur(18px);
  isolation: isolate;
}

.site-header::before {
  position: absolute;
  inset: 10px clamp(12px, 2.6vw, 28px);
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(199, 255, 38, 0.12), transparent 19%, transparent 78%, rgba(245, 240, 230, 0.06)),
    rgba(17, 17, 17, 0.28);
  border: 1px solid rgba(245, 240, 230, 0.08);
  border-radius: 999px;
  opacity: 0.72;
  pointer-events: none;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(245, 240, 230, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 44px;
  padding: 5px;
  background: rgba(245, 240, 230, 0.06);
  border: 1px solid rgba(245, 240, 230, 0.12);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(245, 240, 230, 0.07);
}

.brand img {
  width: 34px;
  height: 34px;
}

nav {
  justify-self: center;
  display: flex;
  gap: 4px;
  min-width: 0;
  padding: 5px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  background: rgba(245, 240, 230, 0.055);
  border: 1px solid rgba(245, 240, 230, 0.12);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(245, 240, 230, 0.08),
    0 16px 44px rgba(0, 0, 0, 0.24);
}

nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 11px 0 7px;
  border-radius: 999px;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

nav a::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  content: attr(data-step);
  color: rgba(199, 255, 38, 0.9);
  background: rgba(199, 255, 38, 0.08);
  border: 1px solid rgba(199, 255, 38, 0.18);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

nav a:hover {
  color: var(--paper);
  background: rgba(245, 240, 230, 0.08);
  transform: translateY(-1px);
}

nav a:hover::before {
  color: var(--black);
  background: var(--accent);
  border-color: var(--accent);
}

.header-button {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: end;
  min-height: 44px;
  overflow: hidden;
  padding: 0 18px;
  color: var(--black);
  background:
    linear-gradient(135deg, rgba(245, 240, 230, 0.96), rgba(255, 250, 240, 0.98)),
    var(--button-texture) center / cover;
  background-blend-mode: normal, soft-light;
  border: 1px solid rgba(245, 240, 230, 0.48);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.header-button span {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border: 2px solid var(--black);
  border-radius: 50%;
  pointer-events: none;
  box-shadow:
    0 0 0 2px rgba(199, 255, 38, 0.5),
    0 0 14px rgba(199, 255, 38, 0.85);
}

.header-button::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(112deg, transparent 0 54%, rgba(199, 255, 38, 0.28) 55% 58%, transparent 59%);
  opacity: 0.72;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.header-button:hover {
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
  transform: translateY(-1px);
}

.header-button:hover::after {
  opacity: 0.5;
  transform: translateX(5px);
}

.hero,
.work-section,
.legacy-section,
.mockup-section,
.process-section,
.services-section,
.contact-section,
.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 34px;
  min-height: calc(100svh - 76px);
  padding: 54px 0 76px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 20px;
}

.eyebrow {
  width: max-content;
  max-width: 100%;
  padding: 5px 8px 4px;
  color: #d6ff4d;
  background: rgba(8, 8, 8, 0.62);
  border: 1px solid rgba(199, 255, 38, 0.22);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  max-width: 620px;
  font-family: var(--font-display);
  font-size: clamp(64px, 8.4vw, 128px);
  line-height: 0.82;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow),
.section-head > p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  overflow: hidden;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: var(--button-texture) center / cover;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

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

.button:hover::after {
  opacity: 0.18;
  transform: scale(1.06);
}

.button.primary {
  color: var(--black);
  background:
    linear-gradient(135deg, rgba(199, 255, 38, 0.96), rgba(230, 255, 132, 0.98)),
    var(--accent);
}

.button.ghost {
  color: var(--paper);
  background: transparent;
}

.button.light-ghost {
  color: var(--black);
  background: rgba(8, 8, 8, 0.055);
  border-color: rgba(8, 8, 8, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

.button.light-ghost:hover {
  color: var(--black);
  background: rgba(8, 8, 8, 0.095);
  border-color: rgba(8, 8, 8, 0.62);
}

.youtube-frame,
.feed-video,
.process-card,
.service-grid article,
.legacy-stats div {
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.youtube-frame:hover,
.feed-video:hover,
.process-card:hover,
.service-grid article:hover,
.legacy-stats div:hover {
  border-color: rgba(245, 240, 230, 0.22);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  transform: translateY(-4px);
}

.hero-stage {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
}

.youtube-frame,
.feed-mockup,
.brief-form,
.brief-success,
.process-card,
.service-grid article {
  background: rgba(17, 17, 17, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
}

.youtube-frame {
  position: relative;
  overflow: hidden;
  padding: 14px;
  isolation: isolate;
}

.youtube-frame::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(92% 84% at -10% -20%, rgba(245, 240, 230, 0.1), rgba(245, 240, 230, 0.04) 28%, transparent 56%),
    linear-gradient(105deg, rgba(245, 240, 230, 0.045) 0%, transparent 36%, rgba(245, 240, 230, 0.025) 72%, transparent 100%);
  opacity: 0.82;
}

.youtube-topbar {
  display: flex;
  gap: 7px;
  padding: 3px 2px 12px;
}

.youtube-topbar span {
  width: 10px;
  height: 10px;
  background: rgba(245, 240, 230, 0.22);
  border-radius: 50%;
}

.youtube-card {
  overflow: hidden;
  background: #0d0d0d;
  border-radius: 7px;
}

.youtube-card > img,
.feed-video > img,
.thumb-tile img,
.process-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.youtube-meta,
.video-info {
  display: flex;
  gap: 12px;
  align-items: start;
  padding: 14px;
}

.youtube-meta > div,
.video-info > div {
  flex: 1;
  min-width: 0;
}

.youtube-meta p,
.feed-video p,
.service-grid p,
.process-card p {
  color: var(--muted);
}

.youtube-meta strong,
.feed-video strong {
  display: block;
  max-width: 100%;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.avatar-img {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  object-fit: cover;
  background: #202020;
  border: 1px solid rgba(245, 240, 230, 0.2);
  border-radius: 50%;
}

.work-section,
.legacy-section,
.mockup-section,
.process-section,
.services-section,
.contact-section {
  padding: 90px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.45fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head.compact {
  display: block;
  max-width: 720px;
}

h2 {
  max-width: 860px;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.92;
  letter-spacing: 0;
}

.legacy-section {
  border-top: 1px solid rgba(245, 240, 230, 0.08);
  opacity: 0.92;
}

.legacy-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.58fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 14px;
}

.legacy-copy {
  display: grid;
  gap: 14px;
}

.legacy-copy p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
}

.legacy-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.legacy-stats div,
.creator-wall article,
.legacy-video-strip article {
  background: rgba(17, 17, 17, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.legacy-stats div {
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 12px;
  align-content: end;
}

.legacy-stats strong {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 0.85;
}

.legacy-stats span,
.creator-wall span,
.legacy-video-strip p {
  color: var(--muted);
  font-size: 12px;
}

.legacy-reel {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  overflow: hidden;
  padding: 8px 0 10px;
  cursor: grab;
  mask-image: linear-gradient(90deg, transparent 0, black 5%, black 95%, transparent 100%);
  scrollbar-width: none;
  touch-action: pan-y;
  user-select: none;
}

.legacy-reel.is-dragging {
  cursor: grabbing;
}

.legacy-reel::-webkit-scrollbar {
  display: none;
}

.creator-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 12px;
}

.creator-wall article {
  position: relative;
  display: flex;
  gap: 9px;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  padding: 9px;
  isolation: isolate;
}

.creator-wall article::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(110deg, transparent 0 38%, rgba(199, 255, 38, 0.16) 44%, transparent 52% 100%);
  transform: translateX(-120%);
  animation: creatorStripe 7s ease-in-out infinite;
}

.creator-wall article:nth-child(2)::before {
  animation-delay: 0.7s;
}

.creator-wall article:nth-child(3)::before {
  animation-delay: 1.4s;
}

.creator-wall article:nth-child(4)::before {
  animation-delay: 2.1s;
}

.creator-wall article:nth-child(5)::before {
  animation-delay: 2.8s;
}

.creator-wall article:nth-child(6)::before {
  animation-delay: 3.5s;
}

.creator-wall img {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  object-fit: cover;
  background: #202020;
  border: 1px solid rgba(245, 240, 230, 0.18);
  border-radius: 50%;
}

.creator-wall div,
.legacy-video-strip div {
  min-width: 0;
}

.creator-wall strong,
.legacy-video-strip strong {
  display: block;
  overflow: hidden;
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.legacy-video-strip {
  display: flex;
  gap: 10px;
  width: max-content;
  overflow: visible;
  padding: 2px max(20px, calc((100vw - var(--max)) / 2)) 0;
  will-change: transform;
}

.legacy-video-strip article {
  flex: 0 0 clamp(170px, 19vw, 240px);
  overflow: hidden;
  opacity: 0.7;
  user-select: none;
  transform: translateZ(0);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.legacy-video-strip article:hover {
  border-color: rgba(199, 255, 38, 0.32);
  opacity: 1;
  transform: translateY(-3px);
}

.legacy-video-strip img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.72) brightness(0.74) contrast(0.92);
  pointer-events: none;
  transition: filter 180ms ease;
  user-select: none;
  -webkit-user-drag: none;
}

.legacy-video-strip article:hover img {
  filter: saturate(0.92) brightness(0.86) contrast(0.98);
}

.legacy-video-strip article > div {
  display: grid;
  gap: 4px;
  padding: 9px;
}

.legacy-video-strip span {
  width: max-content;
  max-width: 100%;
  padding: 3px 6px;
  color: var(--black);
  background: var(--accent);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.portfolio-shell {
  position: relative;
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  overflow: hidden;
  padding: 26px 0;
  cursor: grab;
  mask-image: linear-gradient(90deg, transparent 0, black 7%, black 93%, transparent 100%);
  touch-action: pan-y;
  user-select: none;
}

.portfolio-shell.is-dragging {
  cursor: grabbing;
}

.thumb-rail {
  display: flex;
  width: max-content;
  gap: 14px;
  padding-inline: max(20px, calc((100vw - var(--max)) / 2));
  will-change: transform;
}

.thumb-tile {
  position: relative;
  flex: 0 0 clamp(260px, 32vw, 420px);
  overflow: hidden;
  padding: 0;
  color: inherit;
  background: #141414;
  border: 1px solid rgba(245, 240, 230, 0.16);
  border-radius: var(--radius);
  cursor: grab;
  transform: translateZ(0);
  transform-origin: center;
  transition:
    opacity 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    filter 200ms ease,
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portfolio-shell.is-dragging .thumb-tile {
  cursor: grabbing;
}

.thumb-tile::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(8, 8, 8, 0.42), transparent 55%);
  opacity: 0;
  transition: opacity 200ms ease;
}

.thumb-tile:hover,
.thumb-tile.is-active {
  z-index: 4;
  opacity: 1;
}

.thumb-tile:hover {
  border-color: rgba(199, 255, 38, 0.7);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  filter: saturate(1.08) contrast(1.04);
  transform: translateY(-8px) scale(1.045);
}

.thumb-tile:hover::after,
.thumb-tile.is-active::after {
  opacity: 1;
}

.thumb-tile img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.thumb-tile:hover::before,
.thumb-tile.is-active::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  border: 2px solid var(--accent);
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(8, 8, 8, 0.55);
}

.portfolio-shell.is-dragging .thumb-tile:hover {
  transform: translateY(-3px) scale(1.015);
}

.feed-mockup {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) repeat(2, minmax(220px, 0.62fr));
  gap: 14px;
  padding: 14px;
}

.feed-video {
  min-width: 0;
  overflow: hidden;
  background: #0d0d0d;
  border: 1px solid rgba(245, 240, 230, 0.1);
  border-radius: 7px;
}

.feed-video.main {
  grid-row: span 2;
}

.feed-video.side {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 10px;
}

.feed-video.side > img {
  border-radius: 6px;
}

.video-info.compact {
  gap: 9px;
  padding: 0;
}

.video-info.compact .avatar-img {
  width: 28px;
  height: 28px;
}

.video-info.compact strong {
  font-size: 15px;
  line-height: 1.08;
}

.video-info.compact p {
  margin-top: 4px;
  font-size: 13px;
}

.process-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.process-card {
  overflow: hidden;
}

.process-card > div:last-child {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.process-card strong {
  font-family: var(--font-display);
  font-size: 18px;
}

.message-shot {
  display: grid;
  grid-template-rows: auto 1fr;
  aspect-ratio: 16 / 10.25;
  min-height: 370px;
  overflow: hidden;
  background:
    radial-gradient(82% 72% at 22% 8%, rgba(199, 255, 38, 0.12), transparent 48%),
    linear-gradient(135deg, #161820, #0e0f13 72%);
}

.message-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  background: rgba(245, 240, 230, 0.04);
  border-bottom: 1px solid rgba(245, 240, 230, 0.08);
}

.message-topbar > div {
  display: flex;
  gap: 7px;
}

.message-topbar span {
  width: 9px;
  height: 9px;
  background: rgba(245, 240, 230, 0.22);
  border-radius: 50%;
}

.message-topbar strong {
  color: rgba(245, 240, 230, 0.9);
  font-size: 13px;
  font-weight: 700;
}

.message-topbar i {
  justify-self: end;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border: 2px solid #111217;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(199, 255, 38, 0.62);
}

.message-thread {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 14px 18px 18px;
}

.message-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.message-row.outgoing {
  justify-content: flex-end;
}

.message-row > img {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  object-fit: cover;
  background: #0b0b0d;
  border: 1px solid rgba(245, 240, 230, 0.16);
  border-radius: 50%;
}

.message-bubble {
  display: grid;
  gap: 6px;
  width: min(72%, 360px);
  padding: 10px 12px;
  background: rgba(245, 240, 230, 0.08);
  border: 1px solid rgba(245, 240, 230, 0.1);
  border-radius: 14px 14px 14px 4px;
}

.message-row.outgoing .message-bubble {
  background: rgba(199, 255, 38, 0.12);
  border-color: rgba(199, 255, 38, 0.18);
  border-radius: 14px 14px 4px 14px;
}

.message-bubble.compact {
  width: min(82%, 410px);
}

.message-meta {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.message-meta strong {
  color: rgba(245, 240, 230, 0.92);
  font-size: 12px;
  font-weight: 700;
}

.message-meta span {
  color: rgba(245, 240, 230, 0.42);
  font-size: 10px;
}

.line,
.message-attachment i {
  display: block;
  height: 7px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(245, 240, 230, 0.36), rgba(245, 240, 230, 0.08));
  border-radius: 999px;
  filter: blur(0.8px);
}

.line.wide {
  width: 100%;
}

.line.mid {
  width: 72%;
}

.line.short {
  width: 42%;
}

.message-row.outgoing .line {
  background: linear-gradient(90deg, rgba(199, 255, 38, 0.52), rgba(199, 255, 38, 0.12));
}

.message-attachment {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  background: rgba(8, 8, 8, 0.28);
  border: 1px solid rgba(245, 240, 230, 0.09);
  border-radius: 10px;
}

.message-attachment img {
  width: 78px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  filter: saturate(0.86) brightness(0.76);
}

.message-attachment div {
  display: grid;
  gap: 8px;
}

.message-attachment i:first-child {
  width: 92%;
}

.message-attachment i:last-child {
  width: 54%;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.service-grid article {
  display: grid;
  gap: 12px;
  min-height: 170px;
  padding: 20px;
  align-content: end;
}

.service-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.service-grid h3 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.05;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line);
}

.contact-copy {
  display: grid;
  gap: 16px;
  align-content: start;
}

.contact-copy a {
  width: max-content;
  max-width: 100%;
  padding: 10px 13px;
  color: var(--black);
  background: var(--paper);
  border-radius: 999px;
  font-weight: 600;
}

.brief-panel {
  display: grid;
}

.brief-form,
.brief-success {
  display: grid;
  gap: 14px;
  padding: 20px;
  color: var(--black);
  background: #f5f0e6;
}

.brief-success {
  align-content: center;
  min-height: 100%;
}

.brief-success h3 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 62px);
  line-height: 0.92;
}

.brief-success p:not(.eyebrow) {
  max-width: 560px;
  color: #555149;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 900;
}

.hidden-field {
  display: none;
}

.channel-label {
  min-width: 0;
}

.channel-search {
  position: relative;
  min-width: 0;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 12px;
  color: var(--black);
  background: #e9e4da;
  border: 1px solid rgba(8, 8, 8, 0.16);
  border-radius: 7px;
  outline: 0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(199, 255, 38, 0.55);
}

textarea {
  resize: vertical;
}

.channel-suggestions:not([hidden]) {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 12;
  display: grid;
  gap: 6px;
  max-height: 310px;
  overflow: auto;
  padding: 8px;
  color: var(--black);
  background: #fbf6ed;
  border: 1px solid rgba(8, 8, 8, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.channel-suggestions[hidden] {
  display: none;
}

.channel-suggestions button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 9px;
  color: inherit;
  text-align: left;
  background: #ebe5d9;
  border: 1px solid rgba(8, 8, 8, 0.08);
  border-radius: 7px;
  cursor: pointer;
}

.channel-suggestions button:hover,
.channel-suggestions button:focus {
  background: #e3edd0;
  border-color: rgba(8, 8, 8, 0.2);
}

.channel-suggestions img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  background: #202020;
  border-radius: 50%;
}

.channel-suggestions strong,
.channel-suggestions span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.channel-suggestions strong {
  font-size: 13px;
  line-height: 1.1;
}

.channel-suggestions span,
.channel-suggestions em {
  color: #656057;
  font-size: 12px;
  font-style: normal;
}

.form-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.checkbox-label {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #555149;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--black);
}

.form-status {
  min-height: 20px;
  color: #555149;
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 28px 0 38px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 850;
}

.reveal {
  animation: revealUp 700ms ease both;
}

.delay-1 {
  animation-delay: 120ms;
}

.motion-item {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(22px) scale(0.985);
  transition:
    opacity 620ms ease,
    filter 620ms ease,
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--motion-index, 0) * 46ms);
}

.motion-item.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.legacy-video-strip article.motion-item {
  filter: none;
}

@keyframes loaderOrbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderMark {
  0%,
  100% {
    transform: scale(0.96);
  }

  50% {
    transform: scale(1.04);
  }
}

@keyframes loaderTrack {
  from {
    transform: translateX(-110%);
  }

  to {
    transform: translateX(235%);
  }
}

@keyframes revealUp {
  from {
    opacity: 0.72;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes creatorStripe {
  0%,
  48% {
    transform: translateX(-120%);
  }

  68%,
  100% {
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

  .hero-stage {
    min-height: 0;
  }

  .feed-mockup,
  .process-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .legacy-overview {
    grid-template-columns: 1fr;
  }

  .creator-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .legacy-video-strip article {
    flex-basis: 220px;
  }

  .feed-video.main {
    grid-row: auto;
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero,
  .work-section,
  .legacy-section,
  .mockup-section,
  .process-section,
  .services-section,
  .contact-section,
  .site-footer {
    width: min(calc(100% - 24px), var(--max));
  }

  .header-button {
    display: none;
  }

  .hero {
    padding: 36px 0 56px;
  }

  h1 {
    max-width: 360px;
    font-size: clamp(58px, 18vw, 76px);
  }

  h2 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero-copy p:not(.eyebrow),
  .section-head > p,
  .contact-copy p {
    max-width: 360px;
    font-size: 16px;
  }

  .hero-actions,
  .form-footer {
    display: grid;
    width: min(100%, 330px);
  }

  .button {
    width: 100%;
  }

  .section-head,
  .feed-mockup,
  .legacy-overview,
  .legacy-stats,
  .creator-wall,
  .process-showcase,
  .service-grid,
  .contact-section,
  .form-row {
    grid-template-columns: 1fr;
  }

  .portfolio-shell {
    mask-image: linear-gradient(90deg, transparent 0, black 4%, black 96%, transparent 100%);
  }

  .thumb-rail {
    gap: 10px;
    padding-inline: 12px;
  }

  .thumb-tile {
    flex-basis: 310px;
  }

  .feed-video.main {
    grid-column: auto;
  }

  .work-section,
  .legacy-section,
  .mockup-section,
  .process-section,
  .services-section,
  .contact-section {
    padding: 68px 0;
  }

  .message-thread {
    gap: 9px;
    padding: 12px;
  }

  .message-topbar {
    min-height: 36px;
    padding: 0 10px;
  }

  .message-row > img {
    width: 28px;
    height: 28px;
  }

  .message-bubble {
    gap: 6px;
    padding: 10px;
  }

  .message-attachment {
    grid-template-columns: 72px 1fr;
    gap: 8px;
  }

  .message-attachment img {
    width: 72px;
  }

  .legacy-reel {
    margin-inline: calc(50% - 50vw);
    mask-image: linear-gradient(90deg, transparent 0, black 4%, black 96%, transparent 100%);
  }

  .legacy-video-strip {
    padding-inline: 12px;
  }

  .legacy-video-strip article {
    flex-basis: 190px;
  }

  .site-footer {
    display: grid;
    gap: 8px;
  }
}
