:root {
  --bg: #050607;
  --panel: rgba(13, 15, 18, 0.72);
  --panel-strong: rgba(9, 10, 12, 0.88);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4eee2;
  --muted: #c9c1b4;
  --accent: #ff6a3d;
  --accent-2: #f2cb74;
  --teal: #88ede0;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(112, 34, 18, 0.26), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(54, 135, 120, 0.16), transparent 25%),
    linear-gradient(180deg, #060708 0%, #07090b 100%);
  font-family: "Space Grotesk", system-ui, sans-serif;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.cursor-glow {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 102, 61, 0.14), rgba(255, 102, 61, 0.04) 35%, transparent 68%);
  transform: translate(-50%, -50%);
  z-index: 0;
  left: var(--glow-x, 50%);
  top: var(--glow-y, 20%);
  filter: blur(8px);
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.6) 0 1px, transparent 1.2px),
    radial-gradient(circle at 80% 40%, rgba(255,255,255,.55) 0 1px, transparent 1.1px),
    radial-gradient(circle at 30% 70%, rgba(255,255,255,.35) 0 1px, transparent 1.1px);
  background-size: 140px 140px, 180px 180px, 200px 200px;
  mix-blend-mode: soft-light;
  z-index: 1;
}

.shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  padding: 16px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(180deg, rgba(5, 6, 7, 0.92), rgba(5, 6, 7, 0.65));
  border-bottom: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
}

.brand,
.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img,
.footer-left img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 14px 32px rgba(255, 83, 41, 0.2);
}
.brand span {
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: .92rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a,
.mail-link {
  color: rgba(244, 238, 226, 0.78);
  font-size: .95rem;
  transition: color .25s ease;
}
.site-nav a:hover,
.mail-link:hover { color: var(--text); }
.mail-link { white-space: nowrap; }

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: stretch;
  overflow: clip;
}
.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
  filter: saturate(1.05) contrast(1.06) brightness(.66);
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.92) 10%, rgba(5, 6, 7, 0.58) 46%, rgba(5,6,7,.88) 100%),
    radial-gradient(circle at center, transparent 0, rgba(5,6,7,.24) 52%, rgba(5,6,7,.82) 100%);
}
.hero-content {
  width: 100%;
  padding: 120px 0 110px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  align-items: center;
  gap: 36px;
}
.eyebrow,
.micro {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: .75rem;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.hero-copy h1,
.section-head h2,
.pn-copy h2,
.contact-panel h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: .92;
}
.hero-copy h1 {
  font-size: clamp(3.8rem, 9vw, 7.5rem);
  max-width: 9ch;
}
.hero-text,
.section-head p,
.pn-copy p,
.value-card p,
.contact-panel p,
.character-meta strong,
.footer-left p {
  color: rgba(244, 238, 226, 0.75);
  line-height: 1.65;
}
.hero-text {
  font-size: 1.03rem;
  max-width: 44rem;
  margin: 18px 0 0;
}
.hero-actions,
.cta-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #0b0b0b;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 18px 40px rgba(255, 102, 61, 0.18);
}
.button-ghost {
  color: var(--text);
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
}

.glass-card {
  background: linear-gradient(180deg, rgba(16, 18, 21, 0.78), rgba(10, 11, 14, 0.78));
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.logo-card {
  padding: 26px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 18px;
}
.hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
}
.tbk-title {
  width: min(520px, 100%);
  margin-top: 10px;
  filter: drop-shadow(0 18px 25px rgba(0, 0, 0, 0.45));
}

.hero-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(8, 9, 10, 0.55);
  backdrop-filter: blur(12px);
  z-index: 3;
}
.hero-marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  color: rgba(255,255,255,.78);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .74rem;
  animation: marquee 34s linear infinite;
}
.hero-marquee-track i { color: var(--accent); font-style: normal; }

.section {
  position: relative;
  padding: 110px 0;
  z-index: 2;
}
.section-head {
  display: grid;
  gap: 12px;
  max-width: 38rem;
  margin-bottom: 38px;
}
.section-head h2,
.pn-copy h2,
.contact-panel h2 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
.section-head p,
.pn-copy p { margin: 0; }

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
  gap: 26px;
  align-items: stretch;
}
.media-card,
.character-card,
.gallery-card,
.door-scene,
.strip-card,
.value-card,
.contact-panel {
  border-radius: var(--radius);
  overflow: hidden;
}
.video-card {
  position: relative;
  min-height: 420px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(10, 11, 14, 0.74), rgba(8, 9, 11, 0.9));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}
.video-card video {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: 20px;
}
.card-label {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(6, 7, 8, 0.56);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--accent-2);
}
.character-card {
  position: relative;
  min-height: 420px;
  padding: 26px 18px 18px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 110, 70, 0.18), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(255, 204, 115, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(13, 15, 18, 0.92), rgba(6, 7, 9, 0.98));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}
.character-card img {
  width: min(82%, 330px);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 26px 40px rgba(0,0,0,.55));
}
.character-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 112, 58, 0.28), transparent 65%);
  filter: blur(8px);
}
.character-meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  z-index: 3;
}
.character-meta span,
.gallery-caption span,
.value-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.character-meta strong,
.gallery-caption strong,
.value-card h4,
.strip-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  letter-spacing: -.02em;
}

.gallery-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 26px;
}
.gallery-card {
  position: relative;
  min-height: 300px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  background: #0d0f12;
}
.gallery-card.large { min-height: 360px; }
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .75s ease;
}
.gallery-card:hover img { transform: scale(1.03); }
.gallery-caption {
  position: absolute;
  inset: auto 16px 16px 16px;
  padding: 18px 18px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(5, 6, 7, 0.2), rgba(5, 6, 7, 0.8));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
}

.project-nightmares {
  overflow: clip;
  background:
    radial-gradient(circle at 12% 20%, rgba(165, 49, 33, 0.14), transparent 28%),
    radial-gradient(circle at 85% 30%, rgba(96, 130, 168, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(8, 9, 11, 0.65), rgba(8, 9, 11, 0.94));
}
.pn-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 34px;
  align-items: center;
}
.door-scene {
  position: relative;
  min-height: 560px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(10, 11, 15, 0.8), rgba(4, 5, 6, 0.94));
  border: 1px solid rgba(255,255,255,0.08);
}
.door-scene::before,
.door-scene::after {
  content: "";
  position: absolute;
  inset: 0;
}
.door-scene::before {
  background: radial-gradient(circle at 50% 72%, rgba(255,255,255,.08), transparent 30%);
}
.door-scene::after {
  background: linear-gradient(180deg, transparent 0%, rgba(255,115,70,.09) 48%, rgba(5,6,7,.6) 100%);
}
.moon {
  position: absolute;
  top: 50px;
  left: 50%;
  width: 140px;
  height: 140px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,243,255,.95), rgba(164,169,209,.25) 44%, transparent 70%);
  filter: blur(2px);
}
.corridor {
  position: absolute;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
}
.corridor-a { top: 58%; }
.corridor-b { top: 68%; }
.door-portal {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: min(42%, 220px);
  aspect-ratio: 0.62;
  border: 2px solid rgba(255,255,255,.13);
  border-radius: 120px 120px 26px 26px;
  background: linear-gradient(180deg, rgba(12, 13, 16, 0.35), rgba(3,4,5,.95));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 30px 50px rgba(0,0,0,.45);
}
.door-portal span {
  position: absolute;
  inset: 8% 16%;
  border-radius: 90px 90px 12px 12px;
  background: radial-gradient(circle at 50% 10%, rgba(255,255,255,.95), rgba(218,221,255,.36) 30%, rgba(102, 186, 220, 0.18) 56%, transparent 74%);
  filter: blur(1px);
  animation: pulse 5s ease-in-out infinite;
}
.shadow-figure {
  position: absolute;
  bottom: 92px;
  left: 50%;
  width: 90px;
  height: 170px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(10,10,12,.4), rgba(0,0,0,.95));
  clip-path: polygon(50% 0%, 68% 10%, 76% 28%, 75% 45%, 85% 86%, 69% 100%, 30% 100%, 15% 86%, 24% 45%, 24% 28%, 32% 10%);
  filter: blur(0.4px) drop-shadow(0 14px 20px rgba(0,0,0,.55));
}
.pn-stamp {
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(5,6,7,.52);
  border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(10px);
  font-size: .74rem;
  letter-spacing: .18em;
  color: var(--accent-2);
}
.pn-copy h2 span {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.08;
  color: rgba(244,238,226,.78);
}
.platform-grid {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.platform-grid a,
.platform-grid span {
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: rgba(244,238,226,.88);
  font-size: .94rem;
}

.studio-strip { padding-top: 92px; }
.strip-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px;
  margin-bottom: 24px;
}
.strip-card img { width: 74px; height: 74px; border-radius: 50%; }
.strip-card h3,
.value-card h4 { margin: 0; }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.value-card {
  padding: 26px;
}
.value-card p { margin-bottom: 0; }

.contact { padding-top: 92px; }
.contact-panel {
  padding: 42px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
}
.contact-link {
  display: inline-block;
  margin-top: 16px;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--accent-2);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 46px;
  color: rgba(244,238,226,.72);
  position: relative;
  z-index: 2;
}
.footer-left p { margin: 4px 0 0; }

.smoke {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.smoke span {
  position: absolute;
  width: 30vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(255, 114, 78, 0.08) 25%, rgba(255,255,255,0) 68%);
  filter: blur(42px);
  opacity: 0.45;
  animation: drift 18s ease-in-out infinite;
}
.smoke-hero span:nth-child(1) { left: -4%; top: 10%; animation-delay: 0s; }
.smoke-hero span:nth-child(2) { left: 45%; top: 2%; width: 24vw; animation-delay: -6s; }
.smoke-hero span:nth-child(3) { right: -2%; bottom: 12%; animation-delay: -10s; }
.smoke-hero span:nth-child(4) { left: 28%; bottom: 14%; width: 20vw; animation-delay: -14s; }
.smoke-pn span:nth-child(1) { top: 12%; left: 0; }
.smoke-pn span:nth-child(2) { bottom: 6%; right: 8%; width: 20vw; animation-delay: -5s; }
.smoke-pn span:nth-child(3) { bottom: 18%; left: 35%; width: 16vw; animation-delay: -11s; }

.tilt-card {
  transform-style: preserve-3d;
  transition: transform .25s ease, box-shadow .25s ease;
}

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

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes drift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(5%, -7%, 0) scale(1.08); }
}
@keyframes pulse {
  0%, 100% { opacity: .95; transform: scale(1); }
  50% { opacity: .72; transform: scale(1.04); }
}

@media (max-width: 1100px) {
  .hero-content,
  .showcase-grid,
  .pn-grid,
  .gallery-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy h1 { max-width: 12ch; }
  .hero-side { max-width: 760px; }
}

@media (max-width: 820px) {
  :root { --header-h: 68px; }
  .site-header {
    padding: 14px 16px;
    gap: 12px;
  }
  .site-nav,
  .mail-link { display: none; }
  .shell { width: min(1240px, calc(100% - 20px)); }
  .hero-content { padding: 96px 0 92px; }
  .logo-card { grid-template-columns: 1fr; text-align: center; }
  .hero-logo { margin: 0 auto; }
  .video-card,
  .character-card,
  .door-scene { min-height: auto; }
  .door-scene { min-height: 420px; }
  .contact-panel { padding: 30px 20px; }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 32px;
  }
}
