/* Examples section + shared mobile scroll/hero fixes. Does not change brand colors or type. */
html{scroll-padding-top:5.25rem}
#hero,#how,#included,#pricing,#faq,#contact{scroll-margin-top:5.25rem}
/* scroll-padding on html already clears the header. Adding scroll-margin here too stacked a ~250px void. */
#work{scroll-margin-top:0}

/* Tight top on mobile so the eyebrow sits just under the sticky header. */
@media (width < 800px){
  .beat-work,
  html.is-scrub .beat-work{
    padding-top:1.5rem !important;
    padding-bottom:3.25rem !important;
  }
}

/* Real site previews — stay inside the page gutter so the first card lines up with the heading. */
.work-list{
  display:flex;
  gap:1rem;
  list-style:none;
  margin:1.15rem 0 0;
  padding:0 0 1.1rem;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-padding-inline:0;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}
.work-list::-webkit-scrollbar{height:6px}
.work-list::-webkit-scrollbar-thumb{background:#ffffff22;border-radius:99px}
.work-list li{
  flex:0 0 min(78vw,272px);
  scroll-snap-align:start;
  min-width:0;
}
/* Right gutter after the last card, matching the section's inline padding. */
.work-list::after{
  content:"";
  flex:0 0 1.2rem;
}

.is-scrub .work-list li,
html.is-scrub .work-list li{
  opacity:1 !important;
  grid-area:auto !important;
  pointer-events:auto;
}
.is-scrub .beat-work .work-list{
  display:flex;
}
.work-card{color:inherit;text-decoration:none;display:block}
.work-card:hover h3{color:var(--color-glow,#7EF0EA)}
.work-frame{
  margin:0;
  background:#111;
  border:1px solid #2c2c2c;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 16px 40px #00000073;
}
.work-chrome{
  display:flex;
  align-items:center;
  gap:5px;
  height:26px;
  padding:0 10px;
  background:#161616;
  border-bottom:1px solid #2c2c2c;
}
.work-chrome i{
  display:block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#3c3c3c;
}
.work-chrome i:nth-child(1){background:#5a5a5a}
.work-frame img{
  display:block;
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  object-position:top center;
  background:#1a1a1a;
}
.work-list h3{
  font-family:var(--font-display);
  letter-spacing:-.03em;
  margin:.7rem 0 .15rem;
  font-size:1.12rem;
  font-weight:580;
  color:#f3f3f3;
}
.work-list p{
  margin:0;
  color:#9a9a9a;
  font-size:.86rem;
  line-height:1.4;
}

.work-more{
  margin:1.35rem 0 0;
}
.work-more a,
.work-more .link{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  color:var(--color-glow,#7EF0EA);
  text-decoration:none;
  font-size:.95rem;
  font-weight:560;
  letter-spacing:-.01em;
  border-bottom:1px solid #7EF0EA88;
  padding-bottom:.15rem;
  line-height:1.2;
}
.work-more a:hover{color:#fff;border-bottom-color:#fff}
.work-more a::after{content:"→"}

/* Hero uses the real preview inside the existing device frame */
.device.work-device{padding:0;background:#111}
.device.work-device .work-frame{
  border:0;
  border-radius:0;
  box-shadow:none;
}
.device.work-device img{
  display:block;
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  object-position:top center;
}

.beat-work .copy{max-width:none;width:100%}

@media (width>=800px){
  .beat-work{padding-top:6.5rem;padding-bottom:4.5rem;padding-inline:3rem}
  html .work-list,
  html:not(.is-scrub) .work-list,
  html.is-scrub .beat-work .work-list{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:1.4rem 1.15rem;
    overflow:visible;
    margin:1.5rem 0 0;
    padding:0;
    scroll-snap-type:none;
  }
  .work-list li{flex:none}
  .work-list::after{display:none;flex:none;content:none}
  html.is-scrub .beat-work{
    grid-template-columns:1fr !important;
    align-content:start !important;
    overflow:auto;
  }
}
@media (width>=1100px){
  html .work-list,
  html:not(.is-scrub) .work-list,
  html.is-scrub .beat-work .work-list{
    grid-template-columns:repeat(3,1fr);
  }
  .beat-work{padding-inline:4.5vw}
}
