/* ==================== Custom scrollbar ==================== */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;  /* Scrollbar width */
}

::-webkit-scrollbar-track {
    background: #191d2f;  /* Scrollbar track background colour */
}

::-webkit-scrollbar-thumb {
    background: #202a4d;  /* Scrollbar thumb colour */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1c76b7;  /* Scrollbar thumb hover colour */
}

/* ==================== No-scrollbar helper class ==================== */

/* Hide the scrollbar in all browsers */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;     /* IE and Edge */
    scrollbar-width: none;         /* Firefox */
}

/* ==================== Animation definitions ==================== */

/* Fade-in animation: transparent and offset -> opaque and in place */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reveal-on-scroll - hidden state */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

/* Reveal-on-scroll - visible state */
.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== Floating decorative orb animation ==================== */

/* Apply the floating animation */
.animate-blob {
    animation: blob 7s infinite;
}

/* 3D transform animation for the floating orb */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

/* Animation delay - 2s */
.animation-delay-2000 {
    animation-delay: 2s;
}

/* Animation delay - 4s */
.animation-delay-4000 {
    animation-delay: 4s;
}

/* ==================== Navigation bar link styles ==================== */

/* Base navigation link styles */
.nav-link {
    color: #d1d5db;           /* grey-300 */
    font-weight: 500;
    transition: color 0.2s;
}

/* Navigation link hover state */
.nav-link:hover {
    color: #1c76b7;           /* Accent colour: cyan */
}

/* ==================== Progress and process visualisation ==================== */

/* Progress bar animation */
@keyframes progressBar {
    0% { width: 0; }
    100% { width: 100%; }
}

.progress-bar {
    height: 3px;
    background: linear-gradient(90deg, #1c76b7, #5cc6e4, #1c76b7);
    animation: progressBar 2s ease-out forwards;
    box-shadow: 0 0 10px rgba(28, 118, 183, 0.6);
}

/* Step indicator */
.step-indicator {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1c76b7;
    box-shadow: 0 0 15px rgba(28, 118, 183, 0.5);
    transition: all 0.3s ease;
}

.step-dot:hover {
    transform: scale(1.5);
    box-shadow: 0 0 25px rgba(28, 118, 183, 0.8);
}

.step-connector {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1c76b7, transparent);
    opacity: 0.5;
}

/* Parallel line connectors */
.parallel-connector {
    position: relative;
    padding: 40px 0;
}

.parallel-connector::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent, 
        rgba(28, 118, 183, 0.3) 25%, 
        rgba(28, 118, 183, 0.3) 75%, 
        transparent);
    transform: translateX(-50%);
}

/* Cycle process card enhancements */
.cycle-flow-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.cycle-flow-item:nth-child(1) { animation-delay: 0.1s; }
.cycle-flow-item:nth-child(2) { animation-delay: 0.2s; }
.cycle-flow-item:nth-child(3) { animation-delay: 0.3s; }

/* Pulsing blink effect */
@keyframes pulse-bright {
    0%, 100% { opacity: 1; box-shadow: 0 0 15px rgba(28, 118, 183, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 30px rgba(28, 118, 183, 0.7); }
}

.pulse-glow {
    animation: pulse-bright 2s ease-in-out infinite;
}

/* Slide-in effect */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* Number counting animation */
@keyframes countUp {
    from { content-visibility: auto; }
}

.count-number {
    font-weight: 800;
    font-size: 50px;
}

/* Card hover lift effect */
.card-lift {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(28, 118, 183, 0.15);
}

/* Border animation */
@keyframes borderGlow {
    0%, 100% { box-shadow: inset 0 0 10px rgba(28, 118, 183, 0.2), 0 0 10px rgba(28, 118, 183, 0.2); }
    50% { box-shadow: inset 0 0 20px rgba(28, 118, 183, 0.4), 0 0 20px rgba(28, 118, 183, 0.4); }
}

.border-glow {
    animation: borderGlow 3s ease-in-out infinite;
}

/* Progressive text reveal */
@keyframes textReveal {
    from {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

.text-reveal {
    animation: textReveal 1s ease-out;
}

/* Micro-interaction - hover scale */
.hover-scale {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* ==================== Advanced animation effects ==================== */

/* Progressive fade-out animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Rotate in */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.8);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Scale pulse */
@keyframes scalePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Rainbow border animation */
@keyframes borderShift {
    0% {
        border-color: #1c76b7;
        box-shadow: 0 0 20px rgba(28, 118, 183, 0.3);
    }
    33% {
        border-color: #5cc6e4;
        box-shadow: 0 0 20px rgba(92, 198, 228, 0.3);
    }
    66% {
        border-color: #1c76b7;
        box-shadow: 0 0 20px rgba(28, 118, 183, 0.3);
    }
    100% {
        border-color: #1c76b7;
        box-shadow: 0 0 20px rgba(28, 118, 183, 0.3);
    }
}

/* Flowing background gradient */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Blinking glow */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer-effect {
    background: linear-gradient(90deg, 
        transparent, 
        rgba(28, 118, 183, 0.3), 
        transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Smooth sliding */
@keyframes smoothSlide {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

.smooth-slide {
    animation: smoothSlide 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Continuous floating element animation */
@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.float-in {
    animation: floatUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* List items revealed line by line */
@keyframes staggerIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.stagger-item {
    animation: staggerIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }

/* Responsive process card layout improvements */
@media (max-width: 768px) {
    .cycle-card {
        padding: 30px;
    }
    
    .card-lift:hover {
        transform: translateY(-4px);
    }
}

/* ========================================================================== */
/* dogmaOS silver-white technology theme (2026-07) */
/* ========================================================================== */

:root {
    /* 01. Silver-white background layers */
    --dogma-silver-0: #ffffff;
    --dogma-silver-1: #f6f8fb;
    --dogma-silver-2: #e8edf4;
    --dogma-silver-3: #cbd5e1;

    /* 02. Primary colour: deep cobalt close to the logo; light is used for glows and gradients */
    --dogma-blue: #1246a0;
    --dogma-blue-light: #3b82f6;
    --dogma-blue-rgb: 18, 70, 160;

    /* 03. Third accent: spectral violet, used sparingly for small distinctions and visual contrast */
    --dogma-violet: #6d3df5;
    --dogma-violet-rgb: 109, 61, 245;

    /* 04. Light-theme text and shared strokes */
    --dogma-ink: #0b1730;
    --dogma-copy: #334155;
    --dogma-muted: #64748b;
    --dogma-line: rgba(88, 108, 137, 0.20);

    /* 05. iPhone Control-Center style glass material */
    --dogma-glass: rgba(255, 255, 255, 0.64);
    --dogma-glass-strong: rgba(255, 255, 255, 0.82);
    --dogma-glass-line: rgba(255, 255, 255, 0.92);
    --dogma-glass-shadow: 0 18px 50px rgba(49, 67, 94, 0.16),
                          inset 0 1px 0 rgba(255, 255, 255, 0.96),
                          inset 0 -1px 0 rgba(92, 112, 143, 0.10);
}

html {
    color-scheme: light;
}

body, #main-scroll {
    color: var(--dogma-copy);
    background-color: var(--dogma-silver-1) !important;
    background-image:
        radial-gradient(circle at 14% 8%, rgba(var(--dogma-blue-rgb), 0.11), transparent 600px),
        radial-gradient(circle at 88% 20%, rgba(var(--dogma-violet-rgb), 0.07), transparent 520px),
        repeating-linear-gradient(118deg, rgba(255,255,255,0.42) 0 1px, rgba(152,167,188,0.035) 1px 3px),
        linear-gradient(135deg, #ffffff 0%, #edf2f8 48%, #fbfdff 100%) !important;
    background-attachment: fixed !important;
}

/* ---------- Map the original dark background onto silver-white layers ---------- */
.bg-primary, [class*="bg-primary/"] {
    background-color: rgba(246, 248, 251, 0.86) !important;
}

.bg-primary-light, [class*="bg-primary-light/"] {
    background-color: rgba(255, 255, 255, 0.74) !important;
    background-image: linear-gradient(145deg, rgba(255,255,255,0.76), rgba(225,232,241,0.34));
}

.bg-white\/5, .hover\:bg-white\/5:hover {
    background-color: rgba(255, 255, 255, 0.58) !important;
}

.text-white, .text-gray-100, .text-gray-200 {
    color: var(--dogma-ink) !important;
}

.text-gray-300 {
    color: var(--dogma-copy) !important;
}

.text-gray-400, .text-gray-500, .text-gray-600, [class*="text-gray-400/"] {
    color: var(--dogma-muted) !important;
}

.text-primary, .hover\:text-white:hover { color: var(--dogma-ink) !important; }

.bg-gray-700 { background-color: color-mix(in srgb, var(--dogma-silver-2) 24%, transparent) !important; }

.border-gray-800, .border-gray-700, .border-gray-600, [class*="border-gray-800/"], [class*="border-gray-600/"], .border-white\/10 {
    border-color: var(--dogma-line) !important;
}

/* ---------- Unified mapping of the logo blue and the third accent colour ---------- */
.text-accent, .hover\:text-accent:hover, .group:hover .group-hover\:text-accent, .text-accent-glow {
    color: var(--dogma-blue) !important;
}

.bg-accent, [class*="bg-accent/"] {
    background-color: rgba(var(--dogma-blue-rgb), 0.13) !important;
}

.bg-accent:not([class*="bg-accent/"]) {
    background-color: var(--dogma-blue) !important;
}

.border-accent, [class*="border-accent/"] {
    border-color: rgba(var(--dogma-blue-rgb), 0.32) !important;
}

.from-accent {
    --tw-gradient-from: var(--dogma-blue) var(--tw-gradient-from-position) !important;
    --tw-gradient-to: rgba(var(--dogma-blue-rgb), 0) var(--tw-gradient-to-position) !important;
}

.via-accent {
    --tw-gradient-to: rgba(var(--dogma-blue-rgb), 0) var(--tw-gradient-to-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--dogma-blue-light) var(--tw-gradient-via-position), var(--tw-gradient-to) !important;
}

.to-accent, .to-blue-500 {
    --tw-gradient-to: var(--dogma-blue-light) var(--tw-gradient-to-position) !important;
}

.text-purple-400, [class*="text-purple-400/"] {
    color: var(--dogma-violet) !important;
}

.bg-purple-400\/10, .bg-purple-400\/20, .bg-purple-400\/30, .bg-purple-500\/5, .bg-purple-500\/10, .bg-purple-500\/20 {
    background-color: rgba(var(--dogma-violet-rgb), 0.10) !important;
}

[class*="border-purple-"] {
    border-color: rgba(var(--dogma-violet-rgb), 0.24) !important;
}

.mix-blend-screen {
    mix-blend-mode: multiply !important;
}

.hero-gradient {
    background: linear-gradient(135deg,
        rgba(255,255,255,0.88) 0%,
        rgba(225,233,244,0.72) 50%,
        rgba(248,250,253,0.90) 100%) !important;
}

.title-fix {
    background-image: linear-gradient(95deg, #F1DCE4, #98CBEA) !important;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.25)) drop-shadow(0 12px 28px rgba(var(--dogma-blue-rgb), 0.14));
}

.bg-primary-light:not(#mobile-menu):not(.dropdown-menu), .cycle-card, .card-lift {
    box-shadow: 0 12px 36px rgba(39, 60, 92, 0.08),
                inset 0 1px 0 rgba(255,255,255,0.88);
}

.card-lift:hover, .cycle-card:hover {
    border-color: rgba(var(--dogma-blue-rgb), 0.38) !important;
    box-shadow: 0 20px 48px rgba(var(--dogma-blue-rgb), 0.14) !important;
}

/* ---------- iPhone Control-Center style glass navigation ---------- */
#navbar {
    top: 15px;
    padding: 0 17px;
    background: transparent !important;
    border: 0 !important;
    pointer-events: none;
}

#navbar > .max-w-7xl {
    pointer-events: auto;
    max-width: 1520px;
    padding-left: 20px !important;
    padding-right: 20px !important;
    background: var(--dogma-glass);
    border: 1px solid var(--dogma-glass-line);
    border-radius: 33px;
    box-shadow: var(--dogma-glass-shadow);
    -webkit-backdrop-filter: blur(26px) saturate(155%);
    backdrop-filter: blur(26px) saturate(155%);
}

#navbar .h-20 {
    height: 82px;
}

#navbar a.flex-shrink-0 {
    display: inline-flex;
    align-items: center;
    min-height: 53px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,0.72);
    border-radius: 20px;
    background: rgba(255,255,255,0.34);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.92);
}

#navbar a.flex-shrink-0 .text-white {
    color: var(--dogma-ink) !important;
}

#navbar .space-x-8 {
    display: flex;
    align-items: center;
    gap: 9px;
}

#navbar .space-x-8 > :not([hidden]) ~ :not([hidden]) {
    margin-left: 0 !important;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 51px;
    padding: 12.4px 17.6px;
    color: #18304f !important;
    border: 1px solid rgba(255,255,255,0.60);
    border-radius: 19px;
    background: linear-gradient(145deg, rgba(255,255,255,0.54), rgba(222,230,240,0.34));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.88),
                0 3px 10px rgba(51,70,98,0.06);
    transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease,
                box-shadow 0.22s ease, transform 0.22s ease;
}

.nav-link:hover {
    color: var(--dogma-blue) !important;
    border-color: rgba(var(--dogma-blue-rgb), 0.28);
    background: rgba(255,255,255,0.82);
    box-shadow: inset 0 1px 0 #fff, 0 8px 18px rgba(var(--dogma-blue-rgb), 0.12);
    transform: translateY(-1px);
}

.nav-link.text-accent {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.44);
    background: linear-gradient(145deg, var(--dogma-blue-light), var(--dogma-blue));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.38),
                0 9px 22px rgba(var(--dogma-blue-rgb), 0.24);
}

.dropdown-menu {
    padding: 9px;
    color: var(--dogma-copy);
    background: var(--dogma-glass-strong) !important;
    border: 1px solid var(--dogma-glass-line) !important;
    border-radius: 20px !important;
    box-shadow: var(--dogma-glass-shadow) !important;
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    backdrop-filter: blur(24px) saturate(150%);
}

.dropdown-menu a {
    color: var(--dogma-copy);
    border-radius: 14px;
}

.dropdown-menu a:hover {
    color: var(--dogma-blue) !important;
    background: rgba(var(--dogma-blue-rgb), 0.08) !important;
}

#mobile-menu-btn {
    color: var(--dogma-blue) !important;
    border: 1px solid rgba(255,255,255,0.78);
    border-radius: 18px;
    background: rgba(255,255,255,0.55);
    box-shadow: inset 0 1px 0 #fff, 0 5px 16px rgba(48,67,96,0.10);
}

#mobile-menu {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    width: min(92vw, 640px);
    margin: 11px auto 0;
    color: var(--dogma-copy);
    background: var(--dogma-glass-strong) !important;
    border: 1px solid var(--dogma-glass-line) !important;
    border-radius: 25px;
    box-shadow: var(--dogma-glass-shadow);
    -webkit-backdrop-filter: blur(26px) saturate(150%);
    backdrop-filter: blur(26px) saturate(150%);
    overflow: hidden;
}

#mobile-menu a {
    color: var(--dogma-copy) !important;
    border-radius: 16px;
}

#mobile-menu a:hover {
    color: var(--dogma-blue) !important;
    background: rgba(var(--dogma-blue-rgb), 0.08);
}

::-webkit-scrollbar-track {
    background: var(--dogma-silver-2);
}

::-webkit-scrollbar-thumb {
    background: #a8b6c9;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dogma-blue-light);
}

@media (max-width: 900px) {
    #navbar {
        top: 10px;
        padding: 0 11px;
    }

    #navbar > .max-w-7xl {
        border-radius: 26px;
    }

    #navbar .h-20 {
        height: 75px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #navbar, .nav-link {
        scroll-behavior: auto;
    }
}

/* Touch device optimisation */
@media (hover: none) {
    .card-lift:active {
        transform: translateY(-8px);
    }
}

/* Performance: use will-change */
.card-lift {
    will-change: transform, box-shadow;
}

.progress-bar {
    will-change: width;
}

/* ========================================================================== */
/* dogmaOS THEME V2 — unified palette / Liquid Glass / page-level components */
/* ========================================================================== */

:root {
    --dogma-silver-0: #8a7d9d; /* Warm purple-grey: shadows and the deepest layer */
    --dogma-silver-1: #8f9fba; /* Blue-grey: ambient light and secondary background */
    --dogma-silver-2: #567fb8; /* Mid blue: edge reflections and decorative lines */
    --dogma-silver-3: #e0e8ea; /* Lightest: the main page background */

    --dogma-blue: #1c76b7;       /* lch compatibility fallback colour */
    --dogma-blue-light: #5cc6e4; /* lch compatibility fallback colour */
    --dogma-blue-rgb: 28, 118, 183;

    --dogma-violet: #8755ec;
    --dogma-violet-rgb: 135, 85, 236;

    --dogma-page: color-mix(in srgb, var(--dogma-silver-3) 68%, white);
    --dogma-page-deep: color-mix(in srgb, var(--dogma-silver-1) 15%, white);
    --dogma-surface: color-mix(in srgb, var(--dogma-silver-3) 28%, rgba(255,255,255,0.68));
    --dogma-surface-strong: color-mix(in srgb, var(--dogma-silver-3) 38%, rgba(255,255,255,0.78));
    --dogma-ink: color-mix(in srgb, var(--dogma-silver-0) 18%, #071832);
    --dogma-copy: color-mix(in srgb, var(--dogma-silver-0) 28%, #243750);
    --dogma-muted: color-mix(in srgb, var(--dogma-silver-1) 48%, #52647b);
    --dogma-line: color-mix(in srgb, var(--dogma-silver-2) 25%, transparent);

    --dogma-glass: rgba(255, 255, 255, 0.18);
    --dogma-glass-strong: rgba(255, 255, 255, 0.28);
    --dogma-glass-highlight: rgba(255, 255, 255, 0.72);
    --dogma-glass-line: rgba(255, 255, 255, 0.58);
    --dogma-glass-blur: 12px;
    --dogma-glass-shadow: 0 18px 42px rgba(45, 66, 96, 0.10),
                          inset 0 1px 0 rgba(255,255,255,0.78),
                          inset 0 -1px 0 rgba(74,103,143,0.08);

    --dogma-nav-height: 68px;
    --dogma-nav-clearance: 155px;
}

@supports (color: lch(50% 20 250)) {
    :root {
        --dogma-blue: lch(47.78% 41.42 267.62);
        --dogma-blue-light: lch(74.99% 32.56 227.74);
        --dogma-violet: hsl(260, 80%, 63%);
    }
}













html {
    color-scheme: light;
    scroll-behavior: smooth;
    scroll-padding-top: var(--dogma-nav-clearance);
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--dogma-blue-rgb), 0.22) transparent;
}

body, #main-scroll {
    color: var(--dogma-copy) !important;
    background-color: var(--dogma-page) !important;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-image:
        radial-gradient(circle at 10% 4%, color-mix(in srgb, var(--dogma-silver-1) 24%, transparent), transparent 680px),
        radial-gradient(circle at 91% 18%, color-mix(in srgb, var(--dogma-blue-light) 14%, transparent), transparent 600px),
        radial-gradient(circle at 52% 80%, color-mix(in srgb, var(--dogma-violet) 6%, transparent), transparent 680px),
        repeating-linear-gradient(118deg, rgba(255,255,255,0.24) 0 1px, rgba(86,127,184,0.025) 1px 4px),
        linear-gradient(145deg, var(--dogma-page) 0%, var(--dogma-page-deep) 52%, color-mix(in srgb, var(--dogma-silver-3) 76%, white) 100%) !important;
    background-attachment: fixed !important;
}

body {
    min-height: 100vh;
}

section[id] {
    scroll-margin-top: var(--dogma-nav-clearance);
}

body > .min-h-screen.pt-24, body > main.pt-24, .dogma-subpage-main {
    padding-top: var(--dogma-nav-clearance) !important;
}

/* ---------- Unify backgrounds, cards and the legacy Tailwind colours ---------- */
.bg-primary, [class*="bg-primary/"] {
    background-color: transparent !important;
}

.bg-primary-light, [class*="bg-primary-light/"] {
    background-color: var(--dogma-surface) !important;
    background-image: linear-gradient(145deg, rgba(255,255,255,0.34), color-mix(in srgb, var(--dogma-silver-1) 8%, transparent)) !important;
    border-color: var(--dogma-line) !important;
}

.bg-white\/5, .hover\:bg-white\/5:hover {
    background-color: rgba(255,255,255,0.18) !important;
}

.text-white, .text-gray-100, .text-gray-200 {
    color: var(--dogma-ink) !important;
}

.text-gray-300 { color: var(--dogma-copy) !important; }

.text-gray-400, .text-gray-500, .text-gray-600, [class*="text-gray-400/"] {
    color: var(--dogma-muted) !important;
}

.border-gray-800, .border-gray-700, .border-gray-600, [class*="border-gray-800/"], [class*="border-gray-700/"], [class*="border-gray-600/"], .border-white\/10 {
    border-color: var(--dogma-line) !important;
}

.text-accent, .hover\:text-accent:hover, .group:hover .group-hover\:text-accent, .text-accent-glow, .text-blue-400 {
    color: var(--dogma-blue) !important;
}

.bg-accent, [class*="bg-accent/"] {
    background-color: color-mix(in srgb, var(--dogma-blue) 13%, transparent) !important;
}

.bg-accent:not([class*="bg-accent/"]) { background-color: var(--dogma-blue) !important; }

.border-accent, [class*="border-accent/"] {
    border-color: color-mix(in srgb, var(--dogma-blue) 30%, transparent) !important;
}

.from-accent {
    --tw-gradient-from: var(--dogma-blue) var(--tw-gradient-from-position) !important;
    --tw-gradient-to: transparent var(--tw-gradient-to-position) !important;
}

.via-accent {
    --tw-gradient-stops: var(--tw-gradient-from), var(--dogma-blue-light) var(--tw-gradient-via-position), var(--tw-gradient-to) !important;
}

.to-accent, .to-blue-500 { --tw-gradient-to: var(--dogma-blue-light) var(--tw-gradient-to-position) !important; }

.from-primary, [class*="from-primary/"] {
    --tw-gradient-from: var(--dogma-page) var(--tw-gradient-from-position) !important;
    --tw-gradient-to: transparent var(--tw-gradient-to-position) !important;
}

.via-primary-light, [class*="via-primary-light/"] {
    --tw-gradient-stops: var(--tw-gradient-from), var(--dogma-surface-strong) var(--tw-gradient-via-position), var(--tw-gradient-to) !important;
}

.to-primary, [class*="to-primary/"] { --tw-gradient-to: var(--dogma-page-deep) var(--tw-gradient-to-position) !important; }

.to-primary-light, [class*="to-primary-light/"] { --tw-gradient-to: var(--dogma-surface-strong) var(--tw-gradient-to-position) !important; }

.text-purple-400, [class*="text-purple-400/"] { color: var(--dogma-violet) !important; }

[class*="bg-purple-4"], [class*="bg-purple-5"] { background-color: color-mix(in srgb, var(--dogma-violet) 9%, transparent) !important; }

[class*="border-purple-"] { border-color: color-mix(in srgb, var(--dogma-violet) 24%, transparent) !important; }

.cycle-1::before { background: linear-gradient(90deg, var(--dogma-blue), var(--dogma-blue-light)) !important; }
.cycle-2::before { background: linear-gradient(90deg, var(--dogma-blue-light), var(--dogma-blue)) !important; }
.cycle-3::before { background: linear-gradient(90deg, var(--dogma-violet), var(--dogma-blue)) !important; }

.bg-primary-light:not(#mobile-menu):not(.dropdown-menu), .cycle-card, .card-lift, .dogma-content-card {
    box-shadow: 0 14px 38px rgba(49,70,102,0.075), inset 0 1px 0 rgba(255,255,255,0.62) !important;
}

.card-lift:hover, .cycle-card:hover, .dogma-content-card:hover {
    border-color: color-mix(in srgb, var(--dogma-blue) 36%, transparent) !important;
    box-shadow: 0 22px 50px rgba(var(--dogma-blue-rgb),0.12), inset 0 1px 0 rgba(255,255,255,0.72) !important;
}

/* ---------- Standalone Liquid Glass shell for every top-level heading ---------- */
.dogma-glass-title {
    position: relative;
    z-index: 1;
    isolation: isolate;
    width: fit-content;
    max-width: min(92vw, 1100px);
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0.24em 0.48em 0.30em !important;
    color: var(--dogma-ink) !important;
    background-image: linear-gradient(96deg, #F1DCE4, #98CBEA) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.25)) drop-shadow(0 10px 24px rgba(var(--dogma-blue-rgb),0.10));
}

.dogma-glass-title::before {
    content: "";
    position: absolute;
    inset: -0.10em -0.18em;
    z-index: -1;
    border: 1px solid var(--dogma-glass-line);
    border-radius: 0.34em;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.30), rgba(255,255,255,0.07)),
        var(--dogma-glass);
    box-shadow: var(--dogma-glass-shadow);
    -webkit-backdrop-filter: blur(10px) saturate(155%);
    backdrop-filter: blur(10px) saturate(155%);
}

/* ---------- Site-wide ultra-clear Liquid Glass navigation ---------- */
.dogma-navbar {
    position: fixed;
    top: 14.4px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 16px;
    pointer-events: none;
}

.dogma-nav-shell {
    width: min(100%, 1240px);
    margin: 0 auto;
    pointer-events: auto;
    border: 1px solid var(--dogma-glass-line);
    border-radius: 33px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.28), rgba(255,255,255,0.04) 58%, rgba(92,198,228,0.07)),
        var(--dogma-glass);
    box-shadow: var(--dogma-glass-shadow);
    -webkit-backdrop-filter: blur(var(--dogma-glass-blur)) saturate(165%);
    backdrop-filter: blur(var(--dogma-glass-blur)) saturate(165%);
}

.dogma-nav-row {
    min-height: var(--dogma-nav-height);
    padding: 9.6px 14.4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dogma-brand {
    min-width: max-content;
    height: 61px;
    display: inline-flex;
    align-items: center;
    gap: 9.6px;
    padding: 4px 16.4px 4px 6px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.54);
    border-radius: 23px;
    background: rgba(255,255,255,0.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.68);
}

.dogma-logo-mark {
    position: relative;
    width: 49px;
    height: 49px;
    flex: 0 0 49px;
    overflow: hidden;
    border-radius: 15.6px;
}

.dogma-logo-mark img {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: none;
    left: 0;
    top: 0;
    object-fit: contain;
    mix-blend-mode: normal;
    filter: none;
}

.dogma-brand-word {
    color: var(--dogma-ink);
    font-size: 26.8px;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.dogma-brand-word span { color: var(--dogma-blue); }

.dogma-desktop-nav {
    display: flex;
    align-items: center;
    gap: 7px;
}

.dropdown-container { position: relative; }

.nav-link {
    min-height: 52.4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4.4px;
    padding: 12.4px 16.4px;
    color: var(--dogma-copy) !important;
    font-weight: 600;
    white-space: nowrap;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
}

.nav-link svg { width: 18px; height: 18px; transition: transform .22s ease; }

.nav-link:hover, .nav-link:focus-visible {
    color: var(--dogma-blue) !important;
    background: transparent;
    box-shadow: none;
    transform: translateY(-1px);
}

.nav-link.is-active {
    color: var(--dogma-blue) !important;
    background: transparent;
    box-shadow: none;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10.8px);
    left: 0;
    width: 260px;
    padding: 9.6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(.98);
    border: 1px solid var(--dogma-glass-line) !important;
    border-radius: 21.6px !important;
    background: linear-gradient(145deg, rgba(255,255,255,0.34), rgba(255,255,255,0.12)), var(--dogma-glass-strong) !important;
    box-shadow: var(--dogma-glass-shadow) !important;
    -webkit-backdrop-filter: blur(16px) saturate(170%);
    backdrop-filter: blur(16px) saturate(170%);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.dropdown-container:hover .dropdown-menu, .dropdown-container:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-container:hover .nav-link svg, .dropdown-container:focus-within .nav-link svg { transform: rotate(180deg); }

.dogma-dropdown-link {
    display: block;
    padding: 13.4px 15.2px;
    color: var(--dogma-copy);
    font-size: 17.6px;
    font-weight: 600;
    border-radius: 15.2px;
}

.dogma-dropdown-link:hover, .dogma-dropdown-link.is-current {
    color: var(--dogma-blue);
    background: color-mix(in srgb, var(--dogma-blue) 9%, transparent);
}

.dogma-menu-button {
    display: none;
    width: 55px;
    height: 55px;
    align-items: center;
    justify-content: center;
    color: var(--dogma-blue);
    border: 1px solid rgba(255,255,255,0.48);
    border-radius: 19.6px;
    background: rgba(255,255,255,0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.62);
}













.dogma-mobile-menu {
    width: min(92vw, 660px);
    max-height: calc(100vh - 132px);
    margin: 11px auto 0;
    padding: 13px;
    overflow-y: auto;
    pointer-events: auto;
    border: 1px solid var(--dogma-glass-line);
    border-radius: 25px;
    background: linear-gradient(145deg, rgba(255,255,255,0.33), rgba(255,255,255,0.10)), var(--dogma-glass-strong);
    box-shadow: var(--dogma-glass-shadow);
    -webkit-backdrop-filter: blur(17px) saturate(170%);
    backdrop-filter: blur(17px) saturate(170%);
}

.dogma-mobile-group + .dogma-mobile-group { margin-top: 5.6px; }

.dogma-mobile-link, .dogma-mobile-children a {
    display: block;
    padding: 12.8px 15px;
    color: var(--dogma-copy) !important;
    border-radius: 14.4px;
}

.dogma-mobile-link { font-weight: 700; }
.dogma-mobile-link.is-active { color: var(--dogma-blue) !important; background: rgba(var(--dogma-blue-rgb),0.08); }
.dogma-mobile-children { display: grid; grid-template-columns: repeat(2,1fr); gap: 5px; padding: 3.2px 7.2px 7.6px; }
.dogma-mobile-children a { padding: 9.2px 11px; font-size: 16.4px; background: rgba(255,255,255,0.10); }

/* ---------- Low-visibility glass scrollbar ---------- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent !important; }
::-webkit-scrollbar-thumb {
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: rgba(var(--dogma-blue-rgb),0.20) !important;
    background-clip: padding-box !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22);
}
::-webkit-scrollbar-thumb:hover { background: rgba(var(--dogma-blue-rgb),0.35) !important; }

/* ---------- Bottom right of every page: scroll progress ring + back to top ---------- */
.dogma-scroll-top {
    --scroll-progress: 0deg;
    position: fixed;
    right: clamp(20px, 2.2vw, 40px);
    bottom: clamp(20px, 2.2vw, 40px);
    z-index: 900;
    width: 69px;
    height: 69px;
    padding: 3px;
    display: grid;
    place-items: center;
    opacity: 0;
    transform: translateY(14px) scale(.94);
    pointer-events: none;
    border: 0;
    border-radius: 50%;
    background: conic-gradient(var(--dogma-blue) var(--scroll-progress), rgba(255,255,255,0.34) 0);
    box-shadow: 0 12px 28px rgba(45,66,96,0.14);
    transition: opacity .25s ease, transform .25s ease;
}

.dogma-scroll-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.dogma-scroll-top > span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--dogma-blue);
    border: 1px solid rgba(255,255,255,0.64);
    border-radius: 50%;
    background: rgba(255,255,255,0.30);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    backdrop-filter: blur(10px) saturate(160%);
}

.dogma-scroll-top svg { width: 25px; height: 25px; }

/* ---------- Shared structure for standalone secondary content pages ---------- */
.dogma-subpage-main { min-height: 100vh; padding-bottom: 100px; }
.dogma-subpage-wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.dogma-subpage-hero { min-height: 56vh; display: grid; align-content: center; justify-items: center; text-align: center; padding: 70px 0 80px; }
.dogma-eyebrow { margin-bottom: 25px; color: var(--dogma-blue); font: 600 15.6px/1.2 "Fira Code",monospace; letter-spacing: .18em; text-transform: uppercase; }
.dogma-subpage-lead { max-width: 730px; margin: 36px auto 0; color: var(--dogma-muted); font-size: clamp(20px,2vw,24px); line-height: 1.85; }
.dogma-content-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.dogma-content-card { padding: 31px; border: 1px solid var(--dogma-line); border-radius: 28px; background: var(--dogma-surface); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.dogma-content-card:hover { transform: translateY(-5px); }
.dogma-content-card .icon { width: 54px; height: 54px; display:grid; place-items:center; margin-bottom:20px; color:var(--dogma-blue); border-radius:18px; background:rgba(var(--dogma-blue-rgb),.09); }
.dogma-content-card h2 { margin-bottom:13px; color:var(--dogma-ink); font-size:24px; font-weight:800; }
.dogma-content-card p { color:var(--dogma-muted); line-height:1.75; }
.dogma-placeholder-note { margin: 20px 0 0; padding: 20px 24px; color: var(--dogma-copy); border:1px dashed color-mix(in srgb,var(--dogma-blue) 30%,transparent); border-radius:20px; background:rgba(255,255,255,.15); }

/* ---------- Members only: the first two screens snap, normal scrolling resumes afterwards ---------- */
.members-page { overflow-x: hidden; }
html:has(.members-page) { scroll-snap-type: y proximity; }
.members-snap-zone { min-height: 200vh; }
.members-snap-panel { min-height: 100vh; scroll-snap-align: start; scroll-snap-stop: always; display:grid; place-items:center; position:relative; padding:var(--dogma-nav-clearance) 20px 40px; overflow:hidden; }
.members-about-inner { text-align:center; max-width:1050px; }
.members-about-copy { max-width:680px; margin:36px auto 0; color:var(--dogma-muted); font-size:clamp(20px,2vw,24px); line-height:1.8; }
.members-orbit { position:absolute; width:min(72vw,760px); aspect-ratio:1; border:1px solid rgba(var(--dogma-blue-rgb),.12); border-radius:50%; animation:members-orbit 22s linear infinite; pointer-events:none; }
.members-orbit::before, .members-orbit::after {content:"";position:absolute;border:1px solid rgba(var(--dogma-violet-rgb),.10);border-radius:50%;inset:14%;}.members-orbit::after {inset:30%;border-color:rgba(var(--dogma-blue-rgb),.13)}
@keyframes members-orbit{to{transform:rotate(360deg)}}
.members-scroll-cue { margin-top:40px; color:var(--dogma-blue); display:inline-flex; align-items:center; gap:11px; font-weight:700; }
.members-scroll-cue svg { animation:members-cue 1.7s ease-in-out infinite; }
@keyframes members-cue{50%{transform:translateY(7px)}}
.members-photo-panel { align-content:center; }
.members-team-photo { width:min(1120px,94vw); max-height:66vh; object-fit:cover; border:1px solid var(--dogma-glass-line); border-radius:40px; box-shadow:0 26px 70px rgba(38,55,82,.16), inset 0 1px 0 white; }
.members-photo-copy { width:min(900px,90vw); margin:26px auto 0; text-align:center; color:var(--dogma-muted); line-height:1.75; }
.members-roster { width:min(1120px,calc(100% - 40px)); margin:0 auto; padding:120px 0; }
.members-roster-heading { text-align:center; margin-bottom:44px; color:var(--dogma-ink); font-size:clamp(40px,4vw,64px); font-weight:800; }
.members-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:25px; }
.members-page .members-grid { display:block; }
.member-photo-card { position:relative; min-height:430px; overflow:hidden; border:1px solid var(--dogma-glass-line); border-radius:31px; background:var(--dogma-surface); box-shadow:0 16px 42px rgba(42,62,91,.11); transition:transform .35s ease,box-shadow .35s ease; }
.member-photo-card:hover { transform:translateY(-7px); box-shadow:0 25px 56px rgba(var(--dogma-blue-rgb),.15); }
.member-photo-card img { width:100%; height:100%; min-height:430px; object-fit:cover; filter:saturate(.82) contrast(.96); transition:transform .6s ease,filter .6s ease; }
.member-photo-card:hover img { transform:scale(1.045); filter:saturate(.98) contrast(1); }
.member-photo-card:nth-child(3n/**/+2) img {object-position:48% center}.member-photo-card:nth-child(3n) img {object-position:70% center}
.member-card-overlay { position:absolute; inset:auto 0 0; padding:100px 26px 26px; color:white; background:linear-gradient(transparent,rgba(6,22,44,.84)); }
.member-card-overlay h3 { font-size:27px; font-weight:800; }.member-card-overlay p {margin-top:4px;color:rgba(255,255,255,.76)}

@media (max-width: 1060px) {
    .dogma-desktop-nav { gap: 4px; }
    .nav-link { padding-left: 12.4px; padding-right: 12.4px; font-size: 17.4px; }
    .dogma-brand-word { font-size: 23px; }
}

@media (max-width: 900px) {
    :root { --dogma-nav-height: 60px; --dogma-nav-clearance: 136px; }
    .dogma-navbar { top: 10px; padding: 0 10px; }
    .dogma-nav-shell { border-radius: 26px; }
    .dogma-nav-row { padding: 7.6px 9.6px; }
    .dogma-desktop-nav { display:none; }
    .dogma-menu-button { display:inline-flex; }
    .dogma-brand { height:54px; padding-right:13.6px; }
    .dogma-logo-mark { width:42px;height:42px;flex-basis:42px; }
    .dogma-logo-mark img { width:95px;height:95px;left:-26px;top:-14.4px; }
    .dogma-brand-word { font-size:21.6px; }
    .dogma-content-grid, .members-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 620px) {
    .dogma-glass-title { max-width:88vw; padding:.28em .38em .32em !important; }
    .dogma-content-grid, .members-grid { grid-template-columns:1fr; }
    .dogma-subpage-hero { min-height:48vh; padding-top:40px; }
    .members-team-photo { max-height:54vh; border-radius:26px; }
    .member-photo-card, .member-photo-card img { min-height:390px; }
    .dogma-scroll-top { width:62px;height:62px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior:auto; }
    .members-orbit, .members-scroll-cue svg { animation:none; }
}

/* ------------------------------- */

/* Applies to the main page headings: .dogma-glass-title and .title-fix */

.dogma-glass-title, .title-fix, h1 {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    background-image: linear-gradient(90deg, #0f3d71 0%, #1c76b7 45%, #5cc6e4 100%) !important;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.18));
}




/* ========================================================================== */
/* dogmaOS THEME V3 — transparent logo / glass letter titles / full content pages / unified footer */
/* ========================================================================== */

.dogma-brand {
    height: auto;
    padding: 2.4px 7px 2.4px 1.6px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.dogma-logo-mark {
    width: 55px;
    height: 55px;
    flex-basis: 55px;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
}

.dogma-logo-mark img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: contain;
    mix-blend-mode: normal;
    filter: none;
}

.member-group-section {
    margin-bottom: 60px;
}

.member-group-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.member-group-label {
    color: var(--dogma-blue);
    font-size: 18px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.member-group-header h2 {
    font-size: clamp(38px, 2.5vw, 52px);
    margin: 0;
}

.member-group-meta {
    color: rgba(180, 200, 255, 0.75);
    font-size: 19px;
}

.group-members-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 27px;
}

.member-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 17px;
}

.member-card-role {
    display: inline-flex;
    padding: 7px 14px;
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
    color: #e2e8f0;
    font-size: 16.8px;
}

.member-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 20px;
}

.member-card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 15px;
    border-radius: 999px;
    font-size: 15.6px;
    font-weight: 600;
}

@media (max-width: 1060px) {
    .group-members-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .group-members-grid { grid-template-columns: 1fr; }
}

.dogma-glass-title {
    width: auto;
    max-width: min(94vw, 1180px);
    padding: 0 !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    -webkit-text-stroke: 0.5px rgba(255,255,255,0.35);
    background-image: linear-gradient(
        125deg,
        rgba(4, 59, 110, 0.98) 4%,
        rgba(20, 101, 201, 0.88) 25%,
        #7ec9f8eb 48%,
        #1fa1d8f5 69%,
        #66c0f8e6 94%
    ) !important;
    background-size: 180% 100%;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    filter:
        drop-shadow(0 1px 0 rgba(255,255,255,0.92))
        drop-shadow(0 4px 6px rgba(0,0,0,0.25))
        drop-shadow(0 10px 22px rgba(var(--dogma-blue-rgb),0.16));
}

.dogma-glass-title::before { content: none !important; }

.dogma-nav-shell, .dropdown-menu, .dogma-mobile-menu, #mobile-menu {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.28), rgba(255,255,255,0.04) 58%, rgba(92,198,228,0.07)),
        var(--dogma-glass) !important;
    border-color: var(--dogma-glass-line) !important;
    box-shadow: var(--dogma-glass-shadow) !important;
    -webkit-backdrop-filter: blur(var(--dogma-glass-blur)) saturate(165%) !important;
    backdrop-filter: blur(var(--dogma-glass-blur)) saturate(165%) !important;
}

.dogma-rich-page { min-height: 100vh; padding-bottom: 40px; }
.dogma-rich-hero {
    min-height: 48vh;
    display: grid;
    align-content: center;
    justify-items: center;
    padding: var(--dogma-nav-clearance) 20px 60px;
    text-align: center;
}
.dogma-rich-hero .dogma-eyebrow { margin-bottom: 24px; }
.dogma-rich-page > .dogma-legacy-section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 100px;
}

.members-roster { width: min(1040px, calc(100% - 40px)); }
.members-roster-titlebar {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 40px;
}
.members-roster-titlebar svg { width: 44px; height: 44px; color: var(--dogma-blue); }
.members-roster-titlebar h2 {
    color: var(--dogma-ink);
    font-size: clamp(40px,4vw,60px);
    font-weight: 800;
}
.member-filter-bar {
    position: sticky;
    top: calc(14.4px + 12px);
    z-index: 50;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 11px;
    margin-bottom: 48px;
    padding: 0;
    overflow-x: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    scrollbar-width: none;
}
.member-filter-bar::-webkit-scrollbar { display:none; }
.member-filter-button {
    flex: 0 0 auto;
    padding: 11.6px 20px;
    color: var(--dogma-muted);
    border: 1px solid var(--dogma-line);
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.member-filter-button:hover, .member-filter-button.is-active {
    color: var(--dogma-blue);
    border-color: color-mix(in srgb,var(--dogma-blue) 42%,white);
    background: rgba(var(--dogma-blue-rgb),0.08);
    transform: translateY(-1px);
}
.members-grid { gap: 35px; }
.member-photo-card { min-height: 382px; }
.member-photo-card img { min-height: 382px; }
.member-card-programme { margin-top: 7px; color: rgba(255,255,255,.68) !important; font-size: 16.4px; }
.member-card-group { margin-top: 15px; display:inline-flex; padding:5px 11px; border:1px solid rgba(255,255,255,.28); border-radius:999px; color:rgba(255,255,255,.82) !important; font-size:14.4px; }

.dogma-footer {
    position: relative;
    margin-top: 40px;
    padding: 140px 20px 40px;
    color: var(--dogma-copy);
    background: linear-gradient(
        to bottom,
        transparent 0%,
        color-mix(in srgb,var(--dogma-silver-3) 74%,white) 38%,
        color-mix(in srgb,var(--dogma-silver-1) 22%,white) 100%
    );
}
.dogma-footer::before {
    content: "";
    position: absolute;
    top: 80px;
    left: 50%;
    width: min(1120px, calc(100% - 40px));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg,transparent,var(--dogma-line),transparent);
}
.dogma-footer-inner { width:min(1120px,100%); margin:0 auto; }
.dogma-footer-grid { display:grid; grid-template-columns:1.35fr .85fr 1fr; gap:60px; padding:20px 0 60px; }
.dogma-footer-grid h2 { margin-bottom:20px; color:var(--dogma-blue); font-size:20px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.dogma-footer-grid p, .dogma-footer-grid a { color:var(--dogma-muted); line-height:1.75; }
.dogma-footer-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px 20px; }
.dogma-footer-links a:hover, .dogma-footer-email:hover { color:var(--dogma-blue); }
.dogma-footer-lockup { display:flex; align-items:center; gap:11px; margin-bottom:16px; }
.dogma-footer-logo { position:relative; width:48px; height:48px; overflow:hidden; }
.dogma-footer-logo img {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: none;
    left: 0;
    top: 0;
    object-fit: contain;
}
.dogma-footer-copy { padding-top:30px; text-align:center; color:color-mix(in srgb,var(--dogma-muted) 72%,transparent); border-top:1px solid var(--dogma-line); font-size:15.6px; }

@media (max-width: 900px) {
    .member-filter-bar { top: calc(10px + 12px); }
    .dogma-logo-mark { width:47px;height:47px;flex-basis:47px; }
    .dogma-logo-mark img { width:100%;height:100%;left:0;top:0;object-fit:contain; }
    .dogma-footer-grid { grid-template-columns:1fr 1fr; }
    .dogma-footer-brand { grid-column:1 / -1; }
}

@media (max-width: 620px) {
    .dogma-rich-hero { min-height:42vh; }
    .members-roster-titlebar { align-items:flex-start; }
    .member-filter-bar { justify-content:flex-start; gap:9px; }
    .member-filter-button { padding:11px 19px; font-size:17.2px; }
    .member-photo-card, .member-photo-card img { min-height:360px; }
    .dogma-footer { padding-top:120px; }
    .dogma-footer-grid { grid-template-columns:1fr; gap:40px; }
    .dogma-footer-brand { grid-column:auto; }
}

/* ==================== Site-wide snap scrolling between panels ==================== */
.dogma-snap-container {
    height: 100vh;
    width: 100%;
    overflow-y: auto;
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.dogma-snap-container::-webkit-scrollbar {
    display: none;
}
.dogma-snap-child {
    scroll-snap-align: start;
    min-height: 100vh;
}

/* ==================== Team opening animation (frame + logo) ==================== */
.team-hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    overflow: hidden;
    background: transparent;
    pointer-events: none;
}

.hero-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    font-size: clamp(60px, 10vw, 140px);
    font-weight: 900;
    color: var(--dogma-ink);
    letter-spacing: -0.03em;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    filter: drop-shadow(0 6px 18px hsla(0, 0%, 0%, 0%));
}

.frame-layer {
    position: absolute;
    inset: 0;
    will-change: transform, opacity;
}

.frame-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-bg-images {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.bg-logo-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42%;
    max-width: 490px;
    will-change: transform, filter;
    pointer-events: none;
}

.bg-logo-single {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}






@media (max-width: 768px) {
    .bg-logo-wrap {
        width: 80%;
    }
}

/* ========================================================================== */
/* Members page: after scrolling down the bar collapses into a circular logo at the top left */
/* ========================================================================== */

/* Expanded state: the glass shell morphs smoothly (content fades in late so it does not spill out of the orb) */
.dogma-nav-shell {
    transition:
        width .6s cubic-bezier(.4, 0, .2, 1),
        transform .6s cubic-bezier(.4, 0, .2, 1),
        border-radius .6s cubic-bezier(.4, 0, .2, 1),
        padding .6s cubic-bezier(.4, 0, .2, 1);
}

.dogma-nav-row {
    transition: border-radius .6s cubic-bezier(.4, 0, .2, 1), padding .6s cubic-bezier(.4, 0, .2, 1);
}

.dogma-navbar .dogma-desktop-nav, .dogma-navbar .dogma-brand-word, .dogma-navbar .dogma-menu-button {
    transition: opacity .35s ease .28s, width .5s ease .1s;
}

.dogma-logo-mark {
    transition: width .5s ease, height .5s ease, flex-basis .5s ease;
}

/* ============ Collapsed state: the whole bar retracts left into a circle (like the bottom-right scroll progress ring button) ============ */
.dogma-navbar.is-collapsed .dogma-nav-shell {
    --scroll-progress: 0deg;
    width: calc(var(--dogma-nav-height) + 2px);
    height: calc(var(--dogma-nav-height) + 2px);
    transform: translate(calc((var(--dogma-nav-height) + 2px - min(100vw, 1240px)) / 2 + 16px + 14.4px + 1px - 12px - 6px + var(--dogma-ball-offset-x, 0px)), 12px);
    border: 0;
    padding: 3px;
    border-radius: 50%;
    overflow: hidden;
    background: conic-gradient(var(--dogma-blue) var(--scroll-progress), rgba(255,255,255,0.34) 0);
    box-shadow: 0 12px 28px rgba(45,66,96,0.14);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

/* Inner disc: translucent white base + blur, matching the back-to-top button */
.dogma-navbar.is-collapsed .dogma-nav-row {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    gap: 0;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.64);
    border-radius: 50%;
    background: rgba(255,255,255,0.30);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    backdrop-filter: blur(10px) saturate(160%);
}





.dogma-navbar.is-collapsed .dogma-brand {
    min-width: 0;
    padding: 0;
    gap: 0;
}

.dogma-navbar.is-collapsed .dogma-logo-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
}

/* When collapsed, hide everything except the logo (fade out, width to zero) */
.dogma-navbar.is-collapsed .dogma-desktop-nav, .dogma-navbar.is-collapsed .dogma-brand-word, .dogma-navbar.is-collapsed .dogma-menu-button {
    transition: opacity .25s ease 0s, width .4s ease 0s;
    opacity: 0;
    width: 0;
    min-width: 0;
    overflow: hidden;
    margin: 0;
    pointer-events: none;
}






@media (max-width: 900px) {
    .dogma-navbar.is-collapsed .dogma-logo-mark {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
}

/* ========================================================================== */
/* 2026 page framework extension: centrally adjustable parameters */
/* ========================================================================== */
:root {
    --dogma-ball-offset-x: 0px;
    --dogma-index-line: linear-gradient(180deg, var(--dogma-blue-light), var(--dogma-blue), rgba(var(--dogma-blue-rgb), .18));
    --dogma-index-width: 245px;
    --dogma-content-width: 1144px;
    --dogma-index-balance-width: calc(var(--dogma-index-width) - 180px);
    --dogma-content-gap: clamp(30px, 3vw, 70px);
}

.dogma-content-scroll {
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
}

.dogma-rich-page.dogma-with-index, .dogma-content-page.dogma-with-index {
    width: 100%;
    height: auto;
    min-height: 100vh;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
}

.dogma-with-index > .dogma-rich-hero {
    min-height: 100vh;
    padding: var(--dogma-nav-clearance) 20px 60px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.dogma-page-frame {
    width: min(1500px, calc(100% - 40px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: var(--dogma-index-width) minmax(0, var(--dogma-content-width)) var(--dogma-index-balance-width);
    gap: var(--dogma-content-gap);
    justify-content: center;
    align-items: start;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.dogma-page-frame::after {
    content: "";
    grid-column: 3;
    grid-row: 1;
}

.dogma-page-index { grid-column: 1; }
.dogma-page-content { grid-column: 2; min-width: 0; }
.dogma-page-content > .dogma-legacy-section, .dogma-page-content > section {
    width: 100%;
    min-height: auto;
    margin-left: 0;
    margin-right: 0;
    padding-top: clamp(40px, 6vh, 100px);
    scroll-snap-align: none;
    scroll-margin-top: var(--dogma-nav-clearance);
}

.dogma-page-content .dogma-snap-child {
    min-height: auto;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
}

.dogma-page-index {
    position: sticky;
    top: var(--dogma-nav-clearance);
    margin-top: calc(var(--dogma-nav-clearance) + 10px);
    padding: 7px 0 10px 22px;
    background: none;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
}

.dogma-page-index::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.72), rgba(255,255,255,.08) 42%, transparent 70%),
        var(--dogma-index-line);
    box-shadow:
        inset 1px 0 0 rgba(255,255,255,.72),
        0 0 10px rgba(var(--dogma-blue-rgb),.24),
        0 5px 18px rgba(var(--dogma-blue-rgb),.12);
}

.dogma-page-index-label {
    margin-bottom: 16px;
    color: var(--dogma-muted);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.dogma-page-index nav { display: grid; gap: 4.4px; }
.dogma-page-index a {
    padding: 10px 3px;
    color: var(--dogma-muted);
    font-size: 17.6px;
    line-height: 1.35;
    transition: color .2s ease, transform .2s ease;
}
.dogma-page-index a:hover, .dogma-page-index a.is-active { color: var(--dogma-blue); transform: translateX(5px); }
.dogma-page-index a.is-subsection { padding-left: 13px; font-size: 16px; }

.dogma-section-card {
    margin-bottom: 40px;
    padding: clamp(27px, 3vw, 48px);
    border: 1px solid var(--dogma-line);
    border-radius: 30px;
    background: color-mix(in srgb, var(--dogma-surface) 86%, transparent);
    box-shadow: 0 16px 42px rgba(42,62,91,.07);
}
.dogma-section-card h2 { color: var(--dogma-ink); font-size: clamp(33px, 2.4vw, 43px); font-weight: 800; }
.dogma-section-card h3 { margin-top: 28px; color: var(--dogma-ink); font-size: 21px; font-weight: 700; }
.dogma-section-card p { margin-top: 17px; color: var(--dogma-copy); line-height: 1.8; }
.dogma-section-card ul { margin-top: 20px; padding-left: 24px; color: var(--dogma-copy); list-style: disc; }
.dogma-section-card li + li { margin-top: 9px; }

.dogma-content-page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.dogma-content-page:not(.education-page):not(.hp-overview-page) .dogma-section-card {
    width: 100%;
    margin: 0 auto 0;
    padding: clamp(60px, 8vh, 140px) clamp(5px, 2vw, 30px);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.dogma-content-page:not(.education-page):not(.hp-overview-page) .dogma-section-card h2, .dogma-rich-page .dogma-legacy-section h2 {
    color: var(--dogma-blue) !important;
    font-size: clamp(33px, 2.5vw, 46px);
    line-height: 1.2;
    letter-spacing: -.018em;
}

.dogma-content-page:not(.education-page):not(.hp-overview-page) .dogma-section-card h3, .dogma-rich-page .dogma-legacy-section h3 {
    color: var(--dogma-ink) !important;
    font-size: clamp(23px, 1.7vw, 30px);
    line-height: 1.3;
}

.dogma-content-page:not(.education-page):not(.hp-overview-page) .dogma-section-card p, .dogma-rich-page .dogma-legacy-section p {
    max-width: 82ch;
    color: var(--dogma-copy) !important;
    font-size: clamp(19.6px, 1.15vw, 21.6px);
    line-height: 1.9;
}

.dogma-content-page:not(.education-page):not(.hp-overview-page) .dogma-section-card ul, .dogma-rich-page .dogma-legacy-section ul {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.dogma-rich-page .dogma-legacy-section .bg-primary-light, .dogma-rich-page .dogma-legacy-section .bg-primary {
    border-color: transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 900px) {
    .dogma-page-frame {
        width: 100%;
        margin-left: 5px;
        padding-right: 12px;
        grid-template-columns: minmax(140px, 26vw) minmax(0, 1fr);
        gap: 15px;
    }
    .dogma-page-frame::after { display:none; }
    .dogma-page-index { grid-column:1; }
    .dogma-page-content { grid-column:2; }
    .dogma-page-index {
        position: sticky;
        top: var(--dogma-nav-clearance);
        margin-top: calc(var(--dogma-nav-clearance) + 7px);
        padding-left: 17px;
    }
    .dogma-page-index nav { display: grid; gap: 2px; overflow: visible; padding: 0; }
    .dogma-page-index a { padding:7.6px 2px; font-size:15px; }
    .dogma-page-index a.is-subsection { padding-left:7px; font-size:14px; }
}

/* Human Practice overview */
.hp-phase-orbit {
    position: relative;
    width: min(600px, 82vw);
    aspect-ratio: 1;
    margin: 40px auto 0;
    border: 1px solid rgba(var(--dogma-blue-rgb), .25);
    border-radius: 50%;
    animation: hp-orbit-spin 22s linear infinite;
}
.hp-phase-orbit::before { content:""; position:absolute; inset:18%; border:1px dashed rgba(var(--dogma-blue-rgb),.25); border-radius:50%; }
.hp-phase-orbit span { position:absolute; padding:13px 20px; color:var(--dogma-blue); font-weight:800; border-radius:999px; background:var(--dogma-surface); box-shadow:0 10px 30px rgba(var(--dogma-blue-rgb),.12); }
.hp-phase-orbit span:nth-child(1) {left:50%;top:0;transform:translate(-50%,-50%)}
.hp-phase-orbit span:nth-child(2) {right:0;bottom:18%;transform:translate(50%,50%)}
.hp-phase-orbit span:nth-child(3) {left:0;bottom:18%;transform:translate(-50%,50%)}
.hp-phase-orbit b { position:absolute; inset:38%; display:grid; place-items:center; color:var(--dogma-ink); font-size:40px; border-radius:50%; background:radial-gradient(circle,rgba(var(--dogma-blue-rgb),.16),transparent 72%); }
@keyframes hp-orbit-spin { to { transform:rotate(360deg); } }

/* Education framework interactions */
.education-orbit { position:relative; width:min(620px,82vw); aspect-ratio:1; margin:50px auto; border:1px solid rgba(var(--dogma-blue-rgb),.22); border-radius:50%; animation:education-spin 34s linear infinite; }
.education-orbit b { position:absolute; inset:37%; display:grid; place-items:center; border-radius:50%; color:white; background:linear-gradient(145deg,var(--dogma-blue),var(--dogma-blue-light)); }
.education-orbit span { --i:0; position:absolute; left:50%; top:50%; width:94px; height:94px; margin:-47px; display:grid; place-items:center; color:var(--dogma-copy); font-size:15.2px; font-weight:700; border:1px solid var(--dogma-line); border-radius:50%; background:var(--dogma-surface); transform:rotate(calc(var(--i) * 45deg)) translateX(260px) rotate(calc(var(--i) * -45deg)); }
.education-orbit span:nth-of-type(1) {--i:0}.education-orbit span:nth-of-type(2) {--i:1}.education-orbit span:nth-of-type(3) {--i:2}.education-orbit span:nth-of-type(4) {--i:3}.education-orbit span:nth-of-type(5) {--i:4}.education-orbit span:nth-of-type(6) {--i:5}.education-orbit span:nth-of-type(7) {--i:6}.education-orbit span:nth-of-type(8) {--i:7}
@keyframes education-spin { to { transform:rotate(360deg); } }

.education-mindmap { position:relative; min-height:380px; margin-top:30px; display:grid; place-items:center; }
.education-mindmap::before { content:""; position:absolute; width:340px; height:340px; border:2px dotted rgba(var(--dogma-blue-rgb),.3); border-radius:50%; animation:education-spin 26s linear infinite reverse; }
.education-mindmap b { position:relative; z-index:1; color:var(--dogma-blue); }
.education-mindmap span { position:absolute; padding:10px 16px; border-radius:999px; color:var(--dogma-copy); background:var(--dogma-surface); box-shadow:0 8px 24px rgba(42,62,91,.1); }
.education-mindmap span:nth-of-type(1) {top:20px}.education-mindmap span:nth-of-type(2) {right:8%;top:46%}.education-mindmap span:nth-of-type(3) {bottom:20px}.education-mindmap span:nth-of-type(4) {left:8%;top:46%}

.intelligence-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-top:30px; }
.intelligence-grid article { position:relative; min-height:170px; padding:24px; overflow:hidden; border:1px solid var(--dogma-line); border-radius:20px; background:var(--dogma-surface); transition:transform .25s ease,border-color .25s ease; }
.intelligence-grid article:hover, .intelligence-grid article:focus { transform:translateY(-4px); border-color:rgba(var(--dogma-blue-rgb),.45); }
.intelligence-grid article > span { color:var(--dogma-blue); font-family:"Fira Code",monospace; font-size:14.8px; }
.intelligence-grid article h3 { margin-top:10px; }
.intelligence-grid article p { opacity:0; transform:translateY(10px); transition:.25s ease; }
.intelligence-grid article:hover p, .intelligence-grid article:focus p { opacity:1; transform:none; }

.boat-switcher { display:flex; flex-wrap:wrap; gap:15px; margin-top:28px; }
.boat-switcher button { padding:14px 20px; color:var(--dogma-copy); border:1px solid var(--dogma-line); border-radius:999px; background:transparent; transition:.2s ease; }
.boat-switcher button:hover, .boat-switcher button.is-active { color:white; border-color:transparent; background:var(--dogma-blue); transform:translateX(5px); }
.audience-copy { margin-top:20px; padding:20px 24px; color:var(--dogma-copy); border-left:3px solid var(--dogma-blue); background:rgba(var(--dogma-blue-rgb),.06); }
.education-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:28px; }
.education-steps span { padding:22px 16px; text-align:center; color:var(--dogma-blue); border-radius:20px; background:rgba(var(--dogma-blue-rgb),.07); }

.education-timeline { position:relative; display:grid; gap:20px; margin-top:30px; padding-left:40px; }
.education-timeline::before { content:""; position:absolute; left:8px; top:0; bottom:0; width:2px; background:var(--dogma-index-line); }
.education-timeline article { position:relative; padding:20px 22px; border:1px solid var(--dogma-line); border-radius:20px; background:var(--dogma-surface); }
.education-timeline article::before { content:""; position:absolute; left:-41px; top:29px; width:15px; height:15px; border:2px solid var(--dogma-blue); border-radius:50%; background:var(--dogma-surface); }
.education-timeline time { color:var(--dogma-blue); font-weight:800; }

.activity-grid { display:grid; gap:14px; margin-top:30px; }
.activity-strip { position:relative; min-height:92px; padding:0 24px; display:grid; grid-template-columns:60px 1fr auto; align-items:center; gap:20px; overflow:hidden; color:white; text-align:left; border:0; border-radius:20px; transition:transform .2s ease; }
.activity-strip::after { content:""; position:absolute; right:-60px; top:0; width:200px; height:100%; background:rgba(255,255,255,.14); transform:skewX(-28deg); }
.activity-strip:hover { transform:translateX(9px); }
.activity-strip svg { position:relative; z-index:1; }
.activity-color-0 {background:linear-gradient(90deg,#1c76b7,#5cc6e4)}.activity-color-1 {background:linear-gradient(90deg,#6856c7,#9a83ee)}.activity-color-2 {background:linear-gradient(90deg,#198f82,#45c5ac)}.activity-color-3 {background:linear-gradient(90deg,#c66f55,#ee9b70)}

.activity-modal[hidden] { display:none; }
.activity-modal { position:fixed; inset:0; z-index:1500; display:grid; place-items:center; padding:20px; background:rgba(8,17,31,.48); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); }
.activity-modal > div { width:min(840px,100%); padding:40px; color:var(--dogma-copy); border:1px solid var(--dogma-glass-line); border-radius:30px; background:var(--dogma-surface); box-shadow:var(--dogma-glass-shadow); }
.activity-modal h2 { margin:8px 0 20px; color:var(--dogma-ink); font-size:40px; font-weight:800; }
.activity-modal-close { position:fixed; top:30px; right:30px; width:60px; height:60px; color:white; font-size:40px; border-radius:50%; background:var(--dogma-blue); }
.activity-chat { display:grid; gap:14px; margin-top:28px; }
.activity-chat p { width:86%; padding:16px 20px; border-radius:20px 20px 20px 4px; background:rgba(var(--dogma-blue-rgb),.09); }
.activity-chat p:nth-child(2) { margin-left:auto; border-radius:20px 20px 4px 20px; }
.feedback-placeholder, .education-video-placeholder { min-height:240px; margin-top:26px; display:grid; place-items:center; gap:14px; color:var(--dogma-muted); border:1px dashed rgba(var(--dogma-blue-rgb),.3); border-radius:24px; background:rgba(var(--dogma-blue-rgb),.04); }
.education-video-placeholder svg { width:40px; height:40px; color:var(--dogma-blue); animation:education-pulse 2s ease-in-out infinite; }
.rowing-finale { overflow:hidden; text-align:center; }
.rowing-boat { margin:40px 0; font-size:60px; animation:rowing-cross 8s linear infinite; }
.rowing-finale blockquote { color:var(--dogma-blue); font-size:clamp(24px,2.4vw,36px); font-weight:700; line-height:1.5; }
@keyframes rowing-cross { from{transform:translateX(-55%)} to{transform:translateX(55%)} }
@keyframes education-pulse { 50%{transform:scale(1.12);opacity:.65} }

@media (max-width:620px) {
    .education-orbit span { width:76px;height:76px;margin:-38px;transform:rotate(calc(var(--i) * 45deg)) translateX(180px) rotate(calc(var(--i) * -45deg));font-size:13px; }
    .intelligence-grid, .education-steps { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .hp-phase-orbit, .education-orbit, .education-mindmap::before, .rowing-boat, .education-video-placeholder svg { animation:none; }
}

/* Wet Lab 2026: editorial lab typography reusing the dogmaOS palette, type and glass language */

.wetlab-editorial-page .dogma-page-content {
    padding-bottom: clamp(80px, 10vh, 160px);
}

.wetlab-editorial-page .dogma-page-content > section {
    position: relative;
}

.wetlab-editorial-page .dogma-page-content > section + section::before {
    content: "";
    position: absolute;
    top: 0;
    left: clamp(5px, 2vw, 30px);
    right: clamp(5px, 2vw, 30px);
    height: 1px;
    background: linear-gradient(90deg, rgba(var(--dogma-blue-rgb), .55), rgba(var(--dogma-blue-rgb), .12), transparent);
}

.wetlab-section-kicker {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 15px;
    color: var(--dogma-muted);
    font-family: "Fira Code", monospace;
    font-size: 14.4px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.wetlab-section-kicker span {
    color: var(--dogma-blue);
}

.wetlab-overview-section {
    position: relative;
    overflow: hidden;
}

.wetlab-overview-section::after {
    content: "";
    position: absolute;
    right: -140px;
    bottom: -160px;
    width: 360px;
    aspect-ratio: 1;
    border: 1px solid rgba(var(--dogma-blue-rgb), .16);
    border-radius: 50%;
    box-shadow: 0 0 0 50px rgba(var(--dogma-blue-rgb), .035), 0 0 0 100px rgba(var(--dogma-blue-rgb), .025);
    pointer-events: none;
}

.wetlab-overview-map {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 24px);
    width: fit-content;
    max-width: 100%;
    margin-top: 40px;
    padding: 15px 20px;
    overflow-x: auto;
    border: 1px solid var(--dogma-line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--dogma-surface) 74%, transparent);
    box-shadow: 0 12px 30px rgba(var(--dogma-blue-rgb), .07);
    scrollbar-width: none;
}

.wetlab-overview-map::-webkit-scrollbar { display: none; }
.wetlab-overview-map span {
    flex: 0 0 auto;
    color: var(--dogma-ink);
    font-size: 16.4px;
    font-weight: 800;
    letter-spacing: .03em;
}
.wetlab-overview-map svg {
    flex: 0 0 auto;
    width: 20px;
    color: var(--dogma-blue);
}

.wetlab-module-heading {
    display: block;
    margin-bottom: clamp(36px, 4vw, 60px);
}

.wetlab-module-heading > div {
    position: relative;
    width: 100%;
    padding-left: 88px;
}

.wetlab-module-number {
    position: absolute;
    left: 0;
    top: -3px;
    color: color-mix(in srgb, var(--dogma-blue) 55%, transparent);
    font-family: "Fira Code", monospace;
    font-size: clamp(31px, 3vw, 47px);
    font-weight: 600;
    letter-spacing: -.08em;
}

.wetlab-module-number::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% + 13px);
    width: 23px;
    height: 1px;
    background: rgba(var(--dogma-blue-rgb), .4);
}

.wetlab-module-heading .wetlab-section-kicker {
    margin-bottom: 7px;
}

.wetlab-module-heading h2 {
    margin: 0;
}

.wetlab-module-summary {
    max-width: 1280px;
    margin: 23px 0 0 88px !important;
    padding-left: 20px;
    border-left: 2px solid rgba(var(--dogma-blue-rgb), .28);
    color: var(--dogma-muted) !important;
    font-size: 18.8px !important;
    line-height: 1.75 !important;
}

.wetlab-reading-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    gap: clamp(30px, 4vw, 70px);
    align-items: center;
}

.wetlab-reading-grid.is-reversed .wetlab-copy-stack { order: 2; }
.wetlab-reading-grid.is-reversed .wetlab-image-placeholder { order: 1; }

.wetlab-copy-stack {
    min-width: 0;
}

.wetlab-copy-stack h4 {
    margin-top: 27px;
    color: var(--dogma-ink);
    font-size: 20px;
    font-weight: 800;
}

.wetlab-copy-stack h4:first-child {
    margin-top: 0;
}

.wetlab-copy-stack h4::before {
    content: "";
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-right: 13px;
    border: 2px solid var(--dogma-blue);
    border-radius: 50%;
    vertical-align: .05em;
}

.wetlab-copy-stack p {
    margin-top: 12px !important;
}

.wetlab-copy-stack ul {
    margin: 15px 0 0 25px !important;
    color: var(--dogma-copy);
    list-style: none !important;
}

.wetlab-copy-stack li {
    position: relative;
    padding-left: 20px;
    line-height: 1.65;
}

.wetlab-copy-stack li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 6.4px;
    height: 6.4px;
    border-radius: 50%;
    background: var(--dogma-blue);
    box-shadow: 0 0 8px rgba(var(--dogma-blue-rgb), .35);
}

.wetlab-image-placeholder {
    position: relative;
    min-height: 360px;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 11px;
    padding: 30px;
    overflow: hidden;
    color: var(--dogma-muted);
    text-align: center;
    border: 1px dashed rgba(var(--dogma-blue-rgb), .38);
    border-radius: 27px;
    background:
        linear-gradient(rgba(var(--dogma-blue-rgb), .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--dogma-blue-rgb), .045) 1px, transparent 1px),
        color-mix(in srgb, var(--dogma-surface) 66%, transparent);
    background-size: 30px 30px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 18px 44px rgba(var(--dogma-blue-rgb), .07);
}

.wetlab-image-placeholder::after {
    content: "";
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(var(--dogma-blue-rgb), .1);
    border-radius: 18px;
    pointer-events: none;
}

.wetlab-image-placeholder svg {
    width: 36px;
    height: 36px;
    color: var(--dogma-blue);
}

.wetlab-image-placeholder strong {
    color: var(--dogma-ink);
    font-size: 18px;
}

.wetlab-image-placeholder span {
    max-width: 380px;
    font-size: 15.2px;
}

.wetlab-image-placeholder.is-compact {
    min-height: 220px;
}

.wetlab-image-placeholder.is-wide {
    width: 100%;
    min-height: clamp(440px, 48vw, 680px);
    margin-top: 45px;
    aspect-ratio: 16 / 8;
}

.wetlab-image-placeholder.is-panorama {
    width: 100%;
    min-height: clamp(320px, 35vw, 500px);
    margin-top: 45px;
    aspect-ratio: 16 / 6;
}

.wetlab-figure {
    width: 100%;
    margin: 0;
}

.wetlab-figure.is-wide, .wetlab-figure.is-panorama {
    margin-top: 45px;
}

.wetlab-figure img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--dogma-line);
    border-radius: 27px;
    object-fit: cover;
    box-shadow: 0 18px 44px rgba(var(--dogma-blue-rgb), .09);
}

.wetlab-figure.is-wide img {
    min-height: clamp(440px, 48vw, 680px);
    aspect-ratio: 16 / 8;
}

.wetlab-figure.is-panorama img {
    min-height: clamp(320px, 35vw, 500px);
    aspect-ratio: 16 / 6;
}

.wetlab-figure figcaption {
    margin-top: 15px;
    color: var(--dogma-muted);
    font-size: 15.2px;
    line-height: 1.6;
}

.dogma-reading-flow {
    display: flow-root;
}

.dogma-inline-figure {
    width: clamp(350px, 36%, 575px);
    margin-top: 7px;
    margin-bottom: 25px;
}

.dogma-inline-figure.is-right {
    float: right;
    margin-left: 40px;
}

.dogma-inline-figure.is-left {
    float: left;
    margin-right: 40px;
}

.dogma-full-figure {
    clear: both;
    width: 100%;
    margin: 50px 0 0;
}

.dogma-figure-gallery {
    clear: both;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.dogma-gallery-figure {
    min-width: 0;
    margin: 0;
}

.drylab-model-page .wetlab-copy-stack h3[data-subsection] {
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.drylab-model-page .wetlab-copy-stack h3[data-subsection]::before {
    content: attr(data-subsection);
    flex: 0 0 auto;
    color: var(--dogma-blue);
    font-family: "Fira Code", monospace;
    font-size: .72em;
    font-weight: 600;
    letter-spacing: .05em;
}

.dogma-content-page.drylab-model-page:not(.education-page):not(.hp-overview-page) .dogma-section-card p, .dogma-content-page.drylab-model-page:not(.education-page):not(.hp-overview-page) .dogma-section-card ul {
    max-width: none;
}

@media (max-width: 768px) {
    .dogma-inline-figure {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .dogma-figure-gallery {
        grid-template-columns: 1fr;
    }
}

.wetlab-experiment-heading {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 20px;
}

.wetlab-experiment-heading .wetlab-module-number {
    position: relative;
    flex: 0 0 auto;
}

.wetlab-experiment-heading .wetlab-module-number::after {
    display: none;
}

.wetlab-experiment-heading .wetlab-section-kicker {
    margin: 4px 0 6px;
}

.wetlab-experiment-heading h2 {
    margin: 0;
}

.wetlab-experiment-section > .wetlab-module-summary {
    max-width: 1040px;
    margin-bottom: 45px !important;
}

.wetlab-protocol-row {
    margin-top: 40px;
    border-top: 1px solid rgba(var(--dogma-blue-rgb), .32);
    border-bottom: 1px solid var(--dogma-line);
}

.wetlab-protocol-row summary {
    min-height: 87px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 4px;
    color: var(--dogma-copy);
    cursor: pointer;
    list-style: none;
    transition: color .22s ease, padding .22s ease, background .22s ease;
}

.wetlab-protocol-row summary::-webkit-details-marker { display: none; }
.wetlab-protocol-row summary:hover {
    padding-left: 15px;
    padding-right: 15px;
    color: var(--dogma-blue);
    background: linear-gradient(90deg, rgba(var(--dogma-blue-rgb), .06), transparent);
}

.wetlab-protocol-row summary > span {
    display: grid;
    grid-template-columns: 23px auto;
    gap: 2px 14px;
    align-items: center;
}

.wetlab-protocol-row summary > span > svg {
    grid-row: 1 / span 2;
    width: 22px;
    color: var(--dogma-blue);
}

.wetlab-protocol-row summary b {
    color: var(--dogma-ink);
    font-size: 17.2px;
}

.wetlab-protocol-row summary small {
    color: var(--dogma-muted);
    font-family: "Fira Code", monospace;
    font-size: 13.6px;
}

.wetlab-protocol-chevron {
    width: 20px;
    flex: 0 0 auto;
    color: var(--dogma-blue);
    transition: transform .28s ease;
}

.wetlab-protocol-row[open] .wetlab-protocol-chevron {
    transform: rotate(180deg);
}

.wetlab-protocol-panel {
    padding: 7px 4px 30px;
}

.wetlab-document-placeholder {
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: clamp(25px, 3vw, 45px);
    border: 1px dashed rgba(var(--dogma-blue-rgb), .34);
    border-radius: 20px;
    background: rgba(var(--dogma-blue-rgb), .035);
}

.wetlab-document-placeholder > svg {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    color: var(--dogma-blue);
}

.wetlab-document-placeholder strong {
    color: var(--dogma-ink);
}

.wetlab-document-placeholder p {
    margin: 7px 0 0 !important;
    color: var(--dogma-muted) !important;
    font-size: 16.4px !important;
    line-height: 1.55 !important;
}

.wetlab-document-placeholder a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 15px;
    color: var(--dogma-blue);
    font-size: 15.6px;
    font-weight: 800;
}

.wetlab-document-placeholder a svg {
    width: 17px;
}

.wetlab-pdf-frame {
    overflow: hidden;
    border: 1px solid var(--dogma-line);
    border-radius: 20px;
    background: var(--dogma-surface);
}

.wetlab-pdf-frame iframe, .wetlab-pdf-frame object {
    width: 100%;
    min-height: 70vh;
    display: block;
    border: 0;
}

.wetlab-pdf-frame > a {
    display: block;
    padding: 17px 20px;
    color: var(--dogma-blue);
    font-size: 15.6px;
    font-weight: 800;
    border-top: 1px solid var(--dogma-line);
}

.wetlab-module-register {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 40px;
}

.wetlab-module-register span {
    min-height: 104px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 13px;
    padding: 17px;
    color: var(--dogma-copy);
    font-size: 14.4px;
    line-height: 1.35;
    border-top: 2px solid rgba(var(--dogma-blue-rgb), .38);
    background: rgba(var(--dogma-blue-rgb), .035);
}

.wetlab-module-register b {
    color: var(--dogma-blue);
    font-family: "Fira Code", monospace;
    font-size: 14px;
}

.wetlab-timeline {
    --timeline-date-width: 126px;
    display: grid;
    gap: 5px;
    margin-top: 20px;
    padding: 0;
}

.wetlab-timeline::before {
    content: none;
}

.wetlab-timeline article {
    position: relative;
    display: grid;
    grid-template-columns: var(--timeline-date-width) 28px minmax(0, 1fr);
    grid-template-rows: auto minmax(104px, auto) auto;
    column-gap: 20px;
    min-height: 210px;
    padding: 3px 0 25px;
}

.wetlab-timeline article::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: calc(var(--timeline-date-width) + 14px);
    top: 11px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--dogma-blue-light), rgba(var(--dogma-blue-rgb), .42) 48%, var(--dogma-blue));
    transform: translateX(-50%);
}

.wetlab-timeline time {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    padding: 0;
    color: var(--dogma-blue);
    font-family: "Fira Code", monospace;
    text-align: right;
    border: 0;
    background: none;
    box-shadow: none;
}

.wetlab-timeline .week-start { grid-column: 1; grid-row: 1; align-self: start; }
.wetlab-timeline .week-end { grid-column: 1; grid-row: 3; align-self: end; }

.wetlab-timeline time::after {
    content: "";
    position: absolute;
    right: -20px;
    width: 11.6px;
    height: 11.6px;
    border: 2px solid color-mix(in srgb, var(--dogma-surface) 86%, transparent);
    border-radius: 50%;
    background: var(--dogma-blue);
    box-shadow: 0 0 0 3px rgba(var(--dogma-blue-rgb), .12), 0 0 15px rgba(var(--dogma-blue-rgb), .28);
}

.wetlab-timeline .week-start::after { top: 5.6px; }
.wetlab-timeline .week-end::after { bottom: 5.6px; }

.wetlab-timeline time small {
    color: var(--dogma-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .13em;
}

.wetlab-timeline time b {
    font-size: 15.2px;
    font-weight: 700;
    letter-spacing: .03em;
}

.wetlab-week-event {
    position: relative;
    z-index: 1;
    grid-column: 3;
    grid-row: 2;
    align-self: center;
    min-width: 0;
    padding: 9px 0;
    border: 0;
    background: none;
}

.wetlab-week-event::before {
    content: "";
    position: absolute;
    left: -33.6px;
    top: 50%;
    width: 21px;
    height: 1px;
    background: rgba(var(--dogma-blue-rgb), .38);
}

.wetlab-week-event h4 {
    color: var(--dogma-ink);
    font-size: 18px;
    font-weight: 800;
}

.wetlab-week-event p {
    margin: 8px 0 0 !important;
    color: var(--dogma-muted) !important;
    font-size: 16.8px !important;
    line-height: 1.65 !important;
}

.plasmid-comparison-section {
    overflow: hidden;
}

.plasmid-option-heading {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 40px 0 17px;
}

.plasmid-option-heading > span {
    flex: 0 0 auto;
    padding: 6.8px 11.6px;
    color: var(--dogma-blue);
    font-family: "Fira Code", monospace;
    font-size: 12.2px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
    border: 1px solid rgba(var(--dogma-blue-rgb), .26);
    border-radius: 999px;
    background: rgba(var(--dogma-blue-rgb), .055);
}

.plasmid-option-heading h3 {
    color: var(--dogma-ink);
    font-size: 20px;
    font-weight: 800;
}

.plasmid-option-heading p {
    margin: 4px 0 0 !important;
    color: var(--dogma-muted) !important;
    font-size: 16.4px !important;
    line-height: 1.55 !important;
}

.plasmid-option-heading.is-static {
    margin-top: 60px;
}

.plasmid-figure {
    position: relative;
    margin: 0;
}

.plasmid-map-stage {
    position: relative;
    min-height: clamp(680px, 64vw, 980px);
    isolation: isolate;
    overflow: visible;
}

.plasmid-map-image {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 1;
    width: min(84%, 1120px);
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 3.6px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(22,53,96,.12);
    transform: translateX(-50%);
}

.plasmid-hotspot, .plasmid-static-marker {
    position: absolute;
    left: 52%;
    top: 18%;
    z-index: 5;
    width: 15%;
    height: 12%;
    padding: 0;
    border: 0;
    background: transparent;
}

.plasmid-hotspot {
    cursor: zoom-in;
    outline: none;
}

.plasmid-hotspot-frame {
    position: absolute;
    inset: 0;
    border: 2px solid var(--dogma-blue);
    background: rgba(var(--dogma-blue-rgb), .025);
    box-shadow: 0 0 0 1px rgba(255,255,255,.45) inset;
    transition: transform .25s ease, filter .25s ease, background .25s ease;
}

.plasmid-static-marker {
    border: 2px solid var(--dogma-blue);
    background: rgba(var(--dogma-blue-rgb), .025);
    box-shadow: 0 0 0 1px rgba(255,255,255,.45) inset;
}

.plasmid-interaction-hint {
    position: absolute;
    left: 53%;
    top: 31.5%;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--dogma-blue);
    font-family: "Fira Code", monospace;
    font-size: 12.4px;
    font-weight: 600;
    letter-spacing: .04em;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
}

.plasmid-interaction-hint svg {
    width: 17.6px;
    height: 17.6px;
}

.plasmid-detail-popout {
    position: absolute;
    top: 1%;
    left: 50%;
    right: auto;
    z-index: 10;
    width: min(86%, 1360px);
    padding: 15px 17px 17px;
    border: 1px solid rgba(var(--dogma-blue-rgb), .3);
    border-radius: 7px;
    background: color-mix(in srgb, var(--dogma-surface) 98%, transparent);
    box-shadow: 0 34px 80px rgba(21,48,91,.25), inset 0 1px 0 rgba(255,255,255,.32);
    transform: translateX(-50%);
}

.plasmid-detail-popout::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(115deg, rgba(var(--dogma-blue-rgb), .075), transparent 42%);
}

.plasmid-detail-label {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 11px;
    color: var(--dogma-blue);
    font-family: "Fira Code", monospace;
    font-size: 11.6px;
    font-weight: 700;
    letter-spacing: .11em;
}

.plasmid-detail-crop {
    position: relative;
    z-index: 1;
    width: 100%;
    height: clamp(140px, 11vw, 180px);
    overflow: hidden;
    border-radius: 3.2px;
    background: #fff;
}

.plasmid-detail-crop img {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    transform: translate(-50%, -50%);
}

.plasmid-callout-line {
    position: absolute;
    left: 65%;
    top: 22%;
    z-index: 9;
    width: 18%;
    height: 2px;
    background: linear-gradient(90deg, var(--dogma-blue), rgba(var(--dogma-blue-rgb), .42));
    transform: rotate(-19deg);
    transform-origin: left center;
}

.plasmid-callout-line::after {
    content: "";
    position: absolute;
    right: -1px;
    top: -5.4px;
    width: 11.6px;
    height: 11.6px;
    border-top: 2px solid var(--dogma-blue);
    border-right: 2px solid var(--dogma-blue);
    transform: rotate(45deg);
}

.plasmid-interactive-figure .plasmid-detail-popout, .plasmid-interactive-figure .plasmid-callout-line {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 38%) scale(.52);
    transform-origin: 58% 85%;
    filter: blur(2px);
    transition: opacity .22s ease, transform .46s cubic-bezier(.18,.88,.24,1.12), filter .3s ease;
}

.plasmid-interactive-figure .plasmid-callout-line {
    transform: rotate(-19deg) scaleX(.12);
    filter: none;
}

.plasmid-hotspot:hover ~ .plasmid-detail-popout, .plasmid-hotspot:focus-visible ~ .plasmid-detail-popout, .plasmid-hotspot:focus ~ .plasmid-detail-popout {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    filter: blur(0);
}

.plasmid-hotspot:hover ~ .plasmid-callout-line, .plasmid-hotspot:focus-visible ~ .plasmid-callout-line, .plasmid-hotspot:focus ~ .plasmid-callout-line {
    opacity: 1;
    transform: rotate(-19deg) scaleX(1);
}

.plasmid-hotspot:hover .plasmid-hotspot-frame, .plasmid-hotspot:focus .plasmid-hotspot-frame {
    filter: drop-shadow(0 0 8px rgba(var(--dogma-blue-rgb), .5));
    transform: scale(1.06);
    background: rgba(var(--dogma-blue-rgb), .065);
}

.plasmid-hotspot:hover ~ .plasmid-interaction-hint, .plasmid-hotspot:focus ~ .plasmid-interaction-hint {
    opacity: 0;
    transform: translateY(-6px);
}

.plasmid-static-figure .plasmid-map-stage {
    min-height: clamp(800px, 72vw, 1100px);
}

.plasmid-static-figure .plasmid-map-image {
    left: 50%;
    width: min(82%, 1000px);
    transform: translateX(-50%);
}

.plasmid-static-figure .plasmid-static-marker {
    left: 52%;
    top: 30%;
    width: 15%;
    height: 12%;
}

.plasmid-static-figure .plasmid-callout-line {
    left: 66%;
    top: 32%;
    width: 15%;
    transform: rotate(-22deg);
}

.plasmid-static-figure .plasmid-detail-popout {
    top: 0;
    left: auto;
    right: 0;
    width: min(86%, 1360px);
    transform: none;
}

.plasmid-figure figcaption {
    margin-top: 14px;
    color: var(--dogma-muted);
    font-size: 14.4px;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .plasmid-map-stage {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding: 20px;
        overflow: visible;
    }

    .plasmid-map-image {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100% !important;
    }

    .plasmid-static-figure .plasmid-map-image {
        left: auto;
        transform: none;
    }

    .plasmid-static-figure .plasmid-map-stage {
        min-height: 0;
    }

    .plasmid-hotspot, .plasmid-static-marker {
        left: 54%;
        top: 18%;
        width: 17%;
        height: 12%;
    }

    .plasmid-static-figure .plasmid-static-marker {
        left: 54%;
        top: 18%;
        width: 17%;
        height: 12%;
    }

    .plasmid-interaction-hint {
        left: auto;
        right: 25px;
        top: 31%;
    }

    .plasmid-detail-popout {
        position: relative;
        top: auto !important;
        left: auto;
        right: auto;
        width: 100%;
        margin-top: 15px;
        transform: none;
    }

    .plasmid-detail-crop {
        height: 160px;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .plasmid-detail-crop img {
        position: relative;
        left: auto;
        top: auto;
        width: 880px;
        transform: none;
    }

    .plasmid-callout-line {
        display: none;
    }

    .plasmid-interactive-figure .plasmid-detail-popout {
        max-height: 0;
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: max-height .38s ease, margin .32s ease, padding .32s ease, opacity .25s ease, transform .32s ease;
    }

    .plasmid-hotspot:hover ~ .plasmid-detail-popout, .plasmid-hotspot:focus ~ .plasmid-detail-popout {
        max-height: 360px;
        margin-top: 15px;
        padding: 14.4px 16px 16px;
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .plasmid-hotspot-frame, .plasmid-detail-popout, .plasmid-callout-line, .plasmid-interaction-hint {
        transition: none !important;
    }
}

.wetlab-result-block {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(380px, 1.22fr);
    gap: clamp(30px, 4vw, 60px);
    align-items: start;
}

.wetlab-result-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(200px, .75fr);
    gap: 16px;
    align-items: stretch;
}

.wetlab-result-gallery .wetlab-image-placeholder {
    min-height: 360px;
}

.wetlab-result-gallery .wetlab-image-placeholder.is-compact {
    min-height: 360px;
}

@media (max-width: 900px) {
    .wetlab-reading-grid, .wetlab-result-block {
        grid-template-columns: 1fr;
    }

    .wetlab-reading-grid.is-reversed .wetlab-copy-stack, .wetlab-reading-grid.is-reversed .wetlab-image-placeholder {
        order: initial;
    }

    .wetlab-reading-grid.is-reversed .wetlab-image-placeholder {
        order: 2;
    }

    .wetlab-module-register {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wetlab-timeline { --timeline-date-width: 108px; }
}

@media (max-width: 620px) {
    .wetlab-module-heading > div {
        padding-left: 73px;
    }

    .wetlab-module-summary {
        margin-left: 0 !important;
    }

    .wetlab-module-number {
        font-size: 30px;
    }

    .wetlab-reading-grid {
        gap: 25px;
    }

    .wetlab-image-placeholder {
        min-height: 260px;
    }

    .wetlab-module-register, .wetlab-result-gallery {
        grid-template-columns: 1fr;
    }

    .wetlab-module-register span {
        min-height: auto;
    }

    .wetlab-timeline { --timeline-date-width: 88px; }

    .wetlab-timeline article {
        grid-template-columns: var(--timeline-date-width) 22px minmax(0, 1fr);
        column-gap: 14px;
        min-height: 200px;
    }

    .wetlab-week-event::before { left: -25px; width: 14.4px; }

    .wetlab-document-placeholder {
        align-items: flex-start;
    }
}

.dogma-navbar .dropdown-menu {
    background:
        linear-gradient(145deg, rgba(255,255,255,.18), rgba(var(--dogma-blue-rgb),.045)),
        color-mix(in srgb, var(--dogma-surface) 94%, transparent) !important;
    -webkit-backdrop-filter: blur(18px) saturate(145%) !important;
    backdrop-filter: blur(18px) saturate(145%) !important;
    box-shadow: 0 18px 46px rgba(31,48,74,.2), inset 0 1px 0 rgba(255,255,255,.5) !important;
}



@media (prefers-reduced-motion: reduce) {
    .wetlab-protocol-chevron, .wetlab-protocol-row summary {
        transition: none;
    }
}

html:has(.members-page.education-page), html:has(body.education-page) {
    scroll-snap-type: none !important;
}
.education-page .members-snap-panel {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
}
