/* ============ SCIENCE PAGE ============ */
.sci-hero {
  max-width: 1320px;
  margin: 0 auto;
  padding: 140px 32px 40px;
  text-align: center;
}
.sci-hero .eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 22px;
  opacity: 0.7;
}
.sci-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0 auto;
  max-width: 1000px;
}
.sci-hero h1 em { font-style: italic; }
.sci-hero p {
  max-width: 620px;
  margin: 22px auto 0;
  font-size: 16px;
  color: #FFFFFF;
  opacity: 0.7;
}

/* alternating section */
.sci-row {
  max-width: 1320px;
  margin: 0 auto;
  padding: 120px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}
.sci-row.reverse { direction: rtl; }
.sci-row.reverse > * { direction: ltr; }

@media (max-width: 768px) {
  .sci-row { grid-template-columns: 1fr; gap: 40px; padding: 56px 32px; }
  .sci-row.reverse { direction: ltr; }
}

.sci-num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 14px;
  color: #FFFFFF;
}
.sci-num .badge {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid #FFFFFF;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
}
.sci-num .sep {
  opacity: 0.4;
}
.sci-num .cat {
  opacity: 0.5;
}

.sci-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}
.sci-headline em { font-style: italic; }

.sci-body {
  font-size: 15px;
  color: #FFFFFF;
  opacity: 0.7;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 0 36px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-icon {
  width: 26px;
  height: 26px;
  color: #FFFFFF;
}
.feature-title {
  font-size: 15px;
  font-weight: 500;
  color: #FFFFFF;
  margin: 0;
}
.feature-text {
  font-size: 13px;
  line-height: 1.55;
  color: #FFFFFF;
  opacity: 0.65;
  margin: 0;
}

/* visual blocks */
.sci-visual {
  background: #131313;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  aspect-ratio: 5 / 4;
  position: relative;
  overflow: hidden;
}
.sci-visual.tall { aspect-ratio: 4 / 5; }

/* DNA / chromosome viz */
.dna-rows { display: flex; flex-direction: column; gap: 10px; height: 100%; justify-content: center; }
.dna-row { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; color: #FFFFFF; opacity: 0.7; }
.dna-row .gene-name { width: 70px; flex: none; }
.dna-row .bar-track {
  flex: 1; height: 6px; background: #1F1F1F; border-radius: 3px; overflow: hidden; position: relative;
}
.dna-row .bar-fill { position: absolute; inset: 0; border-radius: 3px; }
.dna-row .bar-fill.green { background: #4ADE80; }
.dna-row .bar-fill.amber { background: #FBBF24; }
.dna-row .bar-fill.blue { background: #60A5FA; }
.dna-row .bar-fill.purple { background: #D49BE6; }
.dna-row .status {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  flex: none;
}
.dna-row .status.clear { background: #0F2E1C; color: #4ADE80; }
.dna-row .status.carrier { background: #2E1F0E; color: #FBBF24; }

/* IQ chart */
.bell-wrap { position: absolute; inset: 32px; display: flex; flex-direction: column; gap: 14px; }
.bell-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 11px; color: #FFFFFF; opacity: 0.6;
}
.bell-head .val { font-family: var(--serif); font-size: 44px; color: #FFFFFF; opacity: 1; line-height: 1; }
.bell-svg { flex: 1; width: 100%; }

/* Embryo grid */
.embryo-grid {
  position: absolute; inset: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 10px;
}
.embryo-cell {
  background: #1A1A1A;
  border: 1px solid #2A2A2A;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  color: #FFFFFF;
  opacity: 0.5;
  position: relative;
}
.embryo-cell .dot-bg {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #2A2A2A, transparent 70%);
}
.embryo-cell.good { color: #4ADE80; opacity: 1; border-color: rgba(74, 222, 128, 0.3); }
.embryo-cell.good .dot-bg { background: radial-gradient(circle, rgba(74, 222, 128, 0.25), transparent 70%); }
.embryo-cell.warn { color: #FBBF24; opacity: 1; border-color: rgba(251, 191, 36, 0.3); }
.embryo-cell.warn .dot-bg { background: radial-gradient(circle, rgba(251, 191, 36, 0.25), transparent 70%); }
.embryo-cell span { position: relative; z-index: 1; }

/* divider */
.sci-divider {
  border-top: 1px solid var(--line);
  max-width: 1320px;
  margin: 0 auto;
}

/* ============ SPONSORSHIP CARD (donor profile — left column) ============ */
.sponsorship-card {
  margin-top: 20px;
  background: linear-gradient(180deg, #0f1612, #0c130f);
  border: 1px solid #1F2E22;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sponsorship-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #4ADE80;
}
.sponsorship-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  color: #FFFFFF;
}
.sponsorship-title em { font-style: italic; color: #4ADE80; }
.sponsorship-text {
  font-size: 13px;
  color: #FFFFFF;
  opacity: 0.7;
  line-height: 1.55;
  margin: 0;
}
.sponsorship-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #1F2E22;
  border-bottom: 1px solid #1F2E22;
  margin-top: 4px;
}
.sponsorship-num {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}
.sponsorship-lbl {
  font-size: 10px;
  color: #FFFFFF;
  opacity: 0.55;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 6px;
  line-height: 1.4;
}
.sponsorship-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.sponsorship-actions .btn-primary {
  padding: 10px 18px;
  font-size: 13px;
}
.btn-link {
  background: none;
  border: none;
  color: #FFFFFF;
  opacity: 0.7;
  font-size: 13px;
  cursor: pointer;
  padding: 10px 0;
}
.btn-link:hover { opacity: 1; }

/* left column wrapper: portrait + sponsorship */
.profile-left {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
}
.profile-left .profile-portrait { position: static; }

/* ============ FUND PAGE ============ */
.fund-simple {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 32px 140px;
  text-align: center;
}
.fund-simple-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 56px;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}
.fund-simple-steps li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.005em;
  color: #FFFFFF;
}
.fund-simple-steps li:last-of-type { border-bottom: 1px solid var(--line); }
.fund-simple-steps .n {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  opacity: 0.45;
  min-width: 38px;
}
.fund-simple-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.fund-simple-meta {
  font-size: 12px;
  color: #FFFFFF;
  opacity: 0.55;
  letter-spacing: 0.02em;
}

/* legacy multi-card Fund styles kept in case re-enabled */
.fund-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 140px 32px 100px;
}
.fund-intro { max-width: 880px; margin-bottom: 72px; }

.fund-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 768px) { .fund-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .fund-grid { grid-template-columns: 1fr; } }

.fund-card {
  background: #131313;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fund-card .feature-icon { width: 28px; height: 28px; }
.fund-card-title {
  font-family: var(--serif);
  font-size: 22px;
  color: #FFFFFF;
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.005em;
}
.fund-card-text {
  font-size: 13px;
  color: #FFFFFF;
  opacity: 0.65;
  line-height: 1.6;
  margin: 0;
}

.fund-steps-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 32px 160px;
}
.fund-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 72px;
}
@media (max-width: 768px) { .fund-steps { grid-template-columns: 1fr; } }

.fund-step {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  background: #131313;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.fund-step-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  opacity: 0.55;
}
.fund-step-body h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
.fund-step-body p {
  font-size: 14px;
  color: #FFFFFF;
  opacity: 0.7;
  line-height: 1.6;
  margin: 0;
}

.fund-cta {
  display: flex;
  gap: 14px;
  margin-bottom: 56px;
}
@media (max-width: 540px) { .fund-cta { flex-direction: column; } }

.fund-footnote {
  font-size: 12px;
  color: #FFFFFF;
  opacity: 0.45;
  line-height: 1.6;
  max-width: 720px;
  margin: 0;
}

/* ============ ACHIEVEMENT LIST (Science section 04) ============ */
.achievement-list {
  position: absolute;
  inset: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}
.achievement-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px 12px;
  background: #1A1A1A;
  border-radius: 8px;
}
.chip-ach {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: 0.04em;
  font-weight: 500;
  text-align: center;
}
.chip-ach.tone-amber  { background: #2E1F0E; color: #FBBF24; }
.chip-ach.tone-purple { background: #2A1230; color: #D49BE6; }
.chip-ach.tone-green  { background: #0F2E1C; color: #4ADE80; }
.chip-ach.tone-blue   { background: #112548; color: #60A5FA; }
.chip-ach.tone-pink   { background: #2A0E1A; color: #F47AAE; }
.achievement-label { font-size: 13px; color: #FFFFFF; }
.achievement-value { font-family: var(--mono); font-size: 11px; color: #FFFFFF; opacity: 0.55; }

/* ============ OUR RESEARCH (Science section 05) ============ */
.research-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 120px 32px;
  position: relative;
  border-top: 1px solid var(--line);
}
.research-section > * { position: relative; z-index: 2; }
.research-head { margin: 0 auto 56px; max-width: 800px; text-align: center; }
.research-callout {
  background: #131313;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 40px;
  max-width: 900px;
  margin: 0 auto 56px;
}
.research-callout-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  opacity: 0.55;
  margin-bottom: 18px;
}
.research-callout blockquote {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 22px;
  letter-spacing: -0.005em;
  color: #FFFFFF;
}
.research-cite-link {
  font-family: var(--mono);
  font-size: 12px;
  color: #4ADE80;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.research-cite-link:hover { text-decoration: underline; }

.research-table-wrap { margin: 0 0 56px; overflow-x: auto; max-width: 1180px; margin-left: auto; margin-right: auto; }
.research-table th { position: static; top: auto; background: transparent; font-size: 14px; padding: 18px 20px; }
.research-table td { padding: 26px 20px; font-size: 19px; }
.research-table .chip-iq {
  font-size: 17px;
  padding: 7px 16px;
}
.research-link {
  color: #FFFFFF; text-decoration: none; font-size: 17px;
  border-bottom: 1px dotted rgba(255,255,255,0.25); padding-bottom: 1px;
  transition: border-color .15s, opacity .15s;
}

.ev-grid { display: inline-flex; gap: 5px; align-items: center; }
.ev-block {
  width: 20px;
  height: 12px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  transition: background .2s;
}
.ev-block.filled { background: #4ADE80; }
.research-table .chip-iq {
  font-size: 15px;
  padding: 6px 14px;
}
.research-link:hover { border-bottom-color: #FFFFFF; }
.research-link.small { font-size: 11px; font-family: var(--mono); letter-spacing: 0.02em; opacity: 0.7; }
.research-link.small:hover { opacity: 1; }

.research-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
@media (max-width: 768px) { .research-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .research-grid { grid-template-columns: 1fr; } }
.research-card {
  background: #131313;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.research-card-num {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}
.research-card-label { font-size: 13px; color: #FFFFFF; font-weight: 500; margin-top: 6px; }
.research-card-meta { font-size: 12px; color: #FFFFFF; opacity: 0.55; line-height: 1.55; margin: 4px 0 14px; flex: 1; }
.research-footnote { font-size: 12px; color: #FFFFFF; opacity: 0.45; line-height: 1.6; max-width: 700px; margin: 0; }

/* ============ INTERNATIONAL PAGE ============ */
.intl-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 600px) {
  .intl-stats { grid-template-columns: repeat(2, 1fr); }
}
.intl-stats > div { text-align: center; }
.intl-stats .num {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: #FFFFFF;
}
.intl-stats .lbl {
  margin-top: 8px;
  font-size: 11px;
  color: #FFFFFF;
  opacity: 0.55;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* timezone visualization */
.tz-wrap {
  position: absolute;
  inset: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.tz-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  align-items: center;
}
.tz-city {
  font-family: var(--mono);
  font-size: 11px;
  color: #FFFFFF;
  opacity: 0.65;
  letter-spacing: 0.02em;
}
.tz-track {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 2px;
  height: 14px;
}
.tz-block {
  background: #1F1F1F;
  border-radius: 2px;
}
.tz-block.night { background: #131313; }
.tz-block.ok    { background: #4ADE80; }
.tz-legend {
  margin-top: 14px;
  display: flex;
  gap: 18px;
  font-size: 10px;
  color: #FFFFFF;
  opacity: 0.55;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.tz-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tz-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

/* compliance jurisdiction list */
.compliance-list {
  position: absolute;
  inset: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}
.compliance-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px 10px;
  background: #1A1A1A;
  border-radius: 8px;
}
.compliance-flag {
  font-size: 18px;
  text-align: center;
}
.compliance-name { display: flex; flex-direction: column; gap: 2px; }
.compliance-name .country {
  font-size: 13px;
  color: #FFFFFF;
}
.compliance-name .body {
  font-family: var(--mono);
  font-size: 10px;
  color: #FFFFFF;
  opacity: 0.5;
  letter-spacing: 0.02em;
}

/* travel concierge card */
.travel-card {
  position: absolute;
  inset: 32px;
  background: #131313;
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
.travel-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid #1F1F1F;
  font-size: 13px;
}
.travel-row:last-of-type { border-bottom: none; padding-bottom: 0; }
.travel-row .k { color: #FFFFFF; opacity: 0.55; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.travel-row .v { color: #FFFFFF; font-family: var(--serif); font-size: 17px; }
.travel-row .v.mono-bold { font-family: var(--mono); font-size: 13px; color: #4ADE80; font-weight: 500; letter-spacing: 0.02em; }
.travel-stamp {
  margin-top: 4px;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10px;
  color: #4ADE80;
  background: #0F2E1C;
  padding: 5px 10px;
  border-radius: 6px;
  letter-spacing: 0.06em;
}

/* ============ DONOR PROFILE PAGE ============ */
.profile-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 140px 32px 120px;
}
.profile-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FFFFFF;
  opacity: 0.6;
  font-size: 13px;
  margin-bottom: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.profile-back:hover { opacity: 1; }

.profile-layout {
  display: grid;
  grid-template-columns: minmax(320px, 480px) 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) {
  .profile-layout { grid-template-columns: 1fr; }
}
.profile-portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
  background: #131313;
  border: 1px solid var(--line);
  position: sticky;
  top: 100px;
}
.profile-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile-portrait .ovl-tl {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(10px);
  padding: 6px 10px; border-radius: 6px;
}
.profile-portrait .ovl-tr {
  position: absolute; top: 16px; right: 16px;
  font-size: 12px; padding: 5px 12px; border-radius: 6px;
  background: #0F2E1C; color: #4ADE80; font-weight: 500;
}

.profile-info .alias-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  opacity: 0.5;
  margin-bottom: 12px;
}
.profile-info h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  font-weight: 400;
}
.profile-info .lede {
  font-size: 16px;
  line-height: 1.55;
  color: #FFFFFF;
  opacity: 0.8;
  margin: 0 0 32px;
  max-width: 580px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 48px 0;
}
.stat-cell {
  padding: 18px 20px 18px 0;
  border-right: 1px solid var(--line);
}
.stat-cell:nth-child(3n) { border-right: none; }
.stat-cell:nth-child(n+4) { padding-top: 18px; border-top: 1px solid var(--line); margin-top: -1px; }
.stat-cell .lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  opacity: 0.5;
  margin-bottom: 6px;
}
.stat-cell .val {
  font-family: var(--serif);
  font-size: 22px;
  color: #FFFFFF;
  line-height: 1.1;
}

.profile-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin: 24px 0 32px;
}
.profile-tab {
  padding: 10px 16px;
  font-size: 13px;
  color: #FFFFFF;
  opacity: 0.5;
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
}
.profile-tab.active { opacity: 1; border-bottom-color: #FFFFFF; }
.profile-tab:hover { opacity: 0.85; }

.report-block { padding: 8px 0 48px; }
.report-block h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 16px;
  font-weight: 400;
}
.report-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.report-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.report-row .k { color: #FFFFFF; opacity: 0.7; }
.report-row .v { font-family: var(--mono); font-size: 12px; }

/* purchase panel */
.purchase {
  background: #131313;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  margin-top: 48px;
}
.purchase-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.reserve-all-btn {
  padding: 11px 22px;
  background: #4ADE80;
  color: #0a1a10;
  border: 1px solid #4ADE80;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .12s, transform .1s, box-shadow .12s;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
}
.reserve-all-btn:hover { background: #6AE894; border-color: #6AE894; box-shadow: 0 6px 28px -8px rgba(74, 222, 128, 0.55); }
.reserve-all-btn:active { transform: translateY(1px); }
.stock-tag {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 5px;
  background: #0F2E1C;
  color: #4ADE80;
  align-self: start;
  width: fit-content;
}
.vial-price .per {
  font-size: 11px;
  opacity: 0.5;
  margin-left: 2px;
}
.qty button:disabled { opacity: 0.25; cursor: not-allowed; }
.purchase-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.purchase-row:last-of-type { border-bottom: none; }
.vial-type {
  display: flex; flex-direction: column; gap: 4px;
}
.vial-type .name { font-family: var(--serif); font-size: 19px; }
.vial-type .desc { font-size: 12px; color: #FFFFFF; opacity: 0.55; }
.vial-price {
  font-family: var(--mono);
  font-size: 14px;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
}
.qty button {
  width: 30px; height: 30px;
  background: none; border: none;
  color: #FFFFFF; opacity: 0.7;
  cursor: pointer;
  font-size: 16px;
}
.qty button:hover { opacity: 1; }
.qty .val { width: 28px; text-align: center; font-family: var(--mono); font-size: 13px; }

.purchase-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--line);
}
.purchase-foot .total { font-family: var(--serif); font-size: 28px; }
.purchase-foot .total .small { font-size: 12px; opacity: 0.5; margin-left: 6px; font-family: var(--mono); }

/* category chips for profile genetic table */
.chip-cat {
  display: inline-block;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 6px;
  font-family: var(--mono);
  letter-spacing: 0.02em;
  font-weight: 500;
}
.chip-cat.cat-cancer       { background: #2A0E1A; color: #F47AAE; }
.chip-cat.cat-carrier      { background: #2A1230; color: #D49BE6; }
.chip-cat.cat-cardiac      { background: #2A1F0E; color: #FBBF24; }
.chip-cat.cat-metabolic    { background: #0E2A2A; color: #5EEAD4; }
.chip-cat.cat-chromosomal  { background: #112548; color: #60A5FA; }
.chip-cat.cat-hemoglobin   { background: #131F1A; color: #8FB89C; }
.chip-cat.cat-highlight    { background: #2E1F0E; color: #FBBF24; }
.chip-cat.cat-verification { background: #0F2E1C; color: #4ADE80; }

/* genetic-table inside donor profile — share row styles, slightly tighter */
.genetic-table {
  margin-top: 0;
  font-size: 13px;
}
.genetic-table th {
  position: static;
  top: auto;
  background: transparent;
  padding: 10px 12px;
}
.genetic-table td {
  padding: 11px 12px;
}
.genetic-table tr.row { cursor: default; }

/* ============ BABY PREVIEW (donor profile page) ============ */
.babies-section {
  margin-top: 64px;
  padding: 48px 0 16px;
  border-top: 1px solid var(--line);
}
.babies-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
  gap: 24px;
}
.babies-head h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
}
.babies-tag {
  font-size: 12px;
  color: #FFFFFF;
  opacity: 0.55;
  margin-top: 6px;
}
.babies-head .babies-sub {
  font-family: var(--mono);
  font-size: 11px;
  color: #FFFFFF;
  opacity: 0.55;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.preview-composer {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto auto;
  gap: 16px;
  align-items: center;
  background: #0F0F0F;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 22px;
}
@media (max-width: 720px) {
  .babies-section {
    margin-top: 48px;
    padding: 36px 0 8px;
  }
  .babies-head {
    align-items: flex-start;
    margin-bottom: 18px;
  }
  .babies-head h3 {
    font-size: clamp(28px, 9vw, 36px);
    line-height: 0.98;
  }
  .babies-tag {
    font-size: 11px;
    margin-top: 8px;
  }
  .babies-head .babies-sub {
    padding-top: 5px;
    font-size: 10px;
    white-space: nowrap;
  }
  .preview-composer {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "drop donor"
      "btn  btn";
    gap: 12px;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 18px;
  }
  .preview-composer .composer-mid { display: none; }
  .preview-composer .photo-drop { grid-area: drop; }
  .preview-composer .donor-mini { grid-area: donor; }
  .preview-composer .generate-btn { grid-area: btn; }
}

.photo-drop {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1.5px dashed #3a3a3a;
  background: #131313;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: border-color .15s, background .15s;
  text-align: center;
  padding: 12px;
}
.photo-drop:hover { border-color: #555; }
.photo-drop.dragover { border-color: #FFFFFF; background: #1A1A1A; }
.photo-drop.filled { border-style: solid; border-color: var(--line); padding: 0; }
.photo-drop img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 420px) {
  .photo-drop {
    border-radius: 10px;
    padding: 10px;
  }
  .photo-drop svg {
    width: 22px;
    height: 22px;
    margin-bottom: 7px !important;
  }
  .photo-drop div {
    font-size: 12px !important;
  }
  .photo-drop div + div {
    font-size: 10px !important;
    margin-top: 2px !important;
  }
}

.composer-mid {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
}
.composer-mid .op-sign {
  font-family: var(--serif);
  font-size: 32px;
  color: #FFFFFF;
  opacity: 0.4;
  line-height: 1;
}

.donor-mini {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #131313;
  border: 1px solid var(--line);
}
.donor-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.donor-mini > svg { width: 100%; height: 100%; }
.donor-mini-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
  padding: 22px 12px 10px;
  color: #FFFFFF;
}
.donor-mini-label .alias { font-family: var(--serif); font-size: 18px; line-height: 1.1; }
.donor-mini-label .code { font-family: var(--mono); font-size: 10px; opacity: 0.65; letter-spacing: 0.04em; margin-top: 2px; }
@media (max-width: 420px) {
  .donor-mini {
    border-radius: 10px;
  }
  .donor-mini-label {
    padding: 28px 10px 9px;
  }
  .donor-mini-label .alias {
    font-size: 15px;
  }
  .donor-mini-label .code {
    font-size: 9px;
  }
}

.generate-btn {
  padding: 14px 24px;
  background: #FFFFFF;
  color: #0a0a0a;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background .15s, opacity .15s;
  white-space: nowrap;
  height: fit-content;
  align-self: center;
}
.generate-btn:hover:not(:disabled) { background: #f5f5f5; }
.generate-btn:disabled { opacity: 0.35; cursor: not-allowed; background: #2A2A2A; color: #FFFFFF; }
@media (max-width: 720px) {
  .generate-btn {
    width: 100%;
    min-height: 48px;
    padding: 15px 18px;
  }
}
.preview-error {
  margin: -8px 0 18px;
  color: #F1B5A8;
  font-size: 12px;
  line-height: 1.5;
}

.babies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 600px) {
  .babies-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
.baby-card { display: flex; flex-direction: column; gap: 10px; }
.baby-slot {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #131313;
  border: 1px solid var(--line);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.baby-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.baby-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.baby-slot.shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
  animation: shimmer 1.6s infinite;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.baby-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
}
.baby-meta .name { font-family: var(--serif); font-size: 15px; color: #FFFFFF; }
.baby-meta .born { font-family: var(--mono); opacity: 0.5; }
@media (max-width: 600px) {
  .baby-card {
    gap: 9px;
  }
  .baby-slot {
    border-radius: 14px;
  }
  .baby-meta .name {
    font-size: 18px;
  }
  .baby-meta .born {
    font-size: 11px;
  }
}
.baby-disclaimer {
  margin-top: 18px;
  font-size: 11px;
  color: #FFFFFF;
  opacity: 0.45;
  line-height: 1.5;
  max-width: 620px;
}
@media (max-width: 600px) {
  .baby-disclaimer {
    font-size: 12px;
    line-height: 1.55;
    max-width: none;
  }
}

/* ============ CART ============ */
.cart-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px;
  background: #FFFFFF; color: #0a0a0a;
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  margin-left: 6px;
  padding: 0 6px;
}

.cart-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 140px 32px 120px;
}
.cart-head {
  text-align: center;
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.cart-head .eyebrow {
  font-size: 13px;
  color: #FFFFFF;
  opacity: 0.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.cart-head h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1;
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: #FFFFFF;
}
.cart-head h1 em { font-style: italic; }
.cart-head .count {
  display: block;
  margin-top: 16px;
  color: #FFFFFF;
  opacity: 0.55;
  font-size: 14px;
  letter-spacing: 0.04em;
  font-family: var(--mono);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) {
  .cart-layout { grid-template-columns: 1fr; }
}

.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-thumb {
  width: 96px; height: 120px;
  border-radius: 10px;
  overflow: hidden;
  background: #131313;
  border: 1px solid var(--line);
}
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-info .alias {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.1;
  margin-bottom: 4px;
}
.cart-info .code { font-family: var(--mono); font-size: 12px; opacity: 0.55; margin-bottom: 10px; }
.cart-info .vial-meta { font-size: 13px; opacity: 0.7; }

.cart-right { display: flex; flex-direction: column; gap: 12px; align-items: end; }
.cart-right .line-total { font-family: var(--mono); font-size: 16px; }
.cart-remove {
  font-size: 12px; background: none; border: none; color: #FFFFFF; opacity: 0.5;
  cursor: pointer; padding: 0;
}
.cart-remove:hover { opacity: 1; }

.empty-cart {
  text-align: center;
  padding: 80px 20px;
  color: #FFFFFF;
}
.empty-cart .empty-title {
  font-family: var(--serif);
  font-size: 28px;
  margin: 0 0 12px;
  color: #FFFFFF;
}
.empty-cart .empty-sub {
  font-size: 15px;
  opacity: 0.6;
  margin: 0 0 32px;
}

.checkout {
  background: #131313;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  position: sticky;
  top: 100px;
}
.checkout h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin: 0 0 16px;
  font-weight: 400;
}
.checkout-row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  color: #FFFFFF; opacity: 0.85;
}
.checkout-row.subtle { opacity: 0.55; font-size: 13px; }
.checkout-divider { border-top: 1px solid var(--line); margin: 12px 0; }
.checkout-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0 18px;
  font-family: var(--serif);
  font-size: 28px;
}
.checkout-total .small { font-family: var(--mono); font-size: 12px; opacity: 0.5; }

.shipping-input {
  width: 100%;
  background: #1A1A1A;
  border: 1px solid var(--line-strong);
  color: #FFFFFF;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  margin-bottom: 8px;
}
.shipping-input:focus { outline: none; border-color: #555; }

.checkout-btn {
  width: 100%;
  padding: 14px 18px;
  background: #FFFFFF;
  color: #0a0a0a;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  border: none;
  cursor: pointer;
  margin-top: 16px;
  transition: background .15s;
}
.checkout-btn:hover { background: #f5f5f5; }
.checkout-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.add-cart-btn {
  flex: 1;
  padding: 13px 22px;
  background: #FFFFFF;
  color: #0a0a0a;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background .15s;
}
.add-cart-btn:hover { background: #f5f5f5; }

.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #FFFFFF;
  color: #0a0a0a;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  z-index: 100;
  animation: toastIn .25s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }
