:root { color-scheme: dark; --bg: #080d1a; --panel: #0e1b30; --text: #f0ede8; --muted: #bec8d8; --gold: #d4b86a; --line: #2d3c54; --body: 'Inter', sans-serif; --heading: 'EB Garamond', serif; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 1rem; line-height: 1.75; }
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible, button:focus-visible, [role="tabpanel"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
img { max-width: 100%; }
.shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; left: 16px; top: 12px; transform: translateY(-160%); padding: 12px 20px; color: var(--bg); background: var(--gold); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 10; background: #080d1a; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 18px 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; font-family: var(--heading); font-size: 1.4rem; color: var(--gold); white-space: nowrap; }
.brand strong { font-weight: 500; color: var(--text); }
.brand-mark { position: relative; width: 46px; height: 46px; flex: 0 0 46px; overflow: hidden; }
.brand-mark img { position: absolute; top: 50%; left: 50%; width: 92px; height: 92px; max-width: none; transform: translate(-50%, -50%); }
nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--gold); }
section[id] { scroll-margin-top: 110px; }
.hero { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 60px; padding-block: 72px 64px; }
.eyebrow { margin: 0 0 16px; color: var(--gold); font-size: .875rem; font-weight: 500; letter-spacing: .08em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 500; line-height: 1.12; }
h1 { font-size: clamp(3rem, 5.3vw, 4.8rem); letter-spacing: -.025em; margin-bottom: 22px; }
h1 em { display: block; color: var(--gold); font-weight: 400; }
.hero-lead { font-family: var(--heading); font-size: 1.8rem; margin-bottom: 12px; }
.hero-description { max-width: 520px; color: var(--muted); margin-bottom: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid var(--gold); border-radius: 5px; background: var(--gold); color: var(--bg); font-size: .875rem; font-weight: 600; line-height: 1.6; text-decoration: none; text-align: center; }
.button:hover { background: #e8d39a; }
.studio-identity { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; }
.studio-emblem { position: relative; width: 240px; height: 240px; max-width: 100%; overflow: hidden; }
.studio-emblem img { position: absolute; width: 480px; height: 480px; max-width: none; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.studio-identity > p { margin: 20px 0 0; font-size: .875rem; color: var(--muted); }
.library { padding-block: 54px 64px; background: var(--panel); border-block: 1px solid var(--line); }
.library-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.library-heading .eyebrow { margin: 0; }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 16px; }
.library-heading h2 { margin: 0; }
.library-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.library-tabs[hidden], .library-panel[hidden] { display: none; }
.library-tabs button { min-height: 48px; padding: 11px 22px; border: 1px solid #526077; border-radius: 5px; background: transparent; color: var(--muted); font: 600 .9375rem/1.5 var(--body); cursor: pointer; }
.library-tabs button[aria-selected="true"] { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.library-tabs button:hover:not([aria-selected="true"]) { border-color: var(--gold); color: var(--text); }
.library-panel { min-width: 0; }
.library-panel + .library-panel { margin-top: 32px; }
.tabs-ready .library-panel { margin-top: 0; }
.panel-heading { font-size: 1rem; font-weight: 600; color: var(--gold); }
.tabs-ready .panel-heading { display: none; }
.video-list { display: grid; gap: 24px; }
.video-entry { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 32px; padding: 28px; border: 1px solid #34435a; border-radius: 12px; background: #101f36; min-width: 0; scroll-margin-top: 110px; }
.video-details { min-width: 0; }
.video-category { display: inline-block; font-size: .875rem; color: var(--gold); margin-bottom: 14px; }
.video-entry h3 { font-size: 2.1rem; margin-bottom: 14px; }
.video-entry p { color: var(--muted); margin-bottom: 16px; }
.youtube-link { display: inline-block; min-height: 44px; padding-block: 10px; font-size: .875rem; color: var(--gold); }
.new-tab-note { color: var(--muted); }
.video-frame { min-width: 0; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; min-height: 200px; border: 1px solid #34435a; border-radius: 8px; overflow: hidden; background: var(--bg); }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.short-entry { grid-template-columns: 1fr 1fr; gap: 40px; }
.short-video-frame { width: min(320px, 100%); aspect-ratio: 9 / 16; justify-self: center; }
.collaborate { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 60px; }
.collaborate p:last-child { color: var(--muted); margin-bottom: 0; }
.button-outline { flex-shrink: 0; background: transparent; color: var(--gold); border-color: #526077; }
.button-outline:hover { background: #d4b86a12; border-color: var(--gold); }
.site-footer { background: var(--panel); border-top: 1px solid var(--line); padding-block: 28px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; }
.footer-inner p { max-width: 520px; color: var(--muted); margin: 0; font-size: .875rem; }
.footer-inner strong { color: var(--text); font-weight: 500; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; color: var(--gold); }
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; padding-block: 14px; }
  nav { gap: 6px 16px; }
  .hero { gap: 26px; }
  .studio-emblem { width: 190px; height: 190px; }
  .studio-emblem img { width: 380px; height: 380px; }
  .video-entry { grid-template-columns: 1fr; gap: 20px; }
  .video-entry h3 { font-size: 2rem; }
  .video-details { max-width: 650px; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { gap: 8px; }
  .brand { font-size: 1.3rem; }
  nav { width: 100%; justify-content: space-between; gap: 6px; }
  nav a { font-size: .875rem; }
  section[id], .video-entry { scroll-margin-top: 152px; }
  .hero { grid-template-columns: 1fr; padding-block: 42px; }
  .hero h1 { font-size: clamp(3rem, 11vw, 4.2rem); }
  .hero-lead { font-size: 1.6rem; }
  .studio-identity { display: none; }
  .library { padding-block: 34px 40px; }
  .library-heading { flex-direction: column; gap: 8px; margin-bottom: 22px; }
  .video-entry { padding: 20px; }
  .video-entry h3 { font-size: 1.8rem; }
  .collaborate { flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 40px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 380px) {
  .video-entry { padding: 14px; }
  .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
