/* Vitel Productions: site styles */

/* Self-hosted fonts (no third-party requests) */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-var.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto Slab"; src: url("../fonts/roboto-slab-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }


:root {
  --bg: #0b0d0c;
  --surface: #121614;
  --surface-2: #181d1a;
  --line: #24302a;
  --text: #eef2ee;
  --muted: #9aa79f;
  --brand: #5cc941;
  --brand-hi: #7fe064;
  --on-brand: #06120a;
  --live: #ff3b30;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --header-h: 68px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 .5em; font-weight: 750; letter-spacing: -0.015em; }
h1, h2 { font-variation-settings: "wdth" 112; text-wrap: balance; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: var(--on-brand); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--brand-hi); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.35em;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .2s, transform .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--brand-hi); transform: translateY(-1px); }
.btn svg { width: 1em; height: 1em; fill: currentColor; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--brand); }
.btn-small { padding: .55em 1em; font-size: .92rem; }

.link { color: var(--brand); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: block; text-decoration: none; flex: none; }
.brand-mark { width: 116px; height: auto; overflow: visible; }
.brand-mark text { font-family: "Roboto Slab", Georgia, serif; font-weight: 800; font-size: 34px; fill: var(--text); letter-spacing: -0.5px; }
.brand-mark .brand-tld { font-size: 24px; fill: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.site-nav ul a { text-decoration: none; color: var(--muted); font-weight: 550; font-size: .95rem; transition: color .15s; }
.site-nav ul a:hover, .site-nav ul a[aria-current="true"] { color: var(--text); }

.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-toggle {
    display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: 10px;
    background: transparent; border: 1px solid var(--line); color: var(--text); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, opacity .2s;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 12px 0; font-size: 1.1rem; color: var(--text); border-bottom: 1px solid var(--line); }
  .site-nav .btn { justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); overflow: hidden; isolation: isolate; }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .5; }
.hero-lines path { fill: none; stroke: var(--brand); stroke-width: 1.2; opacity: .35; vector-effect: non-scaling-stroke; }
.hero-lines path:nth-child(2) { opacity: .2; }
.hero-lines path:nth-child(3) { opacity: .12; }
.hero-lines path:nth-child(4) { opacity: .14; }

.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .8rem; color: var(--muted); letter-spacing: .02em; margin-bottom: 22px; }
.tally { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 25%, transparent); animation: pulse 2s infinite; }

.hero h1 { font-size: clamp(2.2rem, 4.7vw, 3.8rem); margin-bottom: .45em; }
.accent { color: var(--brand); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-visual { position: relative; margin: 0; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, var(--surface), var(--bg)); overflow: hidden; }
.hero-visual svg { width: 100%; height: auto; }
.hero-visual .orbit { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 2 6; }
.hero-visual .sat rect { fill: var(--surface-2); stroke: var(--text); stroke-width: 1.5; }
.hero-visual .sat .panel { fill: color-mix(in srgb, var(--brand) 25%, var(--surface)); stroke: var(--brand); }
.hero-visual .sat line { stroke: var(--text); stroke-width: 1.5; }
.hero-visual .beam { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-dasharray: 6 10; stroke-linecap: round; animation: beam 1.4s linear infinite; }
.hero-visual .beam-down { opacity: .55; }
.hero-visual .ground { fill: var(--surface-2); }
.hero-visual .truck rect, .hero-visual .truck circle { fill: var(--surface-2); stroke: var(--muted); stroke-width: 1.5; }
.hero-visual .truck .dish { stroke: var(--muted); stroke-width: 3; fill: none; }
.hero-visual .truck .dish-bowl { fill: var(--text); opacity: .9; }
.onair { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 6px; background: var(--live); color: #fff; font-family: var(--mono); font-weight: 500; font-size: .75rem; letter-spacing: .12em; }
.onair .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s steps(2) infinite; }

.facts { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 80%, transparent); }
.facts li { padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.facts li + li { border-left: 1px solid var(--line); }
.facts strong { font-size: 1.05rem; font-variation-settings: "wdth" 110; }
.facts span { color: var(--muted); font-size: .9rem; }

@keyframes beam { to { stroke-dashoffset: -32; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--live) 0%, transparent); } }
@keyframes blink { 50% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) {
  .tally, .onair .dot, .hero-visual .beam { animation: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2, .section h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.section-head p:not(.kicker) { color: var(--muted); font-size: 1.08rem; }
.kicker { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--brand); margin-bottom: 14px; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, transform .2s; }
.service:hover { border-color: color-mix(in srgb, var(--brand) 60%, var(--line)); transform: translateY(-2px); }
.media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.9); transition: filter .35s, transform .5s; }
.media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, color-mix(in srgb, var(--surface) 55%, transparent)); pointer-events: none; transition: opacity .35s; }
.service:hover .media img { filter: none; transform: scale(1.03); }
.service:hover .media::after { opacity: 0; }
.service-body { padding: 20px 22px 24px; }
.service h3 { font-size: 1.25rem; }
.service p { color: var(--muted); margin: 0; }
.service-feature { grid-row: span 2; }
.service-feature .media { flex: 1; aspect-ratio: auto; min-height: 260px; }
.service-feature .media img { position: absolute; inset: 0; }
.service-feature h3 { font-size: 1.6rem; }
.service-text { grid-column: 1 / -1; background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 18%, var(--surface)), var(--surface) 70%); }
.service-text .service-body { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; padding: 26px 28px; }
.service-text h3 { margin: 0; flex: 0 1 auto; }
.service-text p { flex: 1 1 320px; }
.service-text .link { white-space: nowrap; }

/* ---------- Facilities ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.spec { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.spec-wide { grid-column: 1 / -1; }
.spec header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.spec h3 { font-size: 1.5rem; margin: 0; font-variation-settings: "wdth" 115; }
.spec p { color: var(--muted); }
.tag { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.spec-list { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: .86rem; line-height: 1.5; }
.spec-list li { position: relative; padding: 8px 0 8px 22px; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.spec-list li:last-child { border-bottom: 0; }
.spec-list li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); }
.spec-list.two-col { columns: 3; column-gap: 32px; }
.spec-list.two-col li { break-inside: avoid; }

/* ---------- LiveU ---------- */
.liveu { padding-block: clamp(48px, 7vw, 80px); }
.liveu-inner { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 48px); align-items: center; border: 1px solid color-mix(in srgb, var(--brand) 40%, var(--line)); border-radius: 22px; padding: clamp(24px, 4vw, 44px); background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 60%), var(--surface); }
.liveu h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.liveu p:not(.kicker) { color: var(--muted); margin: 0; max-width: 40em; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.bars span { width: 12px; border-radius: 3px; background: var(--brand); animation: bars 1.8s ease-in-out infinite; }
.bars span:nth-child(1) { height: 30%; }
.bars span:nth-child(2) { height: 50%; animation-delay: .15s; }
.bars span:nth-child(3) { height: 70%; animation-delay: .3s; }
.bars span:nth-child(4) { height: 85%; animation-delay: .45s; }
.bars span:nth-child(5) { height: 100%; animation-delay: .6s; }
@keyframes bars { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .bars span { animation: none; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-grid .big { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; }
.about-grid p:not(.kicker):not(.big) { color: var(--muted); }
.aims-title { font-size: 1rem; font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-top: 6px; }
.aims { list-style: none; margin: 0; padding: 0; }
.aims li { display: grid; grid-template-columns: 52px 1fr; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; font-weight: 600; }
.aims li:first-child { border-top: 1px solid var(--line); }
.aims span { font-family: var(--mono); font-size: .85rem; color: var(--brand); font-weight: 500; }

/* ---------- Clients ---------- */
.clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.clients li { background: var(--surface); display: grid; place-items: center; text-align: center; min-height: 112px; padding: 16px; font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 800; font-variation-settings: "wdth" 118; letter-spacing: -0.01em; color: color-mix(in srgb, var(--text) 78%, transparent); transition: color .2s, background .2s; }
.clients li:hover { color: var(--text); background: var(--surface-2); }
.clients-note { margin-top: 16px; color: var(--muted); text-align: right; font-style: italic; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-grid > div > p:not(.kicker) { color: var(--muted); font-size: 1.08rem; }
.phone-big { display: inline-block; margin-top: 12px; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; font-variation-settings: "wdth" 110; letter-spacing: -0.02em; color: var(--brand); text-decoration: none; }
.phone-big:hover { color: var(--brand-hi); }
.contact-cards { display: grid; gap: 14px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.contact-card h3 { font-family: var(--mono); font-size: .78rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 10px; }
.contact-card a:not(.link) { display: flex; align-items: baseline; gap: 14px; font-size: 1.15rem; font-weight: 650; text-decoration: none; padding: 2px 0; }
.contact-card a:not(.link):hover { color: var(--brand); }
.contact-card .who { min-width: 3.4em; font-family: var(--mono); font-size: .8rem; font-weight: 500; color: var(--brand); text-transform: uppercase; letter-spacing: .1em; }
.contact-card address { font-style: normal; font-size: 1.05rem; margin-bottom: 10px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-inner p { margin: 0; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-feature { grid-row: auto; grid-column: span 2; }
  .service-feature .media { flex: none; aspect-ratio: 16 / 7; min-height: 0; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .spec-list.two-col { columns: 2; }
  .spec-grid .spec:last-child { grid-column: 1 / -1; }
  .liveu-inner { grid-template-columns: auto 1fr; }
  .liveu-inner .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-feature { grid-column: auto; }
  .service-feature .media { aspect-ratio: 16 / 10; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec-list.two-col { columns: 1; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .clients li { min-height: 88px; }
  .liveu-inner { grid-template-columns: 1fr; }
  .bars { height: 40px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .footer-inner { flex-direction: column; }
}
