/* ═══════════════════════════════════════════════════════════════
   brasa — home.css
   Home-only: 50/50 hero (video left · mood right).
   ═══════════════════════════════════════════════════════════════ */

.hero {
  --hero-control-inset: clamp(32px, 4vh, 48px);
  --hero-control-h: 52px;

  width: 100%;
  display: flex;
  flex-shrink: 0;
  margin-top: calc(-1 * var(--header-height));
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100lvh;
  height: 100lvh;
  overflow: hidden;
}

.hero__panel {
  position: relative;
  overflow: hidden;
  flex: 1;
  height: 100%;
}

.hero__panel--video video {
  object-position: center 72%;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Mood panel ── */
.hero__panel--mood picture,
.hero__panel--mood img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__panel--mood picture {
  position: absolute;
  inset: 0;
}

.hero__panel--mood img {
  object-position: center 42%;
}

.hero__cta {
  position: absolute;
  bottom: var(--hero-control-inset);
  left: var(--hero-control-inset);
  z-index: 10;
}

.hero__cta.btn-ink {
  color: #1B1B1B;
  background: var(--color-white);
  border-color: var(--color-white);
  transition: none;
}

.hero__cta.btn-ink:focus-visible {
  outline: 2px solid var(--color-royal-blue);
  outline-offset: 3px;
}

.hero__sound {
  position: absolute;
  bottom: var(--hero-control-inset);
  right: var(--hero-control-inset);
  left: auto;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  pointer-events: auto;
}

.hero__sound:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}

.hero__sound[aria-pressed="true"] {
  color: rgba(255, 255, 255, 0.95);
}

.hero__sound:active {
  color: rgba(255, 255, 255, 0.95);
}

.hero__sound-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__sound-icon--on {
  transform: translateX(-1px);
}

.hero__sound-speaker {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
}

.hero__sound-icon.is-hidden {
  display: none;
}

.hero__cta:focus-visible,
.hero__sound:focus-visible {
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero__panel {
    height: auto;
    flex: none;
  }

  .hero__panel--video {
    order: -1;
    height: 60vh;
    height: 60dvh;
  }

  .hero__panel--mood {
    order: 1;
    height: 50vh;
    height: 50dvh;
    min-height: 380px;
  }

  .hero {
    --hero-control-inset: 20px;
    --hero-control-h: 48px;
  }

  .hero__sound {
    width: 46px;
    height: 46px;
  }

  .hero__sound-icon {
    width: 21px;
    height: 21px;
  }

}

/* ─────────────────────────────────────────────
   PRE-FOOTER — newsletter + contact (flows into footer)
   ───────────────────────────────────────────── */
.home-prefooter {
  --prefooter-line: #E8E8E8;
  --prefooter-ink: #1B1B1B;
  --prefooter-mute: #6B6B6B;

  background: #FAF9F6;
  border-top: 1px solid #EBEBEB;
}

.home-prefooter + .site-footer {
  border-top: 0;
  padding-top: 0;
}

.home-prefooter__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: clamp(40px, 6vh, 64px) var(--page-gutter) clamp(32px, 5vh, 48px);
}

.home-newsletter,
.home-contact {
  padding: clamp(28px, 4vh, 36px) 0;
}

.home-newsletter {
  border-bottom: 1px solid var(--prefooter-line);
}

.home-prefooter__heading {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.2vw, 13px);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--prefooter-ink);
  margin: 0 0 clamp(14px, 2vh, 18px);
}

.home-prefooter__text {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.25vw, 14px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--prefooter-ink);
  margin: 0 0 clamp(20px, 3vh, 28px);
  max-width: 38ch;
}

.home-prefooter__text--lead {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: clamp(12px, 2vh, 16px);
  max-width: none;
}

.home-prefooter__text--muted {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.75;
  color: var(--prefooter-mute);
  margin-bottom: clamp(18px, 3vh, 24px);
}

.home-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 420px;
  margin-top: clamp(4px, 1vh, 8px);
}

.home-newsletter__input {
  width: 100%;
  padding: 18px 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--prefooter-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--prefooter-line);
  outline: none;
  transition: border-color 0.3s ease;
}

.home-newsletter__input::placeholder {
  color: #9A9A9A;
  font-weight: 300;
}

.home-newsletter__input:focus {
  border-bottom-color: var(--prefooter-ink);
}

.home-newsletter__submit {
  width: 100%;
  margin-top: clamp(16px, 2.5vh, 20px);
}

.home-newsletter__consent {
  margin: clamp(12px, 2vh, 16px) 0 0;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.7;
  color: var(--prefooter-mute);
  max-width: 38ch;
}

.home-newsletter__consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-newsletter__status {
  margin: clamp(14px, 2vh, 18px) 0 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.65;
  color: var(--prefooter-mute);
  max-width: 38ch;
}

.home-newsletter__status.is-success {
  color: var(--prefooter-ink);
}

.home-newsletter__status.is-error {
  color: var(--color-terracotta);
}

.home-contact__email {
  margin: 0 0 clamp(18px, 3vh, 24px);
}

.home-contact__email a {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.35vw, 15px);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--prefooter-ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 27, 27, 0.35);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.home-contact__link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--prefooter-ink);
  text-decoration: none;
}

@media (min-width: 769px) {
  .home-prefooter__inner {
    position: relative;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
  }

  .home-prefooter__inner::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--prefooter-line);
    transform: translateX(-50%);
    pointer-events: none;
  }

  .home-newsletter {
    padding: 0 clamp(32px, 4vw, 48px) 0 0;
    border-bottom: 0;
    border-right: 0;
  }

  .home-contact {
    padding: 0 0 0 clamp(32px, 4vw, 48px);
  }

  .home-prefooter__text,
  .home-newsletter__status,
  .home-newsletter__consent {
    max-width: 36ch;
  }
}

@media (max-width: 768px) {
  .home-contact {
    padding-top: clamp(28px, 4vh, 36px);
  }
}
