/* The /27 homepage. It sits on the feature pages' styles.css; this adds what only the
   homepage has: the hero's wall of screens, the opening statement, tiles that lead to
   a feature page, and the sections that are text alone. */
.hero-actions{flex-wrap:wrap;gap:12px}

/* hero: every feature's screen in rows that drift slowly in opposite directions, with
   the headline standing over the wall's darker left side. Each screen leads to its page
   and plays its clip while the pointer is on it. */
.hero-t{position:relative;display:grid;align-items:center;min-height:calc(100vh - 68px);min-height:calc(100svh - 68px);overflow:hidden;isolation:isolate}
.wall{position:absolute;inset:-30% -10%;z-index:-2;display:grid;align-content:center;gap:clamp(8px,1vw,16px);transform:rotate(-5deg)}
.wall-row{display:flex;gap:clamp(8px,1vw,16px);width:max-content;animation:wall-drift 90s linear infinite}
.wall-row:nth-child(even){animation-direction:reverse}
.wall-row:nth-child(3n){animation-duration:120s}
@keyframes wall-drift{to{transform:translateX(calc(-50% - clamp(4px,.5vw,8px)))}}
.wall:hover .wall-row{animation-play-state:paused}
.tile-screen{position:relative;display:block;flex:none;width:clamp(200px,21vw,330px);aspect-ratio:16/9;overflow:hidden;border:1px solid rgba(255,255,255,.2);border-radius:clamp(8px,1vw,16px);background:#050505;transition:border-color .25s}
.tile-screen img,.tile-screen video{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;transform:scale(1.2);filter:brightness(1.6) contrast(1.06) saturate(1.12);transition:filter .25s,opacity .25s}
.tile-screen video{opacity:0}
.tile-screen.playing video{opacity:1}
.tile-screen span{position:absolute;z-index:1;left:12px;bottom:10px;padding:4px 9px;border:1px solid rgba(255,255,255,.16);border-radius:8px;background:rgba(0,0,0,.62);font-size:12.5px;font-weight:520;letter-spacing:-.005em;opacity:0;transition:opacity .2s}
.tile-screen:hover{border-color:rgba(255,255,255,.55)}
.tile-screen:hover img,.tile-screen:hover video{filter:brightness(2) contrast(1.06) saturate(1.2)}
.tile-screen:hover span,.tile-screen:focus-visible span{opacity:1}
/* keeps the type readable over the wall */
.hero-t::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#000 6%,rgba(0,0,0,.9) 30%,rgba(0,0,0,.5) 54%,rgba(0,0,0,.12) 78%,rgba(0,0,0,.2)),linear-gradient(180deg,rgba(0,0,0,.75),transparent 16%,transparent 80%,#000);pointer-events:none}
.hero-t-copy{pointer-events:none}
.hero-t-copy a{pointer-events:auto}
.hero-t h1{max-width:9.4em;font-size:clamp(44px,7.2vw,108px);font-weight:520;line-height:.98;letter-spacing:-.048em;text-wrap:balance;text-shadow:0 2px 50px #000}
.hero-t .hero-description{max-width:540px;text-shadow:0 1px 24px #000}
.hero-t .hero-actions{justify-content:flex-start;margin-top:clamp(24px,2.6vw,36px)}

.lede{margin-top:clamp(84px,11vw,160px)}
.lede p{max-width:860px;font-size:clamp(19px,1.9vw,25px);line-height:1.46;letter-spacing:-.018em;color:var(--mute)}
.lede p+p{margin-top:1.05em}
.lede .point{color:var(--ink)}

/* a section of text alone, and two of them side by side */
.band,.pair{margin-top:clamp(84px,11vw,168px)}
.band h2,.pair h2{max-width:22em;font-size:clamp(27px,3vw,40px);font-weight:510;line-height:1.16;letter-spacing:-.026em}
.pair h2{font-size:clamp(23px,2.3vw,30px)}
.band>p,.pair p{max-width:600px;margin-top:14px;font-size:17px;line-height:1.6;letter-spacing:-.008em;color:var(--soft)}
.pair{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(64px,8vw,120px) clamp(36px,6vw,96px)}
.copy p+p{margin-top:12px}

.facts.two{grid-template-columns:repeat(2,1fr)}
.band .facts{margin-top:34px}
.list{display:grid;margin:24px 0 0;padding:0;list-style:none}
.list li{padding:15px 0;border-top:1px solid var(--line);font-size:15.5px;line-height:1.58;color:var(--soft)}
/* inside a feature the list runs in two columns */
.list.two{grid-template-columns:repeat(2,1fr);column-gap:clamp(20px,3vw,44px)}
.list strong{font-weight:560;color:var(--ink)}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.chips span{display:inline-flex;align-items:center;height:34px;padding:0 13px;border:1px solid rgba(255,255,255,.11);border-radius:9px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.015));font-size:13.5px;font-weight:500;color:var(--soft)}

.more{display:inline-flex;align-items:center;gap:8px;margin-top:26px;font-size:15px;font-weight:540;letter-spacing:-.006em}
.more svg{width:15px;height:15px;color:var(--mute);transition:transform .2s,color .2s}
.more:hover svg{transform:translateX(3px);color:var(--ink)}

/* tiles: a small clip, a name and a line, leading to that feature's page */
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(12px,1.5vw,20px);margin-top:36px}
.tiles.two{grid-template-columns:repeat(2,1fr)}
.tile{display:block;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.008));box-shadow:inset 0 .5px 0 rgba(255,255,255,.12);transition:border-color .25s}
.tile:hover{border-color:rgba(255,255,255,.24)}
.tile .shot{-webkit-mask-image:linear-gradient(180deg,#000 72%,transparent);-webkit-mask-composite:source-over;mask-image:linear-gradient(180deg,#000 72%,transparent);mask-composite:add}
.tile-copy{position:relative;margin-top:-18px;padding:0 22px 24px}
.tile h3{display:flex;align-items:center;gap:8px;margin:0;font-size:18px;font-weight:540;letter-spacing:-.016em}
.tile h3 svg{width:15px;height:15px;color:var(--mute);transition:transform .2s,color .2s}
.tile:hover h3 svg{transform:translateX(3px);color:var(--ink)}
.tile p{margin-top:7px;font-size:15px;line-height:1.52;color:var(--soft)}

.site-footer .copyright{margin-left:auto}
.site-footer{justify-content:flex-start;gap:28px}

@media (max-width:920px){
  .tiles,.tiles.two,.pair,.facts.two,.list.two{grid-template-columns:1fr}
  .hero-t::before{background:linear-gradient(180deg,rgba(0,0,0,.82),rgba(0,0,0,.7) 60%,#000)}
  .tile-screen span{font-size:11px}
  .facts.two{gap:0}
  .pair{gap:clamp(64px,11vw,100px)}
}
@media (max-width:560px){
  .hero-actions{flex-direction:column;align-items:center}
  .hero-t .hero-actions{align-items:stretch}
  .hero-t .hero-actions .button{width:100%}
}
@media (prefers-reduced-motion:reduce){
  .more svg,.tile,.tile h3 svg{transition:none}
  .wall-row{animation:none}
}
