.photo {
  background: none;
  overflow: hidden;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 71% center;
}

.photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.brand img,
.footer-inner img {
  height: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: white;
  font-weight: 900;
  transform: translateY(-160%);
  transition: transform .16s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 4px solid #ffbf47;
  outline-offset: 4px;
}

main:focus {
  outline: none;
}

.footer-details {
  display: grid;
  gap: 7px;
  justify-items: end;
}

.footer-details p {
  max-width: none;
}

.footer-details strong {
  color: rgba(255,255,255,.86);
}

.footer-details a {
  color: rgba(255,255,255,.72);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-inner img {
  width: min(320px, 100%);
  padding: 0;
  background: transparent;
}

/*
 * Proportional layout system
 * --------------------------
 * The desktop composition uses a 42/58 split and fluid limits instead of
 * fixed pixel heights. This keeps the headline, image and call to action in
 * balance on regular laptops, wide monitors and phones.
 */
.wrap {
  width: min(86vw, 1380px);
}

.hero {
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: center;
  padding-block: clamp(34px, 5vh, 64px);
  background: linear-gradient(90deg, var(--paper) 0 71.5%, #e9e4da 71.5%);
}

.hero-grid {
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  gap: clamp(28px, 4vw, 72px);
}

.hero-copy,
.hero-visual,
.section-intro > div,
.choice,
.clarity-grid > *,
.contact-inner > * {
  min-width: 0;
}

.hero h1 {
  font-size: clamp(3.4rem, 4.25vw, 5.2rem);
}

.hero-lead {
  max-width: 34rem;
  margin-block: clamp(18px, 2.5vh, 28px);
  font-size: clamp(1.05rem, 1.2vw, 1.22rem);
}

.microcopy {
  margin-top: clamp(20px, 2.5vh, 28px);
}

.hero-visual {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1.12 / 1;
}

.photo {
  inset: 0 0 5.5% 7%;
}

.hero-visual::after {
  inset: 4.5% 3.5% 0 3%;
}

.stripe-mark {
  left: 0;
  top: 5%;
  gap: clamp(6px, .6vw, 9px);
}

.stripe-mark i {
  width: clamp(68px, 7vw, 105px);
  height: clamp(10px, 1vw, 15px);
}

.photo-label {
  max-width: 48%;
  padding: clamp(11px, 1.2vw, 17px) clamp(13px, 1.5vw, 22px);
}

.choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clarity-grid {
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  gap: clamp(48px, 6vw, 96px);
}

.route-line {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-inner {
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  gap: clamp(42px, 5vw, 78px);
}

@media (max-width: 1050px) {
  .wrap {
    width: min(92vw, 880px);
  }

  .hero {
    min-height: auto;
    padding-block: clamp(24px, 5vw, 50px) clamp(62px, 8vw, 86px);
    background: var(--paper);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: clamp(34px, 6vw, 52px);
  }

  .hero-copy {
    order: 2;
  }

  .hero-visual {
    order: 1;
    aspect-ratio: 16 / 10;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(3.6rem, 8.2vw, 5.5rem);
  }

  .clarity-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 28px);
  }

  .hero {
    padding: 18px 0 62px;
  }

  .hero-visual {
    aspect-ratio: 4 / 3;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 13.2vw, 4rem);
  }

  .photo {
    inset: 0 0 5.5% 4.5%;
  }

  .hero-visual::after {
    inset: 4% 3% 0 1%;
  }

  .photo-label {
    max-width: 68%;
  }

  .choice-grid,
  .route-line {
    grid-template-columns: 1fr;
  }

  .footer-details {
    justify-items: center;
  }
}

@media (min-width: 1051px) and (max-height: 820px) {
  .hero {
    min-height: auto;
    padding-block: 34px 46px;
  }

  .hero-visual {
    max-height: 620px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 4vw, 4.75rem);
  }
}
