.page {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 clamp(12px, 2.2vw, 32px);
}

.hero {
  position: relative;
  margin-top: clamp(12px, 2.2vw, 32px);
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: max(620px, calc(100vh - 64px));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  background: var(--sb-ink) url(../assets/images/building-exterior.jpg) center
    55% / cover no-repeat;
  color: var(--sb-paper);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--scrim-hero);
}
.hero > * {
  position: relative;
}
.hero__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(16px, 2.2vw, 32px);
}
.hero__header .sb-logo {
  width: 199px;
  height: 31px;
}
.hero__body {
  padding: 0 clamp(16px, 3.4vw, 48px) clamp(24px, 3.4vw, 48px);
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.hero h1 {
  margin: 0;
  font: 600 clamp(34px, 5vw, 68px) / 1 var(--font-sans);
  letter-spacing: var(--ls-display);
  text-wrap: balance;
}
.hero__lead {
  margin: 0;
  max-width: 600px;
  font: 400 var(--fs-load) / var(--lh-body) var(--font-sans);
  text-wrap: pretty;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface-glass);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  box-shadow: var(--ring-glass);
  font: var(--type-body);
}
.chip__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: url(../assets/icons/sparkle-sky.svg) center / contain no-repeat;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Tablets and phones (below lg, 1024px): the hero is tall and narrow, so the wide photo is scaled to its
   height and only a thin slice shows, mostly sky and tower tops. Zoom in a little and anchor to the
   bottom so the glass building is what you see. */
@media (max-width: 1599px) {
  /* the text block takes a larger share of the hero here, so the dark fade starts higher and
     reaches solid black only at the bottom, keeping the chip and headline on dark */
  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0) 15%,
      rgba(0, 0, 0, 0.4) 30%,
      rgba(0, 0, 0, 0.6) 50%,
      rgba(0, 0, 0, 0.8) 75%,
      #000 100%
    );
  }
}

@media (max-width: 1023px) {
  .hero {
    background-size: auto 125%;
    background-position: 60% 100%;
  }
}

/* Wide screens: the hero photo bleeds to the viewport edges; its content keeps the
   same position it has inside the 1440px card (1440 - 2 * 32px page padding = 1376). */
@media (min-width: 1600px) {
  .hero {
    --bleed: calc((100vw - 1376px) / 2);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: 0;
    border-radius: 0;
    min-height: max(620px, 100vh);
  }
  .hero__header {
    padding-inline: calc(var(--bleed) + 32px);
  }
  .hero__body {
    padding-left: calc(var(--bleed) + 48px);
    max-width: calc(
      880px + var(--bleed)
    ); /* keeps the text column at its usual width */
  }
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: var(--surface-glass);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  box-shadow: var(--ring-glass);
}
.lang {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 6px;
}
.lang a {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 8px;
  color: var(--text-on-brand-muted);
  font: var(--type-nav);
  text-transform: uppercase;
}
.lang a:hover,
.lang a[aria-current="true"] {
  color: var(--text-on-brand);
}
.lang__sep {
  width: 1px;
  height: 14px;
  background: var(--divider-on-brand);
}
.nav-bar__phone {
  padding: 0 12px;
  color: var(--text-on-brand);
  font: var(--type-phone);
  white-space: nowrap;
}
.nav-bar__phone:hover {
  color: var(--sb-blue-pale);
}
.nav-bar__cta {
  height: var(--control-h);
  border-radius: var(--radius-pill);
}
@media (max-width: 720px) {
  .nav-bar__phone,
  .nav-bar__cta {
    display: none;
  }
}

.section {
  padding-top: clamp(72px, 9vw, 120px);
}
/* content sections sit slightly inset from the hero card, as in v6 */
.section:not(.apply) {
  padding-inline: clamp(4px, 2.2vw, 32px);
}
.section__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.section__title {
  margin: 0;
  font: 600 clamp(32px, 3.4vw, var(--fs-h2)) / 1 var(--font-sans);
  letter-spacing: var(--ls-tight);
}
.section__lead {
  margin: 0;
  max-width: 460px;
  font: 400 var(--fs-load) / var(--lh-body) var(--font-sans);
  text-wrap: pretty;
}
