/* Keep the photograph and message in the same centred composition on wide screens. */
.hero {
  height: calc(100svh - var(--header));
  min-height: 650px;
  max-height: 740px;
  background: #101f27;
}
.hero-image {
  inset: 50% auto auto 50%;
  width: min(122%, 1620px);
  max-width: none;
  height: auto;
  max-height: none;
  transform: translate(calc(-50% + clamp(116px, 10vw + 16px, 156px)), calc(-50% + 32px));
  object-fit: contain;
  object-position: center 48%;
  opacity: 1;
  filter: brightness(.76) saturate(.86);
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
  mask-composite: intersect;
}
.hero::before {
  background: linear-gradient(90deg, #101f27 5%, rgba(16,31,39,.78) 30%, rgba(16,31,39,.22) 54%, rgba(16,31,39,.06) 75%, rgba(16,31,39,.2));
}
.hero::after {
  background: linear-gradient(0deg, rgba(16,31,39,.7), transparent 28%, transparent 86%, rgba(16,31,39,.18));
}
.hero .container { padding-top: 0; }
.hero-content {
  width: min(690px, 55%);
  max-width: none;
  padding: 0 0 24px;
  transform: none;
}
.hero .eyebrow { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(64px, 6.4vw, 100px);
  line-height: 1.04;
  letter-spacing: -.055em;
  margin-bottom: 30px;
}
.hero-copy { max-width: 520px; font-size: 20px; line-height: 1.65; margin-bottom: 32px; }
.hero-actions { gap: 28px; flex-wrap: wrap; }
.hero .quote-cta { border-radius: 5px; }
.hero-secondary { font-size: 16px; }
.hero-bottom {
  width: min(calc(100% - var(--gutter)*2), var(--max));
  left: 0;
  right: 0;
  bottom: 30px;
}
/* A modestly wider hero, with the original navigation and type scale retained. */
@media (min-width: 1121px) {
  .hero .container,
  .hero-bottom { width: min(calc(100% - var(--gutter)*2), 1520px); max-width: 1520px; }
}
@media (min-width: 1600px) {
  .hero-image { width: 1830px; transform: translate(calc(-50% + 116px), calc(-50% + 32px)); }
}
/* Scale the whole composition together on desktop; retain the laptop layout below 1600px. */
@media (min-width: 1600px) and (min-height: 700px) {
  .hero { min-height: clamp(740px, calc(740px + (100vw - 1600px)*.25), 980px); max-height: 1000px; }
  .hero .container,
  .hero-bottom {
    width: min(calc(100% - clamp(96px, 6vw, 180px)*2), 2080px);
    max-width: 2080px;
  }
  .hero-content { width: min(50%, 960px); padding-bottom: clamp(24px, 1.5vw, 36px); }
  .hero .eyebrow {
    font-size: clamp(13px, .8125vw, 19px);
    margin-bottom: clamp(28px, 1.75vw, 42px);
  }
  .hero h1 {
    font-size: clamp(100px, 6.25vw, 150px);
    margin-bottom: clamp(30px, 1.875vw, 45px);
  }
  .hero-copy {
    max-width: clamp(520px, calc(520px + (100vw - 1600px)*.45), 780px);
    font-size: clamp(20px, calc(20px + (100vw - 1600px)*.018), 30px);
    margin-bottom: clamp(32px, 2vw, 48px);
  }
  .hero-actions { gap: clamp(28px, 1.75vw, 42px); }
  .hero .quote-cta {
    font-size: clamp(20px, 1.25vw, 30px);
    min-height: clamp(60px, 3.75vw, 90px);
    padding: clamp(16px, 1vw, 24px) clamp(30px, 1.875vw, 45px);
  }
  .hero-secondary { font-size: clamp(16px, 1vw, 24px); }
  .hero-secondary .icon { width: clamp(30px, 1.875vw, 45px); height: clamp(30px, 1.875vw, 45px); }
  .hero-image {
    width: clamp(1830px, calc(100vw + 230px), 2600px);
    transform: translate(calc(-50% + 116px + (100vw - 1600px)*.25), calc(-50% + clamp(32px, calc(32px + (100vw - 1600px)*.075), 80px)));
  }
  .hero-bottom { bottom: clamp(30px, 1.875vw, 45px); }
  .hero-trade { font-size: clamp(12px, .75vw, 18px); gap: clamp(10px, .75vw, 18px); }
}
@media (max-width: 1120px) and (min-width: 901px) {
  .hero { min-height: 620px; max-height: 700px; }
  .hero-content { width: 57%; }
  .hero h1 { font-size: clamp(56px, 6.4vw, 72px); }
  .hero .eyebrow { font-size: 11px; letter-spacing: .1em; }
  .hero-copy { max-width: 430px; font-size: 18px; }
  .hero-actions { gap: 22px; }
  .hero-secondary { font-size: 14px; }
}
/* Portrait screens read the message first, with the sign as a quieter supporting image. */
@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: min(820px, calc(100svh - var(--header)));
    max-height: none;
    padding: 48px 0 218px;
    align-items: flex-start;
  }
  .hero .container { width: min(calc(100% - var(--gutter)*2), 560px); padding-top: 0; }
  .hero-content { width: 100%; max-width: none; padding: 0; }
  .hero h1 { font-size: clamp(44px, 8.6vw, 64px); margin-bottom: 23px; }
  .hero .eyebrow { font-size: 11px; margin-bottom: 22px; }
  .hero-copy { max-width: 490px; font-size: 17px; margin-bottom: 27px; }
  .hero-image {
    inset: auto auto 0 50%;
    width: min(170%, 880px);
    height: auto;
    transform: translateX(-59%);
    object-fit: contain;
    object-position: 50% 56%;
    filter: brightness(.8) saturate(.86);
    mask-image: linear-gradient(180deg, transparent, #000 30%, #000 88%, transparent);
  }
  .hero::before { background: linear-gradient(180deg, #101f27 25%, rgba(16,31,39,.96) 48%, rgba(16,31,39,.45) 72%, rgba(16,31,39,.05)); }
  .hero::after { background: linear-gradient(0deg, #101f27, transparent 20%); }
  .hero-actions { gap: 20px; }
  .hero-secondary { font-size: 14px; }
  .hero-bottom { width: min(calc(100% - var(--gutter)*2), 560px); bottom: 24px; }
  .hero-trade { font-size: 10px; letter-spacing: .08em; gap: 8px; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .header-cta.quote-cta { font-size: 13px; min-height: 44px; padding: 10px 14px; white-space: nowrap; }
}
@media (max-width: 460px) {
  .hero { padding-top: 38px; padding-bottom: 210px; }
  .hero h1 { font-size: clamp(42px, 11.8vw, 54px); }
  .hero .eyebrow { font-size: 10px; letter-spacing: .09em; }
  .hero-copy { font-size: 16px; }
  .hero-actions { gap: 18px 22px; }
  .hero-secondary { font-size: 14px; }
  .hero .quote-cta { font-size: 18px; min-height: 54px; padding: 14px 24px; }
  .hero-trade { font-size: 9px; letter-spacing: .045em; gap: 6px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 40px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .04em; }
  .hero-trade { font-size: 8px; gap: 5px; }
}
/* Short landscape viewports retain a compact left-to-right composition. */
@media (min-width: 600px) and (max-height: 540px) {
  .hero { height: auto; min-height: 0; max-height: none; padding: 28px 0 62px; align-items: center; }
  .hero .container { width: min(calc(100% - var(--gutter)*2), var(--max)); padding: 0; }
  .hero-content { width: 54%; padding: 0; }
  .hero .eyebrow { font-size: 9px; margin-bottom: 16px; }
  .hero h1 { font-size: clamp(40px, 5.6vw, 52px); margin-bottom: 18px; }
  .hero-copy { max-width: 400px; font-size: 15px; line-height: 1.5; margin-bottom: 20px; }
  .hero-actions { gap: 16px; }
  .hero .quote-cta { min-height: 48px; padding: 12px 20px; font-size: 16px; }
  .hero-secondary { font-size: 13px; }
  .hero-image {
    inset: 50% auto auto 50%;
    width: min(100%, 1120px);
    height: auto;
    transform: translate(-40%, -50%);
    filter: brightness(.72) saturate(.86);
    mask-image: linear-gradient(90deg, transparent, #000 25%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
  }
  .hero::before { background: linear-gradient(90deg, #101f27 5%, rgba(16,31,39,.78) 30%, rgba(16,31,39,.22) 54%, rgba(16,31,39,.06) 75%, rgba(16,31,39,.2)); }
  .hero::after { background: linear-gradient(0deg, rgba(16,31,39,.7), transparent 28%); }
  .hero-bottom { width: min(calc(100% - var(--gutter)*2), var(--max)); bottom: 18px; }
  .hero-trade { font-size: 9px; }
}
