@import 'tailwindcss';

@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@source '../views/**/*.blade.php';
@source '../js/**/*.js';

@theme {
    --font-sans: "Segoe UI", Selawik, system-ui, -apple-system, sans-serif;

    --color-primary: var(--color-primary, #047857);
    --color-primary-text: #065f46;
    --color-secondary: var(--color-secondary, #111827);
    --color-accent: var(--color-accent, #14B8A6);
    --color-text: #111827;
    --color-muted: #6B7280;
    --color-bg: #FFFFFF;
    --color-section: #F8FAFC;
    --color-border: #E5E7EB;
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-danger: #EF4444;
}

:root {
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    --gradient-dark: linear-gradient(135deg, #111827 0%, #000000 100%);
    --text-display: clamp(2.5rem, 5vw, 3.5rem);
    --text-h1: clamp(2rem, 4vw, 2.5rem);
    --text-h2: clamp(1.75rem, 3vw, 2rem);
    --text-h3: 1.5rem;
    --text-body: 1rem;
    --text-small: 0.875rem;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: clip;
}

body.mobile-nav-open {
    overflow: hidden;
}

[x-cloak] {
    display: none !important;
}

.container-page {
    @apply mx-auto max-w-7xl px-4 md:px-6 lg:px-8;
}

.section-padding {
    padding-block: 4rem;
}

@media (min-width: 1024px) {
    .section-padding {
        padding-block: 5.5rem;
    }
}

.section-band {
    @apply py-0;
}

.section-stack {
    @apply mt-8 md:mt-10;
}

.public-hero {
    @apply py-10 md:py-14;
}

.public-hero-sm {
    @apply py-8 md:py-12;
}

.btn-primary {
    @apply inline-flex items-center justify-center rounded-full px-6 py-3 text-sm font-semibold text-white shadow-sm transition-all duration-200 hover:shadow-lg hover:brightness-105;
    background: var(--gradient-primary);
}

header[role="banner"] .btn-primary {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    line-height: 1;
    box-shadow: none;
}

/* Site header — equal vertical padding, no fixed tall bar */
.site-header {
    --site-header-height: auto;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.site-header__bar {
    padding: 0.5rem 0;
    align-items: center;
}

.site-header__cta {
    padding-block: 0.375rem;
    padding-inline: 0.875rem;
    font-size: 0.8125rem;
    line-height: 1.25;
}

.section-heading {
    font-size: clamp(1.625rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--color-secondary);
}

.section-lead {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #475569;
}

.home-eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary);
    border: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.home-eyebrow-dark {
    @apply inline-flex items-center gap-2 rounded-full border border-emerald-400/25 bg-emerald-500/10 px-4 py-1.5 text-xs font-semibold uppercase tracking-[0.15em] text-emerald-300;
}

.premium-card {
    border-radius: 0.75rem;
    border: 1px solid var(--color-border);
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.skip-link {
    @apply sr-only focus:not-sr-only focus:absolute focus:left-4 focus:top-4 focus:z-[100] focus:rounded-lg focus:bg-white focus:px-4 focus:py-2 focus:shadow-lg;
}

.swiper-pagination-bullet-active {
    background: var(--color-primary) !important;
}

[data-swiper] {
    min-height: 18rem;
}

@media (min-width: 768px) {
    [data-swiper] {
        min-height: 20rem;
    }
}

/* Homepage */
.home-hero-mesh {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(16, 185, 129, 0.25), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(20, 184, 166, 0.12), transparent);
}

.home-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
}

.home-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: home-orb-float 12s ease-in-out infinite;
}

.home-orb-1 {
    width: 420px;
    height: 420px;
    top: -10%;
    right: -5%;
    background: rgba(16, 185, 129, 0.35);
}

.home-orb-2 {
    width: 320px;
    height: 320px;
    bottom: 10%;
    left: -8%;
    background: rgba(20, 184, 166, 0.25);
    animation-delay: -4s;
}

.home-orb-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 35%;
    background: rgba(52, 211, 153, 0.15);
    animation-delay: -8s;
}

@keyframes home-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -15px) scale(1.05); }
    66% { transform: translate(-15px, 10px) scale(0.95); }
}

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

@media (max-width: 479px) {
    .home-bento {
        grid-template-columns: 1fr;
    }

    .home-bento-card.col-span-2 {
        grid-column: span 1;
    }
}

.home-glass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
}

.home-bento-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-bento-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.home-trust-mask {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.home-feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(14, 159, 110, 0.2), transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.home-feature-card:hover::before {
    opacity: 1;
}

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

/* Homepage v3 — advanced design system */
.home-aurora-bg {
    background:
        radial-gradient(ellipse 100% 80% at 50% -30%, rgba(16, 185, 129, 0.22), transparent 55%),
        radial-gradient(ellipse 60% 50% at 100% 0%, rgba(20, 184, 166, 0.15), transparent 50%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(5, 150, 105, 0.12), transparent 50%);
}

.home-display {
    font-size: clamp(2rem, 6vw, 4.25rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.home-display-gradient {
    display: block;
    margin-top: 0.25rem;
    background: linear-gradient(135deg, #6ee7b7 0%, #34d399 40%, #14b8a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(52, 211, 153, 0.25);
    background: rgba(16, 185, 129, 0.08);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6ee7b7;
}

.home-pill-dot {
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 9999px;
    background: #34d399;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
}

.home-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
}

@media (max-width: 479px) {
    .home-stat-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.home-stat-value {
    font-size: 1.875rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.home-stat-label {
    margin-top: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #64748b;
}

.home-micro-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #64748b;
}

.home-live-dot {
    position: relative;
    display: flex;
    height: 0.75rem;
    width: 0.75rem;
}

.home-live-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: #34d399;
    animation: home-ping 2s ease-in-out infinite;
    opacity: 0.4;
}

.home-live-dot::after {
    content: '';
    position: relative;
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    background: #34d399;
}

@keyframes home-ping {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.8); opacity: 0; }
}

/* Homepage hero — light collage layout */
.home-hero-light-glow {
    background:
        radial-gradient(ellipse 70% 50% at 100% 20%, color-mix(in srgb, var(--color-primary) 8%, transparent), transparent 60%),
        radial-gradient(ellipse 50% 40% at 0% 80%, color-mix(in srgb, var(--color-accent) 6%, transparent), transparent 55%);
}

.home-hero-headline {
    font-size: clamp(2.125rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.home-hero-collage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.75rem;
    min-height: 20rem;
    align-items: stretch;
}

@media (min-width: 640px) {
    .home-hero-collage-grid {
        gap: 1rem;
        min-height: 24rem;
    }
}

@media (min-width: 1024px) {
    .home-hero-collage-grid {
        min-height: 28rem;
    }
}

.home-hero-collage-main {
    grid-column: 1;
    grid-row: 1 / -1;
    min-height: 0;
    overflow: hidden;
    border-radius: 0.5rem;
}

.home-hero-collage-stack {
    grid-column: 2;
    grid-row: 1 / -1;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 0.75rem;
    min-height: 0;
}

@media (min-width: 640px) {
    .home-hero-collage-stack {
        gap: 1rem;
    }
}

.home-hero-collage-cell {
    min-height: 0;
    overflow: hidden;
    border-radius: 0.5rem;
}

.home-hero-collage-main > picture,
.home-hero-collage-cell > picture {
    display: block;
    width: 100%;
    height: 100%;
}

.home-hero-collage-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.home-figure > picture {
    display: block;
    width: 100%;
}

.home-glass-row {
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-mini-cta {
    flex-shrink: 0;
    border-radius: 9999px;
    background: white;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
    transition: background 0.2s ease;
}

.home-mini-cta:hover {
    background: #ecfdf5;
}

.home-link-arrow {
    display: inline-flex;
    shrink: 0;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    border: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
    background: white;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-secondary);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}

.home-link-arrow:hover {
    border-color: color-mix(in srgb, var(--color-primary) 30%, transparent);
    color: var(--color-primary);
}

.home-service-card {
    display: block;
    border-radius: 1.5rem;
    border: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
    background: white;
    padding: 1.75rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.home-service-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--color-primary) 25%, transparent);
    box-shadow: 0 20px 50px rgba(14, 159, 110, 0.1);
}

.home-talent-card {
    display: block;
    border-radius: 1.5rem;
    border: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
    background: white;
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: all 0.3s ease;
}

.home-talent-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--color-primary) 25%, transparent);
    box-shadow: 0 16px 40px rgba(14, 159, 110, 0.1);
}

.home-book-panel {
    transition: box-shadow 0.3s ease;
}

.home-book-panel:hover {
    box-shadow: 0 32px 64px rgba(15, 23, 42, 0.2);
}

.home-book-panel-light {
    transition: box-shadow 0.3s ease;
}

.home-book-panel-light:hover {
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.12);
}

.home-section-photo {
    aspect-ratio: 4 / 3;
}

.home-section-photo-badge {
    min-width: 6.5rem;
}

.home-service-card-photo {
    border-radius: 1.5rem 1.5rem 0 0;
}

.home-talent-card-photo {
    border-radius: 1.5rem 1.5rem 0 0;
}

.home-trust-avatars {
    margin-right: 0.5rem;
}

.home-trust-avatar + .home-trust-avatar {
    margin-left: -0.75rem;
}

/* Home industries explorer — light theme */
.home-industries-glow-light {
    background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 10%, transparent), transparent 70%);
}

.home-industries-spotlight-light {
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
}

.home-industries-filter-light {
    border-color: color-mix(in srgb, var(--color-border) 90%, transparent);
    background: white;
    color: #64748b;
}

.home-industries-filter-light:hover {
    border-color: color-mix(in srgb, var(--color-primary) 25%, transparent);
    color: var(--color-secondary);
}

.home-industries-filter-light.is-active {
    color: var(--color-secondary);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.home-industries-filter-light.is-active.home-industries-filter-light--white {
    border-color: color-mix(in srgb, var(--color-primary) 35%, transparent);
    background: color-mix(in srgb, var(--color-primary) 8%, white);
}

.home-industries-filter-light.is-active.home-industries-filter-light--emerald {
    border-color: color-mix(in srgb, var(--color-primary) 40%, transparent);
    background: color-mix(in srgb, var(--color-primary) 10%, white);
}

.home-industries-filter-light.is-active.home-industries-filter-light--sky {
    border-color: rgba(14, 165, 233, 0.35);
    background: rgba(14, 165, 233, 0.08);
}

.home-industries-filter-light.is-active.home-industries-filter-light--violet {
    border-color: rgba(124, 58, 237, 0.35);
    background: rgba(124, 58, 237, 0.08);
}

.home-industry-tile-light {
    border-radius: 1.5rem;
    background: white;
    border: 1px solid color-mix(in srgb, var(--color-border) 85%, transparent);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.home-industry-tile-photo {
    pointer-events: none;
}

.home-industry-tile-light[data-accent="emerald"]:hover,
.home-industry-tile-light[data-accent="emerald"].is-active {
    border-color: color-mix(in srgb, var(--color-primary) 30%, transparent);
    box-shadow: 0 16px 40px rgba(14, 159, 110, 0.1);
}

.home-industry-tile-light[data-accent="sky"]:hover,
.home-industry-tile-light[data-accent="sky"].is-active {
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 16px 40px rgba(14, 165, 233, 0.1);
}

.home-industry-tile-light[data-accent="violet"]:hover,
.home-industry-tile-light[data-accent="violet"].is-active {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 16px 40px rgba(124, 58, 237, 0.1);
}

.home-industry-tile-light:hover,
.home-industry-tile-light.is-active {
    transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
    .home-industry-tile-light:hover,
    .home-industry-tile-light.is-active {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-live-dot::before { animation: none; }
}

/* Home industries explorer */
.home-industries-glow {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.18), transparent 70%);
}

.home-industries-spotlight {
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-industries-filter {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
}

.home-industries-filter:hover {
    border-color: rgba(255, 255, 255, 0.22);
    color: #e2e8f0;
}

.home-industries-filter.is-active {
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.home-industries-filter.is-active.home-industries-filter--white {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
}

.home-industries-filter.is-active.home-industries-filter--emerald {
    border-color: rgba(16, 185, 129, 0.45);
    background: rgba(16, 185, 129, 0.15);
}

.home-industries-filter.is-active.home-industries-filter--sky {
    border-color: rgba(14, 165, 233, 0.45);
    background: rgba(14, 165, 233, 0.15);
}

.home-industries-filter.is-active.home-industries-filter--violet {
    border-color: rgba(124, 58, 237, 0.45);
    background: rgba(124, 58, 237, 0.15);
}

.home-industries-bento {
    grid-auto-rows: minmax(9.5rem, auto);
}

.home-industry-tile {
    border-radius: 1.5rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.home-industry-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 55%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.home-industry-tile[data-accent="emerald"]:hover,
.home-industry-tile[data-accent="emerald"].is-active {
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.12);
}

.home-industry-tile[data-accent="sky"]:hover,
.home-industry-tile[data-accent="sky"].is-active {
    border-color: rgba(14, 165, 233, 0.35);
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.12);
}

.home-industry-tile[data-accent="violet"]:hover,
.home-industry-tile[data-accent="violet"].is-active {
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.12);
}

.home-industry-tile:hover,
.home-industry-tile.is-active {
    transform: translateY(-3px);
}

.home-industry-tile.is-active::before {
    opacity: 1;
}

.home-industry-tile--featured .home-industry-tile-inner {
    min-height: 100%;
}

.home-industry-tile--featured h3 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.home-industry-tile--featured p {
    -webkit-line-clamp: 3;
}

.home-industries-marquee-track {
    animation: home-industries-marquee 50s linear infinite;
}

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

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

    .home-industry-tile:hover,
    .home-industry-tile.is-active {
        transform: none;
    }
}

/* Nav mega menu */
.nav-mega-wrap,
.hire-mega-wrap {
    position: static;
}

@media (min-width: 1024px) {
    .nav-mega-wrap,
    .hire-mega-wrap {
        position: relative;
    }
}

.nav-mega-panel,
.hire-mega-panel {
    backdrop-filter: none;
}

.nav-mega-scroll {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    scroll-behavior: smooth;
}

.nav-mega-scroll::-webkit-scrollbar {
    width: 6px;
}

.nav-mega-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.nav-mega-scroll::-webkit-scrollbar-thumb {
    border-radius: 9999px;
    background: #cbd5e1;
}

.nav-mega-scroll::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.nav-mega-item,
.hire-mega-item {
    position: relative;
}

.nav-item-icon,
.hire-nav-icon {
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-item-icon--plain {
    border: 1px solid #e2e8f0;
}

.nav-mega-item:hover .nav-item-icon--plain,
.nav-mega-wrap a:hover .nav-item-icon--plain {
    background: #f1f5f9;
    color: var(--color-primary);
}

@media (prefers-reduced-motion: reduce) {
    .nav-mega-scroll {
        scroll-behavior: auto;
    }

    .nav-item-icon,
    .hire-nav-icon {
        transition: none;
    }
}

/* Footer advanced */
.footer-aurora {
    background:
        radial-gradient(ellipse 80% 50% at 20% 100%, rgba(16, 185, 129, 0.15), transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 0%, rgba(20, 184, 166, 0.1), transparent 50%);
}

.footer-cta-panel {
    position: relative;
    overflow: hidden;
}

.footer-cta-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.08) 100%);
    pointer-events: none;
}

.footer-col-title {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #64748b;
}

.footer-icon-box {
    display: flex;
    height: 2rem;
    width: 2rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 0.625rem;
    background: rgba(255, 255, 255, 0.06);
    color: #34d399;
    transition: background 0.2s ease, color 0.2s ease;
}

.footer-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 0.75rem;
    padding: 0.5rem 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #cbd5e1;
    transition: color 0.2s ease, background 0.2s ease;
}

.footer-nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.04);
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.footer-contact-link:hover {
    color: #6ee7b7;
}

.footer-social-btn {
    display: flex;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    transition: all 0.2s ease;
}

.footer-social-btn:hover {
    border-color: rgba(52, 211, 153, 0.4);
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
}

/* Public pages */
.page-hero-light {
    @apply border-b border-border bg-[#f8fafc];
}

.prose-premium {
    @apply text-secondary leading-relaxed;
}

.prose-premium h2 {
    @apply mt-10 mb-4 text-2xl font-bold tracking-tight text-secondary;
}

.prose-premium h3 {
    @apply mt-8 mb-3 text-xl font-semibold text-secondary;
}

.prose-premium p {
    @apply mb-4 text-muted;
}

.prose-premium ul,
.prose-premium ol {
    @apply mb-4 ml-6 space-y-2 text-muted;
}

.prose-premium ul {
    @apply list-disc;
}

.prose-premium ol {
    @apply list-decimal;
}

.prose-premium a {
    @apply font-medium text-primary underline-offset-2 hover:underline;
}

.prose-premium strong {
    @apply font-semibold text-secondary;
}

.prose-premium img,
.prose-premium video,
.prose-premium iframe {
    max-width: 100%;
    height: auto;
}

.prose-premium table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.prose-premium pre {
    max-width: 100%;
    overflow-x: auto;
}

.compare-grid-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.compare-grid-inner {
    min-width: 36rem;
}

.hub-card {
    display: block;
    border-radius: 1.5rem;
    border: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
    background: white;
    padding: 1.75rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.hub-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
    box-shadow: 0 20px 50px rgba(14, 159, 110, 0.1);
}

/* Hire talent pages */
.hire-role-card {
    display: block;
    border-radius: 1.5rem;
    border: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
    background: white;
    padding: 1.75rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.hire-role-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--color-primary) 25%, transparent);
    box-shadow: 0 20px 50px rgba(14, 159, 110, 0.12);
}

.hire-available-badge {
    @apply shrink-0 rounded-full bg-emerald-500/10 px-3 py-1 text-[10px] font-bold uppercase tracking-wider text-emerald-800;
}

.hire-tag {
    @apply rounded-lg bg-[#f1f5f9] px-2.5 py-1 text-[11px] font-semibold text-slate-600;
}

.hire-process-card {
    @apply rounded-2xl border border-border/80 bg-[#fafafa] p-7 transition hover:-translate-y-1 hover:border-primary/20 hover:shadow-lg hover:shadow-primary/5;
}

.hire-process-num {
    @apply inline-flex h-11 w-11 items-center justify-center rounded-xl bg-gradient-to-br from-emerald-500 to-teal-500 text-sm font-bold text-white;
}

.hire-hero-panel {
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

.hire-sticky-card {
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

@media (min-width: 1024px) {
    .hire-sticky-card {
        position: sticky;
        top: 6rem;
    }
}

.hire-tool-badge {
    @apply rounded-full border border-primary/15 bg-primary/5 px-3.5 py-1.5 text-xs font-semibold text-primary;
}

.hire-vetting-card {
    @apply rounded-2xl border border-white/10 bg-white/5 p-6 backdrop-blur-sm transition hover:border-emerald-500/30 hover:bg-white/10;
}

.hire-vetting-num {
    @apply inline-flex h-9 w-9 items-center justify-center rounded-lg bg-emerald-500/20 text-xs font-bold text-emerald-400;
}

.hire-requirements-card {
    @apply rounded-3xl border border-border bg-[#fafafa] p-8 lg:p-10;
}

/* Industry pages */
.industry-card {
    display: block;
    border-radius: 1.5rem;
    border: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
    background: white;
    padding: 1.75rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--color-primary) 25%, transparent);
    box-shadow: 0 20px 50px rgba(14, 159, 110, 0.12);
}

.industry-icon {
    @apply flex h-14 w-14 items-center justify-center rounded-2xl bg-primary/10 text-2xl ring-1 ring-primary/10;
}

.industry-hero-icon {
    @apply flex h-16 w-16 items-center justify-center rounded-2xl bg-white/10 text-3xl ring-1 ring-white/20;
}

.industry-sector-badge {
    @apply text-[11px] font-bold tabular-nums text-slate-500;
}

.industry-hero-panel,
.industry-sticky-panel {
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1024px) {
    .industry-sticky-panel {
        position: sticky;
        top: 6rem;
    }
}

.industry-challenge-card {
    @apply rounded-2xl border border-border/80 bg-white p-6 transition hover:-translate-y-0.5 hover:border-primary/20 hover:shadow-md hover:shadow-primary/5;
}

.industry-solution-card {
    @apply rounded-2xl border border-white/10 bg-white/5 p-7 backdrop-blur-sm transition hover:border-emerald-500/30 hover:bg-white/10;
}

.industry-feature-row {
    @apply flex items-start gap-4 rounded-2xl border border-border/80 bg-[#fafafa] p-5;
}

/* Case study pages */
.case-study-card {
    display: block;
    border-radius: 1.5rem;
    border: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
    background: white;
    padding: 1.75rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--color-primary) 25%, transparent);
    box-shadow: 0 20px 50px rgba(14, 159, 110, 0.12);
}

.case-study-metric-badge {
    @apply flex flex-col items-end rounded-2xl border border-primary/15 bg-primary/5 px-4 py-3 text-right;
}

.case-study-metrics-panel {
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1024px) {
    .case-study-metrics-panel {
        position: sticky;
        top: 6rem;
    }
}

.case-study-csr-card {
    @apply rounded-2xl border border-border/80 bg-[#fafafa] p-7 transition hover:-translate-y-0.5 hover:shadow-md;
}

.case-study-csr-card--highlight {
    @apply border-primary/25 bg-primary/5;
}

.case-study-csr-label {
    @apply text-xs font-bold uppercase tracking-widest text-muted;
}

.case-study-quote {
    @apply rounded-2xl border border-border bg-white p-7 shadow-sm;
}

.case-study-timeline-item {
    @apply grid grid-cols-[auto_1fr] gap-6;
}

.case-study-timeline-marker {
    @apply relative flex flex-col items-center;
}

.case-study-timeline-line {
    @apply absolute top-10 h-[calc(100%-2.5rem)] w-px bg-white/15;
}

/* About page */
.about-hero-panel {
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

.about-mission-card {
    @apply rounded-3xl border border-primary/20 bg-primary/5 p-8;
}

.about-mission-card--vision {
    @apply border-border bg-[#fafafa];
}

.about-milestone-card {
    @apply rounded-2xl border border-border/80 bg-white p-8 transition hover:-translate-y-1 hover:border-primary/20 hover:shadow-lg hover:shadow-primary/5;
}

.about-quote-card {
    @apply flex h-full flex-col rounded-2xl border border-border bg-white p-8 shadow-sm transition hover:-translate-y-1 hover:border-primary/20 hover:shadow-md;
}

.about-mission-band {
    margin-top: 3rem;
    border: 1px solid color-mix(in srgb, var(--color-primary) 18%, transparent);
    border-radius: var(--home-radius);
    background: color-mix(in srgb, var(--color-primary) 5%, white);
    padding: 2.5rem 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .about-mission-band {
        padding: 3rem;
    }
}

.about-mission-band__label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.about-mission-band__text {
    margin-top: 1rem;
    max-width: 42rem;
    margin-inline: auto;
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -0.02em;
    color: var(--color-secondary);
}

.about-mission-band__vision {
    margin-top: 1.25rem;
    max-width: 36rem;
    margin-inline: auto;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--home-text);
}

.about-values-strip {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--home-radius);
    background: var(--color-border);
    box-shadow: var(--home-shadow);
}

@media (min-width: 768px) {
    .about-values-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.about-values-strip__item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: #fff;
    padding: 1.75rem 1.5rem;
}

.about-values-strip__item:first-child {
    background: color-mix(in srgb, var(--color-primary) 4%, white);
}

.about-values-strip__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.about-values-strip__text {
    font-size: 0.8125rem;
    line-height: 1.65;
    color: var(--home-text);
}

.about-timeline {
    position: relative;
    display: grid;
    gap: 2.5rem;
    margin-top: 3rem;
    list-style: none;
    padding: 0;
}

@media (min-width: 768px) {
    .about-timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
    }

    .about-timeline::before {
        content: '';
        position: absolute;
        top: 1.125rem;
        left: 16.666%;
        right: 16.666%;
        height: 1px;
        background: var(--color-border);
    }
}

.about-timeline__item {
    position: relative;
    padding-top: 2.75rem;
    text-align: center;
}

.about-timeline__marker {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 2px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
    border-radius: 9999px;
    background: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    transform: translateX(-50%);
}

.about-timeline__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.about-timeline__text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--home-text);
}

.about-promise-panel {
    border: 1px solid var(--color-border);
    border-radius: var(--home-radius);
    background: #fff;
    padding: 2rem;
    box-shadow: var(--home-shadow);
}

@media (min-width: 768px) {
    .about-promise-panel {
        padding: 2.5rem;
    }
}

.about-promise-panel .home-checklist {
    display: grid;
    gap: 0.75rem 2rem;
}

@media (min-width: 768px) {
    .about-promise-panel .home-checklist {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.about-testimonials-layout {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 1024px) {
    .about-testimonials-layout {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        align-items: stretch;
    }
}

.about-testimonials-layout__lead {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.about-testimonials-layout__lead .home-quote-card__text {
    font-size: 1.125rem;
    line-height: 1.75;
}

.about-testimonials-layout__stack {
    display: grid;
    gap: 1.5rem;
}

/* Homepage — sleek symmetric system */
.home-page {
    --home-bg: #ffffff;
    --home-bg-muted: #f8fafc;
    --home-text: #475569;
    --home-text-muted: #64748b;
    /* Text on light surfaces — brand primary (#0E9F6E) is ~3.4:1 and fails WCAG AA */
    --home-accent-text: var(--color-primary-text, #065f46);
    --home-radius: 0.75rem;
    --home-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04);
    background: var(--home-bg);
    color: var(--home-text);
}

.home-section {
    padding-block: 4rem;
}

@media (min-width: 1024px) {
    .home-section {
        padding-block: 5.5rem;
    }
}

.home-section--hero {
    padding-block: 2.5rem 4rem;
}

@media (min-width: 1024px) {
    .home-section--hero {
        padding-block: 3rem 5.5rem;
    }
}

.home-section--muted {
    background: var(--home-bg-muted);
}

.home-section--compact {
    padding-block: 2rem;
}

.home-kicker {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--home-accent-text);
}

.home-hero-title {
    margin-top: 0.875rem;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--color-secondary);
}

.home-section-title {
    font-size: clamp(1.625rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--color-secondary);
}

.home-lead {
    margin-top: 1rem;
    max-width: 34rem;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--home-text);
}

.home-lead--center {
    margin-inline: auto;
}

.home-text-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-secondary);
    text-decoration: underline;
    text-decoration-color: #cbd5e1;
    text-underline-offset: 0.25em;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.home-text-link:hover {
    color: var(--color-primary);
    text-decoration-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
}

.home-section-head {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.home-section-head--center {
    text-align: center;
}

.home-section-head--center .home-section-head__main {
    margin-inline: auto;
    max-width: 40rem;
}

.home-section-head--split {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .home-section-head--split {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.home-section-head--narrow .home-section-head__main {
    max-width: 40rem;
}

.home-section-head__main .home-section-title {
    margin-top: 0.75rem;
}

.home-hero-copy .home-lead {
    margin-top: 1.25rem;
}

.home-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
    font-size: 0.875rem;
    color: var(--home-text-muted);
}

.home-rating__stars {
    color: #f59e0b;
    letter-spacing: 0.05em;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.home-hero-note {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: var(--home-text-muted);
}

.home-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 640px) {
    .home-stat-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .home-stat-grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.home-stat-grid__value {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--color-secondary);
}

.home-stat-grid__label {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--home-text-muted);
}

.home-stat-grid__note {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--home-text-muted);
}

.home-split {
    display: grid;
    gap: 2.5rem;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .home-split {
        gap: 3.5rem;
    }

    .home-split--equal {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-split--center {
        align-items: center;
    }
}

.home-split-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-editorial-photo {
    display: block;
    width: 100%;
    border-radius: var(--home-radius);
    object-fit: cover;
}

.home-editorial-photo--wide {
    aspect-ratio: 21 / 9;
    max-height: 22rem;
    object-position: center;
}

.home-editorial-photo--portrait {
    aspect-ratio: 4 / 5;
    max-height: 28rem;
    object-position: top center;
    background: #f8fafc;
}

.home-figure-caption {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--home-text-muted);
}

.home-figure-caption--center {
    text-align: center;
}

.home-figure--center {
    max-width: 56rem;
    margin-inline: auto;
}

.home-benefit-grid {
    display: grid;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 640px) {
    .home-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .home-benefit-grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.home-benefit-card {
    height: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--home-radius);
    background: #fff;
    padding: 1.25rem 1.375rem;
}

.home-benefit-card__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.home-benefit-card__text {
    margin-top: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--home-text);
}

.home-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-list--panel {
    border: 1px solid var(--color-border);
    border-radius: var(--home-radius);
    background: #fff;
    overflow: hidden;
    box-shadow: var(--home-shadow);
}

.home-list__item {
    border-bottom: 1px solid var(--color-border);
}

.home-list__item:last-child {
    border-bottom: none;
}

.home-list__link {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

@media (min-width: 640px) {
    .home-list__link {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.home-list__link:hover {
    background: var(--home-bg-muted);
}

.home-list__link:hover .home-list__title {
    color: var(--color-primary);
}

.home-list__static {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.home-list__category {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--home-text-muted);
}

.home-list__title {
    margin-top: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-secondary);
    transition: color 0.15s ease;
}

.home-list__text {
    margin-top: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--home-text);
}

.home-list__meta {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--home-accent-text);
}

.home-card-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: 3rem;
}

@media (min-width: 640px) {
    .home-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .home-card-grid--services {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.home-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--home-radius);
    background: #fff;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--home-shadow);
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.home-card:hover {
    border-color: color-mix(in srgb, var(--color-primary) 25%, transparent);
    transform: translateY(-2px);
}

.home-card--study {
    cursor: pointer;
}

.home-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-secondary);
    transition: color 0.15s ease;
}

.home-card:hover .home-card__title {
    color: var(--color-primary);
}

.home-card__text {
    margin-top: 0.5rem;
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--home-text);
}

.home-card__action {
    margin-top: 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--home-accent-text);
}

.home-steps {
    display: grid;
    gap: 1.25rem;
    margin-top: 3rem;
    list-style: none;
    padding: 0;
}

@media (min-width: 1024px) {
    .home-steps--row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-steps--row.home-steps--5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.home-step-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--home-radius);
    background: #fff;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--home-shadow);
}

.home-step-card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-inline: auto;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--color-primary) 10%, white);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-primary);
}

.home-step-card__title {
    margin-top: 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.home-step-card__text {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.65;
    color: var(--home-text);
}

.home-case-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.home-case-copy__title {
    margin-top: 0.75rem;
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-secondary);
}

.home-case-copy__title a:hover {
    color: var(--color-primary);
}

.home-case-copy__result {
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--home-accent-text);
}

.home-testimonials {
    max-width: 48rem;
    margin-inline: auto;
}

/* Video testimonials — 4×2 grid */
.home-video-wall {
    max-width: 80rem;
    margin-inline: auto;
}

.home-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .home-video-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

.home-video-grid__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.home-video-grid__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0.875rem;
    background: #0f172a;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.home-video-grid__iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.home-video-grid__poster {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.home-video-grid__poster:disabled {
    cursor: not-allowed;
}

.home-video-grid__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-video-grid__poster:hover:not(:disabled) img {
    transform: scale(1.04);
}

.home-video-grid__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.55) 100%);
    transition: background 0.25s ease;
}

.home-video-grid__poster:hover:not(:disabled) .home-video-grid__shade {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.65) 100%);
}

.home-video-grid__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 768px) {
    .home-video-grid__play {
        width: 3.25rem;
        height: 3.25rem;
    }
}

.home-video-grid__play svg {
    width: 1.125rem;
    height: 1.125rem;
    margin-left: 0.15rem;
}

.home-video-grid__poster:hover:not(:disabled) .home-video-grid__play {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.home-video-grid__info {
    padding: 0.75rem 0.25rem 0;
}

.home-video-grid__name {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-secondary);
}

.home-video-grid__role {
    margin-top: 0.2rem;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-video-wall__trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    background: #fff;
    text-align: center;
}

@media (min-width: 640px) {
    .home-video-wall__trust {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        align-items: center;
        gap: 1.5rem;
        text-align: center;
    }
}

.home-video-wall__trust-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.home-video-wall__trust-value {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-secondary);
}

.home-video-wall__trust-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
}

.home-video-wall__trust-divider {
    display: none;
    width: 1px;
    height: 2.5rem;
    background: var(--color-border);
}

@media (min-width: 640px) {
    .home-video-wall__trust-divider {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-video-grid__poster:hover:not(:disabled) img,
    .home-video-grid__poster:hover:not(:disabled) .home-video-grid__play {
        transform: none;
    }
}

/* Industries atlas — asymmetric sector explorer */
.home-industries-atlas {
    position: relative;
    overflow: hidden;
    padding-block: 4.5rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #f8fafc 45%, #f0f9ff 100%);
}

@media (min-width: 1024px) {
    .home-industries-atlas {
        padding-block: 6rem;
    }
}

.home-industries-atlas__mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(16, 185, 129, 0.14), transparent 42%),
        radial-gradient(circle at 88% 72%, rgba(14, 165, 233, 0.1), transparent 38%),
        radial-gradient(circle at 55% 100%, rgba(124, 58, 237, 0.06), transparent 45%);
    pointer-events: none;
}

.home-industries-atlas__layout {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .home-industries-atlas__layout {
        grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
        gap: 3.5rem;
        align-items: start;
    }
}

.home-industries-atlas__sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
}

@media (min-width: 1024px) {
    .home-industries-atlas__sidebar {
        position: sticky;
        top: 6rem;
    }
}

.home-industries-atlas__title {
    margin-top: 0.875rem;
    font-size: clamp(1.75rem, 3.5vw, 2.375rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--color-secondary);
}

.home-industries-atlas__lead {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--home-text);
}

.home-industries-atlas__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-secondary);
    transition: color 0.15s ease, gap 0.2s ease;
}

.home-industries-atlas__cta svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s ease;
}

.home-industries-atlas__cta:hover {
    color: var(--color-primary);
    gap: 0.65rem;
}

.home-industries-atlas__cta:hover svg {
    transform: translateX(2px);
}

.home-industries-atlas__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
}

@media (min-width: 1024px) {
    .home-industries-atlas__filters {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0.375rem;
        margin-top: 2.5rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
    }
}

.home-industries-atlas__filter {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.8125rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 1024px) {
    .home-industries-atlas__filter {
        border-radius: 0.625rem;
        justify-content: flex-start;
    }
}

.home-industries-atlas__filter:hover {
    border-color: rgba(15, 23, 42, 0.14);
    color: var(--color-secondary);
    background: #fff;
}

.home-industries-atlas__filter.is-active {
    color: var(--color-secondary);
    background: #fff;
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.home-industries-atlas__filter.is-active[data-accent="emerald"] {
    border-color: color-mix(in srgb, var(--color-primary) 35%, transparent);
    background: color-mix(in srgb, var(--color-primary) 6%, white);
}

.home-industries-atlas__filter.is-active[data-accent="sky"] {
    border-color: rgba(14, 165, 233, 0.35);
    background: rgba(14, 165, 233, 0.06);
}

.home-industries-atlas__filter.is-active[data-accent="violet"] {
    border-color: rgba(124, 58, 237, 0.35);
    background: rgba(124, 58, 237, 0.06);
}

.home-industries-atlas__filter-dot {
    flex-shrink: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: #cbd5e1;
}

.home-industries-atlas__filter-dot--all {
    background: linear-gradient(135deg, var(--color-primary), #0ea5e9, #7c3aed);
}

.home-industries-atlas__filter-dot[data-accent="emerald"] {
    background: var(--color-primary);
}

.home-industries-atlas__filter-dot[data-accent="sky"] {
    background: #0ea5e9;
}

.home-industries-atlas__filter-dot[data-accent="violet"] {
    background: #7c3aed;
}

.home-industries-atlas__filter-count {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
}

.home-industries-atlas__filter.is-active .home-industries-atlas__filter-count {
    color: #64748b;
}

.home-industries-atlas__main {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}

.home-industries-atlas__hero {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 1.25rem;
    min-height: 16rem;
    text-decoration: none;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-industries-atlas__hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.16);
}

.home-industries-atlas__hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-industries-atlas__hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.55) 55%, rgba(15, 23, 42, 0.35) 100%);
}

.home-industries-atlas__hero[data-accent="emerald"] .home-industries-atlas__hero-shade {
    background: linear-gradient(105deg, rgba(6, 78, 59, 0.9) 0%, rgba(15, 23, 42, 0.6) 60%, rgba(15, 23, 42, 0.35) 100%);
}

.home-industries-atlas__hero[data-accent="sky"] .home-industries-atlas__hero-shade {
    background: linear-gradient(105deg, rgba(12, 74, 110, 0.9) 0%, rgba(15, 23, 42, 0.6) 60%, rgba(15, 23, 42, 0.35) 100%);
}

.home-industries-atlas__hero[data-accent="violet"] .home-industries-atlas__hero-shade {
    background: linear-gradient(105deg, rgba(76, 29, 149, 0.88) 0%, rgba(15, 23, 42, 0.6) 60%, rgba(15, 23, 42, 0.35) 100%);
}

.home-industries-atlas__hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 16rem;
    padding: 2rem;
    color: #fff;
}

@media (min-width: 768px) {
    .home-industries-atlas__hero-content {
        min-height: 18rem;
        padding: 2.5rem;
    }
}

.home-industries-atlas__hero-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.home-industries-atlas__hero-icon {
    margin-top: 1rem;
    font-size: 2rem;
    line-height: 1;
}

.home-industries-atlas__hero-title {
    margin-top: 0.75rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.home-industries-atlas__hero-text {
    margin-top: 0.625rem;
    max-width: 32rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.home-industries-atlas__hero-link {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    opacity: 0.9;
}

.home-industries-atlas__bento {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .home-industries-atlas__bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .home-industries-atlas__bento {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.125rem;
    }
}

.home-industries-atlas__tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.25rem 1.125rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-industries-atlas__tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: #e2e8f0;
    transition: background 0.25s ease;
}

.home-industries-atlas__tile[data-accent="emerald"]::before {
    background: var(--color-primary);
}

.home-industries-atlas__tile[data-accent="sky"]::before {
    background: #0ea5e9;
}

.home-industries-atlas__tile[data-accent="violet"]::before {
    background: #7c3aed;
}

.home-industries-atlas__tile:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 23, 42, 0.06);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.home-industries-atlas__tile-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.home-industries-atlas__tile-body {
    flex: 1;
    min-width: 0;
}

.home-industries-atlas__tile-category {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
}

.home-industries-atlas__tile-title {
    margin-top: 0.375rem;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-secondary);
}

.home-industries-atlas__tile-text {
    margin-top: 0.375rem;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-industries-atlas__tile-arrow {
    align-self: flex-end;
    font-size: 1.125rem;
    font-weight: 500;
    color: #cbd5e1;
    transition: color 0.2s ease, transform 0.2s ease;
}

.home-industries-atlas__tile:hover .home-industries-atlas__tile-arrow {
    color: var(--color-primary);
    transform: translateX(3px);
}

.home-industries-atlas__marquee {
    margin-top: 3rem;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.home-industries-atlas__marquee-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: home-industries-atlas-marquee 45s linear infinite;
}

.home-industries-atlas__marquee-item {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.28);
    white-space: nowrap;
}

.home-industries-atlas__marquee-item::after {
    content: '·';
    margin-left: 2.5rem;
    color: rgba(15, 23, 42, 0.15);
}

@keyframes home-industries-atlas-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .home-industries-atlas__hero:hover,
    .home-industries-atlas__tile:hover {
        transform: none;
    }

    .home-industries-atlas__marquee-track {
        animation: none;
    }
}

.home-quote-card {
    height: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--home-radius);
    background: #fff;
    padding: 2rem;
    box-shadow: var(--home-shadow);
    text-align: center;
}

@media (min-width: 768px) {
    .home-quote-card {
        padding: 2.5rem 3rem;
    }
}

.home-quote-card__text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-secondary);
}

.home-quote-card__footer {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.home-cta-panel {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--home-radius);
    background: #fff;
    box-shadow: var(--home-shadow);
}

@media (min-width: 1024px) {
    .home-cta-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.home-cta-panel__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
}

@media (min-width: 1024px) {
    .home-cta-panel__content {
        padding: 3.5rem;
    }
}

.home-cta-panel__media {
    position: relative;
    min-height: 18rem;
    background: var(--home-bg-muted);
}

@media (min-width: 1024px) {
    .home-cta-panel__media {
        min-height: 100%;
    }
}

.home-cta-panel__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-checklist {
    margin-top: 1.75rem;
    list-style: none;
    padding: 0;
}

.home-checklist li {
    position: relative;
    padding-left: 1.125rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--home-text);
}

.home-checklist li + li {
    margin-top: 0.5rem;
}

.home-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 0.3125rem;
    height: 0.3125rem;
    border-radius: 9999px;
    background: var(--color-primary);
}

.home-faq {
    border-top: 1px solid var(--color-border);
}

.home-faq--panel {
    border: 1px solid var(--color-border);
    border-radius: var(--home-radius);
    background: #fff;
    box-shadow: var(--home-shadow);
    overflow: hidden;
}

.home-faq--panel .home-faq__item:first-child {
    border-top: none;
}

.home-faq__item {
    border-top: 1px solid var(--color-border);
}

.home-faq__trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 1.5rem;
    text-align: left;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-secondary);
}

.home-faq__icon {
    flex-shrink: 0;
    width: 1.5rem;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1;
    color: var(--home-text-muted);
}

.home-faq__answer {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--home-text);
}

.home-btn {
    border-radius: var(--home-radius) !important;
}

.home-hero-collage-main,
.home-hero-collage-cell {
    border-radius: var(--home-radius);
}

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

/* Booking wizard — premium scheduling desk */
.book-hero {
    position: relative;
    overflow: hidden;
    color: #ecfdf5;
    background:
        radial-gradient(ellipse 80% 60% at 12% -10%, rgb(20 184 166 / 0.28), transparent 55%),
        radial-gradient(ellipse 70% 50% at 90% 10%, rgb(4 120 87 / 0.45), transparent 50%),
        linear-gradient(160deg, #042f2e 0%, #064e3b 42%, #0f172a 100%);
    padding: 2.5rem 0 3.25rem;
}

.book-hero--confirm {
    padding-bottom: 3.5rem;
}

.book-hero__glow {
    position: absolute;
    inset: auto -10% -40% 40%;
    height: 18rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgb(45 212 191 / 0.22), transparent 70%);
    pointer-events: none;
}

.book-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
    pointer-events: none;
    opacity: 0.55;
}

.book-hero__inner {
    position: relative;
    z-index: 1;
}

.book-hero__crumbs {
    margin: 0 0 1.75rem !important;
    padding: 0 !important;
}

.book-hero__crumbs nav,
.book-hero__crumbs a,
.book-hero__crumbs span {
    color: rgb(167 243 208 / 0.85) !important;
}

.book-hero__content {
    max-width: 42rem;
}

.book-hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #5eead4;
}

.book-hero__title {
    margin-top: 0.75rem;
    font-size: clamp(2.15rem, 5vw, 3.35rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: #fff;
}

.book-hero__title--sm {
    font-size: clamp(1.85rem, 4vw, 2.65rem);
}

.book-hero__lead {
    margin-top: 1rem;
    max-width: 36rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgb(204 251 241 / 0.88);
}

.book-hero__stats {
    display: grid;
    gap: 0.85rem;
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .book-hero__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.book-hero__stats li {
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: 1rem;
    background: rgb(255 255 255 / 0.05);
    padding: 0.95rem 1rem;
    backdrop-filter: blur(8px);
}

.book-hero__stats strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.book-hero__stats span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.78rem;
    color: rgb(167 243 208 / 0.8);
}

.book-confirm-hero {
    max-width: 40rem;
    margin-inline: auto;
    text-align: center;
}

.book-confirm-hero .booking-confirm-icon {
    margin-inline: auto;
}

.book-stage {
    position: relative;
    margin-top: -1.5rem;
    padding: 0 0 4.5rem;
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgb(16 185 129 / 0.08), transparent 60%),
        linear-gradient(180deg, #f0fdf9 0%, #f8fafc 28%, #fff 100%);
}

.booking-shell {
    max-width: 74rem;
    margin-inline: auto;
}

.booking-layout {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 1100px) {
    .booking-layout {
        grid-template-columns: minmax(0, 1fr) 21rem;
        gap: 1.75rem;
    }
}

.booking-panel {
    border: 1px solid rgb(15 118 110 / 0.12);
    border-radius: 1.5rem;
    background: rgb(255 255 255 / 0.92);
    padding: 1.35rem;
    box-shadow:
        0 1px 0 rgb(255 255 255 / 0.8) inset,
        0 18px 50px -28px rgb(15 118 110 / 0.35),
        0 8px 24px -18px rgb(15 23 42 / 0.18);
    backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
    .booking-panel {
        padding: 1.85rem 2rem 2rem;
    }
}

.booking-progress__track {
    height: 4px;
    overflow: hidden;
    border-radius: 9999px;
    background: #e2e8f0;
}

.booking-progress__bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0f766e, #14b8a6);
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.booking-progress__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 1.15rem 0 0;
    padding: 0;
    list-style: none;
}

.booking-progress__hit {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: default;
}

.booking-progress__step.is-complete .booking-progress__hit:not(:disabled) {
    cursor: pointer;
}

.booking-progress__dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.05rem;
    height: 2.05rem;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    background: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.booking-progress__step.is-active .booking-progress__dot,
.booking-progress__step.is-complete .booking-progress__dot {
    border-color: #0f766e;
    background: #ecfdf5;
    color: #0f766e;
}

.booking-progress__step.is-complete .booking-progress__dot {
    background: #0f766e;
    color: #fff;
}

.booking-progress__label {
    font-size: 0.68rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}

.booking-progress__step.is-active .booking-progress__label {
    color: #0f172a;
}

.booking-step-head {
    margin-top: 1.75rem;
}

.booking-step-head--split {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .booking-step-head--split {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.booking-step-head__title {
    font-size: clamp(1.3rem, 2.4vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.booking-step-head__lead {
    margin-top: 0.45rem;
    font-size: 0.94rem;
    line-height: 1.65;
    color: #475569;
}

.booking-type-grid {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.35rem;
}

@media (min-width: 720px) {
    .booking-type-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.booking-type-card {
    --type-accent: #0f766e;
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 1.15rem;
    background: linear-gradient(180deg, #fff, #f8fafc);
    padding: 0;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.booking-type-card:hover {
    border-color: color-mix(in srgb, var(--type-accent) 35%, transparent);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -24px rgb(15 23 42 / 0.35);
}

.booking-type-card.is-selected {
    border-color: var(--type-accent);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--type-accent) 35%, transparent),
        0 18px 36px -24px color-mix(in srgb, var(--type-accent) 55%, transparent);
}

.booking-type-card__accent {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
}

.booking-type-card__body {
    padding: 1.2rem 1.2rem 1.2rem 1.4rem;
}

.booking-type-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.booking-type-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.booking-type-card__duration {
    flex-shrink: 0;
    border-radius: 9999px;
    background: #ecfdf5;
    padding: 0.28rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #0f766e;
}

.booking-type-card__text {
    margin-top: 0.55rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #475569;
}

.booking-type-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.95rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f766e;
}

.booking-type-card__cta svg {
    width: 0.95rem;
    height: 0.95rem;
}

.booking-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.booking-field--timezone {
    min-width: min(100%, 17rem);
}

.booking-field__label {
    font-size: 0.8rem;
    font-weight: 650;
    color: #0f172a;
}

.booking-field__optional {
    margin-left: 0.25rem;
    font-weight: 500;
    color: #94a3b8;
}

.booking-field__error {
    margin: 0;
    font-size: 0.75rem;
    color: #b91c1c;
}

.booking-field.has-error .booking-input {
    border-color: #fca5a5;
}

.booking-input,
.booking-select {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    background: #fff;
    padding: 0.85rem 1rem;
    font-size: 0.94rem;
    color: #0f172a;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.booking-input:focus,
.booking-select:focus {
    outline: none;
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgb(15 118 110 / 0.12);
}

.booking-input--textarea {
    min-height: 7rem;
    resize: vertical;
}

.booking-form {
    margin-top: 1.35rem;
}

.booking-form__grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .booking-form__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.booking-form .booking-field + .booking-field,
.booking-form__grid + .booking-field {
    margin-top: 1rem;
}

.booking-schedule {
    display: grid;
    gap: 1rem;
    margin-top: 1.35rem;
}

@media (min-width: 900px) {
    .booking-schedule {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 1.25rem;
        align-items: start;
    }
}

.booking-calendar {
    border: 1px solid #e2e8f0;
    border-radius: 1.15rem;
    background: #fff;
    padding: 1rem;
}

@media (min-width: 640px) {
    .booking-calendar {
        padding: 1.15rem;
    }
}

.booking-calendar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.booking-calendar__month {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.booking-calendar__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    background: #fff;
    color: #0f172a;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.booking-calendar__nav:hover {
    border-color: #0f766e;
    background: #ecfdf5;
}

.booking-calendar__weekdays,
.booking-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.3rem;
}

.booking-calendar__weekdays {
    margin-bottom: 0.4rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #94a3b8;
    text-align: center;
}

.booking-calendar__day {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-height: 3rem;
    border: 1px solid transparent;
    border-radius: 0.8rem;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 600;
    color: #cbd5e1;
    cursor: default;
}

.booking-calendar__day.is-outside {
    opacity: 0.4;
}

.booking-calendar__day.is-available {
    color: #0f172a;
    cursor: pointer;
    background: #f8fafc;
}

.booking-calendar__day.is-available:hover {
    border-color: rgb(15 118 110 / 0.25);
    background: #ecfdf5;
}

.booking-calendar__day.is-selected {
    border-color: #0f766e;
    background: #0f766e;
    color: #fff;
}

.booking-calendar__day.is-selected .booking-calendar__count {
    background: rgb(255 255 255 / 0.22);
    color: #fff;
}

.booking-calendar__day.is-today:not(.is-selected) {
    border-color: #cbd5e1;
}

.booking-calendar__count {
    min-width: 1.1rem;
    border-radius: 999px;
    background: #ccfbf1;
    padding: 0 0.28rem;
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1.15rem;
    color: #0f766e;
}

.booking-times {
    border: 1px solid #e2e8f0;
    border-radius: 1.15rem;
    background: linear-gradient(180deg, #fff, #f8fafc);
    padding: 1rem 1rem 1.15rem;
    min-height: 18rem;
}

.booking-times__placeholder {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
}

.booking-times__date {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.booking-times__meta {
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
    color: #64748b;
}

.booking-time-groups {
    display: grid;
    gap: 1.15rem;
    margin-top: 1rem;
    max-height: 26rem;
    overflow: auto;
    padding-right: 0.25rem;
}

.booking-time-group__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.booking-time-group__label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.booking-time-group__hint {
    font-size: 0.7rem;
    color: #94a3b8;
}

.booking-time-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.55rem;
}

@media (min-width: 520px) {
    .booking-time-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.booking-time-slot {
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    background: #fff;
    padding: 0.78rem 0.55rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: #0f172a;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.booking-time-slot:hover {
    border-color: rgb(15 118 110 / 0.35);
    transform: translateY(-1px);
}

.booking-time-slot.is-selected {
    border-color: #0f766e;
    background: #0f766e;
    color: #fff;
}

.booking-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 1.35rem;
    border-top: 1px solid #e2e8f0;
}

.booking-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    border-radius: 9999px;
    padding: 0.75rem 1.45rem;
    font-size: 0.875rem;
    font-weight: 700;
    transition: opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.booking-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.booking-btn--primary {
    border: none;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #fff;
    box-shadow: 0 12px 28px -16px rgb(15 118 110 / 0.75);
}

.booking-btn--primary:hover:not(:disabled) {
    transform: translateY(-1px);
}

.booking-btn--ghost {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #0f172a;
}

.booking-btn--ghost:hover:not(:disabled) {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.booking-btn__loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.booking-btn__spinner {
    width: 0.95rem;
    height: 0.95rem;
    border: 2px solid rgb(255 255 255 / 0.35);
    border-top-color: #fff;
    border-radius: 999px;
    animation: booking-spin 0.7s linear infinite;
}

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

.booking-summary {
    position: sticky;
    top: 5.5rem;
}

.booking-summary__card {
    border: 1px solid rgb(15 118 110 / 0.14);
    border-radius: 1.5rem;
    background:
        radial-gradient(ellipse 80% 50% at 100% 0%, rgb(20 184 166 / 0.12), transparent 55%),
        linear-gradient(180deg, #fff, #f8fafc);
    padding: 1.4rem;
    box-shadow: 0 18px 40px -28px rgb(15 118 110 / 0.4);
}

.booking-summary__host {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid #e2e8f0;
}

.booking-summary__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
}

.booking-summary__kicker {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0f766e;
}

.booking-summary__host-name {
    margin: 0.15rem 0 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.booking-summary__placeholder {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #64748b;
}

.booking-summary__list {
    margin: 0;
}

.booking-summary__item + .booking-summary__item {
    margin-top: 0.95rem;
    padding-top: 0.95rem;
    border-top: 1px solid #e2e8f0;
}

.booking-summary__item dt {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.booking-summary__item dd {
    margin-top: 0.25rem;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.45;
    color: #0f172a;
}

.booking-summary__tz {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.74rem;
    font-weight: 500;
    color: #64748b;
}

.booking-summary__trust {
    margin: 1.25rem 0 0;
    padding: 1rem 0 0;
    border-top: 1px solid #e2e8f0;
    list-style: none;
}

.booking-summary__trust li {
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #334155;
}

.booking-summary__trust li + li {
    margin-top: 0.45rem;
}

.booking-summary__trust li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 9999px;
    background: #14b8a6;
}

.booking-summary__assurance {
    margin-top: 1.15rem;
    border-radius: 1rem;
    background: #042f2e;
    padding: 0.95rem 1rem;
    color: #ecfdf5;
}

.booking-summary__assurance strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
}

.booking-summary__assurance span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    line-height: 1.55;
    color: rgb(167 243 208 / 0.88);
}

.booking-alert {
    margin-top: 1.15rem;
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.booking-alert--error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.booking-alert--success {
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
    color: #065f46;
}

.booking-alert--success strong {
    display: block;
    margin-bottom: 0.25rem;
}

.booking-empty {
    margin-top: 1.35rem;
    border: 1px dashed #cbd5e1;
    border-radius: 1rem;
    background: #fff;
    padding: 2rem 1.35rem;
    text-align: center;
}

.booking-empty--compact {
    margin-top: 1rem;
    padding: 1.35rem 1rem;
}

.booking-empty__title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.booking-empty__text {
    margin-top: 0.45rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #475569;
}

.booking-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 1.35rem;
}

.booking-skeleton-grid--times {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1rem;
}

.booking-skeleton {
    height: 2.75rem;
    border-radius: 0.85rem;
    background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
    background-size: 200% 100%;
    animation: booking-shimmer 1.4s ease infinite;
}

@keyframes booking-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.booking-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.booking-confirm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 9999px;
    background: rgb(20 184 166 / 0.16);
    color: #5eead4;
    border: 1px solid rgb(94 234 212 / 0.3);
}

.booking-confirm-layout {
    display: grid;
    gap: 1.25rem;
    max-width: 58rem;
    margin-inline: auto;
}

@media (min-width: 1024px) {
    .booking-confirm-layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 1.5rem;
    }
}

.booking-confirm-card,
.booking-confirm-next {
    border: 1px solid rgb(15 118 110 / 0.12);
    border-radius: 1.5rem;
    background: #fff;
    padding: 1.75rem;
    box-shadow: 0 18px 40px -28px rgb(15 118 110 / 0.35);
}

.booking-confirm-details {
    display: grid;
    gap: 1rem;
    margin-top: 1.35rem;
}

@media (min-width: 640px) {
    .booking-confirm-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.booking-confirm-details dt {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.booking-confirm-details dd {
    margin-top: 0.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.booking-confirm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.booking-next-steps {
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: booking-step;
}

.booking-next-steps li {
    position: relative;
    padding-left: 2.5rem;
}

.booking-next-steps li + li {
    margin-top: 1.15rem;
}

.booking-next-steps li::before {
    counter-increment: booking-step;
    content: counter(booking-step);
    position: absolute;
    left: 0;
    top: 0.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 9999px;
    background: #ecfdf5;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f766e;
}

.booking-next-steps strong {
    display: block;
    font-size: 0.94rem;
    color: #0f172a;
}

.booking-next-steps span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #475569;
}

.booking-confirm-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.15rem;
    margin-top: 1.75rem;
    padding-top: 1.35rem;
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 1099px) {
    .booking-summary {
        order: -1;
        position: static;
    }
}

/* Blog */
.blog-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 9999px;
    background: #fff;
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.blog-chip:hover,
.blog-chip.is-active {
    border-color: color-mix(in srgb, var(--color-primary) 30%, transparent);
    background: color-mix(in srgb, var(--color-primary) 6%, white);
    color: var(--color-primary);
}

.blog-category-panel {
    border: 1px solid var(--color-border);
    border-radius: calc(var(--home-radius) + 0.25rem);
    background: #fff;
    padding: 1.5rem;
    box-shadow: var(--home-shadow);
}

.blog-category-panel__label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.blog-category-panel__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.blog-featured {
    display: grid;
    gap: 2rem;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: calc(var(--home-radius) + 0.25rem);
    background: #fff;
    box-shadow: var(--home-shadow);
}

@media (min-width: 1024px) {
    .blog-featured {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        align-items: center;
    }
}

.blog-featured__media {
    display: block;
    min-height: 16rem;
    background: var(--home-bg-muted);
}

.blog-featured__image,
.blog-featured__placeholder {
    width: 100%;
    height: 100%;
    min-height: 16rem;
    object-fit: cover;
}

.blog-featured__placeholder {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.blog-featured__body {
    padding: 1.5rem;
}

@media (min-width: 1024px) {
    .blog-featured__body {
        padding: 2rem 2.5rem 2rem 0;
    }
}

.blog-featured__title {
    margin-top: 0.75rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.blog-featured__title a {
    color: var(--color-secondary);
    text-decoration: none;
}

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

.blog-featured__excerpt {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--home-text);
}

.blog-featured__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-top: 1.25rem;
    font-size: 0.8125rem;
    color: var(--home-text-muted);
}

.blog-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: calc(var(--home-radius) + 0.125rem);
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--home-shadow);
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.blog-card:hover {
    border-color: color-mix(in srgb, var(--color-primary) 25%, transparent);
    transform: translateY(-2px);
}

.blog-card__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--home-bg-muted);
}

.blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__image {
    transform: scale(1.03);
}

.blog-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    font-size: 2rem;
    font-weight: 700;
    color: color-mix(in srgb, var(--color-primary) 35%, white);
}

.blog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem;
}

.blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    font-size: 0.75rem;
    color: var(--home-text-muted);
}

.blog-card__category {
    font-weight: 600;
    color: var(--color-primary);
}

.blog-card__title {
    margin-top: 0.75rem;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-secondary);
    transition: color 0.15s ease;
}

.blog-card:hover .blog-card__title {
    color: var(--color-primary);
}

.blog-card__excerpt {
    margin-top: 0.625rem;
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--home-text);
}

.blog-card__action {
    margin-top: 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
}

.blog-pagination {
    margin-top: 3rem;
}

.blog-empty {
    border: 1px dashed #cbd5e1;
    border-radius: var(--home-radius);
    padding: 3rem 1.5rem;
    text-align: center;
}

.blog-empty__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.blog-empty__text {
    margin-top: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--home-text);
}

.blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: var(--home-text-muted);
}

.blog-article-title {
    margin-top: 1rem;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--color-secondary);
}

.blog-article-deck {
    margin-top: 1.25rem;
    max-width: 42rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--home-text);
}

.blog-article-hero {
    overflow: hidden;
    border-radius: calc(var(--home-radius) + 0.25rem);
    border: 1px solid var(--color-border);
    box-shadow: var(--home-shadow);
}

.blog-article-hero__image {
    width: 100%;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

.blog-article-layout {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .blog-article-layout {
        grid-template-columns: minmax(0, 1fr) 18rem;
        gap: 3rem;
    }
}

.blog-article-content {
    min-width: 0;
}

.blog-prose {
    max-width: none;
}

.blog-tags,
.blog-share {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.blog-tags__label,
.blog-share__label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--home-text-muted);
}

.blog-tags__list,
.blog-share__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.875rem;
}

.blog-share__btn {
    border: 1px solid var(--color-border);
    border-radius: 9999px;
    background: #fff;
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.blog-share__btn:hover {
    border-color: color-mix(in srgb, var(--color-primary) 30%, transparent);
    background: color-mix(in srgb, var(--color-primary) 5%, white);
}

.blog-article-aside {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 6rem;
}

.blog-aside-card {
    border: 1px solid var(--color-border);
    border-radius: var(--home-radius);
    background: #fff;
    padding: 1.25rem;
    box-shadow: var(--home-shadow);
}

.blog-aside-card__kicker {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.blog-aside-card__text {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--home-text);
}

.blog-related-list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.blog-related-list li + li {
    margin-top: 0.875rem;
    padding-top: 0.875rem;
    border-top: 1px solid var(--color-border);
}

.blog-related-list__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-related-list__title {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--color-secondary);
}

.blog-related-list__link:hover .blog-related-list__title {
    color: var(--color-primary);
}

.blog-related-list time {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--home-text-muted);
}

@media (max-width: 1023px) {
    .blog-article-aside {
        position: static;
    }
}

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

    .blog-card:hover .blog-card__image {
        transform: none;
    }
}

/* ── Locations module ─────────────────────────────────────────────── */

.location-state-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 640px) {
    .location-state-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.location-state-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 1.25rem 1rem;
    border-radius: var(--home-radius-lg, 1rem);
    border: 1px solid var(--home-border, #e2e8f0);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.location-state-tile:hover {
    border-color: var(--home-accent, #0ea5e9);
    box-shadow: 0 8px 24px rgb(15 23 42 / 0.08);
    transform: translateY(-2px);
}

.location-state-tile[data-accent="sky"]:hover { border-color: #0ea5e9; }
.location-state-tile[data-accent="emerald"]:hover { border-color: #10b981; }
.location-state-tile[data-accent="amber"]:hover { border-color: #f59e0b; }
.location-state-tile[data-accent="violet"]:hover { border-color: #8b5cf6; }
.location-state-tile[data-accent="rose"]:hover { border-color: #f43f5e; }
.location-state-tile[data-accent="teal"]:hover { border-color: #14b8a6; }
.location-state-tile[data-accent="orange"]:hover { border-color: #f97316; }
.location-state-tile[data-accent="indigo"]:hover { border-color: #6366f1; }

.location-state-tile__abbr {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--home-text, #0f172a);
}

.location-state-tile__name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--home-text-muted, #64748b);
}

.location-state-tile__count {
    font-size: 0.75rem;
    color: var(--home-text-muted, #94a3b8);
    margin-top: auto;
}

.location-explorer-layout {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .location-explorer-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
        align-items: start;
    }
}

.location-explorer {
    background: #fff;
    border: 1px solid var(--home-border, #e2e8f0);
    border-radius: var(--home-radius-lg, 1rem);
    padding: 1rem;
    box-shadow: 0 4px 24px rgb(15 23 42 / 0.04);
}

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

.location-explorer__search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--home-border, #e2e8f0);
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    background: var(--home-bg-muted, #f8fafc);
}

.location-explorer__search-input:focus {
    outline: 2px solid var(--home-accent, #0ea5e9);
    outline-offset: 0;
    border-color: transparent;
}

.location-explorer__tree {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 32rem;
    overflow-y: auto;
}

.location-explorer__state-trigger,
.location-explorer__city-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1rem;
    text-align: left;
    border: none;
    background: var(--home-bg-muted, #f8fafc);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background 0.15s;
}

.location-explorer__state-trigger:hover,
.location-explorer__city-trigger:hover {
    background: #eef2ff;
}

.location-explorer__state-icon {
    display: flex;
    color: var(--home-accent, #0ea5e9);
}

.location-explorer__state-text {
    flex: 1;
    min-width: 0;
}

.location-explorer__state-name,
.location-explorer__city-name {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--home-text, #0f172a);
}

.location-explorer__state-meta,
.location-explorer__city-meta {
    display: block;
    font-size: 0.75rem;
    color: var(--home-text-muted, #64748b);
}

.location-explorer__chevron {
    font-size: 1.25rem;
    color: var(--home-text-muted, #94a3b8);
    transition: transform 0.2s;
}

.location-explorer__chevron.is-open {
    transform: rotate(90deg);
}

.location-explorer__chevron--sm {
    font-size: 1rem;
}

.location-explorer__panel {
    padding: 0.5rem 0 0.5rem 2.5rem;
}

.location-explorer__hub-link,
.location-explorer__city-link {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--home-accent, #0ea5e9);
    margin-bottom: 0.5rem;
}

.location-explorer__city {
    margin-bottom: 0.25rem;
}

.location-explorer__city-trigger {
    padding: 0.625rem 0.75rem;
    background: transparent;
    border-radius: 0.5rem;
}

.location-explorer__towns {
    padding: 0.25rem 0 0.5rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.location-explorer__town-link {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    border-radius: 9999px;
    background: var(--home-bg-muted, #f1f5f9);
    color: var(--home-text, #334155);
    transition: background 0.15s, color 0.15s;
}

.location-explorer__town-link:hover {
    background: var(--home-accent, #0ea5e9);
    color: #fff;
}

.location-area-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.location-area-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid var(--home-border, #e2e8f0);
    background: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.location-area-chip:hover {
    border-color: var(--home-accent, #0ea5e9);
    box-shadow: 0 2px 8px rgb(14 165 233 / 0.15);
}

.location-area-chip__type {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--home-text-muted, #64748b);
}

.location-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: var(--home-radius-lg, 1rem);
    border: 1px solid var(--home-border, #e2e8f0);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.location-card:hover {
    border-color: var(--home-accent, #0ea5e9);
    box-shadow: 0 8px 24px rgb(15 23 42 / 0.08);
    transform: translateY(-2px);
}

.location-card__badge {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--home-accent, #0ea5e9);
    margin-bottom: 0.5rem;
}

.location-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--home-text, #0f172a);
}

.location-card__text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--home-text-muted, #64748b);
    flex: 1;
}

.location-card__action {
    margin-top: 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--home-accent, #0ea5e9);
}

@media (prefers-reduced-motion: reduce) {
    .location-state-tile:hover,
    .location-card:hover {
        transform: none;
    }
}

.location-city-directory {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.location-city-group__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--home-border, #e2e8f0);
}

.location-city-group__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--home-text, #0f172a);
}

.location-city-group__title a:hover {
    color: var(--home-accent, #0ea5e9);
}

.location-city-group__all {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--home-accent, #0ea5e9);
    white-space: nowrap;
}

.location-city-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .location-city-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .location-city-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.location-city-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.125rem;
    border-radius: 0.75rem;
    border: 1px solid var(--home-border, #e2e8f0);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.location-city-card:hover {
    border-color: var(--home-accent, #0ea5e9);
    box-shadow: 0 4px 16px rgb(14 165 233 / 0.12);
    transform: translateY(-1px);
}

.location-city-card__name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--home-text, #0f172a);
}

.location-city-card__meta {
    font-size: 0.75rem;
    color: var(--home-text-muted, #64748b);
}

.location-city-card__action {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--home-accent, #0ea5e9);
}

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

/* ==========================================================================
   Detail pages — immersive heroes, timelines, rails, comparisons
   ========================================================================== */

.detail-hero--immersive {
    position: relative;
    isolation: isolate;
    min-height: clamp(22rem, 58vw, 32rem);
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
}

.detail-hero__media {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.detail-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.detail-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgb(15 23 42 / 0.35) 0%, rgb(15 23 42 / 0.78) 55%, rgb(15 23 42 / 0.92) 100%),
        linear-gradient(90deg, rgb(4 120 87 / 0.35) 0%, transparent 55%);
}

.detail-hero__inner {
    width: 100%;
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.detail-hero__title {
    max-width: 18ch;
    font-size: clamp(2rem, 5.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
}

.detail-hero__title--dark {
    color: var(--color-secondary);
}

.detail-hero__lead {
    margin-top: 1rem;
    max-width: 38rem;
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    line-height: 1.65;
    color: rgb(255 255 255 / 0.88);
}

.detail-hero__lead--dark {
    color: var(--color-muted);
}

.detail-hero--immersive .home-kicker {
    color: #5eead4;
}

.detail-hero--immersive .home-btn {
    box-shadow: 0 8px 28px rgb(0 0 0 / 0.25);
}

.detail-hero--immersive .home-text-link {
    color: #fff;
    border-bottom-color: rgb(255 255 255 / 0.45);
}

.detail-hero--immersive .home-text-link:hover {
    border-bottom-color: #fff;
}

.detail-hero__crumbs :is(a, span, nav) {
    color: rgb(255 255 255 / 0.75);
}

.detail-hero__crumbs a:hover {
    color: #fff;
}

.detail-hero--split {
    padding-block: clamp(2rem, 5vw, 3.5rem);
    background:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgb(4 120 87 / 0.08), transparent 55%),
        linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-bottom: 1px solid var(--color-border);
}

.detail-hero__split-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .detail-hero__split-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 3.5rem;
    }
}

.detail-hero__figure {
    margin: 0;
    border-radius: 1.25rem;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    max-height: 32rem;
    box-shadow:
        0 24px 48px rgb(15 23 42 / 0.12),
        0 0 0 1px rgb(15 23 42 / 0.04);
}

.detail-hero__figure-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.detail-hero--split .detail-hero__title {
    max-width: 14ch;
}

/* Overlap stats onto immersive hero */
.detail-stats-overlap {
    margin-top: -2.5rem;
    position: relative;
    z-index: 2;
    padding-bottom: 0;
}

.detail-stats-overlap .home-section {
    padding-block: 0;
}

.detail-stats-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--color-border);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 18px 40px rgb(15 23 42 / 0.1);
}

@media (min-width: 768px) {
    .detail-stats-panel {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.detail-stats-panel__item {
    background: #fff;
    padding: 1.25rem 1rem;
    text-align: center;
}

@media (min-width: 640px) {
    .detail-stats-panel__item {
        padding: 1.5rem 1.25rem;
    }
}

.detail-stats-panel__value {
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

.detail-stats-panel__label {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--color-muted);
}

/* Capability / outcome numbered rail */
.detail-rail {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 2px solid rgb(4 120 87 / 0.2);
}

.detail-rail__item {
    position: relative;
    padding: 1rem 0 1rem 1.25rem;
}

.detail-rail__item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 1.35rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 3px rgb(4 120 87 / 0.15);
}

.detail-rail__num {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.detail-rail__text {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--color-secondary);
}

/* Deliverable mosaic */
.detail-mosaic {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .detail-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .detail-mosaic {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .detail-mosaic__item:nth-child(1) { grid-column: span 7; }
    .detail-mosaic__item:nth-child(2) { grid-column: span 5; }
    .detail-mosaic__item:nth-child(3) { grid-column: span 5; }
    .detail-mosaic__item:nth-child(4) { grid-column: span 7; }

    .detail-mosaic--stack {
        grid-template-columns: 1fr;
    }

    .detail-mosaic--stack .detail-mosaic__item {
        grid-column: 1 / -1;
    }
}

.detail-mosaic__item {
    position: relative;
    padding: 1.5rem 1.5rem 1.5rem 1.75rem;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.detail-mosaic__item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
}

.detail-mosaic__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgb(15 23 42 / 0.08);
}

.detail-mosaic__index {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgb(4 120 87 / 0.18);
    margin-bottom: 0.75rem;
}

.detail-mosaic__title {
    font-size: 1.0625rem;
    font-weight: 650;
    color: var(--color-secondary);
}

.detail-mosaic__text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-muted);
}

/* Statement / use-case list */
.detail-statements {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-statements__item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.125rem;
    border-radius: 0.75rem;
    background: rgb(248 250 252 / 0.9);
    border: 1px solid transparent;
    transition: border-color 0.2s, background 0.2s;
}

.detail-statements__item:hover {
    border-color: rgb(4 120 87 / 0.25);
    background: #fff;
}

.detail-statements__mark {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: grid;
    place-items: center;
    border-radius: 0.4rem;
    background: rgb(4 120 87 / 0.1);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
}

.detail-statements__text {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--color-secondary);
    padding-top: 0.15rem;
}

/* Industry / audience chips strip (not pills — quiet tags) */
.detail-tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.detail-tags__item {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-secondary);
    padding: 0.5rem 0.875rem;
    border-bottom: 2px solid rgb(4 120 87 / 0.35);
    background: transparent;
}

/* Process timeline */
.detail-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.5rem;
    counter-reset: detail-step;
}

@media (min-width: 1024px) {
    .detail-timeline {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
        position: relative;
    }

    .detail-timeline::before {
        content: '';
        position: absolute;
        top: 1.25rem;
        left: 8%;
        right: 8%;
        height: 2px;
        background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
        opacity: 0.35;
    }
}

.detail-timeline__item {
    counter-increment: detail-step;
    text-align: left;
}

@media (min-width: 1024px) {
    .detail-timeline__item {
        text-align: center;
        padding-inline: 0.75rem;
    }
}

.detail-timeline__num {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: var(--color-secondary);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.detail-timeline__title {
    font-size: 1rem;
    font-weight: 650;
    color: var(--color-secondary);
}

.detail-timeline__text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--color-muted);
}

/* Vertical vetting timeline */
.detail-vtrack {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.detail-vtrack::before {
    content: '';
    position: absolute;
    left: 1.15rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary), rgb(4 120 87 / 0.15));
}

.detail-vtrack__item {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
    padding-block: 0.875rem;
}

.detail-vtrack__num {
    position: relative;
    z-index: 1;
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 0.8125rem;
    font-weight: 700;
}

.detail-vtrack__title {
    font-size: 0.9375rem;
    font-weight: 650;
    color: var(--color-secondary);
}

.detail-vtrack__text {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--color-muted);
}

/* Comparison table */
.detail-compare {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid var(--color-border);
    background: #fff;
}

.detail-compare thead th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--color-secondary);
    color: #fff;
}

.detail-compare thead th:nth-child(2) {
    background: var(--color-primary);
}

.detail-compare tbody th,
.detail-compare tbody td {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--color-border);
    vertical-align: top;
    line-height: 1.5;
}

.detail-compare tbody th {
    font-weight: 600;
    color: var(--color-secondary);
    background: #f8fafc;
    width: 28%;
}

.detail-compare tbody td:first-of-type {
    font-weight: 550;
    color: var(--color-primary);
}

.detail-compare-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Challenge pull-quotes */
.detail-challenges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .detail-challenges {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.detail-challenges__item {
    padding: 1.5rem 1.5rem 1.5rem 1.75rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid var(--color-border);
    position: relative;
}

.detail-challenges__item::before {
    content: '“';
    position: absolute;
    top: 0.65rem;
    left: 0.85rem;
    font-size: 2.5rem;
    line-height: 1;
    color: rgb(4 120 87 / 0.25);
    font-family: Georgia, serif;
}

.detail-challenges__text {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--color-secondary);
    font-weight: 500;
}

/* Spotlight band */
.detail-spotlight {
    position: relative;
    padding-block: clamp(3rem, 7vw, 5rem);
    background:
        linear-gradient(135deg, #0f172a 0%, #134e4a 55%, #047857 100%);
    color: #fff;
    overflow: hidden;
}

.detail-spotlight::before {
    content: '';
    position: absolute;
    inset: auto -10% -40% auto;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    background: rgb(20 184 166 / 0.2);
    filter: blur(40px);
    pointer-events: none;
}

.detail-spotlight .home-kicker {
    color: #5eead4;
}

.detail-spotlight .home-section-title,
.detail-spotlight .home-lead {
    color: #fff;
}

.detail-spotlight .home-lead {
    opacity: 0.88;
}

.detail-spotlight__grid {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .detail-spotlight__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .detail-spotlight__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.detail-spotlight__card {
    padding: 1.25rem;
    border-radius: 0.875rem;
    background: rgb(255 255 255 / 0.08);
    border: 1px solid rgb(255 255 255 / 0.12);
    backdrop-filter: blur(8px);
    transition: background 0.2s, transform 0.2s;
}

.detail-spotlight__card:hover {
    background: rgb(255 255 255 / 0.12);
    transform: translateY(-2px);
}

.detail-spotlight__card-title {
    font-size: 1rem;
    font-weight: 650;
    color: #fff;
}

.detail-spotlight__card-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgb(255 255 255 / 0.78);
}

.detail-spotlight__card-action {
    display: inline-block;
    margin-top: 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #5eead4;
}

/* Requirements callout */
.detail-callout {
    padding: 1.75rem;
    border-radius: 1.25rem;
    background:
        linear-gradient(180deg, #fff 0%, #f0fdf4 100%);
    border: 1px solid rgb(4 120 87 / 0.2);
    box-shadow: 0 12px 32px rgb(4 120 87 / 0.08);
}

.detail-callout__eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.detail-callout__title {
    margin-top: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.detail-callout__body {
    margin-top: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-muted);
}

/* Related link tiles */
.detail-related {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .detail-related {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .detail-related {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.detail-related__item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--color-border);
    background: #fff;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    min-height: 100%;
}

.detail-related__item:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgb(15 23 42 / 0.08);
}

.detail-related__title {
    font-size: 1.0625rem;
    font-weight: 650;
    color: var(--color-secondary);
}

.detail-related__text {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--color-muted);
}

.detail-related__action {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* Offset image frame */
.detail-frame {
    position: relative;
    margin: 0;
}

.detail-frame::before {
    content: '';
    position: absolute;
    inset: 0.75rem -0.75rem -0.75rem 0.75rem;
    border-radius: 1rem;
    background: rgb(4 120 87 / 0.12);
    z-index: 0;
}

.detail-frame img {
    position: relative;
    z-index: 1;
    border-radius: 1rem;
    width: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 639px) {
    .detail-frame::before {
        display: none;
    }
}

/* Motion accents */
@media (prefers-reduced-motion: no-preference) {
    .detail-hero--immersive .detail-hero__img {
        animation: detail-hero- ken 18s ease-in-out infinite alternate;
    }

    .detail-mosaic__item,
    .detail-related__item,
    .detail-spotlight__card {
        will-change: transform;
    }
}

@keyframes detail-hero-ken {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
    .detail-mosaic__item:hover,
    .detail-related__item:hover,
    .detail-spotlight__card:hover {
        transform: none;
    }

    .detail-hero--immersive .detail-hero__img {
        animation: none;
    }
}

/* Mobile safety for detail pages */
@media (max-width: 639px) {
    .detail-hero--immersive {
        min-height: 20rem;
    }

    .detail-hero__title {
        max-width: none;
    }

    .detail-stats-overlap {
        margin-top: -1.5rem;
    }

    .detail-compare thead th,
    .detail-compare tbody th,
    .detail-compare tbody td {
        padding: 0.75rem 0.875rem;
        font-size: 0.8125rem;
    }
}

/* ───────────── Page builder blocks ───────────── */
.pb-bg-tint {
    background: color-mix(in srgb, var(--color-primary) 6%, white);
}

.pb-bg-dark {
    background: #0b1220;
    color: #cbd5e1;
}

.pb-bg-dark .home-section-title,
.pb-bg-dark .home-hero-title,
.pb-bg-dark .home-stat-grid__value,
.pb-bg-dark .pb-quote__text,
.pb-bg-dark .pb-quote__name,
.pb-bg-dark .about-timeline__title,
.pb-bg-dark .about-values-strip__title,
.pb-bg-dark .pb-logos__title,
.pb-bg-dark .prose-premium :where(h1, h2, h3, h4, strong) {
    color: #fff;
}

.pb-bg-dark .home-kicker {
    color: #6ee7b7;
}

.pb-bg-dark .home-lead,
.pb-bg-dark .home-stat-grid__label,
.pb-bg-dark .home-stat-grid__note,
.pb-bg-dark .home-figure-caption,
.pb-bg-dark .about-timeline__text,
.pb-bg-dark .about-values-strip__text,
.pb-bg-dark .pb-quote__role,
.pb-bg-dark .prose-premium {
    color: #cbd5e1;
}

.pb-bg-dark .home-text-link {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.35);
}

.pb-flush-top {
    padding-top: 0 !important;
}

.pb-flush-bottom {
    padding-bottom: 0 !important;
}

.pb-flush {
    padding-block: 0;
}

@media (max-width: 767px) {
    .pb-hide-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .pb-hide-desktop {
        display: none !important;
    }
}

/* Inner page hero */
.pb-page-hero {
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    padding-block: 3rem 3.5rem;
}

.pb-page-hero--compact {
    padding-block: 2.5rem 3rem;
}

@media (min-width: 1024px) {
    .pb-page-hero {
        padding-block: 4rem 5rem;
    }

    .pb-page-hero--compact {
        padding-block: 3rem 3.5rem;
    }
}

.pb-page-hero--compact .pb-page-hero__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.pb-page-hero__subtitle {
    max-width: 42rem;
}

.pb-page-hero--center .pb-page-hero__inner {
    margin-inline: auto;
    max-width: 48rem;
    text-align: center;
}

.pb-page-hero--center .pb-page-hero__subtitle {
    margin-inline: auto;
}

.pb-page-hero--center .pb-page-hero__actions {
    justify-content: center;
}

.pb-page-hero--dark {
    background: #030712;
    border-bottom: 0;
}

.pb-page-hero--dark .pb-page-hero__title {
    color: #fff;
}

.pb-page-hero--dark .pb-page-hero__eyebrow {
    color: #6ee7b7;
}

.pb-page-hero--dark .pb-page-hero__subtitle {
    color: #cbd5e1;
}

.pb-page-hero--dark .home-text-link {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.4);
}

.pb-page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pb-page-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, rgba(3, 7, 18, 0.88) 0%, rgba(3, 7, 18, 0.65) 55%, rgba(3, 7, 18, 0.35) 100%);
}

.pb-page-hero--image {
    padding-block: 5rem 5.5rem;
}

@media (min-width: 1024px) {
    .pb-page-hero--image {
        padding-block: 7rem 7.5rem;
    }
}

/* Spacer */
.pb-spacer--sm { height: 1.5rem; }
.pb-spacer--md { height: 3rem; }
.pb-spacer--lg { height: 5rem; }
.pb-spacer--xl { height: 8rem; }

.pb-spacer {
    display: flex;
    align-items: center;
}

.pb-spacer > .container-page {
    width: 100%;
}

.pb-divider {
    border: 0;
    border-top: 1px solid var(--color-border);
}

/* Grids */
.pb-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .pb-grid--2,
    .pb-grid--3,
    .pb-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .pb-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pb-grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.pb-column {
    display: flex;
    flex-direction: column;
}

.pb-column__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    margin-bottom: 1.25rem;
    border-radius: calc(var(--home-radius) - 0.25rem);
    object-fit: cover;
}

.pb-column__link {
    margin-top: auto;
    padding-top: 1rem;
}

.pb-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
    border-radius: 0.75rem;
    background: color-mix(in srgb, var(--color-primary) 10%, white);
    font-size: 1.25rem;
    color: var(--color-primary);
}

.pb-prose-sm {
    font-size: 0.9375rem;
}

.pb-prose-sm > :first-child {
    margin-top: 0;
}

/* Stats & steps with variable counts */
.pb-stat-grid--1 { grid-template-columns: 1fr; }
.pb-stat-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 1024px) {
    .pb-stat-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .pb-stat-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .home-steps--row.pb-steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-steps--row.pb-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-steps--row.pb-steps--6,
    .home-steps--row.pb-steps--7,
    .home-steps--row.pb-steps--8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Quote */
.pb-quote {
    position: relative;
    max-width: 48rem;
    margin-inline: auto;
    text-align: center;
}

.pb-quote__mark {
    width: 2.75rem;
    height: 2.75rem;
    margin-inline: auto;
    color: color-mix(in srgb, var(--color-primary) 35%, white);
}

.pb-quote__text {
    margin-top: 1.25rem;
    font-size: clamp(1.25rem, 2.4vw, 1.625rem);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--color-secondary);
}

.pb-quote__author {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    margin-top: 2rem;
    text-align: left;
}

.pb-quote__photo,
.pb-quote__initial {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    object-fit: cover;
}

.pb-quote__initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--color-primary) 12%, white);
    font-weight: 700;
    color: var(--color-primary);
}

.pb-quote__name {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: var(--color-secondary);
}

.pb-quote__role {
    display: block;
    font-size: 0.875rem;
    color: var(--home-text-muted);
}

/* Image */
.pb-figure {
    margin-inline: auto;
}

.pb-figure--narrow { max-width: 42rem; }
.pb-figure--normal { max-width: 56rem; }
.pb-figure--wide { max-width: none; }

.pb-figure__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--home-radius);
}

.pb-figure--full .pb-figure__img {
    border-radius: 0;
}

/* Gallery + lightbox */
.pb-gallery__item {
    margin: 0;
}

.pb-gallery__button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

.pb-gallery__img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--home-radius);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pb-gallery__button:hover .pb-gallery__img {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}

.pb-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(3, 7, 18, 0.92);
}

.pb-lightbox__figure {
    max-width: min(72rem, 100%);
    text-align: center;
}

.pb-lightbox__img {
    max-height: 82vh;
    margin-inline: auto;
    border-radius: 0.5rem;
    object-fit: contain;
}

.pb-lightbox__caption {
    margin-top: 0.875rem;
    font-size: 0.875rem;
    color: #cbd5e1;
}

.pb-lightbox__close,
.pb-lightbox__nav {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 1.75rem;
    line-height: 1;
    color: #fff;
    transition: background 0.15s ease;
}

.pb-lightbox__close:hover,
.pb-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.22);
}

.pb-lightbox__close { top: 1.25rem; right: 1.25rem; }
.pb-lightbox__nav--prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.pb-lightbox__nav--next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* Video */
.pb-video {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: var(--home-radius);
    background: #0f172a;
    box-shadow: var(--home-shadow);
}

.pb-video__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.pb-video__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 0;
    border: 0;
    background: #0f172a;
    cursor: pointer;
}

.pb-video__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.4s ease;
}

.pb-video__poster:hover img {
    opacity: 1;
    transform: scale(1.02);
}

.pb-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 9999px;
    background: #fff;
    color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.pb-video__poster:hover .pb-video__play {
    transform: translate(-50%, -50%) scale(1.08);
}

.pb-video__play svg {
    width: 1.75rem;
    height: 1.75rem;
    margin-left: 0.2rem;
}

.pb-video__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Downloads */
.pb-downloads {
    display: grid;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
}

.pb-download {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: var(--home-radius);
    background: #fff;
    box-shadow: var(--home-shadow);
}

.pb-download--empty {
    justify-content: center;
    color: var(--home-text-muted);
}

.pb-download__icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.625rem;
    background: color-mix(in srgb, var(--color-primary) 10%, white);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-primary);
}

.pb-download__body {
    flex: 1;
    min-width: 0;
}

.pb-download__title {
    font-weight: 600;
    color: var(--color-secondary);
}

.pb-download__meta {
    margin-top: 0.125rem;
    font-size: 0.875rem;
    color: var(--home-text-muted);
}

.pb-download__size {
    margin-left: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
}

.pb-download__button {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: 9999px;
    background: var(--color-secondary);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    transition: background 0.15s ease;
}

.pb-download__button:hover {
    background: var(--color-primary);
}

.pb-download__button svg {
    width: 1rem;
    height: 1rem;
}

/* Logos */
.pb-logos__title {
    margin-bottom: 1.75rem;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--home-text-muted);
}

.pb-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem 3rem;
    list-style: none;
    padding: 0;
}

.pb-logos__item img {
    width: auto;
    max-width: 9rem;
    height: 2.5rem;
    object-fit: contain;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.pb-logos--gray .pb-logos__item img {
    filter: grayscale(1);
    opacity: 0.7;
}

.pb-logos--gray .pb-logos__item img:hover {
    filter: none;
    opacity: 1;
}

/* CTA without photo */
@media (min-width: 1024px) {
    .home-cta-panel.pb-cta-panel--no-media {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pb-cta-panel--no-media .home-cta-panel__content {
        align-items: center;
    }
}

.pb-cta-panel--no-media .home-checklist {
    display: inline-block;
    text-align: left;
}

@import "./public-refresh.css";
