/*
Theme Name: Asado
Theme URI: https://asado-onlinemarketing.nl/
Author: Asado Online Marketing
Author URI: https://asado-onlinemarketing.nl/
Description: Custom theme for Asado Online Marketing. Built around the existing styleguide with Gutenberg blocks for editable content, two post layouts (blog + case-study), Customizer-driven header/footer, and WPForms integration.
Version: 1.6.1
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: asado
Tags: business, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, block-styles, wide-blocks, blog
*/

/* =========================================================
   Asado Online Marketing — Stylesheet
   Component library based on the Asado brand styleguide
   ========================================================= */

/* ---------- 1. CSS Variables ---------- */
:root {
    /* Colors */
    --color-primary: #F7931E;
    --color-primary-dark: #D87A0B;
    --color-primary-soft: #FFF2E1;
    --color-text: #333333;
    --color-muted: #6B6B6B;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-bg: #F7F7F7;
    --color-bg-soft: #E5E5E5;
    --color-white: #FFFFFF;
    --color-dark: #080616;

    /* Typography */
    --font-display: "Plus Jakarta Sans", "Inter", Arial, sans-serif;
    --font-body: "Plus Jakarta Sans", "Inter", Arial, sans-serif;

    /* Font sizes */
    --fs-h1: 48px;
    --fs-h2: 36px;
    --fs-h3: 24px;
    --fs-h4: 18px;
    --fs-body: 16px;
    --fs-small: 14px;
    --fs-label: 12px;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-3xl: 32px;
    --radius-pill: 999px;

    /* Spacing scale (rem-based 4px grid) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(15, 15, 15, 0.04);
    --shadow-sm: 0 2px 6px rgba(15, 15, 15, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 15, 15, 0.06);
    --shadow-lg: 0 20px 48px rgba(15, 15, 15, 0.08);
    --shadow-orange: 0 14px 30px rgba(247, 147, 30, 0.28);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;

    /* Easing curves — decisive deceleration only, no bounce/elastic */
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout */
    --container-max: 1180px;
    --section-py-desktop: 96px;
    --section-py-tablet: 64px;
    --section-py-mobile: 48px;
}

/* ---------- 2. Reset / Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-text);
    margin: 0 0 var(--space-4);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h1, .h1 {
    font-size: var(--fs-h1);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2, .h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    letter-spacing: -0.015em;
}

h3, .h3 {
    font-size: var(--fs-h3);
    font-weight: 600;
    line-height: 1.3;
}

h4, .h4 {
    font-size: var(--fs-h4);
    font-weight: 600;
    line-height: 1.4;
}

p {
    margin: 0 0 var(--space-4);
    color: var(--color-text);
}

.lead {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-muted);
}

.small,
small {
    font-size: var(--fs-small);
    line-height: 1.5;
    color: var(--color-muted);
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: var(--fs-label);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.accent {
    color: var(--color-primary);
}

.text-muted {
    color: var(--color-muted);
}

.text-center {
    text-align: center;
}

/* ---------- 4. Layout: container + grids ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.grid {
    display: grid;
    gap: var(--space-6);
}

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

/* ---------- 5. Sections ---------- */
.section {
    padding: var(--section-py-desktop) 0;
}

.section-white {
    background: var(--color-white);
}

.section-light {
    background: var(--color-bg);
}

.section-soft {
    background: var(--color-bg-soft);
}

.section-rounded {
    border-radius: var(--radius-3xl);
    margin: 0 var(--space-5);
}

.section-header {
    max-width: 720px;
    margin: 0 auto var(--space-8);
    text-align: center;
}

.section-title {
    font-size: var(--fs-h2);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.section-intro {
    font-size: 18px;
    color: var(--color-muted);
    line-height: 1.6;
}

/* ---------- 6. Header / Navigation ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(150%) blur(12px);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: var(--space-6);
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-text);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.01em;
}

.nav-brand .logo-mark {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-pill);
    background: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 800;
    box-shadow: var(--shadow-orange);
}

/* SVG brand asset rendered inside .nav-brand */
.nav-logo,
.site-header .custom-logo {
    height: 34px;
    width: auto;
    max-height: 34px;
    max-width: 180px;
    display: block;
    transition: opacity var(--transition-fast);
}

/* If WordPress core renders the_custom_logo() somewhere, strip its anchor styling. */
.site-header .custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

a.nav-brand:hover .nav-logo { opacity: 0.82; }

.footer-brand .nav-logo {
    height: 36px;
    opacity: 0.94;
}

.footer-brand a.nav-brand:hover .nav-logo { opacity: 1; }

/* Active nav-item state */
.nav-links a[aria-current="page"],
.nav-links a.is-active {
    color: var(--color-primary);
}

.nav-links a[aria-current="page"]::after,
.nav-links a.is-active::after {
    transform: scaleX(1);
}

.nav-brand .brand-sub {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--color-muted);
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.nav-cta-mobile { display: none; }

.nav-links a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 15px;
    padding: var(--space-2) 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    align-items: center;
    justify-content: center;
    color: var(--color-text);
}

.nav-toggle svg { width: 22px; height: 22px; }

/* Hamburger → X (pure CSS, three absolutely-positioned spans) */
.nav-toggle-bars {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 16px;
    pointer-events: none;
}

.nav-toggle-bars span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transform-origin: center;
    transition: transform 280ms var(--ease-out-expo),
                opacity 180ms var(--ease-out-quart);
}

.nav-toggle-bars span:nth-child(1) { top: 0;   transform: translateY(0); }
.nav-toggle-bars span:nth-child(2) { top: 7px; transform: scaleX(1); }
.nav-toggle-bars span:nth-child(3) { top: 14px; transform: translateY(0); }

.nav-toggle.is-open .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    height: 52px;
    padding: 0 var(--space-6);
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    transition: transform var(--transition-fast),
                background var(--transition-fast),
                box-shadow var(--transition-fast),
                color var(--transition-fast);
    white-space: nowrap;
    user-select: none;
}

.btn:focus-visible {
    outline: 3px solid rgba(247, 147, 30, 0.35);
    outline-offset: 2px;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(247, 147, 30, 0.34);
}

.btn-secondary {
    background: var(--color-bg-soft);
    color: var(--color-text);
}

.btn-secondary:hover {
    background: #d8d8d8;
    color: var(--color-text);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-1px);
}

.btn-text {
    height: auto;
    padding: 0;
    background: transparent;
    color: var(--color-primary);
    font-weight: 600;
}

.btn-text::after {
    content: "→";
    margin-left: var(--space-1);
    transition: transform var(--transition-fast);
}

.btn-text:hover {
    color: var(--color-primary-dark);
}

.btn-text:hover::after {
    transform: translateX(4px);
}

.btn-sm {
    height: 40px;
    padding: 0 var(--space-5);
    font-size: 14px;
}

.btn-lg {
    height: 60px;
    padding: 0 var(--space-7);
    font-size: 16px;
}

/* ---------- 8. Icon styling ---------- */
.icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--color-primary-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.icon-box.icon-round {
    border-radius: var(--radius-pill);
}

.icon-box.icon-sm {
    width: 44px;
    height: 44px;
}

.icon-box svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- 9. Cards ---------- */
.card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base),
                box-shadow var(--transition-base),
                border-color var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(247, 147, 30, 0.25);
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    min-height: 280px;
}

.service-card h3 {
    margin: var(--space-2) 0 0;
}

.service-card p {
    color: var(--color-muted);
    margin: 0;
    flex-grow: 1;
}

.service-card .btn-text {
    align-self: flex-start;
    margin-top: var(--space-3);
}

.feature-card {
    display: flex;
    gap: var(--space-5);
    align-items: flex-start;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
}

.feature-card .feature-body h4 {
    margin: 0 0 var(--space-2);
}

.feature-card .feature-body p {
    color: var(--color-muted);
    font-size: 15px;
    margin: 0;
}

.testimonial-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.testimonial-card .quote {
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.testimonial-card .avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #FFD9A8, var(--color-primary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    font-size: 16px;
}

.testimonial-card .author-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.testimonial-card .author-name {
    font-weight: 600;
    color: var(--color-text);
}

.testimonial-card .author-role {
    font-size: 13px;
    color: var(--color-muted);
}

.stars {
    color: var(--color-primary);
    letter-spacing: 2px;
    font-size: 14px;
}

.stat-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
}

.stat-card .stat-value {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.stat-card .stat-label {
    color: var(--color-muted);
    font-size: 15px;
    margin-top: var(--space-2);
}

.cta-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, #FFB45A 100%);
    color: var(--color-white);
    border-radius: var(--radius-3xl);
    padding: var(--space-9) var(--space-7);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-orange);
}

.cta-card::before,
.cta-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.cta-card::before {
    width: 320px;
    height: 320px;
    top: -120px;
    right: -80px;
}

.cta-card::after {
    width: 220px;
    height: 220px;
    bottom: -100px;
    left: -60px;
}

.cta-card > * {
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.cta-card p {
    color: rgba(255, 255, 255, 0.92);
    max-width: 560px;
    margin: 0 auto var(--space-6);
    font-size: 18px;
}

.cta-card .btn-primary {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.cta-card .btn-primary:hover {
    background: var(--color-text);
    color: var(--color-white);
}

.cta-card .btn-outline {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-card .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    border-color: var(--color-white);
}

/* ---------- 10. Hero ---------- */
.hero {
    position: relative;
    padding: var(--space-9) 0 var(--space-9);
    background:
        radial-gradient(900px 500px at 90% -10%, rgba(247, 147, 30, 0.12), transparent 60%),
        radial-gradient(700px 400px at -5% 30%, rgba(247, 147, 30, 0.08), transparent 60%),
        var(--color-white);
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: var(--space-8);
    align-items: center;
}

.hero h1 {
    font-size: var(--fs-h1);
    line-height: 1.1;
}

.hero h1 .accent {
    position: relative;
    color: var(--color-primary);
    white-space: nowrap;
}

.hero h1 .accent::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 8px;
    background: rgba(247, 147, 30, 0.18);
    border-radius: var(--radius-pill);
    z-index: -1;
}

.hero p.lead {
    max-width: 520px;
    margin-bottom: var(--space-6);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    color: var(--color-muted);
    font-size: 14px;
}

.hero-trust .avatars {
    display: flex;
}

.hero-trust .avatars span {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #FFD9A8, var(--color-primary));
    border: 3px solid var(--color-white);
    margin-left: -10px;
}

.hero-trust .avatars span:first-child { margin-left: 0; }
.hero-trust .avatars span:nth-child(2) { background: linear-gradient(135deg, #FFE9C9, #FFB45A); }
.hero-trust .avatars span:nth-child(3) { background: linear-gradient(135deg, #FFCFA0, #E07F12); }

.hero-visual {
    position: relative;
}

.hero-mock {
    background: var(--color-white);
    border-radius: var(--radius-3xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    padding: var(--space-5);
    position: relative;
    z-index: 2;
}

.hero-mock .mock-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: var(--space-4);
}

.hero-mock .mock-toolbar span {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-pill);
    background: var(--color-bg-soft);
}

.hero-mock .mock-toolbar span:first-child { background: var(--color-primary); }

.hero-mock .mock-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.hero-mock .mock-stat {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
}

.hero-mock .mock-stat .stat-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text);
}

.hero-mock .mock-stat .stat-num .accent {
    color: var(--color-primary);
}

.hero-mock .mock-stat .stat-l {
    font-size: 12px;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.hero-mock .mock-chart {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    height: 160px;
    position: relative;
    overflow: hidden;
}

.hero-mock .mock-chart::before {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    top: 40px;
    background:
        linear-gradient(180deg, rgba(247, 147, 30, 0.25), rgba(247, 147, 30, 0)) bottom/100% 100% no-repeat;
    clip-path: polygon(0% 80%, 12% 60%, 25% 70%, 38% 45%, 52% 55%, 64% 30%, 76% 38%, 88% 18%, 100% 25%, 100% 100%, 0% 100%);
}

.hero-mock .mock-chart::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    top: 40px;
    background: transparent;
    border-top: 2px solid var(--color-primary);
    clip-path: polygon(0% 80%, 12% 60%, 25% 70%, 38% 45%, 52% 55%, 64% 30%, 76% 38%, 88% 18%, 100% 25%, 100% 25%, 0% 80%);
}

.hero-mock .mock-chart .chart-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
}

.hero-mock .mock-chart .chart-sub {
    font-size: 11px;
    color: var(--color-muted);
}

.hero-floating {
    position: absolute;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-3) var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    z-index: 3;
}

.hero-floating.float-tl {
    top: -16px;
    left: -28px;
}

.hero-floating.float-br {
    bottom: -20px;
    right: -28px;
}

.hero-floating .icon-box {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
}

.hero-floating .icon-box svg { width: 20px; height: 20px; }

.hero-floating .float-label {
    font-size: 12px;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.hero-floating .float-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--color-primary-soft);
    z-index: 0;
}

.hero-shape.shape-1 {
    width: 360px;
    height: 360px;
    right: -60px;
    top: 40px;
}

/* ---------- 11. Logo strip ---------- */
.logo-strip {
    padding: var(--space-7) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-white);
}

.logo-strip-title {
    text-align: center;
    color: var(--color-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    margin-bottom: var(--space-5);
}

.logo-strip-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-6);
    align-items: center;
    justify-items: center;
}

.client-logo {
    color: var(--color-muted);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.04em;
    opacity: 0.7;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity var(--transition-base), color var(--transition-base);
}

.client-logo:hover {
    opacity: 1;
    color: var(--color-text);
}

.client-logo .dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-pill);
    background: var(--color-primary);
}

/* ---------- 12. Forms ---------- */
.form-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-7);
    box-shadow: var(--shadow-md);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.form-grid .form-group.full { grid-column: 1 / -1; }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: var(--space-4);
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

.form-control {
    width: 100%;
    height: 52px;
    padding: 0 var(--space-4);
    border: 1.5px solid var(--color-border);
    background: var(--color-white);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control::placeholder {
    color: #a3a3a3;
}

.form-control:focus,
.form-control:focus-visible {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(247, 147, 30, 0.15);
}

textarea.form-control {
    height: auto;
    min-height: 140px;
    padding: var(--space-3) var(--space-4);
    resize: vertical;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.form-check {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    cursor: pointer;
    font-size: 14px;
    color: var(--color-text);
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-white);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.form-check input[type="radio"] { border-radius: var(--radius-pill); }

.form-check input:checked {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.form-check input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-check input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 5px;
    width: 8px;
    height: 8px;
    background: var(--color-white);
    border-radius: var(--radius-pill);
}

.form-check input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(247, 147, 30, 0.18);
}

/* ---------- 13. Footer ---------- */
.site-footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-9) 0 var(--space-6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--space-7);
    margin-bottom: var(--space-7);
}

.footer-brand .nav-brand {
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.footer-brand .brand-sub {
    color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.65);
    max-width: 320px;
    font-size: 15px;
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-4);
    font-weight: 700;
}

.footer-col ul li {
    margin-bottom: var(--space-2);
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-3);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .footer-socials {
    display: flex;
    gap: var(--space-3);
}

.footer-bottom .footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.footer-bottom .footer-socials a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.footer-bottom .footer-socials svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- 14. Feature split (two columns) ---------- */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
}

.feature-split .feature-media {
    background: var(--color-bg);
    border-radius: var(--radius-3xl);
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.feature-split .feature-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 25%, rgba(247, 147, 30, 0.35), transparent 55%),
        radial-gradient(circle at 75% 80%, rgba(247, 147, 30, 0.18), transparent 55%);
}

.feature-split .feature-media .media-card {
    position: absolute;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.feature-split .feature-media .media-card.mc-1 {
    top: 14%;
    left: 8%;
    min-width: 220px;
}

.feature-split .feature-media .media-card.mc-2 {
    bottom: 14%;
    right: 8%;
    min-width: 220px;
}

.feature-split .feature-media .media-card .icon-box {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
}

.feature-split .feature-media .media-card .icon-box svg { width: 20px; height: 20px; }

.feature-split .feature-media .media-card .mc-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
}

.feature-split .feature-media .media-card .mc-sub {
    font-size: 12px;
    color: var(--color-muted);
}

.feature-list {
    list-style: none;
    margin: var(--space-5) 0 var(--space-6);
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    color: var(--color-text);
    font-size: 15px;
}

.feature-list li .check {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-pill);
    background: var(--color-primary-soft);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-list li .check svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 15. Contact section ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-8);
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.contact-item .contact-meta { display: flex; flex-direction: column; gap: 2px; }
.contact-item .contact-label { font-size: 12px; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.contact-item .contact-value { font-weight: 600; color: var(--color-text); }

/* ---------- 16. Utility classes ---------- */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }

.mt-sm { margin-top: var(--space-3); }
.mt-md { margin-top: var(--space-5); }
.mt-lg { margin-top: var(--space-7); }
.mb-sm { margin-bottom: var(--space-3); }
.mb-md { margin-bottom: var(--space-5); }
.mb-lg { margin-bottom: var(--space-7); }

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
}

.divider {
    height: 1px;
    background: var(--color-border);
    margin: var(--space-6) 0;
    border: 0;
}

/* ---------- 17. Responsive ---------- */
@media (max-width: 1024px) {
    :root {
        --fs-h1: 42px;
        --fs-h2: 32px;
    }

    .section { padding: var(--section-py-tablet) 0; }

    .hero { padding: var(--space-8) 0; }

    .hero-inner,
    .feature-split,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-7);
    }

    .hero-shape.shape-1 { display: none; }

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

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

    .logo-strip-row { grid-template-columns: repeat(3, 1fr); row-gap: var(--space-5); }

    .hero-floating.float-tl { left: 8px; top: 8px; }
    .hero-floating.float-br { right: 8px; bottom: -16px; }
}

@media (max-width: 768px) {
    :root {
        --fs-h1: 38px;
        --fs-h2: 30px;
        --fs-h3: 22px;
    }

    .section { padding: var(--section-py-mobile) 0; }
    .section-rounded { margin: 0 var(--space-3); border-radius: var(--radius-2xl); }

    /* Drop backdrop-filter on mobile so .nav-links (position:fixed)
       isn't trapped inside a containing block from the header. */
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: var(--color-white);
    }

    /* Full-height off-canvas mobile drawer */
    .nav-toggle { display: inline-flex; position: relative; z-index: 220; }
    .nav-actions .btn { display: none; }
    .nav { height: 64px; }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: fixed;
        top: 64px;                /* below sticky header — keeps logo + X visible */
        right: 0;
        bottom: 0;
        left: 0;                  /* full viewport width */
        background: var(--color-white);
        padding: var(--space-5) var(--space-5) calc(env(safe-area-inset-bottom, 0px) + var(--space-5));
        box-shadow: 0 24px 60px rgba(15, 15, 15, 0.18);
        transform: translateX(100%);
        transition: transform 360ms var(--ease-out-expo);
        z-index: 210;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.is-open { transform: translateX(0); }

    .nav-links li { width: 100%; }

    .nav-links a:not(.btn) {
        display: block;
        padding: var(--space-4) var(--space-3);
        font-size: 18px;
        font-weight: 600;
        color: var(--color-text);
        border-bottom: 1px solid var(--color-border);
    }

    .nav-links a:not(.btn):hover,
    .nav-links a[aria-current="page"],
    .nav-links a.is-active { color: var(--color-primary); }

    /* Disable hover underline on mobile drawer items */
    .nav-links a:not(.btn)::after { display: none; }

    .nav-cta-mobile {
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
        margin-top: auto;
        padding-top: var(--space-5);
    }

    .nav-cta-mobile .btn {
        width: 100%;
        display: flex;
    }

    .nav-links a.btn-primary {
        color: var(--color-white);
    }

    .nav-cta-mobile a:not(.btn) {
        text-align: center;
        border: none;
        padding: var(--space-3);
        font-size: 14px;
        color: var(--color-muted);
        font-weight: 500;
    }

    /* Scroll-lock when drawer is open; no backdrop needed because
       the drawer covers the entire viewport below the header. */
    body.nav-open { overflow: hidden; }

    /* Keep header (with logo + close toggle) permanently visible above the drawer */
    body.nav-open .site-header { z-index: 230; }

    /* Hamburger → X transformation (pure CSS spans, no SVG quirks) */

    .grid-2,
    .grid-3,
    .grid-4 { grid-template-columns: 1fr; }

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

    .hero-ctas .btn { flex: 1 1 auto; width: 100%; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .cta-card { padding: var(--space-7) var(--space-5); }
    .cta-card p { font-size: 16px; }

    .feature-split .feature-media .media-card.mc-1 { left: 6%; min-width: 180px; }
    .feature-split .feature-media .media-card.mc-2 { right: 6%; min-width: 180px; }

    .section-header { margin-bottom: var(--space-6); }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    :root {
        --fs-h1: 32px;
        --fs-h2: 26px;
    }

    .container { padding: 0 var(--space-4); }
    .form-card { padding: var(--space-5); }
    .cta-card { padding: var(--space-6) var(--space-4); }

    .hero-trust { flex-wrap: nowrap; gap: var(--space-3); }
    .hero-trust > div:last-child { min-width: 0; font-size: 13px; }
    .hero-trust .avatars { flex-shrink: 0; }
    .hero-mock .mock-stats { grid-template-columns: 1fr; }

    .logo-strip-row { grid-template-columns: repeat(2, 1fr); }

    .btn-lg { height: 52px; font-size: 15px; padding: 0 var(--space-6); }

    .footer-bottom .footer-socials { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal,
    .hero-entrance > *,
    .contact-hero-inner > * { opacity: 1 !important; transform: none !important; }
}

/* ---------- 18. About page ---------- */
.profile-card {
    position: relative;
    border-radius: var(--radius-3xl);
    overflow: hidden;
    background:
        linear-gradient(140deg, rgba(247, 147, 30, 0.18), rgba(247, 147, 30, 0) 55%),
        var(--color-bg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
}

.profile-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.profile-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 -120px 120px -60px rgba(15, 15, 15, 0.12);
    pointer-events: none;
}

.about-hero .hero-inner { grid-template-columns: 1.1fr 0.95fr; }

.about-hero .hero-floating.float-tl { top: 24px; left: -24px; }
.about-hero .hero-floating.float-br { bottom: 24px; right: -24px; }

.value-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    transition: transform var(--transition-base),
                box-shadow var(--transition-base),
                border-color var(--transition-base);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(247, 147, 30, 0.25);
}

.value-card h3 { margin: 0; font-size: 20px; }
.value-card p  { color: var(--color-muted); margin: 0; }

.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    counter-reset: step;
}

.step-card {
    position: relative;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    transition: transform var(--transition-base),
                box-shadow var(--transition-base),
                border-color var(--transition-base);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(247, 147, 30, 0.25);
}

.step-card .step-num {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-pill);
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.01em;
}

.step-card h3 { margin: 0; font-size: 18px; line-height: 1.3; }
.step-card p  { color: var(--color-muted); margin: 0; font-size: 15px; }

.brand-strip {
    padding: var(--space-7) 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.brand-strip-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
}

.brand-pill {
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.04em;
    transition: background var(--transition-fast),
                color var(--transition-fast),
                border-color var(--transition-fast);
}

.brand-pill:hover {
    background: var(--color-primary-soft);
    border-color: rgba(247, 147, 30, 0.35);
    color: var(--color-primary-dark);
}

.tool-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-4) var(--space-5);
    transition: transform var(--transition-base),
                box-shadow var(--transition-base),
                border-color var(--transition-base);
}

.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(247, 147, 30, 0.25);
}

.tool-card .icon-box { width: 48px; height: 48px; border-radius: var(--radius-md); }
.tool-card .icon-box svg { width: 22px; height: 22px; }
.tool-card .tool-meta { display: flex; flex-direction: column; }
.tool-card .tool-name { font-weight: 700; color: var(--color-text); font-size: 15px; }
.tool-card .tool-sub  { color: var(--color-muted); font-size: 13px; }

@media (max-width: 1024px) {
    .step-grid { grid-template-columns: repeat(2, 1fr); }
    .profile-card { aspect-ratio: 4 / 4; }

    /* Forceer stacking op tablet/mobiel: image-card komt ONDER de tekst,
       niet ernaast.
       Bug: `.about-hero .hero-inner` (specificity 0,2,0) op desktop is
       `1.1fr 0.95fr` (2 kolommen). De algemene mobile override
       `.hero-inner { grid-template-columns: 1fr }` (specificity 0,1,0)
       verliest van de about-hero regel — dus zonder onderstaande override
       blijft de hero op tablet+mobile 2-kolommen en zit de foto NAAST
       de tekst i.p.v. eronder. We matchen de specificity met dezelfde
       `.about-hero .hero-inner` selector binnen de @media. */
    .about-hero .hero-inner { grid-template-columns: 1fr; }
    .about-hero .hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }
    .about-hero .hero-floating.float-tl { left: 8px; top: 8px; }
    .about-hero .hero-floating.float-br { right: 8px; bottom: 8px; }
}

@media (max-width: 768px) {
    .step-grid { grid-template-columns: 1fr; }
    .brand-pill { font-size: 13px; padding: 8px 14px; }

    /* Portretfoto Over-mij blijft op mobiel zichtbaar én netjes gecentreerd
       ONDER de tekst (stacking afgedwongen door 1024px-block hierboven).
       Image heeft width="1600" height="2000" in de markup zodat de browser
       de ratio al kent vóór de afbeelding geladen is — geen layout-shift. */
    .about-hero .hero-visual {
        display: block;
        max-width: 360px;
    }
    .about-hero .profile-card {
        aspect-ratio: 4 / 5;
        max-width: none;
        margin: 0;
    }
    .about-hero .hero-floating.float-tl { left: 4%; top: -16px; }
    .about-hero .hero-floating.float-br { right: 4%; bottom: -16px; }
}

/* ---------- 19. Contact page ---------- */

/* a11y: skip link + visually-hidden helper + active nav */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-dark);
    color: var(--color-white);
    padding: var(--space-3) var(--space-4);
    border-radius: 0 0 var(--radius-md) 0;
    z-index: 200;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
    color: var(--color-white);
}

.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;
}

.nav-links a.is-active,
.nav-links a[aria-current="page"] { color: var(--color-primary); }

.nav-links a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: var(--radius-pill);
    background: var(--color-primary);
}

/* Contact hero (centered, lighter than home hero) */
.contact-hero {
    position: relative;
    padding: var(--space-9) 0 var(--space-8);
    background:
        radial-gradient(900px 500px at 90% -10%, rgba(247, 147, 30, 0.12), transparent 60%),
        radial-gradient(700px 400px at -5% 30%, rgba(247, 147, 30, 0.08), transparent 60%),
        var(--color-white);
    overflow: hidden;
    text-align: center;
}

.contact-hero-inner {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-hero h1 {
    font-size: var(--fs-h1);
    line-height: 1.1;
    margin-bottom: var(--space-5);
}

.contact-hero h1 .accent {
    position: relative;
    color: var(--color-primary);
    white-space: nowrap;
}

.contact-hero h1 .accent::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 8px;
    background: rgba(247, 147, 30, 0.18);
    border-radius: var(--radius-pill);
    z-index: -1;
}

.contact-hero .lead {
    max-width: 620px;
    margin: 0 auto var(--space-6);
}

.contact-hero-meta {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-5);
    padding: var(--space-3) var(--space-5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    font-size: 14px;
    color: var(--color-muted);
}

.contact-hero-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.contact-hero-meta .meta-item strong { color: var(--color-text); }

.meta-dot {
    width: 9px;
    height: 9px;
    border-radius: var(--radius-pill);
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

/* Method cards (phone, email, LinkedIn) */
.method-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    text-align: left;
    color: var(--color-text);
}

.method-card:hover { color: var(--color-text); }
.method-card h3    { margin: var(--space-2) 0 0; }

.method-card p {
    color: var(--color-muted);
    margin: 0;
    flex-grow: 1;
}

.method-card .method-value {
    font-weight: 700;
    color: var(--color-text);
    word-break: break-word;
}

.method-card .btn-text { align-self: flex-start; }

/* "Guus" block under the form */
.contact-card-block {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-top: var(--space-4);
    padding: var(--space-4);
    background: var(--color-primary-soft);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(247, 147, 30, 0.18);
}

.contact-portrait {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-pill);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(247, 147, 30, 0.18);
}

.contact-card-block > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Form states: errors, loading, feedback, honeypot */
.form-error {
    color: #c0392b;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.form-group.has-error .form-control {
    border-color: #c0392b;
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.12);
}

.form-disclaimer {
    margin: var(--space-3) 0 0;
    color: var(--color-muted);
    text-align: center;
}

.form-feedback {
    margin-top: var(--space-4);
    padding: 0;
    border-radius: var(--radius-md);
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text);
}

.form-feedback:empty { display: none; }

.form-feedback.is-loading,
.form-feedback.is-success,
.form-feedback.is-error {
    padding: var(--space-3) var(--space-4);
}

.form-feedback.is-loading { background: var(--color-primary-soft); color: var(--color-primary-dark); }
.form-feedback.is-success { background: #e7f8ec; color: #15803d; }
.form-feedback.is-error   { background: #fdecea; color: #b91c1c; }

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.form-submit { position: relative; }

.form-submit .btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: var(--color-white);
    border-radius: var(--radius-pill);
    animation: spin 0.8s linear infinite;
}

.form-submit.is-loading .btn-label,
.form-submit.is-loading .btn-icon { visibility: hidden; }

.form-submit.is-loading .btn-spinner {
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -9px 0 0 -9px;
}

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

/* Info strip: response time, location, hours */
.info-strip { gap: var(--space-5); }

.info-tile {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xs);
}

.info-tile .info-label {
    display: block;
    font-size: 12px;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.info-tile .info-value {
    display: block;
    font-weight: 700;
    color: var(--color-text);
    font-size: 17px;
    margin: 2px 0 4px;
}

/* FAQ (native <details>) */
.faq-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-8);
    align-items: start;
}

.faq-intro h2     { margin-bottom: var(--space-4); }
.faq-intro .lead  { margin-bottom: 0; }
.faq-intro .lead a{ font-weight: 600; }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 0;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.faq-item[open] {
    border-color: rgba(247, 147, 30, 0.35);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: var(--space-5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    font-weight: 600;
    color: var(--color-text);
    font-size: 16px;
}

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

.faq-item summary:focus-visible {
    outline: 3px solid rgba(247, 147, 30, 0.35);
    outline-offset: -3px;
    border-radius: var(--radius-xl);
}

.faq-item .faq-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-pill);
    background: var(--color-primary-soft);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    transition: transform var(--transition-base), background var(--transition-base);
}

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

.faq-item p {
    padding: 0 var(--space-5) var(--space-5);
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

/* Legacy mobile-nav drawer rule removed — superseded by the full-height
   off-canvas drawer defined inside the main mobile breakpoint above. */

/* Contact-page responsive tweaks */
@media (max-width: 1024px) {
    .faq-grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

@media (max-width: 768px) {
    .contact-hero { padding: var(--space-8) 0 var(--space-7); }
    .contact-hero-meta { flex-direction: column; gap: var(--space-2); align-items: flex-start; border-radius: var(--radius-lg); padding: var(--space-4); text-align: left; }
    .info-tile { flex-direction: column; gap: var(--space-3); }
    .contact-card-block { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ---------- 20. Cases & Blog page ---------- */

/* Page hero (compact variant of .hero) — reuses .contact-hero-style background
   but on its own class so the contact page can evolve independently. */
.page-hero {
    position: relative;
    padding: var(--space-9) 0 var(--space-8);
    background:
        radial-gradient(900px 500px at 50% -10%, rgba(247, 147, 30, 0.14), transparent 60%),
        radial-gradient(600px 320px at 10% 110%, rgba(247, 147, 30, 0.08), transparent 60%),
        var(--color-white);
    overflow: hidden;
    text-align: center;
}

.page-hero-inner {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: var(--fs-h1);
    line-height: 1.1;
    margin-bottom: var(--space-4);
}

.page-hero .lead {
    max-width: 640px;
    margin: 0 auto var(--space-6);
}

.page-hero-stats {
    display: flex;
    gap: var(--space-7);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
}

.page-hero-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }

.page-hero-stat strong {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.page-hero-stat span {
    font-size: 12px;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Split section header (eyebrow+title left, filter or action right) */
.section-header-split {
    text-align: left;
    margin: 0 0 var(--space-7);
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-5);
    flex-wrap: wrap;
}

.section-header-split .eyebrow,
.section-header-split .section-title { margin-bottom: var(--space-2); }
.section-header-split .section-title:last-child { margin-bottom: 0; }

/* Filter chips (toggle pills) */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
}

.chip {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 var(--space-4);
    border-radius: var(--radius-pill);
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.chip:hover { border-color: var(--color-primary); color: var(--color-primary); }

.chip[aria-pressed="true"] {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.chip:focus-visible {
    outline: 3px solid rgba(247, 147, 30, 0.35);
    outline-offset: 2px;
}

.tag-soft {
    background: var(--color-bg);
    color: var(--color-text);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
}

/* Mini "dashboard" mock for inside case media */
.case-mock {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    padding: var(--space-4);
    box-shadow: var(--shadow-md);
}

.case-mock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-3);
}

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

.case-mock-dots span {
    width: 8px; height: 8px;
    border-radius: var(--radius-pill);
    background: var(--color-bg-soft);
}

.case-mock-dots span:first-child { background: var(--color-primary); }

.case-mock-brand {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.case-mock-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.case-mock-metrics .m {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: var(--space-3);
}

.case-mock-metrics .m strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.case-mock-metrics .m span {
    font-size: 10px;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.case-mock-chart {
    height: 86px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.case-mock-chart::before {
    content: "";
    position: absolute;
    inset: 10px;
    background: linear-gradient(180deg, rgba(247, 147, 30, 0.30), rgba(247, 147, 30, 0));
    clip-path: polygon(0 80%, 14% 60%, 28% 70%, 42% 45%, 56% 52%, 70% 28%, 84% 36%, 100% 14%, 100% 100%, 0 100%);
}

.case-mock-chart::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-top: 2px solid var(--color-primary);
    clip-path: polygon(0 80%, 14% 60%, 28% 70%, 42% 45%, 56% 52%, 70% 28%, 84% 36%, 100% 14%, 100% 14%, 0 80%);
}

/* Case card (grid) */
.case-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base),
                box-shadow var(--transition-base),
                border-color var(--transition-base);
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(247, 147, 30, 0.25);
}

.case-card-media {
    background: linear-gradient(135deg, var(--color-primary-soft) 0%, #FFE5C5 100%);
    padding: var(--space-5);
    position: relative;
}

.case-card-media.theme-2 { background: linear-gradient(135deg, #FFE9C9, #FFD9A8); }
.case-card-media.theme-3 { background: linear-gradient(135deg, #FFDFB8, #FFCFA0); }

.case-industry-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: var(--color-white);
    color: var(--color-text);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    z-index: 2;
    box-shadow: var(--shadow-xs);
}

.case-card-body {
    padding: var(--space-5) var(--space-6) var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    flex-grow: 1;
}

.case-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.case-client {
    font-size: 12px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
}

.case-card-body h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
}

.case-card-body p {
    color: var(--color-muted);
    margin: 0;
    font-size: 15px;
    flex-grow: 1;
}

.case-card-body .btn-text {
    align-self: flex-start;
    margin-top: var(--space-2);
}

/* Featured case (horizontal split card) */
.case-featured {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
}

.case-featured-media {
    background: linear-gradient(135deg, #FFF2E1 0%, #FFD9A8 100%);
    padding: var(--space-7);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 380px;
}

.case-featured-media::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(247, 147, 30, 0.18);
    top: -80px;
    left: -80px;
}

.case-featured-media::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    bottom: -60px;
    right: -40px;
}

.case-featured-media .case-mock {
    width: 100%;
    max-width: 380px;
    position: relative;
    z-index: 1;
}

.case-featured-body {
    padding: var(--space-8) var(--space-7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-4);
}

.case-featured-body h2 {
    margin: 0;
    font-size: 32px;
    line-height: 1.15;
}

.case-featured-body p.lead { margin: 0; font-size: 17px; }

.case-featured-metrics {
    display: flex;
    gap: var(--space-6);
    padding: var(--space-4) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin: var(--space-2) 0 var(--space-3);
    flex-wrap: wrap;
}

.case-featured-metrics .metric { display: flex; flex-direction: column; gap: 2px; }

.case-featured-metrics .metric strong {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.case-featured-metrics .metric span {
    font-size: 12px;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.case-featured-cta { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* Pull-quote (used inside case body) */
.pull-quote {
    border-left: 3px solid var(--color-primary);
    padding: var(--space-2) 0 var(--space-2) var(--space-4);
    margin: 0;
    color: var(--color-text);
    font-size: 15px;
    font-style: italic;
    line-height: 1.5;
}

.pull-quote cite {
    display: block;
    margin-top: 6px;
    font-style: normal;
    font-size: 12px;
    color: var(--color-muted);
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* Methodology layout — intro left, 4 numbered step cards right (on light bg) */
.method-band {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: var(--space-7);
    align-items: center;
}

.method-band-intro h3 {
    margin: 0 0 var(--space-3);
    font-size: 24px;
}

.method-band-intro p {
    color: var(--color-muted);
    margin: 0 0 var(--space-4);
    font-size: 15px;
}

.method-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
    list-style: none;
    padding: 0;
    margin: 0;
}

.method-step {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    transition: transform var(--transition-base),
                box-shadow var(--transition-base),
                border-color var(--transition-base);
}

.method-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(247, 147, 30, 0.25);
}

/* Staggered 2-col variant — right column shifted up by 20px for visual rhythm.
   Uses transform (not margin) so surrounding layout is unaffected. */
.method-steps.is-staggered {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.method-steps.is-staggered .method-step:nth-child(even) {
    transform: translateY(-20px);
}

.method-steps.is-staggered .method-step:nth-child(even):hover {
    transform: translateY(-23px); /* combine -20px offset with -3px hover lift */
}

.method-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-pill);
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 800;
    font-size: 13px;
    margin-bottom: var(--space-3);
}

.method-step h4 {
    font-size: 15px;
    margin: 0 0 4px;
}

.method-step p {
    color: var(--color-muted);
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

/* Blog card (grid) */
.blog-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base),
                box-shadow var(--transition-base),
                border-color var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(247, 147, 30, 0.25);
}

.blog-card-media {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--color-primary-soft), #FFE5C5);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-card-media.theme-seo      { background: linear-gradient(135deg, #FFF2E1, #FFD9A8); }
.blog-card-media.theme-sea      { background: linear-gradient(135deg, #FFE9C9, #FFC487); }
.blog-card-media.theme-strategy { background: linear-gradient(135deg, #FFD9A8, #FFB45A); }
.blog-card-media.theme-cro      { background: linear-gradient(135deg, #FFE5C5, #FFCFA0); }
.blog-card-media.theme-data     { background: linear-gradient(135deg, #FFEBCF, #FFC487); }

.blog-card-media::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    top: -50px;
    right: -50px;
}

.blog-card-media .icon-box {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 24px rgba(216, 122, 11, 0.15);
    position: relative;
    z-index: 1;
}

.blog-card-media .icon-box svg { width: 32px; height: 32px; }

.blog-card-body {
    padding: var(--space-5) var(--space-6) var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 13px;
    color: var(--color-muted);
}

.blog-meta .dot {
    width: 3px;
    height: 3px;
    background: var(--color-muted);
    border-radius: 50%;
    display: inline-block;
    opacity: .6;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.blog-card-body h3,
.blog-card-body h4 {
    margin: 0;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
}

.blog-card-body h3 a,
.blog-card-body h4 a { color: var(--color-text); }

.blog-card-body h3 a:hover,
.blog-card-body h4 a:hover { color: var(--color-primary); }

.blog-card-body p {
    color: var(--color-muted);
    margin: 0;
    font-size: 15px;
    flex-grow: 1;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-2);
}

.blog-author .avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #FFD9A8, var(--color-primary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
    overflow: hidden;
}

.blog-author .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-author-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.blog-author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.blog-author-date {
    font-size: 12px;
    color: var(--color-muted);
}

/* Featured blog (horizontal split) */
.blog-featured {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-3xl);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-7);
}

.blog-featured-media {
    background: linear-gradient(135deg, #FFE5C5, var(--color-primary));
    min-height: 340px;
    position: relative;
    overflow: hidden;
}

.blog-featured-media::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    top: -100px;
    right: -100px;
}

.blog-featured-media::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    bottom: -80px;
    left: -40px;
}

.blog-featured-illu {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    z-index: 1;
}

.blog-featured-illu .icon-box {
    width: 104px;
    height: 104px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-2xl);
    color: var(--color-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.blog-featured-illu .icon-box svg { width: 46px; height: 46px; }

.blog-featured-body {
    padding: var(--space-7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-3);
}

.blog-featured-body h3 {
    font-size: 28px;
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
}

.blog-featured-body h3 a { color: var(--color-text); }
.blog-featured-body h3 a:hover { color: var(--color-primary); }

.blog-featured-body p {
    color: var(--color-muted);
    margin: 0;
    font-size: 16px;
}

/* Newsletter card */
.newsletter-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-3xl);
    padding: var(--space-7);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-7);
    align-items: center;
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247, 147, 30, 0.12), transparent 70%);
    top: -100px;
    right: -80px;
    pointer-events: none;
}

.newsletter-card > * { position: relative; z-index: 1; }

.newsletter-card .eyebrow { margin-bottom: var(--space-3); }

.newsletter-card h2 {
    margin-bottom: var(--space-3);
    font-size: 28px;
}

.newsletter-card p { color: var(--color-muted); margin: 0; }

.newsletter-form { display: flex; gap: var(--space-2); }
.newsletter-form .form-control { flex: 1; }
.newsletter-form .btn { flex-shrink: 0; }

.newsletter-note {
    font-size: 12px;
    color: var(--color-muted);
    margin-top: var(--space-3);
}

/* Hide filtered items cleanly */
[data-categories][hidden] { display: none !important; }

/* Cases & Blog responsive overrides */
@media (max-width: 1024px) {
    .case-featured,
    .blog-featured,
    .newsletter-card { grid-template-columns: 1fr; }

    .method-band { grid-template-columns: 1fr; }
    .method-steps { grid-template-columns: repeat(2, 1fr); }

    .section-header-split { align-items: flex-start; flex-direction: column; }

    .case-featured-body { padding: var(--space-6); }
    .blog-featured-body { padding: var(--space-6); }

    .case-featured-body h2 { font-size: 28px; }
    .blog-featured-body h3 { font-size: 24px; }
}

@media (max-width: 768px) {
    .page-hero-stats { gap: var(--space-5); }
    .page-hero-stat strong { font-size: 24px; }

    .case-featured-media { padding: var(--space-5); min-height: 260px; }
    .case-featured-metrics { gap: var(--space-4); }
    .case-featured-metrics .metric strong { font-size: 24px; }

    .method-band { gap: var(--space-5); }
    .method-band-intro h3 { font-size: 20px; }

    .newsletter-card { padding: var(--space-5); }
    .newsletter-card h2 { font-size: 22px; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form .btn { width: 100%; }

    .case-card-body,
    .blog-card-body { padding: var(--space-5); }
}

@media (max-width: 480px) {
    .method-steps { grid-template-columns: 1fr; }
    /* On 1-col mobile, drop the stagger so items don't float between siblings */
    .method-steps.is-staggered .method-step:nth-child(even) { transform: none; }
    .method-steps.is-staggered .method-step:nth-child(even):hover { transform: translateY(-3px); }

    .case-mock-metrics { grid-template-columns: repeat(3, 1fr); }
    .case-mock-metrics .m { padding: var(--space-2); }
    .case-mock-metrics .m strong { font-size: 14px; }
}

/* =========================================================
   MOTION LAYER  (impeccable / animate)
   Purposeful motion: feedback, state, reveal. No decoration.
   Only transform + opacity. Easing: ease-out-quart/quint/expo.
   ========================================================= */

/* ---------- Keyframes ---------- */
@keyframes asado-fade-up {
    from { opacity: 0; transform: translate3d(0, 14px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes asado-fade-up-sm {
    from { opacity: 0; transform: translate3d(0, 8px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes asado-scale-in {
    from { opacity: 0; transform: scale(0.96) translate3d(0, 12px, 0); }
    to   { opacity: 1; transform: scale(1)    translate3d(0, 0,  0); }
}

@keyframes asado-float-card {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50%      { transform: translate3d(0, -6px, 0); }
}

@keyframes asado-accent-underline {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

@keyframes asado-chart-line {
    from { stroke-dashoffset: 480; opacity: 0.4; }
    to   { stroke-dashoffset: 0;   opacity: 1; }
}

@keyframes asado-chart-fill {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes asado-pulse-dot {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%      { transform: scale(1.6); opacity: 0; }
}

/* ---------- Hero page-load choreography ---------- */
/* Brand register: one well-rehearsed entrance. ~600ms each, 90ms stagger. */
.hero-copy > * {
    opacity: 0;
    animation: asado-fade-up 700ms var(--ease-out-expo) both;
}

.hero-copy > .tag       { animation-delay:  80ms; margin-bottom: 12px;}
.hero-copy > h1         { animation-delay: 170ms; animation-duration: 800ms; }
.hero-copy > p.lead     { animation-delay: 320ms; }
.hero-copy > .hero-ctas { animation-delay: 440ms; }
.hero-copy > .hero-trust{ animation-delay: 560ms; }

/* Same choreography for the contact-page hero pattern */
.contact-hero-inner > * {
    opacity: 0;
    animation: asado-fade-up 700ms var(--ease-out-expo) both;
}

.contact-hero-inner > .tag              { animation-delay:  80ms; }
.contact-hero-inner > h1                { animation-delay: 170ms; animation-duration: 800ms; }
.contact-hero-inner > p.lead            { animation-delay: 320ms; }
.contact-hero-inner > .contact-hero-meta{ animation-delay: 460ms; }

/* Same choreography for the cases / page-hero pattern */
.page-hero-inner > * {
    opacity: 0;
    animation: asado-fade-up 700ms var(--ease-out-expo) both;
}

.page-hero-inner > .tag             { animation-delay:  80ms; }
.page-hero-inner > h1               { animation-delay: 170ms; animation-duration: 800ms; }
.page-hero-inner > p.lead           { animation-delay: 320ms; }
.page-hero-inner > .page-hero-stats { animation-delay: 460ms; }

/* Accent underline behind the orange word draws in last */
.hero h1 .accent::after {
    transform-origin: left center;
    animation: asado-accent-underline 700ms var(--ease-out-quart) 900ms both;
}

/* Dashboard mock scales in confidently */
.hero-mock {
    opacity: 0;
    transform-origin: 60% 50%;
    animation: asado-scale-in 900ms var(--ease-out-expo) 280ms both;
}

/* Floating cards drift in after the mock has settled, then gentle hover */
.hero-floating {
    opacity: 0;
    animation:
        asado-fade-up 600ms var(--ease-out-quint) both,
        asado-float-card 6s ease-in-out infinite;
}

.hero-floating.float-tl { animation-delay: 900ms, 1500ms; }
.hero-floating.float-br { animation-delay: 1050ms, 1800ms; }

/* Hero radial decoration: subtle delayed fade-in so the shapes don't pop */
.hero-shape.shape-1 {
    opacity: 0;
    animation: asado-fade-up-sm 1200ms var(--ease-out-quart) 200ms both;
}

/* Mock chart: line draws in after the mock has appeared */
.hero-mock .mock-chart::after {
    /* The clip-path defines the line; we animate its visibility. */
    animation: asado-chart-fill 800ms var(--ease-out-expo) 900ms both;
}

.hero-mock .mock-chart::before {
    animation: asado-chart-fill 1000ms var(--ease-out-quart) 1100ms both;
}

/* Toolbar dot pulses once after entrance to signal "live" */
.hero-mock .mock-toolbar span:first-child {
    position: relative;
}

.hero-mock .mock-toolbar span:first-child::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--color-primary);
    transform: scale(1);
    animation: asado-pulse-dot 2.4s var(--ease-out-quart) 1800ms infinite;
    z-index: -1;
}

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition:
        opacity 700ms var(--ease-out-expo),
        transform 700ms var(--ease-out-expo);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Stagger children within a revealed container */
.reveal-stagger > * {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition:
        opacity 600ms var(--ease-out-quint),
        transform 600ms var(--ease-out-quint);
}

.reveal-stagger.is-visible > *           { opacity: 1; transform: translate3d(0, 0, 0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay:   0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay:  90ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 180ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 270ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 360ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 450ms; }
.reveal-stagger.is-visible > *:nth-child(n+7) { transition-delay: 540ms; }

/* ---------- Button feedback (decisive, not bouncy) ---------- */
.btn {
    transition:
        transform 180ms var(--ease-out-quart),
        background-color 180ms var(--ease-out-quart),
        box-shadow 220ms var(--ease-out-quart),
        color 180ms var(--ease-out-quart),
        border-color 180ms var(--ease-out-quart);
}

.btn:active { transform: translateY(0) scale(0.97); transition-duration: 90ms; }

.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0) scale(0.97); }

/* Arrow on text buttons already shifts; tighten to expo */
.btn-text::after { transition: transform 220ms var(--ease-out-expo); }

/* ---------- Card hover micro-interactions ---------- */
.card,
.service-card,
.testimonial-card,
.stat-card {
    transition:
        transform 320ms var(--ease-out-quint),
        box-shadow 320ms var(--ease-out-quint),
        border-color 320ms var(--ease-out-quint);
}

.service-card .icon-box {
    transition:
        transform 350ms var(--ease-out-expo),
        background-color 350ms var(--ease-out-expo),
        color 350ms var(--ease-out-expo);
}

.service-card:hover .icon-box {
    transform: translateY(-2px) rotate(-4deg);
    background: var(--color-primary);
    color: var(--color-white);
}

/* Testimonial avatars settle on hover */
.testimonial-card .avatar { transition: transform 350ms var(--ease-out-expo); }
.testimonial-card:hover .avatar { transform: scale(1.05) rotate(-3deg); }

/* Stars on testimonial cards: gentle reveal-on-hover wave */
.testimonial-card .stars { transition: letter-spacing 320ms var(--ease-out-quart); }
.testimonial-card:hover .stars { letter-spacing: 3px; }

/* ---------- Form focus ---------- */
.form-control {
    transition:
        border-color 200ms var(--ease-out-quart),
        box-shadow 240ms var(--ease-out-quart),
        background-color 200ms var(--ease-out-quart);
}

.form-check input { transition: background-color 180ms var(--ease-out-quart), border-color 180ms var(--ease-out-quart); }

/* ---------- Nav links: underline grow ---------- */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 280ms var(--ease-out-expo);
    border-radius: var(--radius-pill);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after { transform: scaleX(1); }

/* ---------- Footer socials ---------- */
.footer-bottom .footer-socials a {
    transition:
        background-color 220ms var(--ease-out-quart),
        color 220ms var(--ease-out-quart),
        transform 240ms var(--ease-out-expo);
}

.footer-bottom .footer-socials a:hover { transform: translateY(-3px); }

/* ---------- Client logos: gentle lift on hover ---------- */
.client-logo {
    transition:
        opacity 280ms var(--ease-out-quart),
        color 280ms var(--ease-out-quart),
        transform 280ms var(--ease-out-expo);
}

.client-logo:hover { transform: translateY(-2px); }

/* ---------- CTA card: subtle parallax-style shapes on hover ---------- */
.cta-card::before,
.cta-card::after {
    transition: transform 1200ms var(--ease-out-expo);
}

.cta-card:hover::before { transform: translate3d(-12px, 12px, 0); }
.cta-card:hover::after  { transform: translate3d(12px, -12px, 0); }

/* ---------- Stat-value count-up handled by JS, but soften initial reveal ---------- */
.stat-card .stat-value { transition: color 240ms var(--ease-out-quart); }

/* ---------- Honor reduced motion explicitly on JS-driven effects ---------- */
@media (prefers-reduced-motion: reduce) {
    .hero-copy > *,
    .contact-hero-inner > *,
    .hero-mock,
    .hero-floating,
    .hero-shape.shape-1,
    .hero-mock .mock-chart::before,
    .hero-mock .mock-chart::after,
    .hero-mock .mock-toolbar span:first-child::after,
    .hero h1 .accent::after { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   21. Blog post + Case study detail templates
   ========================================================= */

/* Breadcrumb */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    font-size: 13px;
    color: var(--color-muted);
    margin-bottom: var(--space-4);
    list-style: none;
    padding: 0;
}

.breadcrumb li { display: inline-flex; align-items: center; gap: var(--space-2); }

.breadcrumb a {
    color: var(--color-muted);
    font-weight: 500;
}

.breadcrumb a:hover { color: var(--color-primary); }

.breadcrumb li[aria-current="page"] { color: var(--color-text); font-weight: 600; }

.breadcrumb-sep {
    color: var(--color-muted);
    opacity: 0.5;
}

/* Article hero (shared by blog-post + case-study) */
.article-hero {
    position: relative;
    padding: var(--space-8) 0 var(--space-7);
    background:
        radial-gradient(900px 500px at 80% -10%, rgba(247, 147, 30, 0.12), transparent 60%),
        radial-gradient(700px 400px at -5% 30%, rgba(247, 147, 30, 0.06), transparent 60%),
        var(--color-white);
    overflow: hidden;
}

.article-hero-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.article-hero .breadcrumb { justify-content: center; }

.article-hero h1 {
    font-size: 42px;
    line-height: 1.15;
    margin: var(--space-3) 0 var(--space-4);
    letter-spacing: -0.02em;
}

.article-hero .dek {
    font-size: 19px;
    color: var(--color-muted);
    line-height: 1.55;
    margin: 0 auto var(--space-6);
    max-width: 680px;
}

.article-hero-meta {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    color: var(--color-muted);
    font-size: 14px;
}

.article-hero-meta .author {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.article-hero-meta .author .avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-pill);
    overflow: hidden;
    display: inline-flex;
}

.article-hero-meta .author .avatar img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

.article-hero-meta .author strong { color: var(--color-text); font-weight: 600; }

.article-hero-meta .meta-dot {
    width: 3px; height: 3px;
    background: currentColor;
    border-radius: 50%;
    opacity: 0.5;
}

/* Featured visual (gradient block under hero, optional) */
.article-feature {
    aspect-ratio: 21 / 9;
    max-height: 440px;
    border-radius: var(--radius-3xl);
    overflow: hidden;
    background: linear-gradient(135deg, #FFE5C5, var(--color-primary));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.article-feature::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    top: -110px;
    right: -110px;
}

.article-feature::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    bottom: -90px;
    left: -40px;
}

.article-feature .icon-box {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-2xl);
    color: var(--color-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.article-feature .icon-box svg { width: 56px; height: 56px; }

/* Share buttons row */
.share-buttons {
    display: inline-flex;
    gap: var(--space-2);
    align-items: center;
}

.share-buttons .share-label {
    font-size: 12px;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    margin-right: var(--space-2);
}

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.share-btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.share-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-1px);
}

/* Two-column article layout: sidebar + content */
.article-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--space-8);
    align-items: start;
}

.article-aside {
    position: sticky;
    top: 100px;
    align-self: start;
}

.article-toc-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-3);
}

.article-toc {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 1px solid var(--color-border);
}

.article-toc li { margin: 0; }

.article-toc a {
    display: block;
    padding: 8px 14px;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.4;
    border-left: 2px solid transparent;
    margin-left: -1px;
    transition: all var(--transition-fast);
}

.article-toc a:hover { color: var(--color-text); }

.article-toc a.is-active {
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    font-weight: 600;
}

/* Article content typography */
.article-content {
    max-width: 720px;
    font-size: 17px;
    line-height: 1.75;
    color: var(--color-text);
}

.article-content > * + * { margin-top: var(--space-4); }

.article-content p {
    margin: 0;
    color: var(--color-text);
}

.article-content .lead {
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-text);
    font-weight: 500;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: var(--space-7) 0 var(--space-4);
    line-height: 1.25;
    letter-spacing: -0.015em;
    scroll-margin-top: var(--space-7);
}

.article-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin: var(--space-6) 0 var(--space-3);
    line-height: 1.3;
    scroll-margin-top: var(--space-7);
}

.article-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin: var(--space-5) 0 var(--space-3);
}

.article-content a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(247, 147, 30, 0.4);
}

.article-content a:hover {
    color: var(--color-primary-dark);
    text-decoration-color: var(--color-primary-dark);
}

.article-content ul,
.article-content ol {
    padding-left: var(--space-5);
    margin: 0;
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-content li { margin-bottom: var(--space-2); }
.article-content li::marker { color: var(--color-primary); }

/* Re-suppress numbering when .method-steps is nested inside an article body */
.article-content .method-steps {
    list-style: none;
    padding: 0;
}

.article-content .method-steps li { margin-bottom: 0; }
.article-content .method-steps li::marker { content: none; }

.article-content blockquote {
    margin: var(--space-5) 0;
    padding: var(--space-4) var(--space-5);
    border-left: 4px solid var(--color-primary);
    background: var(--color-primary-soft);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 19px;
    line-height: 1.55;
    color: var(--color-text);
    font-style: italic;
}

.article-content blockquote p { margin: 0; }

.article-content blockquote cite {
    display: block;
    margin-top: var(--space-2);
    font-style: normal;
    font-size: 13px;
    color: var(--color-muted);
    font-weight: 600;
}

.article-content code {
    background: var(--color-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: 14px;
    color: var(--color-primary-dark);
}

.article-content figure {
    margin: var(--space-6) 0;
}

.article-content figure img {
    width: 100%;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.article-content figcaption {
    margin-top: var(--space-3);
    font-size: 13px;
    color: var(--color-muted);
    text-align: center;
    font-style: italic;
}

.article-content hr {
    border: 0;
    height: 1px;
    background: var(--color-border);
    margin: var(--space-7) 0;
}

/* Callouts (tip / insight / warning) */
.callout {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--color-primary-soft);
    border: 1px solid rgba(247, 147, 30, 0.25);
    border-radius: var(--radius-xl);
    margin: var(--space-6) 0;
}

.callout-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--color-primary);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.callout-icon svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.callout-body { flex: 1; }

.callout-body strong {
    display: block;
    color: var(--color-text);
    margin-bottom: 4px;
    font-size: 15px;
}

.callout-body p {
    margin: 0;
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.6;
}

.callout.is-warning {
    background: #FFF8E6;
    border-color: rgba(217, 119, 6, 0.25);
}

.callout.is-warning .callout-icon { background: #D97706; }

.callout.is-insight {
    background: #F0F9FF;
    border-color: rgba(14, 165, 233, 0.25);
}

.callout.is-insight .callout-icon { background: #0EA5E9; }

/* Article tags (under content) */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-7);
    padding-top: var(--space-5);
    border-top: 1px solid var(--color-border);
}

.article-tags .tag {
    background: var(--color-bg);
    color: var(--color-text);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.article-tags a.tag:hover {
    background: var(--color-primary-soft);
    color: var(--color-primary);
}

/* Article footer share row */
.article-footer-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
    padding: var(--space-5) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-top: var(--space-7);
}

/* Author bio block (at end of article) */
.asado-author-bio-wrap {
    margin-top: var(--space-6);
    margin-bottom: var(--space-7);
}

.author-bio {
    display: flex;
    gap: var(--space-5);
    padding: var(--space-6);
    background: var(--color-bg);
    border-radius: var(--radius-2xl);
    margin-top: var(--space-7);
    align-items: flex-start;
}

.author-bio .author-portrait {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-pill);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.author-bio .author-portrait img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

.author-bio-body {
    flex: 1;
}

.author-bio-body .author-tag {
    font-size: 12px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.author-bio-body h4 {
    margin: 4px 0 var(--space-2);
    font-size: 20px;
}

.author-bio-body p {
    color: var(--color-muted);
    margin: 0 0 var(--space-3);
    font-size: 15px;
    line-height: 1.6;
}

.author-bio-cta {
    display: inline-flex;
    gap: var(--space-3);
    align-items: center;
    flex-wrap: wrap;
}

/* ---------- Case study specifics ---------- */

/* Hero with quick metrics bar */
.case-hero {
    background:
        radial-gradient(900px 500px at 90% -10%, rgba(247, 147, 30, 0.14), transparent 60%),
        radial-gradient(700px 400px at -5% 30%, rgba(247, 147, 30, 0.08), transparent 60%),
        var(--color-white);
    padding: var(--space-8) 0 0;
    position: relative;
    overflow: hidden;
}

.case-hero-inner {
    text-align: left;
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.case-hero .case-client {
    font-size: 13px;
    margin-bottom: var(--space-3);
    display: block;
}

.case-hero h1 {
    font-size: 44px;
    line-height: 1.1;
    margin: 0 0 var(--space-4);
    letter-spacing: -0.02em;
}

.case-hero .dek {
    font-size: 19px;
    color: var(--color-muted);
    line-height: 1.55;
    margin: 0 0 var(--space-6);
    max-width: 680px;
}

.case-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--space-6);
}

.case-results-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    margin-top: var(--space-6);
    position: relative;
    z-index: 1;
}

.case-result {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: var(--space-4);
    border-right: 1px solid var(--color-border);
}

.case-result:last-child { border-right: 0; padding-right: 0; }

.case-result strong {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}

.case-result span {
    font-size: 13px;
    color: var(--color-muted);
    font-weight: 500;
}

/* Two-column layout for case body: sidebar + narrative */
.case-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-8);
    align-items: start;
}

.case-aside {
    position: sticky;
    top: 100px;
    align-self: start;
}

.case-info-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-5);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-4);
}

.case-info-card h4 {
    font-size: 12px;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    margin: 0 0 var(--space-4);
}

.case-fact {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-border);
}

.case-fact:last-child { border-bottom: 0; padding-bottom: 0; }
.case-fact:first-of-type { padding-top: 0; }

.case-fact-label {
    font-size: 11px;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.case-fact-value {
    font-weight: 600;
    color: var(--color-text);
    font-size: 14px;
}

.case-fact-value ul {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.case-fact-value ul li {
    background: var(--color-bg);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    color: var(--color-text);
    font-weight: 600;
}

/* Aside testimonial card (smaller variant) */
.case-aside-quote {
    background: var(--color-primary-soft);
    border-radius: var(--radius-2xl);
    padding: var(--space-5);
    border: 1px solid rgba(247, 147, 30, 0.18);
}

.case-aside-quote p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--color-text);
    margin: 0 0 var(--space-3);
    font-style: italic;
}

.case-aside-quote cite {
    font-style: normal;
    font-size: 12px;
    color: var(--color-muted);
    font-weight: 600;
    line-height: 1.4;
    display: block;
}

/* Case narrative — reuses .article-content typography but with section labels */
.case-narrative section {
    margin-bottom: var(--space-7);
}

.case-narrative section:last-child { margin-bottom: 0; }

.case-narrative .section-label {
    display: inline-block;
    padding: 4px 10px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-3);
}

/* Full-width quote block (used in case body, separator) */
.case-quote-block {
    background: var(--color-dark);
    color: var(--color-white);
    border-radius: var(--radius-3xl);
    padding: var(--space-7);
    position: relative;
    overflow: hidden;
}

.case-quote-block::before {
    content: "“";
    position: absolute;
    top: -40px;
    left: 20px;
    font-size: 280px;
    line-height: 1;
    color: var(--color-primary);
    opacity: 0.25;
    font-family: Georgia, serif;
    pointer-events: none;
}

.case-quote-block blockquote {
    font-size: 22px;
    line-height: 1.55;
    color: var(--color-white);
    font-weight: 500;
    margin: 0 0 var(--space-5);
    position: relative;
    max-width: 720px;
}

.case-quote-block .case-quote-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.case-quote-block .case-quote-author .avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #FFD9A8, var(--color-primary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}

.case-quote-block .case-quote-meta { display: flex; flex-direction: column; line-height: 1.3; }
.case-quote-block .case-quote-name { font-weight: 700; color: var(--color-white); font-size: 16px; }
.case-quote-block .case-quote-role { color: rgba(255,255,255,0.65); font-size: 13px; }

/* Result spotlight: 3 large stat cards with context */
.result-spotlight {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin: var(--space-6) 0 var(--space-7);
}

.result-tile {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.result-tile strong {
    display: block;
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: var(--space-3);
}

.result-tile h4 { margin: 0 0 var(--space-2); font-size: 17px; }
.result-tile p { color: var(--color-muted); font-size: 14px; margin: 0; line-height: 1.55; }

/* Responsive — blog post + case study */
@media (max-width: 1024px) {
    .article-layout,
    .case-layout {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .article-aside,
    .case-aside {
        position: static;
        top: auto;
    }

    .article-toc { display: none; }

    .case-results-bar { grid-template-columns: repeat(2, 1fr); }
    .case-result { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--color-border); padding-bottom: var(--space-3); }
    .case-result:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 0; }

    .article-hero h1 { font-size: 36px; }
    .case-hero h1 { font-size: 36px; }

    .result-spotlight { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .article-hero h1 { font-size: 30px; }
    .case-hero h1 { font-size: 30px; }
    .article-hero .dek,
    .case-hero .dek { font-size: 17px; }
    .article-content { font-size: 16px; }
    .article-content h2 { font-size: 24px; }
    .article-content h3 { font-size: 20px; }
    .article-content blockquote { font-size: 17px; padding: var(--space-4); }

    .case-results-bar { padding: var(--space-4); gap: var(--space-3); }
    .case-result strong { font-size: 28px; }

    .case-quote-block { padding: var(--space-5); }
    .case-quote-block blockquote { font-size: 18px; }
    .case-quote-block::before { font-size: 200px; top: -30px; }

    .author-bio { flex-direction: column; }
    .author-bio .author-portrait { width: 64px; height: 64px; }

    .article-footer-share { flex-direction: column; align-items: flex-start; }
}
