.cinema-hero { position:relative; isolation:isolate; overflow:hidden; background:#0d1727; color:white; }
.cinema-media { position:absolute; z-index:-2; inset:0; pointer-events:none; }
.cinema-media video { width:100%; height:100%; object-fit:cover; }
.cinema-hero::after { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(100deg,#081020f2 10%,#081020ba 64%,#08102085); }
@keyframes tonix-arrival { from { transform:translateY(8px); } to { transform:translateY(0); } }
@media (prefers-reduced-motion:no-preference) {
  .editorial-arrival { animation:tonix-arrival .45s ease-out; }
}
.editorial-links,.gallery-jump { display:flex; flex-wrap:wrap; gap:.6rem 1rem; margin-top:1rem; font-weight:750; }
.gallery-jump { padding-block:1.5rem .5rem; }
.gallery-jump a { padding:.5rem .8rem; border-radius:2rem; background:#eef5fc; }
.gallery-section { scroll-margin-top:1rem; padding-block:clamp(1.6rem,4vw,3rem); }
.gallery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin-top:1.25rem; }
.gallery-card,.client-project,.team-member { min-width:0; border:1px solid var(--rule); border-radius:1rem; background:#f4f7fb; }
.gallery-card img,.gallery-card video { width:100%; height:auto; aspect-ratio:4/3; object-fit:contain; background:#131c2c; border-radius:.9rem .9rem 0 0; }
.client-project img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; background:#eaf0f8; border-radius:.9rem .9rem 0 0; }
.gallery-card a { display:block; }
.gallery-card figcaption,.client-project h3,.client-project p { padding:.65rem .85rem; }
.service-page .client-project h3 { color:var(--pink); }
.service-page .client-project h3 a { color:inherit; }
.client-project p { padding-top:0; color:var(--muted); }
.gallery-card figcaption { font-weight:700; }
.gallery-dialog { width:min(90vw,900px); max-height:92vh; padding:1rem; border:0; border-radius:1rem; background:#0d1727; color:white; }
.gallery-dialog::backdrop { background:#080d17e8; }
.gallery-dialog form { display:flex; justify-content:flex-end; margin-bottom:.5rem; }
.gallery-dialog img { width:100%; max-height:68vh; object-fit:contain; }
.gallery-dialog p { margin-top:.5rem; }
.editorial-feature { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:clamp(1rem,4vw,3rem); margin-top:1.2rem; }
.editorial-feature img { width:100%; height:auto; max-height:350px; object-fit:contain; border-radius:1rem; background:#eaf0f8; }
.editorial-feature p { margin-block:.6rem 1rem; }
.team-member { padding:1.2rem; }
.team-initial { display:grid; place-items:center; width:3.25rem; aspect-ratio:1; margin-bottom:.75rem; border-radius:50%; background:#153454; color:white; border:2px solid var(--pink); font-weight:800; }
.team-member p { margin-top:.4rem; color:var(--muted); }
@media (max-width:880px) { .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .editorial-feature { grid-template-columns:1fr; } }
@media (max-width:480px) { .gallery-grid,.editorial-feature { grid-template-columns:1fr; } }

.client-mark { display:grid; justify-items:center; gap:.65rem; padding:.75rem; text-align:center; font-weight:750; }
.client-mark img { width:100%; height:125px; padding:.5rem; aspect-ratio:auto; background:white; border-radius:.6rem; }
.client-marks .client-project p { text-align:center; }

.home-hero .hero-grid {
  grid-template-columns:minmax(0,54rem);
  align-content:center;
  min-height:clamp(28rem,52vw,37rem);
  padding-block:clamp(2.75rem,7vw,6rem);
}
.home-hero.cinema-hero::after {
  background:linear-gradient(92deg,#081020f5 0%,#081020dd 36%,#08102072 82%);
}
.home-hero .hero-copy { max-width:54rem; }
.home-hero h1 { font-size:clamp(2rem,4.6vw,4.8rem); text-wrap:balance; }
.home-hero .lede { max-width:62ch; }
.capability-strip { background:#24679f; color:#fff; }
.capability-links { display:flex; flex-wrap:wrap; justify-content:center; gap:0 1.4rem; margin-block:0; padding-block:.25rem; list-style:none; }
.capability-links a { display:inline-flex; align-items:center; min-height:44px; font-weight:750; text-underline-offset:.2em; }
.capability-links a:focus-visible { outline-color:white; }
@keyframes service-links-arrive { from { transform:translateX(-18px); } to { transform:translateX(0); } }
@media (prefers-reduced-motion:no-preference) {
  .capability-links { animation:service-links-arrive .65s ease-out both; }
}
.service-head { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:.85rem 1.5rem; margin-bottom:1.4rem; }
.service-head h2 { font-size:clamp(1.8rem,4vw,3.2rem); }
.service-head a { font-weight:750; text-underline-offset:.2em; }
.visual-services { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(.75rem,2vw,1.35rem); }
.visual-service a { display:block; height:100%; overflow:hidden; background:white; border:1px solid var(--rule); border-radius:1rem; text-decoration:none; box-shadow:0 8px 22px #14233b0b; }
.visual-service a:hover h3,.visual-service a:focus-visible h3 { text-decoration:underline; text-underline-offset:.2em; }
.visual-service img { width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; background:#e7f0f9; }
.visual-service a > div { position:relative; padding:1rem 2.4rem 1rem .9rem; }
.visual-service a span { position:absolute; right:.65rem; top:.8rem; display:grid; place-items:center; width:1.6rem; height:1.6rem; border-radius:50%; background:#fce8f4; font-size:1.05rem; font-weight:800; color:#a41060; }
.visual-service h3 { font-size:clamp(1.05rem,2vw,1.42rem); color:var(--pink); }
.visual-service p { margin-top:.45rem; color:var(--muted); font-size:.9rem; }
.more-services { display:flex; flex-wrap:wrap; gap:.45rem .75rem; margin:1.25rem 0 0; padding:0; list-style:none; }
.more-services a { display:inline-flex; align-items:center; min-height:44px; gap:.45rem; padding:.3rem .7rem; border:1px solid #c6d8ea; border-radius:.45rem; font-weight:700; }
@media (max-width:880px) { .visual-services { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:520px) {
  .home-hero .hero-grid { min-height:0; }
  .home-hero.cinema-hero::after { background:#081020d9; }
  .visual-service a > div { padding:.75rem 1.95rem .8rem .7rem; }
  .visual-service a > div > span { right:.45rem; top:.65rem; width:1.3rem; height:1.3rem; font-size:.9rem; }
  .visual-service a h3 { text-decoration:underline; text-underline-offset:.18em; }
}
@media (max-width:360px) { .visual-services { grid-template-columns:1fr; } }

.page-content .visual-services { margin-top:1.25rem; }
.visual-service img { aspect-ratio:16/9; }
.team-reference { margin:0 0 1rem; }
.team-reference img { display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:contain; border-radius:.65rem; }
.team-reference figcaption { margin-top:.35rem; font-size:.8rem; color:var(--muted); }

.gallery-card[id] { scroll-margin-top:1rem; }
.gallery-card[id]:target { outline:3px solid var(--blue); outline-offset:3px; }
.gallery-card figcaption p { margin:.4rem 0; font-weight:400; color:var(--muted); }
.gallery-card figcaption a { display:inline-flex; padding-block:.35rem; }
.evidence-card { border-top:3px solid var(--blue); }
.evidence-card:nth-child(2n) { border-top-color:var(--pink); }

.home-hero .hero-grid { grid-template-columns:minmax(0, 1.55fr) minmax(0, 1fr); gap:clamp(1.25rem,4vw,4rem); }
.home-hero.cinema-hero::after { background:linear-gradient(90deg,#081020f5 0%,#081020e6 43%,#08102060 100%); }
.hero-project { position:relative; align-self:center; display:block; overflow:hidden; border:1px solid #ff9bd370; border-radius:1rem; background:#111b30; color:#fff; text-decoration:none; box-shadow:0 20px 42px #080c18a0; }
.hero-project img { width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; }
.hero-project > span { display:grid; gap:.3rem; padding:.9rem 1rem; border-top:3px solid var(--pink); }
.hero-project small { color:#b8ddff; }
.hero-project strong { font-size:clamp(1.05rem,2vw,1.5rem); }
.hero-project:hover strong { text-decoration:underline; }
@media (max-width:900px) {
  .home-hero .hero-grid { grid-template-columns:minmax(0,1fr); }
  .hero-project { max-width:580px; }
  .hero-project img { aspect-ratio:2/1; }
  .home-hero.cinema-hero::after { background:#081020dd; }
}

.featured-gallery .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.featured-gallery .gallery-card { border-top:4px solid var(--pink); }
.featured-gallery .gallery-card + .gallery-card { border-top-color:var(--blue); }
.evidence-project-link { display:grid; gap:.6rem; }
.evidence-project-link img { border-radius:.55rem; }
.watch-page { max-width:1100px; }
.watch-page h1 { font-size:clamp(2rem,5vw,4rem); margin-block:1rem; text-wrap:balance; }
.watch-page video { width:100%; height:min(62svh,640px); object-fit:contain; background:#101724; border-radius:.8rem; }
.watch-page > p { margin-top:1rem; }
@media(max-width:580px) { .featured-gallery .gallery-grid { grid-template-columns:1fr; } }


.visual-service:nth-child(even) a span { background:#e8f3ff; color:#205889; }
.gallery-card { overflow:hidden; }
.gallery-jump a { display:inline-flex; align-items:center; min-height:44px; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .visual-service a, .hero-project { transition:transform .18s ease, box-shadow .18s ease; }
  .visual-service a:hover, .hero-project:hover { transform:translateY(-3px); box-shadow:0 12px 30px #14233b24; }
}
