/* DC Pro Video: static site styles ("Control Room" design). No build step. */

@font-face { font-family: "Inter"; font-weight: 400 600; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 500 700; font-style: normal; font-display: swap; src: url("../assets/fonts/space-grotesk-latin-var.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #0a0c0f;
  --band: #0d1014;
  --panel: #12161b;
  --line: #232a33;
  --line-strong: #3a4552;
  --ink: #e8edf2;
  --muted: #98a2ad;
  --blue: #4da3ff;
  --btn: #0464b4;
  --btn-hover: #0577d6;
  --red: #e5322d;
  --green: #2ed573;
  --maxw: 1200px;
  --header-h: 84px;
  --head: "Space Grotesk", Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: #8cc4ff; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

.skip {
  position: absolute; left: 8px; top: -64px; z-index: 100;
  background: #fff; color: #000; padding: 10px 16px; border-radius: 4px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 8px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Small monospace labels used throughout */
.mono, .eyebrow, .tag, .chips li, .band li, .panel-bar, .site-footer p {
  font-family: var(--mono);
  text-transform: uppercase;
}
.eyebrow { margin: 0 0 16px; font-size: 0.75rem; letter-spacing: .14em; color: var(--blue); }
.eyebrow-live { color: var(--muted); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
.dot-red { background: var(--red); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 4px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { background: var(--btn-hover); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 12, 15, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 176px; }
.site-header nav { display: flex; align-items: center; gap: 32px; }
.site-header .nav-list { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.site-header ul a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.site-header ul a:hover { color: var(--blue); }
.site-header .nav-list a { display: inline-flex; align-items: center; min-height: 44px; }

/* Phone menu: a native <details> disclosure, so it works without JavaScript */
.nav-menu { display: none; position: relative; }
.nav-menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 2px solid var(--line-strong); border-radius: 4px; font-weight: 600; font-size: 0.95rem; color: var(--ink);
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu[open] summary { border-color: var(--blue); }
.site-header .nav-panel {
  display: block; position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 220px;
  list-style: none; margin: 0; padding: 8px; background: var(--panel);
  border: 1px solid var(--line-strong); border-radius: 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}
.site-header .nav-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 4px; font-size: 1rem; }
.site-header .nav-panel a:hover { background: #1a2029; }
.site-header .btn { padding: 10px 22px; font-size: 0.95rem; min-height: 44px; }

/* Hero */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; margin-bottom: 24px; }
.lede { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); max-width: 440px; margin-bottom: 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* The hero "multiviewer wall" */
.wall {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 8px; height: 520px;
}
.cell { position: relative; overflow: hidden; border: 3px solid var(--line); border-radius: 4px; background: #000; }
.cell img { width: 100%; height: 100%; object-fit: cover; }
.cell-pgm { grid-row: 1 / span 3; border-color: var(--red); }
.cell-pvw { border-color: var(--green); }
.tag {
  position: absolute; left: 0; top: 0; padding: 3px 9px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: .1em; line-height: 1.5;
  background: #000; color: var(--ink);
}
.tag-red { background: var(--red); color: #fff; }
.tag-green { background: var(--green); color: #04210f; }

/* Credentials status bar */
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band ul {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  list-style: none; margin: 0 auto; padding-top: 18px; padding-bottom: 18px;
  font-size: 0.75rem; letter-spacing: .12em; color: var(--muted);
}
.band li { display: flex; align-items: center; gap: 10px; }
.band li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--band); border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -.015em; }
.section-head { margin-bottom: 44px; }
.section-head h2 { margin-bottom: 12px; }
.section-sub { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* Service panels */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.panel-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 20px; border-bottom: 1px solid var(--line);
  font-size: 0.75rem; letter-spacing: .12em; color: var(--muted);
}
.panel-body { padding: 28px 24px 32px; }
.panel h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; }
.panel p { color: var(--muted); margin: 0; }
.panel .panel-tags { margin-top: 20px; font-family: var(--mono); font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.about-photo { position: relative; margin: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.about-photo img { width: 100%; }
.about-photo figcaption {
  position: absolute; left: 0; bottom: 0; padding: 8px 14px;
  background: #000; color: var(--ink); font-family: var(--mono); font-size: 0.75rem; letter-spacing: .12em; text-transform: uppercase;
}
.about-copy p { color: var(--muted); font-size: 1.06rem; margin-bottom: 1.1em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 28px 0 0; padding: 0; }
.chips li { padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 4px; font-size: 0.75rem; letter-spacing: .08em; color: var(--ink); }

/* Gallery */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.js .gallery:not(.open) .extra { display: none; }
.shot {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0;
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #000; cursor: zoom-in;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.shot:hover img { transform: scale(1.04); filter: brightness(1.08); }
.shot .tag { top: auto; bottom: 0; }
.more { margin-top: 32px; text-align: center; }

/* Lightbox */
dialog#lightbox {
  border: 0; padding: 0; margin: 0; max-width: none; max-height: none;
  width: 100vw; height: 100vh; height: 100dvh; background: transparent; color: #fff;
}
dialog#lightbox[open] { display: flex; align-items: center; justify-content: center; }
dialog#lightbox::backdrop { background: rgba(0, 0, 0, .92); }
#lightbox figure { margin: 0; padding: 0 64px; text-align: center; }
#lb-img { max-width: min(92vw, 1600px); max-height: 80vh; max-height: 80dvh; width: auto; height: auto; margin: 0 auto; border-radius: 4px; }
#lb-cap { margin: 12px auto 0; max-width: 70ch; font-size: 0.95rem; line-height: 1.5; color: rgba(255, 255, 255, .8); }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border: 0; border-radius: 4px;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; padding-bottom: 4px;
}
.lb-btn:hover { background: rgba(255, 255, 255, .28); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.contact-intro p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; max-width: 430px; }
.form { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: 0.9rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 4px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(77, 163, 255, .45); border-color: var(--blue); }
.cf-slot { margin: 0 0 18px; }
.cf-slot:empty { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 14px 0 0; min-height: 1.5em; font-size: 0.95rem; }
.status.ok { color: var(--green); font-weight: 600; }
.status.err { color: #ff8a84; font-weight: 600; }

/* LinkedIn links */
.social { margin-top: 28px; }
/* Padding gives these links a 44px-tall touch area while the underline stays tight to the text. */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 0;
  font-weight: 600; color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.link-arrow:hover { color: #8cc4ff; }
.social-link {
  display: inline-block; padding: 14px 10px; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px;
}
.social-link:hover { color: var(--blue); text-decoration-color: var(--blue); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.site-footer p { margin: 0; font-size: 0.75rem; letter-spacing: .1em; color: var(--muted); }
.on-air { display: inline-flex; align-items: center; gap: 8px; }

/* Tablet */
@media (max-width: 1000px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Small screens */
@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 56px; }
  .hero-grid, .about, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr; }
  .site-header .nav-list { display: none; }
  .nav-menu { display: block; }
  .brand img { width: 150px; }
  .wall { height: 340px; }
  .about-photo { max-width: 520px; }
  .form { padding: 24px 20px; }
  #lightbox figure { padding: 0 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

@media (max-width: 600px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .band ul { justify-content: flex-start; }
  .foot { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .brand img { width: 130px; }
  .site-header .nav-contact { display: none; } /* Contact is in the menu on very small screens */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
