/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #777;
  --line: #e5e5e5;
  --accent: #1a73e8;
  --footer-bg: #1f1f1f;
  --footer-ink: #ffffff;
  --easing: cubic-bezier(.2, .7, .2, 1);
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

/* ---------- Cursor ring ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 28px; height: 28px;
  border: 1px solid rgba(0,0,0,0.35);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .25s var(--easing), height .25s var(--easing),
              border-color .25s var(--easing), background .25s var(--easing);
  z-index: 9999;
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor.hover {
  width: 56px; height: 56px;
  border-color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.06);
}
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: opacity .9s ease;
}
.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.brand {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  grid-column: 2;
}
.nav {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 28px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  grid-column: 3;
  justify-self: end;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.6px;
  background: #111;
  transition: transform .3s var(--easing), opacity .3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(3.3px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { transform: translateY(-3.3px) rotate(-45deg); }
.nav a {
  position: relative;
  padding: 4px 2px;
  color: #333;
  transition: color .25s var(--easing);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--easing);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--ink); font-weight: 600; }

/* ---------- Home: auto-play photo intro (FLIP) ---------- */
.hero-photo-slot {
  aspect-ratio: 5/4;
  position: relative;
  background: transparent;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background: #000;
  overflow: hidden;
  will-change: transform;
}
.hero-photo.intro-active {
  z-index: 200;
  transform-origin: top left;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.05);
}

/* On home, hide the surrounding chrome until intro starts settling */
body.home .site-header,
body.home .hero-title,
body.home .def,
body.home .cta,
body.home .footer {
  opacity: 0;
  transition: opacity .9s ease;
}
body.home.intro-done .site-header,
body.home.intro-done .hero-title,
body.home.intro-done .def,
body.home.intro-done .cta,
body.home.intro-done .footer {
  opacity: 1;
}
body.home.intro-locked { overflow: hidden; }

/* ---------- Hero title (home) ---------- */
.hero-title {
  max-width: 1200px;
  margin: 24px auto 8px;
  padding: 0 28px;
  position: relative;
}
.title-mark {
  font-family: 'Anton', 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(64px, 13vw, 180px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  display: inline-block;
  position: relative;
  perspective: 800px;
}
.title-mark .ch {
  display: inline-block;
  transform-origin: 50% 100%;
  transform: rotateX(-92deg) translateY(0.2em);
  filter: blur(8px);
  opacity: 0;
  will-change: transform, filter, opacity;
}
.title-mark.is-in .ch {
  animation: chFlip 1.2s var(--easing) forwards;
}
@keyframes chFlip {
  0%   { transform: rotateX(-92deg) translateY(0.2em); filter: blur(8px); opacity: 0; }
  60%  { filter: blur(0); opacity: 1; }
  100% { transform: rotateX(0) translateY(0); filter: blur(0); opacity: 1; }
}
.title-rule {
  display: block;
  width: 0;
  height: 2px;
  background: var(--ink);
  margin-top: 6px;
  transition: width 1.4s var(--easing) .3s;
}
.title-mark.is-in + .title-rule { width: 100%; }
.tm {
  font-family: 'Inter', sans-serif;
  font-size: 0.16em;
  vertical-align: super;
  margin-left: 0.05em;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .5s ease, transform .5s var(--easing);
  display: inline-block;
}
.title-mark.is-in .tm { opacity: 1; transform: translateY(0); transition-delay: 1s; }

/* ---------- Hero content ---------- */
.hero-grid {
  max-width: 1200px;
  margin: 36px auto 60px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.def {
  font-family: 'Courier Prime', 'Courier New', monospace;
}
.def .reveal { opacity: 0; transform: translateY(12px); }
body.home .def.is-in .reveal {
  animation: rise .9s var(--easing) forwards;
}
.def.is-in .reveal:nth-child(1) { animation-delay: .15s; }
.def.is-in .reveal:nth-child(2) { animation-delay: .25s; }
.def.is-in .reveal:nth-child(3) { animation-delay: .35s; }
.def.is-in .reveal:nth-child(4) { animation-delay: .45s; }
.def.is-in .reveal:nth-child(5) { animation-delay: .55s; }
.def.is-in .reveal:nth-child(6) { animation-delay: .65s; }
.def.is-in .reveal:nth-child(7) { animation-delay: .75s; }
.def.is-in .reveal:nth-child(8) { animation-delay: .85s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.def h2 {
  font-size: 22px;
  font-weight: 700;
  display: inline;
}
.def .pos { font-style: italic; color: #666; margin-left: 14px; font-weight: 400; }
.def .syl { margin-top: 4px; color: #333; }
.def .ipa { color: #444; }
.def .meaning { margin-top: 14px; }
.def .quote { margin-top: 14px; font-style: italic; color: #444; }
.def .word2 { margin-top: 36px; }
.def .word2 strong { font-size: 16px; }
.def .body-copy { margin-top: 36px; max-width: 60ch; }

/* ---------- CTA section ---------- */
.cta {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 28px;
  text-align: center;
}
.cta h3 {
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 24px;
}
.cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-box {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid #888;
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-size: 13px;
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: color .35s var(--easing), border-color .35s var(--easing);
  cursor: pointer;
}
.btn-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .35s var(--easing);
  z-index: -1;
}
.btn-box:hover { color: #fff; border-color: var(--ink); }
.btn-box:hover::before { transform: translateY(0); }
.btn-box span { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 32px 28px 0;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid #2e2e2e;
}
.footer-left .ftm {
  font-weight: 700;
  font-size: 14px;
}
.footer-left p { margin-top: 8px; color: #d8d8d8; }
.footer-right { text-align: right; font-size: 13px; }
.footer-right .label { color: #aaa; letter-spacing: .15em; font-size: 11px; }
.footer-right a { color: #79b6ff; }
.footer-right a:hover { text-decoration: underline; }
.footer-right .row { margin-top: 4px; }

.footer-mark {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Anton', 'Inter', sans-serif;
  font-size: clamp(64px, 14vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  padding: 32px 0 16px;
  user-select: none;
  white-space: nowrap;
}
.footer-mark .tm-sm {
  font-family: 'Inter', sans-serif;
  font-size: 0.16em;
  vertical-align: super;
  font-weight: 600;
}

/* ---------- Subpage hero ---------- */
.sub-hero {
  max-width: 1200px;
  margin: 36px auto 8px;
  padding: 0 28px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  animation: rise .8s var(--easing) .15s forwards;
}
.sub-hero h1 {
  font-family: 'Anton', 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.01em;
  line-height: 1;
}
.sub-hero p {
  margin-top: 12px;
  color: #555;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.controls-hint {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 18px;
  background: #1c1c1c;
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ---------- Marquee gallery ---------- */
.gallery {
  padding: 24px 0 50px;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
  position: relative;
}

.marquee-row {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 6px 0;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  /* Browser handles vertical pans -> page scroll; we manage horizontal */
  touch-action: pan-y pan-x;
  overscroll-behavior-x: contain;
}
.marquee-row::-webkit-scrollbar { display: none; }
.marquee-row.dragging { cursor: grabbing; }
/* NOTE: don't disable pointer-events on posters during drag —
   it breaks the click chain (mousedown on poster, mouseup on row →
   no click event fires). Drag-vs-click is handled in JS via the
   `_dragMoved` threshold instead. */

.marquee-track {
  display: inline-flex;
  gap: 14px;
  padding: 16px 0;
  width: max-content;
}

.poster {
  position: relative;
  width: 165px;
  height: 247px;            /* 2:3 portrait — fits posters/covers nicely */
  flex-shrink: 0;
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform .4s var(--easing), box-shadow .4s var(--easing);
  opacity: 0;
  filter: blur(8px);
  animation: posterIn .9s var(--easing) forwards;
  will-change: transform, opacity, filter;
}
@keyframes posterIn {
  from { opacity: 0; filter: blur(8px); transform: translateY(20px); }
  to   { opacity: 1; filter: blur(0);   transform: translateY(0); }
}
.poster:hover {
  transform: translateY(-6px) scale(1.045);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.28);
  z-index: 5;
}

.poster-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
}
.poster-img.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', 'Inter', sans-serif;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 16px;
  color: #fff;
  font-size: 16px;
  line-height: 1.1;
}

.poster-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 14px 12px;
  background: linear-gradient(to top,
    rgba(0,0,0,0.95) 0%,
    rgba(0,0,0,0.6) 60%,
    transparent 100%);
  color: #fff;
  transform: translateY(101%);
  transition: transform .35s var(--easing);
  pointer-events: none;
}
.poster:hover .poster-overlay { transform: translateY(0); }
.poster-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  margin-bottom: 5px;
}
.poster-desc {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  line-height: 1.4;
  color: #d8d8d8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Poster modal ---------- */
.poster-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--easing);
}
.poster-modal.is-open { opacity: 1; pointer-events: auto; }
.modal-content {
  background: #fff;
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 440px);
  max-width: 800px;
  width: 100%;
  position: relative;
  transform: scale(.94) translateY(14px);
  opacity: 0;
  transition: transform .55s var(--easing) .04s, opacity .4s var(--easing) .04s;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}
.poster-modal.is-open .modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.modal-img {
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  aspect-ratio: 2 / 3;
}
.modal-img.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.05em;
  color: #fff;
  font-size: 20px;
  text-align: center;
  padding: 18px;
}
.modal-info {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.modal-tag {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.32em;
  color: #888;
  text-transform: uppercase;
}
.modal-title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.01em;
  line-height: 1;
  color: #111;
}
.modal-desc {
  font-family: 'Courier Prime', 'Courier New', monospace;
  color: #444;
  font-size: 14px;
  line-height: 1.55;
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: 0;
  width: 38px;
  height: 38px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #111;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
}
.modal-close:hover { color: #555; }

/* ---------- Mission page ---------- */
.mission-hero {
  max-width: 1200px;
  margin: 64px auto 24px;
  padding: 0 28px;
  text-align: center;
}
.mission-hero .title-mark.mission-mark {
  font-size: clamp(56px, 14vw, 170px);
}
.mission-hero .title-rule {
  display: block;
  height: 2px;
  background: var(--ink);
  width: 0;
  margin: 14px auto 0;
  max-width: 220px;
  transition: width 1.4s var(--easing) .3s;
}
.mission-hero .title-mark.is-in + .title-rule { width: 220px; }
.mission-sub {
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-size: 15px;
  color: #555;
  max-width: 56ch;
  margin: 22px auto 0;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  animation: missionSubIn .9s var(--easing) 1.3s forwards;
}
@keyframes missionSubIn { to { opacity: 1; transform: translateY(0); } }

.mission-section {
  max-width: 1200px;
  margin: 88px auto;
  padding: 0 28px;
}

/* Section header */
.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Anton', 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 48px);
  letter-spacing: -0.005em;
  line-height: 1;
  color: var(--ink);
}
.section-rule {
  height: 1px;
  background: var(--ink);
  width: 0;
  margin: 18px auto 22px;
  transition: width 1.2s var(--easing) .2s;
}
.section-intro {
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* Reveal-on-scroll for each section */
.mission-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--easing), transform .9s var(--easing);
}
.mission-section.is-in {
  opacity: 1;
  transform: translateY(0);
}
.mission-section.is-in .section-rule { width: 84px; }

/* Reels grid */
.reels-grid {
  display: grid;
  gap: 36px;
  justify-content: center;
}
.reels-grid.two {
  grid-template-columns: repeat(2, minmax(0, 380px));
}
.reels-grid.five {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 1280px;
  margin: 0 auto;
  gap: 24px;
}

.reel-card {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .4s var(--easing), box-shadow .4s var(--easing), border-color .4s var(--easing);
  opacity: 0;
  transform: translateY(24px);
}
.mission-section.is-in .reel-card {
  animation: cardRise .8s var(--easing) forwards;
}
@keyframes cardRise { to { opacity: 1; transform: translateY(0); } }
.mission-section.is-in .reel-card:nth-child(1) { animation-delay: .25s; }
.mission-section.is-in .reel-card:nth-child(2) { animation-delay: .40s; }
.mission-section.is-in .reel-card:nth-child(3) { animation-delay: .55s; }
.mission-section.is-in .reel-card:nth-child(4) { animation-delay: .70s; }
.mission-section.is-in .reel-card:nth-child(5) { animation-delay: .85s; }

.reel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(0,0,0,0.14);
  border-color: #c5c5c5;
}

.reel-embed {
  position: relative;
  width: 100%;
  height: 720px;
  background: #0d0d0d;
  overflow: hidden;
}
.reel-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

.reel-meta {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.reel-tag {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.32em;
  color: #888;
  text-transform: uppercase;
}
.reel-meta h3 {
  font-family: 'Anton', 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.reel-meta p {
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.55;
  color: #444;
  margin-top: 4px;
}
.reel-link {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  position: relative;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  transition: gap .3s var(--easing);
}
.reel-link:hover { gap: 10px; }
.reel-link .arr { transition: transform .3s var(--easing); }
.reel-link:hover .arr { transform: translateX(2px); }

/* Small poetry variant */
.reel-card.sm .reel-embed { height: 560px; }
.reel-mini {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.reel-mini .num {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #999;
}
.reel-mini h4 {
  font-family: 'Anton', 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 19px);
  letter-spacing: -0.005em;
  line-height: 1.1;
  color: var(--ink);
}
.reel-link.sm {
  font-size: 11px;
  margin-top: 4px;
  border-bottom: 1px solid currentColor;
}

/* TikTok card */
.tiktok-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  background: #fafafa;
  border: 1px solid var(--line);
  padding: 36px 32px;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--easing), border-color .4s var(--easing), background .4s var(--easing);
}
.tiktok-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .5s var(--easing);
  z-index: 0;
}
.tiktok-card:hover { transform: translateY(-3px); border-color: var(--ink); }
.tiktok-card:hover::before { transform: translateY(0); }
.tiktok-card:hover .tiktok-meta,
.tiktok-card:hover .tiktok-icon { color: #fff; }
.tiktok-card:hover .tiktok-icon { background: #fff; color: var(--ink); }
.tiktok-card:hover .reel-tag { color: #c8c8c8; }

.tiktok-icon {
  position: relative;
  z-index: 1;
  width: 130px;
  height: 130px;
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 14px;
  transition: background .4s var(--easing), color .4s var(--easing);
}
.tiktok-icon .mark {
  font-family: 'Anton', 'Inter', sans-serif;
  font-size: 48px;
  letter-spacing: 0.04em;
  line-height: 1;
}
.tiktok-icon .handle {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  opacity: 0.85;
}

.tiktok-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink);
  transition: color .4s var(--easing);
}
.tiktok-meta h3 {
  font-family: 'Anton', 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.005em;
  line-height: 1.05;
}
.tiktok-meta p {
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.6;
  color: inherit;
  opacity: 0.85;
  max-width: 56ch;
}
.tiktok-card .cta-arrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  transition: gap .3s var(--easing);
}
.tiktok-card:hover .cta-arrow { gap: 12px; }

/* Mission mobile */
@media (max-width: 800px) {
  .mission-hero { margin: 36px auto 8px; }
  .mission-hero .title-mark.mission-mark { font-size: clamp(44px, 16vw, 78px); }
  .mission-section { margin: 56px auto; }
  .reels-grid.two {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 420px;
  }
  .reels-grid.five {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 360px;
  }
  .reel-embed { height: 620px; }
  .reel-card.sm .reel-embed { height: 540px; }
  .tiktok-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
    text-align: center;
  }
  .tiktok-icon { margin: 0 auto; width: 110px; height: 110px; }
  .tiktok-icon .mark { font-size: 40px; }
  .tiktok-meta { align-items: center; }
}

/* ---------- Section heading (between main + extras) ---------- */
.section-heading {
  max-width: 1200px;
  margin: 28px auto 0;
  padding: 0 28px;
  text-align: center;
  font-family: 'Anton', 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
}
.section-heading .sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: #888;
  margin-top: 8px;
  text-transform: uppercase;
  font-weight: 500;
}
.section-rule {
  max-width: 96px;
  margin: 16px auto 4px;
  height: 1px;
  background: #111;
}

/* ---------- 3D Cylinder (TV Shows) ---------- */
.stage {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 480px;
  perspective: 1600px;
  perspective-origin: 50% 45%;
  cursor: grab;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.stage.dragging { cursor: grabbing; }
.stage::before, .stage::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 80px;
  pointer-events: none;
  z-index: 5;
}
.stage::before { top: 0; background: linear-gradient(to bottom, #fff, transparent); }
.stage::after  { bottom: 0; background: linear-gradient(to top,    #fff, transparent); }

.cylinder {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.card {
  position: absolute;
  /* 2:3 poster ratio for the cover, plus a small caption strip below */
  width: 180px;
  height: 360px;
  margin-left: -90px;
  margin-top: -180px;
  transform-style: preserve-3d;
  transition: transform .3s var(--easing);
  opacity: 0;
  animation: cardFly .9s var(--easing) forwards;
  cursor: pointer;
}
@keyframes cardFly {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.card-face {
  position: absolute;
  inset: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12),
              0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.card-face.back {
  transform: rotateY(180deg);
  background:
    repeating-linear-gradient(45deg, #fafafa 0 6px, #f1f1f1 6px 12px);
  align-items: center;
  justify-content: center;
  font-family: 'Anton', 'Inter', sans-serif;
  letter-spacing: 0.18em;
  font-size: 13px;
  color: #888;
  text-align: center;
  padding: 18px;
}
.card-face.back .mark {
  font-size: 22px;
  letter-spacing: 0.05em;
  color: #444;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 8px 14px;
  margin-top: 8px;
}
.card:hover .card-face.front { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18); }
.card-img {
  height: 65%;                  /* leave more room for title + description */
  background: #ddd center/cover no-repeat;
  flex-shrink: 0;
}
.card-img.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 12px;
  font-size: 14px;
  line-height: 1.1;
}
.card-body {
  padding: 10px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #111;
}
.card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  color: #555;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Responsive (mobile only — desktop unchanged) ---------- */
@media (max-width: 800px) {
  /* Header — collapse nav into a dropdown */
  .nav-wrap {
    grid-template-columns: 1fr auto;
    position: relative;
    padding: 14px 18px;
  }
  .brand { grid-column: 1; }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 8px;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 14px 22px;
    min-width: 160px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--easing), transform .25s var(--easing);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    font-size: 14px;
  }
  .nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav a { padding: 8px 2px; }

  /* Hero title — keep on a single line */
  .title-mark {
    font-size: clamp(36px, 13vw, 60px);
    letter-spacing: -0.025em;
  }

  /* Footer mark — fit on one line */
  .footer-mark {
    font-size: clamp(38px, 14vw, 60px);
    letter-spacing: -0.025em;
    padding: 24px 0 12px;
  }

  /* Layout */
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-right { text-align: left; }

  /* Marquee gallery — smaller posters, tighter spacing */
  .gallery { padding: 14px 0 36px; }
  .marquee-track { gap: 10px; padding: 10px 0; }
  .marquee-row { margin: 4px 0; }
  .poster {
    width: 115px;
    height: 172px;
    border-radius: 3px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.14);
  }
  .poster-overlay { padding: 10px 9px 8px; }
  .poster-title { font-size: 10.5px; margin-bottom: 2px; }
  .poster-desc  { font-size: 9px; -webkit-line-clamp: 3; }

  /* TV-shows cylinder on mobile — same 2:3 poster ratio, scaled down */
  .stage { height: 75vh; min-height: 460px; }
  .card {
    width: 130px;
    height: 260px;
    margin-left: -65px;
    margin-top: -130px;
  }
  .card-title { font-size: 11px; }
  .card-desc  { font-size: 9.5px; -webkit-line-clamp: 3; }
  .card-face.back .mark { font-size: 18px; }

  .poster-modal { padding: 16px; }
  .modal-content {
    grid-template-columns: 1fr;
    max-width: 360px;
    max-height: 92vh;
    overflow-y: auto;
  }
  .modal-img { aspect-ratio: 16 / 10; }
  .modal-info { padding: 22px 22px 28px; gap: 8px; }
  .modal-title { font-size: clamp(24px, 7vw, 34px); }
  .modal-desc  { font-size: 13px; }

  .controls-hint { font-size: 10.5px; padding: 6px 12px; }
}
