/* ==========================================================================
   GAO TIANYU (高田雨) — OBSIDIAN CINEMA STUDIO DESIGN SYSTEM
   Awwwards-Grade Dark Editorial Aesthetics · Fluid Motion · Conversion Clarity
   ========================================================================== */

:root {
  --bg-0: #060709;
  --bg-1: #0b0d12;
  --bg-2: #12151d;
  --bg-3: #1a1e29;

  --ink-1: #f5f5f7;
  --ink-2: #a0a7b5;
  --ink-3: #646c7a;

  --gold: #d9b675;
  --gold-bright: #f0d399;
  --gold-dim: rgba(217, 182, 117, 0.16);
  --gold-border: rgba(217, 182, 117, 0.34);
  --emerald: #34d399;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --glass: rgba(13, 16, 23, 0.68);
  --glass-strong: rgba(11, 13, 18, 0.86);

  --font-display: "Syne", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
  --font-sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.8, 0.25, 1);
  --container-w: 1340px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg-0);
  color: var(--ink-1);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto;
}
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--ink-1);
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
body.modal-open { overflow: hidden; }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold); color: #08090c; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.14); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Container */
.container {
  width: min(100% - 48px, var(--container-w));
  margin-inline: auto;
}
@media (max-width: 768px) {
  .container { width: min(100% - 32px, var(--container-w)); }
}

/* Subtle Film Grain */
.film-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 900;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scroll Progress Hairline */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  z-index: 1001;
  box-shadow: 0 0 12px rgba(217, 182, 117, 0.7);
}

/* ==================== CUSTOM MAGNETIC CURSOR ==================== */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.25s ease;
  will-change: transform;
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}
.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--gold-bright);
}
.cursor-ring {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border-radius: 50%;
  border: 1px solid rgba(217, 182, 117, 0.55);
  display: grid;
  place-items: center;
  transition: width 0.28s var(--ease-out-expo), height 0.28s var(--ease-out-expo), margin 0.28s var(--ease-out-expo), background 0.28s ease, border-color 0.28s ease, opacity 0.25s ease;
}
.cursor-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #08090c;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.cursor-ring.has-label {
  width: 78px;
  height: 78px;
  margin: -39px 0 0 -39px;
  background: rgba(217, 182, 117, 0.94);
  border-color: var(--gold-bright);
  backdrop-filter: blur(4px);
}
.cursor-ring.has-label .cursor-label {
  opacity: 1;
  transform: scale(1);
}
body.cursor-visible .cursor-dot,
body.cursor-visible .cursor-ring { opacity: 1; }

/* ==================== PRELOADER CURTAIN ==================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #050608;
  display: grid;
  place-items: center;
  padding: 32px;
}
.preloader-inner {
  width: min(520px, 100%);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.preloader-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-2);
}
.preloader-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.preloader-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  background: linear-gradient(120deg, #fff 15%, var(--gold-bright) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.preloader-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}
.preloader-bar {
  height: 2px;
  width: 100%;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  border-radius: 2px;
}
.preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}

/* ==================== SHARED TYPOGRAPHY & SURFACE TOKENS ==================== */
.mono-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.mono-tag.gold { color: var(--gold); }
.mono-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
}

.glass-card {
  position: relative;
  background: linear-gradient(180deg, rgba(22, 26, 36, 0.72), rgba(12, 14, 20, 0.84));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(217, 182, 117, 0.11), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.glass-card:hover::before { opacity: 1; }

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline, .btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  transition: transform 0.35s var(--ease-out-expo), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.btn-primary {
  padding: 15px 28px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #090a0d;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(217, 182, 117, 0.24);
}
.btn-primary:hover {
  box-shadow: 0 16px 40px rgba(217, 182, 117, 0.38);
  transform: translateY(-2px);
}
.btn-secondary {
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  color: var(--ink-1);
  backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-border);
}
.btn-outline {
  padding: 12px 22px;
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  background: rgba(217, 182, 117, 0.06);
}
.btn-outline:hover {
  background: var(--gold);
  color: #08090c;
}
.play-ring {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: #08090c;
  display: grid;
  place-items: center;
  padding-left: 2px;
}

/* ==================== FLOATING HEADER ==================== */
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 800;
  padding-inline: 20px;
  transition: top 0.35s var(--ease-out-expo);
}
.site-header.scrolled { top: 10px; }

.header-inner {
  width: min(100%, var(--container-w));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 14px 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(10, 12, 17, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-monogram {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  background: radial-gradient(circle at 30% 30%, rgba(217, 182, 117, 0.25), rgba(217, 182, 117, 0.04));
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand-monogram.small { width: 32px; height: 32px; font-size: 9.5px; }
.brand-meta { display: flex; flex-direction: column; line-height: 1.15; }
.brand-meta strong { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }
.brand-meta small { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; color: var(--ink-3); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  color: var(--ink-2);
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--ink-1);
  background: rgba(255, 255, 255, 0.07);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  transition: border-color 0.25s ease;
}
.lang-toggle:hover { border-color: var(--gold-border); }
.lang-opt.active { color: var(--gold-bright); font-weight: 600; }

.btn-header {
  padding: 8px 18px;
  font-size: 13px;
  background: rgba(217, 182, 117, 0.14);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
}
.btn-header:hover {
  background: var(--gold);
  color: #08090c;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.mobile-menu-btn span {
  width: 16px;
  height: 1.5px;
  background: var(--ink-1);
  transition: transform 0.3s ease;
}
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 790;
  background: rgba(6, 7, 9, 0.96);
  backdrop-filter: blur(24px);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-nav-drawer.open { opacity: 1; pointer-events: auto; }
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  font-size: 24px;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: inline-flex; }
}
@media (max-width: 560px) {
  .btn-header { display: none; }
}

/* ==================== HERO SHOWREEL STAGE ==================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 112px 0 64px;
  overflow: hidden;
}
.hero-media-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-poster, .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.hero-poster { filter: brightness(0.45) saturate(1.1); }
.hero-video {
  opacity: 0;
  filter: brightness(0.42) contrast(1.08) saturate(1.08);
  transition: opacity 0.9s ease;
}
.hero-video.ready { opacity: 1; }
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(6, 7, 9, 0.18), rgba(6, 7, 9, 0.86) 80%),
    linear-gradient(180deg, rgba(6, 7, 9, 0.72) 0%, rgba(6, 7, 9, 0.25) 38%, rgba(6, 7, 9, 0.88) 85%, #060709 100%);
}
.hero-ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}
.orb-1 {
  width: 540px;
  height: 540px;
  top: -120px;
  right: -80px;
  background: rgba(217, 182, 117, 0.16);
}
.orb-2 {
  width: 460px;
  height: 460px;
  bottom: -140px;
  left: -100px;
  background: rgba(56, 189, 248, 0.08);
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  font-size: 12.5px;
  color: var(--ink-1);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  position: relative;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--emerald);
  animation: pulseRing 2s infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(2.1); opacity: 0; }
}

.hero-reel-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(10, 12, 17, 0.6);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.hero-reel-switcher .mono-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-right: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.reel-chip {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-2);
  transition: background 0.25s ease, color 0.25s ease;
}
.reel-chip.active, .reel-chip:hover {
  background: rgba(217, 182, 117, 0.2);
  color: var(--gold-bright);
}

.hero-center {
  max-width: 980px;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.kicker-line {
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.4vw, 5.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.title-mask { display: block; overflow: hidden; padding-bottom: 6px; }
.title-line { display: block; }
@media (min-width: 900px) {
  .title-line { white-space: nowrap; }
}
.title-line-italic em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-bright);
  padding-right: 6px;
}
.title-amp {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink-3);
  margin: 0 12px;
  font-size: 0.86em;
}

.hero-lead {
  margin: 26px 0 36px;
  max-width: 660px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--ink-2);
  font-weight: 300;
  line-height: 1.75;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 12px;
  backdrop-filter: blur(18px);
}
.metric-cell {
  background: rgba(9, 11, 16, 0.78);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.metric-val {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(120deg, #ffffff 30%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric-label {
  font-size: 12.5px;
  color: var(--ink-2);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 22px;
  right: 36px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.scroll-line span {
  display: block;
  width: 100%;
  height: 50%;
  background: var(--gold);
  animation: scrollDrop 1.9s var(--ease-out-expo) infinite;
}
@keyframes scrollDrop {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(220%); }
}
@media (max-width: 900px) {
  .hero-metrics-bar { grid-template-columns: repeat(2, 1fr); }
  .hero-scroll-cue { display: none; }
}

/* ==================== INFINITE MARQUEE ==================== */
.marquee-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
  padding: 18px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.marquee-track {
  display: flex;
  width: max-content;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  white-space: nowrap;
}
.track-forward .marquee-group {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-1);
  animation: marqueeLeft 38s linear infinite;
}
.track-forward i { color: var(--gold); font-style: normal; font-size: 10px; }
.track-reverse .marquee-group {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  animation: marqueeRight 46s linear infinite;
}
.track-reverse i { font-style: normal; color: var(--gold-border); }
.marquee-band:hover .marquee-group { animation-play-state: paused; }
@keyframes marqueeLeft { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes marqueeRight { from { transform: translateX(-100%); } to { transform: translateX(0); } }

/* ==================== SECTION COMMON ==================== */
.section {
  padding: clamp(78px, 9vw, 132px) 0;
  position: relative;
}
.section-head {
  margin-bottom: clamp(36px, 5vw, 60px);
  max-width: 1080px;
}
.section-index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.index-line {
  width: 28px;
  height: 1px;
  background: var(--gold-border);
}
.section-title {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3.1vw, 2.7rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.section-desc {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.75;
}

/* ==================== 01. STRATEGY & MULTI-BRAND MATRIX ==================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.pillar-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.35s ease;
}
.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-border);
}
.pillar-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.3rem;
  line-height: 1;
  color: var(--gold);
}
.pillar-card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}
.pillar-card p {
  margin: 0;
  font-size: 14.2px;
  color: var(--ink-2);
  line-height: 1.75;
  flex: 1;
}
.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
}
.pillar-tags span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--ink-2);
  background: rgba(255,255,255,0.03);
}
@media (max-width: 900px) { .pillars-grid { grid-template-columns: 1fr; } }

/* Multi-Brand Matrix Box */
.brand-matrix-box {
  padding: clamp(24px, 3.5vw, 42px);
}
.matrix-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.matrix-title {
  margin: 10px 0 0;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 600;
}
.matrix-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}
.matrix-tab {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 0.3s var(--ease-out-expo);
}
.matrix-tab.active {
  background: var(--gold);
  color: #08090c;
  font-weight: 600;
}

.matrix-stage {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 34px;
  align-items: center;
}
.matrix-visuals {
  position: relative;
  padding-bottom: 28px;
}
.matrix-hero-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  aspect-ratio: 1464 / 600;
  background: #0d1016;
}
.matrix-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}
.frame-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(6, 7, 9, 0.78);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--gold-bright);
  backdrop-filter: blur(8px);
}
.matrix-pack-card {
  position: absolute;
  right: 16px;
  bottom: 0;
  width: 142px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(217, 182, 117, 0.45);
  background: #fff;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.65);
}
.matrix-pack-card img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

.matrix-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.matrix-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.matrix-brand-row h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
}
.matrix-palette { display: flex; gap: 7px; }
.swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.22);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.matrix-archetype {
  margin: 0;
  font-size: 15px;
  color: var(--gold-bright);
  font-weight: 500;
}
.matrix-detail-block { display: flex; flex-direction: column; gap: 4px; }
.detail-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.matrix-detail-block p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.72;
}
@media (max-width: 960px) {
  .matrix-stage { grid-template-columns: 1fr; }
  .matrix-pack-card { width: 104px; }
}

/* ==================== 02. INTERACTIVE BEFORE / AFTER LAB ==================== */
.lab-section {
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1) 50%, var(--bg-0));
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
@media (max-width: 960px) { .compare-grid { grid-template-columns: 1fr; } }

.compare-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.compare-card-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.compare-card-head h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.ba-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
.ba-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ba-layer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  pointer-events: none;
}
.ba-before {
  clip-path: inset(0 50% 0 0);
  background: #ffffff;
}
.ba-badge {
  position: absolute;
  top: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
  z-index: 4;
}
.ba-badge-before {
  left: 14px;
  background: rgba(15, 18, 25, 0.82);
  color: #e5e7eb;
}
.ba-badge-after {
  right: 14px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #090a0d;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.55);
  z-index: 5;
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0c0e13;
  border: 2px solid var(--gold-bright);
  color: var(--gold-bright);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55);
}

.compare-analysis {
  margin: 0;
  font-size: 14.2px;
  color: var(--ink-2);
  line-height: 1.75;
}
.compare-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.compare-pill {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.compare-pill strong { font-size: 13px; color: var(--ink-1); font-weight: 500; }

/* ==================== 03. SELECTED WORKS BENTO GRID ==================== */
.filter-bar-wrap {
  position: sticky;
  top: 84px;
  z-index: 50;
  margin-bottom: 34px;
  display: flex;
  justify-content: flex-start;
}
.filter-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(11, 13, 19, 0.84);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 34px rgba(0,0,0,0.45);
}
.filter-btn {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s var(--ease-out-expo);
}
.filter-btn .count {
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: 0.7;
}
.filter-btn:hover { color: var(--ink-1); }
.filter-btn.active {
  background: var(--gold);
  color: #08090c;
  font-weight: 600;
}
.filter-btn.active .count { opacity: 1; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}
.project-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--bg-1);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.48s var(--ease-out-expo), border-color 0.35s ease, box-shadow 0.45s ease;
  position: relative;
}
.project-card.span-wide { grid-column: span 8; }
@media (max-width: 1120px) {
  .project-card { grid-column: span 6; }
  .project-card.span-wide { grid-column: span 12; }
}
@media (max-width: 720px) {
  .project-card, .project-card.span-wide { grid-column: span 12; }
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
}

.project-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d1017;
}
.project-card.span-wide .project-thumb { aspect-ratio: 21 / 9.2; }
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo), filter 0.5s ease;
}
.project-card:hover .project-thumb img {
  transform: scale(1.06);
  filter: brightness(1.06);
}
.project-thumb-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,7,9,0.08) 40%, rgba(6,7,9,0.72) 100%);
  pointer-events: none;
}
.project-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.p-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(7, 8, 12, 0.76);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--ink-1);
  backdrop-filter: blur(10px);
}
.p-badge.gold {
  border-color: var(--gold-border);
  color: var(--gold-bright);
}

.project-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.project-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.project-body h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.35;
}
.project-body p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.65;
  flex: 1;
}
.project-foot {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-3);
}
.project-cta-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 11px;
  transition: transform 0.3s ease;
}
.project-card:hover .project-cta-arrow { transform: translateX(4px); }

/* ==================== 04. COMMERCIAL VIDEO THEATER ==================== */
.films-section {
  background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(217, 182, 117, 0.07), transparent 65%), var(--bg-0);
}
.spotlight-cinema {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  margin-bottom: 34px;
  padding: 14px;
  gap: 14px;
}
@media (max-width: 980px) { .spotlight-cinema { grid-template-columns: 1fr; } }

.spotlight-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #040507;
  cursor: pointer;
}
.spotlight-screen img, .spotlight-screen video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spotlight-screen video { opacity: 0; transition: opacity 0.5s ease; }
.spotlight-screen video.playing { opacity: 1; }
.spotlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,7,9,0.45) 0%, rgba(6,7,9,0.12) 45%, rgba(6,7,9,0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}
.spotlight-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.res-badge, .dur-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(6, 7, 9, 0.78);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
}
.res-badge.uhd {
  border-color: var(--gold-border);
  color: var(--gold-bright);
}
.cinema-play-btn {
  align-self: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(217, 182, 117, 0.92);
  color: #08090c;
  display: grid;
  place-items: center;
  padding-left: 4px;
  box-shadow: 0 0 0 12px rgba(217, 182, 117, 0.16), 0 18px 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}
.spotlight-screen:hover .cinema-play-btn {
  transform: scale(1.08);
  box-shadow: 0 0 0 18px rgba(217, 182, 117, 0.22), 0 22px 50px rgba(0, 0, 0, 0.75);
}
.spotlight-bottom-meta h3 { margin: 6px 0 4px; font-size: clamp(1.15rem, 1.8vw, 1.55rem); }
.spotlight-bottom-meta p { margin: 0; font-size: 13.5px; color: var(--ink-2); max-width: 600px; }

.spotlight-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
}
.spot-item {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  text-align: left;
  transition: all 0.3s ease;
}
.spot-item:hover, .spot-item.active {
  background: rgba(217, 182, 117, 0.09);
  border-color: var(--gold-border);
}
.spot-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.spot-thumb img { width: 100%; height: 100%; object-fit: cover; }
.spot-item-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.spot-item-info strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.spot-item-info span { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); }

/* Video Filter Row */
.video-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.vfilter-btn {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--ink-2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  transition: all 0.25s ease;
}
.vfilter-btn:hover { border-color: var(--border-strong); color: var(--ink-1); }
.vfilter-btn.active {
  background: rgba(217, 182, 117, 0.16);
  border-color: var(--gold-border);
  color: var(--gold-bright);
  font-weight: 500;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1180px) { .videos-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .videos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .videos-grid { grid-template-columns: 1fr; } }

.video-card {
  border-radius: var(--radius-md);
  background: var(--bg-1);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s ease;
}
.video-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-border);
}
.video-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #050608;
  overflow: hidden;
}
.video-media img, .video-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-media video { opacity: 0; transition: opacity 0.35s ease; }
.video-card.is-previewing .video-media video { opacity: 1; }
.video-overlay-meta {
  position: absolute;
  inset: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(6,7,9,0.28), transparent 45%, rgba(6,7,9,0.65));
  pointer-events: none;
}
.video-top-badges { display: flex; justify-content: space-between; align-items: center; }
.preview-pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(217, 182, 117, 0.9);
  color: #08090c;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.25s ease;
}
.video-card.is-previewing .preview-pill { opacity: 1; transform: translateY(0); }

.video-play-mini {
  align-self: flex-end;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(8, 10, 14, 0.78);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  display: grid;
  place-items: center;
  padding-left: 2px;
  transition: background 0.25s ease, color 0.25s ease;
}
.video-card:hover .video-play-mini {
  background: var(--gold);
  border-color: var(--gold);
  color: #08090c;
}
.video-info {
  padding: 14px 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.video-brand {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.video-info h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.video-info p {
  margin: 0;
  font-size: 12.2px;
  color: var(--ink-3);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==================== 05. STUDIO PHOTOGRAPHY FILMSTRIP ==================== */
.studio-head {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.studio-nav-btns { display: flex; gap: 10px; }
.icon-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-1);
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
}
.icon-circle-btn.sm { width: 36px; height: 36px; }
.icon-circle-btn:hover {
  border-color: var(--gold-border);
  background: rgba(217, 182, 117, 0.16);
  color: var(--gold-bright);
}

.photo-rail-wrap {
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px max(24px, calc((100vw - var(--container-w)) / 2)) 24px;
}
.photo-rail-wrap::-webkit-scrollbar { display: none; }
.photo-rail {
  display: flex;
  gap: 20px;
  width: max-content;
}
.photo-card {
  width: clamp(290px, 28vw, 410px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-1);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.45s var(--ease-out-expo), border-color 0.3s ease;
}
.photo-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border);
}
.photo-img-box {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0c0e13;
}
.photo-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}
.photo-card:hover .photo-img-box img { transform: scale(1.07); }
.photo-meta {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.photo-meta strong { font-size: 14px; font-weight: 500; }
.photo-meta span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold);
  white-space: nowrap;
}

/* ==================== 06. ABOUT, TIMELINE & SKILLS ==================== */
.about-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 1024px) { .about-layout { grid-template-columns: 1fr; } }

.about-sidebar {
  position: sticky;
  top: 98px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 1024px) { .about-sidebar { position: static; } }

.portrait-card { padding: 14px; }
.portrait-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3 / 3.7;
  background: #0d0f14;
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.portrait-rim {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 -60px 60px rgba(6, 7, 9, 0.72), inset 0 0 0 1px rgba(217, 182, 117, 0.22);
  pointer-events: none;
}
.portrait-caption {
  padding: 18px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.portrait-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.portrait-name-row h3 { margin: 0; font-size: 1.35rem; }
.portrait-name-row small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-left: 6px;
}
.exp-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  white-space: nowrap;
  flex-shrink: 0;
}
.portrait-role { margin: 0; font-size: 13.5px; color: var(--gold); }
.portrait-loc { margin: 0; font-size: 12.5px; color: var(--ink-3); }

.edu-card { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.edu-list { display: flex; flex-direction: column; gap: 16px; }
.edu-item {
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.edu-item:first-child { padding-top: 0; border-top: none; }
.edu-period { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.edu-item strong { font-size: 15px; }
.edu-degree { font-size: 13px; color: var(--gold-bright); }
.edu-detail { font-size: 12.5px; color: var(--ink-2); }

/* Timeline */
.about-main { display: flex; flex-direction: column; gap: 28px; }
.sub-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.editable-hint {
  font-size: 12px;
  color: var(--ink-3);
}
.timeline-wrap {
  position: relative;
  padding-left: 34px;
}
.timeline-spine {
  position: absolute;
  left: 7px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: rgba(255,255,255,0.08);
}
.timeline-spine-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
}
html[data-lang="en"] .portrait-en-sub { display: none; }
.timeline-items { display: flex; flex-direction: column; gap: 20px; }
.timeline-row { position: relative; }
.timeline-card {
  position: relative;
  padding: 26px 28px;
}
.timeline-dot {
  position: absolute;
  left: -33px;
  top: 30px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-0);
  border: 2px solid var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(217, 182, 117, 0.16), 0 0 14px rgba(217, 182, 117, 0.45);
  z-index: 2;
}
.tl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.tl-period { font-family: var(--font-mono); font-size: 12px; color: var(--gold-bright); }
.tl-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--ink-2);
}
.timeline-card h3 { margin: 0 0 4px; font-size: 1.2rem; }
.tl-company { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; display: block; }
.tl-summary { margin: 0 0 14px; font-size: 14px; color: var(--ink-1); line-height: 1.7; }
.tl-highlights { display: flex; flex-direction: column; gap: 8px; }
.tl-highlights li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.68;
}
.tl-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* Skills Grid */
.skills-block { padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 680px) { .skills-grid { grid-template-columns: 1fr; } }
.skill-item {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.skill-top { display: flex; align-items: center; gap: 12px; }
.skill-code {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.skill-names { flex: 1; min-width: 0; }
.skill-names strong { display: block; font-size: 14.5px; }
.skill-names span { display: block; font-size: 12px; color: var(--ink-3); }
.skill-pct { font-family: var(--font-mono); font-size: 12px; color: var(--gold); }
.skill-bar {
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: 4px;
  transition: width 1.1s var(--ease-out-expo);
}

/* ==================== 07. CONTACT & FOOTER ==================== */
.contact-card {
  padding: clamp(40px, 6vw, 76px) clamp(24px, 5vw, 64px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.contact-glow {
  position: absolute;
  width: 520px;
  height: 260px;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(217, 182, 117, 0.2), transparent 70%);
  pointer-events: none;
}
.contact-headline {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.28;
  max-width: 820px;
}
.contact-sub {
  margin: 0;
  max-width: 640px;
  color: var(--ink-2);
  font-size: 15px;
}
.contact-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.copy-tag {
  font-style: normal;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.22);
}
.contact-hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--ink-3);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 26px 0 36px;
  font-size: 13px;
  color: var(--ink-3);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-left, .footer-right { display: flex; align-items: center; gap: 14px; }
.kbd-hint { font-family: var(--font-mono); font-size: 11px; }
.back-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
}
.back-top-btn:hover { border-color: var(--gold-border); color: var(--gold-bright); }

/* ==================== MODALS (CASE STUDY, VIDEO THEATER, LOUPE) ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(4, 5, 8, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out-expo);
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }

/* Case Study Drawer */
.case-drawer {
  width: min(1320px, 100%);
  height: min(92vh, 960px);
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(26px) scale(0.985);
  transition: transform 0.42s var(--ease-out-expo);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.75);
}
.modal-backdrop.open .case-drawer { transform: translateY(0) scale(1); }

.case-drawer-bar {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 12, 17, 0.92);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}
.drawer-bar-left h3 { margin: 2px 0 0; font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
.drawer-bar-right { display: flex; align-items: center; gap: 14px; }
.modal-nav-group { display: flex; gap: 6px; }

.modal-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.05);
  color: var(--ink-1);
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
}
.modal-close-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #08090c;
  transform: rotate(90deg);
}

.case-drawer-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: 26px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-brief-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 24px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
}
@media (max-width: 860px) { .case-brief-grid { grid-template-columns: 1fr; } }
.case-subtitle { margin: 0 0 8px; font-size: 14px; color: var(--gold-bright); font-weight: 500; }
.case-strategy-text { margin: 0 0 12px; font-size: 14.5px; color: var(--ink-2); line-height: 1.75; }
.case-highlights { display: flex; flex-direction: column; gap: 6px; }
.case-highlights li {
  font-size: 13px;
  color: var(--ink-1);
  padding-left: 16px;
  position: relative;
}
.case-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-size: 12px;
}
.case-brief-meta { display: flex; flex-direction: column; gap: 14px; }
.meta-cell p { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-1); }
.modal-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.related-videos-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.related-video-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(217, 182, 117, 0.14);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  font-size: 12px;
}
.related-video-pill:hover { background: var(--gold); color: #08090c; }

/* Variant / SKU Bar */
.variant-switcher-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(217, 182, 117, 0.06);
  border: 1px solid var(--gold-border);
}
.variant-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-pill {
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--ink-2);
  transition: all 0.25s ease;
}
.variant-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #08090c;
  font-weight: 600;
}

/* Inspector Toolbar */
.inspector-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.inspector-mode-tabs, .viewport-switcher {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}
.mode-tab, .vp-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--ink-2);
  transition: all 0.25s ease;
}
.mode-tab em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.8;
}
.mode-tab.active, .vp-btn.active {
  background: var(--gold);
  color: #08090c;
  font-weight: 600;
}
.vp-btn[disabled] { opacity: 0.35; cursor: not-allowed; }

/* A+ Dual-Viewport Simulator */
.aplus-view, .gallery-view { display: none; }
.aplus-view.active, .gallery-view.active { display: block; }

.aplus-frame {
  margin-inline: auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #08090c;
  transition: max-width 0.55s var(--ease-out-expo), border-radius 0.45s ease;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.aplus-frame.pc-mode { max-width: 100%; }
.aplus-frame.mobile-mode {
  max-width: 410px;
  border-radius: 40px;
  border: 8px solid #1d212b;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(217, 182, 117, 0.28);
}
.device-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #13161f;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}
.chrome-dots { display: flex; gap: 6px; }
.chrome-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.chrome-dots span:first-child { background: #ef4444; }
.chrome-dots span:nth-child(2) { background: #f59e0b; }
.chrome-dots span:nth-child(3) { background: #22c55e; }
.chrome-spec { color: var(--gold); }

.aplus-scroll-canvas {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #ffffff;
}
.aplus-scroll-canvas img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

/* Gallery Stage */
.gallery-main-stage {
  position: relative;
  border-radius: var(--radius-md);
  background: #0c0e14;
  border: 1px solid var(--border);
  padding: 20px 64px;
  display: grid;
  place-items: center;
  min-height: 460px;
}
.gallery-image-wrap {
  max-height: 62vh;
  display: flex;
  justify-content: center;
  cursor: zoom-in;
}
.gallery-image-wrap img {
  max-height: 60vh;
  width: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.stage-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(12, 14, 20, 0.85);
  border: 1px solid var(--border-strong);
  color: var(--ink-1);
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
  z-index: 4;
}
.stage-arrow.prev { left: 16px; }
.stage-arrow.next { right: 16px; }
.stage-arrow:hover { background: var(--gold); border-color: var(--gold); color: #08090c; }
.gal-counter {
  position: absolute;
  bottom: 14px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(6,7,9,0.8);
  border: 1px solid var(--border);
  color: var(--gold-bright);
}
.gallery-thumbs {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.gal-thumb {
  width: 82px;
  height: 82px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #fff;
  opacity: 0.62;
  transition: all 0.25s ease;
}
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal-thumb.active, .gal-thumb:hover {
  opacity: 1;
  border-color: var(--gold-bright);
}

/* Cinema Video Modal */
.video-theater {
  width: min(1080px, 100%);
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.85);
  transform: scale(0.96);
  transition: transform 0.35s var(--ease-out-expo);
}
.modal-backdrop.open .video-theater { transform: scale(1); }
.theater-top {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.theater-meta, .theater-controls-top { display: flex; align-items: center; gap: 10px; }
.theater-player-wrap {
  background: #000;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  display: grid;
  place-items: center;
}
.theater-player-wrap video {
  width: 100%;
  height: 100%;
  max-height: 70vh;
  object-fit: contain;
}
.theater-footer {
  padding: 18px 24px 22px;
  border-top: 1px solid var(--border);
}
.theater-footer h3 { margin: 0 0 6px; font-size: 1.15rem; }
.theater-footer p { margin: 0; font-size: 13.5px; color: var(--ink-2); }

/* Image Loupe Modal */
.image-loupe {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.loupe-close { position: absolute; top: 8px; right: 8px; z-index: 6; }
.loupe-figure {
  margin: 0;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.loupe-figure img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.8);
}
.loupe-figure figcaption {
  font-size: 13.5px;
  color: var(--ink-2);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 24px);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: rgba(15, 18, 25, 0.94);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  font-size: 13.5px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s var(--ease-out-expo);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 640px) {
  .modal-backdrop { padding: 10px; }
  .case-drawer { height: 92vh; height: 92dvh; border-radius: 18px; }
  .case-drawer-body { padding: 18px 16px 36px; }
  .gallery-main-stage { padding: 14px 48px; min-height: 300px; }
}


/* ==========================================================================
   V2 LIVELY UPGRADE: SPLIT HERO 3D IP STAGE & FRONT-AND-CENTER BENTO PROFILE
   ========================================================================== */

.orb-3 {
  width: 380px;
  height: 380px;
  top: 26%;
  right: 14%;
  background: radial-gradient(circle, rgba(49, 168, 255, 0.14), rgba(192, 132, 252, 0.12) 55%, transparent 75%);
  animation: orbFloat 9s ease-in-out infinite alternate;
}
@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-24px, 18px) scale(1.1); }
}

.play-ring.sm {
  width: 24px;
  height: 24px;
}

.hero {
  padding: 100px 0 48px;
}
.hero-container {
  gap: 28px;
}
.hero-split {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
}
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; gap: 36px; }
}

/* Interactive 3D IP Stage Card */
.hero-ip-col {
  perspective: 1100px;
}
.ip-stage-card {
  position: relative;
  border-radius: 28px;
  padding: 18px 18px 16px;
  background: linear-gradient(155deg, rgba(20, 24, 35, 0.82), rgba(9, 11, 16, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(217, 182, 117, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out, border-color 0.35s ease;
  overflow: hidden;
}
.ip-stage-card:hover {
  border-color: rgba(217, 182, 117, 0.42);
}
.ip-aurora-ring {
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 0deg at 50% 45%,
    rgba(49, 168, 255, 0.16),
    rgba(217, 182, 117, 0.22),
    rgba(192, 132, 252, 0.16),
    rgba(52, 211, 153, 0.14),
    rgba(49, 168, 255, 0.16)
  );
  filter: blur(55px);
  opacity: 0.55;
  animation: auroraSpin 16s linear infinite;
  pointer-events: none;
}
@keyframes auroraSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ip-badge-float {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: rgba(6, 8, 12, 0.72);
  border: 1px solid rgba(217, 182, 117, 0.32);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  margin-bottom: 10px;
}
.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold-bright);
}

.ip-figure-wrap {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  background: #07080a;
  aspect-ratio: 1 / 0.88;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.ip-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  animation: ipGentleFloat 5.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes ipGentleFloat {
  0%, 100% { transform: translateY(0px) scale(1.01); }
  50% { transform: translateY(-6px) scale(1.025); }
}

.ip-dock {
  position: relative;
  z-index: 3;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ip-pill-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}
.ip-weapon-btn {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 9px 6px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.3s var(--ease-out-expo), border-color 0.25s ease, background 0.25s ease, box-shadow 0.3s ease;
}
.ip-weapon-btn .w-code {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--w-color, var(--gold-bright));
}
.ip-weapon-btn .w-sub {
  font-size: 9.5px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.ip-weapon-btn:hover, .ip-weapon-btn.active {
  transform: translateY(-3px);
  background: var(--w-bg, rgba(217, 182, 117, 0.16));
  border-color: var(--w-color, var(--gold-bright));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.ip-weapon-btn.active .w-sub { color: var(--ink-1); }

.ip-tip-box {
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(6, 8, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 3px solid var(--tip-accent, var(--gold-bright));
  transition: border-left-color 0.3s ease;
}
.ip-tip-box strong {
  display: block;
  font-size: 12.5px;
  color: var(--ink-1);
  margin-bottom: 2px;
}
.ip-tip-box p {
  margin: 0;
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* ==================== SECTION 01: LIVELY BENTO ABOUT ==================== */
.about-section {
  background:
    radial-gradient(ellipse 60% 35% at 15% 15%, rgba(49, 168, 255, 0.06), transparent 60%),
    radial-gradient(ellipse 55% 35% at 85% 20%, rgba(217, 182, 117, 0.07), transparent 60%),
    var(--bg-0);
}
.about-bento-top {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 24px;
  margin-bottom: 26px;
}
@media (max-width: 1024px) {
  .about-bento-top { grid-template-columns: 1fr; }
}

.bento-persona-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.persona-switch-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.persona-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}
.persona-btn {
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--ink-2);
  transition: all 0.28s var(--ease-out-expo);
}
.persona-btn.active {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #08090c;
  font-weight: 600;
}

.persona-stage {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0a0c11;
  border: 1px solid var(--border);
  flex: 1;
}
.persona-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.45s var(--ease-out-expo), transform 0.55s var(--ease-out-expo);
}
.persona-img.portrait-mode {
  object-fit: contain;
  background: radial-gradient(circle at 50% 35%, #232225, #0a0c11 72%);
}
.persona-img.active {
  opacity: 1;
  transform: scale(1);
}

.persona-bottom-ribbon {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 3;
}
.ribbon-chip {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(8, 10, 15, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.ribbon-chip.c-blue { color: #38bdf8; border-color: rgba(56, 189, 248, 0.4); }
.ribbon-chip.c-orange { color: #fb923c; border-color: rgba(251, 146, 60, 0.4); }
.ribbon-chip.c-purple { color: #c084fc; border-color: rgba(192, 132, 252, 0.4); }
.ribbon-chip.c-gold { color: var(--gold-bright); border-color: var(--gold-border); }
.ribbon-chip.c-green { color: #34d399; border-color: rgba(52, 211, 153, 0.4); }

/* Right Bento Story Card */
.bento-story-card {
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
}
.story-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.story-name-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 4px;
}
.story-name-line h3 { margin: 0; font-size: clamp(1.45rem, 2.2vw, 1.85rem); display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.story-name-line small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-left: 0;
  white-space: nowrap;
}
.mini-hire-pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(217, 182, 117, 0.14);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.25s ease;
}
.mini-hire-pill:hover {
  background: var(--gold);
  color: #08090c;
}

.story-bio {
  margin: 0;
  font-size: 14.8px;
  color: var(--ink-2);
  line-height: 1.82;
}
.story-focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.focus-chip {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  color: var(--ink-1);
  transition: transform 0.28s var(--ease-out-expo), border-color 0.25s ease, background 0.25s ease;
}
.focus-chip:hover {
  transform: translateY(-2px);
  border-color: var(--gold-border);
  background: rgba(217, 182, 117, 0.1);
}

.story-bottom-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
@media (max-width: 600px) { .story-bottom-meta { grid-template-columns: 1fr; } }

.edu-inline-box, .loc-inline-box {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.loc-val { margin: 0; font-size: 13.5px; color: var(--ink-1); line-height: 1.5; }
.loc-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--emerald);
}

/* Lively Multi-Accent Skills Deck */
.skills-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.skills-sub-badge {
  font-size: 12.5px;
  color: var(--ink-3);
}
.skills-block {
  margin-bottom: 34px;
}
.skills-grid {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1120px) { .skills-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .skills-grid { grid-template-columns: 1fr; } }

.skill-item {
  transition: transform 0.35s var(--ease-out-expo), border-color 0.3s ease, background 0.3s ease;
}
.skill-item:hover {
  transform: translateY(-4px);
  border-color: var(--sk-accent, var(--gold-border));
  background: rgba(255, 255, 255, 0.045);
}
.skill-item .skill-code {
  color: var(--sk-accent, var(--gold-bright));
  border-color: color-mix(in srgb, var(--sk-accent, #d9b675) 45%, transparent);
  background: color-mix(in srgb, var(--sk-accent, #d9b675) 14%, transparent);
}
.skill-item .skill-pct { color: var(--sk-accent, var(--gold)); }
.skill-item .skill-bar-fill {
  background: linear-gradient(90deg, var(--sk-accent, var(--gold)), #ffffff);
}

/* Lively Pillar Accents */
.pillar-card.accent-blue:hover { border-color: rgba(56, 189, 248, 0.45); }
.pillar-card.accent-blue .pillar-num { color: #38bdf8; }
.pillar-card.accent-emerald:hover { border-color: rgba(52, 211, 153, 0.45); }
.pillar-card.accent-emerald .pillar-num { color: #34d399; }

.timeline-section-wrap {
  margin-top: 8px;
}


/* ==========================================================================
   V3 UNBOXED BORDERLESS FLOATING 3D IP SYSTEM (ZERO RECTANGULAR FRAMES)
   ========================================================================== */

.ip-free-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
  background: transparent;
  border: none;
  box-shadow: none;
}

.ip-free-glow {
  position: absolute;
  width: 82%;
  aspect-ratio: 1 / 1;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(217, 182, 117, 0.22) 0%,
    rgba(49, 168, 255, 0.14) 36%,
    rgba(192, 132, 252, 0.08) 58%,
    transparent 74%
  );
  filter: blur(42px);
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite alternate;
}

.ip-free-figure {
  position: relative;
  z-index: 2;
  width: min(100%, 460px);
  aspect-ratio: 1 / 0.94;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.ip-free-figure .ip-hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 28px 46px rgba(0, 0, 0, 0.65));
  -webkit-mask-image: radial-gradient(ellipse 76% 78% at 50% 46%, #000 62%, rgba(0,0,0,0.88) 78%, transparent 100%);
  mask-image: radial-gradient(ellipse 76% 78% at 50% 46%, #000 62%, rgba(0,0,0,0.88) 78%, transparent 100%);
}

.ip-free-stage .ip-dock {
  width: min(100%, 490px);
  margin-top: -12px;
  z-index: 4;
}
.ip-free-stage .ip-weapon-btn {
  background: rgba(12, 15, 22, 0.56);
  backdrop-filter: blur(14px);
}
.ip-free-stage .ip-tip-box {
  background: rgba(10, 12, 18, 0.62);
  backdrop-filter: blur(14px);
}

/* Section 01: Completely Unboxed Free-Floating Studio Action IP */
.about-bento-top {
  align-items: center;
}
.about-ip-free {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 6px 0;
}
.about-ip-glow {
  position: absolute;
  width: 86%;
  height: 82%;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle at 48% 46%,
    rgba(217, 182, 117, 0.17) 0%,
    rgba(56, 189, 248, 0.11) 42%,
    rgba(192, 132, 252, 0.08) 62%,
    transparent 76%
  );
  filter: blur(48px);
  pointer-events: none;
}
.about-ip-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 540px;
  height: auto;
  object-fit: contain;
  animation: ipGentleFloat 6.2s ease-in-out infinite;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.72));
}
.about-ip-ribbon {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}


/* ==========================================================================
   V4 CLEAN FULL-FOCUS HERO & MOBILE REFINEMENTS
   ========================================================================== */
.hero {
  padding: 114px 0 56px;
}
.hero-container {
  gap: 40px;
}
.about-ip-free {
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
}
.about-ip-dock {
  width: min(100%, 520px);
  margin-top: 8px;
}
.about-ip-dock .ip-weapon-btn {
  background: rgba(14, 17, 25, 0.72);
  backdrop-filter: blur(12px);
}
.about-ip-dock .ip-tip-box {
  background: rgba(10, 12, 18, 0.78);
  backdrop-filter: blur(12px);
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 96px 0 44px;
  }
  .hero-container {
    gap: 26px;
  }
  .hero-reel-switcher {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 6px 4px 10px;
  }
  .hero-reel-switcher::-webkit-scrollbar { display: none; }
  .reel-chip { padding: 4px 9px; font-size: 10px; white-space: nowrap; }
  .hero-title {
    font-size: clamp(2.05rem, 8.6vw, 2.9rem);
    line-height: 1.14;
  }
  .hero-lead {
    margin: 18px 0 26px;
    font-size: 14.5px;
  }
  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-secondary,
  .hero-cta-row .btn-outline {
    padding: 12px 18px;
    font-size: 13.5px;
  }
  .about-ip-img {
    max-width: 360px;
  }
  .ip-pill-row {
    gap: 5px;
  }
  .ip-weapon-btn {
    padding: 7px 4px;
  }
  .ip-weapon-btn .w-code { font-size: 11.5px; }
  .ip-weapon-btn .w-sub { font-size: 8.5px; }
}
