/* Company and construction pages: an editorial extension of the shared Sunshine system. */
.company-page {
  --company-gutter: var(--gutter, 56px);
  color: var(--color-text);
  background: var(--color-surface);
}
.company-page :where(a) { text-underline-offset: 4px; }
.company-page :where(a, summary) { transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
.company-page :where(img) { transition: filter .2s ease; }
.company-wrap {
  width: min(var(--content-width, 1240px), calc(100% - 2 * var(--company-gutter)));
  margin-inline: auto;
}
.company-page .hero h1 > span { display: block; color: var(--color-brand-navy); }
.company-page .hero-image img { object-position: 50% 52%; }
.company-page :is(.hero-image, .portfolio-image, .construction-image-band, .story-image) :is(figcaption, .photo-caption) { display: none; }
.company-kicker {
  margin: 0 0 18px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}
.company-kicker::before {
  display: inline-block;
  width: 25px;
  height: 1px;
  margin: 0 11px 4px 0;
  background: var(--color-action);
  content: "";
}
.company-page .hero .company-kicker { margin-bottom: 24px; }
.company-page .hero .company-kicker::before { display: none; }
.company-tagline { margin: 23px 0 0; color: var(--color-brand-navy); font: 400 20px/1.4 var(--font-display); }
.company-proofline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  color: var(--color-text-muted);
  font-size: 14px;
}
.company-proofline strong { color: var(--color-brand-navy); font-weight: 600; }
.company-proofline-mark { width: 1px; height: 24px; background: var(--color-border); }

.company-page .company-navigation { margin: 0; }
.company-page .company-section { padding-block: clamp(58px, 8vw, 104px); }
.company-page .company-section.compact { padding-block: clamp(38px, 5vw, 60px); }
.company-section-heading {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(250px, .62fr);
  align-items: end;
  gap: 36px;
  margin-bottom: 46px;
}
.company-section-heading h2 { max-width: 14ch; text-wrap: balance; }
.company-section-heading > p { max-width: 48ch; margin: 0 0 5px; color: var(--color-text-muted); }
.company-intro { max-width: 58ch; margin: 22px 0 0; color: var(--color-text-muted); font-size: 18px; line-height: 1.65; }

.service-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}
.home-page .service-feature,
.home-page .service-feature.secondary {
  min-height: 0;
  grid-template-rows: auto 1fr;
}
.home-page .service-feature-media {
  aspect-ratio: 3 / 2;
}
.home-page .service-feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.home-page .service-feature-copy > p:not(.service-feature-label) {
  max-width: 45ch;
}
.home-page .service-feature-action {
  margin-top: auto;
}
.service-feature {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 490px;
  grid-template-rows: minmax(250px, 1fr) auto;
  overflow: hidden;
  background: var(--color-surface-soft);
  color: var(--color-text);
  text-decoration: none;
}
.service-feature.secondary { min-height: 490px; grid-template-rows: minmax(210px, .86fr) auto; background: var(--color-surface-cool); }
.service-feature-media { position: relative; min-height: 0; overflow: hidden; background: #dce5e7; }
.service-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.service-feature:hover .service-feature-media img { filter: saturate(1.06); }
.service-feature-copy { padding: 26px clamp(22px, 3.2vw, 42px) 32px; }
.service-feature-label { margin: 0 0 12px; color: var(--color-text-muted); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.service-feature h3 { margin: 0; color: var(--color-brand-navy); font: 400 clamp(29px, 3vw, 39px)/1.15 var(--font-display); }
.service-feature-copy > p:not(.service-feature-label) { max-width: 50ch; margin: 13px 0 20px; color: var(--color-text-muted); font-size: 16px; line-height: 1.65; }
.service-feature-action { display: inline-flex; min-height: 44px; align-items: center; gap: 13px; color: var(--color-action); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.service-feature-action span { font-size: 19px; text-decoration: none; transition: transform .18s ease; }
.service-feature:hover .service-feature-action span { transform: translateX(3px); }
.portfolio-section { background: var(--color-surface-soft); }
.home-page .portfolio-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 20px);
}
.home-page .portfolio-image {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 9;
  background: #dce5e7;
  margin: 0;
}
.home-page .portfolio-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: none; }
.home-page .portfolio-image:first-child img { object-position: 50% 54%; }
.home-page .portfolio-footer { display: flex; justify-content: flex-end; margin-top: 12px; }
.home-page .portfolio-footer .text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; color: var(--color-text-muted); font-size: 14px; font-weight: 500; }

.company-story {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  background: var(--color-surface-cool);
  color: var(--color-text);
}
.company-story-image { position: relative; min-height: 520px; overflow: hidden; }
.company-story-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.company-story-copy { align-self: center; padding: clamp(42px, 6vw, 76px) clamp(32px, 6vw, 76px); }
.company-story-copy .company-kicker { color: var(--color-text-muted); }
.company-story h2 { max-width: 13ch; margin-bottom: 23px; font-size: clamp(36px, 4vw, 52px); }
.company-story-copy > p:not(.company-kicker) { max-width: 58ch; color: var(--color-text-muted); font-size: 16px; line-height: 1.7; }
.company-story-copy > p strong { color: var(--color-brand-navy); font-weight: 600; }
.company-story-copy .story-next-step { margin-top: 6px; color: var(--color-brand-navy); }
.construction-trust .company-story-image { min-height: 390px; }
.construction-trust .company-story-copy { padding-block: clamp(38px, 5vw, 60px); }
.construction-trust h2 { max-width: 15ch; }
.construction-trust-feedback {
  max-width: 58ch;
  margin: 25px 0 0;
  padding-top: 19px;
  border-top: 1px solid var(--color-border);
}
.construction-trust-feedback-label {
  margin: 0 0 10px;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}
.construction-trust-feedback blockquote { margin: 0; }
.construction-trust-feedback blockquote p {
  margin: 0;
  color: var(--color-brand-navy);
  font: clamp(21px, 2vw, 25px)/1.4 var(--font-display);
}
.construction-trust-feedback figcaption { margin-top: 10px; color: var(--color-text-muted); font-size: 14px; }
.story-fact {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 18px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 26%);
}
.story-fact strong { color: var(--color-brand-navy); font: 400 38px/1 var(--font-display); }
.story-fact span { color: var(--color-text-muted); font-size: 14px; line-height: 1.55; }

.company-contact {
  padding-block: clamp(54px, 7vw, 82px);
  background: var(--color-surface-cool);
}
.company-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  column-gap: clamp(36px, 6vw, 84px);
  row-gap: 0;
}
.company-contact-copy { grid-column: 1; grid-row: 1; }
.company-contact-grid > .company-contact-form { grid-column: 2; grid-row: 1 / span 2; }
.company-contact-grid > .company-contact-actions { grid-column: 1; grid-row: 2; }
.company-contact h2 { max-width: 15ch; }
.company-contact-copy > p:not(.company-kicker) { max-width: 54ch; margin: 19px 0 0; color: var(--color-text-muted); }
.company-contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 22px; }
.company-contact-actions .text-link { min-height: 36px; display: inline-flex; align-items: center; color: var(--color-brand-navy); font-size: 15px; font-weight: 500; }
.contact-options-label { margin: 0 0 2px; color: var(--color-text); font-size: 14px; font-weight: 600; }
.company-contact-address { margin: 10px 0 0; color: var(--color-text-muted); font-size: 14px; line-height: 1.6; }
.company-contact-address a { color: var(--color-text); }
.company-page .conversation-form-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.company-page .conversation-form-card .zoho-embed { min-width: 0; }
.company-page .conversation-form-card .zoho-embed iframe { display: block; width: 100%; border: 0; }
.company-page .conversation-form-card .form-confirmation { margin-top: 16px; }
.company-page .other-service {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 30px;
  padding-block: 40px;
  border-top: 1px solid var(--color-border);
}
.other-service h2 { margin: 0; font: 400 clamp(26px, 3vw, 34px)/1.2 var(--font-display); }
.other-service p { margin: 0; color: var(--color-text-muted); }
.other-service a { color: var(--color-action); }

/* Construction variation: a clear process, supported by a compact photo preview. */
.construction-page .hero h1 > span { color: #506176; }
.construction-page .hero-image img { object-position: 52% 50%; }
.construction-page #approach { position: relative; }
.construction-anchor-alias { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; }
.construction-intro {
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  gap: clamp(35px, 7vw, 100px);
  align-items: start;
}
.construction-intro h2 { max-width: 13ch; }
.construction-intro-copy { max-width: 62ch; padding-top: 7px; }
.construction-intro-copy p { margin: 0; color: var(--color-text-muted); font-size: 18px; line-height: 1.7; }
.construction-intro-copy p + p { margin-top: 18px; }
.construction-intro-copy strong { color: var(--color-brand-navy); font-weight: 600; }
.construction-process-steps {
  --construction-step-row-gap: clamp(23px, 3vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: var(--construction-step-row-gap);
  margin: clamp(38px, 5vw, 62px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: construction-step;
}
.construction-process-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding-top: 15px;
}
.construction-process-steps li:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 40px;
  bottom: calc(-1 * var(--construction-step-row-gap) - 11px);
  left: 9px;
  width: 1px;
  background: var(--color-border);
  content: "";
}
.construction-step-number {
  position: relative;
  z-index: 1;
  padding-top: 3px;
  color: var(--color-action);
  font: 500 13px/1.2 var(--font-body);
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}
.construction-process-steps h3 {
  margin: 0 0 10px;
  color: var(--color-brand-navy);
  font: 500 20px/1.3 var(--font-body);
}
.construction-process-steps p {
  max-width: 34ch;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.65;
}
.construction-photo-preview {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  margin-top: clamp(40px, 5vw, 62px);
}
.construction-photo-preview > .construction-photo {
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: var(--color-surface-soft);
}
.construction-photo-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: none;
}
.construction-page .construction-gallery-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}
.construction-page .construction-gallery-footer .text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
}
/* About Us: an editorial company story within the shared Sunshine system. */
.about-page .hero h1 { max-width: 12ch; }
.about-page .hero-image img { object-position: 50% 52%; }
.about-history { background: var(--color-surface); }
.about-history-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(36px, 7vw, 100px);
}
.about-history-heading h2 { max-width: 12ch; }
.about-history-copy { max-width: 66ch; padding-top: 7px; }
.about-history-copy p,
.about-approach-copy > p:not(.company-kicker) {
  color: var(--color-text-muted);
  font-size: 17px;
  line-height: 1.7;
}
.about-history-copy p:last-child,
.about-approach-copy > p:last-child { margin-bottom: 0; }
.about-philosophy {
  padding-block: clamp(58px, 8vw, 96px);
  background: var(--color-brand-navy);
  color: var(--color-text-inverse);
}
.about-philosophy .company-kicker { color: var(--color-text-inverse-muted); }
.about-philosophy .company-kicker::before { background: #a9bddb; }
.about-philosophy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
}
.about-philosophy h2 {
  max-width: 15ch;
  color: var(--color-text-inverse);
  font-size: clamp(36px, 4.2vw, 54px);
}
.about-philosophy-copy { max-width: 54ch; }
.about-philosophy-copy p {
  margin: 0 0 20px;
  color: var(--color-text-inverse-muted);
  font-size: 17px;
  line-height: 1.75;
}
.about-philosophy-copy p:last-child { margin-bottom: 0; }
.about-approach { background: var(--color-surface-soft); }
.about-approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(38px, 7vw, 94px);
}
.about-approach-image {
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-surface-cool);
}
.about-approach-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.about-approach-copy h2 { max-width: 14ch; margin-bottom: 21px; }
.about-approach-copy > p:not(.company-kicker) { max-width: 56ch; }
.about-destinations {
  padding-block: clamp(52px, 7vw, 82px);
  background: var(--color-surface);
}
.about-destinations-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 27px;
}
.about-destinations-heading h2 { max-width: 16ch; font-size: clamp(32px, 3.8vw, 46px); }
.about-contact-button { flex: 0 0 auto; }
.about-destination-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 38px);
}
.about-destination-links a {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--color-border);
  color: var(--color-brand-navy);
  font: 400 clamp(25px, 2.7vw, 34px)/1.2 var(--font-display);
  text-decoration: none;
}
.about-destination-links a:hover { color: var(--color-action); }
.about-destination-arrow {
  color: var(--color-action);
  font: 400 22px/1 var(--font-body);
  transition: transform .18s ease;
}
.about-destination-links a:hover .about-destination-arrow { transform: translateX(3px); }

.construction-page .construction-faq { background: var(--color-surface); }
.construction-page .construction-faq-layout {
  display: grid;
  grid-template-columns: minmax(190px, .62fr) minmax(0, 1.38fr);
  align-items: start;
  gap: clamp(36px, 7vw, 96px);
}
.construction-page .construction-faq-heading h2 { max-width: 10ch; }
.construction-page .construction-faq-list { margin-top: 0; }
.construction-page .construction-faq-list details:first-child { border-top: 1px solid var(--color-border); }
.construction-page .construction-faq-list p a { color: var(--color-brand-navy); }
.project-contact {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(36px, 6vw, 84px);
  row-gap: 0;
  align-items: start;
}
.project-contact-copy { grid-column: 1; grid-row: 1; }
.project-contact > .project-contact-form { grid-column: 2; grid-row: 1 / span 2; }
.project-contact > .project-contact-links { grid-column: 1; grid-row: 2; }
.project-contact h2 { max-width: 13ch; }
.project-contact-copy > p:not(.company-kicker) { max-width: 52ch; margin: 20px 0 0; color: var(--color-text-muted); }
.project-contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 22px; }
.project-contact-links a:not(.button) { display: inline-flex; min-height: 36px; align-items: center; color: var(--color-brand-navy); font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }

@media (min-width: 761px) and (max-width: 1100px) {
  .service-feature, .service-feature.secondary { min-height: 450px; }
}
@media (max-width: 760px) {
  .company-page { --company-gutter: 24px; }
  .company-proofline { margin-top: 27px; }
  .company-page .company-section { padding-block: 58px; }
  .company-section-heading { grid-template-columns: 1fr; gap: 15px; margin-bottom: 30px; }
  .company-section-heading h2 { max-width: 13ch; }
  .company-intro { margin-top: 16px; font-size: 17px; }
  .service-pair { grid-template-columns: 1fr; gap: 16px; }
  .service-feature, .service-feature.secondary { min-height: 0; grid-template-rows: 260px auto; }
  .home-page .service-feature, .home-page .service-feature.secondary { grid-template-rows: 260px auto; }
  .service-feature-copy { padding: 23px 22px 27px; }
  .service-feature h3 { font-size: 34px; }
  .company-story { grid-template-columns: 1fr; }
  .company-story-image { min-height: 310px; }
  .company-story-copy { padding: 42px 24px 48px; }
  .company-contact-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; row-gap: 26px; }
  .company-contact-copy,
  .company-contact-grid > .company-contact-form,
  .company-contact-grid > .company-contact-actions { grid-column: 1; grid-row: auto; }
  .company-contact-actions { margin-top: 0; }
  .company-page .other-service { grid-template-columns: 1fr; gap: 12px; padding-block: 30px; }
  .construction-intro { grid-template-columns: 1fr; gap: 23px; }
  .construction-intro-copy p { font-size: 17px; }
  .construction-process-steps { margin-top: 34px; }
  .construction-process-steps li { padding-top: 15px; }
  .construction-photo-preview { margin-top: 36px; }
  .construction-page .construction-faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .construction-page .construction-faq-heading h2 { max-width: none; }
  .project-contact { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; row-gap: 26px; }
  .project-contact-copy,
  .project-contact > .project-contact-form,
  .project-contact > .project-contact-links { grid-column: 1; grid-row: auto; }
  .project-contact-links { margin-top: 0; }
  .construction-trust .company-story-image { min-height: 310px; }
  .about-history-grid,
  .about-philosophy-grid,
  .about-approach-grid { grid-template-columns: 1fr; gap: 23px; }
  .about-history-copy { padding-top: 0; }
  .about-philosophy { padding-block: 58px; }
  .about-approach-grid { gap: 30px; }
  .about-approach-image { aspect-ratio: 4 / 3; }
  .about-destinations-heading { align-items: flex-start; flex-direction: column; gap: 17px; }
  .about-contact-button { min-width: 190px; }
}
@media (max-width: 420px) {
  .company-proofline { align-items: flex-start; flex-wrap: wrap; gap: 8px 12px; }
  .company-proofline-mark { height: 20px; }
  .service-feature, .service-feature.secondary { grid-template-rows: 225px auto; }
  .home-page .service-feature, .home-page .service-feature.secondary { grid-template-rows: 225px auto; }
}
@media (max-width: 520px) {
  .construction-photo-preview { grid-template-columns: 1fr 1fr; gap: 10px; }
  .about-destination-links { grid-template-columns: 1fr; gap: 0; }
}
@media (min-width: 1000px) {
  .construction-process-steps {
    --construction-step-column-gap: clamp(18px, 2.6vw, 34px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: var(--construction-step-column-gap);
    row-gap: 0;
  }
  .construction-process-steps li {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 17px;
    padding-top: 19px;
  }
  .construction-process-steps li:not(:last-child)::after {
    top: 26px;
    right: calc(-1 * var(--construction-step-column-gap));
    bottom: auto;
    left: 27px;
    width: auto;
    height: 1px;
  }
  .construction-step-number { padding-top: 0; }
}
@media print {
  .construction-process-steps { display: block; }
  .construction-process-steps li {
    break-inside: avoid;
    padding-top: 15px;
    border-top: 1px solid var(--color-border);
  }
  .construction-process-steps li:not(:last-child)::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .company-page *, .company-page *::before, .company-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
