/* =============================================================================
   OR Ventures (or-ventures.com / or-ventures.web.app)
   Brand Theme & Design System — Derived from official OR Ventures Logo
   Palette: Obsidian Midnight (#030914), Slate Deep (#071329), Electric Blue (#1b80fc)
   Zero external scripts. Pure CSS responsive architecture.
   ============================================================================= */

:root {
    /* Brand Palette */
    --midnight: #030914;
    --navy-deep: #050d1e;
    --navy-surface: #08162e;
    --card-bg: rgba(8, 22, 46, 0.72);
    --card-bg-hover: rgba(12, 30, 62, 0.85);

    /* Electric Accent (Extracted from the diagonal slice in the R mark) */
    --blue: #1b80fc;
    --blue-hover: #3d95ff;
    --blue-soft: #7db6ff;
    --blue-glow: rgba(27, 128, 252, 0.35);
    --blue-subtle: rgba(27, 128, 252, 0.12);

    /* Typography & Contrast */
    --text-pure: #ffffff;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Borders & Glassmorphism */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 255, 255, 0.18);
    --border-accent: rgba(27, 128, 252, 0.5);

    /* Typography Stacks */
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-mono: 'Space Grotesk', system-ui, -apple-system, sans-serif;

    /* Sizing & Layout */
    --page-max: 1180px;
    --gutter: clamp(20px, 5vw, 56px);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

/* ---- Reset & Base Styles ------------------------------------------------ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--midnight);
    background-image:
        radial-gradient(circle at 50% -10%, rgba(27, 128, 252, 0.18) 0%, transparent 55%),
        radial-gradient(circle at 90% 45%, rgba(27, 128, 252, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 10% 85%, rgba(27, 128, 252, 0.06) 0%, transparent 40%),
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 64px 64px, 64px 64px;
    background-position: 0 0, 0 0, 0 0, -1px -1px, -1px -1px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
    border-radius: 4px;
}

::selection {
    background: var(--blue);
    color: var(--midnight);
}

/* Accessibility Skip Link */
.skip-link {
    position: absolute;
    top: -999px;
    left: 20px;
    background: var(--blue);
    color: var(--midnight);
    padding: 12px 20px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    z-index: 1000;
}
.skip-link:focus {
    top: 20px;
}

/* ---- Reusable Atoms & Badges -------------------------------------------- */

/* Geometric Blue Slash from the 'R' leg */
.slash {
    display: inline-block;
    width: 0.85em;
    height: 0.85em;
    margin-right: 0.55em;
    background: var(--blue);
    clip-path: polygon(52% 0, 100% 0, 48% 100%, 0 100%);
    vertical-align: -0.06em;
    flex-shrink: 0;
}

.pulse-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 8px var(--blue);
    margin-right: 6px;
    animation: pulseGlow 2.5s infinite ease-in-out;
}

.pulse-dot.active {
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.6; }
}

/* Section Header Typography */
.section {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: clamp(60px, 8vw, 110px) var(--gutter);
    scroll-margin-top: 80px;
}

.section-header {
    margin-bottom: clamp(36px, 5vw, 60px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--blue-soft);
    margin-bottom: 14px;
}

.section-title {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: clamp(2rem, 3.8vw, 2.85rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: var(--text-pure);
}

.section-description {
    margin: 14px 0 0;
    max-width: 42em;
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.6;
}

.inline-link {
    color: var(--blue-soft);
    border-bottom: 1px solid rgba(125, 182, 255, 0.4);
    padding-bottom: 1px;
}
.inline-link:hover {
    color: var(--text-pure);
    border-color: var(--blue);
}

/* ---- Buttons ------------------------------------------------------------ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--text-pure);
    color: var(--midnight);
    border: 1px solid var(--text-pure);
    box-shadow: 0 4px 20px -2px rgba(255, 255, 255, 0.15);
}
.btn-primary:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--text-pure);
    box-shadow: 0 8px 30px -4px var(--blue-glow);
    transform: translateY(-1px);
}
.btn-primary .icon-arrow {
    transition: transform 0.2s ease;
}
.btn-primary:hover .icon-arrow {
    transform: translateX(3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--border-highlight);
    color: var(--text-pure);
    transform: translateY(-1px);
}

/* ---- Header & Navigation ------------------------------------------------ */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(3, 9, 20, 0.82);
    border-bottom: 1px solid var(--border-subtle);
    transition: background-color 0.2s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 16px var(--gutter);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-pure);
}

.badge-status {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: var(--blue-subtle);
    border: 1px solid rgba(27, 128, 252, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-soft);
    margin-left: 4px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.5vw, 28px);
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 6px 2px;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--blue);
    transition: width 0.22s ease;
}
.nav-link:hover {
    color: var(--text-pure);
}
.nav-link:hover::after {
    width: 100%;
}

/* ---- Hero Section ------------------------------------------------------- */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: center;
    gap: clamp(32px, 6vw, 72px);
    max-width: var(--page-max);
    margin: 0 auto;
    padding: clamp(50px, 8vw, 100px) var(--gutter) clamp(40px, 6vw, 80px);
}

.not-found-hero {
    grid-template-columns: 1fr;
    min-height: 65vh;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-title {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text-pure);
    text-wrap: balance;
}

.hero-lede {
    margin: 24px 0 0;
    max-width: 36em;
    font-size: clamp(1.1rem, 1.4vw, 1.25rem);
    line-height: 1.65;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 32px);
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--border-subtle);
}

.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-family: var(--font-mono);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--text-pure);
    line-height: 1.1;
}
.stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-subtle);
}

/* Hero Visual: Iconic Ring Porthole */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.porthole-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    position: relative;
}

.ring-glow-wrapper {
    position: relative;
    width: clamp(260px, 32vw, 380px);
    height: clamp(260px, 32vw, 380px);
}

.ring-ambient-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
    filter: blur(28px);
    opacity: 0.85;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}
.porthole-link:hover .ring-ambient-glow {
    opacity: 1;
    transform: scale(1.08);
}

.ring-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: clamp(14px, 2.5vw, 22px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(200, 225, 255, 0.8) 100%);
    box-shadow:
        0 20px 60px -10px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.porthole-link:hover .ring-frame {
    transform: scale(1.03);
}

.ring-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 60%;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.porthole-link:hover .ring-image {
    transform: scale(1.06);
}

.porthole-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: rgba(8, 22, 46, 0.85);
    border: 1px solid var(--border-highlight);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.6);
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.porthole-link:hover .porthole-badge {
    border-color: var(--blue);
    transform: translateY(-2px);
}

.badge-title {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue-soft);
}
.badge-separator {
    color: var(--text-muted);
}
.badge-sub {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-pure);
}

/* ---- Portfolio Section: Featured Venture 01 ------------------------------ */

.venture-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
    padding: clamp(28px, 5vw, 56px);
    border-radius: var(--radius-xl);
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    box-shadow:
        0 24px 70px -16px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease;
}
.venture-featured-card:hover {
    border-color: rgba(27, 128, 252, 0.3);
}

/* Ambient glow corner in card */
.venture-featured-card::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(27, 128, 252, 0.16) 0%, transparent 70%);
    pointer-events: none;
}

.venture-topline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.pill-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.status-live {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #34d399;
    padding: 3px 9px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
}

.brand-display {
    margin-bottom: 20px;
}

.venture-wordmark {
    width: min(280px, 80%);
    height: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
}

.venture-headline {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--text-pure);
    text-wrap: balance;
}

.venture-body {
    margin: 18px 0 0;
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 1.05rem;
}

.venture-quote {
    margin: 22px 0 0;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--blue);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.quote-text {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-pure);
    font-style: italic;
    line-height: 1.4;
}
.quote-author {
    margin-top: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.venture-trust {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 22px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: rgba(27, 128, 252, 0.06);
    border: 1px solid rgba(27, 128, 252, 0.15);
    font-size: 0.88rem;
    color: var(--blue-soft);
    line-height: 1.5;
}
.trust-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--blue);
}

.venture-cta-row {
    margin-top: 28px;
}

/* Gallery Stack */
.venture-gallery {
    position: relative;
}

.gallery-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.15;
}

.gallery-card {
    position: absolute;
    width: 68%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 24px 50px -12px rgba(0, 0, 0, 0.8),
        0 0 0 1px var(--border-highlight);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

.gallery-card.page-top {
    top: 0;
    left: 0;
    z-index: 2;
    transform: rotate(-2deg);
}

.gallery-card.page-bottom {
    bottom: 0;
    right: 0;
    z-index: 1;
    transform: rotate(3deg);
}

.venture-featured-card:hover .gallery-card.page-top {
    transform: rotate(-4deg) translateY(-4px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--border-accent);
}

.venture-featured-card:hover .gallery-card.page-bottom {
    transform: rotate(5deg) translateY(4px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--border-accent);
}

/* ---- Portfolio: Venture No. 2 Pipeline Card ------------------------------ */

.venture-pipeline-card {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 32px;
    padding: clamp(24px, 4vw, 36px);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.16);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.venture-pipeline-card:hover {
    border-color: rgba(27, 128, 252, 0.4);
    background: rgba(27, 128, 252, 0.03);
}

.pipeline-ring {
    flex-shrink: 0;
}

.ring-dashed {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px dashed rgba(125, 182, 255, 0.4);
    animation: rotateDashed 24s linear infinite;
}

@keyframes rotateDashed {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pipeline-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue-soft);
    margin-bottom: 6px;
}

.pipeline-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-pure);
}

.pipeline-text {
    margin: 8px 0 0;
    font-size: 0.96rem;
    color: var(--text-secondary);
    max-width: 48em;
    line-height: 1.6;
}

/* ---- Philosophy Section ------------------------------------------------- */

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 32px);
}

.principle-card {
    padding: clamp(26px, 4vw, 36px);
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(14px);
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
    display: flex;
    flex-direction: column;
}
.principle-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-highlight);
    background: var(--card-bg-hover);
}

.principle-number {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--blue);
    opacity: 0.8;
    margin-bottom: 20px;
}

.principle-title {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-pure);
    letter-spacing: -0.015em;
}

.principle-text {
    margin: 14px 0 0;
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ---- Company Registry Section ------------------------------------------- */

.registry-card {
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.registry-grid {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.registry-row {
    display: grid;
    grid-template-columns: minmax(180px, 0.35fr) 1fr;
    gap: 16px 32px;
    padding: 22px clamp(20px, 4vw, 36px);
    border-bottom: 1px solid var(--border-subtle);
    align-items: baseline;
    transition: background-color 0.15s ease;
}
.registry-row:last-child {
    border-bottom: none;
}
.registry-row:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.registry-key {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.registry-value {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 500;
    color: var(--text-pure);
}

/* ---- Contact Section ---------------------------------------------------- */

.contact-card {
    position: relative;
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, rgba(8, 22, 46, 0.9) 0%, rgba(5, 13, 30, 0.95) 100%);
    border: 1px solid var(--border-highlight);
    overflow: hidden;
    padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 60px);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}

.contact-glow {
    position: absolute;
    top: -50%;
    left: 30%;
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, var(--blue-glow) 0%, transparent 65%);
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.6;
}

.contact-inner {
    position: relative;
    z-index: 1;
}

.contact-headline {
    margin: 10px 0 0;
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--text-pure);
    letter-spacing: -0.02em;
}

.contact-sub {
    margin: 14px 0 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 36em;
}

.contact-email {
    display: inline-block;
    margin-top: 24px;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: clamp(1.4rem, 4.5vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--text-pure);
    border-bottom: 2px solid var(--blue);
    padding-bottom: 4px;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    overflow-wrap: anywhere;
}
.contact-email:hover {
    color: var(--blue-soft);
    border-color: var(--text-pure);
    transform: translateY(-2px);
}

.contact-routing {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    max-width: 44em;
}

.routing-note {
    margin: 0;
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.routing-note strong {
    color: var(--text-secondary);
}

/* ---- Footer ------------------------------------------------------------- */

.footer {
    margin-top: clamp(40px, 6vw, 80px);
    border-top: 1px solid var(--border-subtle);
    background: rgba(3, 9, 20, 0.95);
    padding: clamp(40px, 6vw, 60px) var(--gutter);
}

.footer-container {
    max-width: var(--page-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo {
    width: 140px;
    height: auto;
    opacity: 0.95;
}

.footer-tagline {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-legal {
    text-align: right;
}
.footer-legal p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}
.footer-disclaimer {
    margin-top: 4px !important;
    font-size: 0.8rem !important;
    color: #475569 !important;
}

/* ---- Responsive Breakpoints --------------------------------------------- */

@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-visual {
        order: -1;
    }
    .desktop-break {
        display: none;
    }
    .venture-featured-card {
        grid-template-columns: 1fr;
    }
    .gallery-wrapper {
        aspect-ratio: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .gallery-card {
        position: static;
        width: 100%;
        transform: none !important;
    }
    .principles-grid {
        grid-template-columns: 1fr;
    }
    .footer-legal {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-menu {
        width: 100%;
        justify-content: space-between;
        overflow-x: auto;
        padding-top: 8px;
    }
    .hero-stats {
        flex-wrap: wrap;
    }
    .registry-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .venture-pipeline-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---- Reduced Motion Accessibility --------------------------------------- */

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