Hero desktop: fill the column with C (modest zoom into the dot field)
C's dots cluster low-right, leaving the tall desktop column's top empty. Zoom 1.45x + object-position 66% to fill it (1080p keeps it crisp at this level). Scoped to desktop; mobile resets object-position to center so the approved mobile framing is untouched. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -139,7 +139,7 @@ a.tel { text-decoration: none; }
|
||||
z-index: 1; pointer-events: none; background: var(--paper);
|
||||
}
|
||||
.hero-media::after { content: ""; position: absolute; inset: 0; background: var(--paper); opacity: .2; pointer-events: none; }
|
||||
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 1s ease; }
|
||||
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; display: block; opacity: 0; transition: opacity 1s ease; transform: scale(1.45); transform-origin: 66% 66%; }
|
||||
.hero-video.is-playing { opacity: .5; }
|
||||
@media (max-width: 760px) {
|
||||
.hero { min-height: 88vh; padding: 120px 0 56px; display: block; }
|
||||
@@ -147,7 +147,7 @@ a.tel { text-decoration: none; }
|
||||
faded from the top so the headline reads over paper and the ambient shows lower. Tint ::after still applies. */
|
||||
.hero-media { left: 0; width: 100%;
|
||||
-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%); mask-image: linear-gradient(to bottom, transparent 0, #000 18%); }
|
||||
.hero-video { position: absolute; top: 50%; left: 50%; width: 100vh; height: 100vw; object-fit: cover; transform: translate(-50%, -50%) rotate(90deg); }
|
||||
.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); }
|
||||
}
|
||||
|
||||
.actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
|
||||
|
||||
Reference in New Issue
Block a user