/* Science */

.science-section {
  position: relative;
  display: grid;
  isolation: isolate;
  color: var(--ivory);
  background: #020704;
  grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding-block: 72px;
  overflow: clip;
}

.science-visual {
  position: relative;
  top: auto;
  min-height: 0;
  height: 390px;
  overflow: visible;
  background: none;
}

.science-visual picture {
  position: absolute;
  inset: auto;
  width: 100%;
  aspect-ratio: 1672 / 941;
  left: 0;
  top: 0;
  transform: none;
}

.science-visual img {
  display: block;
  object-position: 10% center;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
  transition: none;
}

.science-visual-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: none;
}

.science-panel {
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: none;
  box-shadow: none;
}

.section-eyebrow,
.evidence-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(245, 240, 230, 0.9);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.section-eyebrow i,
.evidence-heading i {
  flex: 1;
  height: 1px;
  background: rgba(245, 240, 230, 0.52);
}

.section-eyebrow i {
  max-width: 92px;
}

.science-panel h2 {
  margin: 14px 0 16px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(3.7rem, 4.25vw, 5.15rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.94;
  max-width: 800px;
}

.science-panel h2 em {
  font-weight: 400;
}

.science-intro {
  margin: 0 0 24px;
  max-width: 800px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.pathway-list {
  display: grid;
  gap: 8px;
}

.pathway-card {
  width: 100%;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--ivory);
  text-align: left;
  border: 1px solid rgba(135, 235, 136, 0.62);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  min-height: 80px;
  padding: 14px 44px 14px 18px;
  border-color: var(--line);
  border-radius: 10px;
  background: linear-gradient(110deg, rgb(33 58 24 / 30%), rgb(10 20 10 / 60%));
  box-shadow: none;
}

.pathway-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--lime);
  opacity: 0;
  box-shadow: 0 0 18px var(--lime);
  transition: opacity 220ms ease;
  display: none;
}

.pathway-card:hover,
.pathway-card.is-open {
  transform: translateX(-3px);
  border-color: rgba(157, 245, 139, 0.9);
  background: linear-gradient(105deg, rgba(18, 79, 34, 0.5), rgba(3, 21, 11, 0.72));
  box-shadow: inset 0 0 36px rgba(55, 194, 75, 0.1), 0 18px 44px rgba(0, 0, 0, 0.2);
}

.pathway-card:hover::before,
.pathway-card.is-open::before {
  opacity: 1;
}

.pathway-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 50px;
  color: #d0eab1;
  background: none;
  clip-path: none;
  filter: none;
  border-left: 1px solid #779654;
}

.pathway-icon::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: #072012;
  clip-path: inherit;
  display: none;
}

.pathway-icon > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.pathway-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.pathway-copy strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 1;
  font-size: 26px;
}

.pathway-copy > span:not(.pathway-detail) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.pathway-detail {
  overflow: hidden;
  transition: max-height 280ms ease, opacity 220ms ease, padding-top 220ms ease;
  max-height: none;
  font-size: 12px;
  line-height: 1.5;
  color: #d0eab1;
  opacity: 1;
}

.pathway-card.is-open .pathway-detail {
  padding-top: 5px;
  opacity: 1;
  max-height: none;
}

.pathway-arrow {
  position: absolute;
  inset: 16px 0 16px auto;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(162, 235, 164, 0.34);
  width: 34px;
  border: 0;
  color: #b2c99c;
}

.pathway-arrow svg {
  transition: transform 220ms ease;
  width: 18px;
}

.pathway-card.is-open .pathway-arrow svg {
  transform: rotate(180deg);
}

.evidence-heading {
  font-size: 0.63rem;
  margin: 24px 0 12px;
  letter-spacing: .14em;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.evidence-card {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  display: block;
  padding: 2px 0 6px 14px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: none;
  text-align: left;
}

.evidence-card strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 0.95;
  display: block;
  color: #d0eab1;
  font-size: clamp(32px, 3vw, 48px);
  text-shadow: none;
  font-variant-numeric: tabular-nums;
}

.evidence-card span {
  font-weight: 500;
  display: block;
  max-width: 150px;
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.evidence-card small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  color: #a6b399;
  text-transform: none;
  letter-spacing: 0;
}

.science-sources {
  margin-top: 15px;
  padding-top: 13px;
  display: grid;
  gap: 7px;
  border-top: 1px solid rgba(245, 240, 230, 0.1);
}

.science-sources p {
  margin: 0;
  line-height: 1.5;
  color: #aab69f;
  font-size: 11px;
}

.science-sources p > span {
  color: rgba(238, 241, 232, 0.78);
  font-weight: 600;
}

.science-sources a {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: #b6e477;
  text-decoration: underline;
  text-decoration-color: rgba(182, 228, 119, 0.36);
  text-underline-offset: 3px;
}

