/* ==========================================================================
   HCM Navigators - public site
   Dark-first enterprise theme with a light mode toggled by .dark on <html>.
   ========================================================================== */

/* --- Tokens: light -------------------------------------------------------- */
:root {
    --font-sans: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;

    --page: #f8fafc;
    --band: #f1f5f9;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --header: rgba(255, 255, 255, 0.9);
    --line: #e2e8f0;
    --line-soft: #eef2f7;

    --text: #0f172a;
    --text-soft: #334155;
    --muted: #64748b;
    --faint: #94a3b8;

    --brand: #f97316;
    --brand-strong: #ea580c;
    --brand-ink: #c2410c;
    --brand-tint: #fff7ed;
    --brand-edge: #fed7aa;

    --accent: #fb923c;
    --emerald: #059669;
    --emerald-tint: #ecfdf5;
    --emerald-edge: #a7f3d0;
    --purple: #7c3aed;
    --purple-tint: #f5f3ff;
    --amber: #d97706;
    --amber-tint: #fffbeb;
    --sky: #0284c7;
    --danger: #dc2626;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);

    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    --shell: 1280px;
    --header-height: 80px;
}

/* --- Tokens: dark --------------------------------------------------------- */
html.dark {
    --page: #151c2e;
    --band: #1c2438;
    --surface: #242c42;
    --surface-2: #1c2438;
    --header: rgba(21, 28, 46, 0.92);
    --line: rgba(255, 255, 255, 0.1);
    --line-soft: rgba(255, 255, 255, 0.06);

    --text: #f1f5f9;
    --text-soft: #e2e8f0;
    --muted: #94a3b8;
    --faint: #64748b;

    --brand: #fb923c;
    --brand-strong: #f97316;
    --brand-ink: #fdba74;
    --brand-tint: rgba(249, 115, 22, 0.18);
    --brand-edge: rgba(251, 146, 60, 0.38);

    --accent: #fdba74;
    --emerald: #34d399;
    --emerald-tint: rgba(16, 185, 129, 0.12);
    --emerald-edge: rgba(16, 185, 129, 0.28);
    --purple: #c084fc;
    --purple-tint: rgba(168, 85, 247, 0.12);
    --amber: #fbbf24;
    --amber-tint: rgba(245, 158, 11, 0.12);
    --sky: #38bdf8;
    --danger: #f87171;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.65);
}

/* --- Base ---------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
    margin: 0;
    background: var(--page);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.25s ease, color 0.25s ease;
}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 800;
}

p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--band);
}

::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 999px;
}

::selection {
    background: var(--brand-strong);
    color: #ffffff;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 80;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--brand-strong);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
}

/* Material Symbols: sizing is driven by font-size, matching the reference design. */
.material-symbols-outlined {
    flex: none;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
    user-select: none;
}

.mi-xs {
    font-size: 14px;
}

.mi-sm {
    font-size: 16px;
}

.mi-md {
    font-size: 18px;
}

.mi-lg {
    font-size: 20px;
}

.mi-xl {
    font-size: 22px;
}

.mi-2xl {
    font-size: 28px;
}

.spaced-top {
    margin-top: 64px;
}

/* --- Layout -------------------------------------------------------------- */
.shell {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    position: relative;
    padding: 80px 0;
    background: var(--page);
    border-bottom: 1px solid var(--line);
    transition: background-color 0.25s ease;
}

.section-band {
    background: var(--band);
}

.section-tight {
    padding: 56px 0;
}

.section-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 48px;
}

.section-heading.centered {
    align-items: center;
    text-align: center;
    max-width: 760px;
    margin-inline: auto;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 44px);
}

.section-heading p {
    color: var(--muted);
    font-size: 16px;
}

.section-heading.row-heading {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.section-heading.row-heading > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--brand-tint);
    border: 1px solid var(--brand-edge);
    color: var(--brand-ink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow-pill.emerald {
    background: var(--emerald-tint);
    border-color: var(--emerald-edge);
    color: var(--emerald);
}

.eyebrow {
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* --- Buttons ------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(90deg, var(--brand), var(--brand-strong));
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: linear-gradient(90deg, var(--brand-strong), var(--brand));
    transform: scale(1.02);
}

.btn-solid {
    background: var(--brand);
    color: #ffffff;
}

.btn-solid:hover {
    background: var(--brand-strong);
}

.btn-ghost {
    background: var(--surface);
    border-color: var(--line);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
    background: var(--band);
    border-color: var(--brand-edge);
}

.btn-soft {
    background: var(--band);
    border-color: var(--line);
    color: var(--text-soft);
}

.btn-soft:hover {
    color: var(--brand);
    border-color: var(--brand-edge);
}

.btn-accent {
    background: var(--brand-tint);
    border-color: var(--brand-edge);
    color: var(--brand-ink);
}

.btn-accent:hover {
    background: var(--surface);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 9px 14px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.btn-link:hover {
    text-decoration: underline;
}

.btn-link.emerald {
    color: var(--emerald);
}

.btn-link.purple {
    color: var(--purple);
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--band);
    color: var(--text-soft);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.icon-btn:hover {
    color: var(--brand);
    border-color: var(--brand-edge);
}

.live-dot {
    position: relative;
    display: inline-flex;
    width: 8px;
    height: 8px;
    flex: none;
}

.live-dot::before,
.live-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: var(--emerald);
}

.live-dot::before {
    animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.75;
}

.live-dot.brand::after,
.live-dot.brand::before {
    background: var(--accent);
}

@keyframes ping {
    75%,
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* --- Header -------------------------------------------------------------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 40;
    background: var(--header);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-height);
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    display: block;
    height: 56px;
    width: auto;
    max-width: 168px;
    object-fit: contain;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}

.brand:hover .brand-logo {
    transform: scale(1.03);
}

.primary-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    font-weight: 500;
}

.primary-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    transition: color 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
    color: var(--text);
}

.primary-nav a[aria-current="page"] {
    font-weight: 700;
}

.primary-nav a[aria-current="page"]::after {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wamika-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--band);
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.wamika-pill:hover {
    color: var(--brand);
    border-color: var(--brand-edge);
}

.theme-toggle {
    color: var(--amber);
}

.theme-toggle .mi-moon,
html.dark .theme-toggle .mi-sun {
    display: none;
}

html.dark .theme-toggle .mi-moon {
    display: inline-block;
}

.nav-toggle {
    display: none;
}

/* --- Hero ---------------------------------------------------------------- */
main {
    padding-top: var(--header-height);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 96px;
    background: var(--page);
    border-bottom: 1px solid var(--line);
}

.hero-cinematic {
    --ih-panel: #ffffff;
    --ih-line: #d0d7e2;
    --ih-track: #c5d0de;
    --ih-track-ai: #d4d0e8;
    --ih-cyan: #ea580c;
    --ih-violet: #7c3aed;
    --ih-amber: #d97706;
    --ih-green: #059669;
    --ih-text: #0f172a;
    --ih-muted: #64748b;
    --ih-chip-green: #ecfdf5;
    --ih-chip-cyan: #fff7ed;
    --ih-chip-amber: #fffbeb;
    --ih-chip-violet: #f5f3ff;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px 0 40px;
    background: var(--page);
    border-bottom-color: var(--line);
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(1100px 500px at 68% 42%, #e8eef8 0%, var(--page) 72%),
        var(--page);
}

.hero-stage {
    position: absolute;
    inset: -8% -6% -12% -4%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    animation: hero-drift 28s ease-in-out infinite;
    will-change: transform;
}

.hero-stage .integration-hero {
    width: min(148%, 1680px);
    height: auto;
    max-width: none;
    opacity: 0.92;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(248, 250, 252, 0.96) 0%, rgba(248, 250, 252, 0.86) 38%, rgba(248, 250, 252, 0.28) 68%, rgba(248, 250, 252, 0.42) 100%),
        linear-gradient(180deg, rgba(248, 250, 252, 0.12) 0%, transparent 22%, rgba(248, 250, 252, 0.48) 100%);
}

.hero-cinematic .hero-grid {
    grid-template-columns: minmax(0, 640px);
    width: 100%;
}

.hero-cinematic .metric-card,
.hero-cinematic .status-overlay {
    background: rgba(255, 255, 255, 0.88);
    border-color: var(--line);
    backdrop-filter: blur(12px);
}

.hero-status-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 36px;
}

.hero-cinematic .status-overlay {
    position: relative;
    inset: auto;
    max-width: 640px;
}

html.dark .hero-cinematic {
    --ih-panel: #111827;
    --ih-line: #1f2937;
    --ih-track: #243244;
    --ih-track-ai: #2c2440;
    --ih-cyan: #fb923c;
    --ih-violet: #a78bfa;
    --ih-amber: #f59e0b;
    --ih-green: #34d399;
    --ih-text: #e5e9f0;
    --ih-muted: #8b95a7;
    --ih-chip-green: #0f2318;
    --ih-chip-cyan: #2a1c10;
    --ih-chip-amber: #2a1a05;
    --ih-chip-violet: #241a3d;
    background: #151c2e;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

html.dark .hero-media {
    background:
        radial-gradient(1100px 500px at 68% 42%, #1c2740 0%, #151c2e 72%),
        #151c2e;
}

html.dark .hero-shade {
    background:
        linear-gradient(90deg, rgba(21, 28, 46, 0.94) 0%, rgba(21, 28, 46, 0.78) 38%, rgba(21, 28, 46, 0.28) 68%, rgba(21, 28, 46, 0.45) 100%),
        linear-gradient(180deg, rgba(21, 28, 46, 0.2) 0%, transparent 22%, rgba(21, 28, 46, 0.55) 100%);
}

html.dark .hero-cinematic .hero-title,
html.dark .hero-cinematic .hero-subtitle,
html.dark .hero-cinematic .hero-lead,
html.dark .hero-cinematic .metric-label strong,
html.dark .hero-cinematic .status-overlay-copy strong {
    color: #f8fafc;
}

html.dark .hero-cinematic .hero-lead,
html.dark .hero-cinematic .metric-label span,
html.dark .hero-cinematic .status-overlay-copy span {
    color: #cbd5e1;
}

html.dark .hero-cinematic .btn-ghost {
    background: rgba(15, 23, 42, 0.45);
    border-color: rgba(255, 255, 255, 0.16);
    color: #f8fafc;
}

html.dark .hero-cinematic .btn-ghost:hover {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(251, 146, 60, 0.45);
}

html.dark .hero-cinematic .btn-accent {
    background: rgba(249, 115, 22, 0.2);
    border-color: rgba(251, 146, 60, 0.4);
    color: #ffedd5;
}

html.dark .hero-cinematic .metric-card,
html.dark .hero-cinematic .status-overlay {
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(255, 255, 255, 0.12);
}

.integration-hero .ih-label {
    font-size: 15px;
    font-weight: 600;
    fill: var(--ih-text);
}

.integration-hero .ih-sub {
    font-size: 11.5px;
    fill: var(--ih-muted);
}

.integration-hero .ih-hub-title {
    font-size: 19px;
    font-weight: 700;
    fill: var(--ih-text);
}

.integration-hero .ih-hub-sub {
    font-size: 12px;
    fill: var(--ih-muted);
}

.ih-pulse {
    animation: ih-pulse 2.6s ease-in-out infinite;
}

.ih-flow {
    stroke-dasharray: 4 10;
    animation: ih-flow 3.2s linear infinite;
}

.ih-flow-slow {
    animation-duration: 5.5s;
}

.ih-flow-rev {
    animation-direction: reverse;
}

@keyframes hero-drift {
    0%,
    100% {
        transform: scale(1.06) translate3d(2%, 0, 0);
    }

    50% {
        transform: scale(1.14) translate3d(-2.5%, -1.5%, 0);
    }
}

@keyframes ih-pulse {
    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 1;
    }
}

@keyframes ih-flow {
    to {
        stroke-dashoffset: -140;
    }
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(110px);
    opacity: 0.35;
}

html.dark .hero-glow {
    opacity: 0.2;
}

.hero-glow-one {
    top: 20%;
    left: 18%;
    width: 450px;
    height: 450px;
    background: rgba(249, 115, 22, 0.28);
}

.hero-glow-two {
    bottom: 4%;
    right: 20%;
    width: 350px;
    height: 350px;
    background: rgba(253, 186, 116, 0.22);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.hero-title {
    font-size: clamp(38px, 5.5vw, 62px);
    font-weight: 800;
}

.hero-title .gradient-text {
    background: linear-gradient(90deg, var(--brand), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(19px, 2.4vw, 24px);
    font-weight: 600;
    color: var(--text-soft);
}

.hero-subtitle .material-symbols-outlined {
    color: var(--accent);
}

.hero-lead {
    max-width: 620px;
    color: var(--muted);
    font-size: 17px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.hero-actions .btn-primary,
.hero-actions .btn-ghost {
    padding: 14px 26px;
    font-size: 15px;
}

.metric-card {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 14px 24px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.metric-value {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: var(--line);
}

.metric-label {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.metric-label strong {
    font-size: 16px;
    font-weight: 800;
}

.metric-label span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    background: var(--emerald-tint);
    border: 1px solid var(--emerald-edge);
    color: var(--emerald);
    font-size: 12px;
    font-weight: 700;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    padding: 10px 16px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    line-height: 1.3;
}

.trust-item strong {
    font-size: 15px;
    font-weight: 800;
}

.trust-item span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Hero visual */
.hero-visual {
    position: relative;
}

.visual-frame {
    padding: 4px;
    border-radius: var(--radius-xl);
    background: linear-gradient(45deg, rgba(249, 115, 22, 0.35), transparent, rgba(253, 186, 116, 0.35));
    box-shadow: var(--shadow-lg);
}

.visual-inner {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 50% 40%, rgba(249, 115, 22, 0.28), transparent 62%), var(--surface-2);
}

.visual-inner > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 0.7s ease;
}

.visual-frame:hover .visual-inner > img {
    transform: scale(1.05);
}

.visual-shade,
.impact-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 11, 20, 0.78), transparent 52%);
    pointer-events: none;
}

.orbit {
    position: absolute;
    top: 42%;
    left: 50%;
    translate: -50% -50%;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.orbit-large {
    width: 340px;
    height: 340px;
    animation: spin 46s linear infinite;
}

.orbit-small {
    width: 220px;
    height: 220px;
    animation: spin 30s linear infinite reverse;
}

.orbit::after {
    content: "";
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
}

@keyframes spin {
    to {
        rotate: 360deg;
    }
}

.compass {
    position: absolute;
    top: 42%;
    left: 50%;
    translate: -50% -50%;
    display: grid;
    place-items: center;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    color: var(--accent);
}

.compass .material-symbols-outlined {
    font-size: 54px;
}

.status-overlay {
    position: absolute;
    inset: auto 16px 16px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.status-overlay-copy {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-overlay-copy strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
}

.status-overlay-copy span {
    font-size: 11px;
    color: var(--muted);
}

.status-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: var(--radius-sm);
    background: var(--brand-tint);
    border: 1px solid var(--brand-edge);
    color: var(--brand-ink);
}

.status-icon.round {
    border-radius: 999px;
}

.uptime-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--emerald-tint);
    border: 1px solid var(--emerald-edge);
    color: var(--emerald);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: currentColor;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    50% {
        opacity: 0.35;
    }
}

/* --- Ecosystem bar ------------------------------------------------------- */
.ecosystem-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ecosystem-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ecosystem-label .material-symbols-outlined {
    color: var(--accent);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    flex: 1 1 560px;
}

.platform-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 18px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.platform-chip:hover {
    border-color: var(--brand-edge);
    box-shadow: var(--shadow-sm);
}

.platform-chip img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.platform-chip .material-symbols-outlined {
    flex: none;
    font-size: 26px;
}

.platform-chip strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
}

.platform-chip > span:not(.material-symbols-outlined) {
    min-width: 0;
}

.platform-chip > span:not(.material-symbols-outlined) span {
    font-size: 10px;
    color: var(--muted);
}

.accent-blue {
    color: var(--brand);
}

.accent-emerald {
    color: var(--emerald);
}

.accent-amber {
    color: var(--amber);
}

.accent-cyan {
    color: var(--accent);
}

.accent-purple {
    color: var(--purple);
}

.accent-sky {
    color: var(--sky);
}

/* --- Cards --------------------------------------------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: var(--radius-lg);
    background: var(--brand-tint);
    border: 1px solid var(--brand-edge);
    color: var(--brand-ink);
}

.service-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.service-icon.accent-blue,
.service-icon.accent-emerald,
.service-icon.accent-amber,
.service-icon.accent-cyan,
.service-icon.accent-purple {
    color: inherit;
}

.service-card.emerald .service-icon {
    background: var(--emerald-tint);
    border-color: var(--emerald-edge);
    color: var(--emerald);
}

.service-card.purple .service-icon {
    background: var(--purple-tint);
    border-color: var(--purple);
    color: var(--purple);
}

.card-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--brand);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-card.emerald .card-kicker {
    color: var(--emerald);
}

.service-card.purple .card-kicker {
    color: var(--purple);
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 17px;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
}

.card-note {
    color: var(--faint);
    font-size: 11px;
}

.rich-copy {
    color: var(--muted);
    font-size: 15px;
}

.rich-copy p {
    margin: 0 0 12px;
}

.rich-copy p:last-child {
    margin-bottom: 0;
}

.rich-copy ul {
    margin: 0;
    padding-left: 20px;
}

/* --- Impact split -------------------------------------------------------- */
.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 0;
}

.impact-visual {
    position: relative;
    height: 540px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at 30% 30%, rgba(16, 185, 129, 0.22), transparent 60%),
        radial-gradient(circle at 75% 70%, rgba(249, 115, 22, 0.25), transparent 60%), var(--surface-2);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.impact-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 44%;
}

.impact-visual .grid-lines {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.5;
    mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 72%);
}

.adoption-pill {
    position: absolute;
    left: 20px;
    right: auto;
    bottom: 20px;
    max-width: min(280px, calc(100% - 40px));
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.adoption-pill .status-icon {
    background: var(--emerald-tint);
    border-color: var(--emerald-edge);
    color: var(--emerald);
    border-radius: 999px;
}

.adoption-pill strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
}

.adoption-pill span {
    font-size: 12px;
    color: var(--muted);
}

.impact-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.impact-copy h2 {
    font-size: clamp(28px, 3.6vw, 40px);
}

.metric-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

.metric-tile {
    padding: 20px;
    border-radius: var(--radius);
    background: var(--surface-2);
    border: 1px solid var(--line);
}

.metric-tile strong {
    display: block;
    font-size: clamp(28px, 3.4vw, 38px);
    font-weight: 800;
    color: var(--brand);
}

.metric-tile.emerald strong {
    color: var(--emerald);
}

.metric-tile p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

/* --- Founder quote ------------------------------------------------------- */
.quote-banner {
    padding: 48px;
    margin-top: 0;
    border-radius: var(--radius-xl);
    background: var(--surface-2);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
    clear: both;
}

.spaced-top {
    margin-top: 48px;
}

.quote-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.quote-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: var(--brand-tint);
    border: 1px solid var(--brand-edge);
    color: var(--brand-ink);
}

.quote-banner blockquote {
    margin: 0;
    font-size: clamp(18px, 2.4vw, 24px);
    font-style: italic;
    font-weight: 500;
    line-height: 1.55;
    color: var(--text-soft);
}

.quote-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.quote-author strong {
    font-size: 16px;
    font-weight: 800;
}

.quote-author span {
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* --- Feature / case study cards ------------------------------------------ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.feature-card,
.post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card {
    min-height: 320px;
}

.post-card {
    min-width: 0;
}

.feature-card:hover,
.post-card:hover {
    border-color: var(--brand-edge);
    transform: translateY(-3px);
}

.card-image {
    height: 150px;
    background: var(--band);
}

.card-image:empty {
    background: linear-gradient(135deg, var(--brand-tint), transparent);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
}

.card-meta {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--brand-tint);
    border: 1px solid var(--brand-edge);
    color: var(--brand-ink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.card-body h3 {
    font-size: 16px;
}

.card-body p {
    color: var(--muted);
    font-size: 14px;
}

.card-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    margin-top: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.card-action:hover {
    text-decoration: underline;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.load-more-row {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.load-more-row:empty {
    display: none;
}

.share-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.share-btn {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--band);
    color: var(--text-soft);
    text-decoration: none;
    cursor: pointer;
}

.share-btn svg {
    display: block;
}

.share-btn.facebook {
    color: #1877f2;
}

.share-btn.instagram {
    color: #e1306c;
}

.share-btn.linkedin {
    color: #0a66c2;
}

.share-btn.whatsapp {
    color: #25d366;
}

.share-btn.mail,
.share-btn.copy {
    color: var(--brand);
}

.share-btn:hover {
    border-color: currentColor;
}

.post-card .card-image {
    height: 64px;
}

.post-card .card-body {
    justify-content: space-between;
    gap: 10px;
    height: 100%;
    padding: 14px 16px 12px;
}

.post-card .card-body h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.35;
}

.post-card .card-body p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
}

.post-card .card-action {
    flex: none;
    margin-top: 0;
    white-space: nowrap;
}

.post-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.post-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--faint);
    font-size: 12px;
}

.post-foot {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 0;
    padding-top: 10px;
    border-top: 1px solid var(--line-soft);
    color: var(--faint);
    font-size: 11px;
}

.post-card .share-row {
    gap: 4px;
}

.post-card .share-btn {
    width: 22px;
    height: 22px;
    border-radius: 6px;
}

/* --- Practice leads ------------------------------------------------------ */
.lead-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.lead-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 22px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.lead-card:hover {
    border-color: var(--brand-edge);
    transform: translateY(-3px);
}

.lead-identity {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.lead-avatar {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: none;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--brand-tint);
    border: 1px solid var(--brand-edge);
    color: var(--brand-ink);
    font-size: 18px;
    font-weight: 800;
    transition: transform 0.2s ease;
}

.lead-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lead-card:hover .lead-avatar {
    transform: scale(1.05);
}

.lead-info {
    min-width: 0;
}

.lead-info h3 {
    font-size: 16px;
    font-weight: 800;
}

.lead-info p {
    color: var(--muted);
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lead-view {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: var(--radius-sm);
    background: var(--band);
    border: 1px solid var(--line);
    color: var(--muted);
}

.lead-card:hover .lead-view {
    color: var(--brand);
}

/* Accent variants applied by index of the card */
.lead-card.emerald .lead-avatar {
    background: var(--emerald-tint);
    border-color: var(--emerald-edge);
    color: var(--emerald);
}

.lead-card.cyan .lead-avatar {
    background: var(--brand-tint);
    color: var(--accent);
}

.lead-card.amber .lead-avatar {
    background: var(--amber-tint);
    border-color: var(--amber);
    color: var(--amber);
}

.lead-card.purple .lead-avatar {
    background: var(--purple-tint);
    border-color: var(--purple);
    color: var(--purple);
}

.lead-card.sky .lead-avatar {
    color: var(--sky);
}

/* --- Career callout ------------------------------------------------------ */
#career.section {
    padding-top: 28px;
    padding-bottom: 28px;
}

.career-callout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-top: 0;
    padding: 16px 28px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--line);
}

.career-callout h3 {
    margin-top: 6px;
    font-size: 22px;
}

/* --- Conversion banner --------------------------------------------------- */
.cta-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 48px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.cta-copy {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cta-footprint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cta-copy h2 {
    font-size: clamp(24px, 3vw, 32px);
}

.cta-copy p {
    color: var(--muted);
    font-size: 14px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* --- Contact ------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: start;
}

.contact-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-copy h2 {
    font-size: clamp(26px, 3.4vw, 38px);
}

.contact-copy p {
    color: var(--muted);
}

.contact-locations {
    display: grid;
    gap: 12px;
    margin-top: 8px;
}

.contact-location {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}

.contact-location strong {
    color: var(--text);
    font-size: 14px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-soft);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--text);
    font-size: 14px;
    font-weight: 400;
    transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--brand);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form [aria-invalid="true"] {
    border-color: var(--danger);
}

.form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.form-status {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.form-status.error {
    color: var(--danger);
}

/* --- Footer -------------------------------------------------------------- */
.site-footer {
    background: var(--surface-2);
    border-top: 1px solid var(--line);
}

html.dark .site-footer {
    background: #141b2c;
}

.footer-grid {
    display: grid;
    grid-template-columns: 4fr 2fr 3fr 3fr;
    gap: 40px;
    padding: 64px 0 0;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand p {
    color: var(--muted);
    font-size: 13px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a,
.footer-social button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: var(--band);
    border: 1px solid var(--line);
    color: var(--muted);
    cursor: pointer;
    transition: color 0.2s ease;
}

.footer-social a:hover,
.footer-social button:hover {
    color: var(--brand);
}

.footer-menus {
    display: contents;
}

.footer-col,
.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-title {
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-menu a,
.footer-col a {
    color: var(--muted);
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-menu a:hover,
.footer-col a:hover {
    color: var(--text);
}

.footer-hq {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}

.hq-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.hq-row .material-symbols-outlined {
    color: var(--accent);
    margin-top: 2px;
}

.support-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    background: var(--emerald-tint);
    border: 1px solid var(--emerald-edge);
    color: var(--emerald);
    font-size: 11px;
    font-weight: 700;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    padding: 24px 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-legal a:hover {
    text-decoration: underline;
}

/* --- Modals -------------------------------------------------------------- */
dialog.modal {
    width: min(640px, calc(100vw - 32px));
    max-height: min(86vh, 900px);
    padding: 0;
    border: 0;
    background: none;
    overflow: visible;
}

dialog.modal::backdrop {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-card {
    position: relative;
    max-height: min(86vh, 900px);
    overflow-y: auto;
    padding: 32px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    color: var(--text);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--muted);
    cursor: pointer;
}

.modal-close:hover {
    background: var(--band);
    color: var(--text);
}

.modal-body h2 {
    margin: 8px 0 12px;
    font-size: 26px;
}

.modal-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.related-links {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
}

.related-links h3 {
    margin-bottom: 8px;
    font-size: 15px;
}

.text-link {
    color: var(--brand);
    font-weight: 600;
}

/* Practice-lead dossier */
.dossier-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-right: 40px;
}

.dossier-avatar {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    flex: none;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--brand-tint);
    border: 1px solid var(--brand-edge);
    color: var(--brand-ink);
    font-size: 24px;
    font-weight: 800;
}

.dossier-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dossier-badge {
    display: inline-flex;
    margin-bottom: 6px;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    background: var(--band);
    color: var(--brand);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.dossier-head h3 {
    font-size: 24px;
}

.dossier-head p {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.dossier-section {
    margin-bottom: 20px;
}

.dossier-label {
    display: block;
    margin-bottom: 8px;
    color: var(--faint);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-pill {
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    background: var(--band);
    border: 1px solid var(--line);
    color: var(--text-soft);
    font-size: 11px;
    font-weight: 600;
}

.dossier-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--line-soft);
}

.dossier-actions .btn-solid {
    flex: 1 1 240px;
}

/* --- Wamika assistant ---------------------------------------------------- */
.wamika-trigger {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px 10px 10px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--brand-edge);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.wamika-trigger:hover {
    transform: scale(1.03);
}

.wamika-avatar {
    position: relative;
    width: 44px;
    height: 44px;
    flex: none;
    padding: 2px;
    border-radius: 999px;
    background: linear-gradient(45deg, var(--brand), var(--brand-strong), var(--accent));
}

.wamika-avatar-inner {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 999px;
    background: #0f172a;
    color: var(--accent);
}

.wamika-avatar .live-dot {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 12px;
    height: 12px;
}

.wamika-trigger-icon {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex: none;
    margin-left: 2px;
    border-radius: 999px;
    background: var(--band);
    color: var(--brand);
}

.wamika-labels {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.3;
}

.wamika-labels strong {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 800;
}

.wamika-labels strong span {
    color: var(--brand);
    font-size: 11px;
    font-weight: 500;
}

.wamika-labels > span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--emerald);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wamika-panel {
    position: fixed;
    right: 24px;
    bottom: 100px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    width: min(390px, calc(100vw - 32px));
    height: min(540px, 80vh);
    border-radius: var(--radius-xl);
    background: var(--surface-2);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.wamika-panel[hidden] {
    display: none;
}

.wamika-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.wamika-head-copy {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wamika-head-copy .status-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
}

.wamika-head h3 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.wamika-tag {
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--brand-tint);
    color: var(--brand-ink);
    font-size: 10px;
    font-weight: 800;
}

.wamika-head p {
    color: var(--muted);
    font-size: 10px;
}

.wamika-head-actions {
    display: flex;
    gap: 4px;
}

.wamika-head-actions button {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--muted);
    cursor: pointer;
}

.wamika-head-actions button:hover {
    color: var(--text);
    background: var(--band);
}

.wamika-messages {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    font-size: 13px;
}

.wamika-msg {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 92%;
}

.wamika-msg.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.msg-avatar {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex: none;
    margin-top: 2px;
    border-radius: 999px;
    background: var(--brand-tint);
    color: var(--brand-ink);
}

.wamika-msg.user .msg-avatar {
    background: var(--brand);
    color: #ffffff;
}

.msg-bubble {
    padding: 12px 14px;
    border-radius: var(--radius-lg);
    border-top-left-radius: 4px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text-soft);
    box-shadow: var(--shadow-sm);
    line-height: 1.55;
}

.msg-bubble strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
}

.wamika-msg.user .msg-bubble {
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: 4px;
    background: var(--brand);
    border-color: var(--brand);
    color: #ffffff;
}

.prompt-pills {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.prompt-pills-label {
    padding-left: 4px;
    color: var(--faint);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.prompt-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text-soft);
    font-size: 12px;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.prompt-pill:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.wamika-form {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--surface);
    border-top: 1px solid var(--line);
}

.wamika-form input {
    flex: 1;
    padding: 11px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--band);
    color: var(--text);
    font-size: 13px;
}

.wamika-form input:focus {
    border-color: var(--brand);
    outline: none;
}

.wamika-form button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    border: 0;
    border-radius: var(--radius);
    background: var(--brand);
    color: #ffffff;
    cursor: pointer;
}

.wamika-form button:hover {
    background: var(--brand-strong);
}

.wamika-msg.wamika-contact-msg {
    max-width: 100%;
}

.wamika-contact-bubble {
    width: 100%;
    padding: 12px;
}

.wamika-contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wamika-contact-form .field-row {
    grid-template-columns: 1fr;
    gap: 10px;
}

.wamika-contact-form label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-soft);
}

.wamika-contact-form input,
.wamika-contact-form select,
.wamika-contact-form textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--text);
    font-size: 13px;
    font-weight: 400;
}

.wamika-contact-form input:focus,
.wamika-contact-form select:focus,
.wamika-contact-form textarea:focus {
    border-color: var(--brand);
    outline: none;
}

.wamika-contact-form textarea {
    resize: vertical;
    min-height: 72px;
}

.wamika-contact-form [aria-invalid="true"] {
    border-color: var(--danger);
}

.wamika-contact-form .form-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.wamika-contact-form .form-status {
    font-size: 12px;
}

.wamika-contact-form button[type="submit"] {
    width: 100%;
    justify-content: center;
}

/* --- States -------------------------------------------------------------- */
.skeleton {
    height: 180px;
    border-radius: var(--radius-xl);
    background: linear-gradient(90deg, var(--band), var(--surface), var(--band));
    background-size: 200% 100%;
    animation: shimmer 1.4s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: -200% 0;
    }
}

.empty-state {
    grid-column: 1 / -1;
    padding: 32px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px dashed var(--line);
    color: var(--muted);
    text-align: center;
    font-size: 14px;
}

.noscript {
    padding: 16px;
    background: var(--amber-tint);
    color: var(--text);
    text-align: center;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-stage {
        animation: none;
        transform: none;
    }

    .ih-packet {
        display: none;
    }
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1180px) {
    .primary-nav .nav-list {
        gap: 18px;
    }

    .wamika-pill span {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .card-grid,
    .feature-grid,
    .post-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .hero-grid,
    .impact-grid,
    .contact-grid,
    .card-grid,
    .feature-grid,
    .post-grid,
    .platform-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-grid,
    .impact-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-cinematic {
        min-height: 0;
    }

    .hero-shade {
        background:
            linear-gradient(180deg, rgba(248, 250, 252, 0.92) 0%, rgba(248, 250, 252, 0.84) 42%, rgba(248, 250, 252, 0.94) 100%),
            linear-gradient(90deg, rgba(248, 250, 252, 0.9) 0%, rgba(248, 250, 252, 0.45) 100%);
    }

    html.dark .hero-shade {
        background:
            linear-gradient(180deg, rgba(21, 28, 46, 0.82) 0%, rgba(21, 28, 46, 0.7) 42%, rgba(21, 28, 46, 0.88) 100%),
            linear-gradient(90deg, rgba(21, 28, 46, 0.88) 0%, rgba(21, 28, 46, 0.4) 100%);
    }

    .hero-stage .integration-hero {
        width: min(220%, 1400px);
        opacity: 0.55;
    }

    .visual-inner {
        height: 340px;
    }

    .nav-toggle {
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        border-radius: var(--radius-sm);
        border: 1px solid var(--line);
        background: var(--band);
        color: var(--text);
        cursor: pointer;
    }

    .primary-nav {
        position: fixed;
        inset: var(--header-height) 0 auto 0;
        display: none;
        padding: 16px;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .primary-nav.open {
        display: block;
    }

    .primary-nav .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .primary-nav .nav-list a {
        padding: 12px;
        border-radius: var(--radius-sm);
        font-size: 15px;
    }

    .primary-nav .nav-list a:hover {
        background: var(--band);
    }
}

@media (max-width: 720px) {
    .section {
        padding: 56px 0;
    }

    .hero {
        padding: 40px 0 64px;
    }

    .hero-cinematic {
        padding: 40px 0 28px;
    }

    .hero-cinematic .status-overlay {
        flex-wrap: wrap;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading.row-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .quote-banner,
    .cta-banner,
    .contact-form {
        padding: 24px;
    }

    #career.section {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .career-callout {
        padding: 14px 16px;
    }

    .field-row,
    .metric-tiles,
    .card-grid,
    .feature-grid,
    .post-grid,
    .platform-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .metric-card {
        flex-wrap: wrap;
        gap: 12px;
    }

    .wamika-trigger {
        right: 16px;
        bottom: 16px;
    }

    .wamika-labels {
        display: none;
    }

    .wamika-panel {
        right: 16px;
        left: 16px;
        bottom: 88px;
        width: auto;
    }

    .modal-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        height: 44px;
        max-width: 132px;
    }

    .header-actions .wamika-pill {
        display: none;
    }
}
