/* ==========================================================
   Shirsh Ghoshal — portfolio
   Deep black, burnt-orange fire accents, oversized uppercase
   display type, numbered mono labels, GSAP-driven motion.
   ========================================================== */

:root {
  --bg: #050505;
  --bg-2: #0b0a09;
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.72);
  --ink-3: rgba(255, 255, 255, 0.45);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
  --card: rgba(255, 255, 255, 0.025);
  --fire: #ec5a00;
  --fire-2: #ff9f4f;
  --fire-3: #ff743a;
  --radius: 22px;
  --pad: clamp(20px, 4.5vw, 72px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-2: cubic-bezier(0.625, 0.05, 0, 1);
  --display: "Onest", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.reduced { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--fire); color: #000; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--fire); }
:focus-visible { outline: 2px solid var(--fire-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- utilities ---------- */
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.dim { color: var(--ink-3); }
.small { font-size: 11px; }
.fire-text {
  background: linear-gradient(100deg, var(--fire) 10%, var(--fire-2) 55%, var(--fire-3) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hl { color: var(--ink); background: linear-gradient(transparent 62%, rgba(236, 90, 0, 0.45) 62%) no-repeat 0 0 / 100% 100%; }

/* ---------- global layers ---------- */
.gl-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); }
  40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); }
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 80; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--fire), var(--fire-2)); box-shadow: 0 0 12px var(--fire); transform-origin: 0 50%; transform: scaleX(0); }

/* custom cursor */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 120; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--fire); box-shadow: 0 0 20px rgba(236, 90, 0, 0.7);
  display: grid; place-items: center; opacity: 0;
  transition: width 0.5s var(--ease), height 0.5s var(--ease), margin 0.5s var(--ease), background 0.3s, opacity 0.3s;
}
.cursor.on { opacity: 1; }
.cursor.big { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--fire); }
.cursor.link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(236, 90, 0, 0.18); border: 1px solid var(--fire); box-shadow: none; }
.cursor-label { font: 600 12px/1 var(--display); text-transform: uppercase; letter-spacing: 0.06em; color: #000; opacity: 0; transform: scale(0.6); transition: opacity 0.3s, transform 0.5s var(--ease); }
.cursor.big .cursor-label { opacity: 1; transform: none; }
.hide-native, .hide-native * { cursor: none !important; }

/* ---------- preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: #050505;
  display: grid; grid-template-rows: auto 1fr auto; padding: 28px var(--pad);
  will-change: clip-path;
}
html:not(.js) .loader, html.reduced .loader { display: none; }
.loader-panel {
  position: absolute; top: 0; bottom: 0; width: 50%; z-index: -1;
  clip-path: inset(0 0 100% 0);
}
.lp-l { left: 0; background: linear-gradient(180deg, #120603, #2a0d02 70%, #3a1203); }
.lp-r { right: 0; background: linear-gradient(180deg, #0c0503, #1d0802 70%, #2c0e02); border-left: 1px solid rgba(236, 90, 0, 0.25); }
.loader-top { display: flex; justify-content: space-between; color: var(--ink-3); }
.loader-center { display: grid; place-items: center; }
.loader-text { font-size: clamp(16px, 2.2vw, 30px); font-weight: 500; text-transform: uppercase; letter-spacing: 0.02em; opacity: 0; }
.loader-bottom { display: flex; align-items: flex-end; gap: 12px; }

/* flip counter (3D rotateX digit swap) */
.flip { position: relative; perspective: 600px; display: inline-grid; }
.flip .fnum { grid-area: 1 / 1; display: block; transform-origin: 50% 50% -0.32em; backface-visibility: hidden; }
.flip .fnum > span { display: block; }
.flip-xl { font-size: clamp(90px, 17vw, 260px); font-weight: 900; letter-spacing: -0.06em; line-height: 0.8; }
.flip-lg { font-size: clamp(64px, 8vw, 128px); font-weight: 900; letter-spacing: -0.06em; line-height: 0.85; color: var(--acc, var(--fire)); transition: color 0.6s; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 30px; border-radius: 999px; border: 1px solid transparent; overflow: hidden; isolation: isolate;
  font: 600 15px/1 var(--display); letter-spacing: 0.02em; cursor: pointer; white-space: nowrap;
  transition: box-shadow 0.4s var(--ease), border-color 0.3s, color 0.5s var(--ease-2);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; background: #fff;
  clip-path: circle(0% at var(--mx, 50%) var(--my, 50%));
  transition: clip-path 0.8s var(--ease-2);
}
.btn:hover::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 50%)); }
.btn:hover { color: #0a0a0a; }
.btn-label { display: inline-flex; align-items: center; gap: 10px; }
.btn .arr { display: inline-block; transition: transform 0.4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-sm { height: 44px; padding: 0 22px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-fire {
  color: #fff;
  background: linear-gradient(180deg, #ff7a26 0%, var(--fire) 55%, #c74a00 100%);
  box-shadow: 0 0 0 1px rgba(255, 159, 79, 0.35) inset, 0 10px 40px -10px rgba(236, 90, 0, 0.75);
}
.btn-fire:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset, 0 18px 50px -10px rgba(236, 90, 0, 0.95); }
.btn-ghost { color: #fff; border-color: var(--line-2); background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(8px); }
.btn[disabled] { opacity: 0.7; pointer-events: none; }

.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fire); box-shadow: 0 0 0 0 rgba(236, 90, 0, 0.7); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(236, 90, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(236, 90, 0, 0); } }

.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px;
  color: var(--ink); padding-bottom: 5px; transition: color 0.3s;
}
.link-arrow::before, .link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-2); }
.link-arrow::after { background: var(--fire); transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease-2); }
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow span { transition: transform 0.4s var(--ease); }
.link-arrow:hover { color: var(--fire-2); }
.link-arrow:hover span { transform: translate(3px, -3px); }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: 12px; font-weight: 500; padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--ink-2);
}

/* ---------- nav (motion ported from shirshghoshal.in, fire theme) ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 115; height: 76px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad);
  border-bottom: 1px solid transparent; background: transparent;
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), backdrop-filter 0.5s var(--ease), border-color 0.5s var(--ease);
}
.nav.scrolled { border-color: var(--line); background: rgba(5, 5, 5, 0.55); box-shadow: 0 12px 44px rgba(0, 0, 0, 0.24); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.logo { font-size: 1.35rem; font-weight: 800; letter-spacing: 0.05em; line-height: 1; color: #fff; transition: opacity 0.3s; }
.logo b { color: var(--fire); }
.logo:hover { opacity: 0.75; }
.burger {
  position: relative; z-index: 70; display: flex; align-items: center; justify-content: center; gap: 12px;
  height: 48px; min-width: 104px; padding: 0 12px; border: 0; background: transparent; color: #fff; cursor: pointer;
}
.burger-lines { position: relative; display: block; width: 24px; height: 14px; }
.burger-lines span { position: absolute; left: 0; height: 2px; border-radius: 2px; background: #fff; will-change: transform; transition: translate 0.2s var(--ease), background 0.3s; }
.burger-lines span:first-child { top: 2px; width: 13px; }
.burger-lines span:last-child { top: 10px; width: 24px; }
.burger:not([aria-expanded="true"]):hover .burger-lines span:first-child { translate: 6px 0; }
.burger:not([aria-expanded="true"]):hover .burger-lines span:last-child { translate: -4px 0; }
.burger:hover .burger-lines span, .burger[aria-expanded="true"] .burger-lines span { background: var(--fire-2); }
.burger-label { font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--bg-2); opacity: 0; visibility: hidden; pointer-events: none;
}
.door { position: absolute; top: 0; height: 100%; width: 50%; background: var(--bg); pointer-events: none; transform: scaleX(0); will-change: transform; }
.door-l { left: 0; transform-origin: left; }
.door-r { right: 0; transform-origin: right; }
.menu-backdrop { position: absolute; inset: 0; border: 0; background: transparent; cursor: default; }
.menu-panel { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: min(86rem, 92vw); padding: 92px clamp(24px, 4vw, 64px) 40px; max-height: 100%; overflow-y: auto; }
.menu-panel > * { flex: none; }
.menu-rule { flex: none; height: 1px; width: 100%; margin-bottom: 20px; background: linear-gradient(90deg, var(--fire), var(--fire-2) 40%, rgba(255, 255, 255, 0.1)); box-shadow: 0 0 12px rgba(236, 90, 0, 0.5); transform: scaleX(0); transform-origin: left; }
.menu-links { display: flex; flex-direction: column; gap: clamp(8px, 1.4vh, 16px); }
.menu-links a {
  position: relative; display: inline-flex; width: fit-content; overflow: hidden; padding-bottom: 8px;
  font-size: min(clamp(2.6rem, 10vw, 5.625rem), 8vh); font-weight: 500; line-height: 0.92; color: #fff;
  transition: translate 0.3s var(--ease), color 0.3s;
}
.menu-links a i { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--fire); box-shadow: 0 0 10px var(--fire); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.menu-links a:hover, .menu-links a:focus-visible { translate: 12px 0; color: var(--fire-2); outline: none; }
.menu-links a:hover i, .menu-links a:focus-visible i { transform: scaleX(1); }
.menu-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 32px; font-size: 12px; letter-spacing: 0.28em; color: var(--ink-3); }
.menu-foot span:last-child { color: var(--fire); opacity: 0.75; }
/* no-GSAP fallback: plain CSS open/close */
html.reduced .mobile-menu { transition: opacity 0.3s, visibility 0s 0.3s; }
html.reduced .mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.3s; }
html.reduced .mobile-menu.open .door, html.reduced .mobile-menu.open .menu-rule { transform: none; }
html.reduced .burger[aria-expanded="true"] .burger-lines span:first-child { width: 24px; transform: translateY(4px) rotate(45deg); }
html.reduced .burger[aria-expanded="true"] .burger-lines span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; padding: 112px var(--pad) 44px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.ember { position: absolute; border-radius: 50%; filter: blur(80px); }
.has-gl .hero .ember { display: none; }
.e1 { width: 60vw; height: 60vw; right: -18vw; top: -12vw; background: radial-gradient(circle, rgba(236, 90, 0, 0.32), rgba(100, 16, 5, 0.18) 45%, transparent 70%); }
.e2 { width: 40vw; height: 40vw; left: -14vw; bottom: -16vw; background: radial-gradient(circle, rgba(100, 16, 5, 0.45), transparent 70%); }

.fire-line { position: absolute; pointer-events: none; }
.fl-v {
  right: 21%; top: 0; width: 2px; height: 100%; transform-origin: 50% 0;
  background: linear-gradient(180deg, transparent, rgba(236, 90, 0, 0.1) 15%, var(--fire) 55%, var(--fire-2) 70%, transparent);
  box-shadow: 0 0 18px 2px rgba(236, 90, 0, 0.55), 0 0 60px 6px rgba(236, 90, 0, 0.25);
  animation: flicker 4s ease-in-out infinite;
}
.fl-h {
  left: 0; right: 0; bottom: 34%; height: 1px; transform-origin: 100% 50%;
  background: linear-gradient(90deg, transparent, rgba(236, 90, 0, 0) 20%, rgba(236, 90, 0, 0.75) 79%, transparent 96%);
  box-shadow: 0 0 14px 1px rgba(236, 90, 0, 0.4);
}
.fl-v::after {
  content: ""; position: absolute; left: 50%; top: 66%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 12px 4px var(--fire-2), 0 0 40px 12px rgba(236, 90, 0, 0.6);
}
@keyframes flicker { 0%,100% { opacity: 1; } 45% { opacity: 0.75; } 50% { opacity: 0.95; } 55% { opacity: 0.7; } }

.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-title {
  font-weight: 900; text-transform: uppercase; letter-spacing: -0.055em; line-height: 0.86;
  font-size: clamp(56px, min(13.2vw, calc((100svh - 420px) / 2.55)), 220px); perspective: 1200px;
}
.hero-title .line { display: block; overflow: hidden; padding: 0.02em 0 0.05em; margin-bottom: -0.05em; }
.hero-title .w { display: inline-block; transform-origin: 50% 100%; will-change: transform; }
.outline { color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.85); transition: color 0.6s var(--ease); }
.outline:hover { color: #fff; }

.hero-bottom { display: grid; grid-template-columns: 1.3fr auto; grid-template-areas: "sub cta" "roles roles"; gap: 28px 48px; align-items: end; }
.hero-sub { grid-area: sub; max-width: 560px; font-size: clamp(17px, 1.45vw, 21px); color: var(--ink-2); line-height: 1.55; }
.hero-sub strong { color: #fff; font-weight: 700; }
.hero-cta { grid-area: cta; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-roles { grid-area: roles; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.hero-roles li { padding: 18px 0 0; font-weight: 700; text-transform: uppercase; font-size: clamp(14px, 1.3vw, 18px); letter-spacing: 0.02em; display: flex; gap: 12px; align-items: baseline; }
.hero-roles i { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--fire); font-weight: 400; }
.scroll-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink-3); font-size: 10px; }
.scroll-hint i { width: 1px; height: 36px; background: linear-gradient(var(--fire), transparent); transform-origin: top; animation: hint 2s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- marquee ---------- */
.marquee {
  position: relative; overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0;
  background: linear-gradient(90deg, rgba(100, 16, 5, 0.5), rgba(236, 90, 0, 0.12), rgba(100, 16, 5, 0.5)), var(--bg);
}
.marquee-track { display: flex; width: max-content; will-change: transform; }
html.reduced .marquee-track, html:not(.js) .marquee-track { animation: marquee 38s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee span { font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 3vw, 40px); letter-spacing: -0.02em; white-space: nowrap; }
.marquee b { color: var(--fire); font-size: 22px; display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(90px, 12vw, 170px) var(--pad); max-width: 1480px; margin: 0 auto; }
.section-alt { max-width: none; background: var(--bg-2); border-block: 1px solid rgba(255, 255, 255, 0.04); position: relative; z-index: 1; }
.section-alt > * { max-width: 1336px; margin-left: auto; margin-right: auto; }
#about { background: transparent; max-width: none; }
#about > * { max-width: 1336px; margin-left: auto; margin-right: auto; }

.sec-head { display: grid; grid-template-columns: 1fr 2.4fr; gap: 24px; margin-bottom: clamp(48px, 7vw, 96px); align-items: start; }
.label { color: var(--fire); padding-top: 14px; display: inline-block; }
.label em { font-style: normal; color: var(--ink-3); }
.sec-head h2, .contact-title, .orbit-center h2, .journal-head h2 {
  font-weight: 900; text-transform: uppercase; letter-spacing: -0.045em; line-height: 0.9;
  font-size: clamp(44px, 7.4vw, 124px);
}
.split-line { padding-bottom: 0.06em; margin-bottom: -0.06em; }
.lead { font-size: clamp(20px, 2vw, 28px); line-height: 1.4; font-weight: 500; color: #fff; letter-spacing: -0.01em; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about-copy p { color: var(--ink-2); margin-bottom: 22px; font-size: 17px; }
.about-copy .lead { margin-bottom: 30px; color: #fff; }
.about-copy p.mono { margin-top: 30px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 200px;
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); overflow: hidden;
  transition: border-color 0.4s;
}
.stat:hover { border-color: var(--line-2); }
.stat-n { font-size: clamp(64px, 7vw, 104px); font-weight: 900; letter-spacing: -0.06em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.stat-l { color: var(--ink-3); font-weight: 500; font-size: 15px; }
.stat-i { position: absolute; top: 24px; right: 24px; color: var(--ink-3); }
.stat-fire { background: linear-gradient(160deg, rgba(236, 90, 0, 0.28), rgba(100, 16, 5, 0.25) 55%, rgba(255, 255, 255, 0.02)); border-color: rgba(236, 90, 0, 0.35); }
.stat-fire .stat-n { color: var(--fire-2); text-shadow: 0 0 40px rgba(236, 90, 0, 0.6); }

/* ---------- four worlds (pinned) ---------- */
.worlds { position: relative; }
.worlds-stage {
  position: relative; height: 100svh; min-height: 640px; padding: 110px var(--pad) 48px;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; gap: 24px 48px;
  max-width: 1480px; margin: 0 auto;
}
.worlds-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; }
.worlds-meta .label { padding: 0; }
.worlds-count { display: flex; align-items: flex-end; gap: 10px; }
.worlds-titles { position: relative; align-self: center; min-height: 340px; }
.wt { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; }
.wt-tag { color: var(--acc); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.wt-tag::before { content: ""; width: 28px; height: 1px; background: var(--acc); box-shadow: 0 0 10px var(--acc); }
.wt h3 { font-size: clamp(40px, 5.6vw, 92px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.045em; line-height: 0.92; }
.wt .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.wt .ln > span { display: inline-block; }
.wt p { margin-top: 26px; color: var(--ink-2); font-size: 17px; max-width: 460px; }
.worlds-visuals { position: relative; align-self: stretch; min-height: 360px; }
.wv {
  position: absolute; inset: 0; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line); background: rgba(10, 9, 8, 0.55); backdrop-filter: blur(6px);
  display: grid; place-items: center;
}
html.js:not(.reduced) .wt:not(:first-child), html.js:not(.reduced) .wv:not(:first-child) { visibility: hidden; }
.worlds-progress { grid-column: 1 / -1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.worlds-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--fire), var(--fire-2)); transform-origin: 0 50%; transform: scaleX(0); }

/* visual: creator */
.wv-creator { align-content: center; gap: 22px; padding: 28px; }
.code-win { width: min(440px, 100%); border-radius: 16px; border: 1px solid var(--line-2); background: #0c0b0a; box-shadow: 0 30px 80px -30px rgba(79, 142, 247, 0.5); overflow: hidden; }
.code-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.code-bar i { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.code-bar i:first-child { background: #ec5a00; }
.code-bar span { margin-left: auto; font-size: 10px; color: var(--ink-3); }
.code { padding: 18px 20px; font: 13px/1.7 var(--mono); color: #e8e8e8; white-space: pre; overflow: hidden; }
.c-k { color: #b07fe8; } .c-f { color: #4f8ef7; } .c-s { color: #ff9f4f; } .c-c { color: rgba(255,255,255,0.35); }
.chip-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 460px; }
.chip-cloud span { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(79, 142, 247, 0.35); background: rgba(79, 142, 247, 0.08); font-size: 13px; font-weight: 500; }

/* visual: author */
.wv-author { perspective: 1000px; }
.fan { position: absolute; width: clamp(110px, 12vw, 170px); aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px 12px 12px 6px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255,255,255,0.08); }
.f1 { transform: translateX(-105%) rotate(-14deg) translateY(16px); }
.f2 { transform: translateX(-36%) rotate(-5deg); }
.f3 { transform: translateX(36%) rotate(5deg); }
.f4 { transform: translateX(105%) rotate(14deg) translateY(16px); }

/* visual: music */
.wv-music { align-content: center; gap: 30px; }
.vinyl {
  width: clamp(180px, 20vw, 280px); aspect-ratio: 1; border-radius: 50%;
  background: repeating-radial-gradient(circle, #111 0 2px, #1a1a1a 2px 4px);
  display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 30px 80px -20px rgba(176, 127, 232, 0.6);
  animation: spin 6s linear infinite; position: relative;
}
.vinyl::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, transparent, rgba(255,255,255,0.08), transparent 30%, transparent 50%, rgba(255,255,255,0.06), transparent 80%); }
@keyframes spin { to { transform: rotate(360deg); } }
.vinyl-label { width: 36%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #050505 6%, #b07fe8 7%, #7c3aed); display: grid; place-content: center; text-align: center; font-weight: 900; font-size: 13px; text-transform: uppercase; line-height: 1.1; }
.vinyl-label small { display: block; font: 9px var(--mono); opacity: 0.7; }
.bars { display: flex; gap: 4px; align-items: center; height: 60px; }
.bars i { width: 4px; border-radius: 2px; background: linear-gradient(#b07fe8, #ec5a00); height: 20%; animation: bar 1.1s ease-in-out infinite alternate; }
.bars i:nth-child(3n) { animation-duration: 0.8s; } .bars i:nth-child(4n+1) { animation-duration: 1.4s; } .bars i:nth-child(5n+2) { animation-delay: -0.5s; } .bars i:nth-child(2n) { animation-delay: -0.9s; }
@keyframes bar { to { height: 100%; } }

/* visual: podcast */
.wv-pod img { width: 100%; height: 100%; object-fit: cover; }
.onair { position: absolute; left: 18px; top: 18px; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(5,5,5,0.75); backdrop-filter: blur(8px); border: 1px solid var(--line-2); font-size: 10px; }
.onair .dot { background: #7fe8a8; }

/* ---------- work: stacking cards ---------- */
.cases { position: relative; }
.case-wrap { position: sticky; top: 13vh; perspective: 1400px; margin-bottom: 4vh; }
.case {
  position: relative; overflow: hidden; min-height: min(64vh, 560px); padding: clamp(26px, 3.4vw, 52px);
  border-radius: 30px; border: 1px solid var(--line-2);
  background: radial-gradient(120% 90% at 100% 100%, rgba(236, 90, 0, 0.2), transparent 55%), linear-gradient(160deg, #161412, #0c0b0a 60%);
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  transform-origin: 50% 0%; will-change: transform; box-shadow: 0 -30px 80px -30px rgba(0,0,0,0.9);
}
.case-wrap:nth-child(2) .case { background: radial-gradient(120% 90% at 100% 100%, rgba(127, 232, 168, 0.14), transparent 55%), linear-gradient(160deg, #141615, #0b0c0b 60%); }
.case-wrap:nth-child(3) .case { background: radial-gradient(120% 90% at 100% 100%, rgba(79, 142, 247, 0.18), transparent 55%), linear-gradient(160deg, #131417, #0b0b0c 60%); }
.case-wrap:nth-child(4) .case { background: radial-gradient(120% 90% at 100% 100%, rgba(176, 127, 232, 0.17), transparent 55%), linear-gradient(160deg, #151317, #0c0b0c 60%); }
.case-wrap:nth-child(5) .case { background: radial-gradient(120% 90% at 100% 100%, rgba(244, 114, 182, 0.15), transparent 55%), linear-gradient(160deg, #171314, #0c0b0b 60%); }
.case-top { display: flex; justify-content: space-between; gap: 16px; }
.case-idx { color: var(--fire); }
.case-cat { color: var(--ink-3); text-align: right; }
.case-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: end; }
.case h3 { font-size: clamp(32px, 4.6vw, 72px); font-weight: 900; letter-spacing: -0.045em; line-height: 0.95; margin-bottom: 14px; text-transform: uppercase; }
.case-tagline { font-weight: 600; color: #fff; margin-bottom: 14px; font-size: 18px; }
.case-main p:last-child { color: var(--ink-2); max-width: 600px; }
.case-side { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.link-row { display: flex; gap: 20px; flex-wrap: wrap; }
.case-big {
  position: absolute; right: -0.04em; top: -0.18em; font-size: clamp(160px, 24vw, 380px); font-weight: 900; letter-spacing: -0.08em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.08); pointer-events: none;
}

.sub-head { display: flex; justify-content: space-between; margin: clamp(70px, 8vw, 110px) 0 20px; }
.sub-head .label { padding: 0; }
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.client {
  position: relative; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card);
  min-height: 180px; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  transition: border-color 0.4s;
}
.client::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(236, 90, 0, 0.22), rgba(100, 16, 5, 0.15)); clip-path: inset(100% 0 0 0); transition: clip-path 0.8s var(--ease-2); }
a.client:hover::before { clip-path: inset(0 0 0 0); }
.client .mono { color: var(--ink-3); font-size: 11px; }
.client h4 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin: auto 0 6px; padding-top: 34px; }
.client p { color: var(--ink-3); font-size: 14px; }
.c-arr { position: absolute; top: 20px; right: 22px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all 0.5s var(--ease); }
a.client:hover { border-color: rgba(236, 90, 0, 0.45); }
a.client:hover .c-arr { background: var(--fire); border-color: var(--fire); transform: rotate(45deg); }

/* ---------- books: orbit ---------- */
.orbit-sec { position: relative; overflow: hidden; }
.orbit-stage { position: relative; height: 100svh; min-height: 620px; display: grid; place-items: center; }
.orbit { position: absolute; inset: 0; display: grid; place-items: center; }
.orbit-item {
  grid-area: 1 / 1; width: clamp(110px, 12.5vw, 200px); aspect-ratio: 2 / 3; border-radius: 8px 14px 14px 8px; overflow: hidden;
  background: #111; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.08); will-change: transform;
}
.orbit-item img { width: 100%; height: 100%; object-fit: cover; }
.orbit-type { display: flex; flex-direction: column; justify-content: space-between; padding: 16px; background: linear-gradient(160deg, var(--fire), #7a2400); }
.orbit-type:nth-child(5) { background: linear-gradient(160deg, #1d1b19, #0c0b0a); border: 1px solid rgba(236, 90, 0, 0.4); }
.orbit-type b { font-size: clamp(48px, 5.5vw, 90px); font-weight: 900; letter-spacing: -0.06em; line-height: 1; }
.orbit-type .mono { font-size: 10px; }
.orbit-center { position: relative; z-index: 500; text-align: center; pointer-events: none; }
.orbit-center .label { padding: 0 0 18px; }
.orbit-center h2 { text-shadow: 0 10px 60px rgba(0,0,0,0.8); }
.orbit-cap { margin-top: 22px; color: var(--fire-2); min-height: 1.4em; }
html.reduced .orbit-item, html:not(.js) .orbit-item { display: none; }

.books-sec { padding-top: 40px; }
.books { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.book {
  display: grid; grid-template-columns: 170px 1fr; gap: 28px; padding: 24px; border-radius: 26px;
  border: 1px solid var(--line); background: var(--card); position: relative; overflow: hidden;
  transition: border-color 0.4s;
}
.book::after {
  content: ""; position: absolute; width: 340px; height: 340px; left: -120px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--acc) 30%, transparent), transparent 70%);
  opacity: 0.4; pointer-events: none; transition: opacity 0.5s;
}
.book:hover { border-color: color-mix(in srgb, var(--acc) 45%, transparent); }
.book:hover::after { opacity: 0.85; }
.cover {
  position: relative; z-index: 1; aspect-ratio: 2 / 3; border-radius: 6px 12px 12px 6px; overflow: hidden; background: #111;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.7s var(--ease);
}
.cover::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 10px; background: linear-gradient(90deg, rgba(0,0,0,0.45), rgba(255,255,255,0.08), transparent); }
.book:hover .cover { transform: translateY(-6px) rotate(-2deg); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.book-body { position: relative; z-index: 1; display: flex; flex-direction: column; }
.book-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--acc); font-size: 11px; }
.book h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; margin: 14px 0 8px; text-transform: uppercase; }
.book-tag { font-weight: 600; color: #fff; margin-bottom: 12px; }
.book-body > p:not(.book-tag) { color: var(--ink-3); font-size: 14px; line-height: 1.65; }
.book-foot { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.book-foot .mono { font-size: 10px; }

/* ---------- music + podcast ---------- */
.sound-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tracks, .podcast { border: 1px solid var(--line); border-radius: 26px; background: var(--card); padding: 26px; display: flex; flex-direction: column; }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); gap: 12px; }
.panel-head > .mono:first-child { color: var(--fire); }
.track-list { list-style: none; flex: 1; }
.track-list a {
  position: relative; display: grid; grid-template-columns: 34px 44px 1fr auto 52px; align-items: center; gap: 14px;
  padding: 22px 6px; border-bottom: 1px solid var(--line); isolation: isolate; overflow: hidden;
}
.track-list a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(236, 90, 0, 0.16), transparent); clip-path: inset(0 100% 0 0); transition: clip-path 0.7s var(--ease-2); }
.track-list a:hover::before { clip-path: inset(0 0 0 0); }
.t-n { color: var(--ink-3); }
.play { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: all 0.4s var(--ease); }
.play::after { content: ""; position: absolute; left: 17px; top: 14px; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.track-list a:hover .play { background: var(--fire); border-color: var(--fire); box-shadow: 0 0 24px rgba(236, 90, 0, 0.7); transform: scale(1.08); }
.t-title { font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase; transition: transform 0.6s var(--ease); }
.track-list a:hover .t-title { transform: translateX(8px); }
.t-y { color: var(--ink-3); text-align: right; }
.eq { display: flex; gap: 3px; align-items: flex-end; height: 18px; opacity: 0; transition: opacity 0.3s; }
.eq i { width: 3px; background: var(--fire-2); border-radius: 2px; animation: eq 0.9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -0.3s; } .eq i:nth-child(3) { animation-delay: -0.6s; } .eq i:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq { from { height: 4px; } to { height: 18px; } }
.track-list a:hover .eq { opacity: 1; }
.yt {
  margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 22px; border-radius: 16px; background: linear-gradient(100deg, rgba(236, 90, 0, 0.18), rgba(100, 16, 5, 0.2));
  border: 1px solid rgba(236, 90, 0, 0.3); font-weight: 700; transition: box-shadow 0.4s, background 0.4s;
}
.yt:hover { box-shadow: 0 16px 40px -16px rgba(236, 90, 0, 0.8); background: linear-gradient(100deg, rgba(236, 90, 0, 0.3), rgba(100, 16, 5, 0.3)); }
.pod-feature { position: relative; margin: 20px 0 6px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: #111; }
.pod-feature img { width: 100%; height: 100%; object-fit: cover; }
.pod-badge { position: absolute; left: 14px; top: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(5, 5, 5, 0.75); backdrop-filter: blur(8px); border: 1px solid var(--line-2); font-size: 10px; }
.eps { list-style: none; }
.eps li { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.eps li:last-child { border-bottom: 0; }
.eps .ep { color: var(--fire); font-size: 11px; }
.eps b { display: block; font-weight: 700; font-size: 16px; }
.eps small { color: var(--ink-3); font-size: 13px; }
.eps .dur { color: var(--ink-3); font-size: 11px; }

/* ---------- services accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); position: relative; }
.acc-item::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: linear-gradient(90deg, var(--fire), var(--fire-2)); box-shadow: 0 0 10px var(--fire); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease-2); }
.acc-item.open::after { transform: scaleX(1); }
.acc-head {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 90px 1fr 48px; align-items: center; gap: 20px; padding: 30px 0;
}
.acc-head .mono { color: var(--fire); }
.acc-title { font-size: clamp(24px, 3.6vw, 52px); font-weight: 800; letter-spacing: -0.035em; text-transform: uppercase; line-height: 1; transition: transform 0.6s var(--ease), color 0.4s; }
.acc-head:hover .acc-title { transform: translateX(12px); }
.acc-item.open .acc-title { color: var(--fire-2); }
.plus { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: all 0.5s var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: #fff; transform: translate(-50%, -50%); transition: transform 0.5s var(--ease); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.open .plus { background: var(--fire); border-color: var(--fire); box-shadow: 0 0 24px rgba(236, 90, 0, 0.6); transform: rotate(180deg); }
.acc-item.open .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.7s var(--ease-2); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; }
.acc-body { padding: 0 0 34px 110px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; align-items: start; opacity: 0; transform: translateY(14px); transition: opacity 0.5s, transform 0.7s var(--ease); }
.acc-item.open .acc-body { opacity: 1; transform: none; transition-delay: 0.15s; }
.acc-body p { color: var(--ink-2); font-size: 17px; max-width: 520px; }
.acc-buy { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; border-top: 1px dashed var(--line); }
.acc-price { display: flex; flex-direction: column; gap: 6px; }
.acc-price .mono { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.acc-price strong { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--fire-2); }
.acc-price small { font-size: 0.4em; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }

/* ---------- journal (horizontal) ---------- */
.journal { overflow: hidden; }
.journal-stage { max-width: none !important; display: flex; align-items: center; gap: clamp(40px, 5vw, 80px); padding: clamp(90px, 10vw, 140px) 0 clamp(90px, 10vw, 140px) var(--pad); min-height: 100svh; }
.journal-head { flex: none; width: clamp(280px, 30vw, 460px); }
.journal-head .label { padding: 0 0 22px; }
.journal-head h2 { font-size: clamp(44px, 5.4vw, 92px); }
.journal-bar { margin-top: 36px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; width: 70%; }
.journal-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--fire), var(--fire-2)); transform-origin: 0 50%; transform: scaleX(0); }
.posts { display: flex; gap: 16px; padding-right: var(--pad); will-change: transform; }
.post {
  flex: none; width: clamp(300px, 27vw, 420px); min-height: clamp(380px, 52vh, 480px);
  position: relative; padding: 28px; border-radius: 26px; border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)); display: flex; flex-direction: column; overflow: hidden;
  transition: border-color 0.4s, transform 0.6s var(--ease);
}
.post::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 40px; background: var(--acc); transition: width 0.8s var(--ease-2); box-shadow: 0 0 14px var(--acc); }
.post:hover { border-color: var(--line-2); transform: translateY(-8px) rotate(-0.6deg); }
.post:hover::before { width: 100%; }
.post-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--ink-3); }
.post-meta span:first-child { color: var(--acc); }
.post-n { font-size: clamp(80px, 8vw, 130px); font-weight: 900; letter-spacing: -0.07em; line-height: 1; margin-top: 16px; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--acc) 60%, transparent); }
.post h3 { font-size: clamp(20px, 1.7vw, 26px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; margin: auto 0 12px; padding-top: 30px; }
.post p { color: var(--ink-3); font-size: 14px; }

/* ---------- contact ---------- */
.contact { overflow: hidden; isolation: isolate; max-width: none; background: transparent; }
.contact > .contact-grid { max-width: 1336px; margin: 0 auto; }
.contact-bg { position: absolute; inset: 0; z-index: -1; }
.fl-c {
  left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--fire) 30%, var(--fire-2) 50%, var(--fire) 70%, transparent);
  box-shadow: 0 0 20px 2px rgba(236, 90, 0, 0.6);
}
.e4 { width: 70vw; height: 50vw; left: -10vw; top: -25vw; background: radial-gradient(ellipse, rgba(236, 90, 0, 0.18), rgba(100, 16, 5, 0.15) 40%, transparent 70%); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact-title { margin: 24px 0 22px; }
.socials { list-style: none; margin-top: 48px; border-top: 1px solid var(--line); }
.socials li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.socials .mono { color: var(--ink-3); }
.socials a { transition: color 0.3s; }
.socials a:hover { color: var(--fire-2); }

.form { padding: clamp(24px, 3vw, 40px); border-radius: 28px; border: 1px solid var(--line); background: rgba(14, 12, 11, 0.8); backdrop-filter: blur(14px); display: flex; flex-direction: column; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label.mono, .field .lbl { font-size: 11px; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; font: 500 16px/1.4 var(--display); color: #fff; background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px; outline: none; resize: vertical;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.field select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ec5a00' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.field select option { background: #111; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--fire); background: rgba(236, 90, 0, 0.05); box-shadow: 0 0 0 4px rgba(236, 90, 0, 0.15); }
.field .invalid { border-color: #f47272; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { cursor: pointer; }
.radios input { position: absolute; opacity: 0; pointer-events: none; }
.radios span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: all 0.3s; }
.radios input:checked + span { background: var(--fire); border-color: var(--fire); color: #fff; }
.radios input:focus-visible + span { outline: 2px solid var(--fire-2); outline-offset: 2px; }
.form-status { min-height: 18px; font-size: 11px; color: var(--ink-3); text-align: center; }
.form-status.ok { color: #7fe8a8; } .form-status.err { color: #f47272; }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 2; background: #050505; overflow: hidden; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--fire), transparent); box-shadow: 0 0 20px var(--fire); }
.footer::after { content: ""; position: absolute; left: 50%; bottom: -40%; width: 120%; height: 80%; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(236, 90, 0, 0.22), transparent 65%); pointer-events: none; }
.footer-inner { position: relative; z-index: 1; padding: clamp(60px, 8vw, 110px) var(--pad) 32px; }
.footer-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.footer-cta .label { padding: 0; }
.footer-mail { font-size: clamp(26px, 3.4vw, 52px); font-weight: 800; letter-spacing: -0.035em; text-transform: uppercase; display: inline-flex; gap: 14px; align-items: center; transition: color 0.4s; }
.footer-mail span { display: inline-block; transition: transform 0.6s var(--ease); color: var(--fire); }
.footer-mail:hover { color: var(--fire-2); }
.footer-mail:hover span { transform: translate(6px, -6px) rotate(45deg); }
.footer-big {
  font-weight: 900; text-transform: uppercase; letter-spacing: -0.06em; line-height: 0.82; white-space: nowrap;
  font-size: clamp(52px, 13.2vw, 228px); text-align: center; padding: clamp(50px, 7vw, 100px) 0 30px; overflow: hidden;
}
.footer-big .char { display: inline-block; background: linear-gradient(180deg, #fff 20%, var(--fire) 75%, #6a1f00); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.reduced .footer-big, html:not(.js) .footer-big { background: linear-gradient(180deg, #fff 20%, var(--fire) 75%, #6a1f00); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a, .footer-row > a { font-size: 14px; color: var(--ink-2); transition: color 0.3s; }
.footer-links a:hover, .footer-row > a:hover { color: var(--fire-2); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .books, .sound-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 900px) {
  .journal-stage { flex-direction: column; align-items: stretch; padding-right: var(--pad); min-height: 0; }
  .journal-head { width: auto; }
  .journal-bar { display: none; }
  .posts { flex-direction: column; padding-right: 0; }
  .post { width: auto; min-height: 260px; }
}
@media (max-width: 820px) {
  .sec-head, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .label { padding-top: 0; }
  .hero-bottom { grid-template-columns: 1fr; grid-template-areas: "sub" "cta" "roles"; }
  .hero-roles { grid-template-columns: 1fr 1fr; row-gap: 4px; }
  .scroll-hint { display: none; }
  .clients { grid-template-columns: 1fr 1fr; }
  .acc-body { grid-template-columns: 1fr; padding-left: 0; }
  .acc-head { grid-template-columns: 48px 1fr 44px; }
  .fl-v { right: 12%; }
  .worlds-stage { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; padding-top: 96px; gap: 18px; }
  .worlds-titles { min-height: 230px; align-self: start; }
  .wt h3 { font-size: clamp(36px, 10vw, 60px); }
  .wt p { margin-top: 16px; font-size: 15px; }
  .worlds-visuals { min-height: 0; }
  .case-wrap { top: 10vh; }
  .case { min-height: 0; }
}
@media (max-width: 560px) {
  .logo-text { display: none; }
  .hero { padding-top: 120px; }
  .hero-cta .btn { flex: 1; padding: 0 20px; }
  .fl-v { right: 6%; opacity: 0.55; }
  .fl-h { bottom: 46%; opacity: 0.5; }
  .clients, .row2 { grid-template-columns: 1fr; }
  .stat { min-height: 150px; padding: 20px; }
  .stat-i { top: 18px; right: 18px; }
  .book { grid-template-columns: 1fr; }
  .cover { width: 150px; }
  .track-list a { grid-template-columns: 26px 40px 1fr 44px; gap: 12px; }
  .track-list .eq { display: none; }
  .play { width: 40px; height: 40px; } .play::after { left: 15px; top: 12px; }
  .outline { -webkit-text-stroke-width: 1.5px; }
  .code { font-size: 11px; padding: 14px; }
  .fan { width: 92px; }
  .vinyl { width: 160px; }
  .case-big { font-size: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
html.reduced .worlds-stage, html:not(.js) .worlds-stage { height: auto; display: block; }
html.reduced .wt, html.reduced .wv, html:not(.js) .wt, html:not(.js) .wv { position: relative; margin-bottom: 24px; }
html.reduced .wv, html:not(.js) .wv { min-height: 320px; }
html.reduced .orbit-stage, html:not(.js) .orbit-stage { height: auto; min-height: 0; padding: 120px 0 40px; }
html.reduced .journal-stage, html:not(.js) .journal-stage { flex-direction: column; align-items: stretch; }
html.reduced .posts, html:not(.js) .posts { flex-wrap: wrap; }

/* ==========================================================
   loot.ru motion extras
   ========================================================== */


/* orbit tiles bob (individual transform props compose with GSAP's transform) */
.orbit-item { translate: 0 var(--fy, 0px); rotate: var(--fr, 0deg); }

/* sine-wave visual in the music panel */
.wave { display: block; width: 72px; height: 28px; margin-left: auto; color: var(--fire); }
.wave canvas { display: block; width: 100%; height: 100%; }

/* repulsion cards (footer) */
.repel { display: flex; justify-content: center; align-items: center; margin-top: clamp(50px, 7vw, 90px); padding: 20px 0; }
.repel-card { width: clamp(84px, 11vw, 170px); aspect-ratio: 3 / 4; margin: 0 clamp(-22px, -1.4vw, -10px); position: relative; will-change: transform; }
.repel-card > div {
  width: 100%; height: 100%; border-radius: 14px; overflow: hidden; background: #111;
  border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
}
.repel-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.repel-type > div { display: flex; flex-direction: column; justify-content: space-between; padding: 14px; background: linear-gradient(160deg, var(--fire), #7a2400); }
.repel-type b { font-size: clamp(30px, 3.6vw, 60px); font-weight: 900; letter-spacing: -0.06em; line-height: 1; }
.repel-type .mono { font-size: 10px; }
