/* Kutch Security Service – palette taken from the KSS shield logo */
:root {
    --ink: #2b2a29;
    --ink-2: #1c1b1a;
    --red: #e31e24;
    --red-dark: #b9151a;
    --paper: #ffffff;
    --mist: #f4f3f1;
    --line: #e4e2df;
    --text: #3a3937;
    --muted: #7a7774;
    --radius: 6px;
    --shadow: 0 10px 30px rgba(28, 27, 26, .10);
    --head: "Barlow Condensed", "Arial Narrow", sans-serif;
    --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: .01em; text-transform: uppercase; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: .06em; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--red); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* Top bar */
.topbar { background: var(--ink-2); color: #cfcdca; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar-right { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a:hover { color: #fff; }
.topbar .icon { color: var(--red); margin-right: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--head); font-size: 1.35rem; letter-spacing: .08em; color: var(--ink); line-height: 1.05; font-weight: 500; }
.brand strong { font-weight: 700; color: var(--red); }
.brand small { display: block; font-family: var(--body); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; font-weight: 500; }
.brand-light { color: #fff; }
.brand-light small { color: #a8a5a1; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { padding: 10px 14px; font-weight: 500; font-size: .92rem; color: var(--ink); border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a.active { color: var(--red); border-bottom-color: var(--red); }
.nav .btn { margin-left: 10px; }
.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(--ink); margin: 6px 0; transition: .25s; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: .2s; font-family: var(--body); }
.btn-sm { padding: 9px 20px; font-size: .88rem; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--red); }

/* Hero */
.hero { position: relative; background: var(--ink-2) url('/img/gallery/parade-lawn.jpg') center/cover; color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(28, 27, 26, .96) 8%, rgba(28, 27, 26, .78) 48%, rgba(28, 27, 26, .35)); }
.hero .wrap { position: relative; padding: clamp(70px, 11vw, 140px) 0 clamp(90px, 12vw, 150px); display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero p.lead { font-size: 1.15rem; max-width: 620px; color: #dcdad7; }
.hero-badge { justify-self: end; width: min(320px, 100%); }
.hero-badge img { filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); background: rgba(255, 255, 255, .96); border-radius: 50%; padding: 34px; aspect-ratio: 1; object-fit: contain; }
.eyebrow { display: inline-block; font-family: var(--head); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; font-size: .95rem; color: var(--red); margin-bottom: 10px; }
.eyebrow::before { content: ""; display: inline-block; width: 34px; height: 2px; background: var(--red); vertical-align: middle; margin-right: 12px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* Stats strip */
.stats { position: relative; margin-top: -60px; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); box-shadow: var(--shadow); border-radius: var(--radius); border-top: 4px solid var(--red); }
.stat { padding: 30px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--head); font-size: 2.9rem; line-height: 1; color: var(--ink); font-weight: 700; }
.stat b span { color: var(--red); }
.stat small { color: var(--muted); font-size: .85rem; letter-spacing: .04em; }

/* Sections */
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section.alt { background: var(--mist); }
.section.dark { background: var(--ink); color: #d6d4d1; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 700px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.dark .section-head p { color: #a8a5a1; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split.top { align-items: start; }
.photo { position: relative; border-radius: var(--radius); overflow: visible; }
.photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.photo::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 55%; height: 55%; border-right: 5px solid var(--red); border-bottom: 5px solid var(--red); border-radius: 0 0 var(--radius) 0; z-index: -1; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: .25s; position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--red); transition: width .3s; }
.card:hover::before { width: 100%; }
.card .ico { width: 54px; height: 54px; display: grid; place-items: center; background: var(--ink); color: #fff; border-radius: var(--radius); margin-bottom: 18px; }
.card .ico .icon { width: 26px; height: 26px; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; background: var(--red); border-radius: 50%; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='3'/%3E%3C/svg%3E") center/contain no-repeat; mask: none; }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.3em + 4px); width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.ticks li::before { -webkit-mask: none; }
.plain { list-style: none; padding: 0; margin: 0; }

/* Vision / mission */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm > div { padding: 36px; border-radius: var(--radius); background: var(--ink); color: #d6d4d1; position: relative; overflow: hidden; }
.vm > div:nth-child(2) { background: var(--red); color: #fff; }
.vm h3 { color: #fff; display: flex; align-items: center; gap: 10px; }
.vm blockquote { margin: 0; font-size: 1.25rem; line-height: 1.5; font-style: italic; }

/* Quote */
.quote { border-left: 4px solid var(--red); padding: 8px 0 8px 26px; font-size: 1.12rem; font-style: italic; color: var(--ink); }
.quote cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--head); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--red); }

/* Bar chart */
.bars { display: grid; gap: 18px; margin-top: 10px; }
.bar-row { display: grid; grid-template-columns: 80px 1fr 90px; gap: 14px; align-items: center; font-size: .95rem; }
.bar-track { height: 16px; background: rgba(255, 255, 255, .14); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--red-dark), var(--red)); border-radius: 99px; transition: width 1.3s cubic-bezier(.2, .8, .2, 1); }
.in-view .bar-fill { width: var(--w); }
.bar-row b { font-family: var(--head); font-size: 1.3rem; color: #fff; text-align: right; }

/* Sector chips & client logos */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 20px; border: 1px solid var(--line); background: var(--paper); border-radius: 99px; font-weight: 500; font-size: .92rem; color: var(--ink); }
.chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.logo-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 110px; display: grid; place-items: center; padding: 16px; transition: .2s; }
.logo-tile img { max-height: 76px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .25s; }
.logo-tile:hover { box-shadow: var(--shadow); border-color: transparent; }
.logo-tile:hover img { filter: none; opacity: 1; }

/* Page hero */
.page-hero { background: var(--ink); color: #fff; padding: clamp(50px, 7vw, 90px) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -60px; top: -40px; bottom: -40px; width: 380px; background: url('/img/logo.png') center/contain no-repeat; opacity: .06; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0; }
.page-hero p { color: #b9b6b2; max-width: 640px; margin: 12px 0 0; font-size: 1.05rem; }
.crumbs { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: #a8a5a1; margin-bottom: 14px; }
.crumbs a:hover { color: var(--red); }

/* Registrations table */
.reg { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.reg th, .reg td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.reg th { width: 42%; font-weight: 600; color: var(--ink); background: #faf9f8; }
.reg tr:last-child th, .reg tr:last-child td { border-bottom: 0; }

/* Gallery */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--mist); }
.gallery img { width: 100%; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 30px 16px 12px; color: #fff; font-size: .88rem; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); opacity: 0; transition: .3s; }
.gallery figure:hover figcaption { opacity: 1; }
.lightbox { position: fixed; inset: 0; background: rgba(10, 10, 10, .92); display: none; place-items: center; z-index: 200; padding: 24px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 88vh; max-width: 94vw; border-radius: 4px; }
.lightbox p { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #ddd; margin: 0; font-size: .95rem; }
.lightbox button { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-item .ico { width: 46px; height: 46px; display: grid; place-items: center; background: var(--red); color: #fff; border-radius: var(--radius); flex: none; }
.info-item h4 { margin: 0 0 4px; font-size: 1rem; }
.info-item a:hover { color: var(--red); }
form.enquiry { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfccc8; border-radius: var(--radius); font: inherit; background: #fff; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 30, 36, .15); }
.field textarea { min-height: 130px; resize: vertical; }
.field .err { color: var(--red-dark); font-size: .82rem; margin-top: 4px; display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.alert { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 20px; background: #eaf6ec; border: 1px solid #b8dfc0; color: #1d5b2b; }
.hp { position: absolute; left: -9999px; }
.map { border: 0; width: 100%; height: 340px; border-radius: var(--radius); margin-top: 24px; filter: grayscale(.4); }

/* CTA band */
.cta { background: var(--red); color: #fff; padding: 54px 0; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta p { margin: 6px 0 0; color: #ffe1e2; }
.cta .btn { background: #fff; color: var(--ink); }
.cta .btn:hover { background: var(--ink); color: #fff; }

/* Footer */
.site-footer { background: var(--ink-2); color: #a8a5a1; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr 1.1fr; gap: 40px; padding: 64px 0 40px; }
.site-footer h4 { color: #fff; margin-bottom: 16px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.8; }
.muted { color: #8d8a86; margin-top: 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .bar-fill { transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 960px) {
    .hero .wrap, .split, .contact-grid, .vm { grid-template-columns: 1fr; }
    .hero-badge { display: none; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-toggle { display: block; }
    .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
    .nav.open { display: flex; }
    .nav a:not(.btn) { border-bottom: 1px solid var(--line); }
    .nav .btn { margin: 14px 0 0; justify-content: center; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
/* Tablet portrait */
@media (max-width: 800px) {
    .vm > div { padding: 28px; }
    .section-head { margin-bottom: 32px; }
    .gallery { columns: 2 220px; }
    .nav { max-height: calc(100vh - 110px); overflow-y: auto; }
    .field input, .field select, .field textarea { font-size: 16px; } /* prevents iOS zoom-on-focus */
}

@media (max-width: 620px) {
    body { overflow-wrap: break-word; }
    .wrap { width: calc(100% - 32px); }
    .grid-3, .grid-2, .row2 { grid-template-columns: 1fr; }
    .cta-row .btn, .cta .btn { width: 100%; justify-content: center; }
    .hero .wrap { padding: 56px 0 90px; }
    .hero p.lead { font-size: 1.02rem; }
    .stats { margin-top: -50px; }
    .split { gap: 36px; }
    .photo::after { display: none; }
    .brand { font-size: 1.15rem; gap: 9px; }
    .brand small { letter-spacing: .14em; }
    .topbar-right { gap: 14px; }
    .topbar { font-size: .78rem; }
    .logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .logo-tile { height: 92px; padding: 12px; }
    .gallery { columns: 1; }
    .gallery figcaption { opacity: 1; } /* no hover on touch devices */
    .footer-bottom { flex-direction: column; }
    .cta { padding: 44px 0; }
    .card { padding: 24px 20px; }
    /* Registrations table becomes stacked label/value rows */
    .reg, .reg tbody, .reg tr, .reg th, .reg td { display: block; width: 100%; }
    .reg tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .reg tr:last-child { border-bottom: 0; }
    .reg th, .reg td { border: 0; padding: 2px 18px; background: none; }
    .reg th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
    .reg td { font-weight: 500; color: var(--ink); }
    .map { height: 260px; }
    .lightbox { padding: 12px; }
    .footer-grid { grid-template-columns: 1fr; }
    .topbar .wrap > span:first-child { display: none; }
    .bar-row { grid-template-columns: 64px 1fr 74px; }
    .stat { padding: 22px 12px; }
    .stat b { font-size: 2.2rem; }
    form.enquiry { padding: 24px 18px; }
    .photo::after { display: none; }
}

/* Very small phones */
@media (max-width: 360px) {
    .brand { font-size: 1rem; }
    .brand img { width: 38px; height: auto; }
    .stat b { font-size: 1.9rem; }
    .stat small { font-size: .78rem; }
    .btn { padding: 13px 20px; }
    .bar-row { grid-template-columns: 58px 1fr 66px; gap: 8px; font-size: .85rem; }
}

/* Touch devices: no hover captions/lifts, larger tap targets */
@media (hover: none) {
    .gallery figcaption { opacity: 1; }
    .card:hover { transform: none; box-shadow: none; }
    .nav a:not(.btn) { padding-block: 13px; }
}

/* Landscape phones: keep hero compact */
@media (max-height: 480px) and (orientation: landscape) {
    .hero .wrap { padding: 40px 0 70px; }
    .topbar { display: none; }
}

/* Large screens */
@media (min-width: 1600px) {
    .wrap { width: min(1360px, 100% - 80px); }
    html { font-size: 17px; }
}

/* Safe areas (notched phones) */
@supports (padding: max(0px)) {
    .site-footer { padding-bottom: env(safe-area-inset-bottom); }
}

/* Comfortable tap targets for contact links */
.info-item a { display: inline-block; padding: 4px 0; min-height: 32px; }

/* Hero slideshow */
.hero-slides { position: absolute; inset: 0; }
.hero-slides .slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; }
.hero-slides .slide.active { opacity: 1; }
.hero::before { z-index: 1; }
.hero .wrap { z-index: 2; }

/* Video + showcase */
.video-frame { background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.showcase { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 230px); gap: 14px; }
.showcase .video-frame { grid-column: 1 / 3; grid-row: 1 / 3; aspect-ratio: auto; }
.shot { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.shot:hover img { transform: scale(1.07); }
.shot span { position: absolute; inset: auto 0 0 0; padding: 26px 14px 10px; color: #fff; font-size: .88rem; font-weight: 500; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.center-link { text-align: center; margin: 36px 0 0; }

/* Photo strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.strip figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--ink); }
.strip img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .5s; }
.strip figure:hover img { transform: scale(1.06); }
.strip figcaption { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; color: #fff; font-size: .88rem; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); }

/* Gallery filters + lightbox nav */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; justify-content: center; }
.filters .chip { cursor: pointer; font-family: var(--body); }
.filters .chip.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.gallery figure[hidden] { display: none; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .12); border: 0; color: #fff; font-size: 2.6rem; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; line-height: 1; display: grid; place-items: center; }
.lb-nav:hover { background: var(--red); }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-close { z-index: 2; }

@media (max-width: 960px) {
    .showcase { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .showcase .video-frame { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 16 / 9; }
    .shot { aspect-ratio: 4 / 3; }
    .strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .strip { gap: 10px; }
    .showcase { gap: 10px; }
    .filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
    .filters .chip { flex: none; }
    .lb-nav { width: 44px; height: 44px; font-size: 2.2rem; }
    .lb-prev { left: 6px; } .lb-next { right: 6px; }
}

/* Gallery grid (fixed-ratio tiles: no layout shift while images load) */
.gallery { columns: auto; column-gap: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; aspect-ratio: 4 / 3; break-inside: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
@media (max-width: 620px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } .gallery figcaption { font-size: .75rem; padding: 22px 10px 8px; } }
