/* Amber Events: main stylesheet.
   Inter (SIL Open Font License), self-hosted and subset: Latin + Czech, Cyrillic loaded on demand. */

@font-face {
    font-family: "Inter";
    src: url(/fonts/inter-latin-cz.woff2) format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+010C-010F, U+011A-011B, U+0147-0148, U+0158-0159, U+0160-0161, U+0164-0165, U+016E-016F, U+017D-017E, U+2010-2027, U+2030-203A, U+2044, U+20AC, U+20BD, U+2116, U+2122, U+2190-2193, U+2212, U+2215;
}

@font-face {
    font-family: "Inter";
    src: url(/fonts/inter-cyrillic.woff2) format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1;
}

:root {
    --ink: #0A0A0A;
    --ink-2: #474747;
    --muted: #6B6B6B;
    --faint: #B4B4B4;
    --line: #E4E4E2;
    --line-2: #D1D1CE;
    --soft: #F5F5F3;
    --orange: #D65500;        /* brand accent: large type, icons, accents on dark */
    --orange-btn: #CC4C00;    /* button fill: white text passes WCAG AA */
    --orange-text: #B84400;   /* small orange text on light backgrounds */
    --whatsapp: #25D366;
    --header-h: 76px;
    --marquee-h: 84px;
    --sec: clamp(36px, 4.2vw, 60px);
    --pad: 24px;
    --font-accent: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

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

* {
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
}

/* Smooth scrolling only for in-page clicks: a deep link like /#contact jumps instantly on load. */
html.smooth-scroll {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-optical-sizing: auto;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
    max-width: 100%;
}

/* when a photo is trimmed to its box, its subject stays in view (the build finds it: --fx, --fy) */
img {
    object-position: var(--fx, 50%) var(--fy, 50%);
}

@media (max-width: 767px) {
    img {
        object-position: var(--mfx, var(--fx, 50%)) var(--mfy, var(--fy, 50%));
    }
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    background: none;
    border: 0;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}

[id] {
    scroll-margin-top: var(--header-h);
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 12px 20px;
    background: #fff;
    color: var(--ink);
    border-radius: 999px;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: none;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--pad);
}

/* ---------- type ---------- */

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--orange-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.eyebrow svg {
    flex: none;
    width: 12px;
    height: 12px;
}

.eyebrow-light {
    color: var(--orange);
}

.display,
.display-2,
.hero-title {
    font-weight: 600;
    text-wrap: balance;
}

.display {
    font-size: clamp(40px, 6.2vw, 92px);
    line-height: .98;
    letter-spacing: -.035em;
}

.display-2 {
    font-size: clamp(34px, 4.6vw, 64px);
    line-height: 1.02;
    letter-spacing: -.03em;
}

.section-head {
    margin-bottom: clamp(20px, 2.4vw, 32px);
}

.section-head .eyebrow {
    margin-bottom: 16px;
}

.section-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

/* ---------- buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 14px 28px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color .25s, border-color .25s, color .25s, transform .25s;
}

.btn:active {
    transform: scale(.98);
}

.btn-sm {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 12px;
}

.btn-lg {
    min-height: 58px;
    padding: 16px 32px;
    font-size: 14px;
}

.btn-primary {
    background: var(--orange-btn);
    color: #fff;
}

.btn-primary:hover {
    background: var(--orange-text);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
}

.btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .1);
}

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

.btn-wa:hover {
    background: #262626;
}

.btn-wa svg {
    width: 20px;
    height: 20px;
    color: var(--whatsapp);
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform .25s;
}

.btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* ---------- formatting from the admin panel's text editor ---------- */

/* orange that stays readable: the darker shade for small text on light backgrounds, the brand orange on dark
   sections and in large type, dark ink on orange blocks */
.tx-accent {
    color: var(--orange-text);
}

:is(.hero, .why, .scn-hero, .scn-panel, .work, .case-hero, .gallery-sec, .contact, .footer, .nav-drop, h1, h2, .display, .display-2, .rev-quote, .person-quote) .tx-accent {
    color: var(--orange);
}

:is(.case-cta, .member-cta, .marquee) .tx-accent {
    color: var(--ink);
}

.tx-serif {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
}

/* ---------- header ---------- */

.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 900;
    height: var(--header-h);
    color: #fff;
    transition: color .3s, background-color .3s, box-shadow .3s;
}

.header.is-solid {
    color: var(--ink);
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .07);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 44px;
    height: 100%;
}

.header-logo {
    flex: none;
    width: 27px;
    height: 38px;
    transition: color .25s;
}

.header-logo svg {
    width: 100%;
    height: 100%;
}

.header-logo:hover {
    color: var(--orange);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.header-nav > a,
.nav-link {
    position: relative;
    padding: 10px 0;
}

.header-nav > a::after,
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}

.header-nav > a:hover::after,
.nav-link:hover::after,
.nav-item.is-open .nav-link::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.header-phone {
    font-size: 14px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    transition: color .25s;
}

.header-phone:hover {
    color: var(--orange);
}

/* ---------- menu drop-downs (desktop): hover a section to pick a case, scenario, service, person or article ---------- */

@media (min-width: 1024px) {
    .header-nav {
        align-self: stretch;
    }

    /* the item is as tall as the header, so the mouse can travel from the word down into the panel */
    .nav-item {
        display: flex;
        align-self: stretch;
        align-items: center;
    }

    .nav-drop {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        border-top: 1px solid rgba(255, 255, 255, .08);
        background: #0A0A0A;
        box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .6);
        color: #fff;
        font-size: 15px;
        font-weight: 400;
        letter-spacing: 0;
        text-transform: none;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity .22s ease, transform .35s cubic-bezier(.2, .7, .2, 1), visibility 0s .35s;
    }

    .nav-item.is-open .nav-drop,
    html:not(.js) .nav-item:hover .nav-drop,
    html:not(.js) .nav-item:focus-within .nav-drop {
        visibility: visible;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        transition: opacity .22s ease, transform .35s cubic-bezier(.2, .7, .2, 1), visibility 0s;
    }

    /* from one panel straight to the next: no fade in between */
    .header.drop-switch .nav-drop {
        transition: none;
    }

    /* while a panel is open, the header and the panel are one dark block */
    .header.drop-open {
        color: #fff;
        background: #0A0A0A;
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .nav-drop-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 40px;
        padding-top: 28px;
        padding-bottom: 34px;
    }

    .nav-item.is-open .nav-drop-inner > div > * {
        animation: drop-in .5s cubic-bezier(.2, .7, .2, 1) both;
        animation-delay: calc(var(--k, 0) * 45ms);
    }

    @keyframes drop-in {
        from {
            opacity: 0;
            transform: translateY(12px);
        }
    }

    .drop-name {
        display: block;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.25;
        transition: color .25s;
    }

    .drop-meta {
        display: block;
        margin-top: 4px;
        color: rgba(255, 255, 255, .55);
        font-size: 13px;
        line-height: 1.4;
    }

    .drop-kicker {
        color: var(--orange);
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .14em;
        text-transform: uppercase;
    }

    /* portfolio: a photo per case, the event type in large */
    .drop-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 18px;
    }

    .drop-card {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .drop-pic {
        display: block;
        aspect-ratio: 4 / 3;
        margin-bottom: 8px;
        overflow: hidden;
        background: #1b1b1b;
    }

    .drop-pic img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .7s cubic-bezier(.2, .7, .2, 1);
    }

    /* scenarios and people: framed tiles */
    .drop-tiles {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
        gap: 12px;
    }

    .drop-tile {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 18px 20px;
        border: 1px solid rgba(255, 255, 255, .12);
        transition: border-color .25s, background-color .25s;
    }

    .drop-icon {
        flex: none;
        width: 40px;
        height: 40px;
        color: var(--orange);
    }

    .drop-face {
        display: grid;
        flex: none;
        place-items: center;
        width: 52px;
        height: 52px;
        overflow: hidden;
        border-radius: 50%;
        background: #262626;
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        letter-spacing: .04em;
    }

    .drop-face img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* services and articles: lines in columns */
    .drop-lines {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
        gap: 0 28px;
    }

    .drop-line {
        display: flex;
        gap: 14px;
        padding: 14px 0;
        border-top: 1px solid rgba(255, 255, 255, .12);
    }

    .drop-line .drop-meta {
        margin: 0 0 4px;
    }

    .drop-line .drop-name + .drop-meta {
        margin: 4px 0 0;
    }

    .drop-num {
        padding-top: 2px;
        color: var(--orange);
        font-size: 12px;
        font-weight: 600;
        letter-spacing: .08em;
        font-variant-numeric: tabular-nums;
    }

    .drop-all {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding-bottom: 6px;
        border-bottom: 1px solid rgba(255, 255, 255, .3);
        font-size: 12px;
        font-weight: 600;
        letter-spacing: .14em;
        text-transform: uppercase;
        white-space: nowrap;
        transition: color .25s, border-color .25s;
    }

    .drop-all svg {
        width: 16px;
        height: 16px;
        transition: transform .3s;
    }

    @media (hover: hover) {
        .drop-card:hover .drop-pic img {
            transform: scale(1.07);
        }

        .drop-card:hover .drop-name,
        .drop-line:hover .drop-name {
            color: var(--orange);
        }

        .drop-tile:hover {
            border-color: var(--orange);
            background: rgba(255, 255, 255, .04);
        }

        .drop-all:hover {
            border-color: var(--orange);
            color: var(--orange);
        }

        .drop-all:hover svg {
            transform: translateX(5px);
        }
    }
}

/* EN / CZ switch: in the header on desktop, in the menu on phones */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
}

.lang-switch a {
    padding: 6px 7px;
    opacity: .5;
    transition: opacity .25s, color .25s;
}

.lang-switch a:hover {
    opacity: 1;
    color: var(--orange);
}

.lang-switch a[aria-current] {
    opacity: 1;
}

.header-nav-extra .lang-switch {
    margin-left: -7px;
    font-size: 15px;
}

.header-nav-extra,
.header-burger {
    display: none;
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    display: flex;
    height: calc(100vh - var(--marquee-h));
    height: calc(100svh - var(--marquee-h));
    min-height: 600px;
    max-height: 1000px;
    background: #000;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* A tall photo in a wide frame (computers): shown whole on the right, over a blurred, darkened copy of
   itself, instead of a strip cut out of its middle. Phones get their own tall version and fill the screen. */
@media (min-width: 768px) {
    .hero-slide.is-fit::before,
    .case-hero-pic.is-fit::before {
        content: "";
        position: absolute;
        inset: -60px;
        background: var(--bg) center / cover no-repeat;
        filter: blur(38px) brightness(.5) saturate(1.1);
    }

    .hero-slide.is-fit img,
    .case-hero-pic.is-fit img {
        position: relative;
        object-fit: contain;
        object-position: 90% 50%;
    }
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .18) 26%, rgba(0, 0, 0, .42) 55%, rgba(0, 0, 0, .9) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .12) 68%);
}

.hero-cont {
    width: 100%;
    margin-top: auto;
    padding-bottom: clamp(36px, 6vh, 72px);
}

.hero-eyebrow {
    margin-bottom: 22px;
    color: rgba(255, 255, 255, .88);
}

.hero-eyebrow svg {
    color: var(--orange);
}

.hero-title {
    font-size: clamp(40px, 6.6vw, 104px);
    line-height: .94;
    letter-spacing: -.04em;
}

/* a soft shadow keeps the words readable on any photo */
.hero-eyebrow,
.hero-title,
.hero-lede {
    text-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 30px rgba(0, 0, 0, .35);
}

.hero-title-2 {
    display: block;
    color: var(--orange);
    text-wrap: balance;
}

.hero-bot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-top: clamp(24px, 4vh, 44px);
}

.hero-lede {
    max-width: 440px;
    color: rgba(255, 255, 255, .92);
    font-size: 17px;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-now {
    position: absolute;
    top: calc(var(--header-h) + 24px);
    right: max(var(--pad), calc((100vw - 1320px) / 2 + var(--pad)));
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.hero-now-caption {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .9);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-align: right;
    text-transform: uppercase;
    transition: color .25s;
}

.hero-now-caption svg {
    flex: none;
    width: 14px;
    height: 14px;
    transition: transform .3s;
}

.hero-now-caption:hover {
    color: #fff;
}

.hero-now-caption:hover svg {
    transform: translateX(4px);
}

.hero-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-arrow {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    color: #fff;
    transition: background-color .25s, border-color .25s;
}

.hero-arrow svg {
    width: 16px;
    height: 16px;
}

.hero-arrow-prev svg {
    transform: rotate(180deg);
}

.hero-arrow:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .12);
}

.hero-dots {
    display: flex;
    gap: 6px;
}

.hero-dot {
    position: relative;
    width: 40px;
    height: 24px;
}

.hero-dot::before,
.hero-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 2px;
    margin-top: -1px;
}

.hero-dot::before {
    background: rgba(255, 255, 255, .3);
    transition: background-color .25s;
}

.hero-dot::after {
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
}

.hero-dot:hover::before {
    background: rgba(255, 255, 255, .6);
}

.hero-dot.is-done::after {
    transform: scaleX(1);
}

.hero-dot.is-active::after {
    animation: hero-bar var(--slide-ms, 6000ms) linear forwards;
}

@keyframes hero-bar {
    to {
        transform: scaleX(1);
    }
}

/* ---------- marquee ---------- */

.marquee {
    display: flex;
    align-items: center;
    height: var(--marquee-h);
    overflow: hidden;
    background: var(--orange);
    color: var(--ink);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 42s linear infinite;
}

/* only with a mouse: on a phone a touch would leave the line paused (iOS keeps :hover after a tap) */
@media (hover: hover) {
    .marquee:hover .marquee-track {
        animation-play-state: paused;
    }
}

.marquee-set {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-right: 28px;
}

.marquee-set span {
    font-size: clamp(26px, 3.1vw, 44px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.marquee-set svg {
    flex: none;
    width: 26px;
    height: 25px;
}

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

/* ---------- why us + how it works ---------- */

.why {
    padding: var(--sec) 0;
    background: #000;
    color: #fff;
}

.why-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
    gap: 24px clamp(40px, 6vw, 96px);
    align-items: end;
}

.why-head .eyebrow {
    margin-bottom: 24px;
}

.why-title span {
    color: rgba(255, 255, 255, .34);
}

.why-lede {
    color: #B3B3B3;
    font-size: clamp(17px, 1.35vw, 19px);
    line-height: 1.6;
}

.why-points {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    margin-top: clamp(28px, 3.5vw, 44px);
    list-style: none;
}

.why-point {
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.why-point h3 {
    margin-bottom: 10px;
    font-size: clamp(18px, 1.4vw, 20px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.01em;
}

.why-point p {
    color: #999;
    font-size: 15px;
    line-height: 1.6;
}

.why-how-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin: clamp(28px, 3.5vw, 44px) 0 clamp(16px, 1.8vw, 22px);
}

.why-how-title {
    color: var(--orange);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.why-steps-scroller {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--pad);
}

.why-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
}

.step-card {
    position: relative;
    display: flex;
    flex-direction: column;
    aspect-ratio: 3 / 4;
    padding: clamp(18px, 1.8vw, 26px);
    overflow: hidden;
    background: #111;
    isolation: isolate;
}

.step-card img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.step-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .5) 42%, rgba(0, 0, 0, .12) 72%, rgba(0, 0, 0, .4) 100%);
}

.step-num {
    font-size: clamp(44px, 3.8vw, 58px);
    font-weight: 200;
    line-height: 1;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}

.step-body {
    margin-top: auto;
}

.step-body h3 {
    margin-bottom: 8px;
    font-size: clamp(22px, 1.9vw, 26px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.step-body p {
    color: rgba(255, 255, 255, .8);
    font-size: 15px;
    line-height: 1.5;
}

@media (hover: hover) {
    .step-card:hover img {
        transform: scale(1.06);
    }
}

/* ---------- services: numbered index list ---------- */

.services {
    padding: var(--sec) 0;
    background: var(--soft);
}

.svc-list {
    border-top: 1px solid var(--line-2);
}

.svc {
    border-bottom: 1px solid var(--line-2);
}

.svc-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto 30px;
    align-items: center;
    gap: 20px;
    padding: clamp(20px, 2.4vw, 30px) 0;
    cursor: pointer;
    list-style: none;
}

.svc-row::-webkit-details-marker {
    display: none;
}

.svc-row:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 4px;
}

.svc-num {
    color: var(--orange-text);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    font-variant-numeric: tabular-nums;
}

.svc-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 28px;
    min-width: 0;
}

.svc-name {
    font-size: clamp(30px, 3.6vw, 52px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.03em;
    transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.svc-tags {
    color: var(--muted);
    font-size: 14px;
}

/* Desktop: a small preview slides in when you hover a closed row. */
.svc-thumb {
    width: 132px;
    height: 84px;
    object-fit: cover;
    opacity: 0;
    transform: translateX(-12px) scale(.96);
    transition: opacity .35s, transform .45s cubic-bezier(.2, .7, .2, 1);
}

.svc-plus {
    position: relative;
    width: 30px;
    height: 30px;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    transition: background-color .3s, border-color .3s, color .3s;
}

.svc-plus::before,
.svc-plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1.5px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform .35s;
}

.svc-plus::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.svc[open] .svc-plus {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.svc[open] .svc-plus::after {
    transform: translate(-50%, -50%);
}

.svc-body {
    display: grid;
    grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 64px);
    align-items: end;
    padding: 0 0 clamp(24px, 3vw, 40px) 76px;
}

.svc-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #111;
}

.svc-copy p {
    max-width: 46ch;
    color: var(--ink-2);
    font-size: 17px;
}

.svc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--orange-text);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.svc-link svg {
    width: 18px;
    height: 18px;
    transition: transform .3s;
}

@media (prefers-reduced-motion: no-preference) {
    .svc[open] .svc-body {
        animation: svc-open .5s cubic-bezier(.2, .7, .2, 1);
    }
}

@keyframes svc-open {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (hover: hover) {
    .svc-row:hover .svc-name {
        transform: translateX(8px);
    }

    .svc:not([open]) .svc-row:hover .svc-thumb {
        opacity: 1;
        transform: none;
    }

    .svc-link:hover svg {
        transform: translateX(6px);
    }
}

@media (hover: none) {
    .svc-thumb {
        display: none;
    }
}

/* ---------- clients: endless logo strip ---------- */

.clients {
    padding: 26px 0 30px;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.clients-title {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2em;
    text-align: center;
    text-transform: uppercase;
}

.logos {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.logos-track {
    display: flex;
    width: max-content;
    animation: marquee 45s linear infinite;
}

@media (hover: hover) {
    .logos:hover .logos-track {
        animation-play-state: paused;
    }
}

.logos-set {
    display: flex;
    align-items: center;
    gap: clamp(40px, 6vw, 88px);
    padding-right: clamp(40px, 6vw, 88px);
}

.logo {
    display: flex;
    flex: none;
    align-items: center;
    height: 48px;
}

.logo img {
    width: auto;
    height: 40px;
    max-width: 170px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .65;
    transition: filter .3s, opacity .3s;
}

.logo:hover img {
    filter: none;
    opacity: 1;
}

.logo-placeholder span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 44px;
    border: 1px dashed var(--line-2);
    border-radius: 8px;
    color: var(--faint);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

/* ---------- scenarios: story cards ---------- */

.scenarios {
    padding: var(--sec) 0;
}

.section-lede {
    max-width: 420px;
    color: var(--ink-2);
    font-size: 17px;
}

.scn-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.scn-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 360px;
    padding: clamp(24px, 2.6vw, 36px);
    overflow: hidden;
    background: var(--ink);
    color: #fff;
    isolation: isolate;
    transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}

.scn-card::after {
    content: "";
    position: absolute;
    top: -35%;
    right: -35%;
    z-index: -1;
    width: 80%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(214, 80, 0, .42), rgba(214, 80, 0, 0));
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.scn-card-icon {
    flex: none;
    width: 68px;
    height: 68px;
    margin-bottom: auto;
    color: var(--orange);
}

.scn-card-meta {
    margin-top: 32px;
    color: #A3A3A3;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.scn-card-name {
    font-size: clamp(32px, 3.2vw, 46px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.035em;
}

.scn-card-hook {
    color: #CFCFCF;
    font-size: 16px;
    line-height: 1.55;
}

.scn-card-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.scn-card-more svg {
    width: 18px;
    height: 18px;
    transition: transform .3s;
}

@media (hover: hover) {
    a.scn-card:hover {
        transform: translateY(-4px);
    }

    a.scn-card:hover::after {
        transform: scale(1.35);
    }

    a.scn-card:hover .scn-card-more svg {
        transform: translateX(6px);
    }
}

/* Home page: all scenarios in one row. The active panel opens wide; the others stay narrow. */
.scn-row {
    display: flex;
    gap: 12px;
    height: clamp(400px, 34vw, 460px);
}

.scn-panel {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    background: var(--ink);
    color: #fff;
    isolation: isolate;
    transition: flex-grow .7s cubic-bezier(.2, .7, .2, 1), flex-basis .7s cubic-bezier(.2, .7, .2, 1);
}

.scn-panel.is-active {
    flex-grow: 2.4;
}

.scn-panel::after {
    content: "";
    position: absolute;
    top: -35%;
    right: -35%;
    z-index: -1;
    width: 80%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(214, 80, 0, .42), rgba(214, 80, 0, 0));
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.scn-panel.is-active::after {
    transform: scale(1.35);
}

.scn-panel-art {
    position: absolute;
    top: 50%;
    right: clamp(24px, 4vw, 64px);
    z-index: -1;
    width: clamp(150px, 19vw, 250px);
    height: auto;
    color: var(--orange);
    opacity: 0;
    transform: translateY(-50%) scale(.9);
    transition: opacity .4s, transform .8s cubic-bezier(.2, .7, .2, 1);
}

.scn-panel.is-active .scn-panel-art {
    opacity: .2;
    transform: translateY(-50%);
    transition-delay: .25s;
}

.scn-panel-mini,
.scn-panel-full {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: clamp(22px, 2.4vw, 34px);
}

.scn-panel-mini {
    justify-content: space-between;
    transition: opacity .3s .3s;
}

.scn-panel.is-active .scn-panel-mini {
    opacity: 0;
    transition-delay: 0s;
}

.scn-panel-mini-icon {
    width: 52px;
    height: 52px;
    color: var(--orange);
}

.scn-panel-vname {
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.03em;
    transition: color .3s;
}

.scn-panel-full {
    gap: 12px;
    opacity: 0;
    transition: opacity .2s;
}

.scn-panel.is-active .scn-panel-full {
    opacity: 1;
    transition: opacity .45s .35s;
}

.scn-panel-full .scn-card-hook {
    max-width: 46ch;
}

@media (hover: hover) {
    .scn-panel:not(.is-active):hover .scn-panel-vname {
        color: var(--orange);
    }

    .scn-panel.is-active:hover .scn-card-more svg {
        transform: translateX(6px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .scn-panel,
    .scn-panel *,
    .scn-panel::after {
        transition: none !important;
    }
}

.scn-soon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-top: 20px;
    padding: 18px 22px;
    border: 1px dashed var(--line-2);
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.5;
}

.scn-soon > svg {
    flex: none;
    width: 14px;
    height: 14px;
    color: var(--orange);
}

.scn-soon span {
    flex: 1 1 320px;
}

.scn-soon strong {
    color: var(--ink);
    font-weight: 600;
}

.scn-soon a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange-text);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.scn-soon a svg {
    width: 18px;
    height: 18px;
}

.scn-more {
    background: var(--soft);
}

/* ---------- scenario pages ---------- */

.scn-hero {
    position: relative;
    padding: calc(var(--header-h) + 36px) 0 clamp(44px, 5vw, 72px);
    overflow: hidden;
    background: var(--ink);
    color: #fff;
    isolation: isolate;
}

.scn-hero::before {
    content: "";
    position: absolute;
    right: -15%;
    bottom: -45%;
    z-index: -1;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(214, 80, 0, .35), rgba(214, 80, 0, 0));
}

.scn-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.scn-hero .eyebrow {
    margin-bottom: 18px;
}

.scn-title {
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 600;
    line-height: .92;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.scn-hook {
    max-width: 44ch;
    margin-top: 22px;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.5;
}

.scn-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 44px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #2A2A2A;
}

.scn-hero-facts dt {
    color: #9A9A9A;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.scn-hero-facts dd {
    margin-top: 4px;
    font-size: 17px;
    font-weight: 500;
}

.scn-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.scn-hero-art {
    justify-self: end;
    width: 100%;
    max-width: 360px;
    color: var(--orange);
    stroke-width: 1.3;
}

.scn-story p {
    max-width: 62ch;
    color: var(--ink-2);
    font-size: 17px;
}

.scn-story p + p {
    margin-top: 14px;
}

.scn-story .scn-story-lede {
    max-width: 34ch;
    color: var(--ink);
    font-size: clamp(21px, 2vw, 28px);
    line-height: 1.4;
    letter-spacing: -.01em;
}

.scn-stages {
    border-top: 1px solid var(--line);
}

.scn-stages li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.scn-stage-num {
    padding-top: 4px;
    color: var(--orange-text);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    font-variant-numeric: tabular-nums;
}

.scn-stages h3 {
    margin-bottom: 4px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.scn-stages p {
    color: var(--ink-2);
    font-size: 16px;
}

.scn-incl-h {
    margin: 26px 0 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.scn-incl {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.scn-incl li {
    padding: 7px 13px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    font-size: 14px;
    line-height: 18px;
}

.scn-aside-cta {
    width: 100%;
    margin-top: 24px;
}

.scn-aside-note {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
}

/* ---------- budget calculator ---------- */

.calc {
    padding: var(--sec) 0;
    background: var(--soft);
}

.calc-nojs {
    padding: 20px 22px;
    border: 1px solid var(--line);
    background: #fff;
}

.calc-nojs a {
    color: var(--orange-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.js .calc-nojs,
html:not(.js) .calc-grid,
html:not(.js) .calc-mini {
    display: none;
}

.calc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 24px;
    align-items: start;
}

.calc-controls {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: clamp(22px, 2.8vw, 36px);
    border: 1px solid var(--line);
    background: #fff;
}

.calc-field {
    min-width: 0;
    border: 0;
}

.calc-fold {
    display: none;
}

.calc-field legend,
.calc-label {
    display: block;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.calc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.calc-chip {
    position: relative;
}

.calc-chip input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.calc-chip span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: #fff;
    font-size: 15px;
    line-height: 1.3;
    transition: background-color .2s, border-color .2s, color .2s;
}

@media (hover: hover) {
    .calc-chip:hover span {
        border-color: #9A9A9A;
    }
}

.calc-chip input:checked + span {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.calc-chip input[type="checkbox"]:checked + span::before {
    content: "";
    width: 10px;
    height: 6px;
    margin-right: 10px;
    border-bottom: 2px solid var(--orange);
    border-left: 2px solid var(--orange);
    transform: translateY(-2px) rotate(-45deg);
}

.calc-chip input:focus-visible + span {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

.calc-range {
    display: flex;
    align-items: center;
    gap: 18px;
}

.calc-range input[type="range"] {
    flex: 1;
    height: 28px;
    accent-color: var(--orange);
    cursor: pointer;
}

.calc-range output {
    min-width: 64px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -.02em;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.calc-tiers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.calc-tier {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 14px 16px;
    border: 1px solid var(--line-2);
    border-radius: 12px;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s;
}

.calc-tier input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.calc-tier-name {
    font-size: 16px;
    font-weight: 600;
}

.calc-tier-note {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.calc-tier-price {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

@media (hover: hover) {
    .calc-tier:hover {
        border-color: #9A9A9A;
    }
}

.calc-tier:has(input:checked) {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.calc-tier:has(input:checked) .calc-tier-note {
    color: #A3A3A3;
}

.calc-tier:has(input:checked) .calc-tier-price {
    color: var(--orange);
}

.calc-tier:has(input:focus-visible) {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

.calc-result {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    padding: clamp(24px, 2.6vw, 34px);
    background: var(--ink);
    color: #fff;
}

.calc-result-label {
    color: #A3A3A3;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.calc-total {
    margin-top: 10px;
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}

.calc-to,
.calc-cur {
    color: #8A8A8A;
    font-weight: 500;
}

.calc-cur {
    font-size: .6em;
}

.calc-pp {
    margin-top: 8px;
    color: #BDBDBD;
    font-size: 15px;
}

.calc-pp strong {
    color: var(--orange);
    font-weight: 600;
}

.calc-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #2A2A2A;
}

.calc-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
    font-size: 14px;
}

.calc-bar-name {
    color: #BDBDBD;
}

.calc-bar-val {
    font-variant-numeric: tabular-nums;
}

.calc-bar-val span {
    margin-left: 6px;
    color: #8A8A8A;
}

.calc-bar-track {
    grid-column: 1 / -1;
    height: 6px;
    overflow: hidden;
    border-radius: 3px;
    background: #262626;
}

.calc-bar-fill {
    display: block;
    height: 100%;
    border-radius: 0 3px 3px 0;
    background: var(--orange);
    transition: width .25s;
}

.calc-note {
    margin-top: 18px;
    padding: 12px 14px;
    border-left: 2px solid var(--orange);
    background: rgba(214, 80, 0, .14);
    color: #F0F0F0;
    font-size: 14px;
    line-height: 1.5;
}

.calc-cta {
    width: 100%;
    margin-top: 24px;
}

.calc-fine {
    margin-top: 12px;
    color: #8A8A8A;
    font-size: 13px;
    line-height: 1.5;
}

.calc-mini {
    display: none;
}

/* ---------- work (portfolio) ---------- */

.work {
    padding: var(--sec) 0;
    background: #000;
    color: #fff;
}

.work-counter {
    display: none;
}

.work-scroller {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--pad);
}

.work-bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(200px, 17vw, 250px);
    gap: 16px;
}

.case-card {
    position: relative;
    display: block;
    overflow: hidden;
    background: #111;
    color: #fff;
    isolation: isolate;
}

.case-card img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.case-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .3) 55%, rgba(0, 0, 0, .05) 100%);
}

.case-card-lg {
    grid-column: span 2;
    grid-row: span 2;
}

.case-card-body {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: clamp(16px, 1.8vw, 26px);
}

.case-card-meta {
    color: rgba(255, 255, 255, .82);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.case-card-client {
    font-size: clamp(20px, 1.8vw, 26px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.02em;
}

.case-card-lg .case-card-client {
    font-size: clamp(28px, 3.2vw, 48px);
}

.case-card-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.case-card-more svg {
    width: 18px;
    height: 18px;
    transition: transform .3s;
}

@media (hover: hover) {
    .case-card:hover img {
        transform: scale(1.06);
    }

    .case-card:hover .case-card-more svg {
        transform: translateX(6px);
    }
}

/* ---------- case pages ---------- */

.case-hero {
    position: relative;
    display: flex;
    min-height: min(78vh, 760px);
    min-height: min(78svh, 760px);
    background: #000;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.case-hero-pic {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.case-hero-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 30%, rgba(0, 0, 0, .45) 62%, rgba(0, 0, 0, .9) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 70%);
}

.case-hero-cont {
    width: 100%;
    margin-top: auto;
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: clamp(40px, 6vh, 72px);
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
}

.crumbs a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.case-hero .eyebrow {
    margin-bottom: 16px;
}

.case-title {
    font-size: clamp(44px, 7.4vw, 112px);
    font-weight: 600;
    line-height: .95;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.case-type {
    margin-top: 12px;
    color: var(--orange);
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 500;
}

.case-hero-view {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 11px 18px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    background: rgba(10, 10, 10, .35);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .25s, color .25s, border-color .25s;
}

.case-hero-view svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.case-hero-view span {
    color: var(--orange);
}

@media (hover: hover) {
    .case-hero-view:hover {
        border-color: #fff;
        background: #fff;
        color: var(--ink);
    }
}

/* the photo carousel and "More projects" are both dark on a case page: a hairline keeps them apart */
.gallery-sec + .case-more {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.case-body {
    padding: var(--sec) 0;
}

.case-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}

.case-h {
    margin-bottom: 14px;
    color: var(--orange-text);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.case-h:not(:first-child) {
    margin-top: 34px;
}

.case-lede {
    max-width: 34ch;
    font-size: clamp(21px, 2vw, 28px);
    line-height: 1.4;
    letter-spacing: -.01em;
}

.case-handled {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 28px;
}

.case-handled li {
    position: relative;
    padding-left: 28px;
    font-size: 17px;
    line-height: 1.45;
}

.case-handled li::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 2px;
    width: 13px;
    height: 7px;
    border-bottom: 2px solid var(--orange);
    border-left: 2px solid var(--orange);
    transform: rotate(-45deg);
}

.case-inline-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-top: 34px;
    padding: 26px 28px;
    background: var(--soft);
}

.case-inline-cta p {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.case-facts {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    border-top: 2px solid var(--ink);
}

.case-facts dl > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.case-facts dt {
    color: var(--muted);
    font-size: 14px;
}

.case-facts dd {
    font-size: 15px;
    font-weight: 600;
    text-align: right;
}

.case-more-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.case-more-grid .case-card {
    aspect-ratio: 4 / 5;
}

.case-cta {
    padding: var(--sec) 0;
    background: var(--orange);
    color: var(--ink);
}

.case-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.case-cta .display-2 span {
    color: #fff;
}

.case-cta p {
    max-width: 520px;
    font-size: 18px;
}

.case-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.case-cta .btn-primary {
    background: var(--ink);
}

.case-cta .btn-primary:hover {
    background: #262626;
}

.case-cta .btn-ghost {
    border-color: var(--ink);
    color: var(--ink);
}

.case-cta .btn-ghost:hover {
    background: rgba(0, 0, 0, .08);
}

.footer-mini {
    padding: 0 0 40px;
}

.footer-mini .footer-bot {
    margin-top: 0;
    padding-top: 32px;
    border-top: 0;
}

/* ---------- brief button under the steps ---------- */

.process-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-top: clamp(20px, 2.6vw, 32px);
}

.process-cta p {
    color: #8A8A8A;
    font-size: 15px;
}

/* ---------- reviews: a stack of event photos that reshuffles (after Aceternity's Animated Testimonials),
   the key line appears word by word; the full text opens in a window ---------- */

.reviews {
    padding: calc(var(--sec) * .8) 0;
    border-top: 1px solid var(--line);
    overflow-x: clip;
}

.rev-wrap {
    --card-w: clamp(220px, 23vw, 290px);
    --card-h: calc(var(--card-w) * 1.2);
    --rev-ms: 6500ms;
    display: grid;
    grid-template-columns: minmax(0, 1fr) calc(var(--card-w) + 120px);
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "head stack"
        "slides stack"
        "controls stack";
    column-gap: clamp(32px, 6vw, 96px);
}

.rev-head {
    grid-area: head;
}

.rev-head .eyebrow {
    margin-bottom: 12px;
}

.rev-title {
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.02em;
}

/* the photo stack: every photo lies at a tilt, the active one is lifted out and put on top in colour */
.rev-stack {
    grid-area: stack;
    align-self: center;
    position: relative;
    height: var(--card-h);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.rev-card {
    position: absolute;
    top: 0;
    left: calc(50% - var(--card-w) / 2);
    width: var(--card-w);
    height: var(--card-h);
    overflow: hidden;
    background: var(--soft);
    transform-origin: 50% 100%;
    rotate: var(--r, 0deg);
    scale: .94;
    filter: grayscale(1) brightness(1.04);
    transition: rotate .7s cubic-bezier(.3, .7, .3, 1), scale .7s cubic-bezier(.3, .7, .3, 1), filter .7s ease, box-shadow .7s ease;
}

.rev-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rev-card.is-active {
    rotate: 0deg;
    scale: 1;
    filter: none;
    box-shadow: 0 28px 60px -22px rgba(10, 10, 10, .55);
}

/* every review sits in the same grid cell, so the block is as tall as the longest one and never jumps */
.rev-slides {
    grid-area: slides;
    align-self: center;
    display: grid;
    margin: clamp(22px, 3vw, 36px) 0;
}

.rev-slide {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s ease, visibility 0s .3s;
}

.rev-slide.is-active {
    visibility: visible;
    opacity: 1;
    transition: opacity .3s ease, visibility 0s;
}

.rev-quote {
    max-width: 22em;
    font-size: clamp(22px, 2.6vw, 36px);
    font-weight: 500;
    line-height: 1.22;
    letter-spacing: -.02em;
    text-wrap: pretty;
}

.rev-quote::before {
    content: "“";
    margin-right: .06em;
    color: var(--orange);
    font-weight: 600;
}

/* inline, so a comma after a coloured or bold word never wraps to a line of its own */
.rev-w {
    display: inline;
}

.rev-who {
    color: var(--muted);
    font-size: 14px;
}

.rev-who strong {
    color: var(--ink);
    font-weight: 600;
}

.rev-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--orange-text);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
}

.rev-more svg {
    width: 18px;
    height: 18px;
    transition: transform .3s;
}

.rev-controls {
    grid-area: controls;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rev-arrow {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    background: none;
    color: var(--ink);
    cursor: pointer;
    transition: background-color .25s, color .25s, border-color .25s;
}

.rev-arrow svg {
    width: 16px;
    height: 16px;
}

.rev-arrow-prev svg {
    transform: rotate(180deg);
}

/* 01 ━━━ 03: the bar fills while a review is shown; when it is full, the next one comes in */
.rev-count {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 14px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    font-variant-numeric: tabular-nums;
}

.rev-count [data-now] {
    color: var(--ink);
}

.rev-bar {
    position: relative;
    width: 72px;
    height: 2px;
    overflow: hidden;
    background: var(--line-2);
}

.rev-bar i {
    position: absolute;
    inset: 0;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: 0 50%;
}

.rev-wrap.is-auto .rev-bar i.is-running {
    animation: rev-fill var(--rev-ms) linear forwards;
}

.rev-wrap.is-paused .rev-bar i,
.rev-wrap.is-off .rev-bar i {
    animation-play-state: paused;
}

@keyframes rev-fill {
    to {
        transform: scaleX(1);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .js .rev-card.is-active {
        animation: rev-lift .7s cubic-bezier(.3, .7, .3, 1);
    }

    .rev-slide.is-active .rev-w {
        animation: rev-word .6s cubic-bezier(.2, .7, .2, 1) both;
        animation-delay: calc(.2s + var(--i) * 45ms);
    }

    .js .rev-slide.is-active .rev-who,
    .js .rev-slide.is-active .rev-more {
        animation: rev-rise .6s cubic-bezier(.2, .7, .2, 1) .5s both;
    }

    /* the first review starts to appear only when the block scrolls into view */
    .js .rev-wrap:not(.is-visible) .rev-w,
    .js .rev-wrap:not(.is-visible) .rev-who,
    .js .rev-wrap:not(.is-visible) .rev-more {
        animation-play-state: paused;
    }

    @keyframes rev-lift {
        45% {
            translate: 0 -16%;
        }
    }

    @keyframes rev-word {
        from {
            opacity: 0;
            filter: blur(10px);
            translate: 0 8px;
        }
    }

    @keyframes rev-rise {
        from {
            opacity: 0;
            translate: 0 8px;
        }
    }
}

@media (hover: hover) {
    .rev-more:hover svg {
        transform: translateX(6px);
    }

    .rev-arrow:hover {
        border-color: var(--ink);
        background: var(--ink);
        color: #fff;
    }
}

.rev-dialog {
    width: min(680px, calc(100vw - 32px));
    max-height: calc(100dvh - 48px);
    margin: auto;
    padding: clamp(28px, 4vw, 48px);
    overflow-y: auto;
    border: 0;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .45);
}

.rev-dialog::backdrop {
    background: rgba(10, 10, 10, .74);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.rev-dialog-quote {
    margin: 12px 56px 22px 0;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.rev-dialog-text p {
    color: var(--ink-2);
    font-size: 17px;
}

.rev-dialog-text p + p {
    margin-top: 14px;
}

.rev-dialog .rev-who {
    padding-left: 0;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

/* ---------- team ---------- */

.team {
    padding: var(--sec) 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.member {
    display: flex;
    flex-direction: column;
    color: inherit;
}

.member-pic {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--line);
}

.member-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05);
    transition: filter .5s, transform .7s cubic-bezier(.2, .7, .2, 1);
}

.member-pic.is-empty {
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 75% 85%, rgba(214, 80, 0, .35), rgba(214, 80, 0, 0) 60%), #111;
}

.member-pic.is-empty span {
    color: var(--orange);
    font-size: clamp(56px, 6vw, 88px);
    font-weight: 600;
    letter-spacing: -.04em;
}

.member-cap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 14px;
}

.member-cap strong {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.member-cap span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}

.member-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: var(--orange-text);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.member-more svg {
    width: 16px;
    height: 16px;
    transition: transform .3s;
}

@media (hover: hover) {
    .member:hover .member-pic img {
        filter: none;
        transform: scale(1.04);
    }

    .member:hover .member-more svg {
        transform: translateX(5px);
    }
}

.member-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    aspect-ratio: 4 / 5;
    padding: clamp(20px, 2.2vw, 28px);
    background: var(--orange);
    color: var(--ink);
    transition: background-color .35s, color .35s;
}

.member-cta-kicker {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.member-cta strong {
    margin-top: auto;
    font-size: clamp(24px, 2.3vw, 32px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.025em;
}

.member-cta-text {
    font-size: 15px;
    line-height: 1.45;
}

.member-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.member-cta-link svg {
    width: 18px;
    height: 18px;
    transition: transform .3s;
}

.member-cta:hover {
    background: var(--ink);
    color: #fff;
}

.member-cta:hover .member-cta-link svg {
    transform: translateX(6px);
}

/* full-screen profile (dialog) */

.person {
    width: min(1180px, calc(100vw - 48px));
    max-width: none;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .45);
}

.person::backdrop {
    background: rgba(10, 10, 10, .74);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.person[open] {
    animation: person-in .5s cubic-bezier(.2, .7, .2, 1);
}

@keyframes person-in {
    from {
        opacity: 0;
        transform: translateY(28px) scale(.985);
    }
}

body:has(.person[open]) {
    overflow: hidden;
}

.person-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    min-height: min(680px, calc(100dvh - 48px));
}

.person-photo {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    background: #0A0A0A;
}

.person-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .9s ease, transform 4.5s ease-out;
}

/* the portrait and the work photos take turns; the one on show drifts a little closer */
.person-photo img.is-active {
    opacity: 1;
    transform: scale(1);
}

.person-photo[data-person-photos] {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.pp-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 1;
    display: flex;
    gap: 6px;
    translate: -50% 0;
}

.pp-dot {
    width: 26px;
    height: 20px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.pp-dot::before {
    content: "";
    display: block;
    height: 2px;
    background: rgba(255, 255, 255, .45);
    box-shadow: 0 0 6px rgba(0, 0, 0, .35);
    transition: background-color .3s;
}

.pp-dot.is-active::before {
    background: #fff;
}

.person-photo-ph {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 70% 85%, rgba(214, 80, 0, .38), rgba(214, 80, 0, 0) 60%), #111;
    color: rgba(255, 255, 255, .5);
    font-size: clamp(96px, 12vw, 160px);
    font-weight: 200;
    line-height: 1;
}

.person-body {
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    padding: clamp(32px, 4vw, 56px);
    overflow-y: auto;
}

.person-body:focus {
    outline: none;
}

.person-name {
    margin-top: 12px;
    font-size: clamp(44px, 5vw, 72px);
    font-weight: 600;
    line-height: .95;
    letter-spacing: -.04em;
}

.person-quote {
    position: relative;
    margin: 30px 0 6px;
    padding-left: 30px;
    font-size: clamp(20px, 1.9vw, 26px);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -.01em;
}

.person-quote::before {
    content: "\201C";
    position: absolute;
    top: -16px;
    left: -4px;
    color: var(--orange);
    font-size: 68px;
    font-weight: 600;
    line-height: 1;
}

.person-h {
    margin: 28px 0 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.person-body p,
.person-exp {
    color: var(--ink-2);
    font-size: 16px;
}

.person-exp {
    padding-left: 18px;
    list-style: disc;
}

.person-exp li + li {
    margin-top: 4px;
}

.person-actions {
    margin-top: 32px;
}

.person-page-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: color .25s;
}

.person-page-link svg {
    width: 16px;
    height: 16px;
}

.person-page-link:hover {
    color: var(--ink);
}

.person-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
    transition: transform .25s;
}

.person-close span::before,
.person-close span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 1.5px;
    background: var(--ink);
    transform: translate(-50%, -50%) rotate(45deg);
}

.person-close span::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.person-close:hover {
    transform: rotate(90deg);
}

.ph {
    color: var(--muted);
    font-style: italic;
    font-weight: 400;
}

/* profile page */

.person-hero {
    padding: calc(var(--header-h) + 32px) 0 var(--sec);
}

.crumbs-dark {
    color: var(--muted);
}

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

.person-inner-page {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
    min-height: 0;
    margin-top: 24px;
}

.person-inner-page .person-photo {
    min-height: 0;
    aspect-ratio: 4 / 5;
}

.person-inner-page .person-body {
    max-height: none;
    padding: 0;
    overflow: visible;
}

/* ---------- scenario gallery ---------- */

.gallery-sec {
    padding: var(--sec) 0;
    background: var(--ink);
    color: #fff;
    overflow-x: clip;
}

.gal-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: clamp(16px, 2.5vw, 32px);
}

.gal-nav {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
}

.gal-count {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 14px;
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    font-variant-numeric: tabular-nums;
}

.gal-count [data-gal-now] {
    color: #fff;
}

.gal-count i {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, .3);
}

.gal-arrow {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: none;
    color: #fff;
    cursor: pointer;
    transition: background-color .25s, color .25s, border-color .25s;
}

.gal-arrow svg {
    width: 18px;
    height: 18px;
}

.gal-arrow-prev svg,
.lb-prev svg {
    transform: rotate(180deg);
}

/* without JS: a plain row that scrolls sideways */
.gal {
    --gh: min(40vw, 520px);   /* the tallest a photo gets */
    --gmax: min(64vw, 860px); /* the widest a photo gets */
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    padding: 0 var(--pad);
    scroll-snap-type: x mandatory;
    -webkit-user-select: none;
    user-select: none;
}

/* every photo in its own shape: a tall one is narrow, a wide one is wide */
.gal-slide {
    position: relative;
    flex: 0 0 auto;
    width: min(calc(var(--gh) * var(--ar, 1.5)), var(--gmax));
    aspect-ratio: var(--ar, 1.5);
    overflow: hidden;
    background: #1b1b1b;
    scroll-snap-align: center;
    -webkit-user-drag: none;
}

.gal-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* with JS: a cover flow, the photo in the middle faces you, the others turn away and sink back */
/* all photos share one grid cell, centred; the script moves them sideways with transforms */
.gal.is-3d {
    position: relative;
    display: grid;
    place-items: center;
    height: calc(var(--gh) + 56px);
    padding: 0;
    overflow: hidden;
    overflow: clip; /* not a scroll box: the browser must never scroll the row sideways under the transforms */
    perspective: 1400px;
    cursor: grab;
    touch-action: pan-y;
    outline-offset: -4px;
}

.gal.is-3d.is-dragging {
    cursor: grabbing;
}

.gal.is-3d .gal-slide {
    grid-area: 1 / 1;
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
    will-change: transform, opacity;
}

/* a little parallax: the picture drifts inside its frame as the frame turns; the middle one is shown whole */
.gal.is-3d .gal-slide img {
    transform: translateX(calc(var(--p, 0) * -4%)) scale(calc(1 + var(--s, 0) * .08));
}

.gal.is-3d .gal-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    opacity: calc(var(--a, 0) * .32);
    pointer-events: none;
}

.gal-hint {
    display: none;
    margin-top: 14px;
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
}

/* the round "Drag / Open" label that follows the mouse over the photos */
.gal-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 850;
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    margin: -46px 0 0 -46px;
    border-radius: 50%;
    background: var(--orange-btn);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    pointer-events: none;
    opacity: 0;
    scale: .3;
    transition: opacity .25s, scale .35s cubic-bezier(.3, .7, .3, 1);
}

.gal-cursor.is-on {
    opacity: 1;
    scale: 1;
}

.gal-cursor.is-small {
    scale: .45;
}

@media (hover: hover) and (pointer: fine) {
    .gal.is-3d.has-cursor {
        cursor: none;
    }
}

@media (hover: hover) {
    .gal-arrow:hover,
    .lb-arrow:hover {
        border-color: #fff;
        background: #fff;
        color: var(--ink);
    }
}

@media (hover: none) {
    .gal-hint {
        display: block;
    }
}

/* ---------- full-screen photo viewer ---------- */

html.lb-open {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #080808;
    color: #fff;
}

.lightbox::backdrop {
    background: transparent;
}

.lightbox[open] {
    display: flex;
    flex-direction: column;
    animation: lb-fade .35s ease;
}

.lb-stage {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 72px 96px 8px;
    touch-action: pinch-zoom;
}

.lb-img {
    max-width: 100%;
    max-height: calc(100dvh - 190px);
    object-fit: contain;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    transition: translate .3s cubic-bezier(.2, .7, .2, 1);
}

.lb-stage.is-dragging .lb-img {
    transition: none;
}

.lb-img.is-in {
    animation: lb-in .45s cubic-bezier(.2, .7, .2, 1);
}

.lb-arrow {
    position: absolute;
    top: calc(50% - 60px);
    left: 24px;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    color: #fff;
    cursor: pointer;
    transition: background-color .25s, color .25s, border-color .25s;
}

.lb-arrow svg {
    width: 20px;
    height: 20px;
}

.lb-arrow[data-lb-next] {
    right: 24px;
    left: auto;
}

.lb-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 14px 16px 22px;
}

.lb-count {
    flex-shrink: 0;
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    font-variant-numeric: tabular-nums;
}

.lb-count [data-lb-now] {
    color: #fff;
}

.lb-thumbs {
    position: relative;
    display: flex;
    gap: 8px;
    max-width: min(720px, 100%);
    overflow-x: auto;
    scrollbar-width: none;
}

.lb-thumb {
    flex: 0 0 56px;
    height: 56px;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #1b1b1b;
    opacity: .4;
    cursor: pointer;
    transition: opacity .25s, box-shadow .25s;
}

.lb-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lb-thumb.is-active {
    opacity: 1;
    box-shadow: inset 0 0 0 2px var(--orange);
}

.lb-thumb.is-active img {
    padding: 2px;
}

@keyframes lb-fade {
    from {
        opacity: 0;
    }
}

@keyframes lb-in {
    from {
        opacity: 0;
        translate: var(--from, 0) 0;
        scale: .97;
    }
}

/* ---------- journal ---------- */

/* Beats the plain .journal rule below (used on person pages). */
.journal.journal-slim {
    padding: clamp(28px, 3.5vw, 44px) 0;
    background: #fff;
}

.journal-slim-grid {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 20px clamp(32px, 6vw, 96px);
    align-items: start;
}

.journal-slim-head .eyebrow {
    margin-bottom: 12px;
}

.journal-slim-title {
    margin-bottom: 14px;
    font-size: clamp(24px, 2.2vw, 30px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.journal-list {
    border-top: 1px solid var(--line-2);
    list-style: none;
}

.journal-list li {
    border-bottom: 1px solid var(--line-2);
}

.journal-list a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 18px;
    align-items: center;
    gap: 6px 24px;
    padding: 18px 0;
    color: inherit;
}

.jl-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    transition: color .3s;
}

.jl-meta {
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

.journal-list a svg {
    width: 18px;
    height: 18px;
    color: var(--orange-text);
    transition: transform .3s;
}

@media (hover: hover) {
    .journal-list a:hover .jl-title {
        color: var(--orange-text);
    }

    .journal-list a:hover svg {
        transform: translateX(5px);
    }
}

.journal {
    padding: var(--sec) 0;
    background: var(--soft);
}

.journal-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange-text);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.journal-all svg {
    width: 18px;
    height: 18px;
    transition: transform .3s;
}

.journal-all:hover svg {
    transform: translateX(5px);
}

.post-grid {
    display: grid;
    gap: 28px 24px;
}

.post-grid-1 {
    grid-template-columns: minmax(0, 1fr);
}

.post-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card {
    display: flex;
    flex-direction: column;
    color: inherit;
}

.post-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ink);
}

.post-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.post-card-ph {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 22px;
    background: radial-gradient(circle at 85% 90%, rgba(214, 80, 0, .5), rgba(214, 80, 0, 0) 55%), #0A0A0A;
    color: #fff;
}

.post-card-ph svg {
    width: 26px;
    height: 26px;
    color: var(--orange);
}

.post-card-ph span {
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 600;
    letter-spacing: -.02em;
}

.post-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 18px;
}

.post-card-meta {
    color: var(--orange-text);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.post-card-title {
    font-size: clamp(20px, 1.7vw, 24px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.015em;
    transition: color .25s;
}

.post-card-desc {
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.55;
}

.post-card-date {
    color: var(--muted);
    font-size: 13px;
}

@media (hover: hover) {
    .post-card:hover .post-card-title {
        color: var(--orange-text);
    }

    .post-card:hover .post-card-media img {
        transform: scale(1.04);
    }
}

.person-posts {
    background: var(--soft);
}

.journal-title {
    max-width: 18ch;
    margin: 14px 0 12px;
    font-size: clamp(40px, 5.5vw, 72px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.journal-lede {
    max-width: 58ch;
    margin-bottom: clamp(28px, 4vw, 48px);
    color: var(--ink-2);
    font-size: 18px;
}

/* ---------- article ---------- */

.article-head.container {
    max-width: 968px;
    padding-top: calc(var(--header-h) + 32px);
}

.article-head .eyebrow {
    margin-top: 18px;
}

.article-title {
    margin: 14px 0 16px;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.article-lede {
    max-width: 60ch;
    color: var(--ink-2);
    font-size: clamp(19px, 1.7vw, 22px);
    line-height: 1.5;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
    margin-top: 28px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.byline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.byline img,
.byline-ph {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(1);
}

.byline-ph {
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--orange);
    font-weight: 600;
}

.byline strong {
    display: block;
    font-size: 15px;
}

.byline span span {
    color: var(--muted);
    font-size: 13px;
}

.byline:hover strong {
    color: var(--orange-text);
}

.article-date {
    color: var(--muted);
    font-size: 14px;
}

.article-cover {
    margin-top: clamp(28px, 4vw, 44px);
}

.article-cover img {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
}

.article-body {
    max-width: 720px;
    margin: clamp(32px, 4vw, 52px) auto var(--sec);
    color: #2A2A2A;
    font-size: 18px;
    line-height: 1.7;
}

.article-body > * + * {
    margin-top: 1.1em;
}

.article-body h2 {
    margin-top: 2em;
    color: var(--ink);
    font-size: clamp(24px, 2.2vw, 30px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.article-body h3 {
    margin-top: 1.6em;
    color: var(--ink);
    font-size: 21px;
    font-weight: 600;
}

.article-body ul,
.article-body ol {
    padding-left: 1.3em;
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li + li {
    margin-top: .45em;
}

.article-body li::marker {
    color: var(--orange);
}

.article-body a {
    color: var(--orange-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body strong {
    color: var(--ink);
    font-weight: 600;
}

.article-body blockquote {
    padding-left: 20px;
    border-left: 3px solid var(--orange);
    color: var(--ink);
    font-size: 20px;
}

/* ---------- FAQ ---------- */

.faq {
    padding: var(--sec) 0;
    background: var(--soft);
}

.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}

.faq-side {
    position: sticky;
    top: calc(var(--header-h) + 32px);
}

.faq-side .eyebrow {
    margin-bottom: 16px;
}

.faq-help {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 26px;
    padding: 26px;
    background: var(--soft);
}

.faq-help p {
    font-size: 18px;
    font-weight: 600;
}

.faq-help-phone {
    color: var(--muted);
    font-size: 14px;
    transition: color .25s;
}

.faq-help-phone:hover {
    color: var(--ink);
}

.faq-list {
    border-top: 1px solid var(--line-2);
}

.faq-item {
    border-bottom: 1px solid var(--line-2);
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    font-size: clamp(18px, 1.6vw, 21px);
    font-weight: 500;
    line-height: 1.35;
    cursor: pointer;
    list-style: none;
}

.faq-q::-webkit-details-marker {
    display: none;
}

.faq-q > span:first-child {
    transition: color .25s;
}

.faq-q:hover > span:first-child {
    color: var(--orange-text);
}

.faq-icon {
    position: relative;
    flex: none;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    transition: background-color .25s, border-color .25s, transform .3s;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.5px;
    background: var(--ink);
    transform: translate(-50%, -50%);
    transition: background-color .25s;
}

.faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    background: var(--ink);
    border-color: var(--ink);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
    background: #fff;
}

.faq-a {
    max-width: 64ch;
    padding: 0 58px 26px 0;
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.65;
}

/* ---------- footer & lead form ---------- */

.footer {
    padding: var(--sec) 0 48px;
    background: #000;
    color: #fff;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(48px, 7vw, 110px);
}

.footer-title span {
    color: var(--orange);
}

.footer-lede {
    max-width: 480px;
    margin-top: 18px;
    color: #C8C8C8;
    font-size: 18px;
}

.lead {
    margin-top: 28px;
}

.lead-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-wide {
    grid-column: 1 / -1;
}

.field label {
    color: #C8C8C8;
    font-size: 14px;
    line-height: 20px;
}

.field-opt {
    margin-left: 4px;
    color: #8A8A8A;
    font-size: 12px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid #3A3A3A;
    border-radius: 12px;
    background: #111;
    color: #fff;
    font-size: 16px;
    line-height: 22px;
    transition: border-color .2s, background-color .2s;
}

.field textarea {
    min-height: 96px;
    resize: vertical;
}

.field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23A1A1A1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

.field select option {
    background: #111;
    color: #fff;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #6F6F6F;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: #555;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: #161616;
}

.field.is-invalid input,
.field.is-invalid select {
    border-color: #FF6B5E;
}

.field-err {
    color: #FF8A7F;
    font-size: 14px;
    line-height: 20px;
}

.field-chips {
    min-width: 0;
    border: 0;
}

.field-chips legend {
    margin-bottom: 8px;
    color: #C8C8C8;
    font-size: 14px;
    line-height: 20px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    position: relative;
}

.chip input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.chip span {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #3A3A3A;
    border-radius: 999px;
    background: #111;
    font-size: 15px;
    white-space: nowrap;
    transition: background-color .2s, border-color .2s, color .2s;
}

@media (hover: hover) {
    .chip:hover span {
        border-color: #666;
    }
}

.chip input:checked + span {
    border-color: var(--orange-btn);
    background: var(--orange-btn);
    color: #fff;
}

.chip input:focus-visible + span {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

.lead-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.lead-submit {
    margin-top: 26px;
}

.lead-submit[disabled] {
    opacity: .7;
    cursor: progress;
}

.lead-submit.is-loading .btn-arrow {
    animation: lead-spin .8s linear infinite;
}

@keyframes lead-spin {
    to {
        transform: rotate(360deg);
    }
}

.lead-note {
    max-width: 520px;
    margin-top: 14px;
    color: #9A9A9A;
    font-size: 14px;
    line-height: 20px;
}

.lead-note a,
.lead-status a:not(.btn) {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lead-status {
    margin-top: 24px;
    padding: 20px 22px;
    border: 1px solid #333;
    border-radius: 16px;
    background: #0E0E0E;
    font-size: 16px;
    line-height: 1.55;
}

.lead-status h3 {
    margin-bottom: 6px;
    font-size: 20px;
    font-weight: 600;
}

.lead-status p + p,
.lead-status p + .btn {
    margin-top: 14px;
}

.lead-status.is-error {
    border-color: #6B2A24;
}

.lead.is-done .lead-grid,
.lead.is-done .lead-submit,
.lead.is-done .lead-note {
    display: none;
}

.lead.is-done .lead-status {
    margin-top: 0;
}

.footer-add {
    display: grid;
    align-content: start;
    gap: 44px;
    padding-top: 12px;
}

.footer-add-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-add-item-title {
    margin-bottom: 6px;
    color: #A1A1A1;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.footer-add-item a {
    font-size: 20px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    transition: color .25s;
}

.footer-add-item a:hover {
    color: var(--orange);
}

.footer-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-wa svg {
    width: 22px;
    height: 22px;
    color: var(--whatsapp);
}

.footer-bot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px 32px;
    margin-top: clamp(40px, 5vw, 64px);
    padding-top: 32px;
    border-top: 1px solid #262626;
    color: #A1A1A1;
    font-size: 14px;
    line-height: 20px;
}

.footer-bot-links {
    display: flex;
    gap: 24px;
}

.footer-bot-links a,
.footer-cookie-btn {
    color: #A1A1A1;
    transition: color .25s;
}

.footer-bot-links a:hover,
.footer-cookie-btn:hover {
    color: #fff;
}

.footer-bot-city {
    color: #8A8A8A;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
}

/* ---------- sticky mobile CTA ---------- */

.sticky-cta {
    display: none;
}

/* ---------- cookie banner ---------- */

.cookie {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 950;
    width: min(420px, calc(100vw - 32px));
    padding: 20px;
    border: 1px solid #2A2A2A;
    border-radius: 16px;
    background: #0E0E0E;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

.cookie p {
    color: #C8C8C8;
}

.cookie a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.cookie-actions .btn {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 12px;
}

.cookie-actions .btn-ghost {
    border-color: #444;
}

/* accept and reject look the same: neither is the "easy" button */
.cookie-actions .btn {
    flex: 1 1 auto;
    border: 1px solid #555;
    background: transparent;
    color: #fff;
}

.cookie-actions .cookie-more {
    flex-basis: 100%;
    padding: 4px 0;
    border: 0;
    background: none;
    color: #C8C8C8;
    font: inherit;
    font-size: 13px;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.cookie-opts {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.cookie-opt {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #C8C8C8;
    font-size: 13px;
    cursor: pointer;
}

.cookie-opt input {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--orange);
}

.cookie-opt strong {
    color: #fff;
}

.footer-legal {
    margin-top: 10px;
    color: #8A8A8A;
    font-size: 12px;
    line-height: 1.5;
}

.rev-note {
    grid-column: 1 / -1;
    margin-top: 18px;
    color: var(--muted);
    font-size: 12px;
}

.page-table {
    margin: 16px 0;
    overflow-x: auto;
}

.page-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.page-table th,
.page-table td {
    padding: 10px 12px 10px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.page-table th {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* ---------- simple pages (privacy, 404) ---------- */

.page .header {
    color: var(--ink);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .07);
}

.page-main {
    padding: calc(var(--header-h) + 40px) 0 var(--sec);
}

.page-body {
    max-width: 760px;
}

.page-body h1 {
    margin-bottom: 12px;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.03em;
}

.page-body .page-meta {
    margin-bottom: 44px;
    color: var(--muted);
    font-size: 14px;
}

.page-body h2 {
    margin: 40px 0 12px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.01em;
}

.page-body p,
.page-body li {
    color: var(--ink-2);
    font-size: 17px;
    line-height: 1.65;
}

.page-body p + p {
    margin-top: 12px;
}

.page-body ul {
    margin-top: 8px;
    padding-left: 22px;
    list-style: disc;
}

.page-body li + li {
    margin-top: 6px;
}

.page-body a:not(.btn) {
    color: var(--orange-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.page-actions .btn-ghost {
    border-color: var(--line-2);
    color: var(--ink);
}

.page-actions .btn-ghost:hover {
    background: var(--soft);
}

/* ---------- motion: only with JS, only without reduced motion ---------- */

@media (prefers-reduced-motion: no-preference) {
    .hero-eyebrow,
    .hero-title,
    .hero-bot {
        animation: hero-rise .9s cubic-bezier(.2, .7, .2, 1) both;
    }

    .hero-title {
        animation-delay: .08s;
    }

    .hero-bot {
        animation-delay: .18s;
    }

    @keyframes hero-rise {
        from {
            opacity: 0;
            transform: translateY(32px);
        }
    }

    .hero-slide img {
        transform: scale(1.02);
        transition: transform 0s 1.4s;
    }

    .hero-slide.is-active img {
        transform: scale(1.12);
        transition: transform var(--slide-ms, 6000ms) linear 0s;
    }

    .js [data-reveal] {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
    }

    .js [data-reveal].is-visible {
        opacity: 1;
        transform: none;
    }

    .team-grid .member:nth-child(2) {
        transition-delay: .08s;
    }

    .team-grid .member:nth-child(3) {
        transition-delay: .16s;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.smooth-scroll {
        scroll-behavior: auto;
    }

    /* Gentle movement stays on with Reduce Motion (an iPhone setting many people have on): the running lines
       at half speed, the first-screen photos fading into each other (no zoom) with their progress lines, the
       reviews changing on their timer. Everything else stops. */
    .marquee-track {
        animation-duration: 84s !important;
        animation-iteration-count: infinite !important;
    }

    .logos-track {
        animation-duration: 90s !important;
        animation-iteration-count: infinite !important;
    }

    .hero-slide {
        transition-duration: 1.4s !important;
    }

    .hero-dot.is-active::after {
        animation-duration: var(--slide-ms, 6000ms) !important;
    }

    .rev-wrap.is-auto .rev-bar i.is-running {
        animation-duration: var(--rev-ms, 6500ms) !important;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
    .header-phone {
        display: none;
    }
}

@media (max-width: 1199px) {
    .header-inner {
        gap: 32px;
    }

    .header-nav {
        gap: 24px;
    }
}

@media (max-width: 1023px) {
    :root {
        --header-h: 64px;
    }

    .header-logo {
        width: 24px;
        height: 34px;
    }

    .header-actions {
        display: none;
    }

    .header-burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        width: 44px;
        height: 44px;
        margin-left: auto;
        margin-right: -8px;
        padding: 0 8px;
    }

    .header-burger span {
        display: block;
        height: 2px;
        background: currentColor;
        transition: transform .3s;
    }

    .header.menu-open .header-burger span:first-child {
        transform: translateY(4.5px) rotate(45deg);
    }

    .header.menu-open .header-burger span:last-child {
        transform: translateY(-4.5px) rotate(-45deg);
    }

    .header-nav {
        position: fixed;
        inset: var(--header-h) 0 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 36px var(--pad) calc(32px + env(safe-area-inset-bottom));
        background: #000;
        color: #fff;
        font-size: 30px;
        font-weight: 600;
        letter-spacing: -.02em;
        text-transform: none;
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transition: opacity .3s, visibility .3s;
    }

    .header-nav > a,
    .nav-link {
        padding: 2px 0;
    }

    .header-nav > a::after,
    .nav-link::after {
        display: none;
    }

    /* the phone menu stays a plain list: no drop-downs there */
    .nav-drop {
        display: none;
    }

    .header.menu-open {
        color: #fff;
        background: #000;
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .header.menu-open .header-nav {
        visibility: visible;
        opacity: 1;
    }

    .header-nav-extra {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-top: auto;
        padding-top: 32px;
        font-size: 18px;
        font-weight: 400;
        letter-spacing: 0;
    }

    .header-nav-contact {
        color: #C8C8C8;
    }

    body.menu-open {
        overflow: hidden;
    }

    .why-head {
        grid-template-columns: minmax(0, 1fr);
    }

    .why-lede {
        max-width: 560px;
    }

    .why-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 32px;
    }

    .why-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .svc-body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .step-card {
        aspect-ratio: 4 / 3;
    }

    .scn-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .scn-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 220px);
    }

    .calc-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .calc-result {
        position: static;
    }

    .calc-mini {
        position: sticky;
        bottom: 12px;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 16px;
        padding: 14px 20px;
        border-radius: 999px;
        background: var(--ink);
        color: #fff;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
        transition: opacity .25s, transform .25s;
    }

    .calc-mini span {
        color: #A3A3A3;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .18em;
        text-transform: uppercase;
    }

    .calc-mini strong {
        font-size: 16px;
        font-weight: 600;
        font-variant-numeric: tabular-nums;
    }

    .calc-mini.is-hidden {
        opacity: 0;
        transform: translateY(12px);
        pointer-events: none;
    }

    .work-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 240px;
    }

    .case-card-lg {
        grid-row: span 1;
    }

    .case-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .case-facts {
        position: static;
    }

    .case-more-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .post-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-side {
        position: static;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-add {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    :root {
        --marquee-h: 64px;
        --pad: 20px;
    }

    body {
        font-size: 16px;
    }

    /* The first screen grows with its text on a short phone screen (Safari with its bars leaves ~550-660 px)
       instead of pushing the text up under the header and the slide controls. */
    .hero {
        flex-direction: column;
        height: auto;
        min-height: calc(100vh - var(--marquee-h));
        min-height: calc(100svh - var(--marquee-h));
        max-height: none;
    }

    .hero-cont {
        padding-top: calc(var(--header-h) + 28px);
        padding-bottom: 20px;
    }

    .hero-bot {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        margin-top: 18px;
    }

    .hero::after {
        background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .38) 32%, rgba(0, 0, 0, .62) 58%, rgba(0, 0, 0, .9) 100%);
    }

    .hero-title {
        font-size: clamp(36px, 10.4vw, 44px);
    }

    .hero-lede {
        font-size: 15px;
    }

    .hero-eyebrow {
        gap: 8px;
        margin-bottom: 14px;
        font-size: 11px;
        letter-spacing: .15em;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: 54px;
    }

    /* the slide's name and the lines under the buttons, in the flow: nothing lies on top of the text */
    .hero-now {
        position: static;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        width: 100%;
        padding: 0 var(--pad) 22px;
    }

    .hero-now-caption {
        flex: 1;
        min-width: 0;
        font-size: 10px;
        letter-spacing: .14em;
        text-align: left;
    }

    .hero-arrow {
        display: none;
    }

    .hero-dot {
        width: 24px;
        height: 32px;
    }

    .marquee-set {
        gap: 20px;
        padding-right: 20px;
    }

    .marquee-set svg {
        width: 20px;
        height: 19px;
    }

    .why-points {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        margin-top: 20px;
    }

    .why-point {
        padding: 16px 0;
    }

    .why-point h3 {
        margin-bottom: 4px;
        font-size: 17px;
    }

    .why-point p {
        font-size: 14px;
    }

    .why-how-head {
        margin: 24px 0 14px;
    }

    /* Head of a section: the lede drops under the title instead of squeezing it. */
    .section-head-row {
        flex-wrap: wrap;
    }

    .svc-row {
        grid-template-columns: 26px minmax(0, 1fr) 30px;
        gap: 12px;
        padding: 18px 0;
    }

    .svc-num {
        align-self: start;
        padding-top: 9px;
    }

    .svc-thumb {
        display: none;
    }

    .svc-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .svc-name {
        font-size: 27px;
    }

    .svc-tags {
        font-size: 13px;
    }

    .svc-body {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding: 0 0 24px;
    }

    .svc-photo {
        aspect-ratio: 16 / 10;
    }

    .svc-copy p {
        font-size: 16px;
    }

    .svc-link {
        margin-top: 12px;
    }

    .scn-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .scn-card {
        gap: 8px;
        min-height: 0;
        padding: 22px 20px;
    }

    .scn-card-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 8px;
    }

    .scn-card-meta {
        margin-top: 16px;
    }

    .scn-card-name {
        font-size: 30px;
    }

    .scn-card-hook {
        font-size: 15px;
    }

    .scn-row {
        gap: 8px;
        height: 470px;
    }

    .scn-panel {
        flex: 0 0 54px;
    }

    .scn-panel.is-active {
        flex: 1 1 0;
    }

    .scn-panel-mini {
        align-items: center;
        padding: 18px 0;
    }

    .scn-panel-mini-icon {
        width: 30px;
        height: 30px;
    }

    .scn-panel-vname {
        font-size: 20px;
        white-space: nowrap;
        writing-mode: vertical-rl;
        transform: rotate(180deg);
    }

    .scn-panel-art {
        display: none;
    }

    .scn-panel-full {
        gap: 8px;
        padding: 22px 20px;
    }

    .scn-panel-full .scn-card-icon {
        margin-bottom: auto;
    }

    .scn-soon {
        margin-top: 14px;
        padding: 16px 18px;
        font-size: 14px;
    }

    /* How it works: one step under another, a photo on the left and the words beside it; nothing covers anything. */
    .why-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .step-card {
        display: grid;
        grid-template-columns: 104px minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        column-gap: 18px;
        aspect-ratio: auto;
        padding: 16px 0;
        overflow: visible;
        border-top: 1px solid rgba(255, 255, 255, .12);
        background: none;
    }

    .step-card img {
        position: static;
        grid-row: 1 / 3;
        width: 104px;
        height: 130px;
    }

    .step-card::after {
        display: none;
    }

    .step-num {
        color: var(--orange);
        font-size: 30px;
    }

    .step-body {
        margin-top: 8px;
    }

    .step-body h3 {
        margin-bottom: 6px;
        font-size: 19px;
    }

    .step-body p {
        font-size: 14px;
    }

    /* Calculator: every group of options folds into one row that shows the current choice. */
    .calc-controls {
        gap: 0;
        padding: 4px 18px;
    }

    .calc-controls > .calc-field + .calc-field {
        border-top: 1px solid var(--line);
    }

    .calc-controls > div.calc-field {
        padding: 16px 0;
    }

    .js .calc-controls > fieldset.calc-field > legend {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .calc-fold {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 16px 0;
        border: 0;
        background: none;
        color: inherit;
        font: inherit;
        text-align: left;
        cursor: pointer;
    }

    .calc-fold-label {
        flex: none;
        color: var(--muted);
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .16em;
        text-transform: uppercase;
    }

    .calc-fold-value {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        font-size: 15px;
        font-weight: 500;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .calc-fold::after {
        content: "";
        flex: none;
        width: 8px;
        height: 8px;
        margin: -4px 2px 0 0;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg);
        transition: transform .3s, margin .3s;
    }

    .calc-field.is-open > .calc-fold::after {
        margin-top: 4px;
        transform: rotate(-135deg);
    }

    .js .calc-controls > fieldset.calc-field:not(.is-open) > :not(legend):not(.calc-fold) {
        display: none;
    }

    .calc-controls > fieldset.calc-field.is-open {
        padding-bottom: 18px;
    }

    .journal-slim-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .rev-wrap {
        --card-w: 110px;
        --card-h: 132px;
        grid-template-columns: minmax(0, 1fr) 136px;
        grid-template-rows: auto;
        grid-template-areas:
            "head stack"
            "slides slides"
            "controls controls";
        column-gap: 12px;
    }

    .rev-slides {
        margin: 22px 0 18px;
    }

    .journal-list a {
        grid-template-columns: minmax(0, 1fr) 18px;
        padding: 16px 0;
    }

    .jl-title {
        font-size: 17px;
    }

    .jl-meta {
        grid-row: 2;
    }

    .scn-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .scn-hero-art {
        display: none;
    }

    .scn-hero-actions .btn {
        width: 100%;
    }

    .scn-stages li {
        grid-template-columns: 40px 1fr;
    }

    .calc-tiers {
        grid-template-columns: minmax(0, 1fr);
    }

    .calc-tier {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 0 12px;
    }

    .calc-tier-price {
        grid-row: span 2;
        margin-top: 0;
    }

    .calc-total {
        font-size: 28px;
    }

    .work-counter {
        display: flex;
        align-items: baseline;
        gap: 4px;
        flex: none;
        color: #8A8A8A;
        font-size: 14px;
        font-variant-numeric: tabular-nums;
    }

    .work-counter-now {
        color: #fff;
        font-weight: 600;
    }

    .work-counter-hint {
        margin-left: 10px;
        color: var(--orange);
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .18em;
        text-transform: uppercase;
    }

    .work-scroller {
        max-width: none;
        padding: 0;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-left: var(--pad);
        scrollbar-width: none;
    }

    .work-scroller::-webkit-scrollbar {
        display: none;
    }

    .work-bento {
        display: flex;
        gap: 14px;
        width: max-content;
        padding: 0 var(--pad);
    }

    .work-bento .case-card {
        flex: none;
        width: 78vw;
        aspect-ratio: 4 / 5;
        scroll-snap-align: start;
    }

    .case-card-lg .case-card-client {
        font-size: 28px;
    }

    .case-handled {
        grid-template-columns: 1fr;
    }

    .case-inline-cta .btn,
    .case-cta-actions .btn {
        width: 100%;
    }

    .case-more-grid {
        gap: 10px;
    }

    .case-more-grid .case-card-client {
        font-size: 18px;
    }

    .case-more-grid .case-card-more {
        display: none;
    }

    .process-cta .btn {
        width: 100%;
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 12px;
    }

    .member-cta {
        grid-column: 1 / -1;
        aspect-ratio: auto;
        margin-top: 14px;
        padding: 22px;
    }

    .member-cta strong {
        margin-top: 8px;
    }

    .member-cap {
        margin-top: 10px;
    }

    .member-cap strong {
        font-size: 17px;
    }

    .member-cap span {
        font-size: 13px;
    }

    .person {
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        overflow-y: auto;
    }

    .person-inner,
    .person-inner-page {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .person .person-photo {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .person .person-body {
        max-height: none;
        padding: 28px 22px 44px;
        overflow: visible;
    }

    .gal {
        --gh: 92vw;
        --gmax: 76vw;
    }

    .gal-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .gal-arrow {
        width: 42px;
        height: 42px;
    }

    .lb-stage {
        padding: 72px 12px 8px;
    }

    .lb-arrow {
        display: none;
    }

    .lb-bar {
        flex-direction: column;
        gap: 12px;
    }

    .post-grid-2,
    .post-grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .article-body {
        font-size: 17px;
    }

    .faq-q {
        padding: 20px 0;
        gap: 16px;
    }

    .faq-a {
        padding-right: 0;
    }

    .faq-help {
        padding: 22px;
    }

    .footer {
        padding-bottom: calc(40px + env(safe-area-inset-bottom));
    }

    .lead-grid {
        grid-template-columns: 1fr;
    }

    .lead-submit {
        width: 100%;
    }

    .footer-add {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bot {
        flex-direction: column;
        align-items: flex-start;
    }

    .sticky-cta {
        position: fixed;
        inset: auto 0 0;
        z-index: 800;
        display: flex;
        gap: 10px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: rgba(10, 10, 10, .92);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        transform: translateY(110%);
        transition: transform .35s ease;
    }

    .sticky-cta.is-visible {
        transform: none;
    }

    .sticky-cta-main {
        flex: 1;
    }

    .sticky-cta-wa {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: none;
        width: 52px;
        height: 52px;
        border: 1px solid #333;
        border-radius: 50%;
        color: var(--whatsapp);
    }

    .sticky-cta-wa svg {
        width: 24px;
        height: 24px;
    }

    .cookie {
        left: 12px;
        bottom: 12px;
    }
}

/* Very narrow phones (320-400px): let long button labels wrap instead of pushing the page sideways. */
@media (max-width: 400px) {
    .btn {
        padding-right: 20px;
        padding-left: 20px;
        letter-spacing: .1em;
        text-align: center;
        white-space: normal;
    }

    .case-more-grid .case-card-body {
        padding: 12px;
    }

    .case-more-grid .case-card-client {
        font-size: 16px;
    }

    .case-more-grid .case-card-meta {
        font-size: 10px;
        letter-spacing: .1em;
    }
}
