/* home: page-only touches. The design system in site.css does the heavy lifting. */
.page-home.hero .display{max-width:12ch;text-wrap:balance}
.page-home.hero .lede{max-width:34ch}
.page-home .btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.page-home .center .btns{justify-content:center}

.page-home.moment .headline{text-wrap:balance}
.page-home .scenes .card h3{font-size:clamp(1.5rem,2.6vw,2.1rem);line-height:1.08;margin:0 0 12px}
.page-home .scene-run{margin:0 0 18px;font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;opacity:.62}
@media (min-width:900px){.page-home .scenes{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}}
.page-home .home-shot img{display:block;width:100%;height:auto}
.page-home.moment-open .bleed-copy .headline{max-width:16ch;text-wrap:balance}
.page-home .home-shot{margin:clamp(36px,6vw,72px) 0 0;overflow:hidden;clip-path:inset(0 round 28px)}

.page-home.colours .colour-picker{margin:clamp(28px,5vw,56px) auto 0}
.page-home .chips i.sw-pearl{background:#F7F5F2}
.page-home .chips i.sw-midnight{background:#16161B}
.page-home .chips i.sw-blush{background:#F2C9CF}
.page-home .chips i.sw-lavender{background:#D3C8EE}
.page-home .chips i.sw-sky{background:#C4DFF2}
.page-home .chips i.sw-sage{background:#CBDAC2}
.page-home .chips i.sw-butter{background:#F5E3A3}
.page-home .chips i.sw-sand{background:#E7D5BB}

.page-home .more{margin-top:32px;font-weight:600}
.page-home .more a{text-decoration:underline;text-underline-offset:.22em;text-decoration-thickness:2px}
.page-home .more a::after{content:" \2192"}

.page-home.flow .headline{font-size:clamp(2.6rem,8vw,6rem);line-height:.98;letter-spacing:-.02em}
.page-home.flow .steps{margin-top:clamp(32px,5vw,64px)}

.page-home.app{padding-top:0;overflow:hidden}
.page-home.app .ticker{margin-bottom:clamp(48px,8vw,104px);font-size:clamp(2rem,6vw,4.5rem);font-weight:700}
.page-home.app .phone-frame{max-width:320px;margin-inline:auto}
.page-home.app .phone-frame img{display:block;width:100%;height:auto}

.page-home .narrow-copy{max-width:640px;margin:28px auto 0}
.page-home.buffer .big-line,.page-home.privacy .big-line{text-wrap:balance}

.page-home.landing .bleed-copy .headline{max-width:11ch}
.page-home.landing .bleed-copy .lede{max-width:32ch}

.page-home .tour-cards{margin-top:clamp(28px,4vw,48px)}
.page-home .tour-cards a.card{display:block;color:#16161B;text-decoration:none;transition:transform .25s ease,box-shadow .25s ease}
.page-home .tour-cards a.card.c-midnight,.page-home .tour-cards a.card.c-midnight h3,.page-home .tour-cards a.card.c-midnight p{color:#F7F5F2}
.page-home .tour-cards a.card h3::after{content:" \2192";display:inline-block;transition:transform .25s ease}
.page-home .tour-cards a.card:hover,.page-home .tour-cards a.card:focus-visible{transform:translateY(-4px);box-shadow:0 18px 40px rgba(22,22,27,.12)}
.page-home .tour-cards a.card:hover h3::after{transform:translateX(4px)}
@media (min-width:900px){.page-home .tour-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}}
@media (prefers-reduced-motion:reduce){
  .page-home .tour-cards a.card,.page-home .tour-cards a.card h3::after{transition:none}
  .page-home .tour-cards a.card:hover{transform:none}
}

.page-home figure.split-media:has(.phone-frame){display:flex;flex-direction:column;align-items:center;gap:12px}
.page-home figure.split-media .phone-frame + .fine{position:static;float:none;text-align:center;max-width:30ch;margin:0}
/* r5.1 hero: whole block inside the first viewport; less zoom; sharp on wide screens */
.page-home.hero{min-height:100svh;height:100svh;max-height:1200px;padding:0}
.page-home.hero .hero-fill{position:absolute;inset:-6%;background:url(/assets/video/twirl-hero.jpg) center/cover;filter:blur(36px) saturate(1.1);opacity:.7;z-index:0}
.page-home.hero .hero-video{object-fit:cover;object-position:52% 42%}
@media (min-aspect-ratio:21/9){.page-home.hero .hero-video{object-fit:contain}}
.page-home.hero::after{background:linear-gradient(to top,rgba(22,22,27,.82) 0%,rgba(22,22,27,.5) 30%,rgba(22,22,27,0) 58%),linear-gradient(to bottom,rgba(22,22,27,.42),rgba(22,22,27,0) 18%)}
.page-home.hero .bleed-copy{padding-top:calc(var(--hh) + 16px);padding-bottom:clamp(28px,6svh,72px)}
.page-home.hero .display{font-size:clamp(2.5rem,min(3.9vw + 1rem,8.6svh),5.25rem);line-height:1;max-width:none}
.page-home.hero .lede{font-size:clamp(1.02rem,.5vw + .85rem,1.3rem);max-width:36ch}
.page-home.hero .display+.lede{margin-top:clamp(12px,1.8svh,22px)}
.page-home.hero .btns{margin-top:clamp(16px,2.6svh,28px)}
@media (max-width:700px){
  .page-home.hero{height:auto;min-height:0;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:var(--hh) 0 0}
  .page-home.hero .hero-fill{display:none}
  .page-home.hero .hero-video{position:relative;inset:auto;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:50% 50%}
  .page-home.hero::after{display:none}
  .page-home.hero .bleed-copy{padding-top:28px;padding-bottom:32px}
}
.page-home.hero .bleed-copy{max-width:calc(1400px + var(--gutter) * 2)}
