/* Base styles are mobile-first. This file layers enhancements. */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
}

.table-wrap table {
  min-width: 520px;
}

.table-wrap th,
.table-wrap td {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: var(--fs-small);
  border-bottom: 1px solid var(--color-line);
}

.table-wrap th {
  font-size: var(--fs-caption);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-forest);
  background: rgba(16, 37, 27, 0.04);
}

@media (max-width: 479px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 4.5rem);
  }

  .hero__title {
    font-size: clamp(2.75rem, 18vw, 4.5rem);
  }

  .btn,
  .btn--lg {
    width: 100%;
  }

  .btn-group-mobile > .btn {
    width: 100%;
  }
}

@media (min-width: 480px) {
  :root {
    --gutter: 1.5rem;
  }
}

@media (min-width: 640px) {
  .hero__meta {
    gap: 1rem 2.5rem;
  }
}

@media (min-width: 768px) {
  .section-head--between {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-lg);
    flex-wrap: wrap;
  }

  .contact-block {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pathway {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
  }

  .pathway__item {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0 0 0;
    padding-right: 1rem;
  }

  .pathway__marker {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .pathway__line {
    width: auto;
    height: 1.5px;
    flex: 1;
  }

  .pathway__body {
    padding-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .primary-nav {
    display: block;
  }

  .nav-toggle {
    display: none;
  }

  .nav-cta {
    display: inline-flex;
  }

  .mobile-nav {
    display: none;
  }

  .hero {
    min-height: min(96vh, 940px);
    align-items: center;
  }

  .hero__actions .btn {
    width: auto;
  }
}

@media (min-width: 1280px) {
  .site-footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 4rem;
  }
}

@media (max-width: 379px) {
  .brand__tag {
    display: none;
  }
}
