/**
 * Voyager Marketing — Custom Styles
 *
 * Extends the parent theme's design system with site-specific overrides.
 * Uses design tokens from theme.json wherever possible.
 *
 * @since 1.0.0
 */

/* Gradient text utility */
.has-gradient-text {
    background: linear-gradient(135deg, var(--wp--preset--color--accent), var(--wp--preset--color--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Sticky header backdrop blur — uses CSS variable so dark mode works */
.wp-block-group[style*="sticky"] {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: color-mix(in srgb, var(--wp--preset--color--base, #fff) 92%, transparent) !important;
    border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--foreground, #000) 8%, transparent);
    z-index: 100;
}

/* ──────────────────────────────────────────────
 * Navigation dropdown — explicit background + text colors
 * Prevents white-on-white when header has light text on dark bg
 * ────────────────────────────────────────────── */
.wp-block-navigation__submenu-container {
    background-color: var(--wp--preset--color--base, #fff) !important;
    border: 1px solid var(--wp--preset--color--light-gray, #E5E5E5);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    color: var(--wp--preset--color--foreground, #1B1F3B) !important;
    padding: 8px 20px;
    font-size: var(--wp--preset--font-size--small, 0.875rem);
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
    background-color: var(--wp--preset--color--light, #F8F8FC);
    color: var(--wp--preset--color--accent, #9B1750) !important;
}

/* Nested submenus also need explicit colors */
.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
    background-color: var(--wp--preset--color--base, #fff) !important;
}

/* ──────────────────────────────────────────────
 * Dark section contrast safety net
 * Sections with inline dark gradients need forced light text
 * because theme switching can make text tokens dark.
 * Any section with an inline gradient background gets light text.
 * ────────────────────────────────────────────── */
.wp-block-group[style*="linear-gradient(135deg, #1B1F3B"],
.wp-block-group[style*="linear-gradient(135deg, #0A0A1A"],
.wp-block-group[style*="background-color:#0A0A1A"],
.wp-block-group[style*="background-color: #0A0A1A"],
.wp-block-group.has-bg-canvas-background-color,
.wp-block-group.has-bg-raised-background-color {
    color: #F0F0F5 !important;
}

/*
 * Safety net for any descendant that does NOT have an explicit text-color
 * preset class. Once a preset like .has-fg-3-color or .has-accent-bright-color
 * is applied, that wins (and we want it to). The selector therefore excludes
 * .has-text-color, plus the previously-allowed form/button targets.
 */
.wp-block-group[style*="linear-gradient(135deg, #1B1F3B"] *:not(.has-text-color):not(.wp-block-button__link):not(.vtp-mode-btn):not(input):not(textarea):not(select),
.wp-block-group[style*="linear-gradient(135deg, #0A0A1A"] *:not(.has-text-color):not(.wp-block-button__link):not(.vtp-mode-btn):not(input):not(textarea):not(select),
.wp-block-group[style*="background-color:#0A0A1A"] *:not(.has-text-color):not(.wp-block-button__link):not(.vtp-mode-btn):not(input):not(textarea):not(select),
.wp-block-group.has-bg-canvas-background-color *:not(.has-text-color):not(.wp-block-button__link):not(.vtp-mode-btn):not(input):not(textarea):not(select),
.wp-block-group.has-bg-panel-background-color *:not(.has-text-color):not(.wp-block-button__link):not(.vtp-mode-btn):not(input):not(textarea):not(select),
.wp-block-group.has-bg-raised-background-color *:not(.has-text-color):not(.wp-block-button__link):not(.vtp-mode-btn):not(input):not(textarea):not(select) {
    color: inherit;
}

/* Cards inside dark sections should keep their own colors */
.wp-block-group[style*="linear-gradient"] .wp-block-column.has-bg-panel-background-color,
.wp-block-group[style*="linear-gradient"] .wp-block-column.has-bg-panel-background-color,
.wp-block-group[style*="linear-gradient"] .wp-block-column.has-bg-panel-background-color,
.wp-block-group.has-bg-canvas-background-color .wp-block-column.has-bg-panel-background-color,
.wp-block-group.has-bg-canvas-background-color .wp-block-column.has-bg-panel-background-color,
.wp-block-group.has-bg-canvas-background-color .wp-block-column.has-bg-panel-background-color {
    color: var(--wp--preset--color--fg-1) !important;
}

/* Card hover effect */
.wp-block-column[class*="has-background"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-column[class*="has-background"] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Button hover glow */
.wp-block-button__link:hover {
    box-shadow: 0 4px 16px rgba(155, 23, 80, 0.3);
    transition: box-shadow 0.2s ease;
}

/* Separator override for dark sections */
.has-bg-canvas-background-color .wp-block-separator {
    opacity: 0.15;
}

/* ──────────────────────────────────────────────
 * Sticky CTA Bar
 * ────────────────────────────────────────────── */
.voyagermark-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--wp--preset--color--dark, #0A0A1A);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.voyagermark-sticky-cta.is-visible {
    transform: translateY(0);
}

.voyagermark-sticky-cta__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--wp--preset--spacing--30, 0.75rem);
    padding: 12px var(--wp--preset--spacing--50, 2rem);
    max-width: 1200px;
    margin: 0 auto;
}

.voyagermark-sticky-cta__text {
    color: #fff;
    font-size: 0.9rem;
}

.voyagermark-sticky-cta__button {
    display: inline-block;
    padding: 8px 24px;
    background: var(--wp--preset--color--accent, #9B1750);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.voyagermark-sticky-cta__button:hover {
    background: var(--wp--preset--color--accent-2, #8B5CF6);
    color: #fff;
}

.voyagermark-sticky-cta__close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.2s;
}

.voyagermark-sticky-cta__close:hover {
    color: #fff;
}

@media (max-width: 600px) {
    .voyagermark-sticky-cta__inner {
        flex-wrap: wrap;
        text-align: center;
    }

    .voyagermark-sticky-cta__text {
        flex-basis: 100%;
        font-size: 0.8rem;
    }
}

/* ──────────────────────────────────────────────
 * ROI Calculator inputs
 * ────────────────────────────────────────────── */
#voyagermark-roi-calculator input[type="number"]::-webkit-inner-spin-button,
#voyagermark-roi-calculator input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
}

/* ──────────────────────────────────────────────
 * Site Audit placeholder styling
 * ────────────────────────────────────────────── */
#voyagermark-site-audit input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* ──────────────────────────────────────────────
 * Contact form — design-token styles
 * ────────────────────────────────────────────── */
.voyagermark-contact-form input[type="text"],
.voyagermark-contact-form input[type="email"],
.voyagermark-contact-form input[type="tel"],
.voyagermark-contact-form textarea,
.voyagermark-contact-form select {
    width: 100%;
    padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
    border: 1px solid var(--wp--preset--color--light-gray);
    border-radius: 8px;
    font-size: var(--wp--preset--font-size--base, 1rem);
    font-family: inherit;
    background: var(--wp--preset--color--light);
    color: var(--wp--preset--color--fg-1);
    transition: border-color 0.2s ease;
}

.voyagermark-contact-form input:focus,
.voyagermark-contact-form textarea:focus {
    outline: none;
    border-color: var(--wp--preset--color--accent);
    box-shadow: 0 0 0 2px rgba(155, 23, 80, 0.1);
}

.voyagermark-contact-form label {
    display: block;
    margin-bottom: var(--wp--preset--spacing--20);
    font-weight: 600;
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--bg-canvas);
}

.voyagermark-contact-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--50);
    background: var(--wp--preset--color--accent);
    color: var(--wp--preset--color--bg-panel);
    border: none;
    border-radius: 8px;
    font-size: var(--wp--preset--font-size--base, 1rem);
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.voyagermark-contact-form button[type="submit"]:hover {
    background: var(--wp--preset--color--accent-2);
}

/* ──────────────────────────────────────────────
 * Footer — Vanguard-style watermark
 * Large brand name that fades from muted to transparent
 * ────────────────────────────────────────────── */
.voyager-footer-watermark {
    pointer-events: none;
    max-height: 18vw;
    overflow: hidden;
}

.voyager-footer-wordmark {
    background: linear-gradient(
        180deg,
        rgba(100, 110, 160, 0.35) 0%,
        rgba(100, 110, 160, 0.12) 50%,
        rgba(100, 110, 160, 0) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    user-select: none;
}

/* ──────────────────────────────────────────────
 * Pixel Blast — canvas must always be full-width
 * WP alignment rules (.alignfull:not(.is-layout-constrained)>*)
 * cap max-width on direct children — override for the canvas.
 * ────────────────────────────────────────────── */
.wp-block-voyager-pixel-blast .pixel-blast__canvas-container {
    max-width: none !important;
    width: 100% !important;
}

/* ──────────────────────────────────────────────
 * Hero — Nova-style layout over Pixel Blast
 * Content overlays pixel-blast WebGL background
 * ────────────────────────────────────────────── */
.voyager-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

/* Stat counter cards */
.pixel-blast-background .wp-block-voyager-animated-counter .counter-number {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--wp--preset--color--bg-panel);
}

.pixel-blast-background .wp-block-voyager-animated-counter .counter-label {
    font-size: 0.75rem;
    color: var(--wp--preset--color--medium-gray);
    margin-top: 0.25rem;
    line-height: 1.3;
}

/* Outline button on dark — translucent white border */
.pixel-blast-background .is-style-outline .wp-block-button__link {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.pixel-blast-background .is-style-outline .wp-block-button__link:hover {
    border-color: rgba(255, 255, 255, 0.5) !important;
    background: rgba(255, 255, 255, 0.05);
}

/* Mobile: stack stats below trust bar */
@media (max-width: 781px) {
    .voyager-hero-content {
        min-height: auto !important;
        padding-top: clamp(6rem, 14vh, 8rem) !important;
    }
}

/* Footer link transitions */
.voyager-footer a {
    transition: color 0.2s ease;
}

/* Footer no-bullet lists — ensure clean alignment */
.voyager-footer .is-style-no-bullets {
    list-style: none;
    padding-left: 0;
}

/* ──────────────────────────────────────────────────────────────────────────
 * M01/M02 CHROME + HOMEPAGE — Voyager DS v2 styling
 * Added 2026-05-02 as part of feat/m01-m02-homepage-overhaul
 * Token-only references; no raw hex outside intentional WebGL block defaults.
 * ────────────────────────────────────────────────────────────────────────── */

/* ── Live dot · pulsing magenta dot used in coord strips and live-ops panel ── */
.voyager-live-dot,
.voyager-live-ops-dot,
.voyager-eyebrow-tick {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--wp--preset--color--accent-bright);
    margin-right: 8px;
    vertical-align: middle;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--wp--preset--color--accent-bright) 18%, transparent);
}
.voyager-live-ops-dot {
    background: var(--wp--preset--color--signal-ok);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--wp--preset--color--signal-ok) 18%, transparent);
    animation: voyager-pulse 2.4s cubic-bezier(0.2,0,0,1) infinite;
}
.voyager-eyebrow-tick {
    width: 18px;
    height: 1px;
    border-radius: 0;
    background: var(--wp--preset--color--accent-bright);
    box-shadow: none;
    margin-right: 10px;
    vertical-align: middle;
}
@keyframes voyager-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.45; }
}
@media (prefers-reduced-motion: reduce) {
    .voyager-live-ops-dot { animation: none; }
}

/* ── HEADER ─────────────────────────────────────────────────────────────── */
.voyager-hdr {
    position: sticky;
    top: 0;
    z-index: 200;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: color-mix(in srgb, var(--wp--preset--color--bg-canvas) 88%, transparent) !important;
    border-bottom: 1px solid var(--wp--preset--color--border-hair);
}
.voyager-hdr-coord {
    background: transparent;
}
.voyager-hdr-bar {
    align-items: center;
}
.voyager-hdr-brand .wp-block-site-title a,
.voyager-hdr-brand .wp-block-site-title {
    color: var(--wp--preset--color--fg-1) !important;
    font-family: var(--wp--preset--font-family--display) !important;
    font-weight: 600;
    text-decoration: none;
}
.voyager-hdr-nav .wp-block-navigation-item__content {
    color: var(--wp--preset--color--fg-3) !important;
    font-family: var(--wp--preset--font-family--body);
    font-size: var(--wp--preset--font-size--sm);
    font-weight: 500;
    transition: color 180ms cubic-bezier(0.2,0,0,1);
}
.voyager-hdr-nav .wp-block-navigation-item__content:hover,
.voyager-hdr-nav .current-menu-item .wp-block-navigation-item__content {
    color: var(--wp--preset--color--fg-1) !important;
}
.voyager-hdr-cta .wp-block-button__link {
    transition: background-color 180ms cubic-bezier(0.2,0,0,1);
}

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.voyager-ftr {
    position: relative;
}
.voyager-ftr a {
    color: inherit;
    text-decoration: none;
    transition: color 180ms cubic-bezier(0.2,0,0,1);
}
.voyager-ftr a:hover {
    color: var(--wp--preset--color--accent-bright);
    text-decoration: none;
}
.voyager-ftr-list ul,
.voyager-ftr-list {
    list-style: none;
    padding-left: 0 !important;
    margin: 0;
}
.voyager-ftr-list li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.voyager-ftr-watermark {
    user-select: none;
    pointer-events: none;
}
.voyager-ftr-wordmark {
    color: var(--wp--preset--color--bg-raised) !important;
    margin-left: -0.05em;
    white-space: nowrap;
}

/* ── HERO ───────────────────────────────────────────────────────────────── */
.voyager-hero {
    position: relative;
    overflow: hidden;
}
.voyager-hero-h em.voyager-hero-emphasis {
    font-style: normal;
    color: var(--wp--preset--color--accent-bright);
    background-image: linear-gradient(to top, color-mix(in srgb, var(--wp--preset--color--accent-bright) 28%, transparent) 18%, transparent 18%, transparent 60%);
    background-repeat: no-repeat;
    padding: 0 0.05em;
}
.voyager-hero-coord,
.voyager-coord-annotation {
    border-top: 1px dashed var(--wp--preset--color--border-1);
    padding-top: var(--wp--preset--spacing--3);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Ghost button */
.voyager-btn-ghost .wp-block-button__link,
.voyager-btn-ghost .wp-block-button__link:hover {
    background: transparent !important;
}
.voyager-btn-ghost .wp-block-button__link:hover {
    border-color: var(--wp--preset--color--accent-bright) !important;
    color: var(--wp--preset--color--accent-bright) !important;
}

/* ── LIVE OPS PANEL ─────────────────────────────────────────────────────── */
.voyager-live-ops {
    position: relative;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
/* Corner ticks */
.voyager-live-ops::before,
.voyager-live-ops::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 1px solid var(--wp--preset--color--accent-bright);
    pointer-events: none;
}
.voyager-live-ops::before {
    top: -1px;
    left: -1px;
    border-right: 0;
    border-bottom: 0;
}
.voyager-live-ops::after {
    bottom: -1px;
    right: -1px;
    border-left: 0;
    border-top: 0;
}
.voyager-live-ops-grid,
.voyager-live-ops-row {
    align-items: stretch;
}
.voyager-live-ops-cell {
    flex-basis: 50%;
}
.voyager-spark {
    width: 100%;
    height: 56px;
    display: block;
}
.voyager-spark-grid line {
    stroke: var(--wp--preset--color--border-hair);
    stroke-width: 1;
    stroke-dasharray: 2 4;
}
.voyager-spark-fill {
    fill: color-mix(in srgb, var(--wp--preset--color--accent-bright) 16%, transparent);
}
.voyager-spark-line {
    fill: none;
    stroke: var(--wp--preset--color--accent-bright);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.voyager-spark-end {
    fill: var(--wp--preset--color--accent-bright);
    stroke: var(--wp--preset--color--bg-panel);
    stroke-width: 2;
}

/* ── LOGO BAR ───────────────────────────────────────────────────────────── */
.voyager-logo-bar-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--wp--preset--color--border-hair);
    border-left: 1px solid var(--wp--preset--color--border-hair);
}
.voyager-logo-cell {
    padding: var(--wp--preset--spacing--6) var(--wp--preset--spacing--5);
    border-right: 1px solid var(--wp--preset--color--border-hair);
    border-bottom: 1px solid var(--wp--preset--color--border-hair);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 96px;
    background: transparent;
    transition: background-color 180ms cubic-bezier(0.2,0,0,1);
}
.voyager-logo-cell:hover {
    background: color-mix(in srgb, var(--wp--preset--color--bg-raised) 60%, transparent);
}
.voyager-logo-cell .industry {
    display: block;
    margin-top: var(--wp--preset--spacing--2);
}
@media (max-width: 900px) {
    .voyager-logo-bar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── SERVICES GRID ──────────────────────────────────────────────────────── */
.voyager-svc-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--wp--preset--spacing--4);
}
.voyager-svc-card {
    transition: background-color 180ms cubic-bezier(0.2,0,0,1), border-color 180ms cubic-bezier(0.2,0,0,1), transform 180ms cubic-bezier(0.2,0,0,1);
    background: transparent;
}
.voyager-svc-card:hover {
    background: color-mix(in srgb, var(--wp--preset--color--bg-panel) 70%, transparent) !important;
    border-color: var(--wp--preset--color--border-1) !important;
    transform: translateY(-2px);
}
.voyager-svc-card-meta:hover {
    background: var(--wp--preset--color--bg-raised) !important;
}
@media (max-width: 1024px) {
    .voyager-svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .voyager-svc-grid { grid-template-columns: 1fr; }
}

/* ── METHODOLOGY / PRINCIPLES ───────────────────────────────────────────── */
.voyager-principles-grid {
    align-items: stretch;
}
.voyager-principle .voyager-principle-num {
    display: inline-block;
    padding: 4px 0 4px 12px;
    background: transparent;
}

/* ── CASE STUDIES ───────────────────────────────────────────────────────── */
.voyager-cs-card {
    transition: transform 180ms cubic-bezier(0.2,0,0,1);
}
.voyager-cs-card:hover {
    transform: translateY(-2px);
}
.voyager-cs-thumb {
    background: linear-gradient(135deg, var(--wp--preset--color--bg-raised), var(--wp--preset--color--bg-panel));
    background-image:
        linear-gradient(135deg, var(--wp--preset--color--bg-raised), var(--wp--preset--color--bg-panel)),
        radial-gradient(circle, var(--wp--preset--color--border-hair) 1px, transparent 1px);
    background-size: 100% 100%, 16px 16px;
    background-position: 0 0, 0 0;
    background-blend-mode: normal, overlay;
    position: relative;
    border: 1px solid var(--wp--preset--color--border-hair);
    padding: var(--wp--preset--spacing--6);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.voyager-cs-thumb::before {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 14px;
    height: 14px;
    border-top: 1.5px solid var(--wp--preset--color--accent-bright);
    border-right: 1.5px solid var(--wp--preset--color--accent-bright);
}
.voyager-cs-card a {
    text-decoration: none;
}
.voyager-cs-card-services {
    display: flex !important;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--2) !important;
}
.voyager-chip {
    display: inline-block;
    margin: 0 !important;
}
@media (max-width: 900px) {
    .voyager-cases-grid { flex-direction: column; }
}

/* ── FOUNDERS ──────────────────────────────────────────────────────────── */
.voyager-founder-portrait {
    background: linear-gradient(135deg, var(--wp--preset--color--accent-strong), var(--wp--preset--color--bg-raised));
    background-image:
        linear-gradient(135deg, var(--wp--preset--color--accent-strong), var(--wp--preset--color--bg-raised)),
        radial-gradient(circle, color-mix(in srgb, var(--wp--preset--color--accent-bright) 12%, transparent) 1px, transparent 1px);
    background-size: 100% 100%, 8px 8px;
    background-blend-mode: normal, screen;
    width: 120px;
    height: 120px;
    border-radius: 4px;
    border: 1px solid var(--wp--preset--color--border-hair);
}
.voyager-founder-initials {
    font-family: var(--wp--preset--font-family--display);
    color: var(--wp--preset--color--fg-1);
    text-shadow: 0 0 16px color-mix(in srgb, var(--wp--preset--color--accent-bright) 40%, transparent);
}
@media (max-width: 900px) {
    .voyager-founder-pair { flex-direction: column; }
}

/* ── CTA BAND ──────────────────────────────────────────────────────────── */
.voyager-cta-band {
    position: relative;
    overflow: hidden;
}
.voyager-cta-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--wp--preset--color--accent-bright), transparent);
}
.voyager-cta-action {
    text-align: left;
}
@media (max-width: 900px) {
    .voyager-cta-inner { flex-direction: column; }
}

/* ── SECTION HEAD UTILITIES ─────────────────────────────────────────────── */
.voyager-section-head .voyager-eyebrow {
    display: flex;
    align-items: center;
}
.voyager-coord-annotation {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── HOMEPAGE MAIN ─────────────────────────────────────────────────────── */
.voyager-home-main {
    background: var(--wp--preset--color--bg-canvas);
    color: var(--wp--preset--color--fg-2);
}
.voyager-home-main a {
    color: inherit;
    text-decoration: none;
    transition: color 180ms cubic-bezier(0.2,0,0,1);
}
.voyager-home-main a:hover {
    text-decoration: none;
    color: var(--wp--preset--color--accent-bright);
}

/* Hide legacy contrast safety net's broad selectors from interfering with
   our card hover backgrounds — scoped exception. */
.voyager-svc-card:hover,
.voyager-logo-cell:hover,
.voyager-cs-card.is-compact:hover,
.voyager-related-svc:hover {
    color: var(--wp--preset--color--fg-1) !important;
}

/* ──────────────────────────────────────────────────────────────────────────
 * M02 POLISH PASS — pixel-blast hero, sparkline draw, mega menu
 * Added 2026-05-02 as part of fix/m02-homepage-polish
 * ────────────────────────────────────────────────────────────────────────── */

/* ── Pixel-blast hero · keep canvas full width and inner content layered ── */
.wp-block-voyager-pixel-blast.alignfull .pixel-blast__inner-content {
    position: relative;
    z-index: 2;
    width: 100%;
}
.wp-block-voyager-pixel-blast.alignfull .pixel-blast__inner-content > .voyager-hero {
    background: transparent !important;
}

/* Subtle vignette over the WebGL so the live-ops panel reads cleanly */
.wp-block-voyager-pixel-blast.alignfull::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 75% 50%,
        rgba(8, 7, 26, 0) 0%,
        rgba(8, 7, 26, 0.45) 65%,
        rgba(8, 7, 26, 0.7) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* ── Sparkline draw animation · CSS-only · 1.6s on page load ── */
.voyager-sparkline .voyager-spark-line,
.voyager-spark .voyager-spark-line {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: voyager-sparkline-draw 1.6s cubic-bezier(0.2, 0, 0, 1) 0.2s forwards;
}
.voyager-sparkline .voyager-spark-fill,
.voyager-spark .voyager-spark-fill {
    opacity: 0;
    animation: voyager-sparkline-fade 0.6s cubic-bezier(0.2, 0, 0, 1) 1.6s forwards;
}
.voyager-sparkline .voyager-spark-end,
.voyager-spark .voyager-spark-end {
    opacity: 0;
    animation: voyager-sparkline-fade 0.4s cubic-bezier(0.2, 0, 0, 1) 1.8s forwards;
}
@keyframes voyager-sparkline-draw {
    to { stroke-dashoffset: 0; }
}
@keyframes voyager-sparkline-fade {
    to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .voyager-sparkline .voyager-spark-line,
    .voyager-spark .voyager-spark-line,
    .voyager-sparkline .voyager-spark-fill,
    .voyager-spark .voyager-spark-fill,
    .voyager-sparkline .voyager-spark-end,
    .voyager-spark .voyager-spark-end {
        animation: none;
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

/* ── Mega menu · CSS-only hover/focus reveal · M01 chrome parity ────────── */
.voyager-nav-primary {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    margin-right: var(--wp--preset--spacing--5);
}
.voyager-nav-mega-host {
    position: static;
}
.voyager-nav-item {
    position: relative;
    background: transparent;
    border: 0;
    padding: var(--wp--preset--spacing--3);
    font-family: var(--wp--preset--font-family--body);
    font-size: var(--wp--preset--font-size--sm);
    font-weight: 500;
    color: var(--wp--preset--color--fg-3);
    cursor: pointer;
    letter-spacing: 0.005em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    border-radius: 2px;
    transition: color 180ms cubic-bezier(0.2, 0, 0, 1);
}
.voyager-nav-item:hover,
.voyager-nav-item:focus-visible {
    color: var(--wp--preset--color--fg-1);
}
.voyager-nav-item:focus-visible {
    outline: 2px solid var(--wp--preset--color--accent-bright);
    outline-offset: 2px;
}
.voyager-nav-item::after {
    content: "";
    position: absolute;
    left: var(--wp--preset--spacing--3);
    right: var(--wp--preset--spacing--3);
    bottom: -1px;
    height: 1px;
    background: transparent;
    transition: background 180ms cubic-bezier(0.2, 0, 0, 1);
}
.voyager-nav-item:hover::after {
    background: color-mix(in srgb, var(--wp--preset--color--accent-bright) 40%, transparent);
}
.voyager-nav-trigger .voyager-nav-chev {
    width: 12px;
    height: 12px;
    opacity: 0.6;
    transition: transform 180ms cubic-bezier(0.2, 0, 0, 1), opacity 180ms cubic-bezier(0.2, 0, 0, 1);
}
.voyager-nav-mega-host:hover .voyager-nav-trigger .voyager-nav-chev,
.voyager-nav-mega-host:focus-within .voyager-nav-trigger .voyager-nav-chev {
    transform: rotate(180deg);
    opacity: 1;
}
.voyager-nav-mega-host:hover .voyager-nav-trigger,
.voyager-nav-mega-host:focus-within .voyager-nav-trigger {
    color: var(--wp--preset--color--fg-1);
}
.voyager-nav-mega-host:hover .voyager-nav-trigger::after,
.voyager-nav-mega-host:focus-within .voyager-nav-trigger::after {
    background: var(--wp--preset--color--accent-bright);
}

/* Mega panel · hidden by default, full-width drop · grid + cards */
.voyager-mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--wp--preset--color--bg-panel);
    border-bottom: 1px solid var(--wp--preset--color--border-hair);
    border-top: 1px solid var(--wp--preset--color--border-hair);
    z-index: 49;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
        opacity 200ms cubic-bezier(0.2, 0, 0, 1),
        visibility 0s linear 200ms,
        transform 200ms cubic-bezier(0.2, 0, 0, 1);
    pointer-events: none;
}
.voyager-nav-mega-host:hover .voyager-mega,
.voyager-nav-mega-host:focus-within .voyager-mega,
.voyager-mega:hover,
.voyager-mega:focus-within {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition:
        opacity 200ms cubic-bezier(0.2, 0, 0, 1),
        visibility 0s linear 0s,
        transform 200ms cubic-bezier(0.2, 0, 0, 1);
    pointer-events: auto;
}
.voyager-mega::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(196, 166, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}
.voyager-mega-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: var(--wp--preset--spacing--7) var(--wp--preset--spacing--6) var(--wp--preset--spacing--6);
    display: grid;
    grid-template-columns: minmax(0, 30fr) minmax(0, 70fr);
    gap: var(--wp--preset--spacing--7);
    position: relative;
}
.voyager-mega-intro {
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--4);
    padding-right: var(--wp--preset--spacing--5);
    border-right: 1px solid var(--wp--preset--color--border-hair);
}
.voyager-mega-eyebrow {
    font-family: var(--wp--preset--font-family--mono);
    font-size: var(--wp--preset--font-size--micro);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wp--preset--color--accent-bright);
    display: inline-flex;
    align-items: center;
    gap: var(--wp--preset--spacing--2);
}
.voyager-mega-eyebrow::before {
    content: "";
    width: 8px;
    height: 1px;
    background: var(--wp--preset--color--accent);
}
.voyager-mega-intro h2 {
    font-family: var(--wp--preset--font-family--display);
    font-weight: 500;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--wp--preset--color--fg-1);
    margin: 0;
}
.voyager-mega-intro p {
    font-size: var(--wp--preset--font-size--base, 1rem);
    line-height: 1.55;
    color: var(--wp--preset--color--fg-3);
    margin: 0;
}
.voyager-mega-intro-link {
    margin-top: var(--wp--preset--spacing--3);
    font-family: var(--wp--preset--font-family--body);
    font-size: var(--wp--preset--font-size--sm);
    font-weight: 500;
    color: var(--wp--preset--color--accent-bright);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    align-self: flex-start;
    padding-bottom: 2px;
    transition: border-color 180ms cubic-bezier(0.2, 0, 0, 1);
}
.voyager-mega-intro-link:hover {
    border-bottom-color: var(--wp--preset--color--accent-bright);
}

/* Services mega · 3-up grid */
.voyager-svc-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--wp--preset--color--border-hair);
    border: 1px solid var(--wp--preset--color--border-hair);
    border-radius: 2px;
}
.voyager-svc-mega-card {
    background: var(--wp--preset--color--bg-panel);
    padding: var(--wp--preset--spacing--5);
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--3);
    text-decoration: none;
    color: inherit;
    transition: background 180ms cubic-bezier(0.2, 0, 0, 1);
    position: relative;
    min-height: 168px;
}
.voyager-svc-mega-card:hover {
    background: var(--wp--preset--color--bg-raised);
}
.voyager-svc-mega-card--meta {
    background: var(--wp--preset--color--bg-canvas);
}
.voyager-svc-mega-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--wp--preset--spacing--3);
}
.voyager-svc-code {
    font-family: var(--wp--preset--font-family--mono);
    font-size: var(--wp--preset--font-size--micro);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wp--preset--color--fg-4);
}
.voyager-svc-tag {
    font-family: var(--wp--preset--font-family--mono);
    font-size: var(--wp--preset--font-size--micro);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wp--preset--color--accent-bright);
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent-bright) 40%, transparent);
    background: color-mix(in srgb, var(--wp--preset--color--accent-bright) 8%, transparent);
}
.voyager-svc-mega-card .voyager-svc-name {
    font-family: var(--wp--preset--font-family--display);
    font-weight: 500;
    font-size: 17px;
    line-height: 1.3;
    color: var(--wp--preset--color--fg-1);
    margin: 0;
    letter-spacing: -0.01em;
}
.voyager-svc-mega-card .voyager-svc-vp {
    font-size: 13px;
    line-height: 1.5;
    color: var(--wp--preset--color--fg-3);
    margin: 0;
}
.voyager-svc-arrow {
    margin-top: auto;
    font-family: var(--wp--preset--font-family--mono);
    font-size: var(--wp--preset--font-size--micro);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wp--preset--color--accent-bright);
    opacity: 0;
    transition: opacity 180ms cubic-bezier(0.2, 0, 0, 1);
}
.voyager-svc-mega-card:hover .voyager-svc-arrow {
    opacity: 1;
}

/* Services mega · featured strip */
.voyager-mega-featured {
    grid-column: 1 / -1;
    margin-top: var(--wp--preset--spacing--6);
    padding-top: var(--wp--preset--spacing--5);
    border-top: 1px solid var(--wp--preset--color--border-hair);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--wp--preset--spacing--5);
    align-items: center;
}
.voyager-mega-featured-label {
    font-family: var(--wp--preset--font-family--mono);
    font-size: var(--wp--preset--font-size--micro);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wp--preset--color--fg-4);
    display: inline-flex;
    align-items: center;
    gap: var(--wp--preset--spacing--2);
    white-space: nowrap;
}
.voyager-mega-featured-quote {
    font-family: var(--wp--preset--font-family--display);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
    color: var(--wp--preset--color--fg-1);
    letter-spacing: -0.01em;
    margin: 0;
}
.voyager-mega-featured-quote::before {
    content: "\201C";
    color: var(--wp--preset--color--accent-bright);
    margin-right: 4px;
}
.voyager-mega-featured-quote::after {
    content: "\201D";
    color: var(--wp--preset--color--accent-bright);
    margin-left: 4px;
}
.voyager-mega-featured-attr {
    margin-top: 6px;
    font-family: var(--wp--preset--font-family--mono);
    font-size: var(--wp--preset--font-size--micro);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wp--preset--color--fg-4);
}
.voyager-mega-featured-cta {
    font-family: var(--wp--preset--font-family--mono);
    font-size: var(--wp--preset--font-size--micro);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wp--preset--color--accent-bright);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--wp--preset--spacing--2);
    padding: 10px 14px;
    border: 1px solid var(--wp--preset--color--border-1);
    border-radius: 2px;
    white-space: nowrap;
    transition:
        border-color 180ms cubic-bezier(0.2, 0, 0, 1),
        color 180ms cubic-bezier(0.2, 0, 0, 1);
}
.voyager-mega-featured-cta:hover {
    border-color: var(--wp--preset--color--accent-bright);
}

/* Work mega · 3-up case-study cards */
.voyager-cs-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--wp--preset--spacing--4);
}
.voyager-cs-mega-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--wp--preset--color--border-hair);
    border-radius: 2px;
    background: var(--wp--preset--color--bg-panel);
    overflow: hidden;
    transition:
        border-color 180ms cubic-bezier(0.2, 0, 0, 1),
        background 180ms cubic-bezier(0.2, 0, 0, 1);
}
.voyager-cs-mega-card:hover {
    border-color: var(--wp--preset--color--border-strong);
    background: var(--wp--preset--color--bg-raised);
}
.voyager-cs-thumb {
    aspect-ratio: 16 / 10;
    position: relative;
    background: var(--wp--preset--color--bg-inset);
    display: flex;
    align-items: flex-end;
    padding: var(--wp--preset--spacing--3);
    overflow: hidden;
    border-bottom: 1px solid var(--wp--preset--color--border-hair);
}
.voyager-cs-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 40%, color-mix(in srgb, var(--wp--preset--color--accent) 50%, transparent) 100%),
        radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--wp--preset--color--accent-2) 35%, transparent), transparent 50%);
}
.voyager-cs-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 12px 12px;
}
.voyager-cs-thumb-label {
    position: relative;
    font-family: var(--wp--preset--font-family--mono);
    font-size: var(--wp--preset--font-size--micro);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wp--preset--color--fg-1);
    padding: 4px 8px;
    background: color-mix(in srgb, var(--wp--preset--color--bg-canvas) 70%, transparent);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    z-index: 1;
}
.voyager-cs-corner {
    position: absolute;
    top: var(--wp--preset--spacing--3);
    right: var(--wp--preset--spacing--3);
    font-family: var(--wp--preset--font-family--mono);
    font-size: var(--wp--preset--font-size--micro);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wp--preset--color--fg-4);
    z-index: 1;
}
.voyager-cs-body {
    padding: var(--wp--preset--spacing--4);
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--2);
}
.voyager-cs-client {
    font-family: var(--wp--preset--font-family--display);
    font-weight: 500;
    font-size: 17px;
    color: var(--wp--preset--color--fg-1);
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.voyager-cs-industry {
    font-family: var(--wp--preset--font-family--mono);
    font-size: var(--wp--preset--font-size--micro);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wp--preset--color--fg-4);
}
.voyager-cs-outcome {
    font-family: var(--wp--preset--font-family--mono);
    font-size: 13px;
    color: var(--wp--preset--color--accent-bright);
    margin-top: 4px;
    letter-spacing: 0.005em;
}

/* Mega menu responsive · stack on smaller viewports */
@media (max-width: 1024px) {
    .voyager-mega-inner {
        grid-template-columns: 1fr;
        gap: var(--wp--preset--spacing--5);
    }
    .voyager-mega-intro {
        padding-right: 0;
        border-right: 0;
        padding-bottom: var(--wp--preset--spacing--5);
        border-bottom: 1px solid var(--wp--preset--color--border-hair);
    }
    .voyager-svc-mega-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .voyager-cs-mega-grid {
        grid-template-columns: 1fr;
    }
    .voyager-mega-featured {
        grid-template-columns: 1fr;
        gap: var(--wp--preset--spacing--3);
    }
}
@media (max-width: 781px) {
    /* Mobile: hide custom mega-menu nav, fall back to a CTA-only header.
       Mobile takeover (mob-nav from chrome-mega.jsx) is roadmap, out of polish scope. */
    .voyager-nav-primary {
        display: none;
    }
}

/* ============================================================================
   M05 — Services Index (services-hero + services-index full grid)
   ============================================================================ */
/* (Inline section CSS lost in merge conflict resolution 2026-05-02.
    Patterns rely on block attributes; restored only what's needed here.) */

/* ============================================================================
   M03 — Case Studies (case-detail-* + cases-index + big-quote + related-*)
   ============================================================================ */

/* ── CASES MAIN ────────────────────────────────────────────────────────── */
.voyager-cases-main {
    background: var(--wp--preset--color--bg-canvas);
    color: var(--wp--preset--color--fg-2);
}
.voyager-cases-main a {
    color: inherit;
    text-decoration: none;
    transition: color 180ms cubic-bezier(0.2, 0, 0, 1);
}

/* ============================================================================
   M06 — About + Contact (about-* + contact-*)
   ============================================================================ */

/* ── ABOUT MAIN ─────────────────────────────────────────────────────────── */
.voyager-about-main,
.voyager-contact-main {
    background: var(--wp--preset--color--bg-canvas);
    color: var(--wp--preset--color--fg-2);
}
.voyager-about-main a,
.voyager-contact-main a {
    color: inherit;
    text-decoration: none;
    transition: color 180ms cubic-bezier(0.2,0,0,1);
}
.voyager-cases-main a:hover {
    color: var(--wp--preset--color--accent-bright);
}

/* ── INDEX HERO ───────────────────────────────────────────────────────── */
.voyager-idx-hero {
    position: relative;
    overflow: hidden;
}
/* Decorative grid scanlines — same shell as M03 cases-index hero */
.voyager-idx-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, var(--wp--preset--color--bg-raised) 1px, transparent 1px);
    background-image: linear-gradient(to right, var(--wp--preset--color--border-hair) 1px, transparent 1px);
    background-size: 96px 96px;
    background-position: 0 0;
    opacity: 0.5;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, black, transparent);
            mask-image: linear-gradient(to bottom, black, transparent);
}
.voyager-idx-hero > .wp-block-columns,
.voyager-idx-hero > * {
    position: relative;
}
.voyager-idx-hero-intro {
    max-width: 56ch;
}

/* 3-up stats panel (variant of stats grid — single row at desktop) */
.voyager-idx-hero-stats-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--wp--preset--color--border-hair);
}
.voyager-idx-hero-stats-3 .voyager-idx-hero-stat {
    margin: 0;
}

@media (max-width: 900px) {
    .voyager-idx-hero-stats-3 {
        grid-template-columns: 1fr;
    }
}

/* ── INDEX GRID (services-index) ────────────────────────────────────────── */
.voyager-svc-index-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--wp--preset--color--border-hair);
    border: 1px solid var(--wp--preset--color--border-hair);
}
.voyager-svc-index-grid > * {
    background: var(--wp--preset--color--bg-canvas);
    margin: 0;
}

@media (max-width: 1024px) {
    .voyager-svc-index-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .voyager-svc-index-grid {
        grid-template-columns: 1fr;
    }
}

/* Index card — flat card on shared border-rail grid (no per-card border;
   the 1px gap on accent fills the grid lines instead). */
.voyager-svc-index-card {
    display: flex;
    flex-direction: column;
    transition: background-color 180ms cubic-bezier(0.2,0,0,1);
}
.voyager-svc-index-card:hover {
    background-color: var(--wp--preset--color--bg-panel);
}

/* Outcomes list — tight, body voice */
.voyager-svc-index-outcomes {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}
.voyager-svc-index-outcomes li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
}
.voyager-svc-index-outcomes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 10px;
    height: 1px;
    background: var(--wp--preset--color--accent-bright);
}

/* Coordinate cell — fills 6th grid slot at 3-up. Hides at <1024px so the
   reflow to 2-up / 1-up doesn't leave an awkward stretched panel. */
.voyager-svc-index-coord {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--wp--preset--color--bg-panel);
}
.voyager-svc-index-signature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.voyager-svc-index-signature-tick {
    display: inline-block;
    width: 16px;
    height: 1px;
    background: var(--wp--preset--color--accent-bright);
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .voyager-svc-index-coord {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .voyager-mega {
        transition: none;
    }
}
/* Section spacing scoped under index page */
.voyager-svc-index-section {
    border-bottom: 1px solid var(--wp--preset--color--border-hair);
}

/* =====================================================================   M04 — Service Detail (service-hero/positioning/process/data + deliverables)
   ============================================================================ */

/* ── SERVICE MAIN ───────────────────────────────────────────────────────── */
.voyager-svc-main {
    background: var(--wp--preset--color--bg-canvas);
    color: var(--wp--preset--color--fg-2);
}
.voyager-svc-main a {
    color: inherit;
    text-decoration: none;
    transition: color 180ms cubic-bezier(0.2,0,0,1);
}
.voyager-svc-main a:hover {
    color: var(--wp--preset--color--accent-bright);
}

/* ── SERVICE HERO ───────────────────────────────────────────────────────── */
.voyager-svc-hero { position: relative; overflow: hidden; }
.voyager-svc-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, color-mix(in srgb, var(--wp--preset--color--border-hair) 60%, transparent) 1px, transparent 1px),
        linear-gradient(to bottom, color-mix(in srgb, var(--wp--preset--color--border-hair) 60%, transparent) 1px, transparent 1px);
    background-size: 96px 96px;
    opacity: 0.55;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse at 30% 40%, black 30%, transparent 80%);
            mask-image: radial-gradient(ellipse at 30% 40%, black 30%, transparent 80%);
    z-index: 0;
}
.voyager-svc-hero > * { position: relative; z-index: 1; }

.voyager-svc-crumb a:hover { color: var(--wp--preset--color--accent-bright); }
.voyager-svc-crumb .sep { color: var(--wp--preset--color--fg-5); margin: 0 4px; }

.voyager-svc-status .voyager-live-dot,
.voyager-svc-hero .voyager-live-dot {
    display: inline-block;
    width: 6px; height: 6px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--wp--preset--color--signal-ok);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--signal-ok) 18%, transparent);
    vertical-align: middle;
    animation: voyager-svc-pulse 2.4s cubic-bezier(0.2,0,0,1) infinite;
}
@keyframes voyager-svc-pulse {
    0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--signal-ok) 18%, transparent); }
    50%      { box-shadow: 0 0 0 6px color-mix(in srgb, var(--wp--preset--color--signal-ok) 4%, transparent); }
}

/* Headline emphasis (em → underlined accent slab) */
.voyager-svc-hero-h em.voyager-svc-hero-emphasis {
    z-index: 0;
}
.voyager-idx-hero > * { position: relative; z-index: 1; }
.voyager-idx-hero-coord {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.voyager-idx-hero-coord .voyager-coord-rule {
    display: inline-block;
    width: 16px;
    height: 1px;
    background: var(--wp--preset--color--accent);
}

/* ── CASE STUDY HERO (single) ─────────────────────────────────────────── */
.voyager-cs-hero {
    position: relative;
    overflow: hidden;
}
.voyager-cs-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--wp--preset--color--border-hair) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: 0 0;
    opacity: 0.5;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse at 70% 30%, black 30%, transparent 80%);
            mask-image: radial-gradient(ellipse at 70% 30%, black 30%, transparent 80%);
    z-index: 0;
}
.voyager-cs-hero > * { position: relative; z-index: 1; }
.voyager-cs-hero-headline em {
    font-style: normal;
    color: var(--wp--preset--color--accent-bright);
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 100% 2px;
    background-position: 0 96%;
    background-repeat: no-repeat;
    padding-bottom: 4px;
}

/* Engine schematic */
.voyager-svc-schem { font-family: var(--wp--preset--font-family--mono); }
.voyager-svc-schem-row { gap: 12px; }
.voyager-svc-schem-side { flex: 0 0 56px; min-width: 56px; }
.voyager-svc-schem-box { flex: 1; text-align: center; }
.voyager-svc-schem-box.is-active {
    box-shadow: inset 0 0 0 1px var(--wp--preset--color--accent-bright);
}
.voyager-svc-schem-arrow { line-height: 1; }

/* ── SECTION HEAD (eyebrow rail + title) ────────────────────────────────── */
.voyager-svc-section-marker .voyager-svc-marker {
    color: var(--wp--preset--color--accent-bright);
    margin-right: 6px;
}
.voyager-svc-section-head { align-items: flex-start; }

/* ── POSITIONING ────────────────────────────────────────────────────────── */
.voyager-svc-pos-rich p strong { color: var(--wp--preset--color--fg-1); font-weight: 600; }
.voyager-svc-pos-rich { max-width: 64ch; }

@media (max-width: 900px) {
    .voyager-svc-pos-rail { display: none; }
}

/* ── DELIVERABLES ───────────────────────────────────────────────────────── */
.voyager-svc-dlv-grid {
    /* 1px gap between cells reads as a hairline grid on dark bg */
    background: var(--wp--preset--color--border-hair);
}
.voyager-svc-dlv-cell { height: 100%; }
.voyager-svc-dlv-items { list-style: none; padding-left: 0; margin: 0; }
.voyager-svc-dlv-items li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 12px;
}
.voyager-svc-dlv-items li:last-child { margin-bottom: 0; }
.voyager-svc-dlv-items li::before {
    content: '\25B8'; /* triangle marker */
    position: absolute;
    left: 0; top: 0;
    color: var(--wp--preset--color--accent-bright);
    font-family: var(--wp--preset--font-family--mono);
}
.voyager-svc-dlv-items li strong { color: var(--wp--preset--color--fg-1); font-weight: 600; }

/* ── PROCESS STAGES ─────────────────────────────────────────────────────── */
.voyager-svc-proc-stage { margin: 0 !important; }
.voyager-svc-proc-stage.is-current .voyager-svc-proc-when { color: var(--wp--preset--color--signal-ok); }
.voyager-svc-proc-marker { padding-top: 4px; }

@media (max-width: 900px) {
    .voyager-svc-proc-when { text-align: left !important; }
}

/* ── SERVICE DATA / OUTCOMES ────────────────────────────────────────────── */
.voyager-svc-outc-strip .wp-block-voyager-animated-counter,
.voyager-svc-outc-num {
    font-family: var(--wp--preset--font-family--display);
    font-size: var(--wp--preset--font-size--3xl);
    font-weight: 500;
    color: var(--wp--preset--color--fg-1);
    letter-spacing: -0.025em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

/* ── RELATED WORK STRIP ─────────────────────────────────────────────────── */
.voyager-related-head h2 { max-width: 36ch; }
.voyager-cs-card { transition: border-color 180ms cubic-bezier(0.2,0,0,1); }
.voyager-cs-card:hover { border-color: var(--wp--preset--color--accent-bright) !important; }
.voyager-cs-card h3 a { color: inherit; }
.voyager-related-link a { color: inherit; }
.voyager-cs-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--5);
}
.voyager-cs-hero-crumb a:hover {
    color: var(--wp--preset--color--accent-bright);
}

/* ── OUTCOME METRIC STRIP ─────────────────────────────────────────────── */
.voyager-outcome-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
.voyager-outcome-strip.is-cols-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--wp--preset--color--border-hair);
}
.voyager-outcome-strip.is-cols-3 > * {
    background: var(--wp--preset--color--bg-canvas);
}
@media (max-width: 700px) {
    .voyager-outcome-strip.is-cols-3 { grid-template-columns: 1fr; }
}
.voyager-outcome-cell { display: flex; flex-direction: column; }
.voyager-outcome-val { font-variant-numeric: tabular-nums; }
.voyager-outcome-delta.is-down { color: var(--wp--preset--color--signal-down); }

/* ── NARRATIVE SECTIONS (problem-approach-result) ─────────────────────── */
.voyager-cs-section { position: relative; }
.voyager-cs-section-num .has-accent-bright-color {
    /* Marker number gets a slight uplift visually */
    display: block;
}
.voyager-cs-section-rich {
    max-width: 64ch;
}
.voyager-cs-section-rich p strong {
    color: var(--wp--preset--color--fg-1);
    font-weight: 600;
}
.voyager-cs-section-rail {
    /* Empty rail — preserves desktop column alignment with the section head's marker rail */
}
@media (max-width: 900px) {
    .voyager-cs-section-rail { display: none !important; }
    .voyager-cs-section-num { padding-bottom: var(--wp--preset--spacing--2); }
    .voyager-cs-section-head .wp-block-column[style*="200px"] {
        flex-basis: 100% !important;
    }
    .voyager-cs-section-body .wp-block-column[style*="200px"] {
        flex-basis: 100% !important;
    }
}

/* ── TACTICS LIST ─────────────────────────────────────────────────────── */
.voyager-cs-tactic .voyager-cs-tactic-id {
    flex-basis: 56px;
    flex-shrink: 0;
    padding-top: 4px;
}
.voyager-cs-tactic .voyager-cs-tactic-body {
    flex: 1 1 auto;
}

/* ── RESULT STRIP (before/after/delta) ────────────────────────────────── */
.voyager-cs-result-strip {
    font-variant-numeric: tabular-nums;
}
.voyager-cs-result-row .wp-block-columns {
    margin-block: 0;
}
@media (max-width: 700px) {
    .voyager-cs-result-row .wp-block-columns {
        flex-wrap: wrap;
    }
    .voyager-cs-result-row .wp-block-column[style*="36%"] {
        flex-basis: 100% !important;
        margin-bottom: var(--wp--preset--spacing--2);
    }
}

/* ── BIG QUOTE ────────────────────────────────────────────────────────── */
.voyager-big-quote-mark {
    user-select: none;
}
.voyager-big-quote-photo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(244,242,250,0.18) 1px, transparent 1px) 0 0 / 6px 6px,
        linear-gradient(135deg, #5C082D, #15122F);
    overflow: hidden;
    position: relative;
}
.voyager-big-quote-photo .voyager-big-quote-initials {
    position: relative;
    z-index: 1;
}

/* ── RELATED STRIP (work + services) ──────────────────────────────────── */
.voyager-related-eyebrow,
.voyager-related-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.voyager-related-link a {
    color: inherit;
}
.voyager-related-link a:hover {
    color: var(--wp--preset--color--accent-bright);
}
.voyager-related-grid,
.voyager-related-services-grid {
    align-items: stretch;
}
.voyager-cs-card.is-compact .voyager-cs-thumb {
    /* Compact case-study card — smaller thumb height */
    background-image: radial-gradient(circle, var(--wp--preset--color--border-hair) 1px, transparent 1px);
    background-size: 16px 16px;
    background-position: 0 0;
}
.voyager-cs-card.is-compact h3 a {
    color: var(--wp--preset--color--fg-1);
    transition: color 180ms cubic-bezier(0.2,0,0,1);
}
.voyager-cs-card.is-compact h3 a:hover {
    color: var(--wp--preset--color--accent-bright);
}

/* Service cards inside related-services */
.voyager-related-svc {
    transition: border-color 180ms cubic-bezier(0.2,0,0,1), background-color 180ms cubic-bezier(0.2,0,0,1);
}
.voyager-related-svc:hover {
    border-color: var(--wp--preset--color--accent) !important;
}
.voyager-related-svc h3 a {
    color: var(--wp--preset--color--fg-1);
    transition: color 180ms cubic-bezier(0.2,0,0,1);
}
.voyager-related-svc h3 a:hover {
    color: var(--wp--preset--color--accent-bright);
}

/* ── INDEX GRID-COORD strip ───────────────────────────────────────────── */
.voyager-idx-grid-coord {
    display: flex;
    align-items: center;
    gap: 12px;
}
.voyager-about-main a:hover,
.voyager-contact-main a:hover {
    color: var(--wp--preset--color--accent-bright);
    text-decoration: none;
}

/* ── ABOUT HERO ─────────────────────────────────────────────────────────── */
.voyager-about-hero {
    position: relative;
    overflow: hidden;
}
.voyager-about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--wp--preset--color--border-hair) 1px, transparent 1px),
        linear-gradient(to bottom, var(--wp--preset--color--border-hair) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.4;
    -webkit-mask-image: linear-gradient(to bottom, black, transparent);
    mask-image: linear-gradient(to bottom, black, transparent);
    pointer-events: none;
    z-index: 0;
}
.voyager-about-hero > .wp-block-columns { position: relative; z-index: 1; }
.voyager-about-hero-h em.voyager-hero-emphasis,
.voyager-about-hero-h em {
    font-style: italic;
    color: var(--wp--preset--color--accent-bright);
}
.voyager-about-hero-coord {
    display: flex;
    align-items: center;
    gap: 8px;
}
.voyager-about-meta + .voyager-about-meta { margin-top: 0; }
.voyager-about-meta-cell { font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
    .voyager-about-hero-grid { flex-direction: column; }
    .voyager-about-hero-right { width: 100% !important; flex-basis: 100% !important; }
}

/* ── ABOUT STORY ────────────────────────────────────────────────────────── */
.voyager-about-story-marker {
    position: sticky;
    top: 96px;
    align-self: flex-start;
}
.voyager-about-story-body p strong {
    color: var(--wp--preset--color--fg-1);
    font-weight: 500;
}
.voyager-about-story-body p {
    max-width: 64ch;
}
@media (max-width: 900px) {
    .voyager-about-story-marker { position: static; }
    .voyager-about-story-grid { flex-direction: column; }
}

/* ── ABOUT FOUNDERS (deep variant) ──────────────────────────────────────── */
.voyager-about-founders-list {
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--6);
}
.voyager-about-founder-portrait-col .voyager-founder-portrait {
    width: 200px;
    height: 200px;
}
.voyager-about-founder-portrait-col .voyager-founder-initials {
    font-size: 80px;
    text-shadow: 0 0 16px color-mix(in srgb, var(--wp--preset--color--accent-bright) 40%, transparent);
}
.voyager-about-founder-body p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
    .voyager-about-founder { flex-direction: column; }
    .voyager-about-founder-portrait-col { width: 100% !important; flex-basis: 100% !important; }
    .voyager-about-founder-portrait-col .voyager-founder-portrait {
        width: 120px;
        height: 120px;
    }
    .voyager-about-founder-portrait-col .voyager-founder-initials { font-size: 56px; }
}

/* ── ABOUT VALUES (expanded principles) ─────────────────────────────────── */
.voyager-about-values-list .voyager-about-value:last-child {
    border-bottom-width: 0 !important;
}
.voyager-about-value-num h3 {
    font-variant-numeric: tabular-nums;
}
.voyager-about-value-body p {
    max-width: 64ch;
}
@media (max-width: 768px) {
    .voyager-about-value { flex-direction: column; }
    .voyager-about-value-num { width: 100% !important; flex-basis: 100% !important; }
}

/* ── ABOUT STATS (operating model) ──────────────────────────────────────── */
.voyager-about-stats-marker {
    position: sticky;
    top: 96px;
    align-self: flex-start;
}
.voyager-about-stats-body p { max-width: 64ch; }
.voyager-about-stats-cell h3 { font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
    .voyager-about-stats-marker { position: static; }
    .voyager-about-stats-grid { flex-direction: column; }
}
@media (max-width: 768px) {
    .voyager-about-stats-metrics { flex-direction: column; }
    .voyager-about-stats-metrics .voyager-about-stats-cell {
        border-right-width: 0 !important;
        border-bottom: 1px solid var(--wp--preset--color--border-hair);
    }
    .voyager-about-stats-metrics .voyager-about-stats-cell:last-child { border-bottom-width: 0; }
}

/* ── CONTACT HERO ───────────────────────────────────────────────────────── */
.voyager-contact-hero h1 { max-width: 22ch; }
.voyager-contact-hero p { max-width: 64ch; }

/* ── CONTACT SPLIT (form + aside) ───────────────────────────────────────── */
@media (max-width: 900px) {
    .voyager-contact-split-grid { flex-direction: column; }
    .voyager-contact-form-col,
    .voyager-contact-aside-col {
        width: 100% !important;
        flex-basis: 100% !important;
    }
}

/* ── CONTACT FORM (placeholder fields) ──────────────────────────────────── */
.voyager-contact-form-id-accent { color: var(--wp--preset--color--accent-bright); }
.voyager-contact-form-status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    margin-right: 6px;
    vertical-align: middle;
}
.voyager-contact-form-label {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.voyager-contact-form-req {
    color: var(--wp--preset--color--accent-bright);
    font-size: 11px;
    letter-spacing: 0.08em;
}
.voyager-contact-form-req.voyager-contact-form-opt {
    color: var(--wp--preset--color--fg-5);
}
.voyager-contact-form-input,
.voyager-contact-form-textarea,
.voyager-contact-form-select {
    font-family: var(--wp--preset--font-family--body);
    font-size: 16px;
    color: var(--wp--preset--color--fg-1);
    background: var(--wp--preset--color--bg-panel);
    border: 1px solid var(--wp--preset--color--border-1);
    padding: 12px 16px;
    outline: none;
    transition:
        border-color 180ms cubic-bezier(0.2,0,0,1),
        background-color 180ms cubic-bezier(0.2,0,0,1);
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
}
.voyager-contact-form-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}
.voyager-contact-form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--wp--preset--color--fg-3) 50%),
        linear-gradient(135deg, var(--wp--preset--color--fg-3) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 48px;
}
.voyager-contact-form-input::placeholder,
.voyager-contact-form-textarea::placeholder { color: var(--wp--preset--color--fg-4); }
.voyager-contact-form-input:focus,
.voyager-contact-form-textarea:focus,
.voyager-contact-form-select:focus {
    border-color: var(--wp--preset--color--accent-bright);
    background: var(--wp--preset--color--bg-canvas);
}

/* ── CONTACT METHODS LIST ───────────────────────────────────────────────── */
.voyager-contact-methods-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
}
.voyager-contact-method {
    transition: background-color 180ms cubic-bezier(0.2,0,0,1);
}
.voyager-contact-method:hover {
    background: var(--wp--preset--color--bg-panel);
}

/* ── CONTACT CALENDAR PLACEHOLDER ───────────────────────────────────────── */
.voyager-contact-calendar {
    position: relative;
    overflow: hidden;
}
.voyager-contact-calendar::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--wp--preset--color--border-1) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}
.voyager-contact-calendar > * { position: relative; z-index: 1; }
.voyager-contact-calendar-tick {
    display: inline-block;
    width: 6px;
    height: 6px;
    border: 1px solid var(--wp--preset--color--accent-bright);
    margin-right: 8px;
    vertical-align: middle;
}

/* ── CONTACT INFO 3-UP ──────────────────────────────────────────────────── */
.voyager-contact-info-cell { transition: background-color 180ms cubic-bezier(0.2,0,0,1); }
.voyager-contact-info-cell:hover { background: var(--wp--preset--color--bg-panel); }
.voyager-contact-reassurance-accent { color: var(--wp--preset--color--accent-bright); }
@media (max-width: 768px) {
    .voyager-contact-info-grid { flex-direction: column; }
    .voyager-contact-info-cell {
        border-right-width: 0 !important;
        border-bottom: 1px solid var(--wp--preset--color--border-hair);
    }
    .voyager-contact-info-cell:last-child { border-bottom-width: 0; }
}

/* ── CONTACT FAQ (accordion) ────────────────────────────────────────────── */
.voyager-contact-faq-item {
    background: var(--wp--preset--color--bg-canvas);
    transition: background-color 180ms cubic-bezier(0.2,0,0,1);
}
.voyager-contact-faq-item[open] {
    background: var(--wp--preset--color--bg-panel);
}
.voyager-contact-faq-item > .wp-block-details__summary,
.voyager-contact-faq-item > summary {
    cursor: pointer;
    font-family: var(--wp--preset--font-family--display);
    font-size: var(--wp--preset--font-size--lg);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--wp--preset--color--fg-1);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.voyager-contact-faq-item > summary::-webkit-details-marker { display: none; }
.voyager-contact-faq-item > summary::after {
    content: "+";
    color: var(--wp--preset--color--accent-bright);
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    transition: transform 180ms cubic-bezier(0.2,0,0,1);
}
.voyager-contact-faq-item[open] > summary::after {
    content: "−";
}
.voyager-contact-faq-q { display: inline-block; }

