/* HERO: split frame. Headline and actions on cols 1-7, tall photo on 8-12, quick form hanging off the photo */
.hero { position: relative; padding-top: calc(var(--header-total) + clamp(1rem, 3vh, 2.5rem)); padding-bottom: clamp(3.5rem, 9vh, 6rem); }
.hero__grid { align-items: stretch; min-height: calc(100svh - var(--header-total) - clamp(1rem, 3vh, 2.5rem) - clamp(3.5rem, 9vh, 6rem)); }

.hero__content {
  grid-column: 1 / span 7;
  display: flex; flex-direction: column; justify-content: space-between; gap: 3rem;
  padding-block: clamp(1rem, 4vh, 3rem) 0;
}
.kicker--margin .node { position: absolute; left: calc(var(--margin) / -2 - var(--size) / 2); top: 50%; translate: 0 -50%; }
.kicker--gutter .node { position: absolute; left: calc(var(--gutter) / -2 - var(--size) / 2); top: 50%; translate: 0 -50%; }

.hero__title {
  font-size: clamp(2.75rem, 0.9rem + 5.2vw, 7.25rem);
  line-height: 0.96; letter-spacing: -0.045em; font-weight: 500;
  margin-left: -0.05em;
  max-width: min(11.5em, calc(100% - 3rem));
  margin-top: auto;
}
.hero__bottom { display: grid; gap: 1.5rem; max-width: min(36rem, calc(100% - 3.5rem - var(--gutter))); }
.hero__lead { max-width: 30ch; color: var(--c-fg); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero__media { grid-column: 8 / -1; position: relative; display: grid; }
.hero__frame { height: 100%; min-height: 32rem; margin-right: calc(var(--margin) * -1); border-radius: var(--radius-m) 0 0 var(--radius-m); }
.hero__frame img { position: absolute; inset: 0; }
/* Slider: photos stacked, only the first visible until hero.js takes over (no JS / reduced motion: the first one, still) */
.hero__frame img + img { opacity: 0; visibility: hidden; }

/* Quick form: a sheet hanging off the bottom-left corner of the photo */
.quick {
  border-radius: var(--radius-m);
  position: absolute; left: -3.5rem; bottom: clamp(-3rem, -5vh, -1.5rem);
  width: min(25rem, 100%);
  display: grid; gap: 1rem;
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  background: var(--c-surface);
  box-shadow: 0 1px 0 var(--c-line), 0 24px 60px -30px rgb(16 26 19 / 0.35);
}
.quick__title { font-size: var(--t-l); line-height: 1; letter-spacing: -0.035em; font-weight: 500; }
.quick__text { font-size: var(--t-s); margin-top: -0.25rem; }
.quick__fields { display: grid; gap: 0.75rem; }
.quick__fields .field__input { min-height: 2.85rem; }
.quick .wpcf7-form { display: grid; gap: 1rem; }
.quick .wpcf7-acceptance { font-size: var(--t-xs); }

@media (max-width: 1100px) and (min-width: 768px) {
  .hero__content { grid-column: 1 / span 7; }
  .hero__media { grid-column: 8 / -1; }
  .quick { left: -2rem; width: calc(100% + 2rem); }
}

@media (max-width: 767px) {
  .hero { padding-top: calc(var(--header-total) + 1.25rem); padding-bottom: 3.5rem; }
  .hero__grid { min-height: 0; row-gap: 2.5rem; }
  .hero__content { grid-column: 1 / -1; gap: 1.75rem; padding: 0; }
  .hero__title { font-size: clamp(2.4rem, 11.2vw, 3.6rem); margin-top: 0; }
  .hero__bottom { max-width: none; }
  .hero__actions { display: grid; grid-template-columns: 1fr; }
  .hero__media { grid-column: 1 / -1; }
  .hero__frame { min-height: 0; aspect-ratio: 4 / 4.2; margin-right: calc(var(--margin) * -1); }
  .quick { position: relative; left: auto; bottom: auto; width: auto; margin: -4rem 0 0 0; }
}
