/* ============================================================
   NeoRich — Corporate Website
   Style reference: nurixtx.com (US biotech standard)
   Palette: navy #00164a / brand blue #003daf / accent #0693e3
   ============================================================ */

:root {
  --navy: #00164a;
  --navy-2: #0a2357;
  --brand: #003daf;
  --accent: #0693e3;
  --teal: #00d084;
  --ink: #16233a;
  --ink-2: #475569;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --line: #e3e8f0;
  --radius: 14px;
  --shadow: 0 10px 34px rgba(0, 22, 74, .08);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16.5px;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent); }

.container { width: min(1160px, 92%); margin-inline: auto; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #cfe0ff;
  font-size: 12.5px;
  letter-spacing: .4px;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .ticker { color: var(--teal); font-weight: 700; }
.lang-switch {
  background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.28);
  border-radius: 6px; font-size: 12px; padding: 2px 6px; cursor: pointer; font-family: inherit;
  margin-left: 12px; vertical-align: middle;
}
.lang-switch option { color: #16233a; background: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -.3px; }
.logo-img { height: 42px; width: auto; display: block; }
.logo .dot { width: 12px; height: 12px; border-radius: 3px; background: linear-gradient(135deg, var(--accent), var(--brand)); display: inline-block; }
.logo small { font-size: 11px; font-weight: 600; color: var(--ink-2); letter-spacing: 1.6px; display: block; line-height: 1; margin-top: 2px; }

.main-nav { display: flex; gap: 26px; align-items: center; }
.main-nav a { color: var(--ink); font-size: 15px; font-weight: 600; }
.main-nav a:hover, .main-nav a.active { color: var(--brand); }
.nav-cta { background: var(--navy); color: #fff !important; padding: 10px 18px; border-radius: 999px; font-size: 14px; }
.nav-cta:hover { background: var(--brand); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 26px; color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 480px at 85% -10%, rgba(6,147,227,.35), transparent 60%),
    radial-gradient(900px 420px at -10% 110%, rgba(0,61,175,.45), transparent 55%),
    linear-gradient(135deg, #00164a 0%, #0a2357 55%, #062e77 100%);
  color: #fff;
  padding: 110px 0 120px;
}
.hero .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2.4px;
  text-transform: uppercase; color: #8fd0ff; margin-bottom: 22px;
  border: 1px solid rgba(143,208,255,.35); padding: 6px 14px; border-radius: 999px;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.08; font-weight: 800; letter-spacing: -1.2px; max-width: 820px; }
.hero h1 .hl { color: var(--teal); }
.hero p.lead { font-size: 19px; color: #d7e4ff; max-width: 640px; margin: 26px 0 36px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 15.5px; transition: all .2s;
}
.btn-primary { background: var(--teal); color: #002a1c !important; }
.btn-primary:hover { background: #2fe69c; transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.55); color: #fff !important; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-dark { background: var(--navy); color: #fff !important; }
.btn-dark:hover { background: var(--brand); transform: translateY(-1px); }

.hero-stats { display: flex; gap: 44px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats .stat b { font-size: 30px; font-weight: 800; display: block; color: #fff; }
.hero-stats .stat span { font-size: 13.5px; color: #9fb8e8; }

/* ---------- Section scaffolding ---------- */
.section { padding: 92px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .kicker { color: var(--accent); font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase; font-size: 13px; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); color: var(--navy); letter-spacing: -.6px; line-height: 1.15; }
.section-head p { color: var(--ink-2); margin-top: 14px; font-size: 17px; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Mission band ---------- */
.mission { background: var(--navy); color: #fff; padding: 84px 0; }
.mission blockquote { font-size: clamp(22px, 3vw, 30px); font-weight: 700; line-height: 1.4; max-width: 920px; letter-spacing: -.3px; }
.mission blockquote span { color: var(--teal); }
.mission .who { margin-top: 22px; color: #9fb8e8; font-size: 15.5px; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow); transition: transform .22s, box-shadow .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,22,74,.13); }
.card .ic {
  width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e8f1ff, #dcebff); color: var(--brand); font-size: 24px; margin-bottom: 20px; font-weight: 800;
}
.card h3 { color: var(--navy); font-size: 20px; margin-bottom: 10px; letter-spacing: -.3px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card .more { display: inline-block; margin-top: 18px; font-weight: 700; font-size: 14.5px; }

/* ---------- Pipeline preview ---------- */
.pipe-preview { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.pipe-row { display: grid; grid-template-columns: 190px 1fr; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.pipe-row:last-child { border-bottom: 0; }
.pipe-name b { color: var(--navy); font-size: 16px; display: block; }
.pipe-name span { color: var(--ink-2); font-size: 13.5px; }
.pipe-track { display: flex; gap: 6px; }
.pipe-stage { flex: 1; text-align: center; font-size: 11px; color: #9aa7bd; }
.pipe-stage .seg { height: 10px; border-radius: 6px; background: #eef2f9; margin-bottom: 6px; }
.pipe-stage.filled .seg { background: var(--brand); }
.pipe-stage.done .seg { background: var(--teal); }

/* ---------- Investors strip ---------- */
.invest-strip { background: linear-gradient(120deg, #0a2357, #062e77); color: #fff; border-radius: var(--radius); padding: 44px 48px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.invest-strip .sym { font-size: 15px; color: #8fd0ff; letter-spacing: 1.5px; }
.invest-strip h3 { font-size: 26px; margin: 6px 0 4px; }
.invest-strip p { color: #b9cdf5; font-size: 15px; }

/* ---------- News ---------- */
.news-card { padding: 26px 28px; }
.news-card .date { font-size: 12.5px; color: var(--accent); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.news-card h4 { color: var(--navy); margin: 8px 0; font-size: 17.5px; }
.news-card p { color: var(--ink-2); font-size: 14.5px; }

/* ---------- Page hero (inner) ---------- */
.page-hero { background: linear-gradient(135deg, #00164a, #0a2357 60%, #062e77); color: #fff; padding: 84px 0 74px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.8px; max-width: 780px; }
.page-hero p { color: #c6d7f8; margin-top: 14px; max-width: 640px; font-size: 17.5px; }
.breadcrumb { font-size: 13px; color: #8fd0ff; margin-bottom: 14px; letter-spacing: 1.5px; text-transform: uppercase; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table.pipe { width: 100%; border-collapse: collapse; min-width: 860px; }
table.pipe th { background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; padding: 14px 12px; text-align: left; letter-spacing: .6px; }
table.pipe td { padding: 15px 12px; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: middle; }
table.pipe tr:last-child td { border-bottom: 0; }
table.pipe tbody tr:hover { background: #f6f9ff; }
table.pipe .cat { font-weight: 800; color: var(--navy); }
table.pipe .tgt { color: var(--ink-2); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.tag.disc { background: #eef2f9; color: #64748b; }
.tag.pre { background: #e0f4ff; color: #0369a1; }
.tag.ind { background: #dff7ec; color: #0a7a4d; }

/* ---------- People ---------- */
.person { text-align: center; padding: 30px 24px; }
.person .avatar { width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, #dcebff, #bcd8ff); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--brand); font-weight: 800; }
.person h4 { color: var(--navy); font-size: 17px; }
.person .role { color: var(--accent); font-size: 13.5px; font-weight: 700; margin-top: 4px; }
.person .bio { color: var(--ink-2); font-size: 14px; margin-top: 10px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; }
.form { display: grid; gap: 16px; }
.form label { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 15px; background: #fff; transition: border .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form textarea { min-height: 130px; resize: vertical; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-msg { font-size: 14px; color: #0a7a4d; background: #e6f9f0; padding: 12px 16px; border-radius: 10px; display: none; }

.info-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.info-box h4 { color: var(--navy); margin-bottom: 8px; font-size: 17px; }
.info-box p, .info-box a { color: var(--ink-2); font-size: 15px; }
.info-box .row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-box .row:last-child { border-bottom: 0; }

/* ---------- Legal / footer ---------- */
.legal-note { background: var(--bg-soft); border-left: 4px solid var(--accent); padding: 26px 30px; border-radius: 0 12px 12px 0; }
.legal-note h4 { color: var(--navy); font-size: 15px; margin-bottom: 8px; }
.legal-note p { color: var(--ink-2); font-size: 13.5px; }

.site-footer { background: var(--navy); color: #a9bde8; padding: 64px 0 36px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h5 { color: #fff; font-size: 14px; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #a9bde8; font-size: 14.5px; display: block; margin-bottom: 10px; }
.site-footer a:hover { color: #fff; }
.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 320px; }
.site-footer .logo-img { height: 52px; margin-bottom: 4px; }
.footer-logo-box { display: inline-flex; background: #fff; padding: 10px 22px; border-radius: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 8px; background: rgba(255,255,255,.08); color: #a9bde8; margin: 0; }
.footer-social a:hover { background: var(--brand); color: #fff; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 44px; padding-top: 24px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #7f93c4; }
.footer-bottom a { color: #7f93c4; display: inline; margin: 0 14px 0 0; font-size: 13px; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: inline-flex; gap: 14px; flex-wrap: wrap; }
.footer-legal a { margin: 0; }

/* ---------- Utilities ---------- */
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.muted { color: var(--ink-2); }
.small { font-size: 13.5px; }
.placeholder { border: 1.5px dashed #c9d6ee; background: #f8fafd; color: #64748b; border-radius: 12px; padding: 22px 26px; font-size: 14.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .main-nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 20px 6%; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(0,22,74,.1);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .pipe-row { grid-template-columns: 1fr; gap: 10px; }
  .form .row-2 { grid-template-columns: 1fr; }
  .hero { padding: 78px 0 90px; }
  .section { padding: 64px 0; }
}

/* ---------- Imagery ---------- */
.hero-img {
  position: relative;
  background:
    linear-gradient(90deg, rgba(0,22,74,.93) 0%, rgba(6,46,119,.78) 55%, rgba(6,46,119,.45) 100%),
    url('../img/hero-building.jpg') center/cover no-repeat;
}
.hero-logo { height: 58px; width: auto; display: block; background: #fff; padding: 12px 24px; border-radius: 14px; margin-bottom: 20px; box-shadow: 0 8px 24px rgba(0,22,74,.25); }
.photo {
  border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover;
  width: 100%; height: 100%; min-height: 260px;
}
.photo-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin: 10px 0 0 8px; padding-left: 34px; border-left: 3px solid #d4e2ff; }
.tl-item { position: relative; padding: 0 0 38px 8px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -41px; top: 4px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 3px #d4e2ff;
}
.tl-item .year { font-weight: 800; color: var(--brand); font-size: 20px; letter-spacing: .5px; }
.tl-item h4 { color: var(--navy); margin: 4px 0 8px; font-size: 17px; }
.tl-item p { color: var(--ink-2); font-size: 15px; max-width: 560px; }

/* ---------- Global presence ---------- */
.global-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .global-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .global-grid { grid-template-columns: 1fr; } }
.g-node { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 20px 22px; box-shadow: var(--shadow); }
.g-node b { color: var(--navy); font-size: 16px; display: block; }
.g-node span { color: var(--ink-2); font-size: 13.5px; }
.g-hq { border-left-color: var(--teal); background: linear-gradient(135deg,#f0fbf6,#eef7ff); }

/* ---------- Team ---------- */
.person .avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.person.nobel { background: linear-gradient(180deg,#fff, #f2f7ff); border: 1px solid #cfe0ff; }
.nobel-badge {
  display: inline-block; margin-top: 10px; font-size: 11.5px; font-weight: 700; color: #8a6d00;
  background: #fff3cd; border: 1px solid #ffe08a; padding: 3px 10px; border-radius: 999px;
}

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr; } }
.value-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; box-shadow: var(--shadow); }
.value-item b { color: var(--navy); display: block; margin-bottom: 6px; }
.value-item span { color: var(--ink-2); font-size: 14px; }

/* ---------- Products ---------- */
.prod-card { display: grid; grid-template-columns: 220px 1fr; gap: 0; overflow: hidden; }
@media (max-width: 900px) { .prod-card { grid-template-columns: 1fr; } }
.prod-card .prod-img { min-height: 220px; background-size: cover; background-position: center; }
.prod-card .prod-body { padding: 30px 32px; }
.prod-card h3 { color: var(--navy); margin-bottom: 10px; font-size: 21px; }
.prod-card p { color: var(--ink-2); font-size: 15px; }
.prod-card .tags { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.prod-card .tags span { font-size: 12px; font-weight: 700; background: #e8f1ff; color: var(--brand); padding: 4px 12px; border-radius: 999px; }

.chip { display: inline-block; background: #e8f1ff; color: var(--brand); font-weight: 700; font-size: 13px; padding: 5px 14px; border-radius: 999px; margin: 0 6px 8px 0; }

/* ---------- Card & banner imagery ---------- */
.card.has-img { padding-top: 0; overflow: hidden; }
.card.has-img .card-img { width: calc(100% + 60px); margin: 0 -30px 22px; height: 150px; object-fit: cover; display: block; }
.card.news-card.has-img .card-img { height: 120px; margin-bottom: 16px; }
.banner-img { width: 100%; height: 230px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 0 40px; display: block; }
@media (max-width: 900px) { .banner-img { height: 150px; } }

/* ---------- About sub-nav & new components ---------- */
.subnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; box-shadow: 0 4px 14px rgba(0,22,74,.05); }
.subnav .container { display: flex; flex-wrap: wrap; gap: 4px 22px; padding-top: 12px; padding-bottom: 12px; }
.subnav a { font-size: 14px; font-weight: 700; color: var(--ink-2); text-decoration: none; padding: 2px 2px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.subnav a:hover { color: var(--brand); }
.subnav a.active, .subnav a:focus { color: var(--brand); border-bottom-color: var(--brand); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }
.avatar.sm { width: 62px; height: 62px; font-size: 22px; }
.chairman-note { background: linear-gradient(135deg,#f2f7ff,#fff); border: 1px solid #cfe0ff; border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 30px 34px; margin-bottom: 34px; }
.chairman-note h4 { color: var(--navy); font-size: 17px; margin-bottom: 10px; }
.chairman-note p { color: var(--ink-2); font-size: 15px; line-height: 1.75; font-style: italic; }
.chairman-note .muted { display: block; margin-top: 12px; font-size: 13px; }
.table-wrap .pipe th, .table-wrap .pipe td { text-align: center; }
.table-wrap .pipe td.cat, .table-wrap .pipe td.tgt { text-align: left; }
.table-wrap .pipe .stg { font-size: 16px; color: var(--brand); font-weight: 800; }
