/* Geotechnical & Pile Testing page */

#static,
#dynamic,
#integrity { scroll-margin-top: calc(var(--header-h) + 60px); }

/* Test family cards (whole card is a link) */
.geo-family { text-decoration: none; }
.geo-family .link-arrow { margin-top: auto; padding-top: var(--space-4); }
.geo-family:hover { transform: translateY(-3px); }

/* Load range stat */
.geo-range { grid-template-columns: 1fr; }
.geo-range dd:not(.spec-stats__note) { font-size: var(--fs-2xl); }

/* Static test methods */
.geo-methods { display: grid; gap: var(--space-3); }
.geo-method {
  position: relative;
  padding: var(--space-5) var(--space-5) var(--space-5) var(--space-6);
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.geo-method::before {
  content: "";
  position: absolute;
  top: var(--space-5);
  bottom: var(--space-5);
  left: 0;
  width: 4px;
  background: var(--color-accent);
}
.geo-method h3 { font-size: 1.3rem; }
.geo-method p { margin-top: var(--space-2); font-size: var(--fs-sm); color: var(--color-text-muted); }

/* Dynamic + integrity */
.geo-duo { gap: clamp(2rem, 1rem + 3vw, 4rem); }
.geo-duo__item { display: grid; gap: var(--space-4); align-content: start; }
.geo-duo__item h2 { font-size: var(--fs-2xl); }
.geo-duo__item p { color: var(--color-text-muted); }
.geo-duo__img { aspect-ratio: 16 / 10; }

/* Instruments table */
.geo-table td[rowspan] {
  background: var(--ink-50);
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: top;
  border-right: 1px solid var(--color-border);
}
.geo-table tbody tr:nth-child(even) { background: transparent; }
.geo-table td[rowspan] + td { font-weight: 600; color: var(--ink-900); white-space: nowrap; }
.geo-table td[rowspan] ~ td:last-child { font-weight: 400; }
