/* ============================================================
   DROZD — brand design system
   Built from the "DROZD Home v2" handoff prototype: every rule below is
   the prototype's inline style lifted into the project's .drz-* namespace.
   Light is the design's default; dark is the opt-in alternate via
   [data-theme] on <html>.
   ============================================================ */

/* ---------- Design tokens ----------------------------------
   NOTE: the light block must stay ABOVE [data-theme="dark"] — `:root` and an
   attribute selector have equal specificity, so whichever comes last wins. */
:root,
[data-theme="light"] {
    --orange: #eb6033;
    --orange-strong: #c94e29;
    --on-orange: #171310;

    --bg: #bcbec0;
    --surface: #d9d9d9;
    --card: #ffffff;

    --ink: #313131;
    --ink-dim: #4e5052;
    --ink-faint: #6f7477;

    --hl: rgba(0, 0, 0, .10);
    --tag: #d9d9d9;
    --tag-ink: #313131;
    --border: rgba(0, 0, 0, .14);

    /* The light pattern is the contour map cut from the Figma frame; it is a
       fully opaque tile, so it paints the page background itself. */
    --pattern: url('/static/img/topo.png');
    --pattern-op: 1;
    --pattern-size: 1440px auto;
    --shade: rgba(20, 20, 20, .55);

    /* fixed, theme-independent */
    --ink-dark: #171310;
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --ease-in: cubic-bezier(.2, .8, .2, 1);
    --wrap: 1240px;
    --gut: clamp(16px, 2vw, 24px);
    --rhythm: clamp(48px, 8vw, 104px);
}

[data-theme="dark"] {
    --bg: #0a0a0a;
    --surface: #1c1c1c;
    --card: #f3f3f1;

    --ink: #ececec;
    --ink-dim: #a7adb0;
    --ink-faint: #6f7477;

    --hl: rgba(255, 255, 255, .16);
    --tag: #cfcfcf;
    --tag-ink: #141414;
    --border: rgba(255, 255, 255, .14);

    /* white hairlines instead of the contour map — the map only reads on grey */
    --pattern: url('/static/svg/repeat-light.svg');
    --pattern-op: .06;
    --pattern-size: 340px 340px;
    --shade: rgba(0, 0, 0, .6);
}

/* ---------- Base ---------- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'DM Mono', ui-monospace, monospace;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background .35s ease, color .35s ease;
}

a {
    color: var(--orange);
    text-decoration: none;
}

a:hover {
    color: var(--ink);
}

button {
    font-family: inherit;
    cursor: pointer;
}

input::placeholder {
    color: rgba(23, 19, 16, .62);
}

input:focus {
    outline: none;
}

::selection {
    background: var(--orange);
    color: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    /* plain colour first: browsers without color-mix() (Safari < 16.2) drop the
       whole declaration, so the fallback has to be a separate one */
    outline: 2px solid var(--orange);
    outline: 2px solid color-mix(in srgb, var(--orange) 60%, transparent);
    outline-offset: 2px;
}

img {
    max-width: 100%;
}

/* ---------- Type utilities ---------- */
.font-display {
    font-family: 'Syne', ui-sans-serif, system-ui, sans-serif;
}

.brand-mono {
    font-family: 'DM Mono', ui-monospace, monospace;
}

.pixel {
    font-family: 'Pixelify Sans', 'DM Mono', ui-monospace, monospace;
    font-weight: 700;
    letter-spacing: .01em;
    font-feature-settings: "tnum" 1;
}

/* ---------- Layout primitives ---------- */
.drz-wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gut);
}

.drz-section {
    position: relative;
    padding-block: var(--rhythm);
}

/* Menu anchors land under the sticky bar without this — #top is excluded because
   scrolling to the very start of the page is already correct. */
#about,
#products,
#partners,
#media,
#contact {
    scroll-margin-top: 90px;
}

/* The pattern sits behind everything in flow. Deliberately NOT `main { z-index: 1 }`
   over a z-index:0 pattern: giving main a z-index makes it a stacking context, which
   isolates mix-blend-mode so the sheet photo could no longer multiply away its white
   backdrop. A negative z-index keeps the pattern above the body background and below
   all content without isolating anything. */
main,
.drz-footer {
    position: relative;
}

/* Highlighted run of a heading. box-decoration-break keeps the plate on every
   wrapped line instead of one box around the whole span. */
.drz-hl {
    background: var(--hl);
    padding: 0 .12em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* Small uppercase chip ("Підтверджені типи цілей") */
.drz-tag {
    display: inline-block;
    background: var(--tag);
    color: var(--tag-ink);
    font-weight: 500;
    font-size: 11.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: .4em .7em;
    line-height: 1;
}

/* Two-line Syne section heading */
.drz-eyebrow {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .1em;
    font-family: 'Syne', ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: .02em;
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
}

.drz-btn {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    border: 0;
    border-radius: var(--r-sm);
    padding: 14px 22px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: background .2s ease;
}

.drz-btn:hover {
    background: var(--orange-strong);
    color: #fff;
}

.drz-btn--dark {
    background: var(--ink-dark);
    color: #fff;
}

.drz-btn--dark:hover {
    background: #000;
    color: #fff;
}

/* ---------- Fixed pattern backdrop ---------- */
.drz-pattern {
    position: fixed;
    inset: 0;
    background-image: var(--pattern);
    background-repeat: repeat;
    background-size: var(--pattern-size);
    background-position: top center;
    opacity: var(--pattern-op);
    pointer-events: none;
    z-index: -1;
}

/* ---------- Back to top ---------- */
.drz-totop {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 70;
    width: 50px;
    height: 50px;
    border-radius: 999px;
    background: var(--orange);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
    transition: opacity .3s ease, transform .3s ease, background .2s ease;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
}

.drz-totop.is-on {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.drz-totop:hover {
    background: var(--ink-dark);
}

.drz-totop img {
    width: 14px;
    height: 26px;
    display: block;
    transform: rotate(-90deg);
    filter: brightness(0) invert(1);
}

/* ---------- Navbar ---------- */
.drz-nav {
    position: sticky;
    top: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    /* Opaque fallback: without color-mix() the sticky bar would have no background
       at all and the page would scroll straight under the logo and menu. */
    background: var(--bg);
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.drz-nav__logo {
    justify-self: start;
    line-height: 0;
}

.drz-nav__logo img {
    height: 34px;
    width: auto;
    display: block;
}

.drz-nav__word {
    justify-self: center;
    line-height: 0;
}

.drz-nav__word img {
    height: 30px;
    width: auto;
    display: block;
}

.drz-nav__right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
}

.drz-toggle {
    display: inline-flex;
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
    font-size: 12px;
}

.drz-toggle--lang {
    letter-spacing: .05em;
}

.drz-toggle button,
.drz-toggle a {
    background: none;
    border: 0;
    color: var(--ink-dim);
    padding: 6px 10px;
    line-height: 1;
    transition: background .2s ease, color .2s ease;
}

.drz-toggle button:hover,
.drz-toggle a:hover {
    color: var(--orange);
}

.drz-toggle button.is-active,
.drz-toggle a.is-active {
    background: var(--orange);
    color: #fff;
}

.drz-burger {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 6px;
}

.drz-burger span {
    width: 26px;
    height: 2px;
    background: var(--orange);
    display: block;
}

.drz-menu {
    position: absolute;
    right: 20px;
    top: 68px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 10px;
    min-width: 250px;
    box-shadow: 0 22px 44px rgba(0, 0, 0, .22);
    transition: opacity .25s ease, transform .3s var(--ease-in);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.drz-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.drz-menu a {
    padding: 10px 12px;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 13px;
    border-radius: var(--r-sm);
    transition: background .2s ease, color .2s ease;
}

.drz-menu a:hover {
    background: var(--bg);
    color: var(--orange);
}

.drz-menu a.is-cta {
    color: var(--orange);
}

.drz-menu a.is-cta:hover {
    background: var(--bg);
}

/* ---------- Hero ---------- */
.drz-hero {
    position: relative;
    padding: 16px var(--gut) 0;
}

/* The inset frame is deliberate — the photo does not bleed to the edges. */
.drz-hero__frame {
    position: relative;
    min-height: min(84vh, 800px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background: var(--ink-dark);
}

.drz-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease;
    opacity: 0;
}

.drz-hero__img.is-on {
    opacity: 1;
}

/* Frame 1 is the mono workshop shot, frame 2 the colour kit photo. */
.drz-hero__img--a {
    object-position: center 58%;
    filter: grayscale(1) contrast(1.05);
}

.drz-hero__img--b {
    object-position: center 55%;
}

.drz-hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, .35) 0%,
            rgba(0, 0, 0, 0) 30%,
            rgba(10, 10, 10, .2) 70%,
            var(--bg) 100%);
}

.drz-hero__dots {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

.drz-hero__dots button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .5);
    transition: width .3s ease, background .3s ease;
}

.drz-hero__dots button.is-on {
    width: 28px;
    background: var(--orange);
}

/* ---------- Cookie banner (inside the hero) ---------- */
.drz-cookie {
    position: relative;
    z-index: 2;
    margin-bottom: 46px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--orange);
    color: var(--on-orange);
    padding: 16px 18px;
    border-radius: var(--r-md);
    max-width: min(430px, 90vw);
    transition: opacity .4s ease, transform .5s var(--ease-in);
}

:root.cookie-accepted .drz-cookie,
.drz-cookie.is-hidden {
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
}

.drz-cookie p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--on-orange);
}

.drz-cookie button {
    flex: none;
    background: var(--ink-dark);
    color: #fff;
    border: 0;
    border-radius: var(--r-sm);
    padding: 11px 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: background .2s ease;
}

.drz-cookie button:hover {
    background: #000;
}

/* ---------- Intro ---------- */
.drz-intro {
    display: grid;
    gap: 28px;
}

.drz-intro__logo {
    display: flex;
}

.drz-intro__logo span {
    background: var(--orange);
    padding: 6px 12px 8px;
    line-height: 0;
}

.drz-intro__logo img {
    height: 34px;
    width: auto;
    display: block;
    filter: brightness(0);
}

.drz-intro__headrow {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.drz-intro__head {
    margin: 0;
    font-family: 'Syne', ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.14;
    letter-spacing: .01em;
    font-size: clamp(1.6rem, 4vw, 3.3rem);
    max-width: 40ch;
    text-wrap: pretty;
    flex: 1 1 620px;
}

.drz-intro__bird {
    width: clamp(90px, 11vw, 151px);
    height: auto;
    flex: none;
}

.drz-lead {
    margin: 0;
    color: var(--ink-dim);
    font-size: clamp(.95rem, 1.4vw, 1.1rem);
    line-height: 1.75;
    max-width: 92ch;
    text-wrap: pretty;
}

/* ---------- Stats ---------- */
.drz-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 22px;
}

.drz-stat {
    position: relative;
    background: var(--orange);
    color: var(--on-orange);
    border-radius: var(--r-md);
    padding: 30px 34px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    overflow: hidden;
    min-height: 150px;
}

/* Line-art drone watermarks, pinned to the outer edge of each card. */
.drz-stat__wm {
    position: absolute;
    inset: 0;
    background: url('/static/svg/stat-wm-left.svg') left center / contain no-repeat;
}

.drz-stat:nth-child(2) .drz-stat__wm {
    background-image: url('/static/svg/stat-wm-right.svg');
    background-position: right center;
}

.drz-stat__num {
    position: relative;
    flex: 0 0 auto;
    min-width: max-content;
    font-family: 'Syne', ui-sans-serif, system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: .82;
    letter-spacing: -.02em;
    white-space: nowrap;
}

.drz-stat__label {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    overflow-wrap: anywhere;
    align-self: flex-end;
    padding-bottom: .6em;
    font-size: 12.5px;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ---------- Target types ---------- */
.drz-targets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
    gap: 14px;
    margin-top: 22px;
}

.drz-target {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--orange);
    color: var(--on-orange);
    border-radius: var(--r-sm);
    padding: 12px 14px;
    transition: transform .25s var(--ease);
}

.drz-target:hover {
    transform: translateX(6px);
}

.drz-target__icon {
    flex: none;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: var(--ink-dark);
    border-radius: var(--r-sm);
}

.drz-target__icon img {
    width: 26px;
    height: 26px;
    display: block;
}

.drz-target__text {
    font-size: 13.5px;
    letter-spacing: .02em;
}

.drz-target__text b {
    font-weight: 700;
}

/* ---------- Full-bleed photo statements ---------- */
.drz-band {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.drz-band__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05) brightness(.72);
}

.drz-band__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding: 90px var(--gut);
}

.drz-band__drone {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(220px, 32vw, 461px);
    aspect-ratio: 461 / 375;
    background: url('/static/svg/process-drone.svg') center / contain no-repeat;
    opacity: .9;
}

.drz-statement {
    margin: 0;
    font-family: 'Syne', ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .01em;
    line-height: 1.12;
    font-size: clamp(1.4rem, 3.4vw, 2.9rem);
    color: #ececec;
    max-width: 34ch;
    text-wrap: pretty;
}

/* Partners band — darker, so the logo plates below stay legible. */
.drz-band--partners .drz-band__img {
    filter: grayscale(1) contrast(1.05) brightness(.45);
}

.drz-band--partners .drz-band__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, .78) 0%,
            rgba(0, 0, 0, .55) 55%,
            rgba(0, 0, 0, .35) 100%);
}

.drz-band--partners .drz-band__inner {
    max-width: none;
    padding: 70px 0;
}

.drz-band--partners .drz-statement {
    font-size: clamp(1.35rem, 3vw, 2.5rem);
    color: #bcbec0;
    max-width: 26ch;
}

.drz-partners__head {
    padding-bottom: 28px;
}

/* ---------- Partner marquee ---------- */
@keyframes drzMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.drz-partners {
    margin-top: 46px;
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.drz-partners__track {
    display: flex;
    width: max-content;
    animation: drzMarquee 34s linear infinite;
}

.drz-partners:hover .drz-partners__track {
    animation-play-state: paused;
}

.drz-partners__row {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0 9px;
}

.drz-partners__item {
    flex: none;
    width: clamp(140px, 14vw, 190px);
    height: clamp(72px, 7vw, 92px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    background: #fff;
    border-radius: 10px;
}

/* Light logos on a transparent background need the dark plate instead. */
.drz-partners__item.is-dark {
    background: #313131;
}

.drz-partners__item img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.drz-partners__item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* ---------- Product grid ---------- */
.drz-prodgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    align-items: start;
    gap: 22px;
    margin-top: 30px;
}

.drz-prodcard {
    display: block;
    background: var(--card);
    border-radius: var(--r-lg);
    padding: 16px 16px 20px;
    color: var(--ink);
    outline: 2px solid transparent;
    outline-offset: -2px;
    transition: transform .25s var(--ease), box-shadow .25s ease, outline-color .25s ease;
}

.drz-prodcard:hover {
    color: var(--ink);
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .18);
}

.drz-prodcard.is-open {
    outline-color: var(--orange);
}

.drz-prodcard__ph {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

/* multiply drops the white studio backdrop into the card so the three shots,
   which were cut out to different margins, read as one set. */
.drz-prodcard__ph img {
    position: absolute;
    inset: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    object-fit: contain;
    mix-blend-mode: multiply;
}

.drz-prodcard__labelrow {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.drz-prodcard__label {
    background: var(--surface);
    color: var(--ink-dim);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    padding: .9em 1.6em;
    border-radius: 6px;
    text-align: center;
    transition: background .25s ease, color .25s ease;
}

.drz-prodcard.is-open .drz-prodcard__label {
    background: var(--orange);
    color: #fff;
}

/* ---------- Product block (loaded inline under the grid) ---------- */
.drz-product-slot {
    position: relative;
    scroll-margin-top: 110px;
}

.drz-product-slot:empty {
    display: none;
}

.drz-product-slot.htmx-request {
    opacity: .45;
    transition: opacity .2s ease;
}

.drz-sheet {
    position: relative;
    overflow: hidden;
    padding-block: 0 var(--rhythm);
}

.drz-sheet__close {
    display: flex;
    justify-content: flex-end;
}

/* Orange rather than ink on a hairline border: the glyph itself had fine
   contrast, but the rgba(0,0,0,.14) ring all but vanished against the grey page
   and the contour pattern behind it, so the control read as invisible. */
.drz-sheet__close a {
    display: grid;
    place-items: center;
    background: none;
    border: 2px solid var(--orange);
    border-radius: 999px;
    width: 38px;
    height: 38px;
    color: var(--orange);
    font-size: 18px;
    line-height: 1;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.drz-sheet__close a:hover {
    background: var(--orange);
    color: #fff;
    border-color: transparent;
}

.drz-sheet__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    align-items: start;
    gap: 48px;
    margin-top: 8px;
}

.drz-sheet__title {
    margin: 0;
    font-family: 'Syne', ui-sans-serif, system-ui, sans-serif;
    font-weight: 500;
    font-size: clamp(1.6rem, 3.47vw, 3.125rem);
    line-height: 1.02;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--ink);
}

.drz-sheet__lead {
    margin: 26px 0 0;
    max-width: 46ch;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink);
    text-wrap: pretty;
}

.drz-sheet__sub {
    margin-top: 34px;
    padding: 10px 14px;
    background: var(--hl);
    color: var(--ink);
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
}

/* A row without a value is a plain orange bar; with one it splits into an
   orange name plate and a white value plate. */
.drz-sheet__row {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: stretch;
    margin-top: 8px;
    min-height: 40px;
}

.drz-sheet__row.has-value {
    grid-template-columns: 40px minmax(0, 1.1fr) minmax(0, 1fr);
}

.drz-sheet__plus {
    display: grid;
    place-items: center;
    background: #313131;
}

.drz-sheet__plus img {
    width: 16px;
    height: auto;
    display: block;
}

.drz-sheet__name {
    display: flex;
    align-items: center;
    padding-inline: 14px;
    background: var(--orange);
    color: #fff;
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
}

.drz-sheet__row.has-value .drz-sheet__name {
    justify-content: center;
    text-align: center;
    padding-inline: 8px;
}

.drz-sheet__val {
    display: grid;
    place-items: center;
    padding-inline: 8px;
    background: #fff;
    border: 2px solid var(--orange);
    color: #313131;
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
    text-align: center;
}

.drz-sheet__figure {
    margin: 0;
    align-self: center;
}

.drz-sheet__figure img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* ---------- Variant line-up ---------- */
/* stretch, not start: a spec that wraps to two lines made its card 16px taller
   than the others, so the row of cards did not line up along the bottom. */
.drz-lineup {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    align-items: stretch;
    gap: 22px;
    margin-top: 56px;
}

.drz-air {
    background: var(--surface);
    background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 70%, var(--bg)));
    border: 2px solid transparent;
    border-radius: var(--r-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .25s ease;
}

/* The handoff lifted the highlighted card by 4px. Dropped on request: the third
   card is highlighted at rest, so the lift left it permanently out of line with
   the other two. The orange border still marks it. */
.drz-air.is-active {
    border-color: var(--orange);
}

.drz-air__head {
    padding: 14px 18px;
    text-align: center;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 12px;
    font-weight: 700;
    background: rgba(0, 0, 0, .14);
}

/* Flat #d4d4d2 stage, not a gradient — the variant shots were cut out against
   different backdrops, and multiply on a flat plate hides the seams. */
.drz-air__stage {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #d4d4d2;
}

/* Direct child only — a bare `.drz-air__stage img` also caught the arrow icons
   nested in the buttons, which collapsed them to 0×0 and made them unclickable. */
.drz-air__stage>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transform: scale(1.1);
    filter: contrast(1.04);
}

.drz-air__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    padding: 0;
    color: #313131;
    opacity: .75;
    line-height: 0;
    transition: opacity .2s ease;
}

.drz-air__arrow:hover {
    opacity: 1;
}

.drz-air__arrow.prev {
    left: 8px;
}

.drz-air__arrow.next {
    right: 8px;
}

.drz-air__arrow img {
    width: 13px;
    height: 24px;
    display: block;
}

.drz-air__arrow.prev img {
    transform: rotate(180deg);
}

.drz-air__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
}

.drz-air__badge {
    width: 74px;
    height: 62px;
    display: grid;
    place-items: center;
    background: var(--ink-dark);
    border-radius: 10px;
    color: var(--orange);
    font-size: 2rem;
}

.drz-air__variant {
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: 14px;
    text-align: right;
    color: var(--ink);
}

/* The list takes the slack from the stretched card, and the rows share it
   between them — otherwise a shorter card would end in a band of dead space
   below its last spec instead of simply having slightly roomier rows. */
.drz-air__specs {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.drz-air__specs li {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    padding: 13px 18px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--ink-dim);
    border-bottom: 1px solid var(--border);
}

/* ---------- Extra equipment tables ---------- */
.drz-extras {
    margin-top: 64px;
}

.drz-extras .drz-eyebrow {
    font-size: clamp(1.4rem, 3vw, 2.3rem);
}

.drz-extras__group {
    margin-top: 26px;
}

.drz-extras__head {
    min-height: 50px;
    display: flex;
    align-items: center;
    padding-inline: clamp(16px, 3vw, 48px);
    background: var(--orange);
    color: #fff;
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
}

.drz-extras__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 2px;
    margin: 14px clamp(0px, 3vw, 48px) 0;
    min-height: 34px;
}

.drz-extras__name,
.drz-extras__val {
    display: grid;
    place-items: center;
    padding: 6px 10px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    text-align: center;
}

.drz-extras__name {
    background: #fff;
    color: #313131;
}

.drz-extras__val {
    background: var(--bg);
    border: 2px solid #fff;
    color: var(--ink);
}

/* ---------- Media carousel (vertical shorts) ---------- */
.drz-media {
    position: relative;
    margin-top: 30px;
}

.drz-media__track {
    display: flex;
    gap: 23px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* the wide side padding is what lets the active card sit dead centre */
    padding: 4px clamp(16px, 34vw, 500px) 20px;
    scrollbar-width: none;
}

.drz-media__track::-webkit-scrollbar {
    display: none;
}

.drz-media__slide {
    flex: 0 0 min(360px, 72vw);
    scroll-snap-align: center;
    margin: 0;
    position: relative;
    aspect-ratio: 9 / 16;
    background: #b9b9b9;
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.drz-media__poster,
.drz-media__slide video,
.drz-media__slide iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    display: block;
}

.drz-media__auto {
    z-index: 0;
    pointer-events: none;
}

.drz-media__cta {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.drz-media__play {
    width: 62px;
    height: 62px;
    border-radius: 999px;
    background: none;
    border: 0;
    padding: 0;
    display: grid;
    place-items: center;
    transition: transform .25s ease;
}

.drz-media__play:hover {
    transform: scale(1.08);
}

.drz-media__play img {
    display: block;
}

.drz-media__caption {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(23, 19, 16, .55);
}

.drz-media__slide.is-playing .drz-media__cta {
    display: none;
}

/* No side arrows on the rail: the track is a native scroll-snap container, so it
   is driven by wheel, drag and swipe instead. */

/* ---------- Footer ---------- */
.drz-footer {
    position: relative;
    background: var(--orange);
    color: #fff;
    overflow: hidden;
    padding: 70px var(--gut) 34px;
}

.drz-footer__art {
    position: absolute;
    right: -30px;
    top: -20px;
    bottom: -20px;
    width: clamp(300px, 46vw, 1197px);
    background: url('/static/svg/footer-art.svg') right center / contain no-repeat;
    opacity: .5;
    pointer-events: none;
}

.drz-footer__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
}

.drz-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 26px 40px;
    max-width: 760px;
}

.drz-form input {
    background: none;
    border: 0;
    border-bottom: 2px solid rgba(255, 255, 255, .45);
    color: #fff;
    padding: 8px 2px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color .2s ease;
}

.drz-form input:focus {
    border-bottom-color: #fff;
}

.drz-form button {
    justify-self: start;
    grid-column: 1 / -1;
    background: var(--ink-dark);
    color: #fff;
    border: 0;
    border-radius: var(--r-sm);
    padding: 14px 22px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: background .2s ease;
}

.drz-form button:hover {
    background: #000;
}

.drz-footer__meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 20px;
    margin-top: 70px;
    color: rgba(255, 255, 255, .92);
    font-size: 12.5px;
    line-height: 1.8;
}

.drz-footer__meta div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.drz-footer__meta a {
    color: rgba(255, 255, 255, .92);
}

.drz-footer__meta a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ---------- Scroll reveal ----------
   The hidden state is applied by JS so a no-JS visitor still sees everything. */
.drz-reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.drz-reveal-ready [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .drz-partners__track {
        animation: none;
    }

    .drz-reveal-ready [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .drz-sheet__grid {
        gap: 28px;
    }

    .drz-band__drone {
        opacity: .35;
    }
}

@media (max-width: 640px) {
    .drz-nav {
        padding: 12px 16px;
    }

    .drz-menu {
        right: 12px;
        left: 12px;
        min-width: 0;
    }

    .drz-stat {
        padding: 24px 22px;
    }

    .drz-cookie {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .drz-extras__row {
        grid-template-columns: 1fr;
    }

    .drz-footer__meta {
        margin-top: 44px;
    }
}
