diff --git a/style.css b/style.css index c478e5d..a95f3b5 100644 --- a/style.css +++ b/style.css @@ -135,12 +135,12 @@ a.tel { text-decoration: none; } .hero-wrap { position: relative; z-index: 2; width: 100%; } .hero-col { max-width: 600px; } .hero-media { - position: absolute; top: 0; right: 0; bottom: 0; width: 56%; + position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--paper); } -.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to right, var(--paper) 0%, rgba(247,244,239,0) 30%); } +.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(247,244,239,.35) 0%, rgba(247,244,239,0) 22%, rgba(247,244,239,0) 78%, var(--paper) 100%); } .hero-video { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 1s ease; } -.hero-video.is-playing { opacity: .5; } +.hero-video.is-playing { opacity: .35; } @media (max-width: 760px) { .hero { min-height: 88vh; padding: 120px 0 56px; display: block; } /* Loop OVERLAID as the hero background (not stacked below): full-bleed, rotated 90deg CW, @@ -149,7 +149,7 @@ a.tel { text-decoration: none; } -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%); mask-image: linear-gradient(to bottom, transparent 0, #000 18%); } .hero-media::after { background: rgba(247,244,239,.2); } /* flat lightening wash on mobile (no desktop left-fade) */ .hero-video { position: absolute; top: 50%; left: 50%; width: 100vh; height: 100vw; object-fit: cover; object-position: 50% 50%; transform: translate(-50%, -50%) rotate(90deg); mix-blend-mode: normal; } - .hero-video.is-playing { opacity: .5; } + .hero-video.is-playing { opacity: .4; } } .actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }