/* ===== Fonts (self-hosted, latin subset) ===== */

/* ===== Brand palette (from client) ===== */
:root {
    --white: #ffffff;
    --peach: #FFE3D1;
    --cream: #FFE3D1;
    --tan: #FEAA74;
    --orange-soft: #FD9C5C;
    --orange: #FD802E;
    --orange-2: #FD802E;
    --plum: #111111;
    --plum-2: #1E1E22;

    /* Light surfaces */
    --paper: #ffffff;
    --paper-warm: #FFE3D1;

    /* Extra accents that sit alongside the brand orange */
    --violet: #FD9C5C;
    --pink: #FEAA74;
    --sky: #FD802E;
    --teal: #FEAA74;
    --sun: #FD9C5C;
    --lime: #FFE3D1;
    /* note: --plum / --plum-2 keep their names but now hold the black base colours */

    --font-display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
    --font-script: "Shrikhand", cursive;
    --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius: 24px;
}

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

html { scroll-behavior: smooth; }
section { scroll-margin-top: 84px; }

/* Lenis smooth scroll (recommended base styles) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Gradient scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 4px;
    z-index: 100;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, #FFE3D1, #FEAA74, #FD9C5C, #FD802E);
    box-shadow: 0 0 14px rgba(253, 128, 46, .7);
    pointer-events: none;
    will-change: transform;
}

/* Soft glows behind the dark sections; script.js drifts them with scroll progress */
.scroll-glow { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.scroll-glow span {
    position: absolute;
    width: 70vmax;
    height: 70vmax;
    border-radius: 50%;
    will-change: transform;
}
.scroll-glow span:nth-child(1) { left: -30vmax; top: -25vmax; background: radial-gradient(circle, rgba(253, 128, 46, .22), transparent 62%); }
.scroll-glow span:nth-child(2) { right: -35vmax; top: 10vh;   background: radial-gradient(circle, rgba(254, 170, 116, .16), transparent 62%); }
.scroll-glow span:nth-child(3) { left: 20vw;   bottom: -45vmax; background: radial-gradient(circle, rgba(253, 156, 92, .14), transparent 62%); }

/* Firefox only: Chrome/Edge would let these override the richer ::-webkit-scrollbar styles below */
@supports (-moz-appearance: none) {
    html { scrollbar-color: var(--orange) var(--plum); scrollbar-width: thin; }
}

/* Custom scrollbar (Chrome, Edge, Safari) */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--plum); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--orange), var(--orange-soft));
    border: 3px solid var(--plum);
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: var(--peach); }
::-webkit-scrollbar-thumb:active { background: var(--orange-2); }
::-webkit-scrollbar-corner { background: var(--plum); }

/* Text selection in brand colours too */
::selection { background: var(--orange); color: var(--white); }

body {
    margin: 0;
    background: var(--plum);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Colour helpers ===== */
.c-orange { color: var(--orange); }
.c-soft   { color: var(--orange-soft); }
.c-peach  { color: var(--peach); }
.c-cream  { color: var(--cream); }
.c-tan    { color: var(--tan); }
.c-plum   { color: var(--plum); }

.script {
    font-family: var(--font-script);
    text-transform: none;
    font-weight: 400;
    letter-spacing: 0;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-orange { background: var(--orange); color: var(--white); box-shadow: 4px 4px 0 var(--peach); }
.btn-orange:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--peach); }

.btn-ghost { border-color: rgba(255, 227, 209, .35); color: var(--cream); }
.btn-ghost:hover { border-color: var(--peach); background: rgba(255, 227, 209, .08); }

.btn-plum { background: var(--plum); color: var(--peach); box-shadow: 4px 4px 0 var(--plum-2); }
.btn-plum:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--plum-2); }

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    /* solid instead of backdrop blur: blurring the moving content behind it every frame was a big source of lag */
    background: rgba(17, 17, 17, .97);
    box-shadow: 0 1px 0 rgba(255, 227, 209, .06);
}

.nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 84px;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-right { justify-content: flex-end; }

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--cream);
    position: relative;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -4px;
    width: 100%; height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

/* Logo */
.logo { display: inline-flex; align-items: center; }
.logo-img { height: 52px; width: auto; transition: transform .4s cubic-bezier(.2, .9, .3, 1.5); }
.logo:hover .logo-img { transform: rotate(-3deg) scale(1.05); }

/* ===== Custom hamburger: orange pill, rolling MENU/CLOSE label, staggered bars that morph into an X ===== */
.nav { position: relative; z-index: 2; }
.nav-toggle {
    display: none;
    justify-self: end;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 6px 0 18px;
    border: 2px solid var(--plum);
    border-radius: 999px;
    background: var(--orange);
    box-shadow: 3px 3px 0 var(--peach);
    color: var(--plum);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform .25s ease, box-shadow .25s ease, background-color .35s ease;
}
.nav-toggle:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--peach); }
.nav-toggle:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; }

/* label: both words stacked, the window shows one and they roll past each other */
.nt-label {
    display: block;
    height: 20px;
    overflow: hidden;
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.nt-label span { display: block; transition: transform .45s cubic-bezier(.7, 0, .2, 1); }

/* icon: black circle with three bars of different lengths */
.nt-icon {
    position: relative;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--plum);
    transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.nt-icon i {
    position: absolute;
    left: 10px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--orange);
    transition: transform .45s cubic-bezier(.7, 0, .2, 1), width .3s ease, top .3s ease, opacity .2s ease;
}
.nt-icon i:nth-child(1) { top: 11px;   width: 16px; }
.nt-icon i:nth-child(2) { top: 16.5px; width: 10px; }
.nt-icon i:nth-child(3) { top: 22px;   width: 13px; }
@media (hover: hover) {
    .nav-toggle:hover .nt-icon i { width: 16px; }
    .nav-toggle:hover .nt-icon { transform: rotate(-12deg); }
}

/* open state: label rolls to CLOSE, bars become an X, pill turns peach */
.nav-open .nav-toggle { background: var(--peach); box-shadow: 3px 3px 0 var(--orange); }
.nav-open .nt-label span { transform: translateY(-100%); }
.nav-open .nt-icon { transform: rotate(180deg); }
.nav-open .nt-icon i { top: 16.5px; width: 16px; }
.nav-open .nt-icon i:nth-child(1) { transform: rotate(45deg); }
.nav-open .nt-icon i:nth-child(2) { opacity: 0; transform: translateX(8px); }
.nav-open .nt-icon i:nth-child(3) { transform: rotate(-45deg); }

/* ===== Full-screen mobile menu ===== */
.mobile-menu { display: none; }
html.menu-open { overflow: hidden; }

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 56px 0 90px;
    overflow: hidden;
}
/* Soft orange glow behind the gallery */
.hero::before {
    content: "";
    position: absolute;
    width: 700px; height: 700px;
    right: 18%; top: -80px;
    background: radial-gradient(circle, rgba(253, 128, 46, .22), transparent 65%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}
/* min-width: 0 stops the wide moving tracks from stretching the grid */
.hero-copy { position: relative; z-index: 2; min-width: 0; }

/* Staggered entrance for the left column */
.hero-in { opacity: 0; transform: translateY(30px); animation: hero-in .9s cubic-bezier(.2, .8, .3, 1) var(--d, 0s) forwards; }
@keyframes hero-in { to { opacity: 1; transform: none; } }

.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border-radius: 12px;
    background: var(--plum-2);
    border: 1px solid rgba(255, 227, 209, .14);
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
}
.hb-star {
    display: grid;
    place-items: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    font-size: 12px;
}
.hb-dot {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--peach);
    box-shadow: 0 0 0 4px rgba(255, 227, 209, .25);
    animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 227, 209, .08); } }

.hero-heading {
    margin: 0 0 24px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(46px, 5.2vw, 80px);
    line-height: 1;
    text-transform: uppercase;
    color: var(--white);
}
.hh-line { display: block; white-space: nowrap; }
.hero-heading .script { font-size: .86em; line-height: 1.2; }

/* Stickers */
.sticker {
    display: inline-block;
    width: .7em;
    height: .7em;
    vertical-align: middle;
    flex-shrink: 0;
}
.smiley { transform: rotate(-12deg); animation: bob 4s ease-in-out infinite; }

@keyframes bob {
    0%, 100% { translate: 0 0; rotate: 0deg; }
    50%      { translate: 0 -8px; rotate: 8deg; }
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-text { margin: 0 0 32px; max-width: 560px; font-size: 18px; color: var(--cream); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-lg { padding: 17px 34px; font-size: 18px; border-radius: 16px; }
.btn-lg .arrow { font-size: 1.4em; line-height: .6; }

.hero-clients { margin-top: 44px; }
.hero-clients > span { display: block; font-size: 15px; font-weight: 500; color: var(--peach); margin-bottom: 10px; }
.hero-clients ul { display: flex; flex-wrap: wrap; gap: 8px 34px; list-style: none; margin: 0; padding: 0; }
.hero-clients li {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.4vw, 34px);
    text-transform: uppercase;
    color: var(--white);
    opacity: .9;
    transition: color .3s ease, transform .3s ease;
}
.hero-clients li:hover { color: var(--orange); transform: translateY(-3px); }

/* Floating decorations */
.deco { position: absolute; pointer-events: none; }
.deco-plus     { width: 30px; top: 30px;  left: 3%;  color: var(--orange-soft); animation: bob 5s ease-in-out infinite; }
.deco-squiggle { width: 100px; bottom: 30px; left: 40%; color: var(--tan); }

/* ===== Moving project gallery ===== */
.hero-gallery-wrap { position: relative; min-width: 0; }
.hero-gallery {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* bleed off the right edge of the screen */
    margin-right: calc(-1 * max(24px, (100vw - 1240px) / 2 + 24px));
}
/* Edge fades as static overlays. (A CSS mask on the moving area would force a full repaint every frame.) */
.hero-gallery::before,
.hero-gallery::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 14%;
    z-index: 2;
    pointer-events: none;
}
.hero-gallery::before { left: 0;  background: linear-gradient(90deg, var(--plum), transparent); }
.hero-gallery::after  { right: 0; background: linear-gradient(-90deg, var(--plum), transparent); }

.gallery-row { overflow: hidden; }
.gallery-track {
    display: flex;
    --gap: 20px;
    gap: var(--gap);
    width: max-content;
    animation: gallery-left 45s linear infinite;
    /* keep the moving strip on its own GPU layer */
    will-change: transform;
    backface-visibility: hidden;
}
.gallery-row-reverse .gallery-track { animation-name: gallery-right; animation-duration: 52s; margin-left: -120px; }
/* Only paused while the hero is scrolled out of view (set by script.js), never on hover */
.hero.is-offscreen .gallery-track { animation-play-state: paused; }

/* Each track holds two identical sets; shifting by half (plus half a gap) loops seamlessly */
@keyframes gallery-left  { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-50% - var(--gap) / 2), 0, 0); } }
@keyframes gallery-right { from { transform: translate3d(calc(-50% - var(--gap) / 2), 0, 0); } to { transform: translate3d(0, 0, 0); } }

.gallery-track img {
    width: clamp(260px, 26vw, 400px);
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: top;
    border-radius: 16px;
    border: 2px solid rgba(255, 227, 209, .14);
}

/* Markro mascot in front of the gallery */
.hero-duck {
    position: absolute;
    z-index: 3;
    right: 4%;
    bottom: -70px;
    height: 118%;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    animation: duck-in 1.1s cubic-bezier(.2, .9, .3, 1.2) .5s backwards;
}
.hero-duck img {
    position: relative;
    z-index: 1;
    height: 100%;
    width: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .55));
    animation: float 6s ease-in-out 1.6s infinite;
}
.hero-duck-circle {
    position: absolute;
    left: 50%;
    top: 14%;
    width: 78%;
    aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--sun), var(--orange) 60%, #FD802E);
    border: 4px solid var(--peach);
    box-shadow: 0 0 0 14px rgba(253, 128, 46, .15);
}
@keyframes duck-in {
    from { opacity: 0; transform: translateY(80px) scale(.9); }
    to   { opacity: 1; transform: none; }
}

.talk-badge {
    position: absolute;
    left: 6%;
    bottom: -60px;
    width: 130px;
    height: 130px;
    display: grid;
    place-items: center;
    transform: rotate(-10deg);
    transition: transform .3s ease;
    z-index: 3;
}
.talk-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.talk-badge span {
    position: relative;
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--plum);
    text-align: center;
}
.talk-badge:hover { transform: rotate(4deg) scale(1.08); }

/* ===== Marquee ===== */
.marquee {
    background: var(--orange);
    border-block: 3px solid var(--plum);
    overflow: hidden;
    transform: rotate(-1.5deg);
    margin: 0 -20px;
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: 28px;
    width: max-content;
    padding: 16px 0;
    animation: marquee 30s linear infinite;
}
.marquee span {
    font-family: var(--font-display);
    font-size: 40px;
    text-transform: uppercase;
    color: var(--plum);
    white-space: nowrap;
}
.marquee span.alt { font-family: var(--font-script); text-transform: none; font-size: 34px; color: var(--white); }
.marquee i { font-style: normal; font-size: 26px; color: var(--plum); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Crossed marquees (X shape) */
.marquee-cross {
    position: relative;
    height: clamp(200px, 19vw, 270px);
    overflow: hidden;
}
.marquee-cross .marquee {
    position: absolute;
    top: 50%;
    left: -6%;
    right: -6%;
    margin: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.marquee-cross .marquee-track { will-change: transform; }
.marquee-a { z-index: 2; transform: translateY(-50%) rotate(-4deg); }
.marquee-b {
    z-index: 1;
    transform: translateY(-50%) rotate(4deg);
    background: var(--peach);
}
.marquee-b .marquee-track { animation-direction: reverse; animation-duration: 34s; }
.marquee-b span { color: var(--plum); }
.marquee-b span.alt { color: var(--orange); }
.marquee-b i { color: var(--orange); }
/* Client logos in the peach strip, divided by the orange Markro "M" */
.marquee-b .marquee-track { gap: 44px; padding: 18px 0; }
.mq-logo { height: var(--h, 48px); width: auto; flex-shrink: 0; }
.mq-sep { height: 26px; width: auto; flex-shrink: 0; }
/* Narrow screens need a steeper angle for the X to read */
@media (max-width: 700px) {
    .marquee-a { transform: translateY(-50%) rotate(-9deg); }
    .marquee-b { transform: translateY(-50%) rotate(9deg); }
    .marquee-cross .marquee-track { padding: 10px 0; }
    .marquee-b .marquee-track { gap: 28px; }
    .mq-logo { height: calc(var(--h, 48px) * .7); }
    .mq-sep { height: 20px; }
}

/* ===== Sections ===== */
.section { padding: 110px 0; }

.eyebrow {
    display: inline-block;
    padding: 6px 16px;
    border: 1.5px solid var(--orange-soft);
    border-radius: 999px;
    color: var(--orange-soft);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(40px, 5.6vw, 76px);
    line-height: 1.02;
    text-transform: uppercase;
    color: var(--white);
    margin: 0 0 20px;
}
.section-title .script { font-size: .85em; }

.section-head { text-align: center; margin-bottom: 56px; }

.lead { font-size: 18px; color: var(--cream); opacity: .9; max-width: 540px; }
.link { color: var(--orange); border-bottom: 2px solid currentColor; }

/* About */
.about-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(34px, 4.6vw, 64px);
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--white);
    margin: 0 0 64px;
    max-width: 1100px;
}
.about-title .script { font-size: .86em; }

.about-row {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    align-items: center;
    margin-bottom: 64px;
}
.experience {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 48px;
    border-right: 2px solid rgba(255, 227, 209, .15);
    text-align: right;
}
.experience strong {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(90px, 11vw, 150px);
    line-height: .9;
    color: var(--peach);
}
.experience > span {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 38px);
    text-transform: uppercase;
    color: var(--white);
}
.about-text { padding-left: 48px; }
.about-text p { margin: 0 0 24px; font-size: 17px; max-width: 560px; }

/* 24/7 support banner */
.support-banner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    border-radius: 32px;
    overflow: hidden;
    border: 3px solid var(--peach);
    box-shadow: 10px 10px 0 var(--orange);
}
.support-left {
    background: var(--plum-2);
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.support-left strong {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(90px, 10vw, 140px);
    line-height: .9;
    color: var(--white);
}
.support-left span {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1;
    text-transform: uppercase;
    color: var(--orange);
}
.support-right {
    position: relative;
    background: var(--orange);
    min-height: 280px;
    display: flex;
    align-items: center;
    padding: 40px 44px;
    overflow: hidden;
}
.support-right::before {
    content: "";
    position: absolute;
    width: 340px; height: 340px;
    border-radius: 50%;
    border: 36px solid rgba(255, 227, 209, .22);
    right: -90px; bottom: -150px;
}
.support-copy {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 280px;
    font-family: var(--font-script);
    font-size: 24px;
    line-height: 1.3;
    color: var(--white);
}
.support-duck {
    position: absolute;
    right: 20px;
    bottom: 0;
    height: 105%;
    width: auto;
    z-index: 1;
}
.deco-bubble { position: absolute; z-index: 2; animation: bob 4s ease-in-out infinite; }
.deco-bubble.b1 { width: 58px; top: 22px; right: 42%; transform: rotate(-8deg); }
.deco-bubble.b2 { width: 46px; top: 60px; right: 36%; animation-delay: -2s; }

/* Services head */
.services-head {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 56px;
}
.services-head .section-title { margin: 0; }
.services-intro p { margin: 0 0 22px; font-size: 17px; }

/* Services */
.services { background: var(--plum-2); border-radius: 48px; margin: 0 16px; }
/* Stacking service cards */
.stack { padding-bottom: 40px; }

.stack-card {
    position: sticky;
    top: calc(104px + var(--i) * 22px);
    display: grid;
    grid-template-columns: 110px 1fr 170px;
    grid-template-rows: 1fr auto;
    column-gap: 24px;
    min-height: 540px;
    margin-bottom: 48px;
    padding: 44px 40px 36px;
    background: var(--plum);
    border: 2px solid rgba(255, 227, 209, .18);
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 -18px 40px rgba(0, 0, 0, .35);
    transform-origin: 50% 0;
    will-change: transform;
}
.stack-card:last-child { margin-bottom: 0; }
/* Dimming overlay (opacity is cheap to animate; filter: brightness() on big cards was not) */
.stack-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #000000;
    opacity: var(--dim, 0);
    pointer-events: none;
    z-index: 5;
    border-radius: inherit;
}

.stack-blob {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: var(--plum-2);
    pointer-events: none;
}

.stack-body {
    position: relative;
    grid-column: 2 / 4;
    grid-row: 1 / 3;
    padding-right: 170px;
}
.stack-body h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(32px, 3.6vw, 50px);
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--orange);
    margin: 0 0 12px;
}
.stack-body > p { margin: 0 0 18px; max-width: 660px; color: var(--cream); }

.stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
}
.stack-tags li {
    padding: 4px 14px;
    border: 1.5px solid rgba(255, 227, 209, .35);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--peach);
}

.stack-panel {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 250px;
    padding: 28px 32px;
    background: var(--orange);
    border-radius: 24px;
}
.panel-text { position: relative; z-index: 2; max-width: 55%; }
.panel-text h4 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(34px, 3.8vw, 54px);
    line-height: 1;
    text-transform: uppercase;
    color: var(--white);
    margin: 0 0 16px;
}
.panel-text ol { list-style: none; margin: 0; padding: 0; }
.panel-text li {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--plum);
    line-height: 1.5;
}
.panel-text li span { color: var(--cream); }

/* Mascot slot: white circle behind, image overflows to the right of the panel */
.panel-visual {
    position: absolute;
    right: -150px;
    bottom: 0;
    width: 320px;
    height: 120%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}
.visual-circle {
    position: absolute;
    top: 0;
    right: 0;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--orange);
    display: grid;
    place-items: center;
}
.visual-circle svg { width: 84px; height: 84px; }
/* Hide the placeholder icon once the character image has loaded */
.panel-visual:has(img) .visual-circle svg { display: none; }
.panel-visual img { filter: drop-shadow(0 12px 18px rgba(17, 17, 17, .35)); }
.panel-visual img {
    position: relative;
    height: 100%;
    width: auto;
    object-fit: contain;
    z-index: 1;
}

.stack-num {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    font-family: var(--font-display);
    font-size: 96px;
    line-height: .85;
    color: var(--orange);
}
.stack-btn {
    position: relative;
    grid-column: 3;
    grid-row: 2;
    align-self: end;
    justify-self: end;
    z-index: 3;
    white-space: nowrap;
}

/* Too tall to stick on short screens: JS adds this */
.stack-card.no-stick { position: relative; top: auto; }

/* ===== Why Trust Us ===== */
.why { position: relative; overflow: hidden; }

.why-swirl {
    position: absolute;
    width: 720px;
    top: 80px;
    left: 50%;
    margin-left: -420px;
    color: var(--orange);
    opacity: .14;
    pointer-events: none;
    animation: swirl 40s linear infinite;
}
@keyframes swirl {
    0%   { transform: rotate(0deg) scale(1); }
    50%  { transform: rotate(180deg) scale(1.08); }
    100% { transform: rotate(360deg) scale(1); }
}

.why .container { position: relative; }
.why .section-title { max-width: 720px; margin-bottom: 56px; }

.why-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 80px;
}

/* Timeline with a scroll-filled progress line */
.why-list { position: relative; display: flex; flex-direction: column; gap: 40px; padding-left: 4px; }
.why-line {
    position: absolute;
    left: 31px;
    top: 30px;
    bottom: 30px;
    width: 3px;
    background: rgba(255, 227, 209, .15);
    border-radius: 3px;
}
.why-line span {
    display: block;
    width: 100%;
    height: calc(var(--progress, 0) * 100%);
    background: var(--orange);
    border-radius: 3px;
    box-shadow: 0 0 12px var(--orange);
}

.why-item { position: relative; display: flex; gap: 24px; align-items: flex-start; }
.why-num {
    flex-shrink: 0;
    width: 58px; height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--plum-2);
    border: 2px solid var(--orange);
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--orange);
    transition: background .4s ease, color .4s ease, transform .4s ease;
}
.why-item.lit .why-num { background: var(--orange); color: var(--white); transform: scale(1.08); }
.why-item h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 30px;
    text-transform: uppercase;
    color: var(--white);
    margin: 4px 0 6px;
}
.why-item p { margin: 0; max-width: 480px; color: var(--cream); opacity: .9; }

/* Right column */
.why-quote {
    font-family: var(--font-script);
    font-size: 22px;
    line-height: 1.4;
    color: var(--peach);
    margin: 0 0 28px;
    padding-left: 22px;
    border-left: 3px solid var(--orange);
}
.why-panel {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--orange);
    border-radius: 28px;
    border: 3px solid var(--peach);
    box-shadow: -10px 10px 0 var(--plum-2);
    display: grid;
    place-items: center;
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50%      { transform: translateY(-12px) rotate(1deg); }
}
.why-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    z-index: 2;
}

.why-chart {
    position: relative;
    width: 70%;
    height: 62%;
    display: flex;
    align-items: flex-end;
    gap: 6%;
    border-bottom: 4px solid var(--plum);
}
.why-chart span {
    flex: 1;
    height: var(--h);
    background: var(--cream);
    border-radius: 10px 10px 0 0;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .9s cubic-bezier(.2, .9, .3, 1.3);
}
.why-chart span:nth-child(2) { transition-delay: .1s; }
.why-chart span:nth-child(3) { transition-delay: .2s; }
.why-chart span:nth-child(4) { transition-delay: .3s; }
.why-chart span:nth-child(5) { transition-delay: .4s; background: var(--plum); }
.why-trend { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.why-trend path { stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 1.4s ease .6s; }
.why-visual.in .why-chart span { transform: scaleY(1); }
.why-visual.in .why-trend path { stroke-dashoffset: 0; }

.why-chip {
    position: absolute;
    z-index: 3;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--plum);
    color: var(--peach);
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
    animation: bob 4s ease-in-out infinite;
}
.chip-1 { top: -16px; left: 24px; }
.chip-2 { bottom: 24px; right: -20px; background: var(--peach); color: var(--plum); animation-delay: -2s; }

/* Stat circles */
.why-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.why-stat {
    position: relative;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    transition: transform .4s ease, opacity .7s ease;
}
.why-stat:hover { transform: rotate(-6deg) scale(1.04); }
.stat-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.stat-ring circle { fill: none; stroke: rgba(255, 227, 209, .18); stroke-width: 2; }
.stat-ring .ring-fill {
    stroke: var(--orange);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 1.6s ease;
}
.why-stat.in .ring-fill { stroke-dashoffset: 0; transition-delay: var(--d, 0s); }
.why-stat strong {
    position: relative;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(40px, 4.4vw, 64px);
    line-height: 1;
    color: var(--orange);
}
.why-stat > span { position: relative; font-weight: 600; color: var(--white); margin-top: 6px; }

/* Staggered reveals */
.reveal, .reveal-left { transition-delay: var(--d, 0s); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity .7s ease var(--d, 0s), transform .7s cubic-bezier(.2, .8, .3, 1) var(--d, 0s); }
.reveal-left.in { opacity: 1; transform: none; }

/* Logo marquee (runs opposite to the top one) */
.logo-marquee {
    background: var(--plum-2);
    border-block: 3px solid var(--orange);
    overflow: hidden;
    margin-top: 20px;
}
.logo-track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    padding: 18px 0;
    animation: marquee 26s linear infinite reverse;
}
.logo-marquee img { height: 56px; width: auto; flex-shrink: 0; }
.logo-marquee img:nth-child(even) { opacity: .55; }

/* Portfolio */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px 24px;
    perspective: 1200px;
}
.project {
    position: relative;
    padding-bottom: 56px;
    transform-style: preserve-3d;
    transition: transform .5s cubic-bezier(.2, .8, .3, 1);
}

/* Image area: wipes up into view, zooms on hover */
.project-media {
    position: relative;
    aspect-ratio: 5 / 4;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg1), var(--bg2));
    display: grid;
    place-items: center;
    clip-path: inset(100% 0 0 0 round 24px);
    transition: clip-path 1s cubic-bezier(.7, 0, .2, 1) var(--d, 0s);
}
.project.in .project-media { clip-path: inset(0 0 0 0 round 24px); }

.project-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.25);
    transition: transform 1.4s cubic-bezier(.2, .8, .3, 1) var(--d, 0s);
}
.project.in .project-media img { transform: scale(1); }
.project:hover .project-media img { transform: scale(1.08); transition-delay: 0s; transition-duration: .6s; }

.project-icon {
    width: 34%;
    fill: none;
    stroke: var(--cream);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .85;
    transition: transform .6s ease;
}
.project:hover .project-icon { transform: scale(1.12) rotate(-6deg); }

/* With a photo: full-bleed image, soft dark fade at the bottom for the label, icon as a corner badge */
.project-media:has(img) {
    background: var(--plum-2);
    border: 2px solid color-mix(in srgb, var(--accent) 70%, transparent);
}
.project-media:has(img)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(0deg, rgba(17, 17, 17, .75) 0%, rgba(17, 17, 17, 0) 55%),
        linear-gradient(140deg, color-mix(in srgb, var(--accent) 25%, transparent), transparent 60%);
}
.project-media:has(img) .project-icon {
    position: absolute;
    z-index: 2;
    top: 14px; left: 14px;
    width: 46px; height: 46px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(17, 17, 17, .85);
    stroke: var(--white);
    stroke-width: 4;
    opacity: 1;
}
.project-media:has(img) img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Overlapping label card */
.project-label {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 76%;
    padding: 16px 16px 18px;
    background: var(--plum);
    border: 2px solid var(--orange);
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
    opacity: 0;
    transform: translate(-50%, 40px) translateZ(40px);
    transition: opacity .6s ease calc(var(--d, 0s) + .5s), transform .7s cubic-bezier(.2, .9, .3, 1.3) calc(var(--d, 0s) + .5s), background .3s ease;
}
.project.in .project-label { opacity: 1; transform: translate(-50%, 0) translateZ(40px); }
.project:hover .project-label { transform: translate(-50%, -8px) translateZ(40px); background: var(--plum-2); transition-delay: 0s; }

.project-label h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 26px;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--white);
    margin: 0;
}
.project-label > span { font-size: 13px; font-weight: 500; color: var(--peach); margin-bottom: 8px; }

.btn-sm { padding: 7px 16px; font-size: 13px; box-shadow: 3px 3px 0 var(--peach); }

/* FAQs */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}
.faq-intro { position: sticky; top: 120px; }
.faq-intro .section-title { margin-bottom: 28px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 2px solid rgba(255, 227, 209, .15); }
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 0;
    background: none;
    border: 0;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.35;
    color: var(--white);
    transition: color .3s ease;
}
.faq-q:hover { color: var(--peach); }
.faq-n { font-family: var(--font-display); font-weight: 400; color: var(--orange); flex-shrink: 0; }
.faq-q::after {
    content: "+";
    margin-left: auto;
    flex-shrink: 0;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 2px solid var(--orange);
    color: var(--orange);
    display: grid;
    place-items: center;
    font-size: 22px;
    font-weight: 400;
    transition: transform .4s ease, background .3s ease, color .3s ease;
}
.faq-item.open .faq-q { color: var(--orange); }
.faq-item.open .faq-q::after { transform: rotate(135deg); background: var(--orange); color: var(--white); }

/* Smooth height animation via grid rows */
.faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .45s cubic-bezier(.2, .8, .3, 1);
}
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0 0 24px; padding-left: 52px; color: var(--cream); opacity: 0; transform: translateY(-8px); transition: opacity .4s ease, transform .4s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a p { opacity: .9; transform: none; transition-delay: .1s; }

/* ===== Pop-in reveal used by cards ===== */
/* Keyframes (not transitions) so the card's own hover transitions stay snappy */
.reveal-pop { opacity: 0; }
.reveal-pop.in { opacity: 1; animation: pop-in .8s cubic-bezier(.2, .9, .3, 1.2) var(--d, 0s) backwards; }
@keyframes pop-in {
    from { opacity: 0; transform: translateY(50px) scale(.92) rotate(-2deg); }
    to   { opacity: 1; transform: none; }
}
.lead.center { margin: 0 auto; text-align: center; }

/* ===== Testimonials ===== */
.testimonials { position: relative; overflow: hidden; }
.testi-blob {
    position: absolute;
    width: 420px;
    left: 18%;
    top: 40px;
    fill: var(--orange);
    opacity: .12;
    pointer-events: none;
    animation: blob-morph 18s ease-in-out infinite;
}
@keyframes blob-morph {
    0%, 100% { transform: rotate(0deg) scale(1); border-radius: 0; }
    50%      { transform: rotate(14deg) scale(1.1); }
}
.testi-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: center;
}
.testi-intro .lead { margin-bottom: 28px; }
.testi-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.testi {
    margin: 0;
    padding: 26px 24px;
    background: var(--plum-2);
    border: 2px solid rgba(253, 156, 92, .35);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform .4s ease, border-color .3s ease, box-shadow .4s ease;
}
.testi:nth-child(even) { margin-top: 36px; }
.testi.in:hover { transform: translateY(-8px) rotate(-1deg); border-color: var(--orange); box-shadow: 8px 8px 0 var(--orange); }

.testi-stars { display: flex; gap: 4px; }
.testi-stars i {
    width: 20px; height: 20px;
    background: var(--orange);
    clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    transform: scale(0) rotate(-90deg);
    transition: transform .5s cubic-bezier(.2, .9, .3, 1.6);
}
.testi.in .testi-stars i { transform: none; }
.testi.in .testi-stars i:nth-child(1) { transition-delay: calc(var(--d) + .4s); }
.testi.in .testi-stars i:nth-child(2) { transition-delay: calc(var(--d) + .5s); }
.testi.in .testi-stars i:nth-child(3) { transition-delay: calc(var(--d) + .6s); }
.testi.in .testi-stars i:nth-child(4) { transition-delay: calc(var(--d) + .7s); }
.testi.in .testi-stars i:nth-child(5) { transition-delay: calc(var(--d) + .8s); }

.testi blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: var(--cream); flex: 1; }
.testi figcaption { display: flex; flex-direction: column; }
.testi figcaption strong { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1; color: var(--orange); text-transform: uppercase; }
.testi figcaption span { font-size: 13px; font-weight: 500; color: var(--peach); }

/* ===== Process ===== */
.process-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding-top: 36px;
}
.process-line {
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 227, 209, .12);
    border-radius: 3px;
}
.process-line span {
    display: block;
    height: 100%;
    background: var(--orange);
    border-radius: 3px;
    box-shadow: 0 0 12px var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.8s cubic-bezier(.6, 0, .2, 1);
}
.process-track.in .process-line span { transform: scaleX(1); }

.step { position: relative; text-align: center; }
.step-up { margin-top: -10px; }
.step-down { margin-top: 50px; }
.step-dot {
    position: absolute;
    top: -36px;
    left: 50%;
    width: 22px; height: 22px;
    margin-left: -11px;
    border-radius: 50%;
    background: var(--orange);
    border: 4px solid var(--plum);
    box-shadow: 0 0 0 3px var(--orange);
    transform: scale(0);
    transition: transform .5s cubic-bezier(.2, .9, .3, 1.6) calc(var(--d) + .5s);
}
.step-down .step-dot { top: -86px; }
.step-up .step-dot { top: -26px; }
.step.in .step-dot { transform: scale(1); }
.step-dot::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--orange);
    animation: ping 2s ease-out infinite;
}
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.step-media {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    background: var(--orange);
    border: 3px solid var(--peach);
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: 8px 8px 0 var(--plum-2);
    transition: transform .4s ease;
}
.step:hover .step-media { transform: rotate(-2deg) scale(1.03); }
.step-media svg { width: 30%; fill: none; stroke: var(--cream); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }

/* With a photo: icon shrinks to a corner badge, photo fills the card under a soft tint */
.step-media:has(img) svg {
    position: absolute;
    z-index: 2;
    top: 14px; left: 14px;
    width: 46px; height: 46px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(17, 17, 17, .85);
    stroke: var(--white);
    stroke-width: 4;
}
.step-media:has(img)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(0deg, rgba(17, 17, 17, .55) 0%, rgba(17, 17, 17, 0) 50%),
        linear-gradient(140deg, color-mix(in srgb, var(--accent, var(--orange)) 30%, transparent), transparent 60%);
}
.step-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .6s cubic-bezier(.2, .8, .3, 1);
}
.step:hover .step-media img { transform: scale(1.06); }
.step-num { font-family: var(--font-display); font-size: 20px; color: var(--orange); letter-spacing: 2px; }
.step h3 { font-family: var(--font-display); font-weight: 400; font-size: 34px; text-transform: uppercase; color: var(--white); margin: 4px 0 10px; line-height: 1.05; }
.step p { margin: 0 auto; max-width: 340px; font-size: 15px; color: var(--cream); opacity: .9; }

/* ===== Pricing ===== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; }
.price-card {
    position: relative;
    padding: 36px 30px;
    background: var(--plum-2);
    border: 2px solid rgba(255, 227, 209, .12);
    border-radius: 28px;
    overflow: hidden;
    transition: transform .4s ease, box-shadow .4s ease, border-color .3s ease;
}
.price-card::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: -60%;
    width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 227, 209, .18), transparent);
    transform: skewX(-20deg);
    transition: left .8s ease;
    pointer-events: none;
}
.price-card.in:hover { transform: translateY(-10px); border-color: var(--orange); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.price-card:hover::after { left: 130%; }

.price-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 40px; text-transform: uppercase; color: var(--orange); margin: 0 0 6px; }
.price-desc { margin: 0 0 18px; font-size: 15px; color: var(--cream); opacity: .9; }
.price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 227, 209, .2);
    font-family: var(--font-display);
    font-size: 64px;
    line-height: 1;
    color: var(--white);
}
.price .currency { font-size: .55em; align-self: flex-start; margin-top: 6px; color: var(--orange); }
.price small { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--peach); margin-left: 6px; }
.price-card h4 { font-family: var(--font-display); font-weight: 400; font-size: 22px; text-transform: uppercase; color: var(--white); margin: 0 0 12px; }
.price-card ul { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.price-card li { position: relative; padding-left: 24px; font-size: 15px; color: var(--cream); }
.price-card li::before { content: "\2192"; position: absolute; left: 0; color: var(--orange); font-weight: 600; transition: transform .3s ease; }
.price-card:hover li::before { transform: translateX(4px); }

.price-card.featured { background: var(--orange); border-color: var(--peach); padding: 52px 30px; box-shadow: 10px 10px 0 var(--peach); }
.price-card.featured h3,
.price-card.featured .price,
.price-card.featured h4 { color: var(--plum); }
.price-card.featured .price .currency { color: var(--white); }
.price-card.featured .price small,
.price-card.featured .price-desc,
.price-card.featured li { color: var(--plum); opacity: 1; }
.price-card.featured li::before { color: var(--white); }
.price-card.featured .price { border-color: rgba(17, 17, 17, .25); }
.price-card.featured.in:hover { box-shadow: 14px 14px 0 var(--peach); }
.price-badge {
    position: absolute;
    top: 18px;
    right: -38px;
    padding: 6px 44px;
    background: var(--plum);
    color: var(--peach);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: rotate(35deg);
}

/* ===== Insights ===== */
.insight-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: end; }
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.post {
    padding: 16px 16px 24px;
    background: var(--plum-2);
    border: 2px solid rgba(255, 227, 209, .12);
    border-radius: 26px;
    transition: transform .4s ease, border-color .3s ease;
}
.post.in:hover { transform: translateY(-8px); border-color: var(--orange); }
.post-media {
    position: relative;
    aspect-ratio: 16 / 11;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--orange), var(--orange-soft));
    margin-bottom: 18px;
}
.post-media.alt { background: linear-gradient(135deg, var(--tan), var(--peach)); }
.post-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post:hover .post-media img { transform: scale(1.08); }
.post-tag {
    position: absolute;
    z-index: 2;
    top: 14px; left: 14px;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--plum);
    color: var(--peach);
    font-size: 12px;
    font-weight: 600;
}
.post h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.1; text-transform: uppercase; color: var(--white); margin: 0 8px 8px; }
.post p { margin: 0 8px 16px; font-size: 14px; color: var(--cream); opacity: .85; }
.read-more { margin: 0 8px; display: inline-flex; gap: 8px; font-weight: 600; color: var(--orange); }
.read-more .arrow { transition: transform .25s ease; }
.read-more:hover .arrow { transform: translateX(5px); }

.insight-duck { position: relative; min-height: 420px; display: flex; align-items: flex-end; justify-content: center; }
.insight-swirl {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--orange);
    stroke-width: 34;
    stroke-linecap: round;
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    opacity: .9;
    transition: stroke-dashoffset 2.4s ease .2s;
}
.insight-duck.in .insight-swirl { stroke-dashoffset: 0; }
.insight-duck img { position: relative; width: 135%; max-width: none; margin-right: -25%; animation: float 6s ease-in-out infinite; }

/* Contact */
.contact-card {
    background: var(--orange);
    border-radius: 40px;
    padding: 64px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.contact-card::after {
    content: "";
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    border: 40px solid rgba(255, 227, 209, .2);
    bottom: -150px; left: -100px;
}
.contact-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(44px, 6vw, 88px);
    line-height: 1;
    text-transform: uppercase;
    color: var(--white);
    margin: 0;
    position: relative;
    z-index: 1;
}
.contact-title .script { font-size: .85em; }
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 1;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: 16px;
    border: 2px solid transparent;
    background: var(--cream);
    color: var(--plum);
    font-family: var(--font-body);
    font-size: 16px;
    resize: vertical;
    outline: none;
    transition: border-color .2s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--tan); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--plum); }
.contact-form .btn { align-self: flex-start; }

/* Footer */
.footer { position: relative; background: #0A0A0A; overflow: hidden; }
.footer-marquee { margin-top: 0; border-top: 0; }

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 40px;
}

/* Contact rows */
.footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.footer-contact li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 0;
}
.footer-contact li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 68px;
    right: 10%;
    bottom: 0;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s cubic-bezier(.6, 0, .2, 1) calc(var(--d) + .4s);
}
.footer-contact li.in::after { transform: scaleX(1); }
.footer-contact a,
.footer-contact address {
    font-family: var(--font-display);
    font-style: normal;
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.25;
    color: var(--white);
    transition: color .3s ease;
}
.footer-contact a:hover { color: var(--orange); }
.fc-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--orange);
    display: grid;
    place-items: center;
    transition: transform .4s ease;
}
.footer-contact li.in .fc-icon { animation: icon-bounce .7s cubic-bezier(.2, .9, .3, 1.6) calc(var(--d) + .2s) backwards; }
.footer-contact li:hover .fc-icon { transform: rotate(-12deg) scale(1.1); }
@keyframes icon-bounce { from { transform: scale(0) rotate(-90deg); } }
.fc-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Find us panel + detective duck */
.find-us { position: relative; padding-right: 120px; }
.find-us-panel {
    position: relative;
    z-index: 1;
    padding: 24px;
    background: var(--orange);
    border: 3px solid var(--peach);
    border-radius: 24px;
    box-shadow: 10px 10px 0 var(--plum-2);
    animation: float 7s ease-in-out infinite;
}
.find-us-panel h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 34px;
    text-transform: uppercase;
    color: var(--white);
    margin: 0 0 10px;
}
.socials { display: flex; gap: 10px; margin-bottom: 16px; }
.socials a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--plum);
    display: grid;
    place-items: center;
    transition: transform .3s cubic-bezier(.2, .9, .3, 1.6), background .3s ease;
}
.socials a:hover { transform: translateY(-4px) rotate(8deg); background: var(--white); }
.socials svg { width: 18px; height: 18px; fill: var(--peach); stroke: var(--peach); stroke-width: 0; stroke-linecap: round; transition: fill .3s ease, stroke .3s ease; }
.socials a[aria-label^="X"] svg, .socials a[aria-label="Instagram"] svg { stroke-width: 2.2; }
.socials a:hover svg { fill: var(--orange); stroke: var(--orange); }
.socials a[aria-label="Instagram"] rect,
.socials a[aria-label="Instagram"] circle:not(:last-child) { fill: none; }

.map { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--peach); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.8) contrast(1.05); }

.footer-duck {
    position: absolute;
    z-index: 2;
    right: -90px;
    bottom: -40px;
    height: 125%;
    width: auto;
    pointer-events: none;
    animation: peek 6s ease-in-out infinite;
}
@keyframes peek {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50%      { transform: translateX(-10px) rotate(-3deg); }
}

/* Giant logo: letters rise in one by one */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0 50px;
    line-height: .9;
}
/* Rises up from behind a clipping edge, then hops on hover */
.fl-reveal { display: block; overflow: hidden; width: min(780px, 88%); }
.fl-img {
    width: 100%;
    height: auto;
    transform: translateY(105%);
    transition: transform 1s cubic-bezier(.2, .9, .3, 1.1);
}
.footer-logo.in .fl-img { transform: none; }
.footer-logo:hover .fl-img { animation: logo-hop .6s ease; }
@keyframes logo-hop {
    30% { transform: translateY(-4%) rotate(-1.5deg); }
    60% { transform: translateY(1%) rotate(1deg); }
}

/* Bottom bar */
.footer-bottom { border-top: 1px solid rgba(255, 227, 209, .15); padding: 22px 0; }
.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.footer-links { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer-links li + li::before { content: "|"; margin: 0 14px; color: rgba(255, 227, 209, .3); }
.footer-links a { font-size: 14px; font-weight: 500; position: relative; }
.footer-links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -3px;
    width: 100%; height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transition: transform .3s ease;
}
.footer-links a:hover { color: var(--orange); }
.footer-links a:hover::after { transform: scaleX(1); }
.copy { margin: 0; font-size: 14px; color: var(--tan); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .nav { grid-template-columns: auto 1fr; }
    .nav-links { display: none; }
    .nav-toggle { display: inline-flex; }
    .logo { align-items: flex-start; }

    .hero-grid,
    .faq-grid,
    .services-head,
    .support-banner,
    .contact-card { grid-template-columns: 1fr; }

    .about-row { grid-template-columns: 1fr; gap: 28px; }
    .experience { align-items: flex-start; text-align: left; padding: 0 0 28px; border-right: 0; border-bottom: 2px solid rgba(255, 227, 209, .15); }
    .about-text { padding-left: 0; }
    .why-grid { grid-template-columns: 1fr; }
    .project-grid { grid-template-columns: repeat(2, 1fr); }
    .testi-grid, .insight-layout, .footer-main { grid-template-columns: 1fr; }
    .price-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .faq-intro { position: static; }

    /* Process becomes a vertical timeline */
    .process-track { grid-template-columns: 1fr; gap: 48px; padding: 0 0 0 44px; }
    .process-line { top: 0; bottom: 0; left: 10px; right: auto; width: 3px; height: auto; }
    .process-line span { transform: scaleY(0); transform-origin: top; }
    .process-track.in .process-line span { transform: scaleY(1); }
    .step, .step-up, .step-down { margin-top: 0; text-align: left; }
    .step .step-dot, .step-up .step-dot, .step-down .step-dot { top: 0; left: -44px; margin-left: 0; }
    .step p { margin: 0; }
    .step-media { max-width: 420px; }
    .insight-duck { min-height: 320px; }
    .why-stats { grid-template-columns: repeat(2, 1fr); }
    .why-swirl { width: 520px; margin-left: -260px; }
    .support-copy { max-width: 55%; }

    /* Gallery sits under the copy and bleeds off both edges */
    .hero-grid { gap: 56px; }
    .hero-gallery { margin: 0 -24px; }
    .talk-badge { left: 4%; }
    .hero-duck { right: 2%; height: 112%; bottom: -50px; }
    .stack-card {
        top: calc(96px + var(--i) * 14px);
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto auto;
        row-gap: 20px;
        min-height: 0;
        padding: 32px 28px 28px;
    }
    .stack-body { grid-column: 1 / -1; grid-row: 1; padding-right: 0; }
    .stack-num { grid-row: 2; font-size: 72px; align-self: end; }
    .stack-btn { grid-column: 2; grid-row: 2; }
    .panel-text { max-width: 60%; }
    .panel-visual { right: -40px; width: 240px; height: 110%; }
    .visual-circle { width: 160px; height: 160px; }
    .visual-circle svg { width: 60px; height: 60px; }
    .contact-card { padding: 44px 32px; }
    .deco-squiggle { display: none; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .hero { padding-top: 24px; }
    .deco-plus { display: none; }
    .hero-text { font-size: 16px; }
    .hero-heading { font-size: 11.5vw; }
    .btn-lg { padding: 14px 24px; font-size: 16px; }
    .hero-clients ul { gap: 6px 20px; }
    .hero-gallery { margin: 0 -16px; gap: 14px; }
    .gallery-track { --gap: 14px; }
    .talk-badge { width: 100px; height: 100px; bottom: -50px; }
    .talk-badge span { font-size: 18px; }
    .section { padding: 80px 0; }
    .services { margin: 0 8px; border-radius: 32px; }
    .project-grid { grid-template-columns: 1fr; gap: 40px; }
    .testi-cards, .post-grid { grid-template-columns: 1fr; }
    .testi:nth-child(even) { margin-top: 0; }
    .insight-duck img { width: 100%; margin-right: 0; }
    .faq-q { font-size: 17px; }
    .faq-a p { padding-left: 0; }
    .price { font-size: 54px; }
    .step h3 { font-size: 28px; }
    .why-item { gap: 16px; }
    .why-num { width: 48px; height: 48px; font-size: 18px; }
    .why-line { left: 27px; }
    .why-item h3 { font-size: 24px; }
    .why-stats { gap: 12px; }
    .why-stat { padding: 10px; }
    .why-stat > span { font-size: 13px; }
    .chip-2 { right: 10px; }
    .logo-marquee img { height: 40px; }
    .logo-img { height: 40px; }
    .stack-card { top: calc(88px + var(--i) * 10px); padding: 26px 20px 22px; border-radius: 28px; margin-bottom: 28px; }
    .stack-body > p { font-size: 15px; }
    .stack-panel { flex-direction: column; align-items: flex-start; padding: 24px 20px 0; min-height: 0; }
    .panel-text { max-width: 100%; }
    .panel-text li { font-size: 16px; }
    .panel-visual { position: relative; right: auto; width: 100%; height: 200px; margin-top: 16px; }
    .visual-circle { top: 10px; right: 50%; transform: translateX(50%); width: 150px; height: 150px; }
    .stack-num { font-size: 60px; }
    .support-left, .support-right { padding: 32px 24px; }
    .support-copy { font-size: 20px; }
    .support-duck { height: 80%; right: -10px; }
    .deco-bubble { display: none; }
    .marquee span { font-size: 30px; }
    .marquee span.alt { font-size: 26px; }
    .contact-card { padding: 36px 22px; border-radius: 28px; }
    .footer-main { padding-top: 56px; }
    .footer-contact li { gap: 14px; padding: 16px 0; }
    .footer-contact li:not(:last-child)::after { left: 54px; right: 0; }
    .fc-icon { width: 40px; height: 40px; }
    .find-us { padding-right: 0; }
    .footer-duck { height: 70%; right: -10px; bottom: -30px; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
    .footer-links li + li::before { margin: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
    /* Phones with "reduce/remove animations" switched on (often via battery saver) still get
       gentle fades and slowed strips; only bouncing, floating and spinning decorations stop */
    .smiley, .deco-plus, .hb-dot, .talk-badge svg, .deco-bubble, .insight-duck img,
    .hero-duck img, .hero-duck-circle, .footer-duck, .why-chip { animation: none !important; }
    .gallery-track, .marquee-track, .logo-track { animation-duration: 90s !important; }
    .reveal, .reveal-left, .reveal-pop { transform: none !important; }
}

/* =====================================================================
   COLOUR THEME LAYER
   Light sections (.theme-light) alternate with the dark plum ones, and
   each card / step / stat picks up its own accent via --accent.
   ===================================================================== */

/* ---------- Light sections ---------- */
.theme-light { background: var(--paper); color: var(--plum-2); }
.theme-cream { background: var(--paper-warm); }

.theme-light .section-title,
.theme-light .about-title,
.theme-light h3,
.theme-light h4 { color: var(--plum); }
.theme-light .lead,
.theme-light p { color: var(--plum-2); }
.theme-light .c-peach { color: var(--violet); }

.theme-light .eyebrow { background: #FFE3D1; border-color: var(--orange); color: #111111; }
.theme-light .btn-ghost { border-color: rgba(17, 17, 17, .25); color: var(--plum); }
.theme-light .btn-ghost:hover { border-color: var(--plum); background: rgba(17, 17, 17, .05); }
.theme-light .btn-orange { box-shadow: 4px 4px 0 var(--plum); }
.theme-light .btn-orange:hover { box-shadow: 6px 6px 0 var(--plum); }

/* About */
.theme-light .experience { border-color: rgba(17, 17, 17, .12); }
.theme-light .experience strong { color: var(--plum); }
.theme-light .experience > span { color: var(--violet); }
.theme-light .support-left span { color: var(--sun); }
.theme-light .support-left p,
.theme-light .support-copy { color: var(--white); }

/* Why trust us */
.theme-light .why-line { background: rgba(17, 17, 17, .1); }
.theme-light .why-num { background: var(--white); }
.theme-light .why-quote { color: var(--plum-2); }
.theme-light .stat-ring circle { stroke: rgba(17, 17, 17, .1); }
.theme-light .why-stat > span { color: var(--plum); }

/* Testimonials */
.theme-light .testi {
    background: var(--white);
    border-color: color-mix(in srgb, var(--accent) 35%, transparent);
    box-shadow: 0 14px 40px rgba(17, 17, 17, .08);
}
.theme-light .testi blockquote { color: var(--plum-2); }
.theme-light .testi figcaption span { color: var(--plum-2); opacity: .7; }

/* Pricing */
.theme-light .price-card:not(.featured) {
    background: var(--white);
    border-color: rgba(17, 17, 17, .08);
    box-shadow: 0 18px 50px rgba(17, 17, 17, .08);
}
.theme-light .price-card:not(.featured) .price { color: var(--plum); border-color: rgba(17, 17, 17, .1); }
.theme-light .price-card:not(.featured) .price small,
.theme-light .price-card:not(.featured) li,
.theme-light .price-card:not(.featured) .price-desc { color: var(--plum-2); }
.theme-light .price-card.featured p { color: var(--plum); }

/* FAQs */
.theme-light .faq-item { border-color: rgba(17, 17, 17, .1); }
.theme-light .faq-q { color: var(--plum); }
.theme-light .faq-q:hover { color: var(--orange); }
.theme-light .faq-a p { color: var(--plum-2); }

/* Contact (orange card on white) */
.theme-light .contact-title { color: var(--white); }
.theme-light .contact-form input,
.theme-light .contact-form textarea { background: var(--white); }

/* ---------- Accent assignments ---------- */

/* Hero */
.hb-star { background: var(--sun); color: var(--plum); }
.hb-dot { background: var(--lime); box-shadow: 0 0 0 4px rgba(255, 227, 209, .25); }
@keyframes dot-pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 227, 209, .08); } }
.hero-clients li:nth-child(5n+1):hover { color: var(--orange); }
.hero-clients li:nth-child(5n+2):hover { color: var(--lime); }
.hero-clients li:nth-child(5n+3):hover { color: var(--pink); }
.hero-clients li:nth-child(5n+4):hover { color: var(--sun); }
.hero-clients li:nth-child(5n+5):hover { color: var(--sky); }

/* Lime pops on the black sections */
.hero .eyebrow, .hero-badge { border-color: rgba(255, 227, 209, .2); }
.process .section-title .script, .insights .section-title .script { color: var(--lime); }
.footer-links a::after { background: var(--lime); }
.logo-marquee { border-color: var(--lime); }

/* Service stack cards: one accent each */
.stack-card:nth-child(1) { --accent: var(--orange); }
.stack-card:nth-child(2) { --accent: var(--violet); }
.stack-card:nth-child(3) { --accent: var(--sky); }
.stack-card:nth-child(4) { --accent: var(--pink); }
.stack-card:nth-child(5) { --accent: var(--teal); }
.stack-body h3, .stack-num { color: var(--accent); }
.stack-panel { background: var(--accent); }
.stack-tags li { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.visual-circle { color: var(--accent); }

/* Why-trust stat circles */
.why-stat:nth-child(1) { --accent: var(--orange); }
.why-stat:nth-child(2) { --accent: var(--violet); }
.why-stat:nth-child(3) { --accent: var(--teal); }
.why-stat:nth-child(4) { --accent: var(--pink); }
.stat-ring .ring-fill { stroke: var(--accent); }
.why-stat strong { color: var(--accent); }
.why-item:nth-child(2) { --accent: var(--orange); }
.why-item:nth-child(3) { --accent: var(--violet); }
.why-item:nth-child(4) { --accent: var(--sky); }
.why-num { border-color: var(--accent); color: var(--accent); }
.why-item.lit .why-num { background: var(--accent); color: var(--white); }

/* Portfolio labels */
.project:nth-child(6n+1) { --accent: var(--orange); }
.project:nth-child(6n+2) { --accent: var(--violet); }
.project:nth-child(6n+3) { --accent: var(--sky); }
.project:nth-child(6n+4) { --accent: var(--pink); }
.project:nth-child(6n+5) { --accent: var(--teal); }
.project:nth-child(6n+6) { --accent: var(--sun); }
.project-label { border-color: var(--accent); }
.project-label > span { color: var(--accent); }

/* Testimonials */
.testi:nth-child(1) { --accent: var(--orange); }
.testi:nth-child(2) { --accent: var(--violet); }
.testi:nth-child(3) { --accent: var(--sky); }
.testi:nth-child(4) { --accent: var(--pink); }
.testi figcaption strong { color: var(--accent); }
.testi-stars i { background: var(--sun); }
.testi.in:hover { border-color: var(--accent); box-shadow: 8px 8px 0 var(--accent); }

/* Process steps */
.step:nth-child(2) { --accent: var(--violet); }
.step:nth-child(3) { --accent: var(--orange); }
.step:nth-child(4) { --accent: var(--teal); }
.step-media { background: var(--accent); }
.step-num { color: var(--accent); }
.step-dot { background: var(--accent); box-shadow: 0 0 0 3px var(--accent); }
.step-dot::after { border-color: var(--accent); }

/* Pricing */
.price-card:nth-child(1) { --accent: var(--teal); }
.price-card:nth-child(3) { --accent: var(--violet); }
.price-card:not(.featured) h3,
.price-card:not(.featured) .price .currency,
.price-card:not(.featured) li::before { color: var(--accent); }
.price-card:not(.featured):hover { border-color: var(--accent); }

/* Insights */
.post:nth-child(1) .post-tag { background: var(--lime); color: var(--plum); }
.post:nth-child(2) .post-tag { background: var(--violet); color: var(--white); }

/* FAQ numbers cycle through the accents */
.faq-item:nth-child(5n+1) .faq-n { color: var(--orange); }
.faq-item:nth-child(5n+2) .faq-n { color: var(--violet); }
.faq-item:nth-child(5n+3) .faq-n { color: var(--sky); }
.faq-item:nth-child(5n+4) .faq-n { color: var(--pink); }
.faq-item:nth-child(5n+5) .faq-n { color: var(--teal); }

/* Footer contact icons */
.footer-contact li:nth-child(1) .fc-icon { background: var(--orange); }
.footer-contact li:nth-child(2) .fc-icon { background: var(--violet); }
.footer-contact li:nth-child(3) .fc-icon { background: var(--sky); }

/* ---------- Readability with the orange / white / black palette ----------
   Light oranges are lovely as fills but too pale for text on white/peach,
   so text on light sections uses black or the strongest orange. */
.theme-light .c-peach,
.theme-light .experience > span { color: var(--orange); }
.theme-light .why-stat strong { color: var(--plum); }
.theme-light .testi figcaption strong { color: var(--orange); }
.theme-light .price-card:not(.featured) h3,
.theme-light .price-card:not(.featured) .price .currency,
.theme-light .price-card:not(.featured) li::before { color: var(--orange); }
.theme-light .faq-item .faq-n { color: var(--orange); }
.theme-light .why-item.lit .why-num { color: var(--plum); }
.theme-light .why-num { color: var(--plum); }

/* Orange-filled panels: black text reads best on every shade */
.panel-text h4,
.panel-text li { color: var(--plum); }
.panel-text li span { color: var(--plum); opacity: .8; }
.step-media svg { stroke: var(--plum); }
.step-media:has(img) svg { stroke: var(--white); }
.fc-icon svg { stroke: var(--plum); }
.support-left span { color: var(--orange); }

/* ---------- Smooth section-to-section colour switching ----------
   Light sections are transparent; the page background itself fades between
   black / white / peach as each section reaches the middle of the screen
   (script.js). The drifting orange glows sit on top of that background, so
   every switch blends through a soft orange gradient. */
body { transition: background-color .9s cubic-bezier(.4, 0, .2, 1); }
.theme-light,
.theme-cream { background: transparent; }

/* Light sections fade their top/bottom edges into whatever colour the page is
   mid-transition, so there's never a hard horizontal line */
.theme-light { position: relative; }
.theme-light::before,
.theme-light::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 120px;
    pointer-events: none;
    z-index: 0;
}
.theme-light::before { top: 0;    background: linear-gradient(180deg, rgba(253, 128, 46, .10), transparent); }
.theme-light::after  { bottom: 0; background: linear-gradient(0deg,   rgba(253, 128, 46, .10), transparent); }
.theme-light > .container { position: relative; z-index: 1; }

/* ===== Responsive fixes ===== */
/* Nothing may push the page wider than the screen (clip keeps sticky cards working) */
main, footer { overflow-x: clip; }

@media (max-width: 960px) {
    /* the desk duck bleeds out of its column on wide layouts only */
    .insight-duck img { width: min(100%, 440px); margin-right: 0; }
}

@media (max-width: 600px) {
    /* 24/7 banner: copy on top, duck underneath instead of covering the text */
    .support-right { flex-direction: column; align-items: flex-start; padding-bottom: 0; min-height: 0; }
    .support-copy { max-width: none; }
    .support-duck { position: relative; right: auto; height: auto; width: min(240px, 70%); align-self: center; margin-top: 16px; }
}

/* Phones: compact service cards so each one fits on screen and the
   overlapping stack animation stays on (taller cards fall back to normal scrolling) */
@media (max-width: 600px) {
    .stack-card {
        top: calc(80px + var(--i) * 8px);
        padding: 22px 18px 18px;
        row-gap: 14px;
        margin-bottom: 22px;
        border-radius: 26px;
    }
    .stack-body h3 { font-size: 30px; margin-bottom: 8px; }
    .stack-body > p { font-size: 14px; line-height: 1.55; margin-bottom: 12px; }
    .stack-tags { gap: 6px; margin-bottom: 14px; }
    .stack-tags li { padding: 2px 10px; font-size: 11.5px; }
    .stack-panel {
        flex-direction: row;
        align-items: center;
        min-height: 150px;
        padding: 18px 16px;
        border-radius: 20px;
        overflow: hidden;
    }
    .panel-text { max-width: 62%; }
    .panel-text h4 { font-size: 24px; margin-bottom: 8px; }
    .panel-text li { font-size: 14px; line-height: 1.45; }
    .panel-visual {
        position: absolute;
        right: -6px;
        bottom: 0;
        width: 44%;
        height: 100%;
        margin: 0;
    }
    .visual-circle { top: 12px; right: 50%; transform: translateX(50%); width: 112px; height: 112px; }
    .stack-num { font-size: 46px; }
    .stack-btn { padding: 11px 20px; font-size: 14px; }
}

/* ===== Full-screen mobile menu (≤960px) ===== */
@media (max-width: 960px) {
    .mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 108px 24px 32px;
        overflow-y: auto;
        background:
            radial-gradient(circle at 100% 100%, rgba(253, 128, 46, .35), transparent 55%),
            radial-gradient(circle at 0% 30%, rgba(254, 170, 116, .12), transparent 45%),
            var(--plum);
        /* grows as a circle out of the button in the top-right corner */
        clip-path: circle(0 at calc(100% - 52px) 42px);
        visibility: hidden;
        transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), visibility 0s linear .7s;
    }
    .nav-open .mobile-menu {
        clip-path: circle(150% at calc(100% - 52px) 42px);
        visibility: visible;
        transition: clip-path .8s cubic-bezier(.7, 0, .2, 1), visibility 0s;
    }

    .mm-links { display: flex; flex-direction: column; }
    .mm-links a {
        display: flex;
        align-items: baseline;
        gap: 14px;
        padding: 6px 0;
        border-bottom: 1px solid rgba(255, 227, 209, .1);
        font-family: var(--font-display);
        font-size: clamp(46px, 13vw, 76px);
        line-height: 1;
        text-transform: uppercase;
        color: var(--white);
        transition: color .25s ease, padding-left .3s ease;
    }
    .mm-links a:hover, .mm-links a:focus-visible { color: var(--orange); padding-left: 10px; }
    .mm-n { font-size: 16px; letter-spacing: 1px; color: var(--orange); }

    /* links rise in one after another once the circle has opened */
    .mm-links a, .mm-foot {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity .3s ease, transform .3s ease, color .25s ease, padding-left .3s ease;
    }
    .nav-open .mm-links a, .nav-open .mm-foot {
        opacity: 1;
        transform: none;
        transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .3, 1.2), color .25s ease, padding-left .3s ease;
        transition-delay: calc(.25s + var(--i) * .07s), calc(.25s + var(--i) * .07s), 0s, 0s;
    }

    .mm-foot { position: relative; z-index: 1; margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
    .mm-contact { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--peach); }
    .mm-contact a:hover { color: var(--orange); }

    /* mascot peeks in from the bottom corner */
    .mm-duck {
        position: absolute;
        right: -20px;
        bottom: -30px;
        width: min(44vw, 260px);
        height: auto;
        pointer-events: none;
        transform: translate(40%, 30%) rotate(18deg);
        transition: transform .4s ease;
    }
    .nav-open .mm-duck { transform: rotate(-8deg); transition: transform .9s cubic-bezier(.2, .8, .3, 1.3) .45s; }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-menu, .nav-open .mobile-menu { transition-duration: .01s; }
}

/* ===== Custom cursor (added by script.js on mouse/trackpad devices only) ===== */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea { cursor: text !important; }
html.has-cursor iframe { cursor: auto !important; }

.cursor { position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity .3s ease; }
.cursor.is-visible { opacity: 1; }
.cursor-dot, .cursor-ring { position: absolute; top: 0; left: 0; will-change: transform; }

/* dot: exact pointer position */
.cursor-dot::before {
    content: "";
    position: absolute;
    width: 8px; height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 2px rgba(17, 17, 17, .35);
    transition: transform .25s ease;
}
/* ring: trails behind; the inner circle does the size/colour changes */
.cursor-ring > .cursor-label,
.cursor-ring::before {
    position: absolute;
    width: 38px; height: 38px;
    margin: -19px 0 0 -19px;
    border-radius: 50%;
}
.cursor-ring::before {
    content: "";
    border: 2px solid var(--orange);
    background: rgba(253, 128, 46, 0);
    transition: transform .35s cubic-bezier(.2, .8, .3, 1.3), background-color .3s ease, border-color .3s ease;
}
.cursor-label {
    display: grid;
    white-space: nowrap;
    place-items: center;
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--plum);
    opacity: 0;
    transform: scale(.4);
    transition: opacity .25s ease, transform .35s cubic-bezier(.2, .8, .3, 1.3);
}

/* links & buttons: ring swells and fills, dot shrinks away */
.cursor.is-link .cursor-ring::before { transform: scale(1.6); background: rgba(253, 128, 46, .18); }
.cursor.is-link .cursor-dot::before { transform: scale(.4); }

/* labelled areas (portfolio, gallery): solid orange disc with the word inside */
.cursor.is-label .cursor-ring::before { transform: scale(2.3); background: var(--orange); border-color: var(--plum); }
.cursor.is-label .cursor-label { opacity: 1; transform: scale(1); }
.cursor.is-label .cursor-dot::before { transform: scale(0); }

/* typing: hide our cursor so the text caret is clear */
.cursor.is-text .cursor-ring::before, .cursor.is-text .cursor-dot::before { transform: scale(0); }

/* pressing */
.cursor.is-down .cursor-ring::before { transform: scale(.75); }
.cursor.is-link.is-down .cursor-ring::before { transform: scale(1.3); }
.cursor.is-label.is-down .cursor-ring::before { transform: scale(2); }
