/* Spirit Television — static port of the Lovable build (Tailwind classes hand-mapped). */
:root {
  --background: oklch(0.13 0.008 250);
  --foreground: oklch(0.96 0.01 90);
  --card: oklch(0.17 0.01 250);
  --primary: oklch(0.74 0.14 235);
  --primary-foreground: oklch(0.13 0.008 250);
  --secondary: oklch(0.22 0.012 250);
  --muted: oklch(0.2 0.01 250);
  --muted-foreground: oklch(0.66 0.015 250);
  --signal: oklch(0.65 0.23 25);
  --border: oklch(1 0 0 / 12%);
  --font-display: "Anton", "Impact", sans-serif;
  --font-sans: "Archivo", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --gradient-fade: linear-gradient(180deg, transparent 0%, color-mix(in oklab, var(--background) 70%, transparent) 60%, var(--background) 100%);
  --shadow-glow: 0 0 60px -10px color-mix(in oklab, var(--primary) 60%, transparent);
  --wrap: 80rem;
  --gutter: 1.25rem;
}

/* ---------- reset (Tailwind preflight essentials) ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid var(--border); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; line-height: 1.5; }
body { background: var(--background); color: var(--foreground); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; min-height: 100vh; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: inherit; }
button, input, textarea { font: inherit; color: inherit; background: transparent; }
button { cursor: pointer; }
ol, ul { list-style: none; }
h1, h2, h3, p { font-size: inherit; font-weight: inherit; }
::placeholder { color: color-mix(in oklab, currentColor 50%, transparent); }
::selection { background: var(--primary); color: var(--primary-foreground); }

/* ---------- utilities ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.display { font-family: var(--font-display); letter-spacing: 0.005em; text-transform: uppercase; line-height: 1; }
.mono { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.5; }
.muted { color: var(--muted-foreground); }
.primary { color: var(--primary); }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--foreground); }
.scanlines { position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(0deg, color-mix(in oklab, var(--foreground) 5%, transparent) 0 1px, transparent 1px 3px); }
.fade { position: absolute; inset: 0; background-image: var(--gradient-fade); }
.bg-card { background: var(--card); }
.bt { border-top-width: 1px; }
.bb { border-bottom-width: 1px; }
.center { text-align: center; }
.icon { width: 1.5rem; height: 1.5rem; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.t-xl { font-size: 1.25rem; line-height: 1.4; } .t-2xl { font-size: 1.5rem; line-height: 1.333; } .t-3xl { font-size: 1.875rem; line-height: 1.2; }
.t-4xl { font-size: 2.25rem; line-height: 1.111; } .t-5xl { font-size: 3rem; } .t-6xl { font-size: 3.75rem; }
.t-sm { font-size: 0.875rem; line-height: 1.43; } .t-lg { font-size: 1.125rem; line-height: 1.55; }

/* ---------- buttons / pills ---------- */
.btn { display: inline-block; border-radius: 9999px; padding: 1rem 2rem; background: var(--primary); color: var(--primary-foreground); transition: opacity .15s; }
.btn:hover { opacity: .9; }
.btn.glow, .glow { box-shadow: var(--shadow-glow); }
.btn.ghost { background: none; color: inherit; border-width: 1px; }
.btn.ghost:hover { border-color: var(--primary); color: var(--primary); opacity: 1; }
.pill { border-radius: 9999px; border-width: 1px; padding: .5rem 1rem; transition: all .15s; }
.pill:hover { border-color: var(--primary); }
.pill.on { border-color: var(--primary); background: var(--primary); color: var(--primary-foreground); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 40; border-bottom-width: 1px; background: color-mix(in oklab, var(--background) 75%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-header .bar { display: flex; height: 4rem; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .5rem; }
.brand img { height: 2rem; width: auto; }
.brand span { font-size: 1.25rem; line-height: 1.4; }
.nav { display: none; align-items: center; gap: 2rem; }
.nav a { color: var(--muted-foreground); transition: color .15s; }
.nav a:hover { color: var(--foreground); }
.nav a.active { color: var(--primary); }
.nav a.book { border-radius: 9999px; background: var(--primary); color: var(--primary-foreground); padding: .625rem 1.25rem; }
.nav a.book:hover { opacity: .9; }
.menu-btn .icon-x { display: none; }
.menu-open .menu-btn .icon-x { display: block; }
.menu-open .menu-btn .icon-menu { display: none; }
.mobile-menu { display: none; border-top-width: 1px; background: var(--background); padding: 1rem var(--gutter) 2rem; }
.menu-open .mobile-menu { display: block; }
.mobile-menu .socials { margin-top: 1.5rem; }
.mobile-menu a.big { display: block; padding: .75rem 0; font-size: 2.25rem; line-height: 1.111; }
.mobile-menu a.big:hover { color: var(--primary); }
main { padding-top: 4rem; }

/* ---------- socials ---------- */
.socials { display: flex; gap: .5rem; }
.socials a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 9999px; border-width: 1px; transition: all .15s; }
.socials a:hover { border-color: var(--primary); color: var(--primary); }
.socials .icon { width: 1rem; height: 1rem; }

/* ---------- footer ---------- */
.marquee { overflow: hidden; border-bottom-width: 1px; padding: 1.5rem 0; }
.marquee-track { display: flex; width: max-content; gap: 2.5rem; white-space: nowrap; font-size: 3rem; animation: marquee 30s linear infinite; }
.marquee-track > span { display: flex; gap: 2.5rem; }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 3.5rem; }
.footer-grid .logo { height: 3rem; width: auto; }
.footer-grid .blurb { margin-top: 1rem; max-width: 20rem; }
.footer-grid .stack > * + * { margin-top: .5rem; }
.footer-grid .stack a { display: block; }
.footer-grid .stack a:hover { color: var(--primary); }
.copyright { padding-bottom: 2rem; text-align: center; }

/* ---------- page hero ---------- */
.page-hero { position: relative; overflow: hidden; border-bottom-width: 1px; }
.page-hero .wrap { position: relative; padding-top: 5rem; padding-bottom: 3.5rem; }
.page-hero h1 { margin-top: 1rem; font-size: 3.75rem; }
.page-hero .lede { margin-top: 1.5rem; max-width: 42rem; }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: calc(100svh - 4rem); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero .wrap { position: relative; display: flex; min-height: calc(100svh - 4rem); flex-direction: column; justify-content: flex-end; padding-bottom: 3.5rem; }
.onair { display: flex; align-items: center; gap: .5rem; }
.dot { width: .5rem; height: .5rem; border-radius: 9999px; background: var(--signal); animation: blink 1.2s steps(2) infinite; }
.hero h1 { margin-top: 1rem; font-size: 17vw; line-height: .9; }
.hero-foot { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.hero-foot p { max-width: 28rem; }
.hero-foot .btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-foot .btn { padding: 1rem 1.5rem; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); }
.stats > div { border-right-width: 1px; padding: 1.5rem; }
.stats > div:last-child { border-right-width: 0; }
.stats .n { font-size: 3rem; }
.stats .l { margin-top: .5rem; }

/* ---------- section heads ---------- */
.section { padding-block: 5rem; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; border-bottom-width: 1px; padding-bottom: 1.5rem; }
.sec-head h2 { margin-top: .5rem; font-size: 3rem; }
.sec-head a { flex-shrink: 0; color: var(--muted-foreground); }
.sec-head a:hover { color: var(--primary); }

/* ---------- video cards ---------- */
.grid-2 { margin-top: 2.5rem; display: grid; gap: 2.5rem; }
.work-grid { margin-top: 2.5rem; display: grid; gap: 3rem 2rem; }
.samples-grid { margin-top: 2rem; display: grid; gap: 2rem; }
.vcard { display: block; width: 100%; text-align: left; }
.vcard .media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--muted); }
.vcard .media img { width: 100%; height: 100%; object-fit: cover; transition: all .7s; }
.vcard:hover .media img { transform: scale(1.05); opacity: .8; }
.vcard .scanlines { opacity: .4; }
.vcard .tag { position: absolute; left: .75rem; top: .75rem; background: color-mix(in oklab, var(--background) 80%, transparent); padding: .25rem .5rem; }
.vcard .play { position: absolute; right: .75rem; bottom: .75rem; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 9999px; background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-glow); transition: transform .15s; }
.vcard:hover .play { transform: scale(1.1); }
.vcard .play .icon { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.vcard .artist { margin-top: .75rem; }
.vcard h3 { margin-top: .25rem; font-size: 1.25rem; line-height: 1.4; transition: color .15s; }
.vcard:hover h3 { color: var(--primary); }
.vcard[hidden] { display: none; }

/* ---------- director reels ---------- */
.reel-list { display: grid; gap: 4rem; }
.vcard.reel h3 { font-size: 1.875rem; line-height: 1.2; }

/* ---------- home services ---------- */
.svc-cards { margin-top: 2.5rem; display: grid; gap: 1rem; }
.svc-card { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; }
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.svc-card:hover img { transform: scale(1.05); }
.svc-card .body { position: absolute; bottom: 0; padding: 1.5rem; }
.svc-card h3 { font-size: 1.875rem; line-height: 1.2; }
.svc-card p { margin-top: .25rem; }
.svc-card .arrow { position: absolute; right: 1.25rem; top: 1.25rem; transition: color .15s; }
.svc-card:hover .arrow { color: var(--primary); }

/* ---------- home events scroller ---------- */
.ev-scroll { margin: 2.5rem calc(var(--gutter) * -1) 0; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; padding: 0 var(--gutter) 1rem; }
.ev-item { width: 16rem; flex-shrink: 0; scroll-snap-align: start; }
.ev-item .sq { aspect-ratio: 1; overflow: hidden; }
.ev-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.ev-item:hover img { transform: scale(1.05); }
.ev-item .date { margin-top: .75rem; }

/* ---------- CTA ---------- */
.cta { padding-block: 6rem; text-align: center; }
.cta h2 { margin-top: 1rem; font-size: 3.75rem; }
.cta .btn { margin-top: 2.5rem; }
.cta .socials { margin-top: 2.5rem; justify-content: center; }
.cta-sm { padding-block: 5rem; text-align: center; }
.cta-sm h2 { margin-top: .75rem; font-size: 3rem; }
.cta-sm .btn { margin-top: 2rem; }
.cta-sm .sub { margin: 1rem auto 0; max-width: 28rem; }

/* ---------- work ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.channel { margin-top: 5rem; border-width: 1px; padding: 2rem; text-align: center; }
.channel h2 { margin-top: .75rem; font-size: 2.25rem; line-height: 1.111; }
.channel .btn { margin-top: 2rem; }

/* ---------- events timeline ---------- */
.timeline { position: relative; }
.timeline > li + li { margin-top: 5rem; }
.timeline > li { position: relative; display: grid; gap: 2rem; }
.timeline .tdot { position: absolute; left: -3.4rem; top: .5rem; display: none; width: .75rem; height: .75rem; border-radius: 9999px; background: var(--primary); box-shadow: var(--shadow-glow); }
.timeline img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.timeline h2 { margin-top: .75rem; font-size: 3rem; }
.timeline .body { margin-top: 1.25rem; max-width: 36rem; }
.timeline .note { margin-top: 1.25rem; display: inline-block; border-left: 2px solid var(--primary); background: var(--card); padding: .75rem 1rem; }

/* ---------- services ---------- */
.svc-list { border-block-width: 1px; }
.svc-list > div + div { border-top-width: 1px; }
.svc-list > div { display: grid; gap: 1rem; padding-block: 2.5rem; }
.svc-list h2 { display: flex; align-items: center; gap: 1rem; font-size: 2.25rem; line-height: 1.111; }
.svc-list h2 .icon { width: 2rem; height: 2rem; color: var(--primary); }
.svc-imgs { margin-top: 4rem; display: grid; gap: 1rem; }
.svc-imgs img, .about-img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.examples-h { margin-top: 5rem; font-size: 3rem; }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 3rem; padding-block: 4rem; }
.about-copy > * + * { margin-top: 1.5rem; }
.about-copy .lead { font-size: 1.5rem; line-height: 1.33; color: var(--foreground); }
.director { border-left: 2px solid var(--primary); padding-left: 1.25rem; }
.director .name { font-size: 2.25rem; line-height: 1.111; color: var(--foreground); }
.about-copy .btn { padding: 1rem 2rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 3.5rem; padding-block: 4rem; }
.contact-info > * + * { margin-top: 1.5rem; }
.contact-info .row { display: flex; align-items: center; gap: 1rem; }
.contact-info a.row:hover { color: var(--primary); }
.contact-info .row .icon { color: var(--primary); }
.contact-info .socials { padding-top: 1rem; }
.form > * + * { margin-top: 1.25rem; }
.form .types { display: flex; flex-wrap: wrap; gap: .5rem; }
.form .two { display: grid; gap: 1.25rem; }
.field { display: block; width: 100%; border-width: 1px; background: var(--card); padding: .75rem 1rem; outline: none; }
.field:focus { border-color: var(--primary); }
.form label { display: block; }
.form .btn { width: 100%; }
.form-status:empty { display: none; }
.form .btn:disabled { opacity: .6; cursor: wait; }
.form-status { font-size: .875rem; }
.form-status.ok { color: var(--primary); }
.form-status.err { color: var(--signal); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- video modal ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; padding: 1rem; background: color-mix(in oklab, var(--background) 95%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal.open { display: grid; }
.modal .close { position: absolute; right: 1rem; top: 1rem; border-radius: 9999px; border-width: 1px; padding: .5rem; }
.modal .close:hover { background: var(--secondary); }
.modal .close .icon { width: 1.25rem; height: 1.25rem; }
.modal .inner { width: 100%; max-width: 64rem; }
.modal .frame { aspect-ratio: 16/9; overflow: hidden; background: var(--card); box-shadow: var(--shadow-glow); }
.modal iframe { width: 100%; height: 100%; }
.modal .artist { margin-top: 1rem; }
.modal h3 { font-size: 1.875rem; line-height: 1.2; }

/* ---------- 404 ---------- */
.nf { display: flex; min-height: 70vh; align-items: center; justify-content: center; text-align: center; padding: 1rem; }
.nf h1 { font-size: 4.5rem; font-weight: 700; }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes blink { 0% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- sm ≥ 640px ---------- */
@media (min-width: 40rem) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- md ≥ 768px ---------- */
@media (min-width: 48rem) {
  .nav { display: flex; gap: 1.5rem; }
  .menu-btn, .mobile-menu, .menu-open .mobile-menu { display: none; }
  .marquee-track { font-size: 4.5rem; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .page-hero .wrap { padding-top: 7rem; }
  .page-hero h1 { font-size: 8rem; }
  .hero h1 { font-size: 10rem; }
  .hero-foot { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats > div { padding: 2.5rem; }
  .stats .n { font-size: 3.75rem; }
  .sec-head h2 { font-size: 4.5rem; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .svc-cards, .samples-grid { grid-template-columns: repeat(3, 1fr); }
  .ev-item { width: 18rem; }
  .cta h2 { font-size: 8rem; }
  .cta-sm h2 { font-size: 4.5rem; }
  .channel { padding: 3.5rem; }
  .channel h2 { font-size: 3.75rem; line-height: 1; }
  .vcard.reel h3 { font-size: 3rem; line-height: 1; }
  .timeline { border-left-width: 1px; padding-left: 3rem; }
  .timeline > li { grid-template-columns: 320px 1fr; }
  .timeline .tdot { display: block; }
  .timeline h2 { font-size: 4.5rem; }
  .svc-list > div { grid-template-columns: 80px 1fr 1.2fr; align-items: center; }
  .svc-list h2 { font-size: 3rem; line-height: 1; }
  .svc-imgs, .about-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1.4fr; }
  .form .two { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- lg ≥ 1024px ---------- */
@media (min-width: 64rem) {
  .nav { gap: 2rem; }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .dot { animation: none; }
  html { scroll-behavior: auto; }
}
