/* ===== RAUMED HEALTHCARE TECHNOLOGIES ===== */
/* Design system: Off-white + Black + Hollister red */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F5F4;
  --ink: #0A0A0A;
  --ink-soft: #2A2A2A;
  --muted: #6B6B6B;
  --line: #E5E5E5;
  --line-soft: #EFEFEF;
  --red: #C8102E;
  --red-dark: #A50D26;
  --red-tint: #FBEEF0;
  --max: 1240px;
  --gap: 24px;
  --radius: 4px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===== NAVIGATION ===== */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 28px;
  height: 28px;
  background: var(--ink);
  position: relative;
  border-radius: 3px;
  overflow: hidden;
}
.brand-mark::after {
  /* abstract corner-cut accent — no medical/religious symbolism */
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 12px 12px 0;
  border-color: transparent var(--red) transparent transparent;
}
.brand-text { color: var(--ink); }
.brand-text em { font-style: normal; color: var(--red); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--red);
}

.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-toggle {
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  cursor: pointer;
}
.lang-toggle button {
  border: none;
  background: transparent;
  padding: 3px 11px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  color: var(--muted);
  font-family: inherit;
  transition: all 0.15s;
}
.lang-toggle button.active {
  background: var(--ink);
  color: var(--bg);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.2s;
}

/* ===== HERO ===== */
.hero {
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--red);
}
.h-display {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 26px;
  color: var(--ink);
}
.h-display em {
  font-style: normal;
  color: var(--red);
  position: relative;
}
.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 580px;
  margin-bottom: 36px;
}
.hero-meta {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.meta-item .num {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.meta-item .num span { color: var(--red); }
.meta-item .lbl {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s;
  font-family: inherit;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: var(--red); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-red {
  background: var(--red);
  color: #fff;
}
.btn-red:hover { background: var(--red-dark); }
.btn .arrow { transition: transform 0.18s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero illustration panel */
.hero-art {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--ink);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  color: #fff;
}
.hero-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(200,16,46,0.45) 0%, transparent 55%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 40px);
}
.hero-art .pulse {
  position: absolute;
  top: 50%; left: 50%;
  width: 200px; height: 200px;
  margin: -100px;
  border: 1px solid rgba(200,16,46,0.6);
  border-radius: 50%;
  animation: pulse 3s ease-out infinite;
}
.hero-art .pulse:nth-child(2) { animation-delay: 1s; }
.hero-art .pulse:nth-child(3) { animation-delay: 2s; }
@keyframes pulse {
  0% { transform: scale(0.3); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.hero-art-text {
  position: relative;
  z-index: 2;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.hero-art-text strong { display: block; font-size: 20px; text-transform: none; letter-spacing: -0.01em; margin-top: 8px; color: #fff; }

/* ===== SECTIONS ===== */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.section-head-stack { display: block; }
.section-head-stack .h2 { margin-top: 8px; }
.h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.h2 em { font-style: normal; color: var(--red); }
.section-intro {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 640px;
}

.h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: var(--ink);
}
.h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

/* ===== FOCUS AREAS GRID ===== */
.areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.area {
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  transition: background 0.2s;
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.area:hover { background: var(--bg-alt); }
.area .area-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.area .area-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
  margin-top: auto;
}
.area .area-desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
  transition: border-color 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
}
.card:hover { border-color: var(--ink); transform: translateY(-2px); }
.card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.card .meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.card .meta-dot { width: 4px; height: 4px; background: var(--muted); border-radius: 50%; }

/* ===== VALUE PROPS / FEATURES ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.feature {
  border-top: 2px solid var(--ink);
  padding-top: 22px;
}
.feature.red { border-top-color: var(--red); }
.feature h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ===== INTEL TABLE / TICKER ===== */
.ticker {
  border-top: 1px solid var(--line);
}
.ticker-row {
  display: grid;
  grid-template-columns: 120px 1fr 200px 110px;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.ticker-row:hover { background: var(--bg-alt); }
.ticker-date {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.ticker-title { font-weight: 600; color: var(--ink); }
.ticker-title .sub { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 3px; }
.ticker-company { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.ticker-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 3px;
  text-align: center;
  white-space: nowrap;
}
.status-fda { background: #E8F1ED; color: #0F5132; }
.status-ce { background: #E7EEF7; color: #0B4884; }
.status-pilot { background: var(--red-tint); color: var(--red-dark); }
.status-funded { background: #FBF3E0; color: #7A5300; }
.status-acq { background: var(--ink); color: var(--bg); }

/* ===== CTA BANNER ===== */
.cta-band {
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  padding: 64px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 320px; height: 320px;
  background: var(--red);
  opacity: 0.18;
  border-radius: 50%;
  filter: blur(20px);
}
.cta-band h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  position: relative;
}
.cta-band p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  position: relative;
}
.cta-band .btn-row { position: relative; justify-content: flex-end; }
.cta-band .btn-ghost { color: var(--bg); border-color: var(--bg); }
.cta-band .btn-ghost:hover { background: var(--bg); color: var(--ink); }

/* ===== TIMELINE / STORY ===== */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.story-points { list-style: none; }
.story-points li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.story-points li:first-child { padding-top: 0; }
.story-points .year {
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -0.01em;
}
.story-points h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}
.story-points p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ===== PAGE HEADER ===== */
.page-head {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line);
}
.page-head .h-display {
  font-size: clamp(40px, 4.8vw, 60px);
  margin-bottom: 18px;
}
.page-head .lead { font-size: 18px; max-width: 720px; }
.crumbs {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-weight: 600;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.crumbs .sep { margin: 0 8px; }

/* ===== TWO-COLUMN ARTICLE ===== */
.prose {
  max-width: 740px;
}
.prose p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.prose h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-top: 48px;
  margin-bottom: 14px;
  color: var(--ink);
}
.prose h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 10px;
}
.prose ul {
  margin: 18px 0;
  padding-left: 0;
  list-style: none;
}
.prose ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 10px; height: 2px;
  background: var(--red);
}

/* Quote / Pullquote */
.pullquote {
  font-size: 26px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
  border-left: 4px solid var(--red);
  padding: 8px 0 8px 28px;
  margin: 32px 0;
  color: var(--ink);
}

/* ===== STATS ROW ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  text-align: left;
}
.stat:last-child { border-right: none; }
.stat .v {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}
.stat .v sup { font-size: 0.55em; color: var(--red); margin-left: 4px; vertical-align: 1.2em; font-weight: 600; }
.stat .l {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  font-weight: 500;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}
.contact-info p {
  margin-bottom: 18px;
  font-size: 15px;
  color: var(--ink-soft);
}
.contact-info strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 600;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--muted);
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 0.15s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--red);
}
.form-row textarea { resize: vertical; min-height: 130px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ===== PARTNERSHIPS / OFFERINGS LIST ===== */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.offer {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.offer .num {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}
.offer h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.offer p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
footer {
  background: var(--ink);
  color: var(--bg);
  padding: 72px 0 32px;
  margin-top: 80px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.foot-brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.foot-brand em { color: var(--red); font-style: normal; }
.foot-tag {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  max-width: 320px;
  line-height: 1.55;
}
.foot-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 10px; }
.foot-col a {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  transition: color 0.15s;
}
.foot-col a:hover { color: var(--red); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}
.foot-bottom .built-by {
  font-weight: 500;
}
.foot-bottom .built-by em { color: var(--red); font-style: normal; }

/* ===== UTIL ===== */
.muted { color: var(--muted); }
.center { text-align: center; }
.hidden { display: none !important; }
.bg-dark { background: var(--ink); color: var(--bg); }
.bg-dark .h2,
.bg-dark .lead,
.bg-dark .section-intro,
.bg-dark .h3,
.bg-dark .h4 { color: #fff; }
.bg-dark .section-intro { color: rgba(255,255,255,0.75); }
.bg-dark .section-head { border-bottom-color: rgba(255,255,255,0.15); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px 32px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { aspect-ratio: 16/10; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .cta-band { grid-template-columns: 1fr; padding: 40px; }
  .cta-band .btn-row { justify-content: flex-start; }
  .story { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .offer-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ticker-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; height: 64px; }
  .hero { padding: 60px 0 40px; }
  .areas { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .foot-grid { grid-template-columns: 1fr; }
}
