/* 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); }
.team-heading { margin-bottom: clamp(24px, 4vw, 46px); }
.team-heading p { margin-top: 12px; color: var(--soft); font-size: clamp(16px, 2vw, 19px); }
.team-leads, .team-grid { display: grid; gap: clamp(12px, 2vw, 22px); }
.team-leads { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: clamp(12px, 2vw, 22px); }
.team-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.team-member {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  background: #f0f4eb;
  border: 1px solid #cad9c5;
  border-radius: 15px;
  transition: background-color .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.team-leads .team-member { grid-template: auto / minmax(0, .9fr) minmax(0, 1fr); align-items: stretch; }
.team-media {
  position: relative;
  aspect-ratio: 1;
  background: #dce6da;
}
.team-media .team-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}
.team-leads .team-media { min-height: 150px; }
.team-member .team-info { align-self: center; padding: clamp(12px, 2vw, 24px); }
.team-member h3 { font-size: clamp(16px, 1.6vw, 23px); font-weight: 600; }
.team-leads h3 { font-size: clamp(19px, 2.45vw, 34px); }
.team-member :is(h3, p) { margin-bottom: 0; }
.team-member p { margin-top: 6px; color: var(--soft); font-size: 14px; }
.team-photo-placeholder {
  display: grid;
  place-items: center;
  color: #365d49;
  font-size: clamp(24px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -.035em;
  transition: background-color .24s ease;
}

@media (hover: hover) {
  .team-member:hover {
    background-color: #dcebd7;
    border-color: #8fae86;
    box-shadow: 0 8px 22px #173d321a;
  }
  .team-member:hover .team-photo-placeholder { background-color: #c9dfc2; }
}
@media (prefers-reduced-motion: reduce) {
  .team-member, .team-photo-placeholder { transition: none; }
}

@media (max-width: 1000px) {
  .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .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; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-leads .team-member { grid-template: auto 1fr / minmax(0, 1fr); }
  .team-leads .team-media { min-height: 0; }
}
@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;
}
