/* ============================================
   NEMO AI — Shared Stylesheet
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-dark: #0f1419;
    --color-darker: #0a0e1a;
    --color-blue-primary: #2e3192;
    --color-cyan: #00d4ff;
    --color-magenta: #e500ff;
    --color-purple: #7c3aed;
    --color-text: #e0e0e0;
    --color-text-muted: #888888;
    --transition-smooth: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.3s ease-out;
    --font-display: 'Nunito', sans-serif;
}

html {
    scroll-behavior: smooth;
    /* Bumps every rem-based size (body copy and titles alike) up from the
       16px default, since the whole site is sized in rem. */
    font-size: 18px;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--color-dark);
    color: var(--color-text);
    overflow-x: hidden;
    line-height: 1.6;
    /* Default running text is justified; every explicitly centered element
       (.page-hero, .cta-band, .stats-strip, .section-head-center, etc.) sets
       its own text-align: center and so is unaffected by this default. */
    text-align: justify;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* Shared display face for every title across the site — headline weight,
   body copy stays on Nunito for readability. */
h1, h2, h3,
.section-title, .page-hero h1, .info-box h3, .modal-box h2,
.card h3, .value-item h4, .location-item h4 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* ============ HEADER & NAVIGATION ============ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 20, 25, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    padding: 1.25rem 2rem;
    transition: box-shadow 0.3s ease;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo img {
    height: 28px;
    width: auto;
    /* the SVG carries the theme colors itself; just a soft glow to seat it */
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.25));
}

.logo-tagline {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.45;
    color: var(--color-text-muted);
    border-left: 1px solid rgba(0, 212, 255, 0.3);
    padding-left: 0.85rem;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-text);
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    color: var(--color-text);
    text-decoration: none;
    margin-left: 2.25rem;
    font-size: 0.92rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition-fast);
    white-space: nowrap;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-cyan);
    transition: width 0.3s ease-out;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a.active {
    color: var(--color-cyan);
}

.cta-button {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-blue-primary));
    color: var(--color-dark);
    padding: 0.7rem 1.4rem;
    border-radius: 4px;
    margin-left: 2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-cyan);
    transition: var(--transition-fast);
}

/* ============ PAGE HERO (interior pages) ============ */
.page-hero {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 140px 2rem 4rem;
    background: linear-gradient(135deg, var(--color-darker) 0%, #1a1f2e 50%, var(--color-darker) 100%);
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(46, 49, 146, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(0, 212, 255, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeInUp 0.9s ease-out 0.2s forwards;
}

/* ============ FLOATING BUBBLES (ambient decorative layer) ============ */
/* A field of soft, slowly-drifting glow circles behind the content —
   purely decorative, so it sits at a low z-index and ignores pointer events. */
.bubble-field {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    animation-name: bubbleFloat;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes bubbleFloat {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(var(--bx, 24px), var(--by, -32px)) scale(var(--bs, 1.06)); }
}

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

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-cyan);
    margin-bottom: 1.25rem;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-cyan) 55%, var(--color-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.page-hero-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    color: var(--color-text-muted);
    font-weight: 300;
    max-width: 680px;
    margin: 0 auto;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ GENERIC SECTIONS ============ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 2rem;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-lead {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    max-width: 700px;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============ BUTTONS ============ */
.btn-primary, .btn-secondary {
    padding: 1rem 2.4rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-blue-primary) 100%);
    color: var(--color-dark);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--color-cyan);
    border: 2px solid var(--color-cyan);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.btn-group {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ============ CARDS ============ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: linear-gradient(135deg, rgba(46, 49, 146, 0.15) 0%, rgba(0, 212, 255, 0.05) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

/* Reveal-on-scroll is opt-in via JS (.reveal-init), so content stays
   visible by default if JavaScript fails to load. */
.reveal-init {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-init.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.15), transparent);
    transition: left 0.6s ease-out;
    pointer-events: none;
}

.card:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.15);
    transform: translateY(-8px);
}

.card:hover::before { left: 100%; }


.card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.85rem;
    color: var(--color-cyan);
    font-weight: 600;
}

.card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
}

.card-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-magenta);
    margin-bottom: 0.75rem;
}

.card-more-link {
    align-self: flex-start;
    color: var(--color-cyan);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 212, 255, 0.55);
    margin-top: 0.5rem;
}
.card-more-link:hover { border-color: var(--color-cyan); }

/* ============ LEADERSHIP ============ */
.avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-dark);
    background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
    margin-bottom: 1.1rem;
}

.leader-role {
    color: var(--color-cyan);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.info-box .card h3.director-name {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: normal;
    text-align: left;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ SPLIT STORY LAYOUT ============ */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.split.reverse .split-media { order: 2; }
.split.reverse .split-text { order: 1; }

.split-media {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.1);
}

.split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease-out;
}

.split-media:hover img { transform: scale(1.05); }

.split-text h2 {
    font-size: 1.9rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.split-text p {
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.point-list { list-style: none; margin-top: 1.5rem; }

.point-list li {
    color: var(--color-text);
    margin-bottom: 0.9rem;
    padding-left: 1.8rem;
    position: relative;
    font-size: 0.95rem;
}

.point-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-cyan);
    font-size: 1.3rem;
    line-height: 1;
}

/* ============ DISCLAIMER ACKNOWLEDGEMENT STRIP ============ */
.disclaimer-agree {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-top: 3rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 8px;
    background: rgba(46, 49, 146, 0.12);
}
.disclaimer-agree span:first-child {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: var(--color-text);
}
.disclaimer-agree-btn {
    flex: none;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-dark);
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-blue-primary) 100%);
}

/* ============ DISCLAIMER GATE (homepage entry popup) ============ */
.gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 12, 0.9);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4vh 1.5rem;
    z-index: 3000;
    transition: opacity 0.3s ease-out;
}

.gate-overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.gate-box {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-magenta));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    max-width: 720px;
    width: 100%;
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gate-box h2 {
    padding: 1.75rem 2rem 1rem;
    font-size: 1.6rem;
    color: var(--color-dark);
}

.gate-body {
    overflow-y: auto;
    padding: 0 2rem;
    flex: 1;
}

.gate-body p {
    color: var(--color-dark);
    line-height: 1.75;
    font-size: 0.92rem;
    margin-bottom: 1.1rem;
}

.gate-body h3 {
    color: var(--color-dark);
    font-size: 0.98rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
}

.gate-footer {
    padding: 1.5rem 2rem 1.75rem;
    border-top: 1px solid rgba(15, 20, 25, 0.15);
}

.gate-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--color-dark);
    margin-bottom: 1.1rem;
    cursor: pointer;
}

.gate-checkbox input {
    margin-top: 0.2rem;
    width: 16px;
    height: 16px;
    accent-color: var(--color-dark);
    cursor: pointer;
}

.gate-agree-btn {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-cyan);
    background: var(--color-dark);
    cursor: pointer;
    transition: var(--transition-fast);
}

.gate-agree-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.gate-agree-btn:not(:disabled):hover {
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

@media (max-width: 600px) {
    .gate-box h2 { padding: 1.5rem 1.25rem 0.75rem; font-size: 1.3rem; }
    .gate-body { padding: 0 1.25rem; }
    .gate-footer { padding: 1.25rem; }
}

/* ============ STATS STRIP ============ */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.15);
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
    padding: 3rem 0;
    text-align: center;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-cyan);
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============ CTA BAND ============ */
.cta-band {
    background: linear-gradient(135deg, rgba(46, 49, 146, 0.3) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    padding: 4rem 2rem;
    margin: 5rem 0;
    text-align: center;
}

.cta-band h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-band p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* ============ FOOTER ============ */
footer {
    background: var(--color-darker);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    padding: 3.5rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand .logo { margin-bottom: 1rem; }

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-section h3 {
    color: var(--color-cyan);
    margin-bottom: 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.65rem; }

.footer-section ul li a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition-fast);
}

.footer-section ul li a:hover { color: var(--color-cyan); }

.footer-section address {
    font-style: normal;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    padding-top: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

.footer-socials, .footer-legal { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-socials a, .footer-legal a { color: var(--color-text-muted); text-decoration: none; }
.footer-socials a:hover, .footer-legal a:hover { color: var(--color-cyan); }

/* ============ FORMS ============ */
.form-card {
    background: linear-gradient(135deg, rgba(46, 49, 146, 0.15) 0%, rgba(0, 212, 255, 0.04) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    padding: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-text);
    margin-bottom: 0.6rem;
}

.form-group .required { color: var(--color-magenta); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(10, 14, 26, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 6px;
    padding: 0.85rem 1rem;
    color: var(--color-text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300d4ff' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-blue-primary) 100%);
    color: var(--color-dark);
    border: none;
    border-radius: 6px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.3);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.hp-field {
    position: absolute !important;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--color-cyan);
}

.form-status.error {
    display: block;
    background: rgba(229, 0, 100, 0.1);
    border: 1px solid rgba(229, 0, 100, 0.3);
    color: #ff6b9d;
}

/* ============ CONTACT CHANNELS ============ */
.contact-channels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
    margin-bottom: 2.5rem;
}

.contact-channel {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    border-top: 1px solid rgba(0, 212, 255, 0.15);
    padding-top: 1.6rem;
}

.icon-tile {
    width: 46px;
    height: 46px;
    flex: none;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    color: var(--color-cyan);
    background: linear-gradient(135deg, rgba(46, 49, 146, 0.25) 0%, rgba(10, 14, 26, 0.6) 100%);
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.12), inset 0 0 14px rgba(0, 212, 255, 0.07);
    transition: var(--transition-fast);
}

.contact-channel:hover .icon-tile,
.card:hover .icon-tile {
    border-color: var(--color-cyan);
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.28), inset 0 0 14px rgba(0, 212, 255, 0.1);
}

.icon-tile svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card .icon-tile { margin-bottom: 1.1rem; }

.channel-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-cyan);
    margin-bottom: 0.5rem;
}

.channel-value {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.65;
    text-decoration: none;
}

a.channel-value:hover { color: var(--color-cyan); }

@media (max-width: 860px) {
    .contact-channels { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ============ MEDIA NETWORK MAP ============ */
.map-panel {
    background: radial-gradient(ellipse at center, rgba(46, 49, 146, 0.2) 0%, rgba(10, 14, 26, 0.6) 70%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    min-height: 560px;
}

.map-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.map-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 3;
}

.map-filter-btn {
    background: rgba(10, 14, 26, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.25);
    color: var(--color-text-muted);
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.map-filter-btn:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
}

.map-filter-btn.active {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-blue-primary));
    color: var(--color-dark);
    border-color: transparent;
}

/* ============ CITY TAGS (Media Network) ============ */
.city-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.city-tag {
    background: rgba(10, 14, 26, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.25);
    color: var(--color-text);
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.city-tag:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.18);
}

.map-canvas {
    position: relative;
    height: 420px;
    z-index: 2;
}

.map-node {
    position: absolute;
    transform: translate(-50%, -50%);
    transition: var(--transition-fast);
    cursor: pointer;
}

.map-node .node-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-cyan);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2), 0 0 20px rgba(0, 212, 255, 0.6);
    position: relative;
    z-index: 2;
    transition: var(--transition-fast);
}

.map-node .node-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.4);
    animation: pulseNode 2.4s ease-out infinite;
}

@keyframes pulseNode {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.6); opacity: 0; }
}

.map-node .node-label {
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 14, 26, 0.95);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--color-text);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.map-node:hover .node-label { opacity: 1; top: -38px; }
.map-node:hover .node-dot { transform: scale(1.4); }

.map-node.dimmed .node-dot {
    opacity: 0.15;
    box-shadow: none;
}
.map-node.dimmed .node-dot::after { display: none; }

.map-legend {
    position: relative;
    z-index: 2;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 212, 255, 0.12);
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

.location-list {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.location-item {
    background: rgba(46, 49, 146, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 8px;
    padding: 1.25rem;
    transition: var(--transition-fast);
}

.location-item:hover {
    border-color: var(--color-cyan);
    transform: translateY(-3px);
}

.location-item h4 {
    color: var(--color-cyan);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.location-item span {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

/* ============ MAP EMBED (Contact page) ============ */
.map-embed {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    margin-bottom: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
    /* Pulls the default map into the site's dark palette */
    filter: grayscale(1) invert(0.92) hue-rotate(180deg) contrast(0.9) brightness(0.95);
}

.map-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    padding: 0.9rem 1.25rem;
    background: rgba(10, 14, 26, 0.85);
    border-top: 1px solid rgba(0, 212, 255, 0.15);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.map-footer a {
    color: var(--color-cyan);
    text-decoration: none;
    white-space: nowrap;
}

.map-footer a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .map-embed iframe { height: 300px; }
}

/* ============ INFO BOX STACK (boxy, image-free layout) ============ */
/* One full-bleed, edge-to-edge band per row, alternating full-color and
   light backgrounds. Each band's own text column stays narrow and
   readable even though the background spans the full viewport width. */
.box-grid {
    display: flex;
    flex-direction: column;
}

.info-box {
    width: 100%;
    padding: 3.25rem 1.25rem;
}

.info-box-inner {
    max-width: 980px;
    margin: 0 auto;
}

/* Module row: a light-grey badge circle on the left, text shifted right */
.module-row {
    display: flex;
    align-items: center;
    gap: 7.5rem;
}

.module-icon {
    flex: none;
    width: 130px;
    height: 130px;
    display: grid;
    place-items: center;
}

.module-icon img {
    width: 95%;
    height: 95%;
    object-fit: contain;
}

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

@media (max-width: 700px) {
    .module-row { gap: 3.75rem; }
    .module-icon { width: 90px; height: 90px; }
}

@media (max-width: 480px) {
    .module-row { align-items: flex-start; gap: 3rem; }
    .module-icon { width: 64px; height: 64px; }
}

.info-box .box-number {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.9rem;
    opacity: 0.75;
}

.info-box h3 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.1rem;
}

.info-box .box-excerpt {
    font-size: 1rem;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.box-readmore {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0 0 2px;
    font-family: inherit;
}

/* Full-color variant */
.info-box.box-dark {
    background: linear-gradient(90deg, var(--color-blue-primary) 0%, var(--color-purple) 100%);
    color: #fff;
}
.info-box.box-dark .box-number { color: rgba(255, 255, 255, 0.75); }
.info-box.box-dark h3 { color: #c2c8d0; }
.info-box.box-dark .box-excerpt { color: rgba(255, 255, 255, 0.88); }
.info-box.box-dark .box-readmore {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}
.info-box.box-dark .box-readmore:hover { border-color: #fff; }

/* Light variant */
.info-box.box-light {
    background: #eef1f6;
    color: #12151c;
}
.info-box.box-light .box-number { color: var(--color-blue-primary); }
.info-box.box-light h3 { color: #5a6472; }
.info-box.box-light .box-excerpt { color: #4a505c; }
.info-box.box-light .box-readmore {
    color: var(--color-blue-primary);
    border-bottom: 1px solid var(--color-blue-primary);
}
.info-box.box-light .box-readmore:hover { color: var(--color-purple); border-color: var(--color-purple); }

@media (max-width: 600px) {
    .info-box { padding: 2.5rem 1.25rem; }
}

/* ============ MODAL (Read more detail) ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 12, 0.78);
    backdrop-filter: blur(6px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 6vh 1.5rem;
    z-index: 2000;
    overflow-y: auto;
}

.modal-overlay.is-open { display: flex; }

.modal-box {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-magenta));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    max-width: 70vw;
    width: 100%;
    padding: 2.75rem;
    position: relative;
}

@media (max-width: 900px) {
    .modal-box { max-width: 92vw; }
}

@media (max-width: 900px) {
    .modal-box { max-width: 92vw; }
}

.modal-close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: none;
    border: none;
    color: rgba(15, 20, 25, 0.6);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}
.modal-close:hover { color: var(--color-dark); }

.modal-box h2 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-right: 2rem;
    color: var(--color-dark);
}

.modal-box p {
    color: var(--color-dark);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.modal-box h4 {
    color: var(--color-dark);
    font-size: 1.02rem;
    font-weight: 600;
    margin: 1.75rem 0 0.65rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.5);
}

@media (max-width: 600px) {
    .modal-box { padding: 2rem 1.5rem; }
}

/* ============ CENTERED MODULES / 3-COL CARDS (homepage option 2) ============ */
.section-head-center { text-align: center; }
.section-head-center .section-lead { margin-left: auto; margin-right: auto; }

.center-block {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}
.center-block .card-more-link { margin-top: 0.5rem; }

.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
@media (max-width: 900px) { .card-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid-3 { grid-template-columns: 1fr; } }

/* ============ PROSE (long-form narrative copy) ============ */
/* Scopes typographic hierarchy + a readable measure to the running text
   blocks between visual breaks, without touching component-specific
   paragraph styles elsewhere (.split-text p, .card p, etc). */
.prose {
    max-width: 740px;
}

.prose p {
    color: var(--color-text-muted);
    line-height: 1.85;
    font-size: 1.02rem;
    margin-bottom: 1.4rem;
}

.prose h2 {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 3.5rem 0 1.1rem;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prose h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-cyan);
    margin: 2.75rem 0 0.9rem;
}

.prose h4 {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 1.9rem 0 0.65rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(0, 212, 255, 0.35);
}

.prose > :first-child { margin-top: 0; }

.prose strong { color: var(--color-text); font-weight: 600; }

/* Section-level intro copy sits full-width above a prose block, so give
   the first prose heading room even when it directly follows one. */
.section-title + .prose h2:first-child,
.section-title + .prose h3:first-child { margin-top: 0; }

/* ============ EDITORIAL BAND (full-bleed image break) ============ */
.editorial-band {
    position: relative;
    margin: 5rem 0;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.editorial-band img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(10, 14, 26, 0.96) 0%, rgba(10, 14, 26, 0.35) 55%, rgba(15, 20, 25, 0.55) 100%),
        linear-gradient(100deg, rgba(46, 49, 146, 0.35) 0%, transparent 60%);
}

.editorial-band-content {
    position: relative;
    z-index: 2;
    padding: 3rem clamp(1.5rem, 5vw, 4rem);
    max-width: 780px;
}

.editorial-band-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: var(--color-cyan);
    margin-bottom: 0.75rem;
}

.editorial-band-content p {
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    font-weight: 500;
    line-height: 1.45;
    color: #fff;
}

/* ============ IMAGE DUO (two-up break between text blocks) ============ */
.image-duo {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1.5rem;
    margin: 3.5rem 0;
}

.image-duo figure {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    aspect-ratio: 5/4;
}

.image-duo figure:last-child { aspect-ratio: 5/6; align-self: stretch; }

.image-duo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 700px) {
    .image-duo { grid-template-columns: 1fr; }
    .image-duo figure:last-child { aspect-ratio: 5/4; }
}

/* ============ PULL QUOTE ============ */
.pull-quote {
    border-left: 3px solid var(--color-cyan);
    padding: 0.3rem 0 0.3rem 1.75rem;
    margin: 3rem 0;
}

.pull-quote p {
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-text);
    margin: 0;
}

/* ============ TIMELINE / VALUES (About page) ============ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.value-item {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(0, 212, 255, 0.15);
}

.value-item h4 {
    color: var(--color-cyan);
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.value-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.expansion-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2.5rem 0;
}

.expansion-stop {
    text-align: center;
    flex: 1;
    min-width: 100px;
    position: relative;
}

.expansion-stop .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-cyan);
    margin: 0 auto 0.75rem;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

.expansion-stop.muted .dot {
    background: rgba(0, 212, 255, 0.3);
    box-shadow: none;
}

.expansion-stop span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
}

.expansion-stop.muted span { color: var(--color-text-muted); }

.expansion-line {
    position: absolute;
    top: 6px;
    left: 50%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.4), rgba(0, 212, 255, 0.1));
    z-index: -1;
}

.expansion-stop:last-child .expansion-line { display: none; }

/* ============ ANIMATIONS ============ */
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes navDrop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ RESPONSIVE ============ */
/* Tablet band: logo, tagline, nav and CTA all compete for width — drop the tagline */
@media (min-width: 769px) and (max-width: 1120px) {
    .logo-tagline { display: none; }
}

@media (max-width: 900px) {
    .split, .split.reverse { grid-template-columns: 1fr; }
    .split.reverse .split-media { order: 1; }
    .split.reverse .split-text { order: 2; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    header { padding: 1rem 1.5rem; }
    .logo-tagline { font-size: 0.58rem; padding-left: 0.6rem; }
    .cta-button { display: none; } /* header CTA hidden on mobile — menu + in-page CTAs take over */
    .nav-toggle { display: flex; }

    /* Dropdown menu under the fixed header, opened by the hamburger */
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 1.5rem 1rem;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(0, 212, 255, 0.2);
        box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    nav.nav-open {
        display: flex;
        animation: navDrop 0.25s ease-out;
    }
    nav a {
        margin-left: 0;
        padding: 0.95rem 0.25rem;
        font-size: 1rem;
        border-bottom: 1px solid rgba(0, 212, 255, 0.08);
    }
    nav a:last-child { border-bottom: none; }
    nav a::after { display: none; } /* hover-underline is a pointer affordance; skip in the list */

    /* Hamburger morphs into a close icon while the menu is open */
    nav.nav-open ~ .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    nav.nav-open ~ .nav-toggle span:nth-child(2) { opacity: 0; }
    nav.nav-open ~ .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .page-hero { padding: 120px 1.5rem 3rem; min-height: 45vh; }
    .section { padding: 3.5rem 1.5rem; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .form-card { padding: 1.75rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
