/* The first screen. Complete without JavaScript, WebGL or motion. */
.hero {
  position: relative; z-index: 2;
  padding: calc(var(--bar-top) + var(--s2)) var(--gutter) var(--s3);
  background: linear-gradient(90deg, var(--panel) 0%, var(--panel-lit) 100%);
  border-bottom: 1px solid var(--moulding);
  display: flex; flex-direction: column;
}
.hero-photo { order: -1; margin-bottom: var(--s2); padding: 14px 14px 8px; }
.hero-photo picture, .hero-photo img { display: block; width: 100%; }
.hero-photo img { height: clamp(200px, calc(38svh - 28px), 340px); object-fit: cover; object-position: 50% 18%; }
.hero-photo figcaption { margin-top: 6px; color: var(--walnut); font-size: 0.875rem; }
.hero .label { margin-bottom: var(--s1); }
.hero h1 { font-size: var(--step-4); line-height: 1.08; font-weight: 500; max-width: 12em; }
.sub { margin-top: var(--s2); font-size: var(--step-0); }
.hero-cta { margin-top: var(--s3); display: flex; flex-direction: column; gap: var(--s1); max-width: none; }
.hero-cta .btn { width: 100%; }
.price-line { display: block; font-style: italic; font-size: var(--step--1); text-align: center; }
.cap-wide { display: none; }

@media (min-width: 900px) {
  .hero {
    min-height: 100svh; flex-direction: row; align-items: center; justify-content: space-between;
    padding: calc(var(--bar-top) + var(--s4)) var(--gutter) var(--s4);
    gap: 24px; max-width: none;
  }
  .hero-copy { flex: 1 1 0; min-width: 0; margin-left: max(0px, calc((100vw - 1312px) / 2)); }
  .hero h1 { font-size: clamp(46px, 5.3vw, 76px); max-width: 10.5em; }
  .sub { font-size: var(--step-1); max-width: 30em; margin-top: var(--s3); }
  .hero-cta { flex-direction: row; align-items: center; gap: var(--s3); margin-top: var(--s4); }
  .price-line { display: inline; text-align: left; }
  .cap-phone { display: none; }
  .cap-wide { display: inline; }
  .hero-cta .btn { width: auto; min-width: 200px; }
  .hero-photo { order: 0; margin: 0 max(0px, calc((100vw - 1312px) / 2)) 0 0; width: 52%; max-width: 760px; flex: none; padding: 16px 16px 10px; }
  .hero-photo img { height: auto; aspect-ratio: 14 / 9; max-height: none; width: 100%; object-position: 50% 60%; }
}
