/* Shared styles for the MIP resource pages and homepage leadership section. */
.resource-page {
  --resource-width: 1200px;
  --resource-gutter: clamp(20px, 6vw, 96px);
  --resource-line: #cbd8c2;
  --resource-header-bottom: 137px;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
}

.resource-width {
  width: min(var(--resource-width), calc(100% - 2 * var(--resource-gutter)));
  margin-inline: auto;
}

.header nav a[aria-current="page"]::after { width: 100%; }

.resource-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px clamp(16px, 2vw, 30px);
}
.resource-links a { font-weight: 600; }
.resource-page :focus-visible, .team-section a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.resource-page .announcement { background: #173d32; }
.resource-page .header:not(.is-light) {
  background: linear-gradient(130deg, #234439, #142d27);
}
.resource-page main {
  padding-top: calc(var(--resource-header-bottom) + clamp(48px, 5.5vw, 80px));
}
.resource-hero {
  display: grid;
  align-items: center;
  min-height: 390px;
  margin-inline: clamp(12px, 3vw, 48px);
  border-radius: 18px;
  background: radial-gradient(ellipse at top right, #285d49, transparent 65%), #132d27;
  color: var(--paper);
  padding-block: clamp(36px, 5vw, 64px);
}
.about-page-hero {
  background: linear-gradient(90deg, #102c25f5, #102c25d9 56%, #102c2585),
    url('assets/site-progress/entrance-overview.jpg') 55% 55% / cover;
}
.resource-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.resource-hero h1 {
  width: auto;
  margin: 0 0 14px;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.resource-hero p, .resource-story p {
  max-width: 60ch;
  color: var(--soft);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.5;
}
.resource-hero p { margin-bottom: 0; color: #e0eade; }
.resource-price {
  display: grid;
  gap: 6px;
  justify-self: stretch;
  padding: clamp(16px, 2.3vw, 30px);
  border: 1px solid #436c54;
  border-radius: 12px;
  background: #102923a8;
  color: #f5f4ef;
}
.resource-price span { font-size: 14px; }
.resource-price strong { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.15; font-weight: 600; letter-spacing: -.025em; }
.resource-section { padding-block: clamp(28px, 4vw, 52px); }
.resource-section h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.team-section h2 {
  font-size: clamp(36px, 5.5vw, 66px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
}
.resource-page main [id] { scroll-margin-top: 118px; }
.resource-plan-links { margin-top: 22px; }
.resource-plan-links a {
  padding: 6px 12px;
  font-size: 14px;
  border: 1px solid #b4cdb095;
  border-radius: 9px;
}
.resource-plan-links a:hover { background: #e0eade; color: var(--ink); }
.resource-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}
.resource-features article {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--resource-line);
  border-radius: 14px;
  background: #e8ede3;
}
.resource-features h3 { margin-bottom: 0; font-size: clamp(16px, 1.6vw, 21px); font-weight: 600; }
.resource-features p { color: var(--soft); }
.resource-features p, .resource-story article p { margin-bottom: 0; }
.schedule-list { display: grid; gap: clamp(18px, 2.5vw, 34px); }
.schedule-detail { border: 1px solid var(--resource-line); border-radius: 14px; overflow: hidden; }
.schedule-heading {
  margin: 0;
  padding: 12px clamp(14px, 2vw, 22px);
  color: var(--ink);
  background: #e5ece1;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
}
.schedule-body { padding: clamp(14px, 3vw, 24px); background: #fbfbf7; }
.schedule-scroll { max-width: 100%; overflow-x: auto; }
.schedule-scroll:focus-visible { outline-offset: -2px; }
.schedule-table { width: 100%; border-collapse: collapse; line-height: 1.35; font-variant-numeric: tabular-nums; }
.schedule-table caption { padding: 0 0 12px; color: var(--soft); text-align: left; }
.schedule-table :is(th, td) { border-bottom: 1px solid #dae3d6; padding: 9px 10px; text-align: right; }
.schedule-table :is(th:nth-child(-n+2), td:nth-child(-n+2)) { text-align: left; }
.schedule-table td { white-space: nowrap; }
.schedule-table thead { background: #173d32; color: #fff; }
.schedule-table tbody th { font-weight: 600; }
.schedule-table tbody tr:nth-child(even), .schedule-table tfoot { background: #edf1e9; }
.schedule-original { display: inline-block; margin-top: 16px; color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.resource-story { background: #e7ede2; }
.resource-story .resource-width:not(.resource-sme) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 6vw, 88px);
}
.resource-sme > p { margin-bottom: 18px; }
.resource-features { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 0; }

.team-section {
  background: #e7ede2;
  color: var(--ink);
  scroll-margin-top: 120px;
}
.team-heading { margin-bottom: clamp(24px, 4vw, 46px); }
.team-heading p { margin-top: 12px; color: #486047; font-size: clamp(16px, 2vw, 19px); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
}
.team-member {
  position: relative;
  display: flex;
  min-width: 0;
  padding: clamp(13px, 1.3vw, 18px);
  background: #f6f8f3;
  border: 1px solid #cbd9c7;
  border-radius: 13px;
}
.team-member::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #2b7157;
  opacity: 0;
}
.team-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
}
.team-member h3 {
  color: #17342b;
  font-family: Urbanist, system-ui, sans-serif;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.012em;
  text-wrap: pretty;
}
.team-member :is(h3, p) { margin: 0; }
.team-member p {
  color: #486047;
  font-family: Urbanist, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: normal;
  text-wrap: pretty;
}

/* Share the name and appointment tracks across each row of cards. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 521px) {
    .team-member, .team-info {
      display: grid;
      grid-template-rows: subgrid;
      row-gap: 6px;
    }
    .team-member { grid-row: span 2; }
    .team-info { grid-row: 1 / -1; }
  }
}
@media (hover: hover) and (pointer: fine) {
  .team-member:hover {
    z-index: 1;
    background: #edf6e9;
    border-color: #7bae8a;
    box-shadow: 0 9px 22px #173d321c;
  }
  .team-member:hover::before { opacity: 1; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .team-member {
    transition: transform .22s ease, background-color .22s ease, border-color .22s ease, box-shadow .22s ease;
  }
  .team-member::before { transition: opacity .22s ease; }
  .team-member:hover { transform: translateY(-3px); }
}
@media (max-width: 1000px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1000px) {
  .resource-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) and (max-height: 820px) {
  .resource-page { --resource-header-bottom: 119px; }
}
@media (max-width: 999px) {
  .resource-page { --resource-header-bottom: 96px; }
}
@media (max-width: 700px) {
  .resource-page { --resource-header-bottom: 100px; }
  .resource-hero { min-height: 350px; border-radius: 14px; }
  .resource-hero-grid, .resource-story .resource-width:not(.resource-sme) { grid-template-columns: minmax(0, 1fr); }
  .schedule-table { font-size: 14px; }
  .schedule-table :is(th, td) { padding-inline: 7px; }
}
@media (max-width: 420px) {
  .resource-features { grid-template-columns: minmax(0, 1fr); }
  .schedule-table { font-size: 12px; }
}


/* Keep the progress film and gallery on the site's shared content grid. */
.progress-film.section {
  padding-block: clamp(28px, 5vw, 64px);
}
.progress-film-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
  padding: clamp(18px, 3vw, 40px);
  border-radius: 18px;
  background: #e8eee9;
}
.progress-film-copy h2 {
  margin: 0;
  font: 600 clamp(27px, 3.5vw, 54px)/1.05 var(--display);
}
.progress-film-copy p {
  margin: 12px 0 20px;
}
.progress-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #122e28;
  object-fit: contain;
}
.photo-track .photo {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}
.photo > .progress-photo-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0;
  border-radius: 13px;
  background: #122e28;
}
.progress-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.progress-photo-branded img {
  object-fit: contain;
}
.photo > .progress-photo-caption {
  width: 100%;
  gap: 12px;
}
@media (max-width: 720px) {
  .progress-film-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Align the carousel controls with the start and end of the photo rail. */
.development .development-header {
  width: 100%;
  max-width: none;
  padding-inline: max(6%, calc((100% - 1280px) / 2));
}
.development .gallery-navigation {
  flex-shrink: 0;
}

/* Darker secondary text keeps the existing green palette legible. */
.partner-industries > p,
.map-view-tabs > button[aria-pressed="false"],
#distance-list .distance-index,
.road-hierarchy > p,
#utility-buttons > button[aria-pressed="false"] > strong,
.security-facts > article > p,
.amenity-cinema-controls > p,
.journal-heading > p,
.article-grid > article > time,
.article-grid > article > p,
.contact-intro > p {
  color: #486047;
}
