/* Homepage layout and variants of shared elements used on this page. */

@font-face {
  font-family: Stolzl;
  src: url('../../shared/fonts/stolzl/Stolzl-Book.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.smss-home-page {
  --hp-gutter: clamp(24px, 3.333vw, 128px);
  --hp-gap: 20px;
  --hp-space: clamp(56px, 5vw, 96px);
  --hp-heading: clamp(28px, 2.5vw, 48px);
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
}
.hp-container {
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  padding-inline: var(--hp-gutter);
}
#smss-home :is(h2, h3) { margin: 0; }
.hp-section { padding-block: var(--hp-space) 0; }
.hp-section-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: clamp(24px, 3.6vw, 60px);
}
#smss-home .hp-section-heading h2 {
  font-size: var(--hp-heading);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.028em;
}
.hp-section-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 16px;
  line-height: 1.3;
  text-align: left;
}
.hp-section-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hp-section-link .icon { width: 21px; height: 21px; flex: none; }
.hp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  background: var(--color-graphite);
  color: var(--color-text-inverse);
  text-transform: uppercase;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  transition: background-color .16s ease, color .16s ease;
}
.hp-button:hover { background: var(--color-bg-inverse); color: #fff; }
.hp-button--accent { background: var(--color-bg-accent); }
.hp-button--accent:hover { background: var(--color-bg-accent-hover); }
.hp-button--outline { background: transparent; border-color: currentColor; color: inherit; }
.hp-button--light { background: var(--color-bg-primary); color: var(--color-text-primary); }
.hp-button--light:hover { background: var(--color-bg-tertiary); color: var(--color-text-primary); }

body.smss-home-page { --hp-hero-gutter: clamp(32px, 3.125vw, 60px); }
.hp-opening {
  --hp-slide-inset: var(--hp-hero-gutter);
  max-width: 1920px;
  padding-inline: var(--hp-hero-gutter);
  margin-inline: auto;
}
.hp-carousel {
  position: relative;
  aspect-ratio: 5 / 2;
  min-height: 490px;
  overflow: hidden;
  background: var(--color-graphite);
  color: var(--color-text-inverse);
}
.hp-slide { position: absolute; inset: 0; }
.hp-slide.is-active { z-index: 1; }
.hp-hero-picture, .hp-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; }
.hp-hero-image { object-fit: cover; }
.hp-slide-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0006, #0001 75%), linear-gradient(0deg, #0006, #0000 65%);
}
.hp-slide-content {
  position: absolute;
  bottom: clamp(68px, 5vw, 96px);
  left: var(--hp-slide-inset);
  right: var(--hp-slide-inset);
}
#smss-home .hp-slide h2 {
  max-width: 12ch;
  color: inherit;
  font-size: clamp(48px, calc(1.667vw + 40px), 72px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.025em;
  overflow-wrap: break-word;
  white-space: pre-line;
}
.hp-slide-content p {
  max-width: 46ch;
  margin: 24px 0 0;
  color: var(--color-text-inverse);
  font-size: 18px;
  line-height: 1.48;
  white-space: pre-line;
}
.hp-hero-tags {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
}
.hp-hero-tags li {
  padding: 4px 12px;
  border: 1px solid currentColor;
  border-radius: 100px;
  font-size: 14px;
  line-height: 1.35;
}
.hp-slide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hp-slide-actions .hp-button--outline:hover { background: #fff; color: #000; border-color: #fff; }
.hp-slide-controls, .hp-slide-progress { position: absolute; z-index: 2; }
.hp-slide-controls { display: flex; align-items: center; gap: 5px; right: var(--hp-slide-inset); bottom: 56px; }
.hp-slide-counter { margin-left: 8px; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hp-slide-controls button, .hp-slide-progress button { background: transparent; color: inherit; border: 0; padding: 0; }
.hp-slide-controls button { width: 44px; height: 44px; display: grid; place-items: center; }
.hp-slide-controls button:hover { background: #0005; }
.hp-slide-controls [data-home-slide-prev] .icon { transform: rotate(180deg); }
.hp-slide-progress { display: flex; gap: 8px; inset: auto var(--hp-slide-inset) 18px; }
.hp-slide-progress button { flex: 1; min-width: 0; height: 30px; display: flex; align-items: center; }
.hp-slide-progress-track { width: 100%; height: 2px; background: #ffffff6b; }
.hp-slide-progress-fill { display: block; width: 100%; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.hp-slide-progress button[aria-pressed=true] .hp-slide-progress-fill,
.hp-slide-progress button.is-complete .hp-slide-progress-fill { transform: scaleX(1); }
.hp-slide-controls button:focus-visible,
.hp-slide-progress button:focus-visible,
.hp-slide-actions a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

body.smss-home-page .smss-featured-promotions {
  padding: clamp(36px, 3.55vw, 72px) var(--hp-gutter) 48px;
  color: var(--color-graphite);
}
body.smss-home-page .smss-featured-promotions .smss-featured-promotions__heading { margin-bottom: clamp(24px, 3.6vw, 60px); }
body.smss-home-page .smss-featured-promotions .smss-featured-promotions__heading h2 { font-size: var(--hp-heading); }
body.smss-home-page .smss-featured-promotions .smss-featured-promotions__all { font-size: 16px; }
body.smss-home-page .smss-featured-promotions .smss-featured-promotions__grid { gap: var(--hp-gap); }
.smss-home-page .smss-featured-promotions__card--graphite { --promotion-bg: var(--color-graphite); }
.smss-home-page .smss-featured-promotions__card--red { --promotion-bg: var(--color-bg-accent); }
.smss-home-page .smss-featured-promotions__card--white { --promotion-border: var(--color-border-default); --promotion-ink: var(--color-graphite); }

.hp-project-grid, .hp-news-grid, .hp-buy-grid {
  display: grid;
  gap: var(--hp-gap);
}
.hp-projects { padding-inline: var(--hp-hero-gutter); }
.hp-projects .hp-section-heading {
  padding-inline: max(0px, calc(var(--hp-gutter) - var(--hp-hero-gutter)));
  margin-bottom: clamp(24px, 2.4vw, 46px);
}
#smss-home .hp-projects .hp-section-heading h2 { font-size: clamp(28px, calc(1.25vw + 16px), 40px); }
.hp-project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  container: project-cards / inline-size;
}
.hp-project-grid--completed { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-buy-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hp-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-project-card, .hp-news-card, .hp-buy-card { min-width: 0; }
.hp-project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border-default);
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
}
/* Match the photo, heading, address and facts across each row of cards. */
@supports (grid-template-rows: subgrid) {
  .hp-project-grid :is(.hp-project-card, .hp-project-caption, .hp-project-specs),
  .hp-project-grid > [data-favorite-project-id] {
    display: grid;
    grid-template-rows: subgrid;
    row-gap: 0;
  }

  .hp-project-grid .hp-project-card { grid-row: span 5; }
  .hp-project-grid .hp-project-caption { grid-row: span 4; align-items: start; }
  .hp-project-grid .hp-project-specs {
    grid-row: span 2;
    align-items: start;
    row-gap: 12px;
  }
  .hp-project-grid > [data-favorite-project-id] { grid-row: span 6; min-width: 0; }
  .hp-project-grid .apartment-compare-project { justify-self: start; }
}

.hp-project-favorite {
  position: absolute;
  z-index: 1;
  top: clamp(12px, 1.25vw, 24px);
  right: clamp(12px, 1.25vw, 24px);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border-default);
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
}
.hp-project-favorite:hover { background: var(--color-bg-secondary); }
.hp-project-favorite[aria-pressed='true'] { color: var(--color-text-accent); }
.hp-project-favorite[aria-pressed='true'] .icon { fill: currentColor; stroke: currentColor; }
.hp-project-favorite:focus-visible { outline: 2px solid var(--color-border-strong); outline-offset: 2px; }
.hp-news-card > a { display: flex; flex-direction: column; height: 100%; color: inherit; }
.hp-project-link { color: inherit; }
.hp-project-link::after { position: absolute; inset: 0; content: ""; }
.hp-project-link:hover, .hp-news-card a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.hp-project-link:focus-visible::after { outline: 2px solid var(--color-border-strong); outline-offset: 2px; }
.hp-project-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--color-bg-tertiary);
  color: var(--color-text-secondary);
}
.hp-project-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hp-project-badges {
  position: absolute;
  z-index: 2;
  top: clamp(12px, 1.25vw, 24px);
  left: clamp(12px, 1.25vw, 24px);
  right: clamp(72px, 6vw, 90px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  pointer-events: none;
}
.hp-project-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 0;
  border-radius: 6px;
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}
.hp-project-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--status-color, var(--color-status-future)); }
.hp-project-status[data-status=sale] { --status-color: var(--color-status-on-sale); }
.hp-project-status[data-status=completed] { --status-color: var(--color-status-completed); }
.hp-project-status[data-status=prestart] { --status-color: var(--color-status-prestart); }
.hp-project-online {
  --status-color: var(--color-text-accent);
  font-family: inherit;
  cursor: pointer;
  pointer-events: auto;
}
.hp-project-online::before { animation: hp-camera-dot 1.4s ease-in-out infinite; }
.hp-project-online:hover { background: var(--color-bg-secondary); }
.hp-project-online:focus-visible { outline: 2px solid var(--color-border-strong); outline-offset: 3px; }
.hp-project-camera-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hp-project-camera-video[hidden] { display: none; }
.hp-project-camera-message {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 16px;
  width: fit-content;
  margin: 0;
  padding: 8px 12px;
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-size: 13px;
  line-height: 1.4;
  pointer-events: none;
}
@keyframes hp-camera-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-project-online::before { animation: none; }
}
.hp-project-caption {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(24px, 5.3%, 36px) clamp(18px, 7.27%, 48px) clamp(28px, 8.9%, 60px);
  overflow-wrap: anywhere;
}
.hp-project-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hp-project-caption h3 {
  margin: 0;
  font-size: clamp(20px, calc(2.5vw - 16px), 32px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.02em;
}
.hp-project-arrow {
  display: grid;
  flex: none;
  width: 24px;
  height: 24px;
  place-items: center;
}
.hp-project-arrow .icon { width: 24px; height: 24px; }
.hp-project-caption p {
  margin-top: 9px;
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.35;
}
.hp-project-location { padding-bottom: clamp(16px, 1.35vw, 26px); }
.hp-project-specs {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) repeat(2, minmax(0, 1fr));
  gap: var(--hp-gap, 20px);
  margin: 0;
  padding-top: clamp(14px, 1.05vw, 20px);
  border-top: 1px solid var(--color-border-default);
}
.hp-project-specs dt { color: var(--color-text-secondary); font-size: 14px; }
.hp-project-specs dd { margin: 6px 0 0; font-size: clamp(15px, calc(1.25vw - 4px), 20px); line-height: 1.24; font-weight: 500; }
.hp-project-deadline-list { margin: 0; padding: 0; list-style: none; }

.hp-project-grid--completed .hp-project-specs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hp-project-grid--completed .hp-project-deadline {
  grid-column: 1 / -1;
}

@container project-cards (max-width: 1280px) {
  .hp-project-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-project-deadline { grid-column: 1 / -1; }
}

.hp-purchase .hp-section-heading { margin-bottom: clamp(24px, 2.75vw, 53px); }
#smss-home .hp-purchase .hp-section-heading h2 { font-size: clamp(28px, calc(1.25vw + 16px), 40px); }
.hp-buy-grid {
  gap: 0;
  border-top: 1px solid var(--color-border-default);
  border-left: 1px solid var(--color-border-default);
}
.hp-buy-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  aspect-ratio: 26 / 25;
  min-height: 240px;
  padding: clamp(16px, 1.25vw, 24px);
  border-right: 1px solid var(--color-border-default);
  border-bottom: 1px solid var(--color-border-default);
  background: var(--color-bg-primary);
  color: inherit;
  text-align: left;
  overflow-wrap: break-word;
}
.hp-buy-card-icons { display: flex; align-items: center; justify-content: space-between; }
.hp-buy-card-icons .icon { width: 30px; height: 30px; flex: none; }
.hp-buy-card-icons .icon:last-child { width: 20px; height: 20px; }
.hp-buy-card-copy { display: grid; gap: 12px; }
.hp-buy-card-copy strong { max-inline-size: 10em; font-size: clamp(20px, calc(2.5vw - 16px), 32px); line-height: 1.25; font-weight: 500; }
.hp-buy-card-copy > span { min-height: 2.56em; color: var(--color-text-secondary); font-size: 16px; line-height: 1.28; }
.hp-buy-card--accent { background: var(--color-bg-accent); color: var(--color-text-inverse); }
.hp-buy-card--accent .hp-buy-card-copy > span { color: inherit; }
.hp-buy-card:focus-visible { outline: 2px solid currentColor; outline-offset: -5px; }
.hp-buy-banner { margin-top: clamp(32px, 4vw, 76px); background: var(--color-bg-accent); color: var(--color-text-inverse); }
.hp-buy-banner .hp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-block: clamp(26px, 2.5vw, 48px);
}
#smss-home .hp-buy-banner h2 { font-size: clamp(24px, calc(1.25vw + 8px), 32px); line-height: 1.15; font-weight: 500; }
.hp-buy-banner p { margin-top: 16px; font-size: clamp(14px, 1vw, 18px); line-height: 1.3; }
.hp-buy-banner .hp-button { min-width: 132px; }

.hp-about, .hp-benefits {
  max-width: 1920px;
  margin-inline: auto;
  padding-top: clamp(var(--hp-space), 6.667vw, 96px);
}
#smss-home :is(.hp-about, .hp-benefits) .hp-section-heading h2 {
  font-size: clamp(28px, 2.5vw, 40px);
  letter-spacing: -.01em;
}
.hp-about-content {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  border-top: 1px solid var(--color-border-default);
}
.hp-about-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: clamp(24px, 3.333vw, 64px) var(--hp-gutter);
}
#smss-home .hp-about-copy h3 {
  max-width: 600px;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.14;
  font-weight: 500;
  letter-spacing: -.02em;
}
.hp-about-copy p {
  max-width: 600px;
  margin: clamp(16px, 1.667vw, 24px) 0 0;
  font-size: clamp(16px, 1.18vw, 18px);
  color: var(--color-text-secondary);
  line-height: 1.48;
}
.hp-about-copy .hp-button { margin-top: auto; }
.hp-about-image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.hp-about-facts, .hp-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--hp-gap);
}
.hp-about-facts {
  align-items: start;
  margin-block: 0;
  padding-block: clamp(24px, 2.25vw, 44px) clamp(24px, 2.8vw, 54px);
  border-block: 1px solid var(--color-border-default);
}
.hp-about-facts dt {
  font-family: Stolzl, var(--font-sans);
  font-size: clamp(30px, calc(2.22vw + 12px), 56px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.028em;
}
.hp-about-facts dd, .hp-benefit-card p {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.28;
  font-size: 16px;
}
.hp-about-facts dd { margin-top: 12px; }
.hp-benefits {
  padding-bottom: clamp(48px, 5vw, 96px);
  background: var(--color-bg-secondary);
}
.hp-benefit-grid {
  padding-block: clamp(24px, 2.5vw, 48px) clamp(24px, 2.9vw, 56px);
  border-block: 1px solid var(--color-border-default);
}
.hp-benefit-card { min-width: 0; }
.hp-benefit-card .icon {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
}
#smss-home .hp-benefit-card h3 {
  font-size: clamp(19px, calc(1.25vw + 2px), 26px);
  line-height: 1.22;
  font-weight: 500;
}
.hp-benefit-card p {
  max-width: 36ch;
  margin-top: 14px;
}
@media (max-width: 1050px) {
  .hp-about-facts, .hp-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hp-about-content { grid-template-columns: minmax(0, 1fr); }
  .hp-about-image { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 700px) {
  .hp-about-facts { gap: 24px var(--hp-gap); }
  .hp-about-facts dt { font-size: clamp(27px, 7vw, 36px); }
  .hp-about-facts dd, .hp-benefit-card p { font-size: 14px; }
  .hp-benefit-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hp-benefit-card + .hp-benefit-card { border-top: 1px solid var(--color-border-default); padding-top: 24px; }
}

.hp-news {
  padding-inline: var(--hp-hero-gutter);
  padding-bottom: var(--hp-space);
}
.hp-news .hp-section-heading {
  padding-inline: max(0px, calc(var(--hp-gutter) - var(--hp-hero-gutter)));
  margin-bottom: clamp(24px, 2.4vw, 46px);
}
#smss-home .hp-news .hp-section-heading h2 { font-size: clamp(28px, calc(1.25vw + 16px), 40px); }
.hp-news-grid { gap: 0; border-block: 1px solid var(--color-border-default); }
.hp-news-card { padding: 24px; border-inline-end: 1px solid var(--color-border-default); }
.hp-news-card:last-child { border-inline-end: 0; }
.hp-news-card > a { align-items: flex-start; }
.hp-news-cover { position: relative; width: 100%; aspect-ratio: 16 / 9; flex: none; background: var(--color-bg-secondary); }
.hp-news-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: clamp(16px, 1.25vw, 24px) 0; font-size: 14px; font-weight: 500; color: var(--color-text-secondary); }
.hp-news-meta span { border-radius: 100px; color: var(--color-text-primary); background: var(--color-bg-tertiary); padding: 4px 12px; line-height: 1.3; }
#smss-home .hp-news-card h3 { font-size: clamp(18px, 1.1vw, 22px); line-height: 1.3; font-weight: 500; overflow-wrap: anywhere; }
.hp-news-card .hp-section-link { margin-top: auto; padding-top: clamp(16px, 1.4vw, 28px); }

.hp-contact { background: var(--color-bg-secondary); }
.hp-contact-panel { padding-block: var(--hp-space); }
#smss-home .hp-contact-copy h2 {
  font-size: clamp(28px, 2.5vw, 48px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.028em;
}
.hp-contact-copy p {
  max-width: 540px;
  margin: clamp(16px, 1.35vw, 26px) 0 0;
  color: var(--color-text-secondary);
  font-size: clamp(16px, 1.11vw, 20px);
  line-height: 1.3;
}
.hp-contact form { margin-top: clamp(24px, 3.34vw, 64px); }
.hp-contact-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: var(--hp-gap);
  max-width: 81%;
}
.hp-contact-fields label { min-width: 0; }
.hp-contact-fields input {
  min-width: 0;
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--color-border-default);
  border-radius: 0;
  font-size: 16px;
  background: var(--color-bg-primary);
}
.hp-contact form :is(input, button, a):focus-visible { outline: 2px solid var(--color-border-strong); outline-offset: 2px; }
.hp-contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-text-secondary);
}
.hp-contact-consent input {
  appearance: none;
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg-primary);
}
.hp-contact-consent input:checked { background: var(--color-bg-inverse); }
.hp-contact-consent input:checked::after {
  content: "";
  width: 9px;
  height: 5px;
  border: solid var(--color-border-inverse);
  border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg);
}
.hp-contact-consent a { text-decoration: underline; text-underline-offset: 3px; }
.hp-contact-error, [data-home-lead-success] { margin-top: 12px; }
.hp-contact-error { color: var(--color-bg-accent-hover); }
.hp-contact-offices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--hp-gap);
  margin: clamp(28px, 3.33vw, 64px) 0 0;
  padding-top: clamp(24px, 2.22vw, 42px);
  border-top: 1px solid var(--color-border-default);
  font-size: clamp(15px, 1.11vw, 20px);
}
.hp-contact-offices dt { color: var(--color-text-secondary); }
.hp-contact-offices dd { margin: 12px 0 0; overflow-wrap: anywhere; }
.hp-contact-offices address { font-style: normal; }
.hp-contact-offices dd > a { display: block; }
.hp-contact-offices a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hp-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

body.smss-home-page .smss-global-footer {
  padding-inline: var(--hp-hero-gutter);
  background: #242424;
  font-size: 16px;
}
body.smss-home-page .smss-global-footer__top { padding-bottom: 0; }
body.smss-home-page .smss-global-footer__brand { font-size: 32px; }
body.smss-home-page .smss-global-footer__identity p { max-width: 275px; color: #a3a3a3; font-size: 14px; line-height: 1.35; }
body.smss-home-page .smss-global-footer :is(nav h2, .smss-global-footer__contacts h2) { color: #a3a3a3; }
body.smss-home-page .smss-global-footer .smss-global-footer__phone { font-size: inherit; }

@media (min-width: 1251px) {
  body.smss-home-page .smss-global-footer__top {
    grid-template-columns: minmax(0, 2.75fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.23fr);
    gap: var(--hp-gap);
  }
}


@media (min-width: 1500px) {
  .smss-home-page { --hp-gutter: clamp(48px, calc(16.667vw - 192px), 128px); --hp-gap: 24px; }
}
@media (max-width: 1050px) {
  .hp-project-grid--completed, .hp-buy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-contact-fields { max-width: none; }
  .hp-buy-card { aspect-ratio: auto; min-height: 230px; }
}
@media (max-width: 700px) {
  .smss-home-page { --hp-gutter: 20px; --hp-gap: 16px; --hp-space: 48px; --hp-heading: 28px; }
  body.smss-home-page { --hp-hero-gutter: 20px; }
  .hp-opening { --hp-slide-inset: 20px; padding-inline: 0; }
  .hp-carousel { aspect-ratio: auto; height: clamp(510px, 76svh, 620px); }
  .hp-slide-content { bottom: 116px; }
  #smss-home .hp-slide h2 { max-width: 100%; font-size: clamp(34px, 9.6vw, 56px); }
  .hp-slide-content p { margin-top: 20px; font-size: 16px; }
  .hp-slide-shade { background: linear-gradient(0deg, #000b, #0003 80%); }
  .hp-hero-tags { gap: 6px; margin-bottom: 20px; }
  .hp-hero-tags li { padding-inline: 10px; font-size: 12px; }
  .hp-slide-actions { margin-top: 28px; gap: 10px; }
  .hp-slide-actions .hp-button { font-size: 12px; min-height: 44px; padding-inline: 14px; }
  .hp-slide-controls { bottom: 40px; right: 15px; }
  .hp-slide-progress { bottom: 8px; }
  .hp-section-link { font-size: 14px; }
  .hp-project-grid, .hp-news-grid { grid-template-columns: minmax(0, 1fr); }
  .hp-news-card { border-inline-end: 0; border-block-end: 1px solid var(--color-border-default); }
  .hp-news-card:last-child { border-block-end: 0; }
  .hp-project-caption p { font-size: 14px; }
  .hp-project-specs dt { font-size: 13px; }
  .hp-project-specs { gap: 8px; }
  .hp-buy-grid { grid-template-columns: minmax(0, 1fr); }
  .hp-buy-card { min-height: clamp(180px, 55vw, 225px); padding: 18px; }
  .hp-buy-card-copy > span { font-size: 14px; }
  .hp-contact-fields { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hp-contact-offices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-contact-offices dd { margin-top: 6px; }
}
