/* ============================================
   Start-Up Smart Ventures — Design System
   ============================================ */

:root {
  --red: #D93025;
  --red-bright: #FF4A3D;
  --bg: #09090F;
  --bg-elevated: #111119;
  --bg-card: #15151F;
  --border: #24242F;
  --border-bright: #34343F;
  --text: #F4F4F6;
  --text-dim: #A0A0AE;
  --text-faint: #6B6B78;
  --max-width: 1200px;
  --font-display: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Atmospheric background glow */
body::before {
  content: "";
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(217,48,37,0.12) 0%, rgba(217,48,37,0) 60%);
  pointer-events: none;
  z-index: 0;
}

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

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.015em; }
.accent { color: var(--red); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}

/* ---------- Nav ---------- */
header.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9,9,15,0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo img { height: 32px; width: 32px; display: block; }
.logo .word { font-family: var(--font-display); font-size: 1.32rem; font-weight: 300; letter-spacing: -0.02em; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 0.95rem; color: var(--text-dim); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem !important;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--red-bright); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 30px;
  border-radius: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-bright); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(217,48,37,0.3); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-bright); }
.btn-secondary:hover { border-color: var(--text-dim); background: rgba(255,255,255,0.03); }
.btn-disabled { background: var(--bg-card); color: var(--text-faint); cursor: not-allowed; border-color: var(--border); }
.btn-disabled:hover { transform: none; }

/* ---------- Hero ---------- */
.hero { padding: 90px 0 100px; text-align: center; position: relative; }
.hero h1 { max-width: 14ch; margin: 0 auto 28px; }
.hero .sub { font-size: 1.2rem; color: var(--text-dim); max-width: 60ch; margin: 0 auto 22px; }
.hero .proof { font-size: 0.95rem; color: var(--text-faint); margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-bullets { display: flex; gap: 36px; justify-content: center; flex-wrap: wrap; max-width: 900px; margin: 0 auto; }
.hero-bullet { display: flex; align-items: flex-start; gap: 11px; text-align: left; font-size: 0.98rem; color: var(--text-dim); max-width: 250px; }
.hero-bullet .tick { color: var(--red); font-weight: 700; flex-shrink: 0; }

/* ---------- Sections ---------- */
section { padding: 90px 0; position: relative; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 60px; }
.section-head p { color: var(--text-dim); font-size: 1.1rem; margin-top: 16px; }

/* ---------- Cards / steps ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 34px 30px;
  transition: border-color 0.25s, transform 0.25s;
}
.card:hover { border-color: var(--border-bright); transform: translateY(-3px); }
.card .num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; color: var(--red); line-height: 1; margin-bottom: 14px; letter-spacing: -0.03em; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: 0.98rem; }

/* ---------- Philosophy band ---------- */
.band { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band .wrap { text-align: center; }
.band h2 { max-width: 18ch; margin: 0 auto 20px; }
.band p { color: var(--text-dim); max-width: 56ch; margin: 0 auto; font-size: 1.1rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin: 0 auto 18px; }
.cta-band p { color: var(--text-dim); margin-bottom: 32px; font-size: 1.1rem; }

/* ---------- Page header (subpages) ---------- */
.page-head { padding: 80px 0 50px; text-align: center; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 20px; }
.page-head p { color: var(--text-dim); font-size: 1.15rem; max-width: 56ch; margin: 0 auto; }

/* ---------- Coming soon badge ---------- */
.soon-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 100px;
  padding: 4px 12px;
  margin-left: 10px;
  vertical-align: middle;
}

/* ---------- Placeholder content state ---------- */
.placeholder {
  text-align: center;
  padding: 60px 0 100px;
  color: var(--text-faint);
}
.placeholder .big { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--text-dim); margin-bottom: 14px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
  background: var(--bg-elevated);
}
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.footer-brand { max-width: 320px; }
.footer-brand .logo { margin-bottom: 14px; display: inline-block; }
.footer-brand p { color: var(--text-faint); font-size: 0.92rem; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-dim); font-size: 0.95rem; margin-bottom: 11px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: 0.85rem; }

/* ---------- Raise Page mockups ---------- */
/* Phone comparison: static deck vs. raise page */
.rp-phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 0;
}
.rp-phone-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rp-phone-label {
  margin-top: 22px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
}
.rp-phone-label.us { color: var(--red); }

/* Phone frame */
.rp-phone {
  width: 240px;
  height: 480px;
  border-radius: 32px;
  background: #0a0a0f;
  border: 2px solid var(--border-bright);
  padding: 14px 12px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.rp-phone::before {
  content: "";
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 5px;
  background: #1a1a22;
  border-radius: 3px;
}
.rp-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  background: #0a0a0f;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 28px 14px 14px;
}

/* Static deck phone — looks dead, scroll-killed */
.rp-phone.dead .rp-phone-screen {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.rp-phone.dead .pdf-icon {
  width: 70px; height: 86px;
  background: #1a1a22;
  border: 1px solid #2a2a35;
  border-radius: 6px;
  position: relative;
  margin-bottom: 16px;
}
.rp-phone.dead .pdf-icon::before {
  content: "PDF";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: #4a4a55;
  letter-spacing: 0.05em;
}
.rp-phone.dead .pdf-icon::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 14px; height: 14px;
  background: #0a0a0f;
  border-left: 1px solid #2a2a35;
  border-bottom: 1px solid #2a2a35;
}
.rp-phone.dead .pdf-name {
  font-size: 0.72rem;
  color: #5a5a65;
  font-family: monospace;
  margin-bottom: 24px;
  word-break: break-all;
  max-width: 160px;
}
.rp-phone.dead .pdf-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 80%;
}
.rp-phone.dead .pdf-line {
  height: 6px;
  background: #1a1a22;
  border-radius: 2px;
}
.rp-phone.dead .pdf-line.short { width: 60%; }

/* Live raise page phone — alive, content visible */
.rp-phone.alive .rp-phone-screen {
  background: #0a0a0f;
  position: relative;
}
.rp-phone.alive .rp-phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(217,48,37,0.18), transparent 60%);
  pointer-events: none;
}
.rp-phone.alive .prepared-for {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.rp-phone.alive .company {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}
.rp-phone.alive .tagline {
  font-size: 0.7rem;
  color: var(--text-dim);
  line-height: 1.4;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.rp-phone.alive .traction-label {
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.rp-phone.alive .traction-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.rp-phone.alive .traction-detail {
  font-size: 0.6rem;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.rp-phone.alive .traction-divider {
  width: 24px;
  height: 1px;
  background: var(--border-bright);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.rp-phone.alive .traction-note {
  font-size: 0.62rem;
  color: var(--text-dim);
  line-height: 1.45;
  position: relative;
  z-index: 1;
}

/* Connector arrow between phones */
.rp-phones-arrow {
  display: none; /* Hidden on grid; using col gap as breathing room */
}

/* Four-card structure mockup */
.rp-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 880px;
  margin: 36px auto 0;
}
.rp-card-mock {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--red);
  border-radius: 10px;
  padding: 16px 14px 18px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.rp-card-mock .card-num {
  font-size: 0.7rem;
  color: var(--text-faint);
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 4px;
}
.rp-card-mock .card-label {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
  margin-bottom: 8px;
}
.rp-card-mock .card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: auto;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.rp-card-mock .card-footer {
  margin-top: 12px;
  font-size: 0.62rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rp-card-mock .card-big {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 2px;
}
.rp-card-mock .card-meta { font-size: 0.62rem; color: var(--text-faint); }
.rp-card-mock .card-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 28px;
  margin-bottom: 6px;
}
.rp-card-mock .bar {
  flex: 1;
  background: #1a1a22;
  border-radius: 2px;
}
.rp-card-mock .bar.b1 { height: 40%; }
.rp-card-mock .bar.b2 { height: 65%; }
.rp-card-mock .bar.b3 { height: 100%; background: var(--red); }
.rp-card-mock .card-checks {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 6px;
}
.rp-card-mock .card-check {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  font-family: monospace;
}
.rp-card-mock .card-check::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 1px;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 860px) {
  /* Phone comparison: horizontal scroll on mobile (flexbox for iOS Safari) */
  .rp-phones {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    padding: 24px 20px 32px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 -20px;
    scrollbar-width: none;
  }
  .rp-phones::-webkit-scrollbar { display: none; }
  .rp-phone-col {
    scroll-snap-align: center;
    flex: 0 0 80%;
    min-width: 0;
  }
  .rp-phones-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-faint);
    font-weight: 500;
  }
  .rp-phones-hint::before,
  .rp-phones-hint::after {
    content: "";
    width: 18px;
    height: 1px;
    background: var(--border-bright);
  }

  /* Four cards: horizontal scroll on mobile (flexbox for iOS Safari) */
  .rp-cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 36px -20px 0;
    padding: 0 20px 8px;
    scrollbar-width: none;
    grid-template-columns: none;
  }
  .rp-cards::-webkit-scrollbar { display: none; }
  .rp-card-mock {
    scroll-snap-align: start;
    flex: 0 0 70%;
    min-width: 0;
  }
  .rp-cards-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-faint);
    font-weight: 500;
  }
  .rp-cards-hint::before,
  .rp-cards-hint::after {
    content: "";
    width: 18px;
    height: 1px;
    background: var(--border-bright);
  }
}
/* Hide swipe hints on desktop */
@media (min-width: 861px) {
  .rp-phones-hint, .rp-cards-hint { display: none; }
}

/* ---------- Deck Review two-column hero ---------- */
.dr-hero { padding: 70px 0 90px; position: relative; }
.dr-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.dr-hero-left h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  max-width: 14ch;
}
.dr-hero-sub {
  font-size: 1.12rem;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 48ch;
  margin-bottom: 32px;
}
.dr-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.dr-byline-photo {
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border-bright);
  flex-shrink: 0;
}
.dr-byline-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dr-byline-name { font-weight: 600; color: var(--text); font-size: 0.98rem; line-height: 1.3; }
.dr-byline-title { color: var(--text-faint); font-size: 0.85rem; line-height: 1.3; margin-top: 2px; }

.dr-form-head { font-size: 1.45rem; margin-bottom: 6px; letter-spacing: -0.02em; }
.dr-form-sub { color: var(--text-dim); font-size: 0.98rem; margin-bottom: 26px; }
.dr-form-note { font-size: 0.82rem; color: var(--text-faint); margin-top: 14px; text-align: center; }

/* ---------- Deck Review form ---------- */
.dr-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 34px 32px;
}
.dr-field { margin-bottom: 22px; }
.dr-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.dr-field label .req { color: var(--red); margin-left: 2px; }
.dr-field input[type="text"],
.dr-field input[type="email"],
.dr-field select,
.dr-field textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.dr-field input[type="text"]:focus,
.dr-field input[type="email"]:focus,
.dr-field select:focus,
.dr-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(217,48,37,0.18);
}
.dr-field textarea { resize: vertical; min-height: 84px; font-family: var(--font-body); }
.dr-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%); background-position: calc(100% - 18px) center, calc(100% - 13px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.dr-field input[type="file"] {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px dashed var(--border-bright);
  border-radius: 8px;
  padding: 16px 14px;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
}
.dr-field input[type="file"]::file-selector-button {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 7px 14px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  margin-right: 12px;
  cursor: pointer;
  transition: background 0.2s;
}
.dr-field input[type="file"]::file-selector-button:hover { background: var(--red-bright); }

/* ---------- Investor targeting checkboxes ---------- */
.dr-checkboxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 4px;
}
.dr-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--text-dim);
  transition: all 0.15s;
  user-select: none;
}
.dr-check:hover { border-color: var(--red); color: var(--text); }
.dr-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--red);
  cursor: pointer;
  flex-shrink: 0;
}
.dr-check input[type="checkbox"]:checked + span { color: var(--text); font-weight: 500; }
.dr-check:has(input[type="checkbox"]:checked) {
  border-color: var(--red);
  background: rgba(217,48,37,0.07);
}
.dr-hint { display: block; font-size: 0.82rem; color: var(--text-faint); margin-top: 6px; }
.dr-error {
  display: none;
  background: rgba(217,48,37,0.1);
  border: 1px solid rgba(217,48,37,0.4);
  color: #ffb4ad;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  margin-bottom: 16px;
}

/* ---------- Reveal animation (progressive enhancement) ---------- */
/* Content is visible by default; JS adds .js-reveal to enable the hidden->shown animation,
   so crawlers and no-JS users always see content. */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js-reveal .reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 28px 24px;
  position: relative;
}
.testimonial .stars { color: var(--red); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial .quote { color: var(--text); font-size: 1.02rem; line-height: 1.65; margin-bottom: 18px; }
.testimonial .quote::before { content: '\201C'; color: var(--red); font-family: var(--font-display); font-size: 2.4rem; line-height: 0; vertical-align: -0.4em; margin-right: 4px; opacity: 0.8; }
.testimonial .meta { font-size: 0.82rem; color: var(--text-faint); letter-spacing: 0.06em; text-transform: uppercase; }
.testimonial .meta .project { color: var(--text-dim); text-transform: none; letter-spacing: 0; font-size: 0.9rem; display: block; margin-bottom: 2px; }

/* ---------- Founder photo + bio (About page) ---------- */
.founder-block { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.founder-photo {
  width: 280px; height: 280px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-bright);
  background: var(--bg-elevated);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-name { font-family: var(--font-display); font-size: 2rem; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.02em; }
.founder-title { color: var(--text-dim); font-size: 1rem; margin-bottom: 22px; }
.founder-social { display: flex; gap: 12px; margin-top: 24px; }
.founder-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--red);
  border: 1px solid var(--red);
  color: #fff;
  transition: all 0.2s;
}
.founder-social a:hover { background: var(--red-bright); border-color: var(--red-bright); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(217,48,37,0.35); }
.founder-social svg { width: 18px; height: 18px; }

/* ---------- Pull quote ---------- */
.pullquote {
  border-left: 3px solid var(--red);
  padding: 14px 0 14px 28px;
  margin: 40px 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 60ch;
}
.pullquote .attrib { display: block; font-family: var(--font-body); font-size: 0.82rem; font-weight: 500; color: var(--text-faint); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 14px; }

/* ---------- Comparison table (Raise Page) ---------- */
.compare {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
}
.compare > div { padding: 18px 22px; border-bottom: 1px solid var(--border); }
.compare > div:nth-last-child(-n+3) { border-bottom: none; }
.compare .head { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); background: var(--bg-elevated); }
.compare .head.us { color: var(--red); }
.compare .label { color: var(--text-faint); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.compare .cell { color: var(--text-dim); font-size: 0.95rem; }
.compare .cell.us { color: var(--text); font-weight: 500; background: rgba(217,48,37,0.04); }

/* ---------- MRI page imagery ---------- */
.mri-video-wrap { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #000; position: relative; max-width: 920px; margin: 0 auto; }
.mri-video-wrap video { display: block; width: 100%; height: auto; }
.mri-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 40px 0; }
.mri-gallery img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); display: block; }
.mri-gallery .single { grid-column: 1 / -1; }

/* ---------- Blog list ---------- */
.blog-list { display: grid; gap: 18px; }
.blog-item {
  display: block;
  padding: 28px 30px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  transition: border-color 0.2s, transform 0.2s;
}
.blog-item:hover { border-color: var(--border-bright); transform: translateY(-2px); }
.blog-item .blog-meta { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 10px; }
.blog-item h3 { margin-bottom: 8px; color: var(--text); }
.blog-item p { color: var(--text-dim); font-size: 0.97rem; }
.blog-empty {
  text-align: center; padding: 70px 30px;
  border: 1px dashed var(--border-bright);
  border-radius: 14px;
  color: var(--text-faint);
}
.blog-empty .big { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--text-dim); margin-bottom: 14px; }

/* ---------- Testimonials video frame ---------- */
.video-frame { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #000; max-width: 920px; margin: 0 auto; }
.video-frame video { display: block; width: 100%; height: auto; }

/* ---------- Blog index list ---------- */
.blog-list { display: grid; gap: 22px; max-width: 880px; margin: 0 auto; }
.blog-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 32px;
  transition: border-color 0.25s, transform 0.25s;
}
.blog-card:hover { border-color: var(--border-bright); transform: translateY(-2px); }
.blog-card .meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.blog-card .meta .dot { color: var(--text-faint); }
.blog-card .meta .read-time { color: var(--text-faint); letter-spacing: 0.12em; }
.blog-card h2 {
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.blog-card p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.55;
}
.blog-card .read-more {
  display: inline-block;
  margin-top: 16px;
  color: var(--red);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Blog post page ---------- */
.post-head { padding: 70px 0 40px; }
.post-head .wrap { max-width: 740px; }
.post-back {
  display: inline-block;
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 28px;
  transition: color 0.2s;
}
.post-back:hover { color: var(--text); }
.post-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
}
.post-meta .dot { color: var(--text-faint); }
.post-meta .read-time { color: var(--text-faint); letter-spacing: 0.12em; }
.post-head h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.12;
  margin-bottom: 22px;
}
.post-byline {
  color: var(--text-dim);
  font-size: 0.98rem;
}
.post-byline strong { color: var(--text); font-weight: 600; }

.post-body { padding: 30px 0 80px; }
.post-body .wrap { max-width: 740px; }
.post-body p,
.post-body ul,
.post-body ol {
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 22px;
}
.post-body p strong { color: var(--text); font-weight: 600; }
.post-body h2 {
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 48px;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.post-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text);
}
.post-body ul, .post-body ol { padding-left: 24px; }
.post-body li { margin-bottom: 10px; }
.post-body a { color: var(--red); border-bottom: 1px solid rgba(217,48,37,0.4); transition: border-color 0.2s; }
.post-body a:hover { border-bottom-color: var(--red); }
.post-body blockquote {
  border-left: 3px solid var(--red);
  padding: 4px 0 4px 22px;
  margin: 28px 0;
  color: var(--text-dim);
  font-style: italic;
  font-size: 1.1rem;
}
.post-body .lede {
  font-size: 1.18rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.post-faq {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 36px;
  margin-top: 48px;
}
.post-faq h2 {
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 24px;
}
.post-faq .q {
  font-weight: 600;
  color: var(--text);
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 1.02rem;
}
.post-faq .q:first-of-type { margin-top: 0; }
.post-faq .a { color: var(--text-dim); font-size: 1rem; line-height: 1.65; margin-bottom: 0; }

.post-cta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 36px;
  margin-top: 56px;
  text-align: center;
}
.post-cta h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text);
}
.post-cta p {
  color: var(--text-dim);
  margin-bottom: 24px;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.02rem;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  gap: 20px;
  flex-wrap: wrap;
}
.post-nav a {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.post-nav a:hover { color: var(--text); }

@media (max-width: 720px) {
  .blog-card { padding: 26px 24px; }
  .blog-card h2 { font-size: 1.3rem; }
  .post-faq { padding: 28px 24px; }
  .post-cta { padding: 32px 24px; }
  .post-body p, .post-body ul, .post-body ol { font-size: 1.02rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 24px 32px;
    gap: 20px;
  }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero-bullets { flex-direction: column; align-items: center; }
  .hero-bullet { max-width: 320px; }
  .footer-inner { flex-direction: column; }
  .testimonials { grid-template-columns: 1fr; }
  .founder-block { grid-template-columns: 1fr; gap: 32px; }
  .founder-photo { width: 200px; height: 200px; margin: 0 auto; }
  .compare { grid-template-columns: 1.1fr 1fr 1fr; }
  .compare > div { padding: 12px 10px; }
  .compare .head { font-size: 0.62rem; letter-spacing: 0.08em; }
  .compare .label { font-size: 0.62rem; letter-spacing: 0.06em; }
  .compare .cell { font-size: 0.78rem; line-height: 1.4; }
  .mri-gallery { grid-template-columns: 1fr; }
  .dr-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .dr-hero { padding: 50px 0 70px; }
  .dr-hero-left h1 { max-width: 100%; }
  .dr-checkboxes { grid-template-columns: 1fr; }
}
