/* Readability, larger screens, landing About layout, and image shading overrides.
 * Cascade order is defined in index.html. See README.md before moving or deleting overrides. */
/* Readability follows usable viewport width; pixel density alone does not identify physical size. */
body {
  font-size: clamp(16px, 0.82vw + 4px, 21px);
}
.section-heading p,
.product-grid p,
.solar-story-grid p,
.content-columns p,
.page-hero p {
  font-size: clamp(16px, 0.9vw, 21px);
  line-height: 1.75;
}
.product-grid a,
.division-subnav,
.estimate-inputs label,
.estimate-inputs details,
.catalogue-copy ul,
.field label,
.form-note,
.button,
.text-link {
  font-size: clamp(15px, 0.82vw, 19px);
}
.estimate-disclaimer,
.estimate-result > small,
.estimate-metrics p,
.catalogue-note,
.catalogue-footnote {
  font-size: clamp(14px, 0.75vw, 17px);
  line-height: 1.75;
}
.estimate-inputs input,
.estimate-inputs select,
input,
select,
textarea {
  font-size: max(16px, 1em);
}
.reading-size {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 4px;
  padding: 9px 12px;
  min-height: 44px;
  font: inherit;
  font-size: 14px;
  white-space: nowrap;
}
.reading-size:hover {
  background: #ffffff20;
}
.reading-size[aria-pressed='true'] {
  font-weight: 700;
}
/* Keep image detail, with directional contrast behind text rather than a heavy vignette. */
.cover-shade,
.division-curtain:after {
  background:
    linear-gradient(90deg, #0b211ba8 0%, #0b211b40 48%, #0b211b08 100%),
    linear-gradient(0deg, #0b211b55, transparent 35%);
}
.cover-copy h1,
.cover-copy p {
  text-shadow: 0 2px 5px #0008;
}
.cover-copy p {
  color: #fff;
}
.banner-shade,
.is-open .banner-shade {
  background: linear-gradient(0deg, #091712d9 0%, #0917128a 25%, #09171215 67%, #09171228 100%);
}
.division-landing.has-expanded .division-banner:not(.is-open) .banner-shade {
  background: linear-gradient(0deg, #091712b8, #09171222 70%);
}
.division-landing.has-expanded .division-banner:not(.is-open) .banner-background > img {
  filter: saturate(0.1) brightness(0.92);
}
.landing-intro:before {
  background: linear-gradient(90deg, #04130f55, transparent);
  filter: blur(14px);
}
.project-placeholder > img {
  filter: brightness(0.85);
}
.project-placeholder:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #10251cd9, transparent 75%);
  pointer-events: none;
}
.project-placeholder > div {
  z-index: 1;
}
/* Landing continues below the five banners. */
.landing > #footer {
  display: block;
  background: #f7f7f2;
}
.landing-company {
  background: #f3f0e8;
  color: #182522;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
  padding: 110px max(6vw, 24px);
  scroll-margin-top: 25px;
}
.company-intro h2 {
  font-size: clamp(40px, 4vw, 72px);
  margin: 25px 0;
}
.company-intro p {
  font-size: clamp(17px, 1.15vw, 23px);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 20px;
}
.company-intro .button {
  margin-top: 15px;
}
.company-divisions h3 {
  font-size: 28px;
  margin-bottom: 25px;
}
.company-divisions > a {
  display: grid;
  gap: 8px;
  border-top: 1px solid #bac4b6;
  padding: 20px 0;
}
.company-divisions > a:last-child {
  border-bottom: 1px solid #bac4b6;
}
.company-divisions strong {
  font-size: clamp(18px, 1.3vw, 26px);
  font-weight: 500;
}
.company-divisions span {
  font-size: 16px;
  color: #52624f;
}
.company-divisions > a:hover span {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.company-scroll-cue {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 35;
  background: #f7f4e9;
  color: #182522;
  box-shadow: 0 3px 18px #0003;
  border: 1px solid #ffffff99;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 600;
  min-height: 48px;
  transition:
    opacity 0.2s,
    visibility 0.2s;
  white-space: nowrap;
}
.company-scroll-cue span:last-child {
  font-size: 23px;
  line-height: 1;
}
.company-scroll-cue.is-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.landing-bottom {
  bottom: 24px;
}
.banner-description {
  font-size: clamp(15px, 0.95vw, 22px);
}
.banner-points li,
.banner-quote {
  font-size: clamp(14px, 0.8vw, 19px);
}
.banner-scope {
  font-size: clamp(13px, 0.7vw, 16px);
}
.banner-number,
.banner-rest-hint {
  font-size: 12px;
}
.banner-content {
  bottom: 115px;
}
.banner-title-row h2 {
  font-size: clamp(26px, 2.3vw, 48px);
}
@media (min-width: 1800px) {
  .division-wrap {
    width: min(1600px, calc(100% - 160px));
  }
  .container,
  .cover-copy {
    width: min(1680px, calc(100% - 160px));
  }
  .cover-copy {
    padding-top: 175px;
  }
  .cover-copy h1 {
    font-size: clamp(100px, 6vw, 150px);
  }
  .cover-copy p {
    font-size: 25px;
    max-width: 700px;
  }
  .section-heading h2 {
    font-size: clamp(56px, 3.3vw, 80px);
  }
  .section-heading p {
    max-width: 620px;
  }
  .banner-details-inner,
  .banner-description {
    max-width: 620px;
  }
  .banner-nav {
    height: 135px;
  }
  .banner-content {
    left: 36px;
    right: 36px;
  }
  .is-open .banner-title-row h2 {
    font-size: clamp(48px, 3vw, 74px);
  }
  .banner-nav-right,
  .banner-global-quote,
  .header-call,
  .reading-size {
    font-size: 18px;
  }
  .landing-intro {
    top: 180px;
    max-width: 1100px;
  }
  .landing-intro h1 {
    font-size: clamp(82px, 5vw, 128px);
  }
  .landing-intro p {
    font-size: 24px;
  }
  .solar-choices span {
    font-size: 21px;
    min-height: 90px;
  }
  .solar-start legend {
    font-size: 28px;
  }
  .solar-start form {
    max-width: 1150px;
  }
  .solar-story-grid h3 {
    font-size: 36px;
  }
  .estimate-metrics strong {
    font-size: 30px;
  }
}
.larger-text body {
  font-size: 20px;
}
.larger-text
  :is(
    .section-heading p,
    .product-grid p,
    .solar-story-grid p,
    .content-columns p,
    .page-hero p,
    .banner-description,
    .cover-copy p,
    .company-intro p
  ) {
  font-size: 22px;
}
.larger-text
  :is(
    .button,
    .text-link,
    .field label,
    .form-note,
    .estimate-inputs label,
    .estimate-inputs details,
    .division-subnav,
    .product-grid a,
    .solar-choices span,
    .banner-points li,
    .banner-quote
  ) {
  font-size: 19px;
}
.larger-text
  :is(
    .estimate-disclaimer,
    .estimate-metrics p,
    .estimate-result > small,
    .banner-scope,
    .catalogue-note
  ) {
  font-size: 17px;
}
.larger-text .banner-details-inner {
  max-width: 650px;
}
.larger-text .division-landing {
  min-height: 900px;
}
@media (max-width: 900px), (hover: none) {
  .landing-company {
    grid-template-columns: 1fr;
    gap: 55px;
    padding-block: 65px;
  }
  .banner-content {
    bottom: auto;
  }
  .banner-shade,
  .is-open .banner-shade {
    background: linear-gradient(0deg, #091712db, #09171273 52%, #09171215);
  }
  .banner-description {
    font-size: 16px;
  }
  .banner-points li,
  .banner-quote {
    font-size: 15px;
  }
  .banner-scope {
    font-size: 14px;
  }
  .division-banner.is-open {
    min-height: 580px;
  }
  .company-scroll-cue {
    bottom: 16px;
    font-size: 14px;
  }
  .banner-nav-right {
    gap: 10px;
  }
  .reading-size {
    font-size: 12px;
    padding: 8px;
  }
  .division-subnav {
    gap: 18px;
    flex-wrap: wrap;
  }
  .landing-bottom {
    padding-bottom: 35px;
  }
  .larger-text .division-landing {
    min-height: 100svh;
  }
  .larger-text .division-banner.is-open {
    min-height: 690px;
  }
}
@media (max-width: 600px) {
  .banner-nav .brand .brand-logo {
    width: 135px;
  }
  .banner-global-quote {
    display: none;
  }
  .banner-nav-right .header-call span {
    display: none;
  }
  .banner-nav-right {
    gap: 12px;
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-actions .reading-size {
    font-size: 12px;
  }
  .cover-copy p {
    font-size: 18px;
  }
  .section-heading p {
    font-size: 17px;
  }
  .company-scroll-cue {
    padding: 10px 18px;
  }
  .landing-bottom a {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .company-scroll-cue {
    transition: none;
  }
}

/* Quiet right-edge scroll cue, clear of the banner titles and actions. */
.company-scroll-cue {
  left: auto;
  right: 22px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: 46px;
  height: 60px;
  min-height: 0;
  padding: 12px;
  border-radius: 25px;
  background: #10251b66;
  color: white;
  border: 1px solid #ffffff85;
  box-shadow: none;
  backdrop-filter: blur(5px);
  justify-content: center;
}
.company-scroll-cue svg {
  width: 22px;
  height: 28px;
  flex-shrink: 0;
}
.company-scroll-cue:hover {
  background: #10251bb3;
  border-color: white;
}
.company-scroll-cue:focus-visible {
  outline: 3px solid #efc492;
  outline-offset: 4px;
}
@media (max-width: 900px), (hover: none) {
  .company-scroll-cue {
    right: 12px;
    top: auto;
    bottom: 24px;
    transform: none;
    width: 42px;
    height: 54px;
    padding: 10px;
  }
}

/* Company promise introduces the invitation; the right-edge cue names its destination. */
.landing-kicker {
  display: block;
  max-width: 640px;
  font-size: clamp(16px, 1.15vw, 25px);
  line-height: 1.5;
  letter-spacing: 0.015em;
  text-transform: none;
}
.company-scroll-cue {
  width: auto;
  height: auto;
  min-height: 52px;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 30px;
}
.company-scroll-cue .scroll-cue-label {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
}
@media (min-width: 1800px) {
  .landing-kicker {
    max-width: 850px;
  }
  .company-scroll-cue .scroll-cue-label {
    font-size: 18px;
  }
}
@media (max-width: 900px), (hover: none) {
  .landing-kicker {
    font-size: 16px;
    max-width: 530px;
  }
  .division-landing {
    padding-top: 350px;
  }
  .company-scroll-cue {
    width: auto;
    height: auto;
    padding: 12px 16px;
  }
}
@media (max-width: 550px) {
  .landing-kicker {
    font-size: 15px;
    max-width: 330px;
  }
  .landing-intro h1 {
    font-size: 36px;
  }
  .division-landing {
    padding-top: 370px;
  }
}
