/* ------------------------------------------------------------------
   NeuroHagana Ltd - corporate site
   ------------------------------------------------------------------ */

:root {
    --navy: #17255a;
    --navy-deep: #0d1531;
    --navy-soft: #3a4a85;
    --blue: #4a7ebb;
    --ink: #1c1f2a;
    --ink-soft: #5b6273;
    --line: #e3e5ec;
    --paper: #ffffff;
    --paper-tinted: #f6f7fa;
    --shell: 1180px;
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

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

body {
    margin: 0;
    overflow-x: hidden;
    background-color: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: var(--navy);
}

p {
    margin: 0;
}

.shell {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 32px;
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow.light {
    color: rgba(255, 255, 255, 0.72);
}

/* --------------------------- Header --------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1px 0 var(--line);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 86px;
}

.brand img {
    width: auto;
    height: 60px;
    transition: filter 0.35s ease;
    filter: brightness(0) invert(1);
}

.site-header.is-scrolled .brand img {
    filter: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.site-header.is-scrolled .nav a {
    color: var(--ink-soft);
}

.nav a:hover {
    color: var(--paper);
}

.site-header.is-scrolled .nav a:hover {
    color: var(--navy);
}

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.is-open .nav-dropdown-toggle {
    color: var(--paper);
}

.site-header.is-scrolled .nav-dropdown-toggle {
    color: var(--ink-soft);
}

.site-header.is-scrolled .nav-dropdown-toggle:hover,
.site-header.is-scrolled .nav-dropdown.is-open .nav-dropdown-toggle {
    color: var(--navy);
}

.dropdown-chevron {
    transition: transform 0.2s ease;
}

.nav-dropdown.is-open .dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 160px;
    padding: 8px 0;
    background-color: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(13, 21, 49, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--navy) !important;
    font-size: 14.5px;
    font-weight: 500;
    white-space: nowrap;
    text-align: left;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-dropdown-menu a:hover {
    background-color: var(--paper-tinted);
    color: var(--blue) !important;
}

.nav .nav-cta {
    padding: 9px 20px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    color: var(--paper);
}

.site-header.is-scrolled .nav .nav-cta {
    border-color: var(--navy);
    color: var(--navy);
}

.nav .nav-cta:hover {
    background-color: var(--paper);
    border-color: var(--paper);
    color: var(--navy);
}

.site-header.is-scrolled .nav .nav-cta:hover {
    background-color: var(--navy);
    border-color: var(--navy);
    color: var(--paper);
}

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

.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 74vh;
    padding: 128px 0 96px;
    overflow: hidden;
    background-color: var(--navy-deep);
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(13, 21, 49, 0.9) 0%, rgba(13, 21, 49, 0.66) 48%, rgba(13, 21, 49, 0.32) 100%);
}

.hero-content {
    position: relative;
    max-width: 880px;
    color: var(--paper);
}

.hero h1 {
    max-width: 17em;
    color: var(--paper);
    font-size: clamp(2.5rem, 5.4vw, 4.1rem);
}

.hero .lede {
    max-width: 34em;
    margin-top: 26px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    font-weight: 300;
}

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

.button {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.button.primary {
    background-color: var(--paper);
    color: var(--navy);
}

.button.primary:hover {
    background-color: var(--blue);
    color: var(--paper);
}

.button.ghost {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--paper);
}

.button.ghost:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--paper);
}

/* --------------------------- Key figures --------------------------- */

.figures {
    padding: 64px 0;
    border-bottom: 1px solid var(--line);
    background-color: var(--paper);
}

.figures-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

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

.figure-value {
    font-family: var(--serif);
    font-size: 2.4rem;
    line-height: 1;
    color: var(--navy);
}

.figure-label {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.5;
}

/* --------------------------- Sections --------------------------- */

.section {
    padding: 112px 0;
}

.section.tinted {
    background-color: var(--paper-tinted);
}

.section-head {
    max-width: 720px;
    margin-bottom: 56px;
}

.section-head h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.6rem);
}

.section-sub {
    margin-top: 22px;
    color: var(--ink);
    font-size: 1.18rem;
    font-weight: 400;
    line-height: 1.7;
}

.section-head.full {
    max-width: none;
}

.section-head.centered {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head.advisory {
    margin-top: 88px;
    margin-bottom: 40px;
}

.section-head.advisory .eyebrow {
    margin-bottom: 0;
}

/* --------------------------- Mission --------------------------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 76px;
}

.split-text h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.6rem);
}

.split-text p {
    margin-top: 24px;
    color: var(--ink-soft);
    font-weight: 300;
}

.split-media {
    margin: 0;
}

.split-media img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 2px;
}

/* --------------------------- Cards --------------------------- */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.card {
    padding: 40px 34px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background-color: var(--paper);
}

.card h3 {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--navy);
}

.card p {
    margin-top: 18px;
    color: var(--ink-soft);
    font-size: 15.5px;
    font-weight: 300;
}

/* --------------------------- Banner --------------------------- */

.banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 360px;
    overflow: hidden;
    background-color: var(--navy-deep);
}

.banner-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(55%) brightness(0.8);
}

.banner-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 21, 49, 0.95) 0%, rgba(13, 21, 49, 0.82) 45%, rgba(13, 21, 49, 0.6) 100%);
}

.banner-content {
    position: relative;
    padding-top: 56px;
    padding-bottom: 56px;
}

.banner-content p {
    max-width: 26em;
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    line-height: 1.3;
}

.banner-content strong {
    display: block;
    color: var(--paper);
    font-weight: 400;
}

/* --------------------------- Pipeline --------------------------- */

.pipeline {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.pipeline-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 4px;
    border-bottom: 1px solid var(--line);
}

.pipeline-name {
    font-family: var(--serif);
    font-size: 1.28rem;
    color: var(--navy);
}

.pipeline-stage {
    flex-shrink: 0;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pipeline-row.lead .pipeline-stage {
    color: var(--blue);
}

.pipeline-row.lead .pipeline-name {
    font-size: 1.5rem;
}

/* --------------------------- Evidence --------------------------- */

.videos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.video {
    margin: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background-color: var(--paper);
}

.video video {
    width: 100%;
    border-radius: 2px;
    background-color: #000;
}

.video figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    color: var(--ink-soft);
    font-size: 14px;
}

.tag {
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tag.positive {
    background-color: #e7f1ea;
    color: #2f6b47;
}

.tag.negative {
    background-color: #f4eaea;
    color: #8c4040;
}

.footnote {
    margin-top: 28px;
    color: var(--ink-soft);
    font-size: 13.5px;
    font-style: italic;
}

/* --------------------------- About --------------------------- */

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
}

.about-grid h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.6rem);
}

.about-copy p {
    color: var(--ink);
    font-weight: 400;
    font-size: 1.18rem;
    line-height: 1.7;
}

.about-copy p + p {
    margin-top: 22px;
}

/* --------------------------- Prose / notes --------------------------- */

.prose-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.prose-col {
    padding: 32px 34px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background-color: var(--paper);
}

.prose-col h3 {
    margin-bottom: 14px;
    font-family: var(--serif);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    color: var(--navy);
}

.prose-col p {
    margin: 0;
    color: var(--ink);
    font-weight: 400;
    font-size: 1.12rem;
    line-height: 1.7;
}

.prose-col p + p {
    margin-top: 16px;
}

.approach-note {
    max-width: 820px;
    margin: -12px auto 56px;
    color: var(--ink);
    font-weight: 400;
    font-size: 1.18rem;
    line-height: 1.7;
    text-align: center;
}

.approach-note.left {
    max-width: none;
    margin: -12px 0 56px;
    text-align: left;
}

.approach-note strong {
    color: var(--navy);
    font-weight: 600;
}

/* --------------------------- Illustration --------------------------- */

.illustration {
    margin: 0;
}

.illustration img {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    border-radius: 2px;
}

.illustration-narrow img {
    max-width: 760px;
}

.illustration-left img {
    margin-left: 0;
    margin-right: auto;
}

.pipeline-figure {
    margin-top: 64px;
}

.pipeline-figure img {
    max-width: 820px;
}

.illustration-sub {
    margin-top: -16px;
    margin-bottom: 24px;
    color: var(--ink-soft);
    font-size: 1.05rem;
    font-weight: 300;
}

.illustration-title {
    margin-bottom: 28px;
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    line-height: 1.25;
    color: var(--navy);
    text-align: center;
}

.illustration-title.left {
    margin-bottom: 10px;
    text-align: left;
}

.results-head {
    margin-top: 96px;
}

/* --------------------------- News --------------------------- */

.news-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.news-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 3px;
    background-color: var(--paper);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

a.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(13, 21, 49, 0.1);
}

.news-item.reverse .news-media {
    order: 2;
}

.news-media {
    min-height: 300px;
    overflow: hidden;
    background-color: var(--paper-tinted);
}

.news-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-media video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
}

.news-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    padding: 44px 48px;
}

.news-meta {
    color: var(--blue);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-body h3 {
    font-family: var(--serif);
    font-size: 1.55rem;
    line-height: 1.25;
}

.news-body p {
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.65;
}

.news-link {
    margin-top: 6px;
    color: var(--navy);
    font-size: 15px;
    font-weight: 600;
}

/* --------------------------- People --------------------------- */

.people {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.people.board {
    grid-template-columns: repeat(3, 1fr);
    max-width: 760px;
    gap: 40px;
}

.people.advisors {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.person img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    object-position: center 22%;
    border-radius: 50%;
    background-color: var(--paper-tinted);
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.person:hover img {
    filter: grayscale(0%);
}

.person {
    cursor: pointer;
    outline: none;
}

.person h3 {
    margin-top: 20px;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 600;
    transition: color 0.25s ease;
}

.person:hover h3,
.person:focus-visible h3 {
    color: var(--blue);
}

.person:focus-visible img {
    box-shadow: 0 0 0 3px rgba(42, 92, 170, 0.35);
}

.person .role {
    margin-top: 5px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 500;
}

.person .bio {
    display: none;
}

/* --------------------------- Profile dialog --------------------------- */

body.no-scroll {
    overflow: hidden;
}

.profile-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-color: rgba(13, 21, 49, 0.55);
    backdrop-filter: blur(3px);
}

.profile-overlay[hidden] {
    display: none;
}

.profile-card {
    position: relative;
    max-width: 480px;
    width: 100%;
    padding: 44px 40px 40px;
    text-align: center;
    background-color: var(--paper);
    border-radius: 6px;
    box-shadow: 0 30px 70px rgba(13, 21, 49, 0.35);
}

.profile-close {
    position: absolute;
    top: 14px;
    right: 18px;
    padding: 0;
    width: 34px;
    height: 34px;
    font-size: 26px;
    line-height: 1;
    color: var(--ink-soft);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.profile-close:hover {
    color: var(--navy);
}

.profile-photo {
    width: 130px;
    height: 130px;
    margin: 0 auto 22px;
    object-fit: cover;
    object-position: center 22%;
    border-radius: 50%;
    background-color: var(--paper-tinted);
}

.profile-card h3 {
    font-family: var(--sans);
    font-size: 19px;
    font-weight: 600;
    color: var(--navy);
}

.profile-card .role {
    margin-top: 6px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 500;
}

.profile-bio {
    margin-top: 20px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    text-align: left;
}

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

.contact {
    padding: 108px 0;
    background-color: var(--navy);
    color: var(--paper);
}

.contact-inner {
    max-width: 760px;
    text-align: center;
}

.contact h2 {
    color: var(--paper);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.contact-intro {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
}

.contact-intro a {
    color: var(--paper);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    transition: border-color 0.25s ease;
}

.contact-intro a:hover {
    border-color: var(--paper);
}

.contact-form {
    margin-top: 40px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.field > span {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.field input,
.field textarea {
    width: 100%;
    padding: 13px 15px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 300;
    color: var(--paper);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 3px;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

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

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.55);
    background-color: rgba(255, 255, 255, 0.09);
}

.contact-submit {
    align-self: flex-start;
    margin-top: 4px;
    cursor: pointer;
    border: none;
}

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

.site-footer {
    padding: 30px 0;
    background-color: var(--navy-deep);
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.disclaimer {
    color: rgba(255, 255, 255, 0.35);
}

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

@media (max-width: 1080px) {

    .people,
    .people.advisors {
        grid-template-columns: repeat(3, 1fr);
    }

    .figures-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 34px;
    }

}

@media (max-width: 900px) {

    .nav {
        gap: 22px;
    }

    .nav a:not(.nav-cta),
    .nav-dropdown {
        display: none;
    }

    .section {
        padding: 84px 0;
    }

    .cards,
    .about-grid,
    .prose-two {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .news-item,
    .news-item.reverse {
        grid-template-columns: 1fr;
    }

    .news-item.reverse .news-media {
        order: 0;
    }

    .news-media {
        min-height: 220px;
    }

    .news-body {
        padding: 32px 30px;
    }

    .approach-note {
        margin-top: 0;
    }

    .people,
    .people.board,
    .people.advisors {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

}

@media (max-width: 600px) {

    body {
        font-size: 16px;
    }

    .shell {
        padding: 0 22px;
    }

    .header-inner {
        height: 72px;
    }

    .brand img {
        height: 32px;
    }

    .hero {
        min-height: 88vh;
        padding: 130px 0 76px;
    }

    .figures-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .pipeline-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .people,
    .people.board,
    .people.advisors {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .person img {
        display: block;
        max-width: 340px;
        margin: 0 auto;
    }

    .contact {
        padding: 80px 0;
    }

    .field-row {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .contact-submit {
        align-self: stretch;
        text-align: center;
    }

    .footer-inner {
        justify-content: center;
        text-align: center;
    }

}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    * {
        animation: none !important;
        transition: none !important;
    }

}
