/* ==========================================================================
   MS Digital Solutionz — dark agency design system
   Gold from the logo, on a deep navy-black base. Deliberately distinct from
   the academy site: geometric sans, oversized type, glass surfaces, glow.
   ========================================================================== */

:root {
    /* Base */
    --void: #05070F;
    --ink-900: #080C18;
    --ink-800: #0C1222;
    --ink-700: #121A2E;
    --ink-600: #1A2440;
    --ink-500: #243156;
    --line: rgba(255, 255, 255, .09);
    --line-strong: rgba(255, 255, 255, .18);

    /* Brand */
    --gold-300: #F0D9A0;
    --gold: #C9A24B;
    --gold-600: #A8842F;
    --azure: #4F7DF3;
    --azure-600: #3358CE;

    /* Text */
    --text: #EEF1F8;
    --text-dim: #A3AEC6;
    --text-faint: #6E7A96;

    /* Type */
    --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', monospace;

    /* Layout */
    --container: 1240px;
    --gutter: 5vw;
    --r-sm: 10px;
    --r: 16px;
    --r-lg: 24px;
    --r-xl: 34px;

    --header-h: 78px;

    --glow-gold: 0 0 60px rgba(201, 162, 75, .28);
    --shadow: 0 24px 60px rgba(0, 0, 0, .5);
    --shadow-lg: 0 40px 90px rgba(0, 0, 0, .6);
}

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--void);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Fixed page texture: fine grid + two slow-drifting colour fields */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

/* height:auto keeps the intrinsic ratio when max-width shrinks a sized image. */
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, h4, .display {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.03em;
}

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

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

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999;
    background: var(--gold);
    color: var(--ink-900);
    padding: 12px 22px;
    font-weight: 700;
    border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; top: 0; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ------------------------------------------------------------ Utilities -- */
.container {
    position: relative;
    z-index: 1;
    width: min(100% - (var(--gutter) * 2), var(--container));
    margin-inline: auto;
}
.container-wide { position: relative; z-index: 1; width: min(100% - 40px, 1440px); margin-inline: auto; }
.container-narrow { position: relative; z-index: 1; width: min(100% - (var(--gutter) * 2), 840px); margin-inline: auto; }

section { position: relative; z-index: 1; }
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
.text-center { text-align: center; }

.surface { background: var(--ink-800); }
.surface-2 { background: linear-gradient(180deg, var(--ink-900), var(--void)); }

/* Glow orbs */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    z-index: 0;
}
.glow--gold { background: rgba(201, 162, 75, .3); }
.glow--azure { background: rgba(79, 125, 243, .22); }

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .8s cubic-bezier(.16, .84, .32, 1), transform .8s cubic-bezier(.16, .84, .32, 1);
    will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-mask { overflow: hidden; display: block; }
.reveal-mask > span {
    display: block;
    transform: translateY(105%);
    transition: transform 1s cubic-bezier(.16, .84, .32, 1);
}
.reveal-mask.is-visible > span { transform: none; }

/* -------------------------------------------------------------- Buttons -- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    letter-spacing: -.01em;
    overflow: hidden;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease,
                background .3s ease, color .3s ease, border-color .3s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn--gold {
    background: var(--gold);
    color: var(--ink-900);
    box-shadow: 0 12px 34px rgba(201, 162, 75, .3);
}
.btn--gold:hover { background: var(--gold-300); box-shadow: 0 18px 46px rgba(201, 162, 75, .45); }

.btn--glass {
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line-strong);
    color: var(--text);
    backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .1); border-color: var(--gold); color: var(--gold-300); }

.btn--dark { background: var(--ink-900); color: var(--text); border: 1px solid var(--line); }
.btn--dark:hover { background: var(--ink-700); border-color: var(--gold); }

.btn--sm { padding: 11px 22px; font-size: 13.5px; }
.btn--lg { padding: 19px 40px; font-size: 16px; }
.btn--block { width: 100%; }

/* Text link with animated underline */
.link-line {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--gold-300);
    position: relative;
    padding-bottom: 3px;
}
.link-line::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.link-line:hover::after { transform: scaleX(1); transform-origin: left; }
.link-line svg { transition: transform .3s ease; }
.link-line:hover svg { transform: translate(3px, -3px); }

/* ---------------------------------------------------------------- Chips -- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-300);
    background: rgba(201, 162, 75, .09);
    border: 1px solid rgba(201, 162, 75, .26);
    padding: 9px 18px;
    border-radius: 999px;
}
.eyebrow .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0 rgba(201, 162, 75, .7);
    animation: ping 2s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes ping {
    0% { box-shadow: 0 0 0 0 rgba(201, 162, 75, .7); }
    70% { box-shadow: 0 0 0 10px rgba(201, 162, 75, 0); }
    100% { box-shadow: 0 0 0 0 rgba(201, 162, 75, 0); }
}

.kicker {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.kicker::before {
    content: '';
    width: 26px; height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}
.kicker--center { justify-content: center; }

.tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .045);
    border: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--text-dim);
    transition: border-color .3s ease, color .3s ease, background .3s ease;
}
.tag:hover { border-color: rgba(201, 162, 75, .45); color: var(--gold-300); background: rgba(201, 162, 75, .07); }
.tag--gold { background: rgba(201, 162, 75, .1); border-color: rgba(201, 162, 75, .3); color: var(--gold-300); }

/* --------------------------------------------------------- Section head -- */
.sec-head { max-width: 720px; margin-bottom: 68px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .kicker { justify-content: center; }
.sec-head h2 {
    font-size: clamp(32px, 5vw, 60px);
    letter-spacing: -.035em;
}
.sec-head h2 em {
    font-style: normal;
    color: var(--gold);
}
.sec-head p {
    color: var(--text-dim);
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.75;
}

/* ----------------------------------------------------- Scroll progress -- */
#scroll-progress {
    position: fixed;
    inset: 0 auto auto 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--gold), var(--azure));
    z-index: 400;
}

/* --------------------------------------------------------------- Header -- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 300;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: height .35s ease, background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    height: 66px;
    background: rgba(8, 12, 24, .82);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom-color: var(--line);
}
.site-header .container-wide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
    width: 42px; height: 42px;
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
    padding: 3px;
    flex-shrink: 0;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease;
}
.brand:hover .brand__mark { transform: rotate(-5deg) scale(1.06); box-shadow: var(--glow-gold); }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16.5px;
    letter-spacing: -.02em;
}
.brand__sub {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
}

.main-nav > ul { display: flex; align-items: center; gap: 6px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-dim);
    transition: color .28s ease, background .28s ease;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.is-active { color: var(--text); background: rgba(255, 255, 255, .06); }
.main-nav > ul > li > a.is-active { color: var(--gold-300); }

/* Services mega dropdown */
.has-mega > a svg { transition: transform .3s ease; }
.has-mega:hover > a svg { transform: rotate(180deg); }
.mega {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: 620px;
    padding: 14px;
    background: rgba(12, 18, 34, .97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.mega__item {
    display: flex;
    gap: 13px;
    padding: 13px 14px;
    border-radius: var(--r);
    transition: background .25s ease;
}
.mega__item:hover { background: rgba(255, 255, 255, .06); }
.mega__icon {
    flex-shrink: 0;
    width: 38px; height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(201, 162, 75, .12);
    color: var(--gold);
    transition: background .25s ease, color .25s ease;
}
.mega__item:hover .mega__icon { background: var(--gold); color: var(--ink-900); }
.mega__item h4 { font-family: var(--font-body); font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.mega__item p { font-size: 12px; color: var(--text-faint); line-height: 1.5; }

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

.nav-toggle {
    display: none;
    width: 46px; height: 46px;
    border-radius: 13px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, .05);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 19px; height: 1.5px;
    background: var(--text);
    transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 290;
    background: rgba(5, 7, 15, .98);
    backdrop-filter: blur(20px);
    padding: 30px var(--gutter) 40px;
    overflow-y: auto;
    display: none;
}
.mobile-nav.is-open { display: block; animation: fade-in .3s ease; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -.02em;
    border-bottom: 1px solid var(--line);
}
.mobile-nav__sub { padding: 8px 0 16px; }
.mobile-nav__sub a { display: block; padding: 9px 0 9px 16px; font-size: 14.5px; color: var(--text-dim); }
.mobile-nav .btn { margin-top: 26px; }

/* -------------------------------------------------------------- Marquee -- */
.marquee {
    position: relative;
    overflow: hidden;
    padding: 22px 0;
    border-block: 1px solid var(--line);
    background: rgba(255, 255, 255, .015);
}
.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 0 26px;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--text-faint);
    white-space: nowrap;
    transition: color .3s ease;
}
.marquee__item:hover { color: var(--gold-300); }
.marquee__item::after {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    opacity: .55;
}

/* ----------------------------------------------------------------- Hero -- */
.hero {
    position: relative;
    padding: calc(var(--header-h) + 90px) 0 100px;
    overflow: hidden;
}
.hero .glow--gold { width: 620px; height: 620px; top: -260px; right: -180px; }
.hero .glow--azure { width: 520px; height: 520px; bottom: -280px; left: -200px; }

.hero__grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 70px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(44px, 7.2vw, 96px);
    letter-spacing: -.045em;
    margin: 30px 0 0;
}
.hero h1 .accent {
    background: linear-gradient(100deg, var(--gold-300), var(--gold) 45%, var(--gold-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero h1 .outline {
    -webkit-text-stroke: 1.5px var(--gold);
    color: transparent;
}

.hero__lead {
    color: var(--text-dim);
    font-size: 18px;
    line-height: 1.8;
    margin: 30px 0 38px;
    max-width: 540px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 44px;
    padding-top: 34px;
    border-top: 1px solid var(--line);
}

/* Hero panel: logo card + orbiting service chips */
.hero__panel { position: relative; display: grid; place-items: center; min-height: 400px; }
.hero__logo-card {
    position: relative;
    z-index: 3;
    width: 260px;
    padding: 26px;
    border-radius: var(--r-xl);
    background: linear-gradient(150deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
    border: 1px solid var(--line-strong);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg), var(--glow-gold);
}
.hero__logo-card img { border-radius: var(--r); }

.hero__orbit {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 2;
}
.hero__orbit::before,
.hero__orbit::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--line);
}
.hero__orbit::before { width: 380px; height: 380px; }
.hero__orbit::after { width: 480px; height: 480px; border-style: dashed; border-color: rgba(201, 162, 75, .18); }

.orbit-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 999px;
    background: rgba(12, 18, 34, .92);
    border: 1px solid var(--line-strong);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    animation: drift 7s ease-in-out infinite;
}
.orbit-chip svg { color: var(--gold); }
.orbit-chip:nth-child(1) { top: 6%; left: 2%; }
.orbit-chip:nth-child(2) { top: 28%; right: -4%; animation-delay: 1.2s; }
.orbit-chip:nth-child(3) { bottom: 22%; left: -6%; animation-delay: 2.4s; }
.orbit-chip:nth-child(4) { bottom: 4%; right: 4%; animation-delay: 3.6s; }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ------------------------------------------------------------ Stat band -- */
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.stat {
    background: var(--ink-900);
    padding: 40px 30px;
    transition: background .35s ease;
}
.stat:hover { background: var(--ink-700); }
.stat__num {
    font-family: var(--font-display);
    font-size: clamp(38px, 4.4vw, 56px);
    font-weight: 700;
    letter-spacing: -.04em;
    color: var(--gold);
    line-height: 1;
}
.stat__label { margin-top: 12px; font-size: 13.5px; color: var(--text-dim); }

/* ------------------------------------------------------- Services list -- */
/* Big numbered rows that expand on hover — the signature agency pattern. */
.service-list { border-top: 1px solid var(--line); }
.service-row {
    position: relative;
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 30px;
    align-items: center;
    padding: 34px 26px;
    border-bottom: 1px solid var(--line);
    transition: background .4s ease, padding .4s ease;
    overflow: hidden;
}
.service-row::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(201, 162, 75, .1), transparent 60%);
    opacity: 0;
    transition: opacity .4s ease;
}
.service-row:hover { background: rgba(255, 255, 255, .02); padding-inline: 34px; }
.service-row:hover::before { opacity: 1; }
.service-row > * { position: relative; z-index: 1; }

.service-row__num {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-faint);
    letter-spacing: .1em;
    transition: color .35s ease;
}
.service-row:hover .service-row__num { color: var(--gold); }

.service-row__body { display: flex; align-items: center; gap: 22px; }
.service-row__icon {
    flex-shrink: 0;
    width: 52px; height: 52px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line);
    color: var(--gold);
    transition: background .35s ease, color .35s ease, transform .35s ease, border-color .35s ease;
}
.service-row:hover .service-row__icon {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink-900);
    transform: rotate(-6deg) scale(1.06);
}
.service-row h3 {
    font-size: clamp(21px, 2.4vw, 30px);
    letter-spacing: -.03em;
    margin-bottom: 5px;
}
.service-row p { font-size: 14.5px; color: var(--text-dim); max-width: 560px; }

.service-row__go {
    flex-shrink: 0;
    width: 50px; height: 50px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    display: grid;
    place-items: center;
    color: var(--text-dim);
    transition: background .35s ease, color .35s ease, transform .35s ease, border-color .35s ease;
}
.service-row:hover .service-row__go {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink-900);
    transform: translateX(6px);
}

/* --------------------------------------------------------- Glass cards -- */
.card {
    position: relative;
    background: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 32px;
    overflow: hidden;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), border-color .45s ease, box-shadow .45s ease;
}
.card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 162, 75, .4);
    box-shadow: var(--shadow);
}
.card__icon {
    width: 52px; height: 52px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: rgba(201, 162, 75, .12);
    color: var(--gold);
    margin-bottom: 24px;
    transition: background .35s ease, color .35s ease, transform .35s ease;
}
.card:hover .card__icon { background: var(--gold); color: var(--ink-900); transform: rotate(-6deg); }
.card h3 { font-size: 20px; margin-bottom: 11px; }
.card p { font-size: 14.5px; color: var(--text-dim); line-height: 1.7; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }

/* ------------------------------------------------------------ Work grid -- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.work-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--ink-800);
    transition: transform .5s cubic-bezier(.2, .8, .2, 1), border-color .5s ease, box-shadow .5s ease;
}
.work-card:hover { transform: translateY(-10px); border-color: var(--line-strong); box-shadow: var(--shadow-lg); }

.work-card__visual {
    position: relative;
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 20%, var(--accent, #C9A24B) 0%, transparent 55%),
        linear-gradient(150deg, var(--ink-700), var(--ink-900));
}
.work-card__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 40px 40px;
}
.work-card__visual img { width: 100%; height: 100%; object-fit: cover; }
.work-card__mark {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-size: 62px;
    font-weight: 700;
    letter-spacing: -.05em;
    color: rgba(255, 255, 255, .9);
    text-shadow: 0 8px 30px rgba(0, 0, 0, .5);
    transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.work-card:hover .work-card__mark { transform: scale(1.08); }

.work-card__cat {
    position: absolute;
    top: 18px; left: 18px;
    z-index: 3;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(5, 7, 15, .75);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line-strong);
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-300);
}
.work-card__year {
    position: absolute;
    top: 18px; right: 18px;
    z-index: 3;
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(255, 255, 255, .55);
}

.work-card__body { padding: 28px 30px 30px; flex-grow: 1; display: flex; flex-direction: column; }
.work-card__client { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 10px; }
.work-card h3 { font-size: 22px; letter-spacing: -.03em; margin-bottom: 12px; }
.work-card p { font-size: 14.5px; color: var(--text-dim); line-height: 1.7; flex-grow: 1; }
.work-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

/* Result metric pills */
.result-row { display: flex; gap: 14px; flex-wrap: wrap; }
.result {
    flex: 1 1 150px;
    padding: 22px;
    border-radius: var(--r);
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line);
}
.result__value {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--gold);
    line-height: 1.1;
}
.result__label { margin-top: 8px; font-size: 13px; color: var(--text-dim); }

/* ------------------------------------------------------ Process / steps -- */
.process-list { counter-reset: step; }
.process-item {
    position: relative;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    padding: 38px 0;
    border-top: 1px solid var(--line);
}
.process-item:last-child { border-bottom: 1px solid var(--line); }
.process-item__num {
    counter-increment: step;
    font-family: var(--font-display);
    font-size: 46px;
    font-weight: 700;
    letter-spacing: -.05em;
    color: transparent;
    -webkit-text-stroke: 1px var(--line-strong);
    transition: -webkit-text-stroke-color .4s ease, color .4s ease;
}
.process-item__num::before { content: '0' counter(step); }
.process-item:hover .process-item__num { -webkit-text-stroke-color: var(--gold); color: rgba(201, 162, 75, .1); }
.process-item h3 { font-size: 24px; margin-bottom: 12px; letter-spacing: -.03em; }
.process-item p { color: var(--text-dim); font-size: 15.5px; line-height: 1.8; max-width: 680px; }

/* -------------------------------------------------------- Testimonials -- */
.quote-card {
    display: flex;
    flex-direction: column;
    padding: 34px;
    border-radius: var(--r-lg);
    background: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
    border: 1px solid var(--line);
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), border-color .45s ease;
}
.quote-card:hover { transform: translateY(-8px); border-color: rgba(201, 162, 75, .4); }
.quote-card__mark {
    font-family: var(--font-display);
    font-size: 54px;
    line-height: .6;
    color: var(--gold);
    opacity: .35;
    margin-bottom: 18px;
}
.quote-card blockquote { font-size: 15.5px; line-height: 1.85; color: var(--text-dim); flex-grow: 1; }
.quote-card__person {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.avatar {
    width: 46px; height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--ink-900);
    background: linear-gradient(140deg, var(--gold-300), var(--gold));
    object-fit: cover;
}
.avatar--lg { width: 76px; height: 76px; border-radius: 22px; font-size: 24px; }
.quote-card__person h4 { font-family: var(--font-body); font-size: 14.5px; font-weight: 600; }
.quote-card__person span { font-size: 12.5px; color: var(--text-faint); }

/* --------------------------------------------------------------- Team -- */
.team-card {
    text-align: center;
    padding: 34px 26px;
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line);
    transition: transform .45s ease, border-color .45s ease, background .45s ease;
}
.team-card:hover { transform: translateY(-8px); border-color: rgba(201, 162, 75, .4); background: rgba(255, 255, 255, .05); }
.team-card .avatar { margin: 0 auto 20px; }
.team-card h3 { font-size: 18.5px; margin-bottom: 5px; }
.team-card .role { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.team-card p { font-size: 13.5px; color: var(--text-dim); line-height: 1.7; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 20px; }

/* ------------------------------------------------------------- Pricing -- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 38px 32px;
    border-radius: var(--r-xl);
    background: linear-gradient(165deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
    border: 1px solid var(--line);
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), border-color .45s ease, box-shadow .45s ease;
}
.price-card:hover { transform: translateY(-8px); border-color: var(--line-strong); }
.price-card--popular {
    border-color: rgba(201, 162, 75, .55);
    box-shadow: 0 0 0 1px rgba(201, 162, 75, .2), var(--glow-gold);
}
.price-card__badge {
    position: absolute;
    top: -13px; left: 50%;
    transform: translateX(-50%);
    padding: 7px 18px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--ink-900);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
}
.price-card h3 { font-size: 24px; margin-bottom: 8px; }
.price-card__tagline { font-size: 14px; color: var(--text-dim); margin-bottom: 26px; }
.price-card__amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.price-card__amount strong {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -.04em;
}
.price-card__amount span { font-size: 13.5px; color: var(--text-faint); }
.price-card__best {
    font-size: 13.5px;
    color: var(--text-dim);
    line-height: 1.7;
    padding: 16px;
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, .035);
    margin-bottom: 24px;
}
.feature-list { display: flex; flex-direction: column; gap: 13px; flex-grow: 1; margin-bottom: 30px; }
.feature-list li { display: flex; gap: 12px; font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.feature-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.feature-list li.is-excluded { color: var(--text-faint); }
.feature-list li.is-excluded svg { color: var(--text-faint); opacity: .6; }

/* ----------------------------------------------------------- Accordion -- */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: rgba(255, 255, 255, .025);
    overflow: hidden;
    transition: border-color .35s ease, background .35s ease;
}
.accordion-item.is-open { border-color: rgba(201, 162, 75, .45); background: rgba(201, 162, 75, .04); }
.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 22px 26px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.01em;
    transition: color .3s ease;
}
.accordion-trigger:hover { color: var(--gold-300); }
.accordion-trigger__icon {
    flex-shrink: 0;
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    display: grid;
    place-items: center;
    transition: transform .35s ease, background .35s ease, color .35s ease, border-color .35s ease;
}
.accordion-item.is-open .accordion-trigger__icon {
    transform: rotate(135deg);
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink-900);
}
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.2, .8, .2, 1); }
.accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; }
.accordion-panel > div { overflow: hidden; }
.accordion-panel p,
.accordion-panel ul { padding: 0 26px 24px; font-size: 15px; line-height: 1.85; color: var(--text-dim); }
.accordion-panel ul { display: grid; gap: 10px; }
.accordion-panel li { position: relative; padding-left: 22px; }
.accordion-panel li::before {
    content: '';
    position: absolute;
    left: 2px; top: 11px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

/* -------------------------------------------------------------- Checks -- */
.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.check {
    display: flex;
    gap: 15px;
    padding: 22px;
    border-radius: var(--r);
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line);
    font-size: 14.5px;
    color: var(--text-dim);
    line-height: 1.65;
    transition: border-color .35s ease, transform .35s ease;
}
.check:hover { border-color: rgba(201, 162, 75, .4); transform: translateY(-4px); }
.check__icon {
    flex-shrink: 0;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(201, 162, 75, .14);
    color: var(--gold);
    display: grid;
    place-items: center;
}

/* ---------------------------------------------------------- Page hero -- */
.page-hero {
    position: relative;
    padding: calc(var(--header-h) + 80px) 0 70px;
    overflow: hidden;
}
.page-hero .glow--gold { width: 560px; height: 560px; top: -280px; right: -160px; }
.page-hero h1 { font-size: clamp(38px, 6.4vw, 76px); letter-spacing: -.045em; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero p { color: var(--text-dim); font-size: 18px; line-height: 1.8; max-width: 660px; margin-top: 24px; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: .08em;
    color: var(--text-faint);
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--gold); }

/* -------------------------------------------------------- Detail layout -- */
.detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }

/* Sticky lives on a wrapper, never on the card itself — a stuck element keeps its
   original space in flow, so making the card sticky lets it paint over any sibling
   that follows it in the same column. */
.sticky-col {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.sticky-panel {
    padding: 32px;
    border-radius: var(--r-xl);
    background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
    border: 1px solid var(--line-strong);
    backdrop-filter: blur(12px);
}
.fact-list { display: flex; flex-direction: column; }
.fact-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
}
.fact-list li:last-child { border-bottom: none; }
.fact-list .label { color: var(--text-faint); display: inline-flex; align-items: center; gap: 10px; }
.fact-list .value { font-weight: 600; text-align: right; }

.prose p { color: var(--text-dim); font-size: 16.5px; line-height: 1.9; margin-bottom: 20px; }
.prose p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------- CTA -- */
.cta-panel {
    position: relative;
    padding: 84px 6%;
    border-radius: var(--r-xl);
    text-align: center;
    overflow: hidden;
    background: linear-gradient(150deg, var(--ink-700), var(--ink-900));
    border: 1px solid var(--line-strong);
}
.cta-panel::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(201, 162, 75, .18);
    filter: blur(100px);
    top: -220px; right: -120px;
}
.cta-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
}
.cta-panel > * { position: relative; z-index: 2; }
.cta-panel h2 { font-size: clamp(30px, 4.6vw, 54px); letter-spacing: -.04em; }
.cta-panel p { color: var(--text-dim); margin: 22px auto 36px; max-width: 580px; font-size: 17px; line-height: 1.75; }
.cta-panel__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------- Forms -- */
.form-card {
    padding: 40px;
    border-radius: var(--r-xl);
    background: linear-gradient(165deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid var(--line-strong);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.field .req { color: var(--gold); }
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 14px 17px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    background: rgba(5, 7, 15, .55);
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field textarea { min-height: 130px; resize: vertical; }
.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23A3AEC6' stroke-width='1.6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 42px;
}
.field select option { background: var(--ink-800); color: var(--text); }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(5, 7, 15, .8);
    box-shadow: 0 0 0 3px rgba(201, 162, 75, .16);
}
.field .error { font-size: 12.5px; color: #FF8A80; }
.field .hint { font-size: 12.5px; color: var(--text-faint); }
.field input.has-error, .field select.has-error, .field textarea.has-error { border-color: #FF8A80; }
.honeypot { position: absolute; left: -9999px; width: 0; height: 0; opacity: 0; }

/* Radio pill group (budget / timeline) */
.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-group input { position: absolute; opacity: 0; width: 0; height: 0; }
.pill-group label {
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-dim);
    cursor: pointer;
    transition: all .28s ease;
}
.pill-group input:checked + label {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink-900);
    font-weight: 600;
}
.pill-group input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 3px; }

.alert {
    display: flex;
    gap: 13px;
    padding: 17px 22px;
    border-radius: var(--r-sm);
    font-size: 14.5px;
    margin-bottom: 26px;
    border: 1px solid;
}
.alert--success { background: rgba(52, 199, 123, .1); border-color: rgba(52, 199, 123, .4); color: #7EE2AC; }
.alert--error { background: rgba(255, 138, 128, .1); border-color: rgba(255, 138, 128, .4); color: #FFB4AC; }

.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
    flex: 1 1 200px;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, .05);
    color: var(--text);
    font-size: 14.5px;
}
.newsletter-form input::placeholder { color: var(--text-faint); }

/* ------------------------------------------------------- Filter chips -- */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 50px; }
.filter-chip {
    padding: 11px 22px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-dim);
    transition: all .3s ease;
}
.filter-chip:hover { border-color: var(--gold); color: var(--gold-300); }
.filter-chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--ink-900); font-weight: 600; }

/* --------------------------------------------------------------- Footer -- */
.site-footer {
    position: relative;
    margin-top: 40px;
    padding: 90px 0 0;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, var(--ink-900), var(--void));
    overflow: hidden;
}
.site-footer .glow--gold { width: 500px; height: 500px; top: -280px; left: 50%; transform: translateX(-50%); opacity: .5; }

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 48px;
    padding-bottom: 60px;
}
.footer-brand p { font-size: 14.5px; color: var(--text-dim); line-height: 1.8; margin-top: 22px; max-width: 340px; }
.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 22px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; color: var(--text-dim); transition: color .28s ease, padding-left .28s ease; }
.footer-col a:hover { color: var(--gold-300); padding-left: 5px; }

.footer-contact li { display: flex; gap: 12px; font-size: 14.5px; color: var(--text-dim); margin-bottom: 16px; align-items: flex-start; }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.footer-contact a:hover { color: var(--gold-300); }

.social-row { display: flex; gap: 10px; margin-top: 24px; }
.social-row a {
    width: 40px; height: 40px;
    border-radius: 12px;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--text-dim);
    transition: all .3s ease;
}
.social-row a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink-900); transform: translateY(-3px); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 26px 0 32px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--text-faint);
}

/* Oversized wordmark at the very bottom */
.footer-wordmark {
    font-family: var(--font-display);
    font-size: clamp(46px, 13vw, 190px);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: .85;
    text-align: center;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
    padding-bottom: 10px;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
}

/* ---------------------------------------------------------- WhatsApp FAB */
.whatsapp-fab {
    position: fixed;
    right: 24px; bottom: 24px;
    z-index: 250;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 30px rgba(37, 211, 102, .4);
    transition: transform .3s ease;
}
.whatsapp-fab:hover { transform: scale(1.09); }

/* ---------------------------------------------------------- Error page -- */
.error-page { min-height: 66vh; display: grid; place-items: center; text-align: center; padding: 140px 0 100px; }
.error-page .code {
    font-family: var(--font-display);
    font-size: clamp(90px, 19vw, 220px);
    font-weight: 700;
    line-height: .9;
    letter-spacing: -.06em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(201, 162, 75, .4);
}

/* -------------------------------------------------------- Responsive -- */
@media (max-width: 1100px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .work-grid, .grid-3, .price-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .price-grid { gap: 20px; }
}

@media (max-width: 980px) {
    :root { --gutter: 22px; }

    .main-nav, .header-actions .btn { display: none; }
    .header-actions .nav-toggle { display: flex; }

    .hero { padding-top: calc(var(--header-h) + 56px); }
    .hero__grid { grid-template-columns: 1fr; gap: 56px; }
    .hero__panel { min-height: 340px; }
    .hero__orbit::before { width: 300px; height: 300px; }
    .hero__orbit::after { width: 380px; height: 380px; }

    .detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .sticky-col { position: static; }
    .stat-row { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 84px 0; }
    .sec-head { margin-bottom: 48px; }

    .service-row { grid-template-columns: 1fr auto; gap: 20px; padding: 26px 0; }
    .service-row__num { display: none; }
    .service-row:hover { padding-inline: 0; }

    .process-item { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 700px) {
    .work-grid, .grid-2, .grid-3, .grid-4, .price-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-card { padding: 26px 22px; }
    .footer-top { grid-template-columns: 1fr; gap: 34px; }
    .cta-panel { padding: 56px 24px; }
    .stat { padding: 30px 22px; }
    .service-row__body { flex-direction: column; align-items: flex-start; gap: 16px; }
    .marquee__item { font-size: 16px; padding: 0 18px; }
    .card { padding: 26px; }
    .quote-card, .form-card { padding: 26px 22px; }
    .site-footer { padding-bottom: 74px; }
    .whatsapp-fab { bottom: 20px; right: 20px; }
}

/* ==========================================================================
   Blog
   --------------------------------------------------------------------------
   Deliberately not a card grid. Articles are presented as a numbered index,
   the way this site already lists work, so the blog reads as part of it
   rather than as a generic template dropped in.
   ========================================================================== */

/* ------------------------------------------------------- category rail --- */
.blog-rail {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--line);
}
.blog-rail__link {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .04em;
    color: var(--text-dim);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 15px;
    transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.blog-rail__link:hover { color: var(--text); border-color: var(--line-strong); }
.blog-rail__link.on {
    color: var(--void);
    background: var(--gold);
    border-color: var(--gold);
    font-weight: 600;
}
.blog-rail__count { opacity: .55; margin-left: 5px; }

/* ------------------------------------------------------------ lead post --- */
.blog-lead {
    position: relative;
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 44px;
    margin-bottom: 56px;
    overflow: hidden;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(79, 125, 243, .12), transparent 60%),
        linear-gradient(160deg, var(--ink-800), var(--ink-900));
    transition: border-color .3s ease, transform .3s ease;
}
.blog-lead:hover { border-color: var(--line-strong); transform: translateY(-3px); }
/* A hairline that lights the top edge, rather than a border that shouts. */
.blog-lead::after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: .5;
}
.blog-lead__meta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 18px;
}
.blog-lead__meta .on-air { color: var(--gold); }
.blog-lead h2 {
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.12;
    letter-spacing: -.02em;
    margin-bottom: 16px;
    max-width: 20ch;
}
.blog-lead p { color: var(--text-dim); max-width: 62ch; margin-bottom: 26px; }
.blog-lead__go {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--gold);
    transition: gap .25s ease;
}
.blog-lead:hover .blog-lead__go { gap: 15px; }

/* ---------------------------------------------------------- index rows --- */
.blog-index { display: flex; flex-direction: column; }

.blog-row {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 26px;
    align-items: baseline;
    padding: 30px 6px;
    border-bottom: 1px solid var(--line);
    transition: background .3s ease, padding-left .3s ease;
}
.blog-row:first-child { border-top: 1px solid var(--line); }
.blog-row:hover {
    background: linear-gradient(90deg, rgba(201, 162, 75, .05), transparent 70%);
    padding-left: 16px;
}

.blog-row__no {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--text-faint);
    transition: color .3s ease;
}
.blog-row:hover .blog-row__no { color: var(--gold); }

/* These are spans inside an anchor (an <a> may not contain block elements
   here), so each one has to be made block-level explicitly or the title,
   excerpt and meta all run together on one line. */
.blog-row__title,
.blog-row__excerpt,
.blog-row__meta { display: block; }

.blog-row__title {
    font-family: var(--font-display);
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.015em;
    margin-bottom: 9px;
    transition: color .25s ease;
}
.blog-row:hover .blog-row__title { color: var(--gold-300); }
.blog-row__excerpt { color: var(--text-dim); font-size: 15px; max-width: 68ch; margin-bottom: 12px; }
.blog-row__meta {
    display: flex;
    /* re-declared after the block rule above, which it must win over */
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text-faint);
}
.blog-row__arrow {
    color: var(--text-faint);
    transition: color .25s ease, transform .25s ease;
}
.blog-row:hover .blog-row__arrow { color: var(--gold); transform: translateX(5px); }

/* ------------------------------------------------------------- article --- */
.article-head { max-width: 780px; }
.article-head__meta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-top: 22px;
}

/* Cover images usually carry their own wording, so nothing is cropped: the
   picture is scaled to fit and centred on a frame instead. Any proportion
   works, and no upload can push the article down the page. */
.article-cover {
    max-width: 900px;
    min-height: 200px;
    margin: 0 auto 52px;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, var(--ink-800), var(--ink-900));
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.article-cover img { width: auto; max-width: 100%; max-height: 480px; display: block; }

.article-body {
    max-width: 720px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.85;
    color: var(--text-dim);
}
.article-body > * + * { margin-top: 24px; }
.article-body h2 {
    font-size: clamp(23px, 2.6vw, 30px);
    color: var(--text);
    letter-spacing: -.015em;
    margin-top: 48px;
}
.article-body h3 { font-size: 20px; color: var(--text); margin-top: 36px; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--gold-300); }
/* The global reset strips list markers site-wide, which is right everywhere
   except prose — an article's lists need to read as lists. display:grid is
   avoided here because it suppresses the marker in some engines. */
.article-body ul { list-style: disc; padding-left: 22px; }
.article-body ol { list-style: decimal; padding-left: 22px; }
.article-body li { margin-top: 10px; }
.article-body li::marker { color: var(--gold); }
.article-body blockquote {
    border-left: 2px solid var(--gold);
    padding: 4px 0 4px 22px;
    color: var(--text);
    font-size: 19px;
}
.article-body code {
    font-family: var(--font-mono);
    font-size: .88em;
    background: var(--ink-700);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 2px 7px;
    color: var(--gold-300);
}
.article-body img { width: 100%; border-radius: var(--r); }

.article-tags {
    max-width: 720px;
    margin: 44px auto 0;
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

/* Closing call to action, which is the point of the article. Azure rather
   than gold so it reads as a different kind of moment from the page. */
.article-cta {
    max-width: 720px;
    margin: 52px auto 0;
    padding: 36px;
    border-radius: var(--r-lg);
    border: 1px solid rgba(79, 125, 243, .3);
    background:
        radial-gradient(110% 130% at 0% 0%, rgba(79, 125, 243, .16), transparent 62%),
        linear-gradient(160deg, var(--ink-800), var(--ink-900));
}
.article-cta__kicker {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--azure);
    margin-bottom: 12px;
}
.article-cta h3 { font-size: clamp(21px, 2.4vw, 27px); margin-bottom: 12px; letter-spacing: -.015em; }
.article-cta p { color: var(--text-dim); margin-bottom: 24px; max-width: 52ch; }

@media (max-width: 720px) {
    .blog-lead { padding: 30px 24px; }
    .blog-row { grid-template-columns: 1fr; gap: 10px; padding: 24px 4px; }
    .blog-row__no { order: -1; }
    .blog-row__arrow { display: none; }
    .article-cover { margin-bottom: 36px; }
    .article-cover img { max-height: 320px; }
    .article-cta { padding: 26px 22px; }
}

/* ========================================================= Founder message */
/* Message first, portrait second — on a dark canvas the words carry the
   section and the photo anchors it. The frame is a gold hairline with a
   mono caption strip beneath, the same treatment the blog gives its
   metadata, so the portrait reads as part of the system rather than a
   pasted-in headshot. */
.founder { position: relative; overflow: hidden; }

.founder__grid {
    display: grid;
    grid-template-columns: 1.25fr minmax(300px, 420px);
    gap: 72px;
    align-items: center;
    position: relative;
}

.founder__body .kicker { margin-bottom: 26px; }

.founder__lead {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.025em;
    color: var(--text);
    margin: 0 0 26px;
    text-wrap: balance;
    max-width: 22ch;
}
.founder__para {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dim);
    margin: 0 0 18px;
    max-width: 60ch;
}

.founder__sign {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
}
.founder__sign-rule { width: 44px; height: 1px; background: var(--gold); flex-shrink: 0; }
.founder__sign-name {
    display: block;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.01em;
}
.founder__sign-title {
    display: block;
    margin-top: 3px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.founder__figure { margin: 0; }
.founder__frame {
    position: relative;
    padding: 10px;
    border: 1px solid rgba(201, 162, 75, .45);
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0));
}
.founder__frame::before,
.founder__frame::after {
    /* Corner ticks, the way a technical drawing marks a frame. */
    content: '';
    position: absolute;
    width: 22px; height: 22px;
    border: 2px solid var(--gold);
}
.founder__frame::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; border-radius: 22px 0 0 0; }
.founder__frame::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; border-radius: 0 0 22px 0; }
.founder__frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8);
}

.founder__caption {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 16px;
    align-items: baseline;
    margin-top: 18px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .02);
}
.founder__caption-label {
    grid-row: 1 / span 2;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    padding-right: 16px;
    border-right: 1px solid var(--line-strong);
    align-self: center;
}
.founder__caption-name { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.founder__caption-title { font-size: 12.5px; color: var(--text-faint); }

@media (max-width: 960px) {
    .founder__grid { grid-template-columns: 1fr; gap: 48px; }
    .founder__figure { max-width: 420px; margin: 0 auto; width: 100%; }
    .founder__lead { max-width: none; }
    .founder__para { max-width: none; }
}
@media (max-width: 560px) {
    .founder__frame { padding: 8px; border-radius: 18px; }
    .founder__caption { grid-template-columns: 1fr; gap: 4px; }
    .founder__caption-label { grid-row: auto; border-right: 0; padding-right: 0; }
}
