/* ============================================================
   CAMEL Agency — 2026 restyle
   Mobile-first. Motion is layered on by main.js (html.has-motion);
   without it every section still lays out as a plain page.
   ============================================================ */

:root {
    /* Brand */
    --gold: #f1ba50;
    --ink: #1d1d1b;
    --ink-deep: #151514;
    --card: #262624;
    --card-2: #2f2f2d;
    --white: #ffffff;
    --muted: rgba(255, 255, 255, 0.62);
    --line: rgba(255, 255, 255, 0.1);

    --pink: #ff2468;
    --orange: #ff6004;
    --yellow: #f2e502;
    --cyan: #9ed9f1;
    --blue: #1f23fa;
    --blue-light: #5b6bff; /* readable on dark — used for text & accents */

    /* Type */
    --font-display: "Akkordeon-Seven", "Arial Narrow", sans-serif;
    --font-body: "Graphik", "Helvetica Neue", Arial, sans-serif;

    /* Layout */
    --frame: clamp(6px, 0.9vw, 14px);
    --radius: clamp(18px, 2.4vw, 40px);
    --gutter: clamp(20px, 5vw, 72px);
    --max: 1440px;
    --nav-h: clamp(64px, 8vw, 92px);

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@font-face {
    font-family: "Akkordeon-Seven";
    src: url("../fonts/Akkordeon-Seven (Main Font).ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Graphik";
    src: url("../fonts/GraphikLight (Body).otf") format("opentype");
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: "Graphik";
    src: url("../fonts/Graphik-Regular-Trial.otf") format("opentype");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Graphik";
    src: url("../fonts/GraphikMedium.otf") format("opentype");
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: "Graphik";
    src: url("../fonts/Graphik-Bold-Trial.otf") format("opentype");
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: "Graphik";
    src: url("../fonts/GraphikBlack.otf") format("opentype");
    font-weight: 900;
    font-display: swap;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    background: var(--gold);
    overflow-x: clip;
}

html.lenis,
html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    background: var(--ink);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
}

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

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

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

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

::selection {
    background: var(--gold);
    color: var(--ink);
}

/* ---------- Frame (gold border around the viewport) ---------- */
.frame {
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
}
.frame::before {
    content: "";
    position: absolute;
    inset: var(--frame);
    border-radius: var(--radius);
    box-shadow: 0 0 0 200vmax var(--gold);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--frame);
    z-index: 91;
    pointer-events: none;
}
.scroll-progress span {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--ink);
    opacity: 0.35;
    transform-origin: left;
    transform: scaleX(0);
}

/* ---------- Primitives ---------- */
.container {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    position: relative;
    padding-block: clamp(80px, 12vw, 180px);
}

.display {
    font-family: var(--font-display);
    font-weight: normal;
    text-transform: uppercase;
    font-size: clamp(3.4rem, 9vw, 8.5rem);
    line-height: 0.82;
    letter-spacing: 0.005em;
}

.dot {
    color: var(--accent, var(--gold));
}
.dot--gold {
    color: var(--gold);
}

.eyebrow {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    padding: 0.45rem 0.95rem 0.45rem 0.5rem;
    border: 1px solid var(--line);
    border-radius: 99px;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.tag__icon {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background-color: var(--accent);
    position: relative;
}
.tag__icon::after {
    content: "";
    position: absolute;
    inset: 22%;
    background: var(--ink);
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
}
.tag__icon--bird { --icon: url("../media/icons/bird.svg"); }
.tag__icon--hoof { --icon: url("../media/icons/hoof.svg"); }
.tag__icon--tree { --icon: url("../media/icons/tree.svg"); }
.tag__icon--swirl { --icon: url("../media/icons/swirl.svg"); }
.tag__fa {
    color: var(--accent);
    font-size: 1.1rem;
    padding-left: 0.3rem;
}

.lead {
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    color: var(--muted);
    max-width: 38em;
}
.lead strong {
    color: var(--accent);
    font-weight: 500;
}

/* Buttons */
.btn {
    --bg: transparent;
    --fg: var(--white);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.95rem 1.6rem;
    border-radius: 99px;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.4s var(--ease-out), color 0.35s ease;
}
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--hover, var(--orange));
    transform: translateY(101%);
    transition: transform 0.45s var(--ease-out);
}
.btn:hover::before {
    transform: translateY(0);
}
.btn:active {
    transform: scale(0.96);
}
.btn--gold {
    --bg: var(--gold);
    --fg: var(--ink);
}
.btn--outline {
    border: 1px solid rgba(255, 255, 255, 0.35);
    --hover: var(--accent, var(--gold));
}
.btn--outline:hover {
    color: var(--ink);
    border-color: transparent;
}
.btn--sm {
    padding: 0.7rem 1.15rem;
    font-size: 0.8rem;
}
.btn--lg {
    padding: 1.1rem 2rem;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
}
.btn__icon {
    width: 1.25em;
    height: 1.25em;
    object-fit: contain;
    filter: brightness(0);
}
.btn i {
    font-size: 0.85em;
    transition: transform 0.35s var(--ease-out);
}
.btn:hover i {
    transform: translateX(3px);
}

/* Shake from the original site — the bell rings */
@keyframes shake {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}
.hero-button.clicked {
    animation: shake 0.5s;
}
.hero-button.clicked .btn__icon {
    animation: shake 0.25s 2;
}

.round-btn {
    width: 3.25rem;
    height: 3.25rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.round-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--ink);
}
.round-btn:active {
    transform: scale(0.92);
}
.round-btn:disabled {
    opacity: 0.3;
    pointer-events: none;
}

.socials {
    display: flex;
    gap: 1.1rem;
    align-items: center;
}
.socials a {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    border: 1px solid var(--line);
    transition: background-color 0.3s, transform 0.3s var(--ease-out);
}
.socials a:hover {
    background: var(--gold);
    transform: translateY(-3px);
}
.socials a:hover img {
    filter: brightness(0);
}
.socials img {
    width: 1.1rem;
    height: 1.1rem;
    object-fit: contain;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: fixed;
    top: var(--frame);
    left: var(--frame);
    right: var(--frame);
    z-index: 80;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-inline: clamp(16px, 3vw, 48px);
    border-radius: var(--radius) var(--radius) 0 0;
    transition: transform 0.5s var(--ease-out), background-color 0.4s, backdrop-filter 0.4s;
}
.nav.is-scrolled {
    background: rgba(29, 29, 27, 0.72);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
}
.nav.is-hidden {
    transform: translateY(-110%);
}
.nav__logo img {
    height: clamp(34px, 3.6vw, 48px);
    width: auto;
}
.nav__links {
    display: none;
    margin-inline: auto;
    gap: clamp(1rem, 2.2vw, 2.4rem);
}
.nav__links a {
    position: relative;
    font-weight: 400;
    font-size: 0.95rem;
    padding-block: 0.4rem;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s;
}
.nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--c);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover,
.nav__links a.is-active {
    color: var(--white);
}
.nav__links a:hover::after,
.nav__links a.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}
.nav__cta {
    display: none;
}
.nav__burger {
    margin-left: auto;
    width: 3rem;
    height: 3rem;
    display: grid;
    place-content: center;
    gap: 7px;
    border-radius: 50%;
    background: var(--gold);
    position: relative;
    z-index: 2;
}
.nav__burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.4s var(--ease-out);
}
.nav__burger[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
}

@media (min-width: 1024px) {
    .nav__links {
        display: flex;
    }
    .nav__cta {
        display: inline-flex;
    }
    .nav__burger {
        display: none;
    }
}

/* Mobile menu */
.menu {
    position: fixed;
    inset: var(--frame);
    z-index: 70;
    border-radius: var(--radius);
    background: var(--ink-deep);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(var(--nav-h) + 2rem) var(--gutter) 2rem;
    clip-path: circle(0% at calc(100% - 3rem) 2.5rem);
    visibility: hidden;
    transition: clip-path 0.7s var(--ease-out), visibility 0s 0.7s;
    overflow-y: auto;
}
.menu.is-open {
    clip-path: circle(150% at calc(100% - 3rem) 2.5rem);
    visibility: visible;
    transition: clip-path 0.7s var(--ease-out), visibility 0s;
}
.menu__links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.menu__links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(2.8rem, 13vw, 5rem);
    line-height: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s, transform 0.6s var(--ease-out);
}
.menu.is-open .menu__links a {
    opacity: 1;
    transform: none;
}
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 0.05s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 0.1s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 0.15s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 0.2s; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: 0.25s; }
.menu__links i {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: var(--c);
    flex-shrink: 0;
}
.menu__foot {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 2rem;
    color: var(--muted);
}
.menu__foot .socials {
    margin-top: 0.8rem;
}

/* ---------- Social rail ---------- */
.rail {
    display: none;
}
@media (min-width: 1280px) {
    .rail {
        position: fixed;
        left: calc(var(--frame) + 1.6rem);
        bottom: calc(var(--frame) + 2rem);
        z-index: 60;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        transition: opacity 0.5s, translate 0.6s var(--ease-out);
    }
    /* Only shown alongside the hero; content sections run full-bleed */
    .has-motion .rail:not(.is-visible) {
        opacity: 0;
        translate: -1.5rem 0;
        pointer-events: none;
    }
    .rail a {
        opacity: 0.6;
        transition: opacity 0.3s, transform 0.3s var(--ease-out);
    }
    .rail a:hover {
        opacity: 1;
        transform: scale(1.25);
    }
    .rail img,
    .rail__map {
        width: 1.25rem;
        height: 1.25rem;
        object-fit: contain;
    }
    .rail__map {
        display: block;
        background: var(--white);
        -webkit-mask: url("../media/icons/social/map.svg") center / contain no-repeat;
        mask: url("../media/icons/social/map.svg") center / contain no-repeat;
    }
    .rail__line {
        width: 1px;
        height: 3.5rem;
        background: linear-gradient(var(--line), var(--gold));
    }
    .rail__label {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        font-size: 0.7rem;
        letter-spacing: 0.25em;
        text-transform: uppercase;
        color: var(--muted);
    }
}

/* ============================================================
   HERO
   ============================================================ */
.hero__stage {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-h) + 2rem) var(--gutter) 5rem;
    overflow: hidden;
}
.hero__glow {
    position: absolute;
    width: min(110vw, 1100px);
    aspect-ratio: 1;
    left: 50%;
    top: 55%;
    translate: -50% -50%;
    background: radial-gradient(circle, rgba(241, 186, 80, 0.28) 0%, rgba(255, 36, 104, 0.12) 35%, transparent 65%);
    filter: blur(20px);
    pointer-events: none;
}
.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: clamp(1rem, min(2.5vw, 3vh), 2rem);
}
@media (max-width: 479px) {
    .hide-sm {
        display: none;
    }
}
.pulse {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0 rgba(241, 186, 80, 0.7);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    70% { box-shadow: 0 0 0 10px rgba(241, 186, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(241, 186, 80, 0); }
}
.hero__title {
    font-family: var(--font-display);
    font-weight: normal;
    text-transform: uppercase;
    color: var(--gold);
    font-size: clamp(3.5rem, min(12.5vw, 16vh), 11rem);
    line-height: 0.8;
}
/* Akkordeon draws past its 0.8 line-height, so the clipping box gets extra
   room top and bottom (cancelled by negative margins to keep the spacing) */
.hero__title .line {
    display: block;
    overflow: hidden;
    padding-block: 0.08em 0.14em;
    margin-bottom: -0.14em;
}
.hero__title .line__inner {
    display: inline-block;
}
.hero__title .line + .line {
    color: var(--white);
    font-size: 1.12em;
    margin-top: -0.1em;
}
@media (max-width: 767px) {
    .hero__title {
        font-size: min(18vw, 7rem);
    }
}

/* Word rotator: all words share one grid cell so the box is always the widest word */
.rotator {
    display: inline-grid;
    vertical-align: bottom;
    overflow: hidden;
    padding-block: 0.08em 0.14em;
    margin-bottom: -0.14em;
}
.rotator > span {
    grid-area: 1 / 1;
    color: var(--c);
    text-align: left;
}
.rotator > span:not(:first-child) {
    visibility: hidden;
}
.has-motion .rotator > span:not(:first-child) {
    visibility: visible;
    transform: translateY(110%);
}

.hero__icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(0.9rem, 2.4vw, 2.4rem);
    margin-block: clamp(1.6rem, min(5vw, 5.5vh), 4rem);
}
.hero-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    width: clamp(3.4rem, min(9vw, 10vh), 6rem);
}
.hero-icon__circle {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--c);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.5s var(--ease-out), box-shadow 0.4s;
}
.hero-icon__circle--bottom {
    align-items: flex-end;
}
.hero-icon__circle img {
    max-width: 68%;
    max-height: 82%;
    object-fit: contain;
    transition: transform 0.5s var(--ease-out);
}
.hero-icon__label {
    font-weight: 500;
    font-size: clamp(0.7rem, 1vw, 0.9rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.3s;
}
.hero-icon:hover .hero-icon__circle {
    transform: translateY(-8px) scale(1.06);
    box-shadow: 0 14px 40px -8px var(--c);
}
.hero-icon:hover .hero-icon__circle img {
    transform: scale(1.12) rotate(-6deg);
}
.hero-icon:hover .hero-icon__label {
    color: var(--white);
}

/* Showreel — base (no motion): a rounded card under the hero */
.hero__media {
    position: relative;
    z-index: 1;
    width: min(100%, 1100px);
    aspect-ratio: 16 / 9;
    margin-top: 3rem;
    border-radius: var(--radius);
    overflow: hidden;
    background: #000 url("../media/backgrounds/video_thumbnail.webp") center / cover no-repeat;
}
.hero__video,
.hero__video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}
/* Full-bleed: size the iframe like object-fit: cover (--r = video aspect, set by main.js) */
.has-motion .hero__video iframe {
    inset: auto;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    width: max(100%, calc(100svh * var(--r, 1.7778)));
    height: max(100%, calc(100vw / var(--r, 1.7778)));
    scale: 1.12; /* the reel itself is letterboxed — crop the bars and YouTube's chrome */
}
.hero__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: clamp(1.5rem, 4vw, 4rem) var(--gutter);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}
.hero__caption .eyebrow {
    color: var(--gold);
    margin-bottom: 0.6rem;
}
.hero__caption-title {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(2rem, 5.5vw, 5rem);
    line-height: 0.85;
    max-width: 14em;
}
.hero__caption-title em {
    font-style: normal;
    color: var(--gold);
}

.hero__scroll {
    position: absolute;
    right: calc(var(--gutter) * 0.6);
    bottom: clamp(1.25rem, 4vh, 2.5rem);
    z-index: 3;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
}
.hero__scroll i {
    width: 1px;
    height: 2.6rem;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}
.hero__scroll i::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 40%;
    background: var(--gold);
    animation: drip 1.8s var(--ease-out) infinite;
}
@media (min-width: 768px) {
    .hero__scroll {
        display: flex;
    }
}
@keyframes drip {
    from { transform: translateY(-100%); }
    to { transform: translateY(260%); }
}

/* Motion: the showreel lives behind the headline and is revealed by scroll */
.has-motion .hero__stage {
    height: 100vh;
    height: 100svh;
    padding-bottom: 2rem;
}
.has-motion .hero__media {
    position: absolute;
    inset: 0;
    width: auto;
    margin: 0;
    aspect-ratio: auto;
    border-radius: 0;
    clip-path: inset(46% 38% 18% 38% round var(--radius));
    opacity: 0;
}
.has-motion .hero__caption {
    opacity: 0;
}
@media (max-width: 767px) {
    .hero__media {
        aspect-ratio: 9 / 16;
        max-height: 80svh;
        width: auto;
    }
    .has-motion .hero__media {
        max-height: none;
    }
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
    position: relative;
    z-index: 3;
    padding-block: clamp(2rem, 5vw, 4rem);
    overflow: hidden;
}
.ticker__band {
    display: flex;
    white-space: nowrap;
    padding-block: clamp(0.7rem, 1.4vw, 1.1rem);
    width: 110%;
    margin-left: -5%;
}
.ticker__band--gold {
    background: var(--gold);
    color: var(--ink);
    transform: rotate(-2.5deg);
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}
.ticker__band--dark {
    background: var(--card);
    color: var(--white);
    transform: rotate(2deg);
    margin-top: calc(-1 * clamp(1.5rem, 3vw, 2.4rem));
}
.ticker__track {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    will-change: transform;
}
.ticker__track span {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(1.8rem, 4.2vw, 3.6rem);
    line-height: 1;
    padding-inline: clamp(1rem, 2vw, 1.8rem);
    padding-top: 0.1em;
}
.ticker__band--dark .ticker__track span {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.55);
}
.ticker__track b {
    width: clamp(1.3rem, 2.4vw, 2rem);
    aspect-ratio: 59 / 79;
    flex-shrink: 0;
    background: currentColor;
    -webkit-mask: url("../media/icons/hoof.svg") center / contain no-repeat;
    mask: url("../media/icons/hoof.svg") center / contain no-repeat;
}
.ticker__band--dark .ticker__track b {
    background: var(--gold);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
    overflow-x: clip; /* clip (not hidden) keeps the sticky heading working */
}
.about__grid {
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
}
.about__side {
    position: relative;
}
.about__bird {
    display: none;
}
.statement {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(1.45rem, 3vw, 2.7rem);
    line-height: 1.22;
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
}
.statement em {
    font-style: normal;
    color: var(--pink);
}
.statement .w {
    display: inline-block;
}

@media (min-width: 900px) {
    .about__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        align-items: start;
    }
    .about__side {
        position: sticky;
        top: calc(var(--nav-h) + 3rem);
    }
    .about__bird {
        display: block;
        width: clamp(6rem, 10vw, 10rem);
        aspect-ratio: 1;
        margin-top: 3rem;
        background: var(--pink);
        -webkit-mask: url("../media/icons/bird.svg") left center / contain no-repeat;
        mask: url("../media/icons/bird.svg") left center / contain no-repeat;
        opacity: 0.9;
    }
}

/* Journey timeline */
.journey {
    position: relative;
    margin-top: clamp(4rem, 9vw, 8rem);
}
.journey__line {
    position: absolute;
    left: calc(var(--gutter) + 0.45rem);
    top: 0.6rem;
    bottom: 0;
    width: 2px;
    background: var(--line);
}
.journey__line span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(var(--gold), var(--pink));
    transform-origin: top;
    transform: scaleY(var(--p, 1));
}
.has-motion .journey__line span {
    --p: 0;
}
.journey__steps {
    display: grid;
    gap: 2.8rem;
}
.journey__step {
    position: relative;
    padding-left: 2.6rem;
}
.journey__step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--ink);
    border: 2px solid var(--gold);
}
.journey__year {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: 1;
    color: var(--gold);
}
.journey__step h3 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.15rem;
    margin: 0.4rem 0 0.5rem;
}
.journey__step p {
    color: var(--muted);
    max-width: 30em;
}
@media (min-width: 900px) {
    .journey__line {
        left: var(--gutter);
        right: var(--gutter);
        top: 0.5rem;
        bottom: auto;
        width: auto;
        height: 2px;
    }
    .journey__line span {
        transform-origin: left;
        transform: scaleX(var(--p, 1));
        background: linear-gradient(90deg, var(--gold), var(--pink));
    }
    .journey__steps {
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(1.5rem, 3vw, 3rem);
    }
    .journey__step {
        padding-left: 0;
        padding-top: 2.4rem;
    }
    .journey__step::before {
        top: 0;
    }
}

/* Presence: stats + countries */
.presence {
    position: relative;
    margin-top: clamp(4rem, 9vw, 8rem);
}
/* The map is sized to the stats + countries block so it never runs into the next section */
.presence__map {
    position: absolute;
    inset: -8% 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
    opacity: 0.2;
}
.presence__map img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
.stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
}
.stat {
    padding: clamp(1.2rem, 2.5vw, 2rem);
    border-radius: clamp(16px, 1.6vw, 24px);
    background: rgba(38, 38, 36, 0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: transform 0.5s var(--ease-out), border-color 0.4s;
}
.stat:hover {
    transform: translateY(-6px);
    border-color: var(--c);
}
.stat__num {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 0.9;
    color: var(--c);
    font-variant-numeric: tabular-nums;
}
.stat__label {
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
@media (min-width: 900px) {
    .stats {
        grid-template-columns: repeat(4, 1fr);
    }
}
.countries {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1.5rem, 6vw, 6rem);
    margin-top: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}
.countries li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}
.countries__name {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 0.9;
}
.countries__role {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.pin {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--muted);
}
.pin--live {
    background: var(--pink);
    box-shadow: 0 0 0 0 rgba(255, 36, 104, 0.6);
    animation: pulse-pink 2s infinite;
}
@keyframes pulse-pink {
    70% { box-shadow: 0 0 0 8px rgba(255, 36, 104, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 36, 104, 0); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
    overflow: clip;
    isolation: isolate;
}
.services__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem 3rem;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.services__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    max-width: 24rem;
}
.services__meta p {
    color: var(--muted);
}

/* Base: a stacked deck — each card sticks a little lower than the last */
.services__viewport {
    padding-inline: var(--gutter);
    max-width: var(--max);
    margin-inline: auto;
}
.services__track {
    display: grid;
    gap: 1rem;
}
.svc {
    --i: 0;
    position: sticky;
    top: calc(var(--nav-h) + 1rem + var(--i) * 14px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: clamp(1.4rem, 3vw, 2.2rem);
    min-height: 19rem;
    border-radius: clamp(20px, 2vw, 32px);
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: 0 -18px 40px -24px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    isolation: isolate;
    transition: border-color 0.4s;
}
.svc::before {
    content: "";
    position: absolute;
    inset: auto -20% -60% auto;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, var(--c), transparent 65%);
    opacity: 0.12;
    z-index: -1;
    transition: opacity 0.5s, transform 0.7s var(--ease-out);
}
.svc:hover {
    border-color: color-mix(in srgb, var(--c) 60%, transparent);
}
.svc:hover::before {
    opacity: 0.35;
    transform: scale(1.4);
}
.svc__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.svc__num {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--c);
}
.svc__icon {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--c);
    color: var(--ink);
    font-size: 1.25rem;
    transition: transform 0.6s var(--ease-out);
}
.svc:hover .svc__icon {
    transform: rotate(-12deg) scale(1.08);
}
.svc__title {
    font-family: var(--font-display);
    font-weight: normal;
    text-transform: uppercase;
    font-size: clamp(2rem, 3.2vw, 2.9rem);
    line-height: 0.9;
}
.svc__desc {
    color: var(--muted);
    font-size: 0.97rem;
    line-height: 1.6;
}
.svc__cta {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-block: 0.3rem;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c);
    border-bottom: 1px solid currentColor;
}
.svc__cta i {
    transition: transform 0.35s var(--ease-out);
}
.svc__cta:hover i {
    transform: translateX(4px);
}
.services__progress {
    display: none;
}
.services__hoof {
    display: none;
    position: absolute;
    right: 45%;
    top: 6%;
    width: clamp(6rem, 8vw, 8.5rem);
    aspect-ratio: 59 / 79;
    background: var(--orange);
    -webkit-mask: url("../media/icons/hoof.svg") center / contain no-repeat;
    mask: url("../media/icons/hoof.svg") center / contain no-repeat;
    rotate: 30deg;
    opacity: 0.9;
    z-index: -1;
    pointer-events: none;
}

@media (min-width: 640px) and (max-width: 899px) {
    .services__track {
        grid-template-columns: repeat(2, 1fr);
    }
    .svc {
        position: relative;
        top: auto;
    }
}

@media (min-width: 1200px) {
    .services__hoof {
        display: block;
    }
}

/* Desktop with motion: pinned horizontal track */
@media (min-width: 900px) {
    .services__track {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    .svc {
        position: relative;
        top: auto;
    }
    .has-motion .services {
        padding-block: 0;
    }
    .has-motion .services__stage {
        height: 100vh;
        height: 100svh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: var(--nav-h);
        padding-bottom: 2rem;
    }
    .has-motion .services__head {
        margin-bottom: clamp(1.5rem, 3vh, 3rem);
    }
    .has-motion .services__viewport {
        max-width: none;
        padding-inline: 0;
    }
    .has-motion .services__track {
        display: flex;
        gap: clamp(1rem, 1.6vw, 1.5rem);
        width: max-content;
        padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
        will-change: transform;
    }
    .has-motion .svc {
        width: clamp(300px, 27vw, 410px);
        min-height: min(30rem, 56svh);
    }
    .has-motion .services__progress {
        display: flex;
        align-items: center;
        gap: 1.25rem;
        margin-top: clamp(1.25rem, 3vh, 2.5rem);
    }
    .services__count {
        font-weight: 500;
        font-size: 0.85rem;
        letter-spacing: 0.1em;
        color: var(--muted);
        font-variant-numeric: tabular-nums;
    }
    .services__count b {
        color: var(--white);
        font-weight: 500;
    }
    .services__bar {
        flex: 1;
        max-width: 22rem;
        height: 2px;
        background: var(--line);
        border-radius: 2px;
        overflow: hidden;
    }
    .services__bar span {
        display: block;
        height: 100%;
        background: var(--orange);
        transform-origin: left;
        transform: scaleX(0);
    }
}
@media (min-width: 900px) and (max-height: 760px) {
    .has-motion .services .display {
        font-size: clamp(3rem, 11vh, 6rem);
    }
    .has-motion .svc {
        min-height: 0;
    }
    .has-motion .svc__desc {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects {
    overflow: clip;
}
.projects__pattern {
    position: absolute;
    inset: 15% -10% auto;
    height: 70%;
    background: url("../media/backgrounds/yellow_pattern.webp") center / contain no-repeat;
    opacity: 0.25;
    pointer-events: none;
}
.projects__head {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem 3rem;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.projects__controls {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.projects__now {
    display: flex;
    flex-direction: column;
    min-width: 12rem;
    max-width: 22rem;
}
.projects__brand {
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--yellow);
}
.projects__title {
    font-size: 1.05rem;
    line-height: 1.35;
}
.projects__arrows {
    display: flex;
    gap: 0.6rem;
}
.projects__rail {
    --card-w: clamp(210px, 62vw, 300px);
    position: relative;
    display: flex;
    gap: clamp(0.8rem, 1.5vw, 1.5rem);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-block: 1.5rem 2rem;
    padding-inline: calc(50% - var(--card-w) / 2);
    cursor: grab;
}
.projects__rail::-webkit-scrollbar {
    display: none;
}
.projects__rail.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}
.projects__rail.is-dragging .reel {
    pointer-events: none;
}
.reel {
    --s: 1;
    --o: 1;
    position: relative;
    flex: 0 0 var(--card-w);
    aspect-ratio: 9 / 16;
    scroll-snap-align: center;
    border-radius: clamp(20px, 2vw, 32px);
    overflow: hidden;
    background: var(--card);
    transform: scale(var(--s));
    opacity: var(--o);
    transition: outline-color 0.3s;
    outline: 2px solid transparent;
    outline-offset: 6px;
}
.reel.is-current {
    outline-color: var(--yellow);
}
.reel img,
.reel iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}
.reel img {
    transition: transform 0.8s var(--ease-out);
}
.reel:hover img {
    transform: scale(1.05);
}
.reel__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.85) 100%);
    pointer-events: none;
}
.reel__play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 2;
}
.reel__play span {
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
    font-size: 1.1rem;
    transition: transform 0.4s var(--ease-out), background-color 0.3s, color 0.3s;
}
.reel__play span i {
    margin-left: 3px;
}
.reel:hover .reel__play span {
    transform: scale(1.12);
    background: var(--yellow);
    color: var(--ink);
}
.reel__info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 1.25rem;
    pointer-events: none;
}
.reel__brand {
    display: block;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 0.3rem;
}
.reel__title {
    font-weight: 400;
    font-size: 0.98rem;
    line-height: 1.3;
}
.reel.is-playing .reel__play,
.reel.is-playing .reel__info,
.reel.is-playing .reel__shade {
    display: none;
}
.projects__tree {
    position: absolute;
    right: clamp(-2rem, -1vw, 0rem);
    bottom: 0;
    width: clamp(7rem, 14vw, 14rem);
    pointer-events: none;
    z-index: 1;
}
@media (max-width: 639px) {
    .projects__tree {
        display: none;
    }
}

/* ============================================================
   CLIENTS
   ============================================================ */
.clients {
    overflow: clip;
}
.clients__swirl {
    position: absolute;
    right: -5rem;
    top: 2rem;
    width: clamp(10rem, 22vw, 20rem);
    aspect-ratio: 69 / 71;
    background: var(--blue);
    -webkit-mask: url("../media/icons/swirl.svg") center / contain no-repeat;
    mask: url("../media/icons/swirl.svg") center / contain no-repeat;
    rotate: -125deg;
    pointer-events: none;
}
.clients__head {
    position: relative;
    display: grid;
    gap: 1.5rem 4rem;
    align-items: end;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.clients__intro {
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    color: var(--muted);
    max-width: 26rem;
}
.clients__big {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(4rem, 9vw, 8rem);
    line-height: 0.85;
    color: var(--blue-light);
}
@media (min-width: 900px) {
    .clients__head {
        grid-template-columns: 1fr auto;
    }
}
.clients__label {
    margin-bottom: 1rem;
}

/* Logo sizing — every logo is normalised by its *visible* area, so a wide
   wordmark and a square crest feel the same weight. clients.js sets:
   --rw / --rh : sqrt(aspect) and 1/sqrt(aspect) of the trimmed logo
   --bx/--by/--bw/--bh : the trimmed box inside the image, as fractions */
.logo {
    --S: 3rem;
    position: relative;
    display: block;
    width: calc(var(--S) * var(--rw, 1.4));
    height: calc(var(--S) * var(--rh, 0.7));
    flex-shrink: 0;
}
.logo img {
    position: absolute;
    left: calc(var(--bx, 0) / var(--bw, 1) * -100%);
    top: calc(var(--by, 0) / var(--bh, 1) * -100%);
    width: calc(100% / var(--bw, 1));
    height: calc(100% / var(--bh, 1));
    max-width: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.logo.is-ready img {
    opacity: 1;
}
.logo--dark img {
    filter: brightness(0) invert(1);
}

/* VIP — featured partners */
/* Flex + wrap so an incomplete last row is centred at every breakpoint.
   --per sets how many tiles fit on one row. */
.clients__vip {
    --gap: clamp(0.6rem, 1.2vw, 1rem);
    --per: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gap);
}
@media (min-width: 640px) {
    .clients__vip {
        --per: 3;
    }
}
@media (min-width: 1024px) {
    .clients__vip {
        --per: var(--vip-count, 5);
    }
}
.vip {
    flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 3 / 2;
    border-radius: clamp(16px, 1.6vw, 24px);
    background: var(--card);
    border: 1px solid var(--line);
    container-type: inline-size;
    overflow: hidden;
    isolation: isolate;
    transition: border-color 0.4s, transform 0.5s var(--ease-out);
}
.vip::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 50% 120%, rgba(241, 186, 80, 0.35), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
}
.vip:hover {
    border-color: rgba(241, 186, 80, 0.6);
    transform: translateY(-4px);
}
.vip:hover::before {
    opacity: 1;
}
.vip .logo {
    --S: 30cqw;
}

/* Marquees */
.clients__marquees {
    display: grid;
    gap: clamp(1.25rem, 2.5vw, 2rem);
    margin-top: clamp(3rem, 6vw, 5rem);
    -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    min-height: 12rem;
}
.marquee {
    overflow: hidden;
}
.marquee__track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
}
.marquee__item {
    display: grid;
    place-items: center;
    padding-inline: clamp(1.25rem, 2.6vw, 2.6rem);
    height: clamp(3.5rem, 6vw, 5rem);
}
.marquee__item .logo {
    --S: clamp(2.4rem, 3.8vw, 3.4rem);
    opacity: 0.55;
    transition: opacity 0.3s, transform 0.4s var(--ease-out);
}
.marquee__item:hover .logo {
    opacity: 1;
    transform: scale(1.12);
}

.clients__more {
    display: flex;
    justify-content: center;
    margin-top: clamp(2.5rem, 5vw, 4rem);
}
.clients__toggle i {
    transition: transform 0.4s var(--ease-out);
}
.clients__toggle[aria-expanded="true"] i {
    transform: rotate(45deg);
}

/* Full wall */
.clients__wall-wrap {
    overflow: hidden;
}
.clients__wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(92px, 22vw, 150px), 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    margin-top: clamp(2rem, 4vw, 3rem);
}
.wall-cell {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    container-type: inline-size;
    transition: background-color 0.3s;
}
.wall-cell:hover {
    background: var(--card);
}
.wall-cell .logo {
    --S: 30cqw;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.4s var(--ease-out);
}
.wall-cell:hover .logo {
    opacity: 1;
    transform: scale(1.08);
}

/* ============================================================
   INSTAGRAM
   ============================================================ */
.insta__grid {
    display: grid;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}
.insta__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}
.insta__copy .display {
    margin-bottom: 0.5rem;
}
.insta__phone {
    position: relative;
    justify-self: center;
    width: min(100%, 440px);
    padding: 12px;
    border-radius: 36px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: 0 40px 80px -30px rgba(255, 36, 104, 0.45);
}
.insta__phone::before {
    content: "";
    position: absolute;
    inset: -30% -20%;
    z-index: -1;
    background: radial-gradient(circle, rgba(255, 36, 104, 0.25), transparent 60%);
    filter: blur(10px);
}
.insta__phone .instagram-media,
.insta__phone iframe {
    border-radius: 24px !important;
    overflow: hidden;
    min-width: 0 !important;
    width: 100% !important;
}
@media (min-width: 900px) {
    .insta__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    overflow: clip;
    text-align: center;
}
.contact__tracks {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hoofprint {
    position: absolute;
    width: clamp(1.4rem, 2.6vw, 2.4rem);
    aspect-ratio: 59 / 79;
    background: var(--gold);
    -webkit-mask: url("../media/icons/hoof.svg") center / contain no-repeat;
    mask: url("../media/icons/hoof.svg") center / contain no-repeat;
    opacity: 0.18;
}
.has-motion .hoofprint {
    opacity: 0;
}
.contact__title {
    position: relative;
    font-family: var(--font-display);
    font-weight: normal;
    text-transform: uppercase;
    font-size: clamp(3.6rem, 15vw, 15rem);
    line-height: 0.8;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact__row {
    display: block;
    white-space: nowrap;
}
.contact__row--a {
    color: var(--gold);
}
.contact__cta {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: clamp(2rem, 4vw, 3rem);
}
.btn__icon--dark {
    filter: brightness(0);
}
.contact__cards {
    position: relative;
    display: grid;
    gap: 1rem;
    margin-top: clamp(3rem, 7vw, 6rem);
    text-align: left;
}
.contact-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-radius: 20px;
    background: var(--card);
    border: 1px solid var(--line);
    overflow: hidden;
    isolation: isolate;
    transition: border-color 0.4s, transform 0.5s var(--ease-out);
}
.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--c);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s var(--ease-out);
}
.contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--c);
}
.contact-card:hover::before {
    transform: scaleY(1);
}
.contact-card:hover,
.contact-card:hover .contact-card__label {
    color: var(--ink);
}
.contact-card:hover .contact-card__icon {
    background: var(--ink);
    color: var(--c);
}
.contact-card__icon {
    grid-row: span 2;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--c);
    color: var(--ink);
    font-size: 1.1rem;
    transition: background-color 0.3s, color 0.3s;
}
.contact-card__label {
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.3s;
}
.contact-card__value {
    font-weight: 400;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    line-height: 1.35;
    overflow-wrap: anywhere;
}
@media (min-width: 900px) {
    .contact__cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding-block: 3rem calc(var(--frame) + 2rem);
    border-top: 1px solid var(--line);
}
.footer__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.footer__logo {
    height: 44px;
    width: auto;
}
.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.75rem;
}
.footer__links a {
    color: var(--muted);
    transition: color 0.3s;
}
.footer__links a:hover {
    color: var(--gold);
}
.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--muted);
}
.footer__top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}
.footer__top:hover {
    color: var(--gold);
}

/* ============================================================
   REVEALS (initial states only apply when motion is on)
   ============================================================ */
.has-motion [data-reveal] {
    opacity: 0;
    transform: translateY(40px);
}

/* ============================================================
   MODALS (built by forms.js)
   ============================================================ */
.custom-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.custom-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 9, 0.6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: fade-in 0.3s ease;
}
.custom-modal-content {
    position: relative;
    z-index: 1;
    width: min(100%, 720px);
    max-height: calc(100svh - 2rem);
    overflow: auto;
    overscroll-behavior: contain;
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: clamp(20px, 2.4vw, 32px);
    background: var(--ink);
    border: 1px solid rgba(241, 186, 80, 0.5);
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8);
    animation: modal-in 0.5s var(--ease-out);
}
@keyframes fade-in {
    from { opacity: 0; }
}
@keyframes modal-in {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
}
.modal-form-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 500;
    border: 1px solid var(--line);
    transition: background-color 0.3s, color 0.3s;
}
.modal-form-close:hover {
    background: var(--gold);
    color: var(--ink);
}
.custom-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1rem;
}
.custom-form h1 {
    width: 100%;
    font-family: var(--font-display);
    font-weight: normal;
    text-transform: uppercase;
    color: var(--gold);
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 0.9;
    margin-bottom: 1.5rem;
    padding-right: 3rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.1rem;
    width: 100%;
}
.form-group label {
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.form-input {
    width: 100%;
    padding: 0.95rem 1.1rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--white);
    font: inherit;
    font-size: 1rem; /* 16px stops iOS zooming on focus */
    transition: border-color 0.3s, background-color 0.3s;
}
.form-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}
.form-input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--card-2);
}
select.form-input option {
    color: var(--ink);
}
@media (min-width: 640px) {
    .form-group.size-2 {
        width: calc(50% - 0.5rem);
    }
}
.form-submit {
    margin-top: 0.75rem;
    padding: 1rem 2.2rem;
    border-radius: 99px;
    background: var(--gold);
    color: var(--ink);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.3s var(--ease-out);
}
.form-submit:hover {
    background: var(--orange);
}
.form-submit:active {
    transform: scale(0.96);
}
.input-error {
    border-color: var(--pink) !important;
    box-shadow: 0 0 0 3px rgba(255, 36, 104, 0.2);
}

/* ============================================================
   Reduced motion: no infinite animations
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
