/* =========================================================
   FALCON SOFTWARE SOLUTIONS — Brand Theme
   Aesthetic: Crisp light surface · Deep navy ink · Falcon-blue accent
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
    --bg:           #FFFFFF;            /* clean white */
    --bg-alt:       #F1F5F9;            /* soft slate */
    --bg-soft:      #F8FAFC;            /* near-white card */
    --ink:          #0F1E37;            /* deep brand navy (Falcon wordmark) */
    --ink-2:        #1E2D4D;
    --ink-mute:     #64748B;
    --line:         rgba(15, 30, 55, 0.12);
    --line-strong:  rgba(15, 30, 55, 0.22);

    --accent:       #0EA5E9;            /* falcon sky blue — primary accent */
    --accent-2:     #2563EB;            /* deeper brand blue — hover / secondary */
    --accent-3:     #BAE6FD;            /* pale falcon blue — tertiary */
    --dark:         #0F1E37;

    --brand-grad:   linear-gradient(135deg, #0EA5E9 0%, #2563EB 50%, #1E3A8A 100%);

    /* Aliases used by inner-page templates */
    --color-surface:   var(--bg-soft);
    --color-surface-2: var(--bg-alt);
    --color-bg:        var(--bg);

    /* Card system — every boxed surface derives from these, so the site keeps
       one border weight, radius and hover behaviour instead of drifting. */
    --card-border:  1.5px solid var(--ink);
    --card-radius:  28px;               /* matches --r-lg */
    --chip-radius:  18px;               /* matches --r-md, for smaller chips */
    --card-bg:      #F8FAFC;            /* matches --bg-soft */

    --shadow-card:  0 2px 0 rgba(15, 30, 55, 1);
    --shadow-soft:  0 20px 60px -20px rgba(15, 30, 55, 0.25);
    --shadow-lg:    0 40px 80px -30px rgba(15, 30, 55, 0.35);

    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 28px;
    --r-xl: 40px;
    --r-full: 9999px;

    --container: 1320px;
    --pad: clamp(1.25rem, 4vw, 2.5rem);

    --font-display: 'Bricolage Grotesque', 'Inter', sans-serif;
    --font-serif:   'Instrument Serif', Georgia, serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --t-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --t-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --t-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);

    --header-h: 80px;
    --header-margin-top: 1.25rem;
}

/* ---------- Resets ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1;
    margin: 0 0 0.6em;
    letter-spacing: -0.03em;
}
p { margin: 0 0 1em; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }

/* ---------- A11y ---------- */
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: absolute;
    top: -100px; left: 1rem;
    background: var(--ink); color: var(--bg);
    padding: 0.75rem 1rem;
    border-radius: var(--r-sm);
    z-index: 9999;
}
.skip-link:focus { top: 1rem; }
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .marquee-track, .stamp-rotate { animation: none !important; }
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--pad);
    padding-right: var(--pad);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.6rem;
    border-radius: var(--r-full);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
    border: 1.5px solid transparent;
    white-space: nowrap;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--bg);
    transition: transform var(--t-fast);
    flex-shrink: 0;
}
.btn-icon svg { width: 14px; height: 14px; }
.btn:hover .btn-icon { transform: rotate(-45deg); }

.btn-sm { padding: 0.7rem 1.1rem 0.7rem 1.3rem; font-size: 0.85rem; }
.btn-lg { padding: 1.25rem 1.5rem 1.25rem 2rem; font-size: 1rem; }

.btn-primary {
    background: var(--ink);
    color: var(--bg);
    padding-right: 0.5rem;
}
.btn-primary .btn-icon { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent); color: var(--ink); }
.btn-primary:hover .btn-icon { background: var(--ink); color: var(--bg); }

.btn-accent {
    background: var(--accent);
    color: var(--ink);
    padding-right: 0.5rem;
}
.btn-accent .btn-icon { background: var(--ink); color: var(--accent); }
.btn-accent:hover { background: var(--ink); color: var(--bg); }
.btn-accent:hover .btn-icon { background: var(--accent); color: var(--ink); }

.btn-outline {
    color: var(--ink);
    border-color: var(--ink);
    background: transparent;
    padding-right: 0.5rem;
}
.btn-outline .btn-icon { background: var(--ink); color: var(--bg); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-outline:hover .btn-icon { background: var(--accent); color: var(--ink); }

.btn-ghost {
    color: var(--ink);
    background: var(--bg-soft);
    border-color: var(--line);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 1.5rem;
}
.eyebrow::before { content: '✦'; color: var(--accent-2); font-size: 1rem; }
.eyebrow-light { color: var(--ink); }

.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }

.section-title {
    font-size: clamp(2.25rem, 6vw, 5rem);
    line-height: 0.95;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.04em;
}
.section-subtitle {
    color: var(--ink-mute);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    max-width: 580px;
}
.section-head { margin-bottom: 4rem; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; max-width: 720px; }

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ink);
    background: transparent;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   HEADER — Floating Glass Pill
   ========================================================= */

.site-header {
    position: fixed;
    top: var(--header-margin-top);
    left: 0; right: 0;
    z-index: 100;
    padding: 0 var(--pad);
    pointer-events: none;
    transition: top var(--t-base);
}
.site-header.is-scrolled { top: 0.6rem; }

.header-pill {
    max-width: 1280px;
    margin: 0 auto;
    height: var(--header-h);
    padding: 0 0.6rem 0 1.5rem;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-radius: var(--r-full);
    border: 1px solid rgba(14, 14, 16, 0.06);
    box-shadow:
        0 8px 32px rgba(14, 14, 16, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    pointer-events: auto;
    transition: all var(--t-base);
}
.site-header.is-scrolled .header-pill {
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(14, 14, 16, 0.08);
    box-shadow:
        0 12px 40px rgba(14, 14, 16, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}
.site-logo img {
    height: 40px;
    width: auto;
    display: block;
    transition: opacity var(--t-fast);
}
.site-logo:hover img { opacity: 0.75; }
.site-logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.01em;
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
}
.site-logo-text small {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
}
@media (max-width: 600px) {
    .site-logo-text { display: none; }
}

/* Primary nav (mobile = slide panel) */
.primary-nav {
    position: fixed;
    inset: 0;
    background: rgba(250, 248, 243, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: calc(var(--header-h) + 3rem) var(--pad) 3rem;
    transform: translateX(100%);
    transition: transform var(--t-base);
    overflow-y: auto;
    z-index: 90;
}
.primary-nav.is-open { transform: translateX(0); }
.primary-nav .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.primary-nav .nav-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0.5rem;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    letter-spacing: -0.02em;
    transition: color var(--t-fast), padding var(--t-fast);
}
.primary-nav .nav-menu a:hover { padding-left: 1rem; color: var(--accent-2); }
.primary-nav .nav-menu li.is-current > a { color: var(--ink-mute); }
.primary-nav .nav-menu .caret { width: 14px; height: 14px; opacity: 0.6; }

.primary-nav .sub-menu {
    display: none;
    padding: 0.5rem 0 0.5rem 1rem;
    margin: 0;
}
.primary-nav .sub-menu a {
    font-size: 1.1rem;
    font-weight: 400;
    padding: 0.6rem 0.5rem;
    border: 0;
    color: var(--ink-mute);
}
.primary-nav .sub-menu a:hover { color: var(--accent-2); padding-left: 1rem; }
.primary-nav li.has-caret.is-open > .sub-menu { display: block; }

.header-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 1.5rem;
    height: 48px;
    background: var(--ink);
    color: var(--bg);
    border-radius: var(--r-full);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all var(--t-fast);
    white-space: nowrap;
}
.header-cta:hover {
    background: var(--accent-2);
    color: var(--bg);
    transform: translateY(-1px);
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    color: var(--ink);
    background: rgba(14, 14, 16, 0.06);
    border: 0;
    transition: all var(--t-fast);
}
.menu-toggle:hover { background: rgba(14, 14, 16, 0.12); }
.menu-icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon-close { display: block; }

@media (min-width: 1024px) {
    .primary-nav {
        position: static;
        inset: auto;
        background: transparent;
        backdrop-filter: none;
        padding: 0;
        transform: none;
        overflow: visible;
        flex: 1;
    }
    .primary-nav .nav-menu {
        flex-direction: row;
        justify-content: center;
        gap: 0.25rem;
        align-items: center;
    }
    .primary-nav .nav-menu li { position: relative; }
    .primary-nav .nav-menu a {
        padding: 0.6rem 1rem;
        font-family: var(--font-body);
        font-size: 0.95rem;
        font-weight: 500;
        border: 0;
        color: var(--ink);
        letter-spacing: 0;
        gap: 0.35rem;
    }
    .primary-nav .nav-menu a:hover { padding-left: 1rem; color: var(--accent-2); }
    .primary-nav .nav-menu li.is-current > a { color: var(--ink-mute); }

    /* Desktop dropdowns */
    .primary-nav .nav-menu li.has-caret { padding-bottom: 0.6rem; margin-bottom: -0.6rem; }
    .primary-nav .sub-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translate(-50%, 8px);
        min-width: 220px;
        margin-top: 0.5rem;
        padding: 0.5rem;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--line);
        border-radius: var(--r-md);
        box-shadow: 0 20px 50px rgba(15, 30, 55, 0.12);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
    }
    /* Invisible hover bridge so cursor can travel from parent to submenu */
    .primary-nav .sub-menu::before {
        content: '';
        position: absolute;
        left: 0; right: 0;
        top: -16px;
        height: 16px;
    }
    .primary-nav .nav-menu li.has-caret:hover > .sub-menu,
    .primary-nav .nav-menu li.has-caret:focus-within > .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
        pointer-events: auto;
    }
    .primary-nav .sub-menu a {
        display: block;
        padding: 0.65rem 0.85rem;
        font-size: 0.9rem;
        color: var(--ink-2);
        border-radius: var(--r-sm);
    }
    .primary-nav .sub-menu a:hover {
        background: rgba(14, 14, 16, 0.05);
        color: var(--accent-2);
        padding-left: 0.85rem;
    }

    .menu-toggle { display: none; }
}

body.menu-open { overflow: hidden; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    padding: calc(var(--header-h) + var(--header-margin-top) + 2.5rem) 0 5rem;
    overflow: hidden;
    background:
        radial-gradient(900px circle at 50% -10%, rgba(14, 165, 233, 0.10), transparent 60%),
        radial-gradient(700px circle at 90% 30%, rgba(37, 99, 235, 0.08), transparent 60%);
}
.hero::after {
    content: '';
    position: absolute;
    right: -120px; top: 12%;
    width: 380px; height: 380px;
    background: url('../images/falcon-logo.png') center / contain no-repeat;
    opacity: 0.10;
    pointer-events: none;
    filter: blur(0.3px);
}
@media (max-width: 900px) { .hero::after { display: none; } }
.hero-inner {
    position: relative;
    text-align: center;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--r-full);
    padding: 0.5rem 1.1rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
}
.hero-badge .star {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    font-size: 0.7rem;
}

.hero-title {
    font-size: clamp(3rem, 11vw, 9.5rem);
    line-height: 0.92;
    letter-spacing: -0.05em;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--ink);
}
.hero-title .serif {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.02em;
}
.hero-title .accent-stroke {
    background: var(--accent);
    padding: 0 0.15em;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: var(--ink-mute);
    max-width: 540px;
    margin: 0 auto 2.5rem;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 4rem;
}

/* Floating stamp / sticker */
.hero-stamp {
    position: absolute;
    width: 130px; height: 130px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
    display: none;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    z-index: 2;
}
.hero-stamp.left { top: 30%; left: 4vw; transform: rotate(-12deg); }
.hero-stamp.right { top: 50%; right: 4vw; transform: rotate(15deg); background: var(--ink); color: var(--accent); }
.stamp-text { position: absolute; inset: 0; }
.stamp-text svg { width: 100%; height: 100%; animation: stampSpin 22s linear infinite; }
.stamp-rotate svg { animation: stampSpin 22s linear infinite; }
.stamp-text textPath, .stamp-text text {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    fill: currentColor;
}
.stamp-center {
    position: relative;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.hero-stamp.right .stamp-center { background: var(--accent); color: var(--ink); }
@keyframes stampSpin { to { transform: rotate(360deg); } }

@media (min-width: 1024px) {
    .hero { padding: calc(var(--header-h) + var(--header-margin-top) + 4rem) 0 7rem; }
    .hero-stamp { display: inline-flex; }
}

/* Hero featured cards (asymmetric below title) */
.hero-cards {
    display: grid;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}
.hero-cards-card {
    border-radius: var(--r-lg);
    aspect-ratio: 4 / 3;
    padding: 1.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--shadow-soft);
    transition: transform var(--t-base);
}
.hero-cards-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.25), transparent 60%);
    pointer-events: none;
}
.hero-card-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 1rem 1rem 3rem;
    box-sizing: border-box;
    pointer-events: none;
}
.hero-cards-card--photo {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-cards-card:hover { transform: translateY(-4px) rotate(-1deg); }
.hero-cards-card .tag-on-color {
    position: relative;
    background: rgba(255,255,255,0.95);
    color: var(--ink);
    padding: 0.4rem 0.9rem;
    border-radius: var(--r-full);
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
@media (min-width: 768px) {
    .hero-cards { grid-template-columns: 1fr 1.4fr 1fr; align-items: center; }
    .hero-cards-card:nth-child(1) { transform: translateY(20px) rotate(-3deg); }
    .hero-cards-card:nth-child(2) { transform: scale(1.05); }
    .hero-cards-card:nth-child(3) { transform: translateY(20px) rotate(3deg); }
    .hero-cards-card:nth-child(1):hover { transform: translateY(10px) rotate(-3deg); }
    .hero-cards-card:nth-child(2):hover { transform: scale(1.08); }
    .hero-cards-card:nth-child(3):hover { transform: translateY(10px) rotate(3deg); }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
    background: var(--ink);
    color: var(--bg);
    padding: 1.4rem 0;
    overflow: hidden;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
}
.marquee.accent { background: var(--accent); color: var(--ink); border-color: var(--ink); }
.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    animation: marqueeScroll 30s linear infinite;
    white-space: nowrap;
    padding-right: 3rem;
}
.marquee-item {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 3rem;
}
.marquee-item .dot-sep {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
}
.marquee.accent .marquee-item .dot-sep { background: var(--ink); }
.marquee-item .star {
    color: var(--accent);
    font-size: 1.5rem;
}
.marquee.accent .marquee-item .star { color: var(--ink); }

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =========================================================
   STATS
   ========================================================= */
.stats { padding: 6rem 0; }
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.stat-item {
    padding: 2.5rem 1.5rem;
    text-align: left;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
    transition: background var(--t-fast);
}
.stat-item:hover { background: var(--bg-alt); }
.stat-item:nth-child(2n) { border-right: 0; }
.stat-item:nth-last-child(-n+2) { border-bottom: 0; }
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--ink);
}
.stat-number .serif { color: var(--accent-2); }
.stat-label { color: var(--ink-mute); font-size: 0.9rem; }
@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .stat-item:nth-child(2n) { border-right: 1px solid var(--line); }
    .stat-item:last-child { border-right: 0; }
    .stat-item { border-bottom: 0; padding: 3rem 2rem; }
}

/* =========================================================
   SERVICES
   ========================================================= */
.services { padding: 6rem 0; background: var(--bg); }
.services-head {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 4rem;
    align-items: end;
}
.services-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}
.service-card {
    background: var(--bg-soft);
    border: var(--card-border);
    border-radius: var(--card-radius);
    padding: 2rem;
    transition: all var(--t-base);
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
    transform: translateY(-4px);
}
.service-card-num {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink-mute);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}
.service-card:hover .service-card-num { color: var(--accent); }
.service-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--t-fast);
}
.service-icon .icon { width: 28px; height: 28px; }
.service-card:hover .service-icon { background: var(--bg); color: var(--ink); transform: rotate(-15deg); }
.service-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    margin-bottom: 0.6rem;
    line-height: 1.05;
}
.service-desc {
    color: var(--ink-mute);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}
.service-card:hover .service-desc { color: rgba(242, 238, 229, 0.7); }
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}
.service-tags .tag { color: inherit; border-color: currentColor; opacity: 0.7; }

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: inherit;
}
.service-link .arrow {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--t-fast);
}
.service-link .arrow svg { width: 14px; height: 14px; }
.service-card:hover .service-link .arrow { background: var(--accent); color: var(--ink); transform: rotate(-45deg); }

@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
    .services-head { grid-template-columns: 1.4fr 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* =========================================================
   ABOUT (split with feature card)
   ========================================================= */
.about { padding: 6rem 0; }
.about-grid { display: grid; gap: 3rem; align-items: center; }
.about-image {
    position: relative;
    aspect-ratio: 5 / 6;
    border-radius: var(--r-xl);
    background:
        linear-gradient(160deg, rgba(15, 30, 55, 0.15) 0%, rgba(15, 30, 55, 0.45) 100%),
        url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=900&q=80') center / cover no-repeat var(--ink);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.about-image::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(14, 165, 233, 0.28), transparent 60%);
}
.play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 88px; height: 88px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: transform var(--t-fast);
    cursor: pointer;
}
.play-btn::after {
    content: '';
    width: 0; height: 0;
    border-style: solid;
    border-width: 12px 0 12px 18px;
    border-color: transparent transparent transparent var(--ink);
    margin-left: 4px;
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.1); }

.about-features {
    display: grid;
    gap: 1.25rem;
    margin: 2rem 0;
}
.about-feat {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    transition: all var(--t-fast);
}
.about-feat:hover { background: var(--ink); color: var(--bg); }
.about-feat .feat-icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.about-feat .feat-icon svg { width: 22px; height: 22px; }
.about-feat h4 { font-size: 1.1rem; margin: 0 0 0.25rem; }
.about-feat p { color: var(--ink-mute); font-size: 0.9rem; margin: 0; }
.about-feat:hover p { color: rgba(242,238,229,0.7); }

@media (min-width: 1024px) {
    .about-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
    .about-features { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   PORTFOLIO
   ========================================================= */
.portfolio { padding: 6rem 0; }
.portfolio-head {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 4rem;
    align-items: end;
}
.portfolio-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}
.portfolio-card {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    color: #fff;
    cursor: pointer;
    transition: transform var(--t-base);
    box-shadow: var(--shadow-soft);
}
.portfolio-card:hover { transform: translateY(-4px); }
.portfolio-bg {
    position: absolute; inset: 0;
    transition: transform var(--t-slow);
}
.portfolio-card:hover .portfolio-bg { transform: scale(1.06); }
.portfolio-bg::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.5) 100%);
}
.portfolio-shape {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.portfolio-shape.circle { border-radius: 50%; }
.portfolio-shape.square { border-radius: var(--r-md); }
.portfolio-shape.blob { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
.portfolio-shape.star {
    background: transparent;
    border: 0;
    backdrop-filter: none;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    background-color: rgba(255, 255, 255, 0.18);
}
.portfolio-meta {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    text-align: right;
}
.portfolio-meta .metric {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
}
.portfolio-meta .metric-label { font-size: 0.75rem; opacity: 0.85; }
.portfolio-content {
    position: absolute;
    bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
    z-index: 2;
}
.portfolio-tag {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    background: var(--bg);
    color: var(--ink);
    border-radius: var(--r-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.portfolio-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 0.5rem;
    color: #fff;
    line-height: 1.05;
}
.portfolio-desc {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin: 0;
}

@media (min-width: 700px) { .portfolio-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .portfolio-head { grid-template-columns: 1.5fr 1fr; } }

/* =========================================================
   PROCESS
   ========================================================= */
.process { padding: 6rem 0; background: var(--bg-alt); }
.process-grid {
    display: grid;
    gap: 1rem;
}
.process-card {
    padding: 2.5rem 2rem;
    background: var(--bg-soft);
    border: var(--card-border);
    border-radius: var(--card-radius);
    transition: all var(--t-base);
    position: relative;
    overflow: hidden;
}
.process-card:hover { background: var(--ink); color: var(--bg); }
.process-num {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 1;
    color: var(--ink);
    -webkit-text-stroke: 1px var(--ink);
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    transition: all var(--t-base);
}
.process-card:hover .process-num {
    -webkit-text-fill-color: var(--accent);
    -webkit-text-stroke-color: var(--accent);
}
.process-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.process-card p { color: var(--ink-mute); font-size: 0.95rem; margin: 0; }
.process-card:hover p { color: rgba(242,238,229,0.7); }
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }

/* =========================================================
   PRICING
   ========================================================= */
.pricing { padding: 6rem 0; }
.pricing-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}
.price-card {
    background: var(--bg-soft);
    border: 1.5px solid var(--ink);
    border-radius: var(--r-lg);
    padding: 2.25rem 2rem;
    position: relative;
    transition: transform var(--t-base);
    display: flex;
    flex-direction: column;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.popular {
    background: var(--ink);
    color: var(--bg);
}
.price-card.popular .price-features li { color: rgba(242,238,229,0.85); }
.price-card.popular .price-desc { color: rgba(242,238,229,0.7); }
.price-card.popular .price-unit { color: rgba(242,238,229,0.7); }
.price-badge {
    position: absolute;
    top: -14px; right: 2rem;
    background: var(--accent);
    color: var(--ink);
    padding: 0.4rem 1rem;
    border-radius: var(--r-full);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1.5px solid var(--ink);
}
.price-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.price-amount {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 0.4rem;
}
.price-amount .price-unit {
    font-size: 0.9rem;
    color: var(--ink-mute);
    font-weight: 400;
    letter-spacing: 0;
    margin-left: 0.4rem;
}
.price-desc {
    color: var(--ink-mute);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
}
.price-card.popular .price-desc { border-bottom-color: rgba(242,238,229,0.15); }
.price-features {
    display: grid;
    gap: 0.75rem;
    flex: 1;
    margin-bottom: 2rem;
}
.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: var(--ink-2);
}
.price-features li svg {
    width: 18px; height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent-2);
}
.price-card.popular .price-features li svg { color: var(--accent); }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================
   TESTIMONIALS — bold editorial single-card
   ========================================================= */
.testimonials { padding: 6rem 0; background: var(--bg-alt); }
.testimonial-wrap { max-width: 900px; margin: 0 auto; text-align: center; }
.testimonial-card {
    background: var(--bg-soft);
    border-radius: var(--card-radius);
    padding: 3rem 2rem;
    border: var(--card-border);
    box-shadow: var(--shadow-soft);
    position: relative;
}
.testimonial-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.5rem, 3.2vw, 2.4rem);
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
}
.testimonial-quote::before { content: '“'; color: var(--accent-2); margin-right: 0.1em; }
.testimonial-quote::after { content: '”'; color: var(--accent-2); margin-left: 0.1em; }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}
.testimonial-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
}
.testimonial-author strong { display: block; font-family: var(--font-display); font-weight: 600; }
.testimonial-author span { color: var(--ink-mute); font-size: 0.85rem; }

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}
.slider-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--ink);
    background: transparent;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-fast);
}
.slider-btn:hover { background: var(--ink); color: var(--accent); }
.slider-dots { display: flex; gap: 0.4rem; align-items: center; padding: 0 0.5rem; }
.slider-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid var(--ink);
    transition: all var(--t-fast);
}
.slider-dot.is-active { background: var(--ink); width: 30px; border-radius: var(--r-full); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 6rem 0; }
.faq-grid,
.faq-inner { display: grid; gap: 3rem; align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
    border: var(--card-border);
    border-radius: var(--card-radius);
    background: var(--bg-soft);
    overflow: hidden;
    transition: all var(--t-fast);
}
.faq-item.is-open { background: var(--ink); color: var(--bg); }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    text-align: left;
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    font-weight: 600;
    color: inherit;
    line-height: 1.3;
}
.faq-toggle {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--t-fast);
}
.faq-toggle .plus, .faq-toggle .minus { width: 18px; height: 18px; }
.faq-toggle .minus { display: none; }
.faq-item.is-open .faq-toggle { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.faq-item.is-open .faq-toggle .plus { display: none; }
.faq-item.is-open .faq-toggle .minus { display: block; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-base);
}
.faq-item.is-open .faq-answer { max-height: 500px; }
.faq-answer p {
    padding: 0 1.75rem 1.75rem;
    color: rgba(242,238,229,0.7);
    margin: 0;
    font-size: 0.95rem;
}
@media (min-width: 1024px) {
    .faq-grid,
    .faq-inner { grid-template-columns: 1fr 1.4fr; gap: 4rem; }
}

/* =========================================================
   CTA closing
   ========================================================= */
.cta-band {
    padding: 5rem 0;
    background:
        linear-gradient(180deg, rgba(15, 30, 55, 0.85) 0%, rgba(15, 30, 55, 0.95) 100%),
        url('../images/falcon-banner.png') center / cover no-repeat var(--ink);
    color: var(--bg);
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px circle at 0% 50%, rgba(14, 165, 233, 0.30), transparent 55%),
        radial-gradient(600px circle at 100% 50%, rgba(37, 99, 235, 0.24), transparent 55%);
    pointer-events: none;
}
.cta-inner {
    position: relative;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.cta-eyebrow {
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.cta-eyebrow::before { content: '✦'; color: var(--accent); margin-right: 0.5rem; }
.cta-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    line-height: 0.95;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    color: var(--bg);
}
.cta-title .serif { color: var(--accent); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background: var(--bg);
    color: var(--ink);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--line);
}
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--accent-2); }

/* Big footer wordmark */
.footer-wordmark {
    font-family: var(--font-display);
    font-size: clamp(4rem, 18vw, 16rem);
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.05em;
    color: var(--ink);
    margin: 0 0 2rem;
    text-align: center;
}
.footer-wordmark .serif { color: var(--accent-2); }

.footer-grid {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--line);
}
.footer-tagline {
    color: var(--ink-mute);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 320px;
}
.social-links { display: flex; gap: 0.5rem; }
.social-links a {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-fast);
}
.social-links a:hover { background: var(--ink); color: var(--accent); border-color: var(--ink); transform: translateY(-4px); }

.widget-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-list { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-list a { font-size: 0.95rem; color: var(--ink-mute); }
.footer-list a:hover { color: var(--ink); padding-left: 0.4rem; }

.footer-contact { display: flex; flex-direction: column; gap: 1rem; }
.footer-contact strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    color: var(--ink-mute);
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}
.copyright { margin: 0; font-size: 0.85rem; color: var(--ink-mute); }
.footer-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.footer-menu a { font-size: 0.85rem; color: var(--ink-mute); }

@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; }
    .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
    position: fixed;
    bottom: 1.5rem; right: 1.5rem;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--t-fast);
    z-index: 80;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px) rotate(-15deg); background: var(--accent); color: var(--ink); }

/* =========================================================
   INNER PAGES
   ========================================================= */
.inner-hero {
    position: relative;
    padding: calc(var(--header-h) + var(--header-margin-top) + 4rem) 0 5rem;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.96) 60%, var(--bg) 100%),
        url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1600&q=80') center / cover no-repeat;
    border-bottom: 0;
    overflow: hidden;
}

/* Decorative background */
.inner-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.inner-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--line) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 1000px 500px at center, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 1000px 500px at center, black 20%, transparent 75%);
    opacity: 0.6;
}
.inner-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
}
.inner-hero-orb-1 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, var(--accent), transparent 70%);
    top: -180px; left: -120px;
    animation: orbFloat 18s ease-in-out infinite;
}
.inner-hero-orb-2 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(110, 91, 250, 0.4), transparent 70%);
    bottom: -120px; right: -80px;
    animation: orbFloat 22s ease-in-out infinite reverse;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Floating sticker stamp */
.inner-hero-stamp {
    position: absolute;
    width: 130px; height: 130px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--accent);
    display: none;
    align-items: center;
    justify-content: center;
    top: 32%;
    right: 6%;
    transform: rotate(12deg);
    z-index: 2;
}
.inner-hero-stamp .stamp-svg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    animation: stampSpin 22s linear infinite;
}
.inner-hero-stamp text, .inner-hero-stamp textPath {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    fill: currentColor;
}
.inner-hero-stamp .stamp-center {
    position: relative;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Decorative dots cluster */
.inner-hero-dots {
    position: absolute;
    width: 50px; height: 60px;
    color: var(--ink);
    opacity: 0.18;
    display: none;
    pointer-events: none;
}
.inner-hero-dots-left {
    top: 28%;
    left: 5%;
    transform: rotate(-12deg);
}

@media (min-width: 1024px) {
    .inner-hero-stamp { display: inline-flex; }
    .inner-hero-dots { display: block; }
}

.inner-hero-inner {
    position: relative;
    z-index: 3;
}

.inner-hero-title {
    font-size: clamp(2.5rem, 7.5vw, 6.5rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.inner-hero-title .serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
}
.inner-hero-title .text-gradient {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 60%, var(--accent-3) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}
.inner-hero-title .accent-stroke {
    background: var(--accent);
    color: var(--ink);
    padding: 0 0.15em;
    display: inline-block;
}
.inner-hero-subtitle {
    color: var(--ink-mute);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.55;
}

/* Stat pills row */
.inner-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--r-full);
    font-size: 0.9rem;
    color: var(--ink-mute);
    transition: all var(--t-fast);
}
.hero-pill:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--bg);
}
.hero-pill .hero-pill-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(200, 255, 62, 0.3);
}
.hero-pill strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    transition: color var(--t-fast);
}
.hero-pill:hover strong { color: var(--accent); }

/* Scroll indicator */
.inner-hero-scroll {
    display: none;
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--ink-mute);
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.inner-hero-scroll .scroll-line {
    display: block;
    width: 1px;
    height: 40px;
    background: var(--ink);
    margin: 0 auto 0.6rem;
    position: relative;
    overflow: hidden;
}
.inner-hero-scroll .scroll-line::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--accent);
    animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
    0% { top: -100%; }
    100% { top: 100%; }
}
@media (min-width: 1024px) {
    .inner-hero-scroll { display: block; }
}

/* Breadcrumb */
.breadcrumb { margin-bottom: 1.5rem; }
.breadcrumb ol {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--ink-mute);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.4rem; }
.breadcrumb li:not(:last-child)::after {
    content: '/';
    color: var(--line-strong);
    margin-left: 0.4rem;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

/* About inner */
.about-mission { padding: 5rem 0; }
.about-inner { display: grid; gap: 3rem; align-items: center; }
.about-content .section-title { text-align: left; }
.about-list { display: grid; gap: 0.75rem; margin: 1.5rem 0 2rem; }
.about-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}
.check-icon { width: 18px; height: 18px; color: var(--accent-2); flex-shrink: 0; }
@media (min-width: 1024px) { .about-inner { grid-template-columns: 1fr 1.2fr; gap: 4rem; } }

/* Values */
.values { padding: 5rem 0; background: var(--bg-alt); }
.values-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}
.value-card {
    background: var(--bg-soft);
    border: 1.5px solid var(--ink);
    border-radius: var(--r-lg);
    padding: 2rem;
    transition: all var(--t-base);
}
.value-card:hover { background: var(--ink); color: var(--bg); }
.value-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.value-icon .icon { width: 22px; height: 22px; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.value-card p { color: var(--ink-mute); font-size: 0.95rem; margin: 0; }
.value-card:hover p { color: rgba(242,238,229,0.7); }
@media (min-width: 600px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

/* Timeline */
.timeline { padding: 5rem 0; }
.timeline-list {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding-left: 2.5rem;
    border-left: 2px dashed var(--line-strong);
}
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
    position: absolute;
    top: 0.25rem; left: -2.85rem;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--ink);
}
.timeline-year {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: var(--accent);
    color: var(--ink);
    border: 1.5px solid var(--ink);
    border-radius: var(--r-full);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.timeline-title { font-size: 1.3rem; margin-bottom: 0.25rem; }
.timeline-desc { color: var(--ink-mute); margin: 0; }

/* Team */
.team { padding: 5rem 0; background: var(--bg-alt); }
.team-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, 1fr);
}
.team-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    text-align: center;
    transition: all var(--t-fast);
}
.team-card:hover { border-color: var(--ink); transform: translateY(-4px); }
.team-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 2px solid var(--ink);
}
.team-name { font-size: 1.1rem; margin-bottom: 0.25rem; }
.team-role { color: var(--ink-mute); font-size: 0.85rem; margin: 0; }
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(6, 1fr); gap: 1rem; } }

/* Offices */
.offices { padding: 5rem 0; }
.offices-grid { display: grid; gap: 1.25rem; }
.office-card {
    background: var(--bg-soft);
    border: var(--card-border);
    border-radius: var(--card-radius);
    padding: 2rem;
    transition: all var(--t-base);
}
.office-card:hover { background: var(--ink); color: var(--bg); transform: translateY(-4px); }
.office-pin {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.office-pin .icon { width: 22px; height: 22px; }
.office-card h3 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.office-country { color: var(--accent-2); font-weight: 600; font-size: 0.85rem; margin-bottom: 0.75rem; }
.office-card:hover .office-country { color: var(--accent); }
.office-address { color: var(--ink-mute); font-size: 0.9rem; margin: 0; }
.office-card:hover .office-address { color: rgba(242,238,229,0.7); }
@media (min-width: 600px) { .offices-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .offices-grid { grid-template-columns: repeat(4, 1fr); } }

/* Service rows (services list page) */
.services-detailed { padding: 5rem 0; }
.service-row {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: none; }
.service-row-visual {
    border-radius: var(--r-xl);
    padding: 2.5rem;
    color: #fff;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}
.service-row-visual::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.25), transparent 60%);
    pointer-events: none;
}
.service-row-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.service-row-icon .icon { width: 32px; height: 32px; }
.service-row-tech { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tech-pill {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 0.4rem 0.85rem;
    border-radius: var(--r-full);
    font-size: 0.8rem;
    font-weight: 600;
}
.service-row-tagline { font-size: 1.15rem; font-weight: 500; margin-bottom: 1rem; }
@media (min-width: 768px) {
    .service-row { grid-template-columns: 1fr 1.2fr; gap: 3rem; padding: 4rem 0; }
    .service-row-reverse .service-row-visual { order: 2; }
    .service-row-reverse .service-row-content { order: 1; }
}

/* Service single intro */
.service-intro { padding: 5rem 0; }
.service-intro-grid { display: grid; gap: 3rem; align-items: start; }
.feature-list { display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    font-weight: 500;
}
.feature-list .check-icon { margin-top: 2px; flex-shrink: 0; }

.service-side-card {
    color: #fff;
    border-radius: var(--r-xl);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 100px;
}
.service-side-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.service-side-icon .icon { width: 28px; height: 28px; }
.service-side-card h3 { color: #fff; margin-bottom: 0.5rem; }
.service-side-card p { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }
.btn-light { background: var(--bg); color: var(--ink); padding-right: 0.5rem; }
.btn-light .btn-icon { background: var(--ink); color: var(--bg); }
.btn-light:hover { background: var(--accent); color: var(--ink); }

@media (min-width: 1024px) {
    .service-intro-grid { grid-template-columns: 1.5fr 1fr; gap: 4rem; }
    .feature-list { grid-template-columns: repeat(2, 1fr); }
}

/* Tech stack */
.tech-stack { padding: 4rem 0; }
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-width: 720px;
    margin: 0 auto;
}
.tech-card {
    background: var(--bg-soft);
    border: var(--card-border);
    border-radius: var(--chip-radius);
    padding: 0.85rem 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--ink);
    transition: all var(--t-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}
.tech-card:hover { background: var(--ink); color: var(--accent); }
.tech-card:hover .tech-chip-logo { filter: brightness(0) invert(1); }
@media (min-width: 600px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .tech-grid { grid-template-columns: repeat(5, 1fr); } }

/* Tech chip (logo + label) — used inside .tech-card and .tech-pill */
.tech-chip-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1;
}
.tech-chip-logo {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    object-fit: contain;
    transition: filter var(--t-fast);
}
.tech-chip-label { font-weight: 600; }
.tech-pill .tech-chip-inner { gap: 0.45rem; }
.tech-pill.tech-chip { display: inline-flex; align-items: center; }

/* CMS & commerce platforms */
.cms-platforms { padding: 5rem 0; }
.cms-platforms .section-head { margin-bottom: 3rem; }

.cms-group { margin-bottom: 2.75rem; }
.cms-group:last-of-type { margin-bottom: 0; }
.cms-group-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 1.25rem;
}
/* Rule that fills the space to the right of the group label */
.cms-group-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.cms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
@media (min-width: 640px)  { .cms-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cms-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.cms-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 1.1rem 1rem 1.15rem;
    background: var(--bg);
    border: var(--card-border);
    border-radius: var(--chip-radius);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.cms-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.cms-card-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 0.15rem;
}
.cms-card-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
/* Fallback badge for brands with no Simple Icons mark */
.cms-card-mono {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1.5px solid currentColor;
    border-radius: var(--r-sm);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
}

.cms-card-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
}
.cms-card-desc {
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--ink-mute);
}

.cms-note {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    color: var(--ink-mute);
    font-size: 0.95rem;
}
.cms-note .service-link { margin-left: 0.5rem; }

@media (prefers-reduced-motion: reduce) {
    .cms-card { transition: none; }
    .cms-card:hover { transform: none; }
}

/* Case study filters */
.case-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}
.filter-pill {
    padding: 0.6rem 1.25rem;
    border-radius: var(--r-full);
    background: transparent;
    border: 1.5px solid var(--ink);
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--t-fast);
}
.filter-pill:hover { background: var(--bg-alt); }
.filter-pill.is-active { background: var(--ink); color: var(--accent); }
.filter-count {
    display: inline-block;
    margin-left: 0.45rem;
    padding: 0.05rem 0.4rem;
    border-radius: var(--r-full);
    background: var(--line);
    font-size: 0.72rem;
    font-weight: 700;
    vertical-align: 1px;
}
.filter-pill.is-active .filter-count { background: rgba(255, 255, 255, 0.18); }

/* ============================================================
   Portfolio — live client work
   ============================================================ */
.pf-section { padding: 5rem 0 6rem; }
.pf-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.5rem;
}
.pf-head .eyebrow { justify-content: center; }
.pf-head .section-subtitle { margin: 0 auto; }
/* The global .section-title clamps up to 5rem, which wrapped this heading into a
   tall narrow stack. Capped here so it stays on one or two lines. */
.pf-head .section-title {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    line-height: 1.05;
    margin-bottom: 0.85rem;
}

.pf-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 640px)  { .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* The border lives on the card, not the link, so the "Read the case study"
   footer sits inside the same visual box instead of floating beneath it. */
.pf-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: var(--card-border);
    border-radius: var(--card-radius);
    background: var(--bg);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.pf-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}
.pf-card.is-hidden { display: none; }

.pf-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
    text-decoration: none;
}

/* Cover: a real site screenshot where we have one, gradient + monogram otherwise */
.pf-cover {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    overflow: hidden;
}
.pf-cover.has-shot { min-height: 0; aspect-ratio: 16 / 10; }
.pf-shot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;   /* keep the header/hero, not the footer */
    display: block;
    transition: transform var(--t-base);
}
.pf-card:hover .pf-shot { transform: scale(1.03); }
/* Darken slightly on hover so the white "Visit site" chip stays readable */
.pf-cover.has-shot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 30, 55, 0.45), rgba(15, 30, 55, 0) 55%);
    opacity: 0;
    transition: opacity var(--t-fast);
}
.pf-card:hover .pf-cover.has-shot::after { opacity: 1; }
.pf-cover.has-shot .pf-go { z-index: 2; }

/* Featured cards: the screenshot fills the left column */
@media (min-width: 640px) {
    .pf-card.is-featured .pf-cover.has-shot { aspect-ratio: auto; }
    .pf-card.is-featured .pf-shot { position: absolute; inset: 0; }
}
.pf-mono {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    /* Semi-transparent white reads clearly on every gradient; soft-light blend
       washed it out to near-invisible on the lighter covers. */
    color: rgba(255, 255, 255, 0.82);
    transition: transform var(--t-base);
}
.pf-card:hover .pf-mono { transform: scale(1.08); }

/* "Visit site" chip slides up on hover, and is always shown on touch */
.pf-go {
    position: absolute;
    left: 50%;
    bottom: 0.9rem;
    transform: translate(-50%, 140%);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transition: transform var(--t-base), opacity var(--t-fast);
}
.pf-card:hover .pf-go,
.pf-link:focus-visible .pf-go {
    transform: translate(-50%, 0);
    opacity: 1;
}

.pf-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    padding: 1.15rem 1.25rem 1.35rem;
}
.pf-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.pf-cat { color: var(--accent-2); }
/* Dot separator between category and region */
.pf-region::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 3px;
    margin-right: 0.5rem;
    border-radius: 50%;
    background: currentColor;
    vertical-align: 3px;
}
.pf-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.pf-summary {
    font-size: 0.87rem;
    line-height: 1.55;
    color: var(--ink-mute);
    flex: 1;
}
.pf-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.35rem;
}
.pf-tag {
    padding: 0.22rem 0.55rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-full);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ink-2);
}

/* Featured cards span the WHOLE row. Spanning only 2 of 3 columns left an empty
   cell whenever the next card was also featured and could not fit beside it. */
@media (min-width: 640px) {
    .pf-card.is-featured { grid-column: 1 / -1; }
    .pf-card.is-featured .pf-link { flex-direction: row; }
    .pf-card.is-featured .pf-cover {
        flex: 0 0 34%;
        min-height: 0;          /* height comes from the body, not the cover */
    }
    .pf-card.is-featured .pf-mono { font-size: 4rem; }
    .pf-card.is-featured .pf-name { font-size: 1.5rem; }
    .pf-card.is-featured .pf-summary { font-size: 0.95rem; max-width: 62ch; }
    .pf-card.is-featured .pf-body {
        justify-content: center;
        padding: 1.75rem 2rem;
    }
}

/* Case-study link: inside the card box, separated by a rule */
.pf-foot {
    padding: 0.85rem 1.25rem;
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
    font-size: 0.85rem;
}
.pf-card.is-featured .pf-foot { padding: 0.85rem 2rem; }

.case-live {
    margin-top: 2.5rem;
    text-align: center;
}

.pf-note {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    text-align: center;
    color: var(--ink-mute);
    font-size: 0.92rem;
}
.pf-note .service-link { margin-left: 0.5rem; }

@media (prefers-reduced-motion: reduce) {
    .pf-link, .pf-mono, .pf-go { transition: none; }
    .pf-link:hover { transform: none; }
    .pf-link:hover .pf-mono { transform: none; }
    .pf-go { opacity: 1; transform: translate(-50%, 0); }
}

/* Cases grid (alias) */
.cases { padding: 5rem 0; }
.cases-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}
.case-card {
    background: var(--bg-soft);
    border: var(--card-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: all var(--t-base);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--ink); }
.case-card.is-hidden { display: none; }
.case-visual {
    aspect-ratio: 16 / 10;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
}
.case-category {
    background: var(--bg);
    color: var(--ink);
    padding: 0.4rem 0.9rem;
    border-radius: var(--r-full);
    font-size: 0.75rem;
    font-weight: 600;
}
.case-body { padding: 1.5rem; }
.case-title { font-size: 1.4rem; margin-bottom: 0.5rem; }
.case-desc { color: var(--ink-mute); font-size: 0.95rem; margin-bottom: 1rem; }
.case-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 0.75rem;
    background: var(--bg-alt);
    border-radius: var(--r-md);
    font-size: 0.85rem;
}
.case-meta strong {
    display: block;
    color: var(--ink-mute);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.link-icon { width: 16px; height: 16px; }
@media (min-width: 700px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cases-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }

/* Single case study */
.case-hero-visual { padding: 0 0 3rem; }
.case-hero-banner {
    aspect-ratio: 21 / 9;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
/* With a real screenshot the banner becomes the site itself, so the category
   chip needs a scrim to stay legible over arbitrary imagery. */
.case-hero-banner.has-shot { padding: 0; align-items: flex-end; }
.case-hero-shot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.case-hero-banner.has-shot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 30, 55, 0.75), rgba(15, 30, 55, 0) 45%);
}
.case-hero-banner.has-shot .case-hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}
@media (max-width: 700px) {
    .case-hero-banner { aspect-ratio: 4 / 3; }
}
.case-meta-bar {
    padding: 2rem 0;
    border-bottom: 1px solid var(--line);
}
.meta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.meta-grid > div { display: flex; flex-direction: column; gap: 0.25rem; }
.meta-grid strong {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-mute);
    font-weight: 600;
}
.meta-grid span { font-weight: 600; color: var(--ink); }
@media (min-width: 768px) { .meta-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

.case-content { padding: 4rem 0; }
.case-content-grid { display: grid; gap: 3rem; }
.case-block .section-title { text-align: left; font-size: clamp(1.5rem, 3vw, 2rem); }
.case-block p { font-size: 1.05rem; color: var(--ink-mute); }
@media (min-width: 900px) { .case-content-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.results { padding: 4rem 0; background: var(--bg-alt); }
.results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.result-card {
    background: var(--bg-soft);
    border: var(--card-border);
    border-radius: var(--card-radius);
    padding: 2rem 1.25rem;
    text-align: center;
    transition: all var(--t-fast);
}
.result-card:hover { background: var(--ink); color: var(--bg); }
.result-metric {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 600;
    color: var(--accent-2);
    margin-bottom: 0.4rem;
    line-height: 1;
}
.result-card:hover .result-metric { color: var(--accent); }
/* Word-based facts ("Multi-sector", "Same week") need a size that fits the card */
.result-metric.is-text {
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    line-height: 1.2;
    font-weight: 700;
    hyphens: auto;
    overflow-wrap: anywhere;
}
.result-label { color: var(--ink-mute); font-size: 0.95rem; }
.result-card:hover .result-label { color: rgba(242,238,229,0.7); }
@media (min-width: 768px) { .results-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

.next-case { padding: 4rem 0; color: #fff; position: relative; overflow: hidden; }
.next-case::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.15); }
.next-case-inner { position: relative; display: grid; gap: 1.5rem; align-items: center; }
.eyebrow-on-color { background: rgba(255,255,255,0.2); color: #fff; padding: 0.4rem 0.9rem; border-radius: var(--r-full); font-size: 0.8rem; }
.eyebrow-on-color::before { content: ''; }
.next-case-title { font-size: clamp(1.5rem, 4vw, 2.25rem); color: #fff; margin-bottom: 0.5rem; }
.next-case-desc { color: rgba(255,255,255,0.9); margin: 0; }
@media (min-width: 768px) { .next-case-inner { grid-template-columns: 1fr auto; gap: 2.5rem; } }

/* Contact form (inner) */
.contact { padding: 5rem 0; }
.contact-inner {
    display: grid;
    gap: 3rem;
    background: var(--bg-soft);
    border: 1.5px solid var(--ink);
    border-radius: var(--r-xl);
    padding: 2rem;
}
.contact-info .section-title { text-align: left; font-size: clamp(1.75rem, 4vw, 2.5rem); }
.contact-list { margin-top: 1.5rem; display: grid; gap: 1rem; }
.contact-list li {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
}
.contact-list strong {
    color: var(--ink-mute);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}
.contact-list a, .contact-list span { color: var(--ink); font-weight: 500; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field span {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
}
.form-field input,
.form-field textarea,
.form-select {
    padding: 0.95rem 1rem;
    border: 1.5px solid var(--ink);
    border-radius: var(--r-md);
    background: var(--bg);
    color: var(--ink);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all var(--t-fast);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field textarea:focus,
.form-select:focus {
    outline: none;
    background: var(--bg-soft);
    box-shadow: 4px 4px 0 var(--ink);
    transform: translate(-2px, -2px);
}
.form-status { margin: 0; padding: 0; font-size: 0.9rem; color: var(--accent-2); min-height: 1.4em; }
.form-status.is-error { color: #ef4444; }
/* Honeypot: moved off-screen rather than display:none, which bots skip. */
.form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230F1E37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
.form-checkbox { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.9rem; color: var(--ink-mute); cursor: pointer; padding: 0.5rem 0; }
.form-checkbox input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ink); cursor: pointer; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact-inner { grid-template-columns: 1fr 1.4fr; padding: 3rem; gap: 4rem; } }

/* Page header (blog/archive) */
.page-header {
    padding: calc(var(--header-h) + var(--header-margin-top) + 4rem) 0 3rem;
    border-bottom: 1px solid var(--line);
}
.page-title { font-size: clamp(2.25rem, 6vw, 4rem); margin: 0; line-height: 1; }
.post-meta { color: var(--ink-mute); font-size: 0.9rem; margin-bottom: 0.5rem; }
.archive { padding: 4rem 0; }
.post-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all var(--t-base);
}
.post-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.post-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 1.5rem; }
.post-title { font-size: 1.3rem; margin-bottom: 0.5rem; }
.post-title a { color: var(--ink); }
.post-title a:hover { color: var(--accent-2); }
.post-excerpt { color: var(--ink-mute); font-size: 0.95rem; margin-bottom: 1rem; }
.single-page, .single-post { padding: 3rem 0 5rem; }
.entry-content { max-width: 720px; margin: 0 auto; font-size: 1.05rem; }
.entry-content h2 { font-size: 1.75rem; margin-top: 2rem; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.5rem; }
.entry-content img { border-radius: var(--r-md); margin: 1.5rem 0; }
.single-thumb { max-width: 720px; margin: 0 auto 2rem; border-radius: var(--r-lg); overflow: hidden; }
.pagination { display: flex; justify-content: center; margin-top: 3rem; }
.pagination .page-numbers {
    padding: 0.5rem 1rem;
    border-radius: var(--r-md);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    color: var(--ink);
    margin: 0 0.25rem;
}
.pagination .current { background: var(--ink); color: var(--accent); border-color: var(--ink); }

/* 404 */
.error-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}
.error-inner { text-align: center; max-width: 600px; margin: 0 auto; }
.error-code {
    font-family: var(--font-display);
    font-size: clamp(8rem, 25vw, 14rem);
    font-weight: 600;
    line-height: 1;
    margin: 1rem 0;
    color: var(--ink);
    -webkit-text-stroke: 2px var(--ink);
    -webkit-text-fill-color: transparent;
}

/* Print */
@media print {
    .site-header, .site-footer, .cta-band, .back-to-top, .menu-toggle, .marquee { display: none !important; }
    body { background: #fff; color: #000; }
    a { color: #000; text-decoration: underline; }
}
