:root {
  --bg: #07090f;
  --panel: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e7ecf4;
  --muted: #9da7ba;
  --accent-cyan: #4de2e2;
  --accent-amber: #f7a94f;
  --accent-lime: #8be36b;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --container-wide: min(1500px, 90vw);
  --anchor-offset: 130px;
  --industry-section-gap: 120px;
  --industry-title-gap: 44px;
  --industry-header-pad: 56px;
}

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

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(77, 226, 226, 0.05), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(247, 169, 79, 0.08), transparent 30%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

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

main {
  width: var(--container-wide);
  margin: 0 auto;
  padding: 96px 0 80px;
}

.background-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 110px 110px, 110px 110px;
  mask-image: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.45), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.background-noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.28'/%3E%3C/svg%3E");
  opacity: 0.2;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 1;
}

.nav {
  width: var(--container-wide);
  margin: 24px auto 0;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(8, 13, 23, 0.82), rgba(11, 18, 31, 0.76));
  backdrop-filter: blur(14px) saturate(130%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 10px;
  z-index: 10;
  box-shadow: 0 10px 32px rgba(3, 7, 14, 0.45);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nav.nav-hidden { opacity: 0; pointer-events: none; transform: translateY(-8px); }
.nav.nav-show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(120deg, rgba(8, 13, 23, 0.9), rgba(12, 20, 34, 0.84));
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.brand-year {
  color: var(--muted);
}

.spark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--accent-cyan), var(--accent-amber));
  box-shadow: 0 0 20px rgba(77, 226, 226, 0.7);
}

.nav nav {
  display: flex;
  gap: 14px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 12px;
  color: rgba(231, 236, 244, 0.88);
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.nav a:hover {
  color: #f8fbff;
  background: rgba(255, 255, 255, 0.14);
}

.pill {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

/* Minimal hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 80vh;
  align-content: center;
  justify-items: flex-start;
  gap: 14px;
}

.minimal-hero {
  width: min(1220px, 100%);
  margin-inline: auto;
  padding-inline: clamp(8px, 1.2vw, 24px);
}

.minimal-hero .actions { margin-top: 8px; }

.hand-title {
  font-family: 'Caveat', 'Sora', sans-serif;
  font-size: clamp(120px, 24vw, 260px);
  margin: 0;
  line-height: 0.9;
  color: var(--text);
  letter-spacing: 0.06em;
}

.hand-cn {
  margin: 2px 0 0;
  font-family: 'Ma Shan Zheng', 'Kaiti SC', 'STKaiti', serif;
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.03em;
  color: #eaf0f8;
  text-shadow: 0 10px 34px rgba(3, 8, 20, 0.4);
}

.hand-sub {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.actions {
  display: flex;
  gap: 12px;
  margin: 22px 0 4px;
}

.solo-action { margin-top: 32px; }

.chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  line-height: 1;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.chevron:hover {
  transform: translateY(2px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.btn {
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent-cyan), var(--accent-amber));
  color: #031018;
  border: none;
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.9rem;
}

/* Sections */
.section { margin-top: 96px; }
.section[id] { scroll-margin-top: var(--anchor-offset); }
.section-header { margin-bottom: 24px; }
.section-note { margin: 10px 0 0; color: var(--muted); }
.section-header-industry {
  margin-bottom: 0;
  padding-top: var(--industry-header-pad);
  padding-bottom: var(--industry-header-pad);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.section-header-industry + * {
  margin-top: var(--industry-title-gap);
}

.works,
.anime,
.scifi,
.special {
  margin-top: var(--industry-section-gap);
}

.industry-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.industry-line h2 {
  margin: 0;
  line-height: 0.95;
  font-size: clamp(34px, 4.2vw, 62px);
  letter-spacing: 0.01em;
}

.industry-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  font-family: 'JetBrains Mono', monospace;
  color: #a8b4ca;
  font-size: 0.86rem;
  font-weight: 600;
}

/* Push the showcase section closer to full-bleed on desktop. */
.works {
  width: 100%;
  margin-left: 0;
  transform: none;
}
.industry-badge {
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #dce3ef;
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

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

.legend {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-image { background: var(--accent-cyan); }
.dot-video { background: var(--accent-amber); }
.dot-motion { background: var(--accent-lime); }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: transform 0.36s ease, opacity 0.36s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.ad-stage {
  display: grid;
  gap: 18px;
}

.ad-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.ad-right {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ad-right .ad-tile {
  aspect-ratio: auto;
  min-height: 0;
  height: 100%;
}

.ad-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ad-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #0e1420;
  box-shadow: var(--shadow);
}

.ad-tile-hero { min-height: 340px; }

.ad-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  display: block;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}

.ad-tile:hover img { transform: scale(1.03); }

.tile-meta {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(4, 8, 18, 0.6);
  backdrop-filter: blur(8px);
  font-size: 0.86rem;
  color: #e3e9f4;
}

.works-actions {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.works-actions .toggle-btn {
  position: relative;
  padding: 18px 34px;
  min-height: 64px;
  border-radius: 999px;
  font-size: clamp(1.05rem, 1.2vw, 1.22rem);
  font-weight: 800;
  letter-spacing: 0.015em;
  border: none;
  background: linear-gradient(120deg, #41f0d8 0%, #63d8ff 38%, #ffc76d 100%);
  color: #0a1220;
  box-shadow:
    0 14px 36px rgba(40, 214, 255, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.44) inset;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.works-actions .toggle-btn::before {
  content: "↓";
  margin-right: 10px;
  font-weight: 900;
}

.works-actions .toggle-btn:hover {
  transform: translateY(-3px) scale(1.01);
  filter: saturate(1.08);
  box-shadow:
    0 18px 44px rgba(40, 214, 255, 0.44),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.works-hint {
  color: #b6c2d9;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.96rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ad-expanded {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ad-expanded .ad-tile {
  aspect-ratio: 2 / 3;
}

.collapse-wrap {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.collapse-btn {
  min-height: 58px;
  min-width: 240px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, rgba(12, 21, 38, 0.96), rgba(22, 33, 56, 0.94));
  color: #f2f6ff;
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow:
    0 10px 30px rgba(8, 14, 28, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.collapse-btn::before {
  content: "↑";
  margin-right: 10px;
  font-weight: 900;
}

.collapse-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.42);
  background: linear-gradient(135deg, rgba(18, 30, 52, 0.98), rgba(28, 43, 72, 0.96));
  box-shadow:
    0 14px 34px rgba(10, 18, 36, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.ad-video {
  margin-top: 34px;
}

.ad-video-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.ad-video-head h3 {
  margin: 0;
  font-size: clamp(24px, 2vw, 34px);
}

.ad-video-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(10, 15, 28, 0.86);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ad-video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #05080f;
}

.ad-video-note {
  margin: 0;
  padding: 12px 14px;
  color: #b7c2d6;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.anime {
  margin-top: var(--industry-section-gap);
}

.anime-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.anime-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #111821;
  box-shadow: var(--shadow);
}

.anime-featured {
  grid-column: 1 / -1;
}

.anime-media {
  position: relative;
  aspect-ratio: 11 / 6;
  background: linear-gradient(135deg, #f4f4f1 0%, #e7e8e2 100%);
}

.anime-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
}

.anime-meta {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(4, 8, 18, 0.52);
  color: #eef2fa;
  font-size: 0.86rem;
}

.anime-missing {
  position: absolute;
  inset: auto 14px 14px 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  background: rgba(10, 16, 30, 0.85);
  color: #d7deee;
  font-size: 0.86rem;
}

.anime-video {
  margin-top: 30px;
}

.anime-video-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.anime-video-head h3 {
  margin: 0;
  font-size: clamp(24px, 2vw, 34px);
}

.anime-video-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(10, 15, 28, 0.86);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.anime-video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #05080f;
}

.anime-video-note {
  margin: 0;
  padding: 12px 14px;
  color: #b7c2d6;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.scifi {
  margin-top: var(--industry-section-gap);
}

.scifi-video {
  margin-top: 0;
}

.scifi-character {
  margin-top: 28px;
  max-width: min(880px, 70vw);
  margin-left: auto;
  margin-right: auto;
}

.scifi-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.scifi-block-head h3 {
  margin: 0;
  font-size: clamp(24px, 2vw, 34px);
}

.scifi-character-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: radial-gradient(circle at 20% 20%, rgba(77, 226, 226, 0.08), rgba(7, 11, 22, 0.94) 58%);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.scifi-character-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  background: rgba(5, 8, 15, 0.7);
  cursor: zoom-in;
}

.scifi-video-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(10, 15, 28, 0.86);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.scifi-video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #05080f;
}

.scifi-note {
  margin: 0;
  padding: 12px 14px;
  color: #b7c2d6;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.special {
  margin-top: var(--industry-section-gap);
}

.special-video {
  margin-top: 0;
}

.special-video-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.special-video-head h3 {
  margin: 0;
  font-size: clamp(24px, 2vw, 34px);
}

.special-video-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(77, 226, 226, 0.08), rgba(247, 169, 79, 0.08));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.special-video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #05080f;
}

.ad-video-frame,
.anime-video-frame,
.scifi-video-frame,
.special-video-frame {
  position: relative;
}

.video-zoom-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(6, 12, 24, 0.74);
  color: #eef3ff;
  font-size: 0.86rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.video-zoom-btn:hover {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(8, 16, 32, 0.88);
}

.special-note {
  margin: 0;
  padding: 12px 14px;
  color: #b7c2d6;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  transition: transform 0.25s ease, border-color 0.25s ease, opacity 0.35s ease;
  --lift: 12px;
  transform: translateY(var(--lift));
  opacity: 0;
}

.card.visible { --lift: 0; opacity: 1; }

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--accent, #4de2e2) 18%, transparent), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.card:hover {
  transform: translateY(calc(var(--lift) - 6px));
  border-color: color-mix(in srgb, var(--accent, #4de2e2) 70%, #ffffff 20%);
}
.card:hover::after { opacity: 1; }

.media {
  position: relative;
  aspect-ratio: 2 / 3;
  min-height: 260px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.03), transparent 65%);
}

.media::after {
  content: attr(data-label);
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.4);
  color: #e3e9f4;
  font-size: 0.85rem;
  border: 1px solid var(--border);
}

.media img {
  display: block;
  transition: transform 0.3s ease;
}
.media.cover img { width: 100%; height: 100%; object-fit: cover; }
.media.contain img { max-width: 92%; max-height: 92%; object-fit: contain; padding: 12px; }

.placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  padding: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.gradient-a { background: linear-gradient(135deg, rgba(77, 226, 226, 0.18), rgba(255, 255, 255, 0.02)); }
.gradient-b { background: linear-gradient(135deg, rgba(247, 169, 79, 0.2), rgba(255, 255, 255, 0.04)); }
.gradient-c { background: linear-gradient(135deg, rgba(139, 227, 107, 0.2), rgba(255, 255, 255, 0.03)); }

.card-body { padding: 16px 16px 20px; position: relative; z-index: 1; }
.tag { color: var(--muted); font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 6px; }
.card h3 { margin: 0 0 8px; }
.card p { margin: 0 0 10px; color: #c9d2e4; line-height: 1.55; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.group-block {
  margin-top: 28px;
  opacity: 0;
  transform: translateY(10px);
  transition: transform 0.32s ease, opacity 0.32s ease;
}
.group-block.visible { opacity: 1; transform: translateY(0); }
.group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.group-title { font-size: 1.2rem; font-weight: 700; }
.group-tag { padding: 6px 10px; border-radius: 10px; border: 1px solid var(--border); color: var(--muted); background: rgba(255, 255, 255, 0.04); font-size: 0.92rem; }
.works-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.toggle-row { margin-top: 12px; display: flex; align-items: center; gap: 10px; color: var(--muted); }
.toggle-btn { padding: 8px 12px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); color: var(--text); cursor: pointer; }
.toggle-btn:hover { border-color: rgba(255, 255, 255, 0.2); }

.reel-wrapper {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: linear-gradient(135deg, rgba(247, 169, 79, 0.1), rgba(77, 226, 226, 0.08));
  opacity: 0;
  transform: translateY(14px);
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.reel-wrapper.visible { opacity: 1; transform: translateY(0); }
.reel-placeholder {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.03);
}
.reel-placeholder h3 { margin: 8px 0 10px; }
.reel-placeholder p { margin: 0; color: #c9d2e4; }
.reel-media {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}
.reel video { width: 100%; height: 100%; display: block; background: #000; }
.reel-caption { padding: 20px; border-left: 1px solid var(--border); }

.process .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.step { padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); opacity: 0; transform: translateY(14px); transition: transform 0.35s ease, opacity 0.35s ease; }
.step.visible { opacity: 1; transform: translateY(0); }
.step-number { font-family: 'JetBrains Mono', monospace; color: var(--muted); margin-bottom: 8px; }

.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: linear-gradient(135deg, rgba(139, 227, 107, 0.12), rgba(77, 226, 226, 0.08));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(14px);
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.contact-card.visible { opacity: 1; transform: translateY(0); }
.contact-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.footer {
  width: var(--container-wide);
  margin: 40px auto;
  padding: 12px 4px 28px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}
.footer-meta { font-family: 'JetBrains Mono', monospace; }

body.viewer-open {
  overflow: hidden;
}

.media-viewer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 8, 16, 0.86);
  backdrop-filter: blur(8px);
}

.media-viewer-panel {
  width: min(1180px, 96vw);
  max-height: 94vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
}

.media-viewer-close {
  justify-self: end;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(6, 12, 24, 0.74);
  color: #f1f5ff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.media-viewer-content {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #05080f;
  display: grid;
  place-items: center;
  padding: 10px;
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(2, 5, 12, 0.62);
}

.media-viewer-media {
  width: auto;
  max-width: 100%;
  max-height: 84vh;
  object-fit: contain;
  display: block;
  background: #05080f;
}

.media-viewer-image {
  cursor: zoom-in;
}

.media-viewer-content.zoomed {
  place-items: start center;
  overflow: auto;
}

.media-viewer-content.zoomed .media-viewer-image {
  max-width: none;
  max-height: none;
  cursor: zoom-out;
}

.media-viewer-caption {
  margin: 0;
  text-align: center;
  color: #d8e0ef;
  font-size: 0.92rem;
}

.orb {
  position: absolute;
  filter: blur(40px);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}
.orb-1 { width: 280px; height: 280px; background: radial-gradient(circle, rgba(77, 226, 226, 0.6), transparent 60%); top: -60px; left: -60px; }
.orb-2 { width: 200px; height: 200px; background: radial-gradient(circle, rgba(247, 169, 79, 0.5), transparent 60%); bottom: -40px; right: 40px; }

@media (max-width: 960px) {
  .nav { position: static; }
  main { padding-top: 72px; }
  :root {
    --anchor-offset: 40px;
    --industry-section-gap: 104px;
    --industry-title-gap: 40px;
    --industry-header-pad: 48px;
  }
  .works {
    width: 100%;
    margin-left: 0;
    transform: none;
  }
  .minimal-hero {
    width: 100%;
    padding-inline: 0;
  }
  .hero { min-height: 70vh; }
  .ad-top { grid-template-columns: 1fr; }
  .ad-right {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
  .ad-right .ad-tile {
    aspect-ratio: 2 / 3;
    height: auto;
  }
  .ad-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ad-expanded { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ad-tile-hero { min-height: 0; }
  .anime-gallery { grid-template-columns: 1fr; }
  .scifi-character {
    max-width: 100%;
  }
  .grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .reel-media { grid-template-columns: 1fr; }
  .reel-caption { border-left: none; border-top: 1px solid var(--border); }
}

@media (max-width: 640px) {
  .actions { flex-direction: column; align-items: flex-start; }
  .hand-title { font-size: clamp(70px, 24vw, 160px); }
  .nav { flex-direction: column; gap: 8px; align-items: flex-start; }
  :root {
    --anchor-offset: 28px;
    --industry-section-gap: 84px;
    --industry-title-gap: 30px;
    --industry-header-pad: 34px;
  }
  .industry-line {
    align-items: center;
    gap: 10px;
  }
  .industry-line h2 {
    font-size: clamp(28px, 10vw, 42px);
  }
  .ad-video-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .anime-video-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .scifi-block-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .special-video-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .video-zoom-btn {
    right: 10px;
    bottom: 10px;
    padding: 7px 10px;
    font-size: 0.8rem;
  }
  .ad-right { grid-template-columns: 1fr; }
  .ad-strip { grid-template-columns: 1fr; }
  .ad-expanded { grid-template-columns: 1fr; }
  .works-actions { flex-wrap: wrap; }
  .works-actions .toggle-btn { width: 100%; }
  .works-hint { width: 100%; }
  .collapse-wrap { justify-content: stretch; }
  .collapse-btn { width: 100%; }
}
