/* Ruvos Website - global styles */

/* ————————————————————————————————————————————————
   PP Neue Montreal
   ———————————————————————————————————————————————— */
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('assets/fonts/PPNeueMontreal-Thin.otf') format('opentype');
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('assets/fonts/PPNeueMontreal-Book.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('assets/fonts/PPNeueMontreal-Italic.otf') format('opentype');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('assets/fonts/PPNeueMontreal-Medium.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('assets/fonts/PPNeueMontreal-SemiBolditalic.otf') format('opentype');
  font-weight: 600; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('assets/fonts/PPNeueMontreal-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --ruvos-red: #DD3B3C;
  --ruvos-red-hover: #C22F30;
  --ruvos-navy: #00205C;
  --ruvos-navy-2: #132C5F;
  --ruvos-navy-3: #0E1E37;
  --ink: #4B4B4B;
  --ink-2: #999999;
  --ink-3: #BFC4D0;
  --border: #EEEEEE;
  --border-2: #E5E7EB;
  --bg: #FCFCFC;
  --white: #FFFFFF;
  --nav-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 20px rgba(15, 23, 42, 0.04);
  --card-shadow: 0 10px 10px -3.75px rgba(0,0,0,0.04), 0 2.3px 2.3px -2.5px rgba(0,0,0,0.08), 0 0.6px 0.6px -1.25px rgba(0,0,0,0.10);
  --card-shadow-hover: 0 22px 40px -12px rgba(15, 23, 42, 0.12), 0 6px 12px -4px rgba(15,23,42,0.08);

  --font-display: 'PP Neue Montreal', 'Archivo', 'Inter', system-ui, sans-serif;
  --font-body: 'PP Neue Montreal', 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(ellipse 1100px 700px at 50% 0%, rgba(221,59,60,0.06), transparent 60%),
    radial-gradient(ellipse 1300px 900px at 50% 60%, rgba(0,32,92,0.05), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }

/* ——————————————————————————————————————————————————
   Nav
   —————————————————————————————————————————————————— */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  padding: 18px 20px 0;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  width: min(1120px, 100%);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px 14px 22px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: var(--nav-shadow);
}
.nav__logo { height: 24px; }
.nav__links {
  display: flex; gap: 32px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.12em;
  color: #1f2937;
}
.nav__link { cursor: pointer; transition: color .15s; }
.nav__link:hover { color: var(--ruvos-red); }
.nav__cta {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid #d9dce3;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ruvos-navy);
  background: linear-gradient(90deg, rgba(255,238,238,0.55), rgba(233,236,246,0.6));
  transition: all .2s;
}
.nav__cta:hover { border-color: var(--ruvos-navy); transform: translateY(-1px); }

/* Hamburger button — hidden on desktop */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  height: 2px;
  background: #1f2937;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
  transform-origin: center;
}

/* Animate burger → X when open */
.nav--open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 680px) {
  .nav-wrap { padding: 12px 12px 0; }

  .nav {
    flex-wrap: wrap;
    padding: 12px 16px;
    border-radius: 14px;
  }

  /* Logo takes all remaining space; burger sits at far right */
  .nav__logo-link { flex: 1; }

  /* Hide links and CTA by default on mobile */
  .nav__links,
  .nav__cta { display: none; }

  .nav__burger { display: flex; }

  /* When menu is open, show links and CTA stacked below */
  .nav--open .nav__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    order: 3;
    padding-top: 12px;
    border-top: 1px solid rgba(15,23,42,0.07);
    margin-top: 10px;
  }

  .nav--open .nav__link {
    padding: 12px 4px;
    font-size: 14px;
    border-bottom: 1px solid rgba(15,23,42,0.05);
  }

  .nav--open .nav__cta {
    display: inline-block;
    width: 100%;
    text-align: center;
    order: 4;
    margin-top: 12px;
    padding: 12px 18px;
    font-size: 14px;
  }
}

/* ——————————————————————————————————————————————————
   Hero
   —————————————————————————————————————————————————— */
.hero {
  position: relative;
  padding: 120px 24px 80px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: transparent;
  pointer-events: none;
}
.hero__helix {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}
.hero > h1, .hero > p, .hero > div { position: relative; z-index: 2; }
.hero__eyebrow {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  font-size: 12px; color: var(--ink);
  background: rgba(255,255,255,0.8);
  margin-bottom: 28px;
}
.hero__eyebrow .dot {
  width: 7px; height: 7px; border-radius: 999px; background: var(--ruvos-red);
  box-shadow: 0 0 0 4px rgba(221,59,60,0.15);
  animation: hero-dot-blink 1.4s ease-in-out infinite;
}
@keyframes hero-dot-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(221,59,60,0.15); }
  50% { opacity: 0.35; box-shadow: 0 0 0 7px rgba(221,59,60,0); }
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ruvos-navy-2);
  max-width: 14ch;
  margin: 0 0 22px;
  text-wrap: balance;
}
.hero__title .accent { color: var(--ruvos-red); font-style: italic; font-weight: 400; }
.hero__sub {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 36px;
  text-wrap: pretty;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px; font-weight: 500;
  transition: all .18s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary {
  background: var(--ruvos-red);
  color: #FFF;
  box-shadow: 0 6px 14px -6px rgba(221,59,60,0.6);
}
.btn--primary:hover { background: var(--ruvos-red-hover); transform: translateY(-1px); box-shadow: 0 10px 20px -6px rgba(221,59,60,0.55); }
.btn--ghost {
  background: #fff;
  color: #2d2d2d;
  border-color: var(--ruvos-navy);
}
.btn--ghost:hover { background: var(--ruvos-navy); color: #fff; transform: translateY(-1px); }
.btn__arrow { transition: transform .18s; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ——————————————————————————————————————————————————
   Logo marquee
   —————————————————————————————————————————————————— */
.logos {
  position: relative;
  width: 100%;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  margin-top: 24px;
}
.logos::before, .logos::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2;
  pointer-events: none;
}
.logos::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.logos::after  { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }

.logos__track {
  display: flex;
  gap: 72px;
  width: max-content;
  align-items: center;
  animation: logos-scroll 42s linear infinite;
  will-change: transform;
  padding-left: 72px;
}
@keyframes logos-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.logos__item {
  flex: 0 0 auto;
  height: 60px;
  display: flex; align-items: center; justify-content: center;
  filter: grayscale(1);
  opacity: 0.72;
  transition: opacity .25s, filter .25s;
}
.logos__item:hover { filter: none; opacity: 1; }
.logos__item img { height: 100%; width: auto; object-fit: contain; }
.logos__item--sm img { height: 44px; }
.logos__item--badge {
  background: #0E1E37;
  border-radius: 8px;
  padding: 6px 14px;
  height: auto;
}
.logos__item--word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: #2a3246;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}
.logos__item--word.aws {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 26px; color: #232F3E;
  position: relative;
}
.logos__item--word.aws::after {
  content: ""; position: absolute;
  left: 6%; right: 6%; bottom: -2px; height: 8px;
  border-bottom: 2.5px solid #FF9900;
  border-bottom-left-radius: 50%; border-bottom-right-radius: 50%;
  transform: scaleX(0.9);
}
.logos__item--word.aphl { color: #25B0CC; letter-spacing: 0.04em; }
.logos__item--word.who { color: #009CDE; }
.logos__item--naphsis {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: #6A2BDF;
  letter-spacing: -0.02em;
}
.logos__item--naphsis::before {
  content: ""; display: inline-block;
  width: 14px; height: 14px; margin-right: 6px;
  background: #6A2BDF;
  clip-path: polygon(0 20%, 50% 0, 100% 20%, 50% 100%);
  transform: translateY(2px);
}

/* ——————————————————————————————————————————————————
   Section headers
   —————————————————————————————————————————————————— */
.section { padding: 96px 24px; }
.section__inner { max-width: 1120px; margin: 0 auto; }
.section__eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  border: 1px solid #c6ccd8;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12.5px;
  color: var(--ink);
  background: #fff;
}
.section__head { text-align: center; margin-bottom: 56px; }
.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ruvos-navy);
  margin: 18px 0 18px;
  text-wrap: balance;
}
.section__title b { font-weight: 500; }
.section__title .accent { color: var(--ruvos-red); }
.section__sub {
  max-width: 560px;
  margin: 0 auto;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
}

/* ——————————————————————————————————————————————————
   Product cards
   —————————————————————————————————————————————————— */
.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 880px) { .products { grid-template-columns: 1fr; } }

.pcard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: #d9dfeb;
}
.pcard__media {
  height: 170px;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 50% 40%, #ffffff, #fafbfd 70%, #f4f5f8);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background .5s ease;
}
.pcard__media::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 30% 20%, color-mix(in oklab, var(--brandA, #888) 28%, transparent) 0%, transparent 65%),
    radial-gradient(ellipse 90% 120% at 80% 90%, color-mix(in oklab, var(--brandB, #555) 22%, transparent) 0%, transparent 70%),
    linear-gradient(135deg, color-mix(in oklab, var(--brandA, #888) 9%, #fff), color-mix(in oklab, var(--brandB, #555) 7%, #fff));
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
  z-index: 0;
}
.pcard:hover .pcard__media::before { opacity: 1; }
.pcard__media > * { transform: scale(0.68); transform-origin: center; position: relative; z-index: 1; }
.pcard__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ruvos-navy);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15,30,55,0.12);
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 2px rgba(15,30,55,0.06);
}
.pcard__badge::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--ruvos-red);
  margin-right: 6px;
  vertical-align: middle;
  animation: dotBlink 1.6s ease-in-out infinite;
}
.pcard__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.pcard__logo {
  height: 64px; width: auto;
  max-width: 70%;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(15,23,42,0.08));
}
.pcard { display: flex; flex-direction: column; }
.pcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pcard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.pcard__title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  color: var(--ruvos-navy-3);
  margin: 0 0 8px;
}
.pcard__desc {
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 18px;
  min-height: 66px;
}
.pcard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--ink);
  white-space: nowrap;
}

/* ——————————————————————————————————————————————————
   Services
   —————————————————————————————————————————————————— */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 880px) { .services { grid-template-columns: 1fr; } }
.scard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.scard:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.scard__visual {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: #fafbfc;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.scard__visual img { width: 100%; height: 100%; object-fit: cover; }
.scard__title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  text-align: center;
  color: #0b0b0b;
  margin: 0 0 10px;
}
.scard__desc {
  text-align: center;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

/* ——————————————————————————————————————————————————
   Contact CTA
   —————————————————————————————————————————————————— */
.contact {
  padding: 120px 24px;
  display: flex; justify-content: center;
}
.contact__inner {
  max-width: 580px;
}
.contact__inner { max-width: none; text-align: left; display: inline-block; }
.contact__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ruvos-navy-2);
  margin: 0;
  display: grid;
  grid-template-columns: max-content;
  justify-items: start;
}
.contact__line { display: block; }
.contact__line--1 { text-align: left; white-space: nowrap; }
.contact__line--2 { justify-self: start; white-space: nowrap; }
.contact__typed {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-start;
  min-width: 5.5ch; /* reserves width for longest word ("System") so outer block doesn't reflow */
}
.contact__l { color: var(--ruvos-red); white-space: pre; }
.contact__cursor {
  display: inline-block;
  color: var(--ink-3);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.contact__sub {
  margin: 24px 0 28px;
  color: var(--ink);
  font-size: 16px;
}

/* ——————————————————————————————————————————————————
   Footer
   —————————————————————————————————————————————————— */
.footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 56px 24px 32px;
}
.footer__inner {
  max-width: 1120px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 880px) { .footer__inner { grid-template-columns: 1fr 1fr; } }

.footer__logo img { width: 120px; }
.footer__col-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: #000;
  margin: 0 0 12px;
}
.footer__col p, .footer__col a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0;
  display: block;
}
.footer__col a:hover { color: var(--ruvos-red); }
.footer__bottom {
  max-width: 1120px; margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--ink-2);
}
.footer__social { display: flex; gap: 14px; }
.footer__social a {
  width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center;
  color: #111;
  transition: color .2s;
}
.footer__social a:hover { color: var(--ruvos-red); }


/* ——————————————————————————————————————————————————
   About page
   —————————————————————————————————————————————————— */

.nav__link.is-active { color: var(--ruvos-red); }

/* About Hero */
.ahero {
  position: relative;
  padding: 120px 24px 80px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.ahero__inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}
.ahero__eyebrow {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  font-size: 12px; color: var(--ink);
  background: rgba(255,255,255,0.8);
  margin-bottom: 28px;
}
.ahero__eyebrow .dot {
  width: 7px; height: 7px; border-radius: 999px; background: var(--ruvos-red);
  box-shadow: 0 0 0 4px rgba(221,59,60,0.15);
}
.ahero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ruvos-navy-2);
  max-width: 18ch;
  margin: 0 0 22px;
  text-wrap: balance;
}
.ahero__title .accent { color: var(--ruvos-red); font-style: italic; font-weight: 400; }
.ahero__lede {
  max-width: 620px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}

/* Who We Are */
.who {
  padding: 120px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.who__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .who__grid { grid-template-columns: 1fr; gap: 32px; } }

.who__side { position: sticky; top: 100px; }
.who__kicker {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ruvos-red);
  margin-bottom: 18px;
}
.who__heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 3.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ruvos-navy-2);
  margin: 0;
}
.who__heading em {
  color: var(--ruvos-red);
  font-style: italic;
  font-weight: 400;
}
.who__body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 20px;
  max-width: 62ch;
}
.who__body .who__lead {
  font-size: 20px;
  color: var(--ruvos-navy-3);
  font-weight: 400;
  line-height: 1.55;
}

/* Pillars */
.pillars {
  margin-top: 96px;
  padding-top: 72px;
  border-top: 1px solid var(--border);
}
.pillars__head {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 18px;
  margin-bottom: 40px;
}
.pillars__kicker {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ruvos-red);
}
.pillars__eyebrow {
  font-family: var(--font-display);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.pillars__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 3.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ruvos-navy-2);
  margin: 0;
}
.pillars__title em {
  color: var(--ruvos-red);
  font-style: italic;
  font-weight: 400;
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
@media (max-width: 900px) { .pillars__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pillars__grid { grid-template-columns: 1fr; } }

.pillar {
  background: #fff;
  padding: 30px 28px 32px;
  display: flex; flex-direction: column;
  gap: 14px;
}
.pillar--accent {
  background: linear-gradient(150deg, #0E1E37 0%, #132C5F 100%);
  color: #fff;
}
.pillar--accent .pillar__body { color: rgba(255,255,255,0.78); }
.pillar--accent .pillar__title { color: #fff; }
.pillar--accent .pillar__n { color: var(--ruvos-red); }

.pillar__n {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ruvos-red);
}
.pillar__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ruvos-navy-2);
  margin: 0;
}
.pillar__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
}

/* Pull quote */
.pquote {
  background: var(--ruvos-navy-3);
  color: #fff;
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}
.pquote::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 80% 20%, rgba(221,59,60,0.14), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(19,44,95,0.6), transparent 60%);
  pointer-events: none;
}
.pquote__inner {
  max-width: 960px; margin: 0 auto;
  position: relative;
}
.pquote__mark { color: var(--ruvos-red); margin-bottom: 28px; opacity: 0.9; }
.pquote__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 32px;
  text-wrap: balance;
}
.pquote__text em {
  color: var(--ruvos-red);
  font-style: italic;
}
.pquote__attrib {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.pquote__rule { width: 40px; height: 1px; background: rgba(255,255,255,0.4); display: inline-block; }

/* Story / Timeline */
.story {
  padding: 120px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.story__head { max-width: 820px; margin-bottom: 64px; }
.story__kicker {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ruvos-red);
  margin-bottom: 20px;
}
.story__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ruvos-navy-2);
  margin: 0 0 20px;
  text-wrap: balance;
}
.story__title .accent { color: var(--ruvos-red); font-style: italic; font-weight: 400; }
.story__sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  max-width: 60ch;
}

.timeline {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.tl {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  padding-bottom: 48px;
}
.tl:last-child { padding-bottom: 0; }

.tl__rail {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
}
.tl__dot {
  width: 14px; height: 14px; border-radius: 999px;
  background: var(--ruvos-red);
  box-shadow: 0 0 0 5px #fff, 0 0 0 6px rgba(221,59,60,0.25);
  margin-top: 6px;
  position: relative;
  z-index: 1;
}
.tl__line {
  flex: 1;
  width: 2px;
  background: linear-gradient(180deg, rgba(221,59,60,0.25), var(--border) 30%, var(--border));
  margin-top: 8px;
  min-height: 48px;
}

.tl__content {
  padding-bottom: 8px;
}
.tl__meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.tl__year {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ruvos-navy-2);
}
.tl__era {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.tl__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ruvos-navy-2);
  margin: 0 0 12px;
  max-width: 24ch;
  text-wrap: balance;
}
.tl__body {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
  max-width: 62ch;
}
.tl__stat {
  margin-top: 20px;
  padding: 18px 22px;
  border-left: 3px solid var(--ruvos-red);
  background: #fff;
  border-radius: 0 12px 12px 0;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}
.tl__stat-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--ruvos-navy-2);
  line-height: 1;
}
.tl__stat-label {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.story__close {
  margin-top: 64px;
  padding: 32px 36px;
  border-left: 3px solid var(--ruvos-red);
  background: linear-gradient(90deg, rgba(221,59,60,0.04), transparent 70%);
}
.story__close p {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.55;
  color: var(--ruvos-navy-2);
  margin: 0;
  max-width: 68ch;
  text-wrap: pretty;
}

/* ——————————————————————————————————————————————————
   Careers page
   —————————————————————————————————————————————————— */
.careers-hero {
  position: relative;
  min-height: calc(100vh - 220px);
  padding: 140px 24px 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}
.careers-hero__inner {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.careers-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ruvos-navy-2);
  margin: 0 0 28px;
  white-space: nowrap;
}
.careers-hero__title .accent-navy {
  color: var(--ruvos-navy-2);
  font-weight: 500;
}
.careers-hero__lede {
  max-width: 520px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 36px;
}
.careers-hero__mail {
  color: var(--ruvos-red);
  text-decoration: none;
  border-bottom: 1px solid rgba(221,59,60,0.35);
  transition: border-color .2s ease;
}
.careers-hero__mail:hover {
  border-bottom-color: var(--ruvos-red);
}
.careers-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 720px) {
  .careers-hero {
    padding: 100px 20px 80px;
    min-height: auto;
  }
  .careers-hero__title {
    white-space: normal;
    font-size: 40px;
  }
}


/* ——————————————————————————————————————————————————
   BioDB product page
   —————————————————————————————————————————————————— */

/* Hero */
.bhero {
  position: relative;
  padding: 120px 24px 64px;
  display: flex; justify-content: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.bhero__inner {
  max-width: 1120px; width: 100%;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 880px) {
  .bhero__inner { grid-template-columns: 1fr; gap: 32px; }
  .bhero { padding: 100px 24px 56px; }
}
.bhero__kicker {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ruvos-red);
  margin-bottom: 22px;
  display: inline-block;
}
.bhero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ruvos-navy-2);
  margin: 0 0 24px;
  max-width: 18ch;
  text-wrap: balance;
}
.bhero__title em {
  font-style: italic; font-weight: 400; color: var(--ruvos-red);
}
.bhero__lede {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 32px;
  text-wrap: pretty;
}
.bhero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.bhero__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px;
  background:
    radial-gradient(ellipse 90% 110% at 30% 30%, color-mix(in oklab, #7FAE5A 22%, transparent) 0%, transparent 65%),
    radial-gradient(ellipse 110% 110% at 80% 80%, color-mix(in oklab, #4A7038 22%, transparent) 0%, transparent 70%),
    #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  aspect-ratio: 1.05 / 1;
}
.bhero__logo img {
  max-width: 70%;
  max-height: 70%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(74, 112, 56, 0.18));
}

/* Stats strip */
.bstats {
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.bstats__inner {
  max-width: 1120px; margin: 0 auto;
  padding: 36px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 720px) {
  .bstats__inner { grid-template-columns: 1fr 1fr; }
}
.bstat {
  text-align: center;
}
.bstat__value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 3.5vw, 44px);
  letter-spacing: -0.02em;
  color: var(--ruvos-navy-2);
  line-height: 1;
}
.bstat__label {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 10px;
}

/* Generic BioDB section */
.bsection {
  padding: 96px 24px;
  border-bottom: 1px solid var(--border);
}
.bsection__inner { max-width: 1120px; margin: 0 auto; }
.bsection__head { max-width: 760px; margin-bottom: 56px; }
.bsection__kicker {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ruvos-red);
  display: inline-block;
  margin-bottom: 18px;
}
.bsection__kicker--light { color: #ff8a8b; }
.bsection__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ruvos-navy-2);
  margin: 0 0 16px;
  text-wrap: balance;
}
.bsection__title em {
  font-style: italic; font-weight: 400; color: var(--ruvos-red);
}
.bsection__title--light { color: #fff; }
.bsection__title--light em { color: #ff8a8b; }
.bsection__sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 60ch;
  margin: 0;
}

/* Problem grid */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}
@media (max-width: 880px) { .problem-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .problem-grid { grid-template-columns: 1fr; } }

.problem-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 22px;
}
.problem-card__label {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ruvos-red);
  margin-bottom: 12px;
}
.problem-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}

/* The Stakes */
.stakes {
  background: linear-gradient(180deg, rgba(221,59,60,0.04), transparent 65%), #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
}
.stakes__kicker {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ruvos-red);
  display: inline-block;
  margin-bottom: 12px;
}
.stakes__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ruvos-navy-2);
  margin: 0 0 28px;
  max-width: 24ch;
}
.stakes__pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
@media (max-width: 720px) {
  .stakes__pair { grid-template-columns: 1fr; gap: 12px; text-align: center; }
}
.stakes__col {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  background: #fafbfc;
}
.stakes__col--alt {
  border-color: rgba(221,59,60,0.25);
  background: linear-gradient(180deg, rgba(221,59,60,0.05), #fff);
}
.stakes__col-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.stakes__col--alt .stakes__col-label { color: var(--ruvos-red); }
.stakes__col ul {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 6px;
}
.stakes__col li {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ruvos-navy-2);
  line-height: 1.4;
}
.stakes__vs {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-2);
  font-style: italic;
}
.stakes__note {
  margin: 28px 0 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 68ch;
}

/* What we built — pillars */
.bpillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
@media (max-width: 880px) { .bpillars { grid-template-columns: 1fr; } }
.bpillar {
  background: #fff;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.bpillar__n {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ruvos-red);
}
.bpillar__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ruvos-navy-2);
  margin: 0;
}
.bpillar__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

/* Flows */
.bsection--flows {
  background: #fff;
}
.flow + .flow { margin-top: 96px; }
.flow__head { max-width: 720px; margin-bottom: 40px; }
.flow__kicker {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ruvos-red);
  display: inline-block;
  margin-bottom: 14px;
}
.flow__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ruvos-navy-2);
  margin: 0;
  text-wrap: balance;
}
.flow__title em { font-style: italic; font-weight: 400; color: var(--ruvos-red); }
.flow__steps {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 880px) { .flow__steps { grid-template-columns: 1fr; } }
.flow__steps li {
  display: flex; gap: 18px;
  padding: 24px 22px;
  background: #fafbfc;
  border: 1px solid var(--border);
  border-radius: 12px;
  align-items: flex-start;
}
.flow__num {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--ruvos-navy-2);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.flow__steps h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--ruvos-navy-2);
  margin: 4px 0 6px;
  letter-spacing: -0.01em;
}
.flow__steps p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.flow--alt .flow__steps li { background: #fff; }
.flow--alt .flow__num { background: var(--ruvos-red); }

/* Security */
.bsection--security {
  background: var(--ruvos-navy-3);
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
.bsection--security::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% 20%, rgba(127, 174, 90, 0.18), transparent 60%),
    radial-gradient(800px 600px at 10% 90%, rgba(19,44,95,0.5), transparent 60%);
  pointer-events: none;
}
.bsection--security .bsection__inner { position: relative; }
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .security-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .security-grid { grid-template-columns: 1fr; } }
.security-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 26px 22px;
  backdrop-filter: blur(6px);
}
.security-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 10px;
}
.security-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

/* Roadmap */
.bsection--roadmap {
  background: #fff;
}
.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
@media (max-width: 880px) { .roadmap-grid { grid-template-columns: 1fr; gap: 40px; } }
.roadmap-col__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--ruvos-navy-2);
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.roadmap-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 20px;
}
.roadmap-list li {
  display: flex; gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px dashed var(--border);
}
.roadmap-list li:last-child { border-bottom: none; }
.roadmap-list__n {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(221,59,60,0.08);
  color: var(--ruvos-red);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.roadmap-list__arrow {
  flex: 0 0 auto;
  color: var(--ruvos-red);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
}
.roadmap-list p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

/* Close */
.bclose {
  padding: 120px 24px;
  display: flex; justify-content: center;
  background: linear-gradient(180deg, rgba(221,59,60,0.04), transparent 80%);
}
.bclose__inner {
  max-width: 720px; text-align: center;
}
.bclose__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ruvos-navy-2);
  margin: 0 0 22px;
  text-wrap: balance;
}
.bclose__title em { font-style: italic; font-weight: 400; color: var(--ruvos-red); }
.bclose__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 36px;
  text-wrap: pretty;
}

/* Make BioDB product card image area clickable */
.pcard__media-link {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.pcard--link .pcard__media { cursor: pointer; }
.pcard--link:hover .pcard__media-link::after {
  content: "View product \2192";
  position: absolute;
  bottom: 12px; right: 12px;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ruvos-navy);
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(15,30,55,0.12);
  padding: 6px 10px;
  border-radius: 999px;
}
