/* visualZ 2026 — single-page site */

:root {
  --bg: #0a0a0b;
  --bg-alt: #111113;
  --surface: #17171a;
  --line: #26262b;
  --text: #ececef;
  --muted: #9a9aa3;
  --r: #ff3b3b;
  --g: #3ddc6b;
  --b: #3b6bff;
  --y: #ffd23b;
  --accent: var(--g);
  --radius: 14px;
  --wrap: 1200px;
  --head: "Roboto", Helvetica, Arial, sans-serif;
  --body: "Roboto", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

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

.eyebrow {
  font: 500 13px/1 var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #06140a;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--accent);
  transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border-color: #3a3a42; }
.btn-ghost:hover { border-color: var(--text); }
.btn-small { padding: 9px 18px; font-size: 15px; }
.btn-lg { padding: 18px 32px; font-size: 18px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(10, 10, 11, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.rgb { display: flex; gap: 3px; height: 30px; }
.rgb i { width: 8px; border-radius: 2px; }
.rgb i:nth-child(1) { background: var(--r); }
.rgb i:nth-child(2) { background: var(--g); }
.rgb i:nth-child(3) { background: var(--b); }
.brand-name { font: 700 24px/1 var(--head); letter-spacing: -.03em; }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); transition: color .15s; }
.site-nav a:hover { color: var(--text); }
.site-nav a.btn { color: #06140a; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 6px 0; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  display: flex; align-items: center;
  padding: 104px 0 64px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 25%, rgba(10,10,11,.55) 65%, rgba(10,10,11,.35)),
    linear-gradient(0deg, var(--bg) 0%, transparent 40%),
    url("images/corgan-a.jpg") right center / cover no-repeat;
  opacity: .9;
}
.hero-inner { position: relative; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); max-width: 16ch; }
.nowrap { white-space: nowrap; }
.lede { font-size: clamp(18px, 2vw, 21px); color: #c4c4cc; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* SMPTE-style color bars */
.bars { display: flex; height: 10px; }
.bars i { flex: 1; }
.bars i:nth-child(1) { background: #c0c0c0; }
.bars i:nth-child(2) { background: #c0c000; }
.bars i:nth-child(3) { background: #00c0c0; }
.bars i:nth-child(4) { background: #00c000; }
.bars i:nth-child(5) { background: #c000c0; }
.bars i:nth-child(6) { background: #c00000; }
.bars i:nth-child(7) { background: #0000c0; }
.hero .bars { position: absolute; left: 0; right: 0; bottom: 0; }


/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2, .about h2, .contact h2 { font-size: clamp(34px, 4.5vw, 54px); }
.section-head p { color: var(--muted); font-size: 18px; }
.sub-head { font-size: 22px; margin: 52px 0 20px; }
.sub-head.center { text-align: center; }

/* Video grid */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.video-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.video-meta { padding: 22px 24px 26px; }
.video-meta h3 { font-size: 20px; }
.video-meta p { color: var(--muted); font-size: 15.5px; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }

/* Lazy YouTube player */
.yt { position: relative; aspect-ratio: 16 / 9; background: #000 center / cover no-repeat; cursor: pointer; }
.yt::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(10,10,11,.75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% center / 34px no-repeat;
  border: 1.5px solid rgba(255,255,255,.35);
  transition: transform .2s, background-color .2s;
}
.yt:hover::after { transform: scale(1.08); background-color: var(--accent); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.playing::after { display: none; }

/* Stills grid */
.stills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stills button { padding: 0; border: 0; background: #000; border-radius: 8px; overflow: hidden; cursor: zoom-in; aspect-ratio: 16 / 10; }
.stills img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; opacity: .88; }
.stills button:hover img, .stills button:focus-visible img { transform: scale(1.05); opacity: 1; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0,0,0,.92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 100%; opacity: .85; }
.service img.crop-center { object-position: 50% 50%; }
.service-body { padding: 28px 30px 30px; position: relative; }
.service h3 { font-size: 24px; }
.service p { color: var(--muted); }
.service ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.service li { font-size: 15px; padding-left: 16px; position: relative; }
.service li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 1px; background: var(--muted); }
.service h3 { display: flex; align-items: center; gap: 12px; }
.dot { flex: none; width: 16px; height: 16px; border-radius: 4px; }
.dot.r { background: var(--r); } .dot.g { background: var(--g); } .dot.b { background: var(--b); } .dot.y { background: var(--y); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
/* Stage photo with the headshot inset over its lower-right corner */
.about-photo { position: relative; padding-bottom: 12%; }
.about-photo img { border-radius: var(--radius); object-fit: cover; }
.about-photo .stage { width: 88%; aspect-ratio: 4 / 3; }
.about-photo .headshot {
  position: absolute; right: 0; bottom: 0;
  width: 44%; aspect-ratio: 1; object-position: 50% 30%;
  border: 6px solid var(--bg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}
.about-text p { color: #c4c4cc; }

.creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cred { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cred h4 { font: 700 15px/1.2 var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.cred ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cred li { font-size: 15px; line-height: 1.45; color: #c4c4cc; }

.clients { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.clients li { font: 500 16px/1 var(--head); color: var(--muted); padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; }

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 52px; }
blockquote { margin: 0; padding: 34px; background: var(--surface); border-radius: var(--radius); border-left: 3px solid var(--accent); }
blockquote p { font-size: 19px; line-height: 1.55; }
.testimonial p { font-style: italic; }
blockquote footer { display: flex; flex-direction: column; font-size: 15px; }
blockquote footer span { color: var(--muted); }

/* Contact */
.contact { background: radial-gradient(ellipse at 50% 0%, rgba(61,220,107,.12), transparent 60%), var(--bg-alt); text-align: center; }
.contact-inner { max-width: 760px; }
.contact-inner > p { color: var(--muted); font-size: 18px; }
.contact-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 34px 0 24px; }
.location { margin-top: 10px; }
.social { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; gap: 26px; }
.social a { color: var(--muted); text-decoration: none; font-weight: 500; }
.social a:hover { color: var(--text); }

/* Footer */
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 28px 24px; color: var(--muted); font-size: 14px; }
.footer-inner a {
  text-decoration: none; font-size: 17px; font-weight: 500; color: var(--text);
  padding: 10px 20px; border: 1.5px solid #3a3a42; border-radius: 999px;
  transition: border-color .15s, color .15s;
}
.footer-inner a:hover { border-color: var(--accent); color: var(--accent); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
  .stills { grid-template-columns: repeat(3, 1fr); }
  .services, .quotes, .about { grid-template-columns: 1fr; }
  .about { gap: 36px; }
    .creds { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .creds { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .site-nav a.btn { margin-top: 14px; border-bottom: 0; }
  .hero-bg { background:
    linear-gradient(0deg, var(--bg) 15%, rgba(10,10,11,.7) 60%, rgba(10,10,11,.5)),
    url("images/corgan-a.jpg") 70% center / cover no-repeat; }
  .section { padding: 60px 0; }
  .video-grid { grid-template-columns: 1fr; }
  .stills { grid-template-columns: 1fr 1fr; }
  .service ul { grid-template-columns: 1fr; }
      blockquote { padding: 26px; }
  .btn-lg { width: 100%; font-size: 17px; }
  .lb-prev, .lb-next { top: auto; bottom: 24px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
