/* ==========================================================================
   Webwoven — Design System
   Clean · Minimal · Conversion-focused
   ========================================================================== */

:root {
    --bg: #FFFFFF;
    --bg-elevated: #FFFFFF;
    --bg-muted: #F7F7F6;
    --bg-dark: #0A0A0A;
    --text: #0A0A0A;
    --text-muted: #5C5C5C;
    --text-subtle: #8A8A8A;
    --border: #E8E8E6;
    --border-strong: #D4D4D2;

    --accent: #0D9488;
    --accent-hover: #0B7A72;
    --accent-soft: rgba(13, 148, 136, 0.1);
    --accent-glow: rgba(13, 148, 136, 0.22);

    --color-teal: #0D9488;
    --color-blue: #2563EB;
    --color-orange: #EA580C;

    --pastel-teal: #E4F6F3;
    --pastel-blue: #E7F3FB;
    --pastel-orange: #FFF1E6;
    --pastel-offwhite: #F7F7F5;

    --cta: #0A0A0A;
    --cta-hover: #2A2A2A;
    --success: #0D9488;

    --gradient-brand: none;
    --gradient-soft: none;

    --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
    --font-body: 'Figtree', system-ui, sans-serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 999px;

    --shadow-xs: 0 1px 2px rgba(10, 10, 10, 0.04);
    --shadow-sm: 0 6px 20px rgba(10, 10, 10, 0.05);
    --shadow-md: 0 16px 40px rgba(10, 10, 10, 0.07);
    --shadow-lg: 0 28px 64px rgba(10, 10, 10, 0.09);

    --container: 1140px;
    --gutter: 1.5rem;
    --header-h: 84px;
    --section-y: clamp(5rem, 10vw, 8rem);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --transition: 0.28s var(--ease);

    /* Legacy aliases */
    --brand-primary: var(--accent);
    --brand-primary-light: #22A0B8;
    --brand-accent: var(--accent);
    --brand-action: var(--cta);
    --brand-secondary: var(--accent-hover);
    --surface-color: var(--bg-elevated);
    --surface-secondary: var(--bg-muted);
    --bg-color: var(--bg);
    --text-primary: var(--text);
    --text-secondary: var(--text-muted);
    --border-color: var(--border);
    --gradient-primary: linear-gradient(135deg, #0E7490, #0A0A0A);
    --gradient-accent: linear-gradient(135deg, #0A0A0A, #2A2A2A);
    --header-bg: rgba(255, 255, 255, 0.92);
    --header-border: rgba(10, 10, 10, 0.06);
    --header-backdrop: rgba(255, 255, 255, 0.98);
    --container-width: var(--container);
    --container-padding: var(--gutter);
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.45s var(--ease);
    --font-family: var(--font-body);
}

body[data-theme="dark"] {
    --bg: #0B0D10;
    --bg-elevated: #15181D;
    --bg-muted: #111418;
    --text: #F4F6F8;
    --text-muted: #A8B0BA;
    --text-subtle: #7A8490;
    --border: #2A3038;
    --border-strong: #3D4652;
    --accent: #2DD4BF;
    --accent-hover: #5EEAD4;
    --accent-soft: rgba(45, 212, 191, 0.14);
    --accent-glow: rgba(45, 212, 191, 0.25);
    --color-teal: #2DD4BF;
    --color-blue: #60A5FA;
    --color-orange: #FB923C;
    --pastel-teal: #0F2422;
    --pastel-blue: #101820;
    --pastel-orange: #23180F;
    --pastel-offwhite: #111418;
    --cta: #F4F6F8;
    --cta-hover: #FFFFFF;
    --success: #2DD4BF;
    --header-bg: rgba(10, 10, 10, 0.92);
    --header-border: rgba(255, 255, 255, 0.08);
    --header-backdrop: rgba(10, 10, 10, 0.98);
    --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 28px 64px rgba(0, 0, 0, 0.55);
    color-scheme: dark;
}

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

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--text); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container {
    width: min(var(--container), 100% - var(--gutter) * 2);
    margin-inline: auto;
}

.section { padding-block: var(--section-y); }
.section--muted { background: var(--bg-muted); }
.section--pastel-teal { background: var(--pastel-teal); }
.section--pastel-blue { background: var(--pastel-blue); }
.section--pastel-orange { background: var(--pastel-orange); }
.section--offwhite { background: var(--pastel-offwhite); }
.section--border {
    border-block: 1px solid var(--border);
}

/* Typography */
.display-xl {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.02;
    font-size: clamp(2.75rem, 6.5vw, 4.75rem);
}

.display-lg {
    font-family: var(--font-display);
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1.08;
    font-size: clamp(2rem, 4vw, 3rem);
}

.display-md {
    font-family: var(--font-display);
    font-weight: 650;
    letter-spacing: -0.025em;
    line-height: 1.15;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.lead {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 42ch;
    font-weight: 450;
}

.text-accent { color: var(--accent); }
.text-teal { color: var(--color-teal); }
.text-blue { color: var(--color-blue); }
.text-orange { color: var(--color-orange); }
.text-gradient { color: var(--color-teal); }

.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-subtle);
    margin-bottom: 1.15rem;
}

.section-head {
    max-width: 560px;
    margin-bottom: clamp(2.75rem, 5vw, 4rem);
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head--center .lead { margin-inline: auto; }

.section-head .display-lg { margin-bottom: 0.85rem; }

/* Buttons — sharp, not pill-heavy */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 650;
    font-size: 0.95rem;
    padding: 0.9rem 1.55rem;
    border-radius: var(--radius-md);
    border: 1.5px solid transparent;
    white-space: nowrap;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary, .btn-action {
    background: var(--cta);
    color: var(--bg);
}

.btn-primary:hover, .btn-action:hover {
    background: var(--cta-hover);
}

.btn-cta {
    background: var(--accent);
    color: #fff;
}

.btn-cta:hover { background: var(--accent-hover); }

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text);
    border-color: var(--border-strong);
}

.btn-secondary:hover {
    border-color: var(--text);
}

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

.btn-outline:hover {
    border-color: var(--text);
    background: var(--bg-muted);
}

.btn-ghost-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-white {
    background: #fff;
    color: #0A0A0A;
}

.btn-white:hover { box-shadow: var(--shadow-md); }

body[data-theme="dark"] .btn-white {
    background: #fff;
    color: #0A0A0A;
}

body[data-theme="dark"] .btn-primary,
body[data-theme="dark"] .btn-action {
    color: #0B0D10;
}

.btn-sm { padding: 0.6rem 1.05rem; font-size: 0.875rem; }
.btn-lg { padding: 1.05rem 1.85rem; font-size: 1rem; }

/* Reveal motion */
.reveal, [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.is-visible, [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: padding var(--transition-smooth), background var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
    padding-block: 0.55rem;
    overflow: visible;
}

.header.scrolled {
    padding-block: 0.4rem;
    background: var(--header-backdrop);
    border-bottom-color: var(--header-border);
    box-shadow: var(--shadow-xs);
}

.header .container.nav-container,
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
    min-height: var(--header-h);
    width: min(var(--container), calc(100% - 3rem));
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 0;
    box-sizing: border-box;
}

.logo {
    display: block;
    width: 190px;
    max-width: 190px;
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
}

.logo svg { width: 100%; height: auto; display: block; }

.nav-desktop-menu {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    overflow: visible;
}

.nav-links-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0 0 0.35rem;
}

@media (min-width: 1320px) {
    .nav-links-list { gap: 2.25rem; }
    .logo { width: 200px; max-width: 200px; }
    .header .container.nav-container,
    .nav-container { gap: 2.25rem; }
}

.nav-link {
    font-weight: 550;
    font-size: 0.94rem;
    color: var(--text);
    transition: color var(--transition-fast);
    position: relative;
    white-space: nowrap;
    display: inline-block;
    padding-bottom: 0.4rem;
}

.nav-link:hover { color: var(--color-teal); }

.nav-item.active .nav-link,
.nav-link.is-active { color: var(--text); }

.nav-item.active .nav-link::after,
.nav-link.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #EA580C;
    border-radius: 2px;
    pointer-events: none;
}

body[data-theme="dark"] .nav-item.active .nav-link::after,
body[data-theme="dark"] .nav-link.is-active::after {
    background: #FB923C;
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
}

.nav-actions .btn-sm {
    padding: 0.62rem 1.1rem;
    font-size: 0.875rem;
    border-radius: 10px;
}

.nav-actions .btn-secondary {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--text);
}

.nav-actions .btn-secondary:hover {
    border-color: var(--text);
    background: transparent;
}

.nav-actions .btn-primary {
    background: var(--cta);
    color: var(--bg);
    border-color: transparent;
}

.nav-actions .btn-primary:hover {
    background: var(--cta-hover);
}

.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1.5px solid var(--color-teal);
    background: transparent;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.theme-toggle-btn:hover {
    background: var(--accent-soft);
    color: var(--color-teal);
}

.theme-toggle-btn svg { width: 16px; height: 16px; }
.theme-toggle-btn .sun-icon { display: none; }
body[data-theme="dark"] .theme-toggle-btn .sun-icon { display: block; }
body[data-theme="dark"] .theme-toggle-btn .moon-icon { display: none; }

body[data-theme="dark"] .header {
    background: rgba(10, 10, 10, 0.92);
}

body[data-theme="dark"] .header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

body[data-theme="dark"] .nav-link {
    color: #FFFFFF;
}

body[data-theme="dark"] .nav-link:hover {
    color: var(--color-teal);
}

body[data-theme="dark"] .nav-actions .btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
    color: #FFFFFF;
}

body[data-theme="dark"] .nav-actions .btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.55);
}

body[data-theme="dark"] .nav-actions .btn-primary {
    background: #FFFFFF;
    color: #0A0A0A;
}

body[data-theme="dark"] .nav-actions .btn-primary:hover {
    background: #F4F6F8;
    color: #0A0A0A;
}

body[data-theme="dark"] .theme-toggle-btn {
    border-color: var(--color-teal);
    color: #FFFFFF;
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hamburger-icon .nav-line {
    transform-origin: 12px 12px;
    transition: transform 0.35s var(--ease), opacity 0.25s ease;
}

.mobile-toggle[aria-expanded="true"] .nav-line-top { transform: translateY(6px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] .nav-line-mid { opacity: 0; }
.mobile-toggle[aria-expanded="true"] .nav-line-bot { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.mobile-nav-overlay.active { opacity: 1; visibility: visible; }

.nav-links-mobile-portal { display: none; }

@media (max-width: 1200px) {
    .nav-desktop-menu { display: none; }
    .nav-actions .btn-secondary { display: none; }
    .nav-actions .btn-primary { display: none; }
    .mobile-toggle { display: flex; }

    .header {
        padding-block: 0.7rem;
        padding-left: 0;
        padding-right: 0;
    }

    .header.scrolled { padding-block: 0.55rem; }

    .header .container.nav-container,
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
        min-height: 72px;
        width: 100%;
        max-width: none;
        margin-inline: 0;
        padding-left: max(0.85rem, env(safe-area-inset-left, 0px));
        padding-right: max(1.15rem, env(safe-area-inset-right, 0px));
        box-sizing: border-box;
    }

    .logo {
        width: min(200px, 58vw);
        max-width: 200px;
        flex: 0 0 auto;
    }

    .nav-actions {
        gap: 0.55rem;
        margin-right: 0;
    }

    .theme-toggle-btn,
    .mobile-toggle {
        width: 44px;
        height: 44px;
    }

    .nav-links-mobile-portal {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: min(100%, 420px);
        height: 100dvh;
        max-height: 100dvh;
        background: var(--bg);
        z-index: 1050;
        padding: 0;
        transform: translateX(105%);
        transition: transform 0.4s var(--ease);
        box-shadow: var(--shadow-lg);
        overflow: hidden;
    }

    .nav-links-mobile-portal.active { transform: translateX(0); }

    .mobile-nav-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 1.15rem 1.25rem;
        border-bottom: 1px solid var(--border);
        min-height: 72px;
    }

    .mobile-nav-top .logo {
        width: min(200px, 56vw);
        max-width: 200px;
    }

    .mobile-nav-close {
        width: 44px;
        height: 44px;
        border-radius: var(--radius-md);
        border: 1px solid var(--border);
        background: transparent;
        color: var(--text);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .mobile-nav-close svg { width: 20px; height: 20px; }

    .mobile-links-stack {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 0;
        padding: 1rem 1.25rem 1.5rem;
        overflow-y: auto;
    }

    .mobile-link-item { border-bottom: 1px solid var(--border); }

    .mobile-nav-link {
        display: flex;
        align-items: center;
        gap: 1rem;
        font-family: var(--font-display);
        font-size: clamp(1.35rem, 5vw, 1.75rem);
        font-weight: 650;
        padding: 1.15rem 0;
        color: var(--text);
        border-bottom: none;
        letter-spacing: -0.025em;
        line-height: 1.15;
    }

    .mobile-nav-link .mobile-link-num {
        font-size: 0.75rem;
        font-weight: 650;
        letter-spacing: 0.08em;
        color: var(--text-subtle);
        min-width: 1.6rem;
        font-family: var(--font-display);
    }

    .mobile-nav-link.active { color: var(--color-orange); }
    .mobile-nav-link.active .mobile-link-num { color: var(--color-orange); }

    .mobile-nav-actions {
        margin-top: 1.5rem;
        padding-top: 0;
        border-top: none;
        display: grid;
        gap: 0.75rem;
    }

    .mobile-nav-actions .btn {
        width: 100%;
        min-height: 52px;
        font-size: 1rem;
    }

    .mobile-menu-footer {
        padding: 1.25rem 1.25rem 1.75rem;
        border-top: 1px solid var(--border);
        font-size: 0.92rem;
        color: var(--text-muted);
        background: var(--bg-muted);
    }

    .mobile-menu-footer a { color: var(--color-teal); font-weight: 650; }
    .mobile-menu-footer p { margin: 0; }
}

/* ==========================================================================
   Homepage — Full-bleed hero (reimagined)
   ========================================================================== */

.hero {
    position: relative;
    min-height: min(100dvh, 920px);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    padding-top: var(--header-h);
    overflow: hidden;
}

.hero-copy-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(4rem, 9vw, 6.5rem) clamp(1.5rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 5rem);
    background: var(--bg);
    position: relative;
    z-index: 2;
    order: 1;
}

.hero-copy-panel .container-inner {
    max-width: 580px;
    width: 100%;
    margin-left: auto;
}

.hero-brand {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    opacity: 0;
    animation: heroRise 0.9s var(--ease) 0.1s forwards;
}

.hero-brand span {
    color: var(--color-teal);
}

.hero-actions .btn-primary {
    box-shadow: none;
}

.hero-actions .btn-outline:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}

.hero-copy-panel .display-xl {
    margin-bottom: 1.5rem;
    font-size: clamp(3rem, 7vw, 5.25rem);
    opacity: 0;
    animation: heroRise 0.9s var(--ease) 0.22s forwards;
}

.hero-copy-panel .lead {
    margin-bottom: 2.25rem;
    opacity: 0;
    animation: heroRise 0.9s var(--ease) 0.34s forwards;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    opacity: 0;
    animation: heroRise 0.9s var(--ease) 0.46s forwards;
}

.hero-media {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    background: var(--pastel-blue);
    order: 2;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transform: scale(1.04);
    animation: heroZoom 1.4s var(--ease) forwards;
}

.hero-media::after {
    display: none;
}

@keyframes heroRise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}

@keyframes heroZoom {
    to { transform: scale(1); }
}

/* Proof strip — below hero, not inside it */
.proof-strip {
    border-bottom: 1px solid var(--border);
    background: var(--pastel-teal);
}

.proof-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding-block: 1.85rem;
}

.proof-item {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.proof-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(10, 10, 10, 0.06);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.proof-icon svg { width: 18px; height: 18px; }
.proof-icon--teal { color: var(--color-teal); }
.proof-icon--blue { color: var(--color-blue); }
.proof-icon--orange { color: var(--color-orange); }

body[data-theme="dark"] .proof-icon {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border);
}

.proof-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    margin-bottom: 0.2rem;
}

.proof-strip-grid .proof-item:nth-child(1) strong { color: var(--color-teal); }
.proof-strip-grid .proof-item:nth-child(2) strong { color: var(--color-blue); }
.proof-strip-grid .proof-item:nth-child(3) strong { color: var(--color-orange); }
.proof-strip-grid .proof-item:nth-child(4) strong { color: var(--text); }

.proof-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Services — open rows, not heavy cards */
.services-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--border);
}

.service-row {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    transition: padding var(--transition), background var(--transition-fast);
}

.service-row:hover {
    padding-left: 0.5rem;
    background: color-mix(in srgb, var(--bg-muted) 70%, transparent);
}

.service-copy {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    min-width: 0;
}

.service-row .service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 0;
}

.service-row .service-icon svg { width: 22px; height: 22px; }
.service-row .service-icon--teal { background: var(--pastel-teal); color: var(--color-teal); }
.service-row .service-icon--blue { background: var(--pastel-blue); color: var(--color-blue); }
.service-row .service-icon--orange { background: var(--pastel-orange); color: var(--color-orange); }

.service-num {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 650;
    color: var(--text-subtle);
    letter-spacing: 0.04em;
}

.service-row:nth-child(1) .service-num { color: var(--color-teal); }
.service-row:nth-child(2) .service-num { color: var(--color-blue); }
.service-row:nth-child(3) .service-num { color: var(--color-orange); }

.process-step:nth-child(1) .process-num { color: var(--color-teal); }
.process-step:nth-child(2) .process-num { color: var(--color-blue); }
.process-step:nth-child(3) .process-num { color: var(--color-orange); }
.process-step:nth-child(4) .process-num { color: var(--text); }

.service-row h3 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 650;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.service-row p {
    color: var(--text-muted);
    font-size: 0.98rem;
    max-width: 48ch;
    line-height: 1.6;
}

.service-row .service-link {
    font-weight: 650;
    font-size: 0.9rem;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

.service-row .service-link:hover {
    color: var(--color-orange);
    border-bottom-color: var(--color-orange);
}

.service-row .service-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.service-row .service-link:hover svg { transform: translateX(3px); }

/* Legacy service-card support */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
}

.service-card {
    padding: 2.25rem 1.75rem 2.25rem 0;
    border-bottom: 1px solid var(--border);
    background: transparent;
    border-radius: 0;
    border-right: 1px solid var(--border);
    transition: none;
}

.service-card:last-child { border-right: none; padding-right: 0; }
.service-card:hover { transform: none; box-shadow: none; }

.service-icon {
    width: auto;
    height: auto;
    background: none;
    color: var(--text-subtle);
    margin-bottom: 1.5rem;
    border-radius: 0;
}

.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 650;
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.35rem;
}

.service-link {
    font-weight: 650;
    font-size: 0.9rem;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.service-link svg { width: 16px; height: 16px; transition: transform var(--transition-fast); }
.service-link:hover { color: var(--accent); }
.service-link:hover svg { transform: translateX(3px); }

/* About split */
.split-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}

.split-media {
    overflow: hidden;
    border-radius: 0;
    border: none;
    box-shadow: none;
    aspect-ratio: 4 / 5;
    background: var(--bg-muted);
}

.split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats-row {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.75rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* Process — numbered open layout */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
}

.process-step {
    padding: 2rem 1.75rem 2rem 0;
    border-radius: 0;
    border: none;
    border-right: 1px solid var(--border);
    background: transparent;
}

.process-step:last-child { border-right: none; padding-right: 0; }

.process-num {
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 700;
    display: block;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 650;
    margin-bottom: 0.55rem;
    letter-spacing: -0.02em;
}

.process-step p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Work grid — image-led, quieter chrome */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem 1.5rem;
}

.work-card {
    border-radius: 0;
    overflow: visible;
    border: none;
    background: transparent;
    transition: none;
}

.work-card:hover { transform: none; box-shadow: none; }

.work-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-muted);
    margin-bottom: 1rem;
}

.work-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.work-card:hover .work-thumb img { transform: scale(1.03); }

.work-tag {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    font-size: 0.68rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
}

.work-body { padding: 0; }

.work-body h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 650;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.work-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.work-cta { text-align: center; margin-top: 3rem; }

/* Testimonials — editorial quote, less card */
.testimonial-wrap { max-width: 720px; margin-inline: auto; }

.testimonial-slider {
    position: relative;
    min-height: 200px;
}

.testimonial-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease);
}

.testimonial-slide.is-active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.testimonial-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    text-align: center;
}

.testimonial-card blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    line-height: 1.4;
    font-weight: 550;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    color: var(--text);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-muted);
    color: var(--text);
    border: 1px solid var(--border);
    font-weight: 650;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-name { font-weight: 650; font-size: 0.92rem; }
.author-role { font-size: 0.82rem; color: var(--text-muted); }

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition-fast);
}

.testimonial-btn:hover { border-color: var(--text); }
.testimonial-btn svg { width: 16px; height: 16px; }

.testimonial-dots { display: flex; gap: 0.45rem; }

.testimonial-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-strong);
    padding: 0;
}

.testimonial-dot.is-active {
    background: var(--text);
    transform: scale(1.15);
}

/* FAQ — hairline, open */
.faq-list {
    max-width: 720px;
    margin-inline: auto;
    display: grid;
    gap: 0;
    border-top: 1px solid var(--border);
}

.faq-item {
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.35rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--font-display);
    font-weight: 650;
    font-size: 1.05rem;
    color: var(--text);
    letter-spacing: -0.015em;
}

.faq-icon {
    width: 22px;
    height: 22px;
    border-radius: 0;
    border: none;
    position: relative;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--text);
    transition: opacity 0.2s ease;
}

.faq-icon::before { width: 12px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 12px; }

.faq-item.is-open .faq-icon::after { opacity: 0; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}

.faq-item.is-open .faq-answer { max-height: 280px; }

.faq-answer p {
    padding: 0 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 52ch;
}

/* CTA band — single dark moment */
.cta-band {
    background: var(--color-teal);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-band::before { display: none; }

.cta-band-inner {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.cta-band .lead { color: rgba(255, 255, 255, 0.62); max-width: 42ch; }
.cta-band .display-lg { color: #fff; margin-bottom: 0.85rem; }
.cta-band .eyebrow { color: rgba(255, 255, 255, 0.45); }

.cta-band-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ==========================================================================
   Inner page heroes — full-bleed media plane
   ========================================================================== */

.page-hero {
    position: relative;
    min-height: min(72dvh, 640px);
    display: flex;
    align-items: flex-end;
    padding: 0;
    text-align: left;
    overflow: hidden;
    background: var(--bg-muted);
}

.page-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.page-hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(232, 240, 254, 0.88);
}

body[data-theme="dark"] .page-hero-veil {
    background: rgba(11, 13, 16, 0.78);
}

body[data-theme="dark"] .page-hero-media img {
    opacity: 0.28;
}

body[data-theme="dark"] .cta-band {
    background: #0F766E;
}

body[data-theme="dark"] .work-tag {
    background: rgba(21, 24, 29, 0.92);
    color: var(--text);
}

body[data-theme="dark"] .hero-copy-panel,
body[data-theme="dark"] .hero-media {
    background: var(--bg);
}

.page-hero .container {
    position: relative;
    z-index: 2;
    padding-top: calc(var(--header-h) + clamp(4rem, 10vw, 7rem));
    padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.page-hero .hero-brand {
    margin-bottom: 1.5rem;
    animation: none;
    opacity: 1;
}

.page-hero .display-xl {
    max-width: 14ch;
    margin-bottom: 1.15rem;
}

.page-hero .lead {
    margin-bottom: 2rem;
    margin-inline: 0;
}

.page-hero .hero-actions {
    animation: none;
    opacity: 1;
}

.page-hero--plain {
    min-height: auto;
    background: var(--bg);
    align-items: flex-start;
}

.page-hero--plain .page-hero-media,
.page-hero--plain .page-hero-veil { display: none; }

.page-hero--plain .container {
    padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 5.5rem));
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

.pay-page-hero.page-hero--plain .container {
    align-items: center;
    text-align: center;
}

.stats-bar {
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.stats-bar-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding-block: 1.75rem;
    text-align: left;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
    margin-bottom: 2.5rem;
}

.filter-pill {
    padding: 0.55rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: transparent;
    font-weight: 550;
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.filter-pill.is-active,
.filter-pill:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
    background: transparent;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
}

.project-card {
    border-radius: 0;
    overflow: visible;
    border: none;
    background: transparent;
    transition: none;
}

.project-card:hover { transform: none; box-shadow: none; }

.project-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-muted);
    margin-bottom: 1rem;
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.project-card:hover .project-thumb img { transform: scale(1.03); }

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.project-card:hover .project-overlay { opacity: 1; }

.project-body { padding: 0; }

.project-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0;
    border-radius: 0;
    margin-bottom: 0.5rem;
    background: none !important;
    color: var(--text-subtle) !important;
}

.project-body h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 650;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.project-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.work-cta .btn-outline:hover,
.cta-band .btn-ghost-light:hover {
    border-color: rgba(255, 255, 255, 0.55);
}

.project-result {
    margin-top: 0.65rem;
    font-size: 0.85rem;
    font-weight: 650;
    color: var(--color-orange) !important;
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: start;
}

.contact-panel {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    box-shadow: none;
}

.contact-cards {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--border);
}

.contact-card {
    padding: 1.35rem 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    background: transparent;
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 650;
    margin-bottom: 0.3rem;
}

.contact-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.45rem;
}

.contact-card a {
    font-weight: 650;
    color: var(--text);
    border-bottom: 1px solid var(--border-strong);
}

.contact-card a:hover { color: var(--color-orange); border-bottom-color: var(--color-orange); }

/* Forms */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.field { display: block; margin-bottom: 1rem; }

.field label {
    display: block;
    font-weight: 550;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.field textarea { min-height: 130px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--text);
    box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
}

.form-submit { width: 100%; margin-top: 0.5rem; }

.toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: var(--bg-dark);
    color: #fff;
    font-weight: 550;
    font-size: 0.9rem;
    padding: 0.85rem 1.15rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border-left: 3px solid var(--color-orange);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show { opacity: 1; transform: none; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer-module {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: clamp(3.5rem, 7vw, 5rem) var(--gutter) 2rem;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 28ch;
}

.footer-column-title {
    font-size: 0.72rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
    color: var(--text-subtle);
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links-list a {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer-links-list a:hover { color: var(--text); }

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact-link svg { width: 16px; height: 16px; flex-shrink: 0; }

.social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--text);
    border-color: var(--text);
    color: #fff;
}

.footer-social-links {
    display: flex;
    gap: 0.55rem;
    margin-top: 1.5rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.85rem;
}

.footer-legal-links a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-legal-links a:hover { color: var(--text); }

.footer-divider { color: var(--border-strong); }

/* ==========================================================================
   Auth + Pay pages
   ========================================================================== */

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    min-height: calc(100dvh - var(--header-h));
    padding-top: var(--header-h);
}

.auth-layout--single {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
    padding-inline: var(--gutter);
}

.auth-aside {
    background: var(--pastel-teal);
    display: flex;
    align-items: flex-end;
    padding: clamp(2rem, 5vw, 3.5rem);
}

.auth-aside--orange { background: var(--pastel-orange); }

.auth-aside-inner { max-width: 420px; }
.auth-aside .hero-brand {
    animation: none !important;
    opacity: 1 !important;
    margin-bottom: 1.5rem;
}
.auth-aside .display-md { margin-bottom: 1rem; }
.auth-aside .lead { margin: 0; }

.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 3.5rem) var(--gutter);
    background: var(--bg);
}

.auth-card {
    width: 100%;
    max-width: 420px;
}

.auth-card .display-md { margin-bottom: 0.4rem; }

.auth-sub {
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    font-size: 0.98rem;
}

.auth-form .field { margin-bottom: 1rem; }

.auth-alert {
    padding: 0.9rem 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.15rem;
    font-size: 0.92rem;
    font-weight: 550;
}

.auth-alert--error {
    background: rgba(180, 35, 24, 0.08);
    color: #B42318;
    border: 1px solid rgba(180, 35, 24, 0.14);
}

.auth-alert--success {
    background: var(--pastel-teal);
    color: var(--color-teal);
    border: 1px solid rgba(13, 148, 136, 0.2);
}

body[data-theme="dark"] .auth-alert--error {
    background: rgba(248, 113, 113, 0.12);
    color: #FCA5A5;
    border-color: rgba(248, 113, 113, 0.25);
}

body[data-theme="dark"] .auth-alert--success {
    color: var(--color-teal);
}

.auth-check {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.auth-check input { margin-top: 0.2rem; flex-shrink: 0; }
.auth-check a { color: var(--color-teal); font-weight: 650; }

.auth-links {
    margin-top: 1.5rem;
    font-size: 0.92rem;
    color: var(--text-muted);
    display: grid;
    gap: 0.45rem;
}

.auth-links a {
    color: var(--text);
    font-weight: 650;
    border-bottom: 1px solid var(--border-strong);
}

.auth-links a:hover {
    color: var(--color-orange);
    border-bottom-color: var(--color-orange);
}

.faq-item.is-open .faq-question {
    color: var(--color-orange);
}

.pay-shell {
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
}

.pay-section {
    padding-top: 0;
}

.pay-card {
    border: 1px solid var(--border);
    background: var(--bg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    text-align: left;
    box-shadow: var(--shadow-sm);
}

.pay-page-hero {
    text-align: center;
}

.pay-page-hero .container {
    text-align: center;
    max-width: 640px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pay-page-hero .display-xl {
    max-width: 12ch;
    margin-inline: auto;
    text-align: center;
}

.pay-page-hero .lead {
    margin-inline: auto;
    text-align: center;
}

.pay-page-hero .hero-brand {
    animation: none;
    opacity: 1;
    margin-bottom: 1.25rem;
}

.pay-page-hero .eyebrow {
    text-align: center;
}

.pay-card .display-md { margin-bottom: 0.35rem; }

.pay-rows {
    margin: 1.75rem 0;
    border-top: 1px solid var(--border);
}

.pay-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.pay-row span { color: var(--text-muted); }
.pay-row strong { text-align: right; font-weight: 650; }

.pay-row--total {
    border-bottom: none;
    padding-top: 1.25rem;
}

.pay-row--total strong {
    font-family: var(--font-display);
    font-size: 1.65rem;
    color: var(--color-orange);
    letter-spacing: -0.02em;
}

.pay-secure {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.82rem;
    color: var(--text-subtle);
}

.pay-invoice-modal {
    position: relative;
    background: #ffffff;
    color: #334155;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius-lg);
    margin: auto;
    color-scheme: light;
}

.pay-invoice-modal .pay-modal-close {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #334155;
}

.pay-invoice-modal .pay-modal-close:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

body[data-theme="dark"] .pay-invoice-modal,
body[data-theme="dark"] .pay-invoice-modal .invoice-wrapper-font,
body[data-theme="dark"] .pay-invoice-modal .invoice-container {
    background: #ffffff;
    color: #334155;
}

.pay-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
}

@media (max-width: 900px) {
    .auth-layout {
        grid-template-columns: 1fr;
    }
    .auth-aside {
        min-height: auto;
        padding: 2rem var(--gutter) 1.5rem;
        align-items: flex-start;
    }
}

.page-shell {
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 4rem;
    min-height: 60vh;
}

/* ==========================================================================
   Quote modal overlay (footer include)
   ========================================================================== */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
    touch-action: none;
}

.modal-overlay.active {
    display: flex;
}

.modal-overlay .modal-content,
.modal-overlay .quote-modal-content {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    background: var(--bg);
    color: var(--text);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin: 20px auto;
    z-index: 1;
}

body[data-theme="dark"] .modal-overlay .modal-content,
body[data-theme="dark"] .modal-overlay .quote-modal-content {
    border: 1px solid var(--border);
}

body[data-theme="dark"] .modal-overlay {
    background: rgba(0, 0, 0, 0.72);
}

body.modal-open {
    overflow: hidden;
    touch-action: none;
}

/* Keep WhatsApp under modals; block interaction while a modal is open */
body.modal-open .wa-widget-btn {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Hidden honeypot field for anti-spam */
.sec-honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-media {
        order: 2;
        min-height: 42vw;
        max-height: 420px;
        aspect-ratio: 16 / 10;
    }

    .hero-copy-panel {
        order: 1;
        padding: clamp(2.5rem, 6vw, 3.5rem) var(--gutter) clamp(3rem, 6vw, 4rem);
    }

    .hero-copy-panel .container-inner {
        margin-inline: 0;
        max-width: none;
    }

    .hero-media::after { display: none; }

    .split-grid,
    .contact-grid { grid-template-columns: 1fr; }

    .services-grid,
    .work-grid,
    .project-grid { grid-template-columns: repeat(2, 1fr); }

    .service-card {
        border-right: none;
        padding-right: 0;
    }

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

    .process-step:nth-child(2) { border-right: none; padding-right: 0; }
    .process-step:nth-child(3),
    .process-step:nth-child(4) { border-top: 1px solid var(--border); }

    .proof-strip-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.65rem;
        padding-block: 1.25rem;
    }

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

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

    .service-row {
        grid-template-columns: 48px 1fr;
        gap: 1rem;
    }

    .service-row .service-link {
        grid-column: 2;
        margin-top: 0.75rem;
    }

    .service-copy { gap: 0.85rem; }
    .service-row .service-icon { width: 40px; height: 40px; }
    .service-row .service-icon svg { width: 18px; height: 18px; }

    .reviews-grid { grid-template-columns: 1fr; }
    .review-card--featured { order: -1; }

    .split-media { aspect-ratio: 16 / 10; max-height: 420px; }
}

@media (max-width: 640px) {
    :root {
        --header-h: 78px;
        --gutter: 1.25rem;
    }

    .header {
        padding-block: 0.65rem;
        padding-left: 0;
        padding-right: 0;
    }

    .header.scrolled { padding-block: 0.5rem; }

    .logo {
        width: min(196px, 55vw);
        max-width: 196px;
    }

    .nav-container {
        min-height: var(--header-h);
        gap: 0.65rem;
        width: 100%;
        max-width: none;
        margin-inline: 0;
        padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
        padding-right: max(1.1rem, env(safe-area-inset-right, 0px));
    }

    .nav-actions {
        gap: 0.45rem;
    }

    .theme-toggle-btn,
    .mobile-toggle {
        width: 44px;
        height: 44px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero-actions .btn { width: 100%; }

    .services-grid,
    .work-grid,
    .project-grid,
    .process-grid,
    .stats-bar-row,
    .footer-grid { grid-template-columns: 1fr; }

    .proof-strip-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.85rem;
        padding-block: 1.15rem;
    }

    .proof-item {
        flex-direction: row;
        gap: 0.65rem;
        text-align: left;
        align-items: flex-start;
    }

    .proof-icon {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .proof-icon svg { width: 16px; height: 16px; }

    .proof-item strong {
        font-size: 0.82rem;
        line-height: 1.25;
        margin-bottom: 0.15rem;
    }

    .proof-item span {
        font-size: 0.72rem;
        line-height: 1.35;
    }

    .process-step {
        border-right: none !important;
        padding-right: 0;
        border-top: 1px solid var(--border);
    }

    .process-step:first-child { border-top: none; }

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

    .cta-band-inner { flex-direction: column; align-items: flex-start; }

    .hero-media {
        min-height: 260px;
        aspect-ratio: 4 / 3;
        max-height: none;
    }

    .page-hero { min-height: min(68dvh, 520px); }

    .display-xl { font-size: clamp(2.1rem, 9vw, 3rem); }
    .display-lg { font-size: clamp(1.7rem, 7vw, 2.35rem); }
}

/* ==========================================================================
   Creative layouts — marquee, process rail, bento
   ========================================================================== */

.marquee {
    overflow: hidden;
    border-block: 1px solid var(--border);
    background: var(--bg);
    padding-block: 1rem;
}

.marquee-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: marqueeScroll 32s linear infinite;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    color: var(--text-muted);
    white-space: nowrap;
}

.marquee-track span:nth-child(odd) { color: var(--text); }

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

@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}

.process-rail {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
    position: relative;
}

.process-rail::before {
    content: '';
    position: absolute;
    top: 2.35rem;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.process-rail .process-step {
    position: relative;
    z-index: 1;
    padding: 2rem 1.5rem 2rem 0;
    border: none;
    border-right: 1px solid var(--border);
    background: transparent;
}

.process-rail .process-step:last-child { border-right: none; padding-right: 0; }

.process-rail .process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--color-teal);
    color: var(--color-teal);
    margin-bottom: 1.35rem;
    font-size: 0.78rem;
}

.process-rail .process-step:nth-child(2) .process-num { border-color: var(--color-blue); color: var(--color-blue); }
.process-rail .process-step:nth-child(3) .process-num { border-color: var(--color-orange); color: var(--color-orange); }
.process-rail .process-step:nth-child(4) .process-num { border-color: var(--text); color: var(--text); }

/* Interactive process */
.process-interactive {
    border: 1px solid var(--border);
    background: var(--bg);
    padding: clamp(1.25rem, 3vw, 1.75rem);
}

.process-progress {
    height: 3px;
    background: var(--border);
    border-radius: 999px;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.process-progress-bar {
    height: 100%;
    width: 25%;
    background: var(--color-teal);
    border-radius: 999px;
    transition: width 0.35s var(--ease), background 0.35s var(--ease);
}

.process-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.process-tab {
    appearance: none;
    border: 1px solid var(--border);
    background: var(--bg-muted);
    color: var(--text-muted);
    padding: 0.85rem 0.75rem;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.process-tab:hover {
    border-color: var(--border-strong);
    color: var(--text);
}

.process-tab.is-active {
    background: var(--bg);
    border-color: var(--color-teal);
    color: var(--text);
    box-shadow: inset 3px 0 0 var(--color-teal);
}

.process-tab[data-process-tab="1"].is-active { border-color: var(--color-blue); box-shadow: inset 3px 0 0 var(--color-blue); }
.process-tab[data-process-tab="2"].is-active { border-color: var(--color-orange); box-shadow: inset 3px 0 0 var(--color-orange); }
.process-tab[data-process-tab="3"].is-active { border-color: var(--text); box-shadow: inset 3px 0 0 var(--text); }

.process-tab-num {
    display: block;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
    color: inherit;
    opacity: 0.7;
}

.process-tab-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: inherit;
}

.process-panels { min-height: 220px; }

.process-panel {
    display: none;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
    animation: processPanelIn 0.35s var(--ease);
}

.process-panel.is-active { display: grid; }

@keyframes processPanelIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.process-panel-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--pastel-teal);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.process-panel-icon svg { width: 24px; height: 24px; }
.process-panel-icon--blue { background: var(--pastel-blue); color: var(--color-blue); }
.process-panel-icon--orange { background: var(--pastel-orange); color: var(--color-orange); }
.process-panel-icon--dark { background: var(--bg-muted); color: var(--text); border: 1px solid var(--border); }

.process-panel-kicker {
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-subtle);
    margin-bottom: 0.5rem;
}

.process-panel h3 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 650;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.process-panel > div > p {
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 54ch;
    margin-bottom: 1rem;
}

.process-panel-list {
    list-style: none;
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
}

.process-panel-list li {
    position: relative;
    padding-left: 1.15rem;
    font-size: 0.92rem;
    color: var(--text);
    font-weight: 550;
}

.process-panel-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-teal);
}

.process-panel[data-process-panel="1"] .process-panel-list li::before { background: var(--color-blue); }
.process-panel[data-process-panel="2"] .process-panel-list li::before { background: var(--color-orange); }
.process-panel[data-process-panel="3"] .process-panel-list li::before { background: var(--text); }

/* Reviews slider / grid */
.reviews-slider {
    position: relative;
}

.reviews-viewport {
    overflow: hidden;
}

.reviews-track {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
}

.review-card {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    min-width: 0;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.review-card--featured {
    background: var(--bg-dark);
    border-color: transparent;
    color: #fff;
}

.review-card--featured blockquote,
.review-card--featured .author-name { color: #fff; }
.review-card--featured .author-role { color: rgba(255, 255, 255, 0.65); }
.review-card--featured .avatar {
    background: var(--color-teal);
    color: #fff;
}

.review-stars {
    display: flex;
    gap: 0.2rem;
}

.review-stars svg {
    width: 14px;
    height: 14px;
    fill: var(--color-orange);
}

.review-card--featured .review-stars svg { fill: #FB923C; }

.review-card blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.02em;
    margin: 0;
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.reviews-controls {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.reviews-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.reviews-btn:hover { border-color: var(--text); }
.reviews-btn svg { width: 18px; height: 18px; }

.reviews-dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.reviews-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: var(--border-strong);
    cursor: pointer;
    transition: width var(--transition-fast), background var(--transition-fast);
}

.reviews-dot.is-active {
    width: 22px;
    background: var(--color-teal);
}

@media (max-width: 980px) {
    .reviews-viewport {
        overflow: hidden;
        touch-action: pan-y;
    }

    .reviews-track {
        display: flex;
        gap: 0;
        transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform;
    }

    .review-slide {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .review-card:hover { transform: none; }

    .reviews-controls { display: flex; }
}

/* Legacy alias */
.reviews-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
}

.bento-head {
    max-width: 560px;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.bento-head .display-lg { margin-top: 0.35rem; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.bento-card {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 1.75rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), border-color var(--transition);
}

.bento-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
}

.bento-card--wide { grid-column: span 2; }
.bento-card--accent {
    background: #0F766E;
    border-color: transparent;
    color: #fff;
}

.bento-card--accent h3 { color: #fff; }
.bento-card--accent p,
.bento-card--accent .bento-kicker {
    color: #fff !important;
}

body[data-theme="dark"] .bento-card--accent {
    background: #0D9488;
}

.bento-kicker {
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--text-subtle);
}

.bento-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-top: auto;
}

@media (max-width: 980px) {
    .process-rail {
        grid-template-columns: 1fr 1fr;
    }
    .process-rail::before { display: none; }
    .process-rail .process-step:nth-child(2) { border-right: none; }
    .process-rail .process-step:nth-child(n+3) { border-top: 1px solid var(--border); }
    .bento-grid { grid-template-columns: 1fr 1fr; }
    .bento-card--wide { grid-column: span 2; }
}

@media (max-width: 640px) {
    .process-rail { grid-template-columns: 1fr; }
    .process-rail .process-step {
        border-right: none !important;
        border-top: 1px solid var(--border);
        padding-right: 0;
    }
    .process-rail .process-step:first-child { border-top: none; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card--wide { grid-column: span 1; }
}

/* ── Legal pages (privacy / terms) ── */
.legal-doc {
    max-width: 42rem;
    margin: 0 auto;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0 0 2.25rem;
}

.legal-block {
    margin-bottom: 2rem;
}

.legal-block h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    margin: 0 0 0.65rem;
    color: var(--text);
}

.legal-block p,
.legal-block li {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.legal-block p { margin: 0 0 0.75rem; }

.legal-block ul {
    margin: 0.35rem 0 0;
    padding-left: 1.25rem;
}

.legal-block li { margin-bottom: 0.4rem; }

.legal-block a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.legal-block a:hover { color: var(--text); }

.legal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
