diff --git a/public/assets/page-templates/fwnet-home.webp b/public/assets/page-templates/fwnet-home.webp index c9c1fa4..75c9401 100644 Binary files a/public/assets/page-templates/fwnet-home.webp and b/public/assets/page-templates/fwnet-home.webp differ diff --git a/public/assets/page-themes.css b/public/assets/page-themes.css index 29b902d..46d5636 100644 --- a/public/assets/page-themes.css +++ b/public/assets/page-themes.css @@ -307,7 +307,40 @@ .fwnet-nav a:hover { color: var(--accent); } .fwnet-brand { gap: .5rem; font-weight: 700; } .fwnet-brand img { width: 26px; height: 26px; } -.fwnet-hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 2rem; padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 3rem); } +.fwnet-hero { + --fwnet-glow-size: 16rem; + position: relative; + isolation: isolate; + display: grid; + grid-template-columns: 1.2fr 1fr; + align-items: center; + gap: 2rem; + padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 3rem); +} +.fwnet-hero::before { + position: absolute; + grid-area: 1 / 2 / 2 / 3; + inset: 0; + margin: auto; + inline-size: var(--fwnet-glow-size); + block-size: var(--fwnet-glow-size); + border-radius: 50%; + background: linear-gradient(90deg, #e0e7ff, #e0f2fe, #cffafe); + filter: blur(68px); + pointer-events: none; + z-index: -1; +} +.fwnet-hero:has(> img:not([hidden]))::before { content: ""; } +@media (min-width: 60rem) { + .fwnet-hero { --fwnet-glow-size: 20rem; } +} +@media (prefers-reduced-motion: no-preference) { + .fwnet-hero::before { animation: fwnet-hero-breathe 2.5s cubic-bezier(.45, .05, .55, .95) infinite alternate; } +} +@keyframes fwnet-hero-breathe { + from { opacity: .8; } + to { opacity: 1.2; } +} .fwnet-hero h1 span { color: var(--accent); } .fwnet-hero p { color: var(--muted); font-size: clamp(1.125rem, 2.2vw, 1.5rem); font-weight: 500; } .fwnet-hero > img { width: min(100%, 330px); height: auto; margin-inline: auto; } @@ -325,8 +358,9 @@ .fwnet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 620px) { - .fwnet-hero { grid-template-columns: 1fr; text-align: center; } + .fwnet-hero { --fwnet-glow-size: 12rem; grid-template-columns: 1fr; gap: 1.25rem; text-align: center; } + .fwnet-hero::before { grid-area: 1 / 1 / 2 / 2; } .fwnet-hero .actions { justify-content: center; } - .fwnet-hero > img { grid-row: 1; width: 135px; } + .fwnet-hero > img { grid-row: 1; width: min(100%, 12rem); height: 12rem; object-fit: contain; } .fwnet-grid { grid-template-columns: 1fr; } }