:root {
  --bg: #0e0e0e;
  --panel: #151515;
  --panel-2: #1c1c1c;
  --line: #232323;
  --line-2: #2a2a2a;
  --text: #f4f2ec;
  --muted: #b9b9b9;
  --accent: #f4cd46;
  --accent-hover: #ffe066;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, .brand { font-family: 'Poppins', sans-serif; }
.wrap { padding-left: 64px; padding-right: 64px; }
.narrow { max-width: 900px; margin-left: auto; margin-right: auto; }
.eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--accent); text-transform: uppercase; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--bg); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Buttons */
.btn { display: inline-block; border-radius: 4px; font-weight: 700; transition: background .2s, color .2s, border-color .2s, transform .2s; cursor: pointer; }
.btn:hover, .btn:focus-visible { transform: scale(1.04); }
.btn-primary { background: var(--accent); color: var(--bg); font-size: 15px; padding: 16px 28px; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { border: 1px solid var(--text); color: var(--text); font-weight: 600; font-size: 15px; padding: 16px 28px; }
.btn-outline:hover { background: var(--accent); border-color: var(--accent); color: #111; }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); background: var(--bg); }
header.site { transition: transform .3s ease; }
header.site.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { header.site { transition: none; } }
.brand { display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; }
.brand b { font-weight: 800; font-size: 22px; letter-spacing: .5px; }
.brand span { font-weight: 600; font-size: 11px; letter-spacing: 4px; color: var(--accent); margin-top: 3px; }
.brand { transition: transform .2s; transform-origin: left center; }
.brand:hover, .brand:focus-visible { transform: scale(1.05); }
.brand b, .brand span { transition: color .2s; }
.brand:hover b, .brand:focus-visible b { color: var(--accent); }
.brand:hover span, .brand:focus-visible span { color: var(--text); }
nav.main { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; color: #cfcfcf; }
nav.main a:hover, nav.main button:hover { color: var(--accent); }
nav.main a[aria-current="page"] { color: var(--accent); }
.has-sub { position: relative; }
.has-sub > button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.has-sub > button::after { content: " \25BE"; font-size: 11px; }
.sub { display: none; position: absolute; top: 100%; left: -16px; min-width: 250px; padding: 12px 0; margin-top: 18px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 6px; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.sub a { display: block; padding: 10px 20px; white-space: nowrap; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.head-right { display: flex; align-items: center; gap: 22px; }
.head-right .btn-outline { font-size: 14px; padding: 12px 22px; }
.mobile-only { display: none; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 4px; padding: 10px 14px; font: inherit; font-weight: 600; cursor: pointer; }

/* Home hero */
.hero { position: relative; min-height: 760px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(135deg, #17130a 0%, var(--bg) 60%); }
.hero-media { position: absolute; right: -60px; top: -40px; width: 640px; height: calc(100% + 80px); border-radius: 8px; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; max-width: 620px; padding: 60px 0; }
.badge { display: inline-block; background: var(--accent); color: var(--bg); font-weight: 700; font-size: 12px; letter-spacing: 1.5px; padding: 6px 14px; border-radius: 3px; margin-bottom: 24px; }
.hero h1 { font-weight: 800; font-size: 54px; line-height: 1.08; margin-bottom: 20px; }
.hero .sub-head { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 22px; color: var(--accent); margin-bottom: 16px; }
.hero p.lead { font-size: 19px; line-height: 1.6; color: var(--muted); margin-bottom: 36px; }
.actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .cta-hook { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 18px; color: #fff; margin: 4px 0 12px; }

/* Image slots (placeholder until a real photo is dropped in) */
.media { position: relative; width: 100%; height: 100%; min-height: 260px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: #555; font-size: 15px; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media.has-img { padding: 0; border: 0; }

/* Service cards */
.services { padding-top: 90px; padding-bottom: 90px; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-weight: 700; font-size: 36px; margin-top: 12px; line-height: 1.25; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { position: relative; display: block; border: 1px solid var(--line-2); border-radius: 8px; padding: 0; overflow: hidden; background: var(--panel); transition: border-color .2s; }
.card-body { padding: 32px; }
.card-photo { display: none; }
.card:hover { border-color: var(--accent); }
.card svg { width: 30px; height: 30px; stroke: var(--accent); fill: none; stroke-width: 1.6; }
.card h3 { font-size: 20px; margin: 20px 0 10px; }
.card p { font-size: 15px; line-height: 1.6; color: #a9a9a9; margin-bottom: 16px; }
.card .more { font-size: 14px; font-weight: 600; color: var(--accent); }
.tag-new { position: absolute; top: 20px; right: 20px; background: var(--accent); color: var(--bg); font-size: 11px; font-weight: 700; letter-spacing: 1px; padding: 4px 9px; border-radius: 3px; }

/* Cinematic video band */
.video { display: flex; background: #141109; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 600px; }
.video-copy { flex: 1; padding: 90px 64px; display: flex; flex-direction: column; justify-content: center; }
.video-copy h2 { font-weight: 700; font-size: 34px; margin: 14px 0 20px; line-height: 1.2; }
.video-copy p { font-size: 16px; line-height: 1.7; color: var(--muted); margin-bottom: 16px; }
.video-copy ul { padding-left: 20px; color: #cfcfcf; font-size: 15px; line-height: 2; margin-bottom: 28px; }
.video-copy .actions { margin-top: 4px; }
.video-media { flex: 1; display: flex; align-items: center; justify-content: center; padding: 60px; }
.video-media .media { min-height: 360px; }
.play { position: absolute; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; transition: transform .2s, background .2s; }
.play svg { width: 20px; height: 20px; fill: var(--bg); margin-left: 3px; }
a.media:hover .play { transform: scale(1.08); background: var(--accent-hover); }

/* Work grid */
.work { padding-top: 90px; padding-bottom: 90px; }
.work-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.work-head h2 { font-weight: 700; font-size: 32px; }
.work-head span { font-size: 14px; color: #888; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { position: relative; height: 220px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; display: flex; align-items: flex-end; padding: 14px; color: #999; font-size: 13px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile span { position: relative; z-index: 1; }
.tile.has-img { border: 0; }
.tile.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), transparent 55%); }
.tile.has-img span { color: #fff; z-index: 2; }
.tile.feature { align-items: center; justify-content: center; color: var(--accent); font-size: 14px; font-weight: 600; }

/* Testimonial, clients, CTA */
.quote { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 80px 64px; text-align: center; }
.quote-inner { max-width: 820px; margin: 0 auto; }
.stars { color: var(--accent); font-size: 18px; letter-spacing: 3px; margin-bottom: 20px; }
.quote p { font-size: 20px; line-height: 1.65; color: #e8e8e8; font-style: italic; margin-bottom: 20px; }
.quote cite { font-size: 14px; font-weight: 600; color: #999; font-style: normal; }
/* Google reviews carousel: every slide sits in the same grid cell, so the box is as tall as the longest one and nothing jumps */
.reviews .rating { display: inline-block; font-size: 14px; color: #bbb; margin-bottom: 28px; }
.reviews .rating .stars { display: inline; font-size: 15px; margin: 0; }
.reviews .rating strong { color: #fff; }
.reviews .rating:hover { color: var(--accent); }
.rev-stage { display: grid; }
.rev { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.rev.is-active { opacity: 1; visibility: visible; }
.rev blockquote { margin: 0; }
.rev .stars { margin-bottom: 16px; }
.rev-more { background: none; border: 0; color: var(--accent); font-size: 14px; font-weight: 600; cursor: pointer; padding: 4px 8px; margin: -8px 0 16px; }
.rev-more:hover { text-decoration: underline; }
.rev figcaption { font-size: 14px; font-weight: 600; color: #ccc; }
.rev figcaption span { color: #888; font-weight: 400; }
.rev-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 26px 0 30px; }
.rev-prev, .rev-next { background: none; border: 1px solid var(--line); color: #ddd; width: 36px; height: 36px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; }
.rev-prev:hover, .rev-next:hover { border-color: var(--accent); color: var(--accent); }
.rev-dots { display: flex; gap: 8px; }
.rev-dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: #555; cursor: pointer; }
.rev-dot.is-active { background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .rev { transition: none; } .btn:hover, .btn:focus-visible, .sticky-pill:hover, .brand:hover { transform: none; } }
.clients { padding: 80px 64px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.clients .label { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: #888; }
/* client logos: a white strip that scrolls on its own, like the old site (logos keep their own colors) */
.clients { padding-left: 0 !important; padding-right: 0 !important; padding-top: 36px !important; padding-bottom: 40px !important; gap: 22px; background: #fff; }
.clients .label { color: #6b6b6b; }
.logo-marquee { width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-track { display: flex; width: max-content; animation: logo-scroll calc(var(--n) * 3.2s) linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-row { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.logo-row img { display: block; flex: none; }
@keyframes logo-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; width: auto; }
  .logo-row { flex-wrap: wrap; justify-content: center; gap: 28px 48px; padding: 0 20px; }
  .logo-row[aria-hidden] { display: none; }
}
.cta { background: var(--accent); text-align: center; padding: 100px 64px; }
.cta-inner { max-width: 700px; margin: 0 auto; }
.cta h2 { font-weight: 800; font-size: 38px; margin-bottom: 18px; color: var(--bg); line-height: 1.2; }
.cta p { font-size: 17px; color: #2b2408; margin-bottom: 32px; }
.cta .btn { background: var(--bg); color: var(--text); font-size: 16px; padding: 18px 34px; }
.cta .btn:hover { background: #000; }

/* Inner page hero */
.page-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 80px; background: linear-gradient(135deg, #17130a 0%, var(--bg) 60%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-weight: 800; font-size: 48px; line-height: 1.1; margin: 14px 0 18px; }
.page-hero h1 .loc { display: block; color: var(--accent); font-size: 22px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.page-hero .tagline { font-size: 19px; line-height: 1.6; color: var(--muted); margin-bottom: 24px; }
.checks { list-style: none; margin-bottom: 32px; }
.checks li { position: relative; padding: 6px 0 6px 28px; color: #dcdcdc; font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.page-hero .media { min-height: 420px; }

/* Body sections */
.block { padding-top: 72px; padding-bottom: 72px; }
.block.tight { padding-top: 44px; padding-bottom: 32px; }
.block + .block { border-top: 1px solid var(--line); }
.block.alt { background: var(--panel); }
.block h2 { font-weight: 700; font-size: 32px; line-height: 1.25; margin-bottom: 14px; }
.block h3 { font-weight: 600; font-size: 22px; line-height: 1.3; margin-bottom: 16px; color: var(--accent); }
.block p { font-size: 17px; line-height: 1.75; color: var(--muted); margin-bottom: 18px; }
.block .actions { margin-top: 26px; }
.block .subtitle { font-size: 18px; color: var(--text); margin-bottom: 18px; }
.lead-block { text-align: center; }
.lead-block .actions { justify-content: center; }
.list-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 40px; list-style: none; margin-top: 20px; }
.list-cols li { padding: 12px 0 12px 28px; position: relative; border-bottom: 1px solid var(--line-2); color: #dcdcdc; }
.list-cols li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 10px; height: 10px; background: var(--accent); border-radius: 50%; }
.embed { display: block; position: relative; aspect-ratio: 16 / 9; width: 100%; margin: 28px 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.embed.slot { display: flex; align-items: center; justify-content: center; color: #555; font-size: 15px; text-align: center; padding: 24px; background: var(--panel-2); }
.banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 8px; padding: 26px 32px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; }
.banner strong { font-family: 'Poppins', sans-serif; font-size: 20px; }
.banner span { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }

/* About / connect */
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.about-grid .media { aspect-ratio: 4 / 5; height: auto; min-height: 0; align-self: start; }
.contact-list { list-style: none; margin: 8px 0 28px; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 17px; }
.contact-list small { display: block; font-size: 12px; letter-spacing: 2px; color: var(--accent); font-weight: 700; margin-bottom: 4px; text-transform: uppercase; }
.contact-list a:hover { color: var(--accent); }

/* Blog */
.posts { display: grid; gap: 24px; }
.post-card { display: block; padding: 32px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; transition: border-color .2s; }
.post-card:hover { border-color: var(--accent); }
.post-card h2 { font-size: 26px; margin: 8px 0 12px; }
.post-card p { color: #a9a9a9; font-size: 16px; line-height: 1.65; margin-bottom: 14px; }
.meta { font-size: 13px; color: #888; }
.meta b { color: var(--accent); letter-spacing: 1.5px; font-weight: 700; text-transform: uppercase; }
.article h1 { font-weight: 800; font-size: 42px; line-height: 1.15; margin: 14px 0 12px; }
.article h2 { font-size: 26px; margin: 40px 0 12px; }
.article p { font-size: 18px; line-height: 1.8; color: #cfcfcf; margin-bottom: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tags span { border: 1px solid var(--line-2); border-radius: 100px; padding: 6px 14px; font-size: 13px; color: #999; }
.bio { margin-top: 48px; padding: 32px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; }
.bio p { font-size: 16px; margin-bottom: 20px; }
.bio strong { font-family: 'Poppins', sans-serif; display: block; font-size: 18px; margin-bottom: 4px; }
.crumbs { font-size: 14px; color: #888; padding-top: 40px; }
.crumbs a:hover { color: var(--accent); }

/* Footer */
footer.site { padding: 40px 64px 36px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
footer .foot-tag { color: var(--accent); font-size: 14px; font-weight: 600; }
footer .foot-contact { margin: 10px 0 4px; font-size: 14px; color: #999; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
footer .foot-contact a:hover { color: var(--accent); }
footer small { font-size: 12px; color: #666; }
@media (max-width: 640px) { footer .foot-contact { flex-direction: column; gap: 0; } footer .foot-contact span { display: none; } }
footer .name { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 18px; }
footer address { font-style: normal; font-size: 14px; color: #888; margin-top: 12px; line-height: 1.8; }
footer address a:hover { color: var(--accent); }
.foot-links { display: flex; gap: 12px 32px; flex-wrap: wrap; font-size: 14px; color: #999; max-width: 560px; }
.foot-links a:hover, .social a:hover { color: var(--accent); }
.social { display: flex; gap: 16px; font-size: 13px; color: #888; }

/* Laptop */
@media (max-width: 1180px) {
  nav.main { gap: 20px; font-size: 14px; }
  .head-right { gap: 14px; }
}
/* Tablet */
@media (max-width: 1024px) {
  .wrap, .video-copy, .quote, .clients, .cta, footer.site { padding-left: 32px; padding-right: 32px; }
  header.site { flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
  .menu-toggle { display: block; margin-left: auto; }
  nav.main, .head-right { display: none; }
  header.open .mobile-only { display: block; }
  header.site.open { max-height: 100vh; max-height: 100dvh; overflow-y: auto; }
  header.open nav.main { display: flex; flex-direction: column; align-items: flex-start; gap: 0; width: 100%; order: 3; padding-top: 12px; }
  header.open nav.main a, header.open nav.main .has-sub > button { padding: 12px 0; width: 100%; text-align: left; border-top: 1px solid var(--line); }
  header.open .has-sub { width: 100%; }
  header.open .has-sub > button::after { content: ""; }
  header.open .sub { display: block; position: static; margin: 0 0 8px; padding: 0 0 0 16px; border: 0; background: none; min-width: 0; }
  header.open .sub::before { display: none; }
  header.open .sub a { border-top: 0; padding: 8px 0; color: #999; }
  .hero-media { opacity: .35; width: 480px; }
  .page-hero { grid-template-columns: 1fr; gap: 36px; }
  .page-hero .media { min-height: 300px; order: -1; }
  .video { flex-direction: column; }
  .video-media { padding: 0 32px 60px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid .media { aspect-ratio: 4 / 5; height: auto; min-height: 0; max-width: 300px; width: 100%; align-self: start; }
}
/* Mobile */
@media (max-width: 640px) {
  .wrap, .video-copy, .quote, .clients, .cta, footer.site { padding-left: 20px; padding-right: 20px; }
  .hero { min-height: 0; }
  .hero h1 { font-size: 36px; }
  .hero .sub-head { font-size: 19px; }
  .hero p.lead { font-size: 17px; }
  .hero-media { display: none; }
  .page-hero { padding-top: 48px; padding-bottom: 48px; }
  .page-hero h1 { font-size: 34px; }
  .page-hero h1 .loc { font-size: 17px; }
  .services, .work { padding-top: 60px; padding-bottom: 60px; }
  .section-head h2 { font-size: 28px; }
  .cards, .grid, .list-cols { grid-template-columns: 1fr; }
  .video-copy { padding-top: 60px; padding-bottom: 40px; }
  .video-copy h2 { font-size: 28px; }
  .video-media { padding: 0 20px 48px; }
  .quote, .clients, .cta { padding-top: 60px; padding-bottom: 60px; }
  .quote p { font-size: 18px; }
  .cta h2 { font-size: 28px; }
  .block { padding-top: 48px; padding-bottom: 48px; }
  .block.tight { padding-top: 32px; padding-bottom: 24px; }
  .block h2 { font-size: 26px; }
  .article h1 { font-size: 30px; }
  .banner { padding: 22px; }
}

/* Galleries */
.gallery { padding: 72px 0; border-top: 1px solid var(--line); }
.g-head { margin-bottom: 28px; }
.g-head h2 { font-weight: 700; font-size: 32px; margin-top: 10px; line-height: 1.25; }
.g-intro { color: var(--muted); margin-top: 10px; max-width: 640px; }
.g-wrap { position: relative; }
.g-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 64px 16px; scrollbar-width: thin; scrollbar-color: #444 transparent; scroll-padding-left: 64px; -webkit-overflow-scrolling: touch; }
.g-track:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.g-item { flex: 0 0 auto; height: 380px; padding: 0; border: 0; background: var(--panel-2); border-radius: 6px; overflow: hidden; cursor: zoom-in; scroll-snap-align: start; }
.g-item img { height: 100%; width: auto; display: block; transition: transform .35s ease, opacity .2s; }
.g-item:hover img { transform: scale(1.03); }
.g-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.g-item { position: relative; }
.g-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.45); pointer-events: none; }
.g-play svg { width: 18px; height: 18px; fill: var(--bg); margin-left: 2px; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(14,14,14,.85); color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding-bottom: 4px; transition: background .2s, color .2s; }
.g-nav:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.g-prev { left: 16px; }
.g-next { right: 16px; }
.g-nav[disabled] { opacity: .25; pointer-events: none; }
.bg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0 8px; }
.bg-grid figure { margin: 0; }
.bg-grid img { width: 100%; height: auto; border-radius: 6px; display: block; }
.bg-grid figcaption { font-size: 13px; color: #999; text-align: center; margin-top: 8px; letter-spacing: 1px; text-transform: uppercase; }

/* Lightbox */
dialog.lb { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; color: var(--text); }
dialog.lb::backdrop { background: rgba(0,0,0,.92); }
.lb-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.lb-inner img, .lb-inner video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lb-btn { position: absolute; background: rgba(30,30,30,.9); border: 1px solid var(--line-2); color: var(--text); border-radius: 50%; width: 48px; height: 48px; font-size: 26px; cursor: pointer; display: flex; align-items: center; justify-content: center; padding-bottom: 4px; }
.lb-btn:hover { background: var(--accent); color: var(--bg); }
.lb-close { top: 16px; right: 16px; font-size: 22px; padding-bottom: 0; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 13px; color: #999; }

@media (max-width: 1024px) { .g-track { padding-left: 32px; padding-right: 32px; scroll-padding-left: 32px; } }
@media (max-width: 640px) {
  .gallery { padding: 48px 0; }
  .g-head h2 { font-size: 26px; }
  .g-track { padding-left: 20px; padding-right: 20px; scroll-padding-left: 20px; }
  .g-item { height: 280px; }
  .g-nav { display: none; }
  .bg-grid { grid-template-columns: repeat(2, 1fr); }
  .lb-inner { padding: 64px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
  .lb-prev { left: 12px; } .lb-next { right: 12px; }
}

/* Headshot page layout (matches the live site's order) */
.page-hero.portrait-hero { grid-template-columns: 1fr 1fr; }
.page-hero .media.portrait { height: auto; min-height: 0; aspect-ratio: 4 / 5; width: min(100%, 520px); max-height: 640px; justify-self: end; }
.block .wide, .wide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.lead-block { text-align: center; }
.lead-block .narrow { margin-left: auto; margin-right: auto; }
.lead-block h2 { text-align: center; }
.block.lead-block .actions, .lead-block .actions { justify-content: center; }
.type-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin: 28px 0 22px; }
.type-buttons .btn { font-size: 14px; padding: 13px 22px; }
.fine { font-size: 14px !important; color: #8d8d8d !important; margin: 14px 0 0 !important; line-height: 1.5 !important; }
.fine a { color: var(--accent); }
.fine a:hover { text-decoration: underline; }
.after-gallery { padding: 34px 0 72px; }
.block.lead-block .video-wrap, .lead-block .embed { margin-left: auto; margin-right: auto; }
.lead-block h3 { margin-top: 28px; }
.lead-block .bg-grid { margin: 34px 0 34px; }
#team-event-headshots { padding-bottom: 28px; }
#team-event-headshots + .gallery { border-top: 0; padding-top: 0; }
.gallery--grid2 { padding: 40px 0 0; border-top: 0; }
.gallery--grid2 .g-track { display: grid; grid-template-rows: repeat(2, 300px); grid-auto-flow: column; grid-auto-columns: 300px; gap: 6px; padding: 0 0 12px; scroll-padding-left: 0; scroll-snap-type: x proximity; }
.gallery--grid2 .g-item { height: 100%; width: 100%; border-radius: 0; }
.gallery--grid2 .g-item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.gallery--grid2 .g-prev { left: 12px; } .gallery--grid2 .g-next { right: 12px; }
.gallery--collage { padding: 0 0 8px; }
.gallery--collage .g-track { gap: 8px; padding: 0 0 14px; scroll-padding-left: 0; }
.gallery--collage .g-item { height: auto; flex: 0 0 calc((100% - 16px) / 3); border-radius: 0; }
.gallery--collage .g-item img { width: 100%; height: auto; }
.sticky-pill { position: fixed; right: 20px; bottom: 20px; z-index: 40; background: var(--accent); color: var(--bg); font-weight: 700; font-size: 14px; padding: 13px 20px; border-radius: 100px; box-shadow: 0 6px 24px rgba(0,0,0,.5); transition: background .2s, transform .2s; }
.sticky-pill:hover { background: var(--accent-hover); transform: scale(1.04); }
@media (max-width: 1024px) {
  .page-hero.portrait-hero { grid-template-columns: 1fr; }
  .page-hero .media.portrait { justify-self: start; max-width: 420px; order: -1; }
  .gallery--collage .g-item { flex-basis: calc((100% - 8px) / 2); }
  .gallery--grid2 .g-track { grid-template-rows: repeat(2, 240px); grid-auto-columns: 240px; }
}
@media (max-width: 640px) {
  .gallery--grid2 .g-track { grid-template-rows: repeat(2, 190px); grid-auto-columns: 190px; }
  .gallery--collage .g-item { flex-basis: 82%; }
  .type-buttons .btn { width: 100%; text-align: center; }
  .sticky-pill { right: 12px; bottom: 12px; font-size: 13px; padding: 11px 16px; }
}

/* Staggered, endless galleries: each photo keeps its natural shape.
   Vertical photo = its own full-height column; horizontal photos = stacked two to a column. */
.gallery--stagger { --H: 620px; --gap: 3px; padding: 44px 0 0; border-top: 0; }
.gallery--stagger .g-head { margin-bottom: 24px; }
.gallery--stagger .g-track { display: block; padding: 0; overflow-x: auto; scroll-snap-type: none; scroll-behavior: auto; scrollbar-width: none; cursor: grab; }
.gallery--stagger .g-track::-webkit-scrollbar { display: none; }
.gallery--stagger .g-track.dragging { cursor: grabbing; user-select: none; }
.gallery--stagger .g-track.dragging .g-item { pointer-events: none; }
.g-rows { display: flex; width: max-content; }
.g-col { flex: 0 0 auto; width: calc(var(--H) * var(--cr)); height: var(--H); display: flex; flex-direction: column; gap: var(--gap); margin-right: var(--gap); }
.gallery--stagger .g-item { display: block; flex: var(--f, 1) 1 0; min-height: 0; width: 100%; height: auto; padding: 0; border: 0; border-radius: 0; background: var(--panel-2); scroll-snap-align: none; overflow: hidden; }
.gallery--stagger .g-item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.gallery--stagger .g-item:hover img { transform: scale(1.03); }
.gallery--stagger .g-nav[disabled] { opacity: 1; pointer-events: auto; }
.after-gallery { padding-top: 30px; }

/* Endless video strip: same looping as the stagger galleries. Spacing is a margin on every tile (not flex gap)
   so each copy of the strip is exactly the same width and the wrap-around is seamless. */
.gallery--loop .g-track { display: block; padding: 4px 0 16px; scroll-snap-type: none; scroll-behavior: auto; scrollbar-width: none; cursor: grab; }
.gallery--loop .g-track::-webkit-scrollbar { display: none; }
.gallery--loop .g-track.dragging { cursor: grabbing; user-select: none; }
.gallery--loop .g-track.dragging .g-item { pointer-events: none; }
.gallery--loop .g-item { margin-right: 12px; scroll-snap-align: none; }
.gallery--loop .g-nav[disabled] { opacity: 1; pointer-events: auto; }
@media (max-width: 1024px) { .gallery--stagger { --H: 500px; } }
@media (max-width: 640px) { .gallery--stagger { --H: 380px; padding-top: 32px; } .gallery--stagger .g-nav { display: none; } }

/* clearer arrows, and keep sideways swipes from triggering browser back/forward */
.g-track { overscroll-behavior-x: contain; }
.g-nav { width: 52px; height: 52px; font-size: 30px; background: rgba(14,14,14,.92); border: 1px solid rgba(244,242,236,.35); box-shadow: 0 4px 16px rgba(0,0,0,.45); }
.g-pause { display: none; }

/* Team & Event Headshots: all collages visible at once (3 across, 2 on phones) */
.gallery--grid { padding: 0 0 8px; border-top: 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.team-grid .g-item { display: block; flex: none; width: 100%; height: auto; padding: 0; border: 0; border-radius: 0; background: var(--panel-2); aspect-ratio: 1; overflow: hidden; cursor: zoom-in; }
.team-grid .g-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-grid .g-item:hover img { transform: scale(1.02); }
@media (max-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; } }

/* Phone / touch comfort: finger-sized tap targets, shorter floating button */
.pill-short { display: none; }
@media (max-width: 1024px) {
  .brand { min-height: 48px; justify-content: center; }
  footer.site a, .foot-links a, .social a, footer address a { display: inline-block; padding: 12px 6px; }
  .foot-links { gap: 0 14px; }
  footer address { line-height: 1.2; }
  footer.site address a { display: block; padding: 14px 0; }
  .foot-links, .social { margin-left: -6px; }
  .social { gap: 10px; }
  .contact-list a { display: inline-block; padding: 10px 0; }
  .fine a { display: inline-block; padding: 10px 4px; }
  .crumbs a { display: inline-block; padding: 12px 0; }
  .menu-toggle { min-height: 44px; }
  .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 640px) {
  .eyebrow { font-size: 14px; }
  .sticky-pill .pill-long { display: none; }
  .sticky-pill .pill-short { display: inline; }
  .sticky-pill { padding: 12px 18px; }
  footer.site { padding-bottom: 96px; }               /* room so the floating button never hides the last links */
  .foot-links a { padding: 13px 4px; }
}

/* Phones: show photos on the homepage (hero photo at the top, a photo on each service card) */
@media (max-width: 640px) {
  .hero { display: block; padding-top: 0; padding-bottom: 44px; }
  .hero-media { position: relative; right: auto; top: auto; width: auto; height: auto; margin: 0 -20px; aspect-ratio: 1 / 1; max-height: 62vh; border-radius: 0; display: block; }
  .hero-media .media { height: 100%; min-height: 0; border-radius: 0; border: 0; }
  .hero-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(to top, var(--bg), rgba(14,14,14,0)); pointer-events: none; }
  .hero-copy { padding: 0; margin-top: -64px; }
  .card-photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel-2); }
  .card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .card-body { padding: 24px 22px 26px; }
  .card .tag-new { top: 14px; right: 14px; z-index: 2; }
}

/* Video page: "What we cover" offerings grid */
.offers { padding-top: 20px; padding-bottom: 76px; }
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
.offer-tile { border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; background: var(--panel); }
.offer-photo { aspect-ratio: 4 / 3; background: var(--panel-2); overflow: hidden; }
.offer-photo .media { border: 0; border-radius: 0; }
.offer-body { padding: 20px 22px 24px; }
.offer-body h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.3; }
.offer-body p { font-size: 14px; line-height: 1.6; color: #a9a9a9; margin: 0; }
@media (max-width: 640px) {
  .offers { padding-bottom: 56px; }
  .offer-grid { grid-template-columns: 1fr; gap: 16px; }
  .offer-body { padding: 18px 20px 20px; }
}

/* Facade video embed: our own thumbnail + play button; the real player loads only on click */
.embed--facade { cursor: pointer; }
.embed--facade .media { width: 100%; height: 100%; border: 0; border-radius: 0; }
.embed--facade .play-lg { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; box-shadow: 0 6px 24px rgba(0,0,0,.5); transition: background .2s, transform .2s; }
.embed--facade .play-lg svg { width: 26px; height: 26px; }
.embed--facade:hover .play-lg { background: var(--accent-hover); transform: translate(-50%, -50%) scale(1.06); }
.embed--facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Video testimonial caption */
.video-caption { margin-top: 16px; font-size: 14px; font-weight: 600; color: #999; }

/* Centered play button over self-hosted (R2) videos, shown until playback starts */
.r2-video-wrap .play-lg { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border: 0; cursor: pointer; box-shadow: 0 6px 24px rgba(0,0,0,.5); transition: background .2s, transform .2s, opacity .2s; z-index: 2; }
.r2-video-wrap .play-lg svg { width: 26px; height: 26px; }
.r2-video-wrap .play-lg:hover { background: var(--accent-hover); transform: translate(-50%, -50%) scale(1.06); }
.r2-video-wrap.is-playing .play-lg { opacity: 0; pointer-events: none; }

/* Service quiz (/get-started) */
.quiz { max-width: 720px; margin: 0 auto; scroll-margin-top: 24px; }
.quiz-progress { height: 4px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; background: var(--accent); transition: width .3s; }
.quiz-count { font-size: 13px; color: var(--muted); margin: 10px 0 28px; }
.quiz h2 { font-weight: 700; font-size: 32px; line-height: 1.2; margin-bottom: 8px; outline: none; }
.quiz-hint { color: var(--muted); font-size: 16px; margin-bottom: 24px; }
.quiz-step h2 + .quiz-options, .quiz-step h2 + .quiz-fields { margin-top: 24px; }
.quiz-options { display: grid; gap: 12px; }
.quiz-option { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: var(--panel); border: 1px solid var(--line-2); border-radius: 6px; color: var(--text); font: inherit; font-size: 17px; padding: 18px 20px; cursor: pointer; transition: border-color .15s, background .15s; }
.quiz-option::before { content: ""; flex: none; width: 20px; height: 20px; border: 2px solid var(--line-2); border-radius: 4px; transition: background .15s, border-color .15s; }
.quiz-option:hover { border-color: var(--accent); }
.quiz-option[aria-pressed="true"] { border-color: var(--accent); background: var(--panel-2); }
.quiz-option[aria-pressed="true"]::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px var(--panel-2); }
.quiz-options[role="radiogroup"] .quiz-option::before { border-radius: 50%; }
.quiz-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; }
.quiz-nav .btn-primary { margin-left: auto; border: 0; font-family: inherit; }
.quiz-nav .btn-outline, .quiz button.btn-outline { background: none; font-family: inherit; }   /* iPhones give <button> a white fill otherwise */
/* every hover in the quiz looks the same: the border turns yellow, the text stays as it is */
.quiz .btn-outline:hover, .quiz .btn-outline:focus-visible { background: none; border-color: var(--accent); color: var(--text); }
.quiz-fields input:hover, .quiz-fields textarea:hover { border-color: var(--accent); }
.quiz-nav .btn[disabled] { opacity: .4; cursor: not-allowed; }
.quiz-nav .btn[hidden] { display: none; }
.quiz-error { color: #ff8a7a; font-size: 15px; margin-top: 16px; min-height: 1px; }
.quiz-error a { text-decoration: underline; }
.quiz-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quiz-fields label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.quiz-fields .quiz-wide { grid-column: 1 / -1; }
.quiz-fields input, .quiz-fields textarea { background: var(--panel); border: 1px solid var(--line-2); border-radius: 4px; color: var(--text); font: inherit; font-size: 16px; padding: 14px; }
.quiz-fields input:focus, .quiz-fields textarea:focus, .quiz-option:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.quiz-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quiz-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 28px 0 32px; }
.quiz-card { display: block; background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; padding: 24px; transition: border-color .15s; }
.quiz-card:hover { border-color: var(--accent); }
.quiz-card small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.quiz-card .said { color: var(--text); font-style: italic; margin-bottom: 18px; }
.quiz-card h3 { color: var(--accent); font-size: 20px; margin-bottom: 8px; }
.quiz-card p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.quiz-card .more { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 600; font-size: 14px; }
@media (max-width: 640px) {
  .quiz h2 { font-size: 26px; }
  .quiz-fields { grid-template-columns: 1fr; }
  .quiz-option { font-size: 16px; padding: 16px; }
}

/* Quiz pop-up (home page) */
.quiz-pop { width: min(760px, calc(100% - 32px)); max-height: calc(100% - 48px); margin: auto; padding: 40px 48px 44px; background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: 10px; overflow-y: auto; overscroll-behavior: contain; }
.quiz-pop::backdrop { background: rgba(0, 0, 0, .72); }
.quiz-pop[open] { animation: quiz-pop-in .25s ease-out; }
@keyframes quiz-pop-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .quiz-pop[open] { animation: none; } }
.quiz-pop > .eyebrow { margin: 0 40px 20px 0; font-size: 12px; }
.quiz-pop-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--panel-2); color: var(--text); font-size: 16px; cursor: pointer; }
.quiz-pop-close:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.quiz-pop .quiz-cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (max-width: 640px) {
  .quiz-pop { width: 100%; max-width: none; height: 100%; max-height: none; border: 0; border-radius: 0; padding: 24px 16px 32px; }
}
button.sticky-pill { border: 0; font-family: inherit; cursor: pointer; }
.sticky-pill[hidden] { display: none; }

/* Packet viewer (/acting-headshot-packet): left-to-right pages between the site header and footer */
.pv { position: relative; padding: 28px 0 18px; }
.pv-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; outline: none; }
.pv-track::-webkit-scrollbar { display: none; }
.pv-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; justify-content: center; padding: 0 64px; }
.pv-page { position: relative; aspect-ratio: 16 / 9; width: min(100%, 1240px, calc((100vh - 220px) * 16 / 9)); box-shadow: 0 10px 40px rgba(0,0,0,.5); background: #000; }
.pv-page > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pv-page .embed { margin: 0; height: 100%; border: 0; border-radius: 0; }
/* keep the video on its own layer so it keeps drawing after sliding off-screen and back (Safari/Chrome glitch) */
.pv-slide { transform: translateZ(0); }
.pv-page video { transform: translateZ(0); backface-visibility: hidden; }
.pv-page .r2-play-btn { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; box-shadow: 0 6px 24px rgba(0,0,0,.5); }
.pv-page .r2-play-btn svg { width: 30px; height: 30px; }
.pv-link { position: absolute; display: block; }
.pv-link:hover { outline: 2px solid var(--accent); outline-offset: 2px; }
.pv-bar { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; position: relative; }
.pv-bar button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--text); font-size: 22px; cursor: pointer; }
.pv-bar button:hover { border-color: var(--accent); color: var(--accent); }
.pv-bar button:disabled { opacity: .3; cursor: default; }
.pv-count { min-width: 70px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.pv-dl { position: absolute; right: 64px; border: 1px solid var(--line-2); border-radius: 6px; padding: 8px 14px; font-size: 14px; font-weight: 600; }
.pv-dl:hover { border-color: var(--accent); color: var(--accent); }
.pv-prog { height: 3px; background: var(--accent); width: 0; margin-top: 18px; transition: width .25s; }
@media (max-width: 700px) { .pv-slide { padding: 0 10px; } .pv-dl { position: static; } .pv-bar { flex-wrap: wrap; } }
.pv-vlabel { position: absolute; top: 0; left: 0; right: 0; padding: 22px 28px 60px; background: linear-gradient(rgba(0,0,0,.72), transparent); display: flex; flex-direction: column; gap: 4px; pointer-events: none; transition: opacity .3s; z-index: 2; }
.pv-vlabel .eyebrow { margin: 0; }
.pv-vlabel strong { font-size: clamp(18px, 2.4vw, 30px); font-weight: 800; color: #fff; }
.pv-vlabel span:last-child { font-size: 14px; color: #ddd; }
.pv-page.is-playing .pv-vlabel { opacity: 0; }
.pv-page video::-webkit-media-controls-fullscreen-button { display: none; }   /* Safari ignores controlsList */

/* Packet cover cards (packets hub + quiz results) */
.pk-intro { color: var(--muted); margin-top: 10px; }
.pk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 36px; }
.pk-card { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-2); background: #111; transition: border-color .2s, transform .2s; }
.pk-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.pk-bg, .pk-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pk-bg img { object-fit: cover; transition: transform .4s; }
.pk-card:hover .pk-bg img { transform: scale(1.04); }
.pk-bg::after { content: ""; position: absolute; inset: 0; background: rgba(10,10,12,.58); }
.pk-txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.pk-txt h3 { font-family: 'Open Sans', 'Poppins', sans-serif; font-weight: 800; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.pk-txt span { margin-top: 6px; font-weight: 800; font-size: clamp(16px, 1.5vw, 20px); color: #fff; opacity: .92; }

/* Blog photos */
.post-card { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.post-thumb { aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: #111; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
.post-photo { margin: 8px 0 28px; }
.post-photo img { display: block; width: auto; max-width: 100%; max-height: 720px; height: auto; margin: 0 auto; border-radius: 8px; }
.post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 8px 0 28px; }
.post-grid--3 { grid-template-columns: repeat(3, 1fr); }
.post-grid img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: center top; border-radius: 6px; }
@media (max-width: 640px) { .post-grid, .post-grid--3 { grid-template-columns: repeat(2, 1fr); } }
.bio-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.bio-photo { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.bio-head strong { margin-bottom: 0; }
@media (max-width: 640px) {
  .post-card { grid-template-columns: 1fr; gap: 18px; }
  .post-thumb { aspect-ratio: 16 / 10; }
}

/* Bloom form pop-up (site.js) */
dialog.form-lb { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: none; max-height: none; overflow: visible; }
dialog.form-lb::backdrop { background: rgba(0, 0, 0, .82); }
.form-lb-box { position: relative; width: min(780px, calc(100vw - 48px)); height: calc(100vh - 64px); margin: 32px auto; background: #19191b; border: 1px solid var(--line-2); border-radius: 10px; }
.form-lb-box iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.form-lb-close { top: -16px; right: -16px; z-index: 2; }
html.form-lb-open { overflow: hidden; }
@media (max-width: 640px) {
  .form-lb-box { width: 100vw; height: 100vh; height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .form-lb-box iframe { border-radius: 0; }
  .form-lb-close { top: 10px; right: 10px; }
}
.video-small { max-width: 560px; margin: 32px auto 0; }
.bts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1200px; margin: 40px auto 0; }
.bts-photo { margin: 0; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--panel-2); }
.bts-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .bts-grid { grid-template-columns: 1fr; } }
.about-wrap { max-width: 1040px; margin: 0 auto; }
.about-wrap::after { content: ""; display: block; clear: both; }
.about-wrap > .media { float: left; width: 340px; aspect-ratio: 4 / 5; height: auto; min-height: 0; margin: 6px 44px 24px 0; }
@media (max-width: 760px) { .about-wrap > .media { float: none; width: 100%; max-width: 320px; margin: 0 0 28px; } }
.article ul { padding-left: 22px; margin: 0 0 22px; list-style: disc; }
.article li { margin-bottom: 8px; }
.article li::marker { color: var(--accent); }
.article h3 { font-size: 19px; margin: 26px 0 6px; }
.article .post-cta { margin: 4px 0 30px; }

/* Home hero with the portfolio gallery on the right two-thirds */
.hero--gallery, .page-hero--gallery { display: grid; grid-template-columns: minmax(380px, 1fr) 2fr; align-items: center; gap: 48px; min-height: 0; padding: 0; }
.hero--gallery .hero-copy, .page-hero--gallery .hero-copy { padding: 64px 0 64px 64px; max-width: 600px; }
.hero--gallery h1 { font-size: 48px; }
.hero-gallery { min-width: 0; }
.hero-gallery .gallery--stagger { --H: 680px; padding: 0; }
@media (max-width: 1100px) {
  .hero--gallery, .page-hero--gallery { grid-template-columns: 1fr; gap: 0; }
  .hero--gallery .hero-copy, .page-hero--gallery .hero-copy { padding: 56px 32px 40px; max-width: none; }
  .hero-gallery .gallery--stagger { --H: 460px; }
}
@media (max-width: 640px) { .hero--gallery .hero-copy, .page-hero--gallery .hero-copy { padding: 44px 20px 32px; margin-top: 0; } .hero--gallery h1 { font-size: 36px; } .hero-gallery .gallery--stagger { --H: 360px; } }

/* Gallery heroes on phones: title (and the home sub-head), then a short gallery, then the rest of the copy */
@media (max-width: 640px) {
  .hero--gallery, .page-hero--gallery { display: flex; flex-direction: column; align-items: stretch; padding: 0; }
  .hero--gallery .hero-copy, .page-hero--gallery .hero-copy { display: contents; }
  .hero--gallery .hero-copy > *, .page-hero--gallery .hero-copy > * { order: 3; margin-left: 20px; margin-right: 20px; }
  .hero--gallery .hero-copy > h1, .page-hero--gallery .hero-copy > h1 { order: 1; margin-top: 24px; margin-bottom: 12px; font-size: 32px; }
  .hero--gallery .hero-copy > .sub-head { order: 1; margin-bottom: 16px; }
  .hero--gallery .hero-gallery, .page-hero--gallery .hero-gallery { order: 2; margin-bottom: 18px; }
  .hero--gallery .hero-gallery .gallery--stagger, .page-hero--gallery .hero-gallery .gallery--stagger { --H: 160px; }
  .hero--gallery .hero-copy > p.lead, .page-hero--gallery .hero-copy > .tagline { font-size: clamp(11.5px, 3.45vw, 13px); line-height: 1.5; margin-bottom: 16px; }
  .page-hero--gallery .hero-copy > .checks { margin-bottom: 20px; }
  .page-hero--gallery .checks li { font-size: 14px; padding-top: 3px; padding-bottom: 3px; }
  .page-hero--gallery .checks li::before { top: 9px; }
  .hero--gallery .hero-copy > .actions, .page-hero--gallery .hero-copy > .actions { margin-bottom: 40px; }
}

/* Gallery heroes on tablets: same order as phones (title, gallery, then the rest), with a taller gallery */
@media (min-width: 641px) and (max-width: 1100px) {
  .hero--gallery, .page-hero--gallery { display: flex; flex-direction: column; align-items: stretch; padding: 0; }
  .hero--gallery .hero-copy, .page-hero--gallery .hero-copy { display: contents; }
  .hero--gallery .hero-copy > *, .page-hero--gallery .hero-copy > * { order: 3; margin-left: 32px; margin-right: 32px; }
  .hero--gallery .hero-copy > h1, .page-hero--gallery .hero-copy > h1 { order: 1; margin-top: 36px; margin-bottom: 14px; }
  .hero--gallery .hero-copy > .sub-head { order: 1; margin-bottom: 20px; }
  .hero--gallery .hero-gallery, .page-hero--gallery .hero-gallery { order: 2; margin-bottom: 24px; }
  .hero--gallery .hero-gallery .gallery--stagger, .page-hero--gallery .hero-gallery .gallery--stagger { --H: 320px; }
  .hero--gallery .hero-copy > p.lead, .page-hero--gallery .hero-copy > .tagline { margin-bottom: 20px; }
  .page-hero--gallery .hero-copy > .checks { margin-bottom: 24px; }
  .hero--gallery .hero-copy > .actions, .page-hero--gallery .hero-copy > .actions { margin-bottom: 48px; }
}

/* Tighter gap between the hero button and the next section on phones and tablets */
@media (max-width: 640px) {
  .hero--gallery .hero-copy > .actions, .page-hero--gallery .hero-copy > .actions { margin-bottom: 8px; }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .hero--gallery .hero-copy > .actions, .page-hero--gallery .hero-copy > .actions { margin-bottom: 12px; }
  .hero--gallery + .services { padding-top: 40px; }
}

/* Button to "What we do": keep it close (phones; desktop gets a little less too) */
.hero--gallery + .services { padding-top: 56px; }
@media (min-width: 641px) and (max-width: 1100px) { .hero--gallery + .services { padding-top: 40px; } }
@media (max-width: 640px) { .hero--gallery + .services { padding-top: 40px; } }

/* Text a lead (/text) */
.text-lead h1 { font-size: 30px; margin-bottom: 18px; }
.tl-form { display: grid; gap: 12px; margin-bottom: 16px; }
.tl-row { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.tl-row label { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.tl-row input[type=text], .tl-row input:not([type]) { flex: 1 1 200px; }
.text-lead input:not([type=checkbox]):not([type=radio]), .text-lead textarea { width: 100%; background: var(--panel); color: var(--text); border: 1px solid var(--line-2); border-radius: 6px; padding: 12px 14px; font: inherit; font-size: 16px; }
.text-lead textarea { line-height: 1.5; margin-bottom: 16px; resize: vertical; }
.tl-row input:not([type=checkbox]):not([type=radio]) { flex: 1 1 200px; width: auto; }
.text-lead .btn.is-disabled { opacity: .45; pointer-events: none; }
.tl-stop { color: var(--accent); font-weight: 600; }
.text-lead [hidden] { display: none !important; }
.text-lead button.btn-outline { background: none; font-family: inherit; }
.text-lead button.btn-outline:hover { background: var(--accent); color: #111; }

/* Events page: "Need anything else for your event?" (video + headshot booth). Side by side on desktop, stacked on tablet and phone. */
.add-ons > h2 { margin-bottom: 8px; }
.add-on-cols { display: grid; grid-template-columns: 1fr; gap: 56px; max-width: 900px; margin: 32px auto 0; }
.add-on h3 { margin-top: 0; }
.add-on .actions { margin-bottom: 24px; }
@media (min-width: 1100px) {
  .add-on-cols { grid-template-columns: 1fr 1fr; max-width: 1240px; gap: 48px; }
  .add-on-cols { grid-template-rows: repeat(5, auto); row-gap: 0; }
  .add-on { display: grid; grid-template-rows: subgrid; grid-row: span 5; align-content: start; }   /* heading, blurb, buttons, video and caption share rows, so the videos always line up */
  .add-on > p:first-of-type { align-self: start; }
}

/* Floating pills (home quiz, headshot checklist): hidden until the visitor scrolls down a bit (site.js adds .is-shown) */
.sticky-pill { opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s; }
.sticky-pill.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.sticky-pill.is-shown:hover { transform: scale(1.04); }

/* Quiz: "email only, no texts" checkbox */
.quiz-fields .quiz-check { flex-direction: row; align-items: flex-start; gap: 10px; cursor: pointer; line-height: 1.5; }
.quiz-fields .quiz-check input { width: 18px; height: 18px; padding: 0; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
