/* E — Main Street. A clay town that builds your business as you scroll. Prototype. */
:root { --navy: #18224F; --night: #131B47; --pink: #FF2E7E; --pad: clamp(16px, 3vw, 44px); --font: "Bricolage Grotesque", system-ui, sans-serif; --ease: cubic-bezier(.2,.75,.15,1); }
*, *::before, *::after { box-sizing: border-box; } * { margin: 0; } html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: #8FD8F7; color: var(--navy); font: 400 1.0625rem/1.45 var(--font); font-variation-settings: "opsz" 18; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; } a { color: inherit; } ol { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -70px; z-index: 200; background: var(--pink); color: #fff; padding: 10px 14px; border-radius: 10px; } .skip:focus { top: 10px; }
.sky { position: fixed; inset: 0; height: 100lvh; z-index: -3; background: linear-gradient(var(--a, #7FD0F6), var(--b, #FFF1C9) 72%); }
.stars { position: fixed; inset: 0; height: 100lvh; z-index: -3; opacity: var(--st, 0); background-image: radial-gradient(1.4px 1.4px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 24% 42%, #fff, transparent), radial-gradient(1.6px 1.6px at 38% 12%, #fff, transparent), radial-gradient(1px 1px at 52% 30%, #fff, transparent), radial-gradient(1.4px 1.4px at 66% 9%, #fff, transparent), radial-gradient(1px 1px at 78% 26%, #fff, transparent), radial-gradient(1.6px 1.6px at 90% 15%, #fff, transparent), radial-gradient(1px 1px at 8% 34%, #fff, transparent), radial-gradient(1.2px 1.2px at 46% 6%, #fff, transparent), radial-gradient(1px 1px at 84% 38%, #fff, transparent); }
.stage { position: fixed; inset: 0; height: 100lvh; z-index: -1; background: url(img/poster.webp) center 70% / cover no-repeat; } .webgl .stage { background: none; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .5s; } .webgl .stage canvas { opacity: 1; }
.tilt { position: absolute; left: 0; right: 0; height: 13%; pointer-events: none; -webkit-backdrop-filter: blur(2.5px); backdrop-filter: blur(2.5px); } .tilt--t { top: 0; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); } .tilt--b { bottom: 0; -webkit-mask-image: linear-gradient(transparent, #000); mask-image: linear-gradient(transparent, #000); }
.top { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(12px, 2vw, 28px) 0; color: var(--navy); pointer-events: none; } .top > * { pointer-events: auto; display: flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; background: #fff; transition: background-color .3s, color .3s; } .top nav { padding-right: 6px; } .top[data-on="night"] { color: #fff; } .top[data-on="night"] > * { background: var(--night); } .wm { height: 22px; width: auto; } .wm--l { display: none; } .top[data-on="night"] .wm--d { display: none; } .top[data-on="night"] .wm--l { display: block; }
.top nav { display: flex; align-items: center; gap: 24px; font-weight: 500; } .top nav a { text-decoration: none; } .top nav a:not(.pill):hover { text-decoration: underline; text-underline-offset: 5px; } .pill { padding: 9px 16px; border-radius: 999px; background: var(--navy); color: #fff; } .top[data-on="night"] .pill { background: var(--pink); }
h1, h2, h3, blockquote { font-family: var(--font); font-variation-settings: "opsz" 96, "wdth" 86; font-weight: 800; letter-spacing: -.03em; line-height: .96; }
.hero { min-height: 100svh; padding: clamp(92px, 12vh, 132px) var(--pad) 0; text-align: center; } .hero h1 { font-size: clamp(3.3rem, 1.2rem + 8.4vw, 9.6rem); } .hero p { max-width: 36em; margin: 14px auto 16px; font-size: clamp(1.1rem, 1rem + .4vw, 1.4rem); font-weight: 500; line-height: 1.25; }
.ch { display: flex; align-items: center; min-height: 120svh; padding: 12svh var(--pad); }
.panel { width: min(100%, 25.5rem); padding: clamp(22px, 2.3vw, 34px); border-radius: 30px; background: #fff; color: var(--navy); } .panel--wide { width: min(100%, 33rem); } .dark .panel { background: var(--night); color: #fff; }
.panel h2 { font-size: clamp(2.5rem, 1.7rem + 2.8vw, 4.4rem); } .panel h3 { font-size: clamp(2.4rem, 1.7rem + 2.5vw, 4.1rem); } .panel h3.h-s { margin-top: 18px; font-size: clamp(1.8rem, 1.4rem + 1.3vw, 2.5rem); } .panel p { margin-top: 12px; font-size: 1.15rem; line-height: 1.32; }
.price { display: inline-block; margin-top: 16px; font-weight: 600; text-decoration: none; } .price:hover, .link:hover { color: var(--pink); } .link { display: inline-block; margin-top: 12px; font-weight: 600; text-underline-offset: 4px; }
.shot { display: block; overflow: hidden; border-radius: 16px; } .shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
blockquote { font-size: clamp(2rem, 1.5rem + 1.9vw, 3.1rem); font-weight: 700; line-height: 1.04; } figcaption { margin-top: 14px; font-weight: 500; } .panel p.note { margin-top: 6px; font-size: 1rem; opacity: .8; }
.me { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 18%; border-radius: 18px; margin-bottom: 18px; } .panel p.lead { font-weight: 600; } .dark .panel p { color: #fff; }
.steps { counter-reset: s; margin-top: 16px; } .steps li { counter-increment: s; position: relative; padding: 11px 0 11px 40px; border-top: 1px solid rgba(255,255,255,.2); } .steps li::before { content: counter(s); position: absolute; left: 0; top: 11px; font-weight: 800; font-size: 1.4rem; line-height: 1.1; color: #FF9CC2; } .steps b { font-weight: 700; font-size: 1.15rem; } .panel .steps p { margin-top: 2px; font-size: 1rem; }
.end { display: flex; flex-direction: column; justify-content: center; min-height: 100svh; padding: 110px var(--pad) 18px; color: #fff; background: linear-gradient(90deg, rgba(11,16,51,.88), rgba(11,16,51,.5) 36%, transparent 58%), linear-gradient(transparent 80%, rgba(11,16,51,.75)); } .end h2 { max-width: 5.6em; font-size: clamp(3rem, 1.4rem + 6.2vw, 7.4rem); } .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; min-height: 54px; padding: 0 24px; border-radius: 999px; background: var(--pink); color: #fff; font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s; } .btn:hover { background: #fff; color: var(--navy); } .btn--line { background: transparent; box-shadow: inset 0 0 0 2px #fff; }
.end footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px; width: 100%; margin-top: auto; padding-bottom: 52px; font-size: .92rem; }
@media (max-width: 720px) { .top nav a:not(.pill) { display: none; } .ch { align-items: flex-end; min-height: 108svh; padding: 54svh 12px 10svh; } .panel { width: 100%; border-radius: 26px; } .tilt { display: none; } .hero { padding-top: 96px; } .hero h1 { font-size: 21vw; } .end { justify-content: flex-end; padding-top: 46svh; background: linear-gradient(transparent 40%, rgba(11,16,51,.9) 62%); } .end h2 { font-size: 16vw; max-width: none; } .end footer { margin-top: 18px; padding-bottom: 60px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
