/* This stylesheet is loaded only by the section landing template. */
body.inner_page {
  --section-paper: #f7f2ea;
  background: var(--section-paper);
}

.gdt-section-landing {
  --section-ink: #1f1b17;
  --section-accent: #7d552a;
  --section-line: #d8cdbd;
  background: var(--section-paper);
  color: var(--section-ink);
  font-size: 17px;
}

.gdt-section-landing .section-crumbs { padding-top: 24px; }
.gdt-section-landing .section-crumbs a { color: var(--section-accent); }
.gdt-section-landing .section-crumbs [aria-current="page"] { color: var(--section-ink); }
.gdt-section-landing h1, .gdt-section-landing h2 {
  margin: 0 0 14px;
  font-family: "Source Serif 4", "Source Serif Pro", "PT Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.12;
  text-transform: none;
}
.gdt-section-landing h1 { font-size: clamp(30px, 3.65vw, 50px); }
.gdt-section-landing h2 { font-size: clamp(26px, 3vw, 40px); }
.gdt-section-landing h3 { margin: 0 0 5px; font-size: 18px; text-transform: none; }
.gdt-section-landing figure, .gdt-section-landing p { margin: 0; }
.gdt-section-landing p, .gdt-section-landing summary { line-height: 1.6; }
.gdt-section-landing figure img { display: block; width: 100%; object-fit: cover; }
.gdt-section-landing figcaption { padding-top: 8px; font-size: 14px; }
.gdt-section-landing .lead { margin: 18px 0 24px; max-width: 58ch; font-size: clamp(16px, 1.6vw, 20px); }
.gdt-section-landing .text-link { display: inline-block; margin-top: 12px; color: var(--section-accent); text-decoration: underline; text-underline-offset: .2em; }
.gdt-section-landing .engineering-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 28px 40px; align-items: center; padding-block: 20px clamp(40px, 7vw, 80px); position: relative; }
.gdt-section-landing .hero-photo img { height: clamp(260px, 35vw, 475px); border-radius: 8px; }
.gdt-section-landing .hero-detail { position: absolute; right: 12px; bottom: 72px; width: min(155px, 22%); padding: 6px; background: var(--section-paper); }
.gdt-section-landing .hero-detail img { height: 115px; border-radius: 4px; }
.gdt-section-landing :is(.gallery-section, .contact-band, .faq-section, .detail-band) { padding-block: clamp(42px, 6vw, 80px); }
.gdt-section-landing :is(.gallery-section, .detail-band-cream) { background: #fff; }
.gdt-section-landing :is(.section-heading, .detail-band, .detail-band-inner, .contact-content) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 30px 48px; }
.gdt-section-landing .section-heading { margin-bottom: 25px; }
.gdt-section-landing .engineering-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gdt-section-landing .gallery-item { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 5px; }
.gdt-section-landing .gallery-item a { display: block; height: 100%; }
.gdt-section-landing .gallery-item img { height: 100%; }
.gdt-section-landing .gallery-item figcaption { position: absolute; inset: auto 0 0; padding: 26px 12px 9px; background: linear-gradient(transparent, #16120eeb); color: #fff; pointer-events: none; }

.gdt-section-landing .gallery-section + .gallery-section { padding-block-start: 0; }
.gdt-section-landing [aria-labelledby="engineering-electrical-heading"] .engineering-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gdt-section-landing [aria-labelledby="engineering-electrical-heading"] .gallery-item { aspect-ratio: 3 / 4; }

@media (min-width: 993px) {
  .gdt-section-landing [aria-labelledby="engineering-electrical-heading"] .engineering-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.gdt-section-landing .detail-band-cream { display: block; }
.gdt-section-landing details { border-bottom: 1px solid var(--section-line); }
.gdt-section-landing summary { padding-block: 13px; font-weight: 700; cursor: pointer; }
.gdt-section-landing details p { padding-bottom: 15px; }
.gdt-section-landing .contact-band { background: #211c17; color: #f7f2ea; }
.gdt-section-landing .contact-band .homepage-eyebrow { color: #e4c08e; }
.gdt-section-landing .contact-content { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.gdt-section-landing .contact-action { justify-self: end; }
.gdt-section-landing :is(#gallery, #contact) { scroll-margin-top: 110px; }

@media (max-width: 700px) {
  .gdt-section-landing { font-size: 16px; }
  .gdt-section-landing :is(.engineering-hero, .section-heading, .detail-band, .detail-band-inner, .contact-content) { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .gdt-section-landing .hero-detail { display: none; }
  .gdt-section-landing .engineering-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gdt-section-landing .gallery-item-wide { grid-column: 1 / -1; }
  .gdt-section-landing .contact-action { justify-self: start; }
}
