/* Petrie Path Drone Services — shared styles (dark theme) */
:root {
    color-scheme: dark;
    --bg: #101010;
    --surface: #191919;
    --raised: #222222;
    --beige: #d4b896;
    --beige-light: #e6d5bc;
    --cream: #f5f1e8;
    --muted: #c3bdb3;
    --line: rgba(212, 184, 150, 0.25);
    --line-strong: rgba(212, 184, 150, 0.55);
    --tint: rgba(212, 184, 150, 0.07);
    --ok: #a8e9ba;
    --err: #ffb9b1;
    --radius: 14px;
    --radius-sm: 8px;
    --header-h: 72px;
    --glow: radial-gradient(ellipse at 90% 15%, rgba(212, 184, 150, 0.11), transparent 55%);
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--cream);
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }

a { color: var(--beige-light); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--cream); }

:focus-visible { outline: 3px solid var(--beige-light); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6em; color: var(--cream); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.01em; }
p, ul, ol, dl, figure { margin: 0 0 1rem; }
p:last-child, ul:last-child, ol:last-child, dl:last-child { margin-bottom: 0; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding-block: clamp(3.25rem, 7vw, 5.75rem); }
.section--tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.paper { background: var(--surface); }
.dark { background: var(--glow), #141414; border-block: 1px solid var(--line); }

.eyebrow {
    display: block;
    margin-bottom: 0.85rem;
    color: var(--beige);
    font-size: 0.8rem;
    font-weight: 750;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 68ch; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.section-head { max-width: 760px; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }

.skip-link {
    position: absolute; left: 12px; top: -80px; z-index: 300;
    padding: 0.7rem 1rem; border-radius: var(--radius-sm);
    background: var(--beige-light); color: #111; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 48px; padding: 0.75rem 1.3rem;
    border: 1px solid transparent; border-radius: var(--radius-sm);
    font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
    text-align: center; text-decoration: none; cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--primary { background: var(--beige); color: #111; }
.btn--primary:hover { background: var(--beige-light); color: #111; }
.btn--outline, .btn--ghost { background: transparent; color: var(--cream); border-color: var(--line-strong); }
.btn--outline:hover, .btn--ghost:hover { background: rgba(212, 184, 150, 0.1); border-color: var(--beige); color: var(--cream); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.text-link { font-weight: 700; text-decoration: none; color: var(--beige-light); }
.text-link:hover { text-decoration: underline; }
.text-link::after { content: " \2192"; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(16, 16, 16, 0.97);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--cream); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--cream); }
.brand img { width: 48px; height: 48px; }
.brand-name { display: block; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.01em; line-height: 1.15; }
.brand-sub { display: block; color: var(--beige); font-size: 0.72rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a:not(.btn) {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.7rem;
    color: var(--cream); font-size: 0.95rem; font-weight: 600; text-decoration: none; border-radius: 6px;
}
.site-nav a:not(.btn):hover { color: var(--beige); }
.site-nav a[aria-current="page"] { color: var(--beige); box-shadow: inset 0 -2px 0 var(--beige); border-radius: 0; }
.site-nav .btn { margin-left: 0.6rem; min-height: 44px; padding: 0.6rem 1rem; }
.nav-toggle {
    display: none; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.5rem 0.9rem;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: var(--surface); color: var(--cream); font: inherit; font-weight: 650; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1099px) {
    .nav-toggle { display: inline-flex; }
    .js .site-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 0.5rem 20px 1.25rem; background: var(--bg); border-bottom: 1px solid var(--line);
        max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    }
    .js .site-nav.is-open { display: flex; }
    .site-nav a:not(.btn) { min-height: 48px; padding: 0 0.25rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
    .site-nav a[aria-current="page"] { box-shadow: none; }
    .site-nav .btn { margin: 1rem 0 0; }
    html:not(.js) .site-nav { flex-wrap: wrap; justify-content: flex-end; }
    html:not(.js) .nav-toggle { display: none; }
}

/* Home hero */
.hero { position: relative; isolation: isolate; background: var(--bg); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: center 40%; }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(90deg, rgba(16, 16, 16, 0.95) 0%, rgba(16, 16, 16, 0.84) 45%, rgba(16, 16, 16, 0.38) 100%);
}
.hero__content { position: relative; z-index: 1; padding-block: clamp(4rem, 11vw, 8rem); max-width: 720px; }
.hero .lead { color: #ddd6ca; }
.trust-list {
    display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem;
    list-style: none; padding: 0; margin: 2rem 0 0;
    font-size: 0.92rem; font-weight: 600;
}
.trust-list li { display: inline-flex; align-items: center; gap: 0.45rem; }
.trust-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--beige); flex-shrink: 0; }

/* Inner page hero */
.page-hero { background: var(--glow), var(--bg); border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.page-hero figure { margin: 0; }
.page-hero figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.page-hero figcaption { margin-top: 0.6rem; font-size: 0.82rem; color: var(--muted); }
.page-hero--plain .page-hero__grid { grid-template-columns: minmax(0, 1fr); max-width: 820px; }

/* Grids and cards */
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: clamp(1.25rem, 2.6vw, 1.75rem);
}
.paper .card, .dark .card { background: var(--bg); }

.service-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.service-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--line); }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.25rem, 2.6vw, 1.6rem); }
.service-card h3 { font-size: 1.3rem; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a:hover { color: var(--beige-light); text-decoration: underline; }
.service-card .for { font-size: 0.9rem; color: var(--beige); font-weight: 600; }
.service-card p:not(.for) { color: var(--muted); }
.service-card .checklist { margin-top: 0.25rem; font-size: 0.97rem; }
.service-card .card-actions { margin-top: auto; padding-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: center; }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.6rem; margin-bottom: 0.5rem; }
.checklist li::before {
    content: ""; position: absolute; left: 0.1rem; top: 0.48em;
    width: 0.85rem; height: 0.45rem; border-left: 2.5px solid var(--beige); border-bottom: 2.5px solid var(--beige);
    transform: rotate(-45deg);
}
.xlist { list-style: none; padding: 0; }
.xlist li { position: relative; padding-left: 1.6rem; margin-bottom: 0.5rem; }
.xlist li::before { content: "\2715"; position: absolute; left: 0.15rem; top: 0; color: var(--muted); font-weight: 700; }

/* Simple two-column split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 4rem); align-items: start; }
.split--wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.rounded { border-radius: var(--radius); }

/* Audience list */
.who-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1.5rem; list-style: none; padding: 0; }
.who-list li { padding: 0.8rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; }
.paper .who-list li { background: var(--bg); }

/* Deliverable options */
.deliverables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.9rem, 2vw, 1.25rem); }
.deliverable { padding: 1.25rem 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.paper .deliverable { background: var(--bg); }
.deliverable h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.deliverable p { color: var(--muted); font-size: 0.97rem; }
.deliverable .files { margin-top: 0.6rem; font-size: 0.85rem; color: var(--muted); }
.deliverable .files strong { color: var(--beige); font-weight: 650; }
.options-note { margin-top: 1.25rem; font-size: 0.95rem; color: var(--muted); }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.5rem); }
.steps li { counter-increment: step; position: relative; padding-top: 3.4rem; }
.steps li::before {
    content: counter(step); position: absolute; top: 0; left: 0;
    display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
    background: var(--beige); color: #111; font-weight: 800;
}
.steps h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.steps p { color: var(--muted); font-size: 0.97rem; }

/* Callouts */
.note { padding: 1.15rem 1.3rem; border-left: 3px solid var(--beige); background: var(--tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.note h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.note p, .note li { color: var(--muted); font-size: 0.97rem; }

/* Qualifications vs limits */
.scope-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.5rem); }

/* Featured work */
.work-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.work-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.work-card .work-card__body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.work-card .tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--beige); margin-bottom: 0.4rem; }
.work-card p { color: var(--muted); font-size: 0.97rem; }
.work-card .text-link { margin-top: auto; padding-top: 0.5rem; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex; justify-content: space-between; gap: 1rem; align-items: center;
    padding: 1.1rem 0; cursor: pointer; font-weight: 700; font-size: 1.06rem; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--beige); line-height: 1; }
.faq details[open] summary { color: var(--beige-light); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 1.2rem; color: var(--muted); }
.faq .answer p { margin-bottom: 0.7rem; }

/* CTA band */
.cta-band { background: var(--glow), var(--surface); border-top: 1px solid var(--line); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-band h2 { margin-bottom: 0.4rem; }
.cta-band p { color: var(--muted); margin: 0; }
.cta-band .actions { margin-top: 0; }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; padding-block: 3rem 6rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.site-footer h2 { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--beige); margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--beige); text-decoration: underline; }
.site-footer .brand { margin-bottom: 1rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.85rem; display: grid; gap: 0.5rem; }
@media (min-width: 700px) { .site-footer { padding-bottom: 3rem; } }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 699px) {
    .mobile-bar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
        display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
        padding: 0.6rem 16px calc(0.6rem + env(safe-area-inset-bottom, 0px));
        background: rgba(16, 16, 16, 0.98); border-top: 1px solid var(--line);
    }
    .mobile-bar .btn { min-height: 46px; padding: 0.5rem; font-size: 0.95rem; }
    body.has-mobile-bar { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
}

/* Quote form */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.form h2 { font-size: 1.5rem; }
.form fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; min-width: 0; }
.form legend, .form label.label { display: block; font-weight: 700; margin-bottom: 0.4rem; padding: 0; }
.form .req { color: var(--err); }
.form .opt { font-weight: 400; color: var(--muted); font-size: 0.92rem; }
.form .help { display: block; font-size: 0.88rem; color: var(--muted); margin: -0.15rem 0 0.5rem; font-weight: 400; }
.field { margin-bottom: 1.15rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
    width: 100%; min-height: 48px; padding: 0.7rem 0.85rem;
    border: 1px solid rgba(212, 184, 150, 0.45); border-radius: var(--radius-sm); background: var(--surface); color: var(--cream);
    font: inherit; font-size: 1rem;
}
.form input::placeholder, .form textarea::placeholder { color: #a9a296; opacity: 1; }
.form textarea { min-height: 130px; resize: vertical; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--beige) 50%), linear-gradient(135deg, var(--beige) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--beige-light); outline: 3px solid rgba(212, 184, 150, 0.35); outline-offset: 0; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 1rem; }
.choice { display: flex; gap: 0.65rem; align-items: flex-start; padding: 0.65rem 0.75rem; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-weight: 400; line-height: 1.35; }
.choice:hover { border-color: var(--beige); }
.choice input { width: 20px; height: 20px; margin: 0.1rem 0 0; flex-shrink: 0; accent-color: var(--beige); }
.choice small { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 0.15rem; }
.choice--unsure { border-style: dashed; border-color: var(--line-strong); }
.form-status { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { background: rgba(255, 185, 177, 0.08); color: var(--err); border: 1px solid rgba(255, 185, 177, 0.35); }
.form-status[data-state="pending"] { background: var(--surface); border: 1px solid var(--line); }
.security-status { font-size: 0.88rem; color: var(--muted); margin: 0.25rem 0 0.75rem; }
.security-status:empty { display: none; }
.form-success { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid rgba(168, 233, 186, 0.4); background: rgba(168, 233, 186, 0.06); border-radius: var(--radius); }
.form-success h2 { color: var(--ok); font-size: 1.5rem; }
.form-success p { color: var(--muted); }
.privacy { font-size: 0.85rem; color: var(--muted); margin-top: 1rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-panel .card + .card { margin-top: 1rem; }
.contact-big { display: block; font-size: 1.25rem; font-weight: 800; color: var(--cream); text-decoration: none; overflow-wrap: anywhere; padding-block: 0.2rem; }
.contact-big:hover { color: var(--beige); text-decoration: underline; }

/* Portfolio */
.project { padding-block: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.project-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 1.5rem 3rem; align-items: end; margin-bottom: 1.75rem; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.stats div { border-top: 2px solid var(--beige); padding-top: 0.75rem; }
.stats dt { font-size: 0.85rem; color: var(--muted); }
.stats dd { margin: 0.2rem 0 0; font-size: 1.45rem; font-weight: 800; color: var(--beige-light); }
.figure-btn { display: block; width: 100%; padding: 0; border: 1px solid var(--line); background: #0a0a0a; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.figure-btn img { width: 100%; height: auto; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.thumb-btn { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--raised); cursor: zoom-in; aspect-ratio: 3 / 2; }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.thumb-btn:hover img { transform: scale(1.03); }
.gallery-block + .gallery-block { margin-top: 2.25rem; }
.gallery-block h3 { margin-bottom: 0.25rem; }
.gallery-status { color: var(--muted); font-size: 0.95rem; }
.model-box { position: relative; height: clamp(320px, 52vw, 520px); background: #0a0a0a; border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.model-box canvas { width: 100%; height: 100%; display: block; }
.model-status { position: absolute; inset: 0; display: grid; place-content: center; gap: 0.75rem; padding: 1.5rem; text-align: center; color: var(--beige); }
.model-controls { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); }
.model-controls button { min-height: 44px; padding: 0.4rem 0.9rem; border: 1px solid var(--line); border-radius: 6px; background: var(--raised); color: var(--cream); font: inherit; font-size: 0.92rem; cursor: pointer; }
.model-controls button:hover:not(:disabled) { border-color: var(--beige); }
.model-controls button:disabled { opacity: 0.45; cursor: default; }

dialog.lightbox { width: min(1280px, 100% - 24px); max-height: 94vh; padding: 0.9rem; border: 1px solid var(--line); border-radius: var(--radius); background: #0a0a0a; color: var(--cream); }
dialog.lightbox::backdrop { background: rgba(0, 0, 0, 0.92); }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.6rem; }
.lightbox-top p { margin: 0; font-size: 0.9rem; overflow-wrap: anywhere; }
.lightbox-stage { display: grid; place-items: center; min-height: 200px; }
.lightbox-stage img, .lightbox-stage video { max-width: 100%; max-height: 74vh; width: auto; object-fit: contain; }
.lightbox-nav { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 0.6rem; font-size: 0.9rem; }
.icon-btn { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--cream); font: inherit; font-size: 1.1rem; cursor: pointer; }

/* Responsive */
@media (max-width: 1099px) {
    .hero::after { background: linear-gradient(90deg, rgba(16, 16, 16, 0.94) 0%, rgba(16, 16, 16, 0.82) 100%); }
}
@media (max-width: 1023px) {
    .grid--4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 859px) {
    .page-hero__grid, .split, .split--wide, .project-head, .scope-panel, .grid--3 { grid-template-columns: minmax(0, 1fr); }
    .page-hero figure { order: -1; }
    .page-hero figure img { aspect-ratio: 16 / 9; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
    body { font-size: 1rem; }
    .container { width: min(1180px, 100% - 32px); }
    .grid--2, .grid--3, .grid--4, .steps, .deliverables, .who-list, .choices, .field-row, .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .hero::after { background: linear-gradient(180deg, rgba(16, 16, 16, 0.82) 0%, rgba(16, 16, 16, 0.92) 100%); }
    .hero .actions .btn, .page-hero .actions .btn, .cta-band .actions .btn { flex: 1 1 100%; }
    .brand-name { font-size: 0.98rem; }
    .brand img { width: 42px; height: 42px; }
    .stats dd { font-size: 1.15rem; }
    .gallery-grid { gap: 0.5rem; }
}
@media (max-width: 359px) {
    .nav-toggle { padding: 0.5rem 0.7rem; }
    .nav-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .brand-sub { letter-spacing: 0.06em; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
    .site-header, .mobile-bar, .cta-band, .site-footer { display: none; }
    body { padding: 0 !important; background: #fff; color: #000; }
}
