/* Proposta B: foto grande ferma, il sito scorre sopra (effetto sipario) */
.lh { position: relative; min-height: calc(100svh - 73px); display: flex; align-items: flex-end; justify-content: center; text-align: center; color: var(--avorio); clip-path: inset(0); overflow: hidden; background: var(--cacao); }
.lh-bg { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transform: scale(var(--z, 1.12)); transform-origin: 50% 30%; filter: saturate(1.05); will-change: transform; animation: lh-in 2.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes lh-in { from { opacity: 0; } }
.lh::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(74,51,41,0) 0%, rgba(74,51,41,.08) 35%, rgba(74,51,41,.62) 68%, rgba(52,35,28,.86) 100%); pointer-events: none; }
.lh-copy { position: relative; z-index: 1; width: 100%; max-width: 1100px; padding: 0 20px clamp(48px, 9vh, 96px); opacity: var(--o, 1); transform: translateY(var(--y, 0px)); }
.lh .kicker { color: #f3d9cf; letter-spacing: .32em; }
.lh h1 { font-family: var(--serif); font-weight: 400; color: var(--avorio); font-size: clamp(54px, 10.5vw, 168px); line-height: .9; letter-spacing: -.02em; margin: 14px 0 22px; text-shadow: 0 4px 40px rgba(40,25,18,.35); }
.lh h1 .l1 { display: block; font-size: .42em; letter-spacing: .02em; margin-bottom: .18em; }
.lh h1 em { display: block; color: #f1cfc4; font-style: italic; }
.lh h1 .ch { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(.35em) rotate(4deg); animation: lh-ch 1.1s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.5s + var(--i) * .055s); }
@keyframes lh-ch { to { opacity: 1; filter: blur(0); transform: none; } }
.lh .rotator { color: #fbe9e2; font-size: clamp(20px, 2.2vw, 28px); margin: 0 auto 14px; }
.lh .rotator .rot b { color: #fff; }
.lh .sub { max-width: 36em; margin: 0 auto 30px; color: #f6ece6; font-size: 18px; }
.lh .sub .hl { color: #fff; }
.lh .actions { justify-content: center; }
.lh .btn { background: var(--avorio); color: var(--cacao); border-color: var(--avorio); }
.lh .btn:hover { background: var(--rosa-antico, #C99A8F); border-color: var(--rosa-antico, #C99A8F); color: #fff; }
.lh .btn.ghost { background: transparent; color: var(--avorio); border-color: rgba(251,247,242,.65); }
.lh .btn.ghost:hover { background: var(--avorio); color: var(--cacao); }
.lh-fade > * { animation: lh-up 1s cubic-bezier(.2,.7,.2,1) both; }
.lh-fade > :nth-child(1) { animation-delay: .2s; } .lh-fade > :nth-child(3) { animation-delay: 1.3s; } .lh-fade > :nth-child(4) { animation-delay: 1.45s; } .lh-fade > :nth-child(5) { animation-delay: 1.6s; }
.lh-fade > h1 { animation: none; }
@keyframes lh-up { from { opacity: 0; transform: translateY(22px); } }
.lh-line { display: block; width: 1px; height: 46px; margin: 26px auto 0; background: linear-gradient(#fff, transparent); animation: lh-drop 2s ease-in-out infinite; transform-origin: top; }
@keyframes lh-drop { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
/* le sezioni dopo la foto salgono come un foglio */
.lh + section { position: relative; z-index: 2; border-radius: 28px 28px 0 0; margin-top: -28px; box-shadow: 0 -18px 40px rgba(52,35,28,.18); }
@media (max-width: 760px) {
  .lh { min-height: calc(100svh - 64px); }
  .lh-bg { object-position: 55% 22%; }
  .lh .sub { font-size: 16px; }
  .lh h1 .l1 { font-size: .5em; }
}
@media (prefers-reduced-motion: reduce) {
  .lh-bg, .lh-fade > *, .lh-line { animation: none; }
  .lh h1 .ch { animation: none; opacity: 1; filter: none; transform: none; }
}
@media (min-width: 900px) {
  .lh { justify-content: flex-end; align-items: center; text-align: right; background: radial-gradient(120% 90% at 85% 40%, #6b4a3c 0%, #4a3329 55%, #34231c 100%); }
  .lh-bg { right: auto; width: 58%; object-position: 50% 30%; -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent 100%); mask-image: linear-gradient(90deg, #000 62%, transparent 100%); }
  .lh::after { background: linear-gradient(90deg, rgba(52,35,28,0) 30%, rgba(52,35,28,.35) 55%, rgba(52,35,28,0) 100%); }
  .lh-copy { max-width: none; width: 50%; margin-right: max(4vw, calc((100vw - 1180px) / 2)); padding: 60px 0; }
  .lh .sub { margin-right: 0; margin-left: auto; max-width: 30em; }
  .lh .rotator { margin-right: 0; }
  .lh .actions { justify-content: flex-end; }
  .lh h1 { font-size: clamp(64px, 8.6vw, 150px); }
  .lh-line { margin-right: 0; }
}
/* leggibilità (2026-11-16): velo più scuro sotto le scritte, soprattutto sul telefono */
.lh h1, .lh .rotator, .lh .sub, .lh .kicker { text-shadow: 0 2px 18px rgba(30,18,12,.55), 0 1px 3px rgba(30,18,12,.45); }
@media (max-width: 899px) {
  .lh::after { background: linear-gradient(180deg, rgba(40,26,20,.05) 0%, rgba(40,26,20,.15) 18%, rgba(40,26,20,.72) 40%, rgba(40,26,20,.9) 58%, rgba(34,22,17,.96) 100%); }
  .lh-bg { object-position: 58% 0%; }
  .lh-copy { padding-bottom: 36px; }
  .lh h1 { margin: 10px 0 14px; }
  .lh .rotator { margin-bottom: 10px; }
  .lh .sub { margin-bottom: 22px; line-height: 1.55; }
  .lh .actions { gap: 10px; }
  .lh .btn { padding: 14px 22px; font-size: 15px; }
  .lh-line { display: none; }
}
@media (min-width: 900px) {
  .lh::after { background: linear-gradient(90deg, rgba(52,35,28,0) 28%, rgba(52,35,28,.55) 50%, rgba(52,35,28,.25) 100%); }
}
/* foto principale (2026-11-16): Lara con la giacca, viso a destra del centro */
.lh-bg { object-position: 62% 30%; }
@media (min-width: 900px) { .lh-bg { object-position: 60% 32%; } }
@media (max-width: 899px) {
  .lh { background: #2c1d17; }
  .lh-bg { bottom: auto; height: 66svh; object-position: 64% 22%; transform-origin: 64% 30%; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
}

/* nastro dei valori (come sul sito di Elena) */
.ribbon { background: var(--cacao); color: var(--cipria); padding-block: 20px; overflow: hidden; border-top: 1px solid rgba(239, 220, 213, .15); border-bottom: 1px solid rgba(239, 220, 213, .15); position: relative; z-index: 1; }
.ribbon .track { display: flex; gap: 44px; width: max-content; animation: lg-scroll 38s linear infinite; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 28px); white-space: nowrap; }
.ribbon .track span { display: flex; align-items: center; gap: 44px; }
.ribbon .track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rosa); }
@keyframes lg-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ribbon .track { animation: none; } }
