@charset "UTF-8";
/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  min-height: 0;
}
.hero-copy { position: relative; z-index: 2; padding: 14px 0 26px; }
.eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 17px;
  color: var(--red);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.15px;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 19px; height: 1px; flex-shrink: 0;
  background: var(--red); content: "";
}
.hero h1 {
  margin-bottom: 16px;
  color: #1e2020;
  font-family: var(--font-display);
  font-size: clamp(44px, 5.6vw, 76px);
  font-weight: 700;
  letter-spacing: -.8px;
  line-height: 1.02;
}
.hero h1 span { color: #8b8078; font-style: italic; font-weight: 500; }
.hero-description {
  max-width: 565px;
  margin-bottom: 23px;
  color: #403b37;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
}
.hero-art { min-width: 0; margin-left: -10px; }
.hero-art-figure {
  position: relative;
  display: block;
  width: 100%;
  max-width: 478px;
  margin: 0 auto;
}
.hero-art img { display: block; width: 100%; height: auto; }
.hero-art svg { width: 100%; height: auto; }
.hero-art svg.hero-art-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-art-annot text {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}

/* ===== Database Overview ===== */
#page-home > .cx-overview-container {
  display: block;
  margin: 24px auto 30px;
  min-width: 0;
}
#page-home .cx-overview {
  --cx-ov-heading: var(--ink);
  --cx-ov-text: #716761;
  --cx-ov-accent: var(--red);
  --cx-ov-border: var(--line);
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--cx-ov-border);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(38, 76, 114, 0.04);
}
#page-home .cx-overview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 26px 0;
  background: #fbf9f7;
}
#page-home .cx-overview-header h2,
#page-home .cx-overview-species h3 {
  margin: 0;
  color: var(--cx-ov-heading);
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
#page-home .cx-overview-header h2::before,
#page-home .cx-overview-species h3::before {
  content: "";
  display: block;
  flex: 0 0 18px;
  height: 2px;
  background: var(--cx-ov-accent);
}
#page-home .cx-overview-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 20px 16px 24px;
  background: #fbf9f7;
}
#page-home .cx-overview-stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 14px;
}
#page-home .cx-overview-stat:not(:last-child) {
  border-right: 1px solid var(--cx-ov-border);
}
#page-home .cx-overview-icon,
#page-home .cx-species-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--cx-ov-accent);
}
#page-home .cx-overview-icon svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#page-home .cx-overview-stat strong {
  display: block;
  color: var(--cx-ov-accent);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}
#page-home .cx-overview-label {
  color: var(--cx-ov-text);
  font-size: 13px;
  line-height: 1.35;
}
#page-home .cx-overview-note {
  margin: 0;
  padding: 9px 26px;
  border-top: 1px solid var(--cx-ov-border);
  background: #fbf9f7;
  color: var(--cx-ov-text);
  font-size: 12px;
}

/* ===== Explore Analysis Tools ===== */
.home-analysis {
  padding: 29px 0 35px;
  background: rgba(255, 255, 255, .64);
  border-bottom: 1px solid var(--line);
}
.section-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}
.section-heading::before {
  width: 19px; height: 1px;
  background: var(--red); content: "";
}
.section-heading h2 { margin: 0; font-size: 23px; }
.analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.analysis-card {
  padding: 0 28px 0 0;
  border-right: 1px solid var(--line);
}
.analysis-card:last-child { padding-right: 0; border-right: 0; }
.module-icon {
  display: grid;
  width: 48px; height: 48px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #f0e8e4;
  color: var(--red);
}
.module-icon svg { width: 28px; height: 28px; }
.analysis-card h3 { margin-bottom: 10px; font-size: 21px; }
.analysis-card p {
  min-height: 65px;
  margin-bottom: 14px;
  color: #746b64;
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.7;
}
.preview {
  display: grid;
  height: 170px;
  place-items: center;
  overflow: hidden;
  margin: 15px 0;
  border: 1px solid #eee7e1;
  background: #fff;
}
.preview svg { width: 100%; height: 100%; }
.preview-empty { padding: 17px; text-align: center; }
.preview-empty strong {
  display: block;
  margin: 8px 0 3px;
  color: #625851;
  font-family: var(--font-display);
  font-size: 15px;
}
.preview-empty small { color: #95877c; font-size: 10px; }
.card-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1.08fr 1fr; }
  .analysis-grid { gap: 20px; }
  .analysis-card { padding-right: 18px; }
  .analysis-card h3 { font-size: 18px; }
}
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding: 25px 0 5px; }
  .hero h1 { font-size: 47px; }
  .hero-description { max-width: none; font-size: 15px; }
  .hero-art { width: min(100%, 530px); margin: 0 auto; }
  .analysis-grid { grid-template-columns: 1fr; }
  .analysis-card, .analysis-card:last-child {
    padding: 0 0 25px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .analysis-card:last-child { padding-bottom: 0; border-bottom: 0; }
  .preview { height: 190px; }
}
@media (max-width: 640px) {
  #page-home .cx-overview-header { padding: 16px 16px 0; }
  #page-home .cx-overview-header h2 { font-size: 18px; }
  #page-home .cx-overview-stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
    padding: 18px 8px;
  }
  #page-home .cx-overview-stat:nth-child(2) { border-right: 0; }
  #page-home .cx-overview-note { padding: 9px 16px; }
}