/* /build-the-track/: shares the homepage tokens and the Build The Track section styles (homepage.css); this file only adds the page
   hero, the filters and the grid. */
.howto-page{
  background:#000
}
.howto-main{
  padding-top:clamp(28px,4vw,56px);
  padding-bottom:clamp(70px,9vw,135px)
}
/* Compact header: title on the left, intro and channel link on the right, so the videos start high on a laptop. */
.howto-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,440px);
  align-items:end;
  gap:24px 48px;
  padding-bottom:28px;
  margin-bottom:28px;
  border-bottom:1px solid var(--line)
}
.howto-hero .eyebrow{
  color:var(--muted);
  margin-bottom:18px
}
.howto-hero h1{
  font-size:clamp(44px,6.4vw,96px);
  font-weight:500;
  line-height:.9;
  letter-spacing:-.06em
}
.howto-hero-side{
  display:grid;
  gap:18px;
  justify-items:start
}
.howto-hero p{
  color:#92928d;
  font-size:13px;
  line-height:1.65
}
.howto-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:24px
}
.howto-chips button{
  padding:9px 14px;
  border:1px solid var(--line);
  background:none;
  color:var(--muted);
  font:inherit;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  cursor:pointer
}
.howto-chips button:hover{
  color:var(--ink)
}
.howto-chips button[aria-pressed="true"]{
  background:var(--ink);
  border-color:var(--ink);
  color:#000
}
/* Spotlight: video and copy side by side, the video capped by the screen height. */
.howto-main .howto-feature{
  grid-template-columns:minmax(0,min(62%,calc((100svh - var(--header-slot-height)) * .55 * 16 / 9))) minmax(0,1fr);
  align-items:center;
  gap:clamp(20px,3vw,44px);
  padding-bottom:clamp(40px,5vw,70px);
  margin-bottom:clamp(40px,5vw,70px);
  border-bottom:1px solid var(--line)
}
.howto-main .howto-title{
  font-size:clamp(22px,2.3vw,34px)
}
.howto-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(28px,3vw,40px) clamp(16px,2vw,24px)
}
.howto-card{
  display:grid;
  gap:10px;
  align-content:start
}
.howto-card[hidden]{
  display:none
}
.howto-card-title{
  font-size:15px;
  font-weight:500;
  line-height:1.35
}
.howto-card .howto-glyph{
  width:48px;
  height:48px;
  margin:-24px 0 0 -24px
}
.howto-card .howto-glyph::before{
  left:19px;
  top:15px;
  border-left-width:13px;
  border-top-width:9px;
  border-bottom-width:9px
}
.howto-empty{
  color:var(--muted);
  font-size:14px
}
.howto-empty a{
  color:var(--ink);
  border-bottom:1px solid #777
}
@media(max-width:1000px){
  .howto-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}
@media(max-width:860px){
  .howto-main .howto-feature{
    grid-template-columns:minmax(0,1fr)
  }
  .howto-hero{
    grid-template-columns:minmax(0,1fr)
  }
}
@media(max-width:560px){
  .howto-grid{
    grid-template-columns:minmax(0,1fr)
  }
}
/* Background: the intro wave (build-the-track.js) on a fixed canvas behind the whole page. Text that sits over it
   gets a soft dark halo so it stays readable wherever the wave passes. */
.btt-bg{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
  pointer-events:none
}
.howto-page .howto-main,.howto-page .footer{
  position:relative;
  z-index:1
}
.howto-hero p,.howto-meta,.howto-pack,.howto-card-title,.howto-main .howto-title{
  text-shadow:0 1px 16px #000,0 0 2px #000
}
