/* ==========================================================
   Torrence Media — cinematic dark
   ========================================================== */
:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --line: #262626;
  --text: #f2f2f0;
  --muted: #9a9a96;
  --accent: #f4cf13; /* Torrence Media brand yellow, sampled from the logo */
  --accent-hover: #f8dc4f;
  --accent-ink: #141000;
  --rec: #ff3b30;

  --display: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

.skip {
  position: absolute; left: -999px; top: 1rem; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: .5rem 1rem;
}
.skip:focus { left: 1rem; }

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

.accent { color: var(--accent); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--pad);
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10,10,10,.78);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { height: 2.4rem; width: auto; transition: transform .3s var(--ease); }
.brand:hover .brand-mark { transform: translateY(-2px); }
.brand-name {
  font-weight: 800; font-stretch: 112%; text-transform: uppercase;
  letter-spacing: .04em; font-size: .9rem;
}
.brand-name span { color: var(--accent); margin-left: .35em; }

.nav ul { display: flex; gap: clamp(1rem, 2.5vw, 2.25rem); list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 500; color: #d8d8d4; transition: color .2s; }
.nav a:hover { color: var(--accent); }
.nav .nav-cta {
  border: 1px solid var(--accent); color: var(--accent);
  padding: .45rem 1rem; font-weight: 700;
}
.nav .nav-cta:hover { background: var(--accent); color: var(--accent-ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-2px); background: var(--accent-hover); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--text); background: rgba(0,0,0,.25); }
.btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  --tl-h: clamp(180px, 28vh, 270px);   /* height of the docked timeline panel */
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 5.5rem var(--pad) calc(var(--tl-h) + clamp(1.5rem, 4vh, 3rem));
  overflow: hidden; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 75% 20%, rgba(244,207,19,.06), transparent 55%), var(--bg);
}
/* Code-drawn Premiere-style timeline, docked like the editor's timeline panel */
.hero-timeline {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: var(--tl-h); display: block;
  background: #0e0e0e; border-top: 1px solid var(--line);
}
.tc { font-variant-numeric: tabular-nums; }

.eyebrow {
  font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 1.25rem;
}
.hero h1 {
  margin: 0; font-weight: 900; font-stretch: 112%;
  font-size: clamp(2.4rem, min(6.2vw, 9.5vh), 6.5rem); line-height: .95; letter-spacing: -.035em;
  text-transform: uppercase;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero-sub {
  margin: 1.75rem 0 0; max-width: 36rem;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: #d8d8d4;
  animation: rise 1s var(--ease) .4s both;
}
.section-sub { margin: 1rem 0 0; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.scroll-cue {
  position: absolute; right: var(--pad); bottom: clamp(4rem, 10vh, 7rem);
  width: 1.6rem; height: 2.6rem; border: 1.5px solid rgba(255,255,255,.5); border-radius: 1rem;
}
.scroll-cue span {
  position: absolute; left: 50%; top: .5rem; width: 3px; height: .5rem; margin-left: -1.5px;
  background: var(--accent); border-radius: 2px; animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(1rem); opacity: 0; } 100% { opacity: 0; } }

/* reveal-on-load */
.hero .eyebrow, .hero h1 .line, .hero-actions {
  animation: rise 1s var(--ease) both;
}
.hero h1 .line:nth-child(1) { animation-delay: .1s; }
.hero h1 .line:nth-child(2) { animation-delay: .2s; }
.hero h1 .line:nth-child(3) { animation-delay: .3s; }
.hero-actions { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }

/* ---------- Impact ---------- */
.impact {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(3.5rem, 8vh, 6rem) var(--pad);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem clamp(2rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
}
.impact-num {
  display: block; font-weight: 900; font-stretch: 112%;
  font-size: clamp(4.5rem, 13vw, 11rem); line-height: .85; letter-spacing: -.05em; color: var(--accent);
}
.impact-cap { margin: 1rem 0 0; color: #d8d8d4; font-size: 1.1rem; max-width: 26rem; }
.impact-side { display: grid; align-content: center; border-left: 1px solid var(--line); }
.stat { padding: 1.1rem 0 1.1rem 2rem; border-bottom: 1px solid var(--line); }
.stat:last-child { border-bottom: 0; }
.stat strong {
  display: block; font-weight: 900; font-stretch: 112%;
  font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; letter-spacing: -.03em; color: var(--text);
}
.stat span { display: block; margin-top: .4rem; color: var(--muted); font-size: .9rem; }

/* Views-by-show bar list: one series, one hue, direct labels, recessive track */
.bars { grid-column: 1 / -1; margin: 1rem 0 0; }
.bars figcaption { font-weight: 700; margin-bottom: 1.25rem; }
.bars figcaption span { color: var(--muted); font-weight: 400; }
.bars ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.bars li {
  display: grid; grid-template-columns: minmax(10rem, 16rem) 1fr 4.5rem; align-items: center; gap: 1rem;
}
.bar-label { font-size: .95rem; color: #d8d8d4; }
.bar-track { height: 14px; background: #1a1a1a; border-radius: 4px; position: relative; }
.bar-fill {
  position: absolute; inset: 0 auto 0 0; width: calc(var(--v) / 81 * 100%);
  background: var(--accent); border-radius: 0 4px 4px 0;
  transform-origin: left; transition: transform 1.1s var(--ease);
}
.bars.reveal:not(.is-in) .bar-fill { transform: scaleX(0); }
.bars li:hover .bar-fill { background: var(--accent-hover); }
.bar-val { font-family: var(--mono); font-size: .9rem; text-align: right; color: var(--text); }

/* ---------- Testimonials ---------- */
.quote-list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
.quote {
  margin: 0; padding: 2rem 2rem 1.75rem; background: var(--bg-2); border: 1px solid var(--line);
  border-top: 3px solid var(--accent); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
}
.quote p { margin: 0; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.55; color: var(--text); }
.quote footer { color: var(--muted); font-size: .9rem; }
.quote footer strong { display: block; color: var(--text); font-size: 1rem; }

/* ---------- Show logo slider ---------- */
.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2rem 0 2.25rem; }
.logos-tag {
  margin: 0 0 1.5rem; text-align: center;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.logos-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.logos-track {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; width: max-content;
  animation: logos-scroll 45s linear infinite;
}
.logos-viewport:hover .logos-track { animation-play-state: paused; }
.logos-track li {
  flex: none; height: 56px; padding: 0 clamp(1.75rem, 3.5vw, 3rem);
  display: flex; align-items: center;
  opacity: .55; transition: opacity .25s;
}
.logos-track li:hover { opacity: 1; }
/* Real logos: forced to white so mixed-color files match */
.logos-track img { height: 44px; width: auto; max-width: 180px; object-fit: contain; filter: brightness(0) invert(1); }
@keyframes logos-scroll { to { transform: translateX(-50%); } }

/* Placeholder wordmarks */
.wm { color: var(--text); white-space: nowrap; line-height: 1; text-align: center; }
.wm small { display: block; font-size: .42em; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; }
.wm-blaze { font-weight: 900; font-stretch: 112%; font-size: 1.9rem; letter-spacing: -.03em; }
.wm-blaze b { color: var(--accent); }
.wm-stack { font-weight: 900; font-stretch: 75%; font-size: 1.7rem; text-transform: uppercase; letter-spacing: .02em; }
.wm-cond { font-weight: 800; font-stretch: 62%; font-size: 1.75rem; text-transform: uppercase; letter-spacing: .01em; }
.wm-wide { font-weight: 700; font-stretch: 125%; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .08em; }
.wm-serif { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.6rem; }
.wm-serif small { font-family: var(--display); }
.wm-serif-i { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 2rem; letter-spacing: -.01em; }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 12vh, 9rem) var(--pad); }
.section-head { max-width: 52rem; margin-bottom: 3rem; }
.section-tag {
  display: flex; align-items: center; gap: .9rem;
  font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted);
  margin: 0 0 1.25rem;
}
.tc-mini { color: var(--accent); }
.section h2 {
  margin: 0; font-weight: 800; font-stretch: 100%;
  font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.04; letter-spacing: -.03em;
}

/* ---------- Work ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.chip {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  padding: .5rem 1rem; font-size: .85rem; font-weight: 600; cursor: pointer; border-radius: 99px;
  transition: all .2s;
}
.chip:hover { color: var(--text); border-color: #555; }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.card { transition: opacity .35s, transform .35s var(--ease); }
.card.is-hidden { display: none; }
.card-feature { grid-column: span 2; grid-row: span 2; }
.card-btn {
  all: unset; display: block; width: 100%; cursor: pointer;
}
.card-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; filter: saturate(.85) brightness(.85); }
.thumb::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 0 var(--accent); transition: box-shadow .3s var(--ease);
}
.card-btn:hover .thumb img, .card-btn:focus-visible .thumb img { transform: scale(1.05); filter: none; }
.card-btn:hover .thumb::after { box-shadow: inset 0 0 0 3px var(--accent); }
.play {
  position: absolute; left: 50%; top: 50%; width: 3.75rem; height: 3.75rem; margin: -1.875rem 0 0 -1.875rem;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  transform: scale(.6); opacity: 0; transition: transform .35s var(--ease), opacity .25s;
}
.play svg { width: 1.5rem; height: 1.5rem; fill: currentColor; margin-left: 3px; }
.card-btn:hover .play, .card-btn:focus-visible .play { transform: scale(1); opacity: 1; }
.card-feature .play { width: 5rem; height: 5rem; margin: -2.5rem 0 0 -2.5rem; opacity: 1; transform: scale(1); }
.card-feature .play svg { width: 2rem; height: 2rem; }

.dur {
  position: absolute; right: .6rem; bottom: .6rem;
  font-family: var(--mono); font-size: .72rem; padding: .15rem .45rem;
  background: rgba(0,0,0,.75); color: var(--text);
}

/* Work sub-sections */
.sub-head {
  display: flex; align-items: center; gap: .75rem;
  margin: 4.5rem 0 1.5rem; font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 800; letter-spacing: -.02em;
}
.section-head + .sub-head { margin-top: 0; }
.sub-head span {
  display: grid; place-items: center; width: 1.9rem; height: 1.9rem;
  font-family: var(--mono); font-size: .8rem; font-weight: 600;
  background: var(--accent); color: var(--accent-ink);
}
.sub-note { margin: -1rem 0 1.25rem; color: var(--muted); font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }

.grid-promos { grid-template-columns: repeat(2, 1fr); }
.grid-promos .card-feature { grid-column: 1 / -1; grid-row: auto; }
.grid-promos .card-feature .thumb { aspect-ratio: 21 / 9; }

/* Live social embeds */
.social-row {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 1rem; margin-right: calc(var(--pad) * -1);
  scrollbar-color: var(--accent) var(--bg-2);
}
.post { flex: 0 0 340px; margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; }
.post figcaption { font-size: .85rem; color: var(--muted); margin-bottom: .6rem; min-height: 2.7em; }
.post figcaption strong { display: block; color: var(--text); font-size: .95rem; }
.post iframe { width: 100%; height: 600px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }

.meta { padding: 1rem 0 .25rem; display: grid; gap: .3rem; }
.client { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.meta h3 { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.card-feature .meta h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; }
.kind { font-size: .82rem; color: var(--muted); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about-media { position: relative; }
.about-media img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; width: 100%; filter: saturate(.85) contrast(1.05); }
.about-media::before {
  content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem; border: 1px solid var(--accent); z-index: -1;
}
.about-tc {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; padding: .75rem 1rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
}
.about-copy p { color: #c9c9c5; max-width: 38rem; }
.about-copy h2 { margin-bottom: 1.5rem; }
.about-list {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1.5rem;
}
.about-list li { padding-left: 1.4rem; position: relative; font-weight: 600; }
.about-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: .7rem; height: 2px; background: var(--accent); }

.tools { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tools li {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .06em;
  border: 1px solid var(--line); padding: .35rem .7rem; color: #d8d8d4;
}

/* ---------- Experience ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.job {
  display: grid; grid-template-columns: 11rem 1fr; gap: 2rem;
  padding: 2.25rem 0; border-bottom: 1px solid var(--line);
}
.job-when {
  display: flex; flex-direction: column; gap: .2rem;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; color: var(--muted);
}
.job-when span:first-child { color: var(--accent); font-size: 1rem; }
.job-when span:last-child::before { content: "→ "; }
.job h3 {
  margin: 0 0 .9rem; font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 800; letter-spacing: -.02em;
}
.job h3 span { display: block; margin-top: .25rem; font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.job ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; max-width: 50rem; }
.job li { position: relative; padding-left: 1.4rem; color: #c9c9c5; }
.job li::before { content: ""; position: absolute; left: 0; top: .7em; width: .7rem; height: 2px; background: var(--accent); }

/* ---------- Services ---------- */
.svc-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.svc {
  padding: 2.5rem 2rem 2.5rem 0; border-right: 1px solid var(--line);
  transition: background .3s;
}
.svc + .svc { padding-left: 2rem; }
.svc:last-child { border-right: 0; }
.svc-num {
  display: inline-block; font-family: var(--mono); font-size: .75rem; font-weight: 600;
  background: #1c1c1c; border: 1px solid var(--line); color: var(--accent);
  padding: .2rem .5rem; margin-bottom: 1.5rem;
}
.svc h3 { margin: 0 0 .75rem; font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; }
.svc p { margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(2.4rem, 5.5vw, 4.75rem); font-stretch: 112%; font-weight: 900; text-transform: uppercase; line-height: .95; }
.contact h2 .accent { display: block; }
.contact-copy p { color: var(--muted); max-width: 30rem; }
.email {
  display: inline-block; margin-top: 1rem;
  font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 700; text-decoration: none;
  border-bottom: 2px solid var(--accent); padding-bottom: .15rem;
}
.email:hover { color: var(--accent); }
.loc { font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.socials { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; gap: .75rem; }
.socials a {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--line); transition: border-color .2s, color .2s;
}
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.socials svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.socials svg .fill { fill: currentColor; stroke: none; }

.form { display: grid; gap: 1.1rem; align-content: start; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: .45rem; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.form input, .form textarea, .form select {
  font: inherit; font-family: var(--display); font-size: 1rem; text-transform: none; letter-spacing: 0;
  color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 0;
  padding: .9rem 1rem; transition: border-color .2s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 1.2rem) 50%, calc(100% - .9rem) 50%; background-size: .3rem .3rem; background-repeat: no-repeat; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); }
.form .btn { justify-self: start; border: 0; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.footer {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 2rem var(--pad); border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--muted);
}
.footer-brand { display: inline-flex; align-items: center; gap: .75rem; }
.footer-brand img { height: 1.75rem; width: auto; }
.footer .tc { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: min(1200px, 94vw); max-width: none; padding: 0; border: 0; background: transparent; color: var(--text);
}
.lightbox::backdrop { background: rgba(0,0,0,.92); backdrop-filter: blur(6px); }
.lightbox[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
.lightbox-inner { position: relative; padding-top: 3.25rem; }
.lightbox-frame { aspect-ratio: 16 / 9; background: #000; }
.lightbox-frame iframe, .lightbox-frame video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.lightbox-title { margin: .9rem 0 0; font-weight: 700; }
.lightbox-close {
  position: absolute; top: 0; right: 0;
  background: none; border: 1px solid rgba(255,255,255,.3); width: 2.4rem; height: 2.4rem; cursor: pointer;
}
.lightbox-close:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(2rem); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card-feature { grid-row: auto; }
  .impact { grid-template-columns: 1fr; }
  .impact-side { border-left: 0; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
  .stat { padding: 1.25rem 1rem 0 0; border-bottom: 0; }
  .quote-list { grid-template-columns: 1fr; }
  .about, .contact { grid-template-columns: 1fr; }
  .about-media img { aspect-ratio: 16 / 10; }
  .svc-list { grid-template-columns: 1fr; }
  .svc, .svc + .svc { padding: 2rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .nav ul li:not(:last-child) { display: none; }
  .brand-name { display: none; }
  .grid, .grid-promos { grid-template-columns: 1fr; }
  .post { flex-basis: 300px; }
  .bars li { grid-template-columns: 1fr 3.5rem; gap: .35rem .75rem; }
  .bar-label { grid-column: 1 / -1; }
  .stat strong { font-size: 1.6rem; }
  .card-feature { grid-column: auto; }
  .hero-hud span:last-child { display: none; }
  .scroll-cue { display: none; }
  .form .row { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; gap: .75rem; }
  .job-when { flex-direction: row; gap: .5rem; }
  .job-when span:last-child::before { content: "→ "; }
  .about-list { grid-template-columns: 1fr; }
}

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