/* ==========================================================================
   UnboxmoU home page. Enqueued on the front page only, after site.css, so a
   rule here wins an equal-specificity tie with one there. Same tokens, same
   rules: radius 0, hard offset shadows, one accent, no new motion.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero extras. The title, lede and CTA group are styled in site.css; this is
   the row that holds the CTAs and the four labels, and the closing line.
   -------------------------------------------------------------------------- */
.hero__row{ display:flex; flex-wrap:wrap; align-items:center; gap:1rem 1.6rem; margin-top:1.6rem }
/* Labels, not links: the body face, no shadow, so they never compete with the
   two arcade buttons. The solid --surface ground reads over any art. */
.hero__tags{ display:flex; flex-wrap:wrap; gap:.5rem }
.hero__tags li{ font-family:var(--body); font-size:var(--fs-xs); line-height:1.3; color:var(--text);
  background:var(--surface); border:2px solid var(--line-firm); padding:.32rem .65rem; white-space:nowrap }
.hero__line{ margin-top:1.1rem; font-size:var(--fs-sm); color:var(--text); max-width:60ch }
/* Between 881px and 1280px the scrim has thinned out before the copy ends, so the
   lede and the line get the ground the labels already have (WCAG 1.4.3). */
@media (min-width: 881px) and (max-width: 1280px){
  .hero .lede, .hero__line{ background:color-mix(in srgb, var(--bg) 80%, transparent); padding:.45rem .7rem; width:fit-content }
}
@media (max-width: 560px){ .hero__row{ gap:.9rem } }

/* --------------------------------------------------------------------------
   No events yet: the "Stay tuned" poster. It copies the real posters (charcoal
   ground, a dashed yellow stripe, yellow display type, a yellow date bar, pixel
   props) from the two theme-constant tokens, so it reads as one more poster on
   the wall in both themes, never as a hole. It is a div, not a link.
   -------------------------------------------------------------------------- */
.slide--empty{ cursor:default }
.slide--empty .slide__pic{ border-bottom:0; aspect-ratio:4/5 }
@media (prefers-reduced-motion:no-preference) and (hover:hover){ .slide--empty:hover{ translate:none } }
.slide--empty:active{ translate:none; box-shadow:var(--off) var(--off) 0 0 var(--accent-text) }
.poster{ position:absolute; inset:0; display:grid; align-content:center; justify-items:start;
  padding:16% 10% 18%; overflow:hidden;
  color:var(--accent);
  background:
    repeating-linear-gradient(90deg, var(--accent) 0 12px, transparent 12px 20px) 0 0 / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, var(--accent) 0 12px, transparent 12px 20px) 0 100% / 100% 6px no-repeat,
    repeating-conic-gradient(color-mix(in srgb, var(--accent) 7%, var(--on-accent)) 0 25%, var(--on-accent) 0 50%) 0 0 / 8px 8px }
/* width:min-content breaks "Stay tuned" into STAY / TUNED with no <br>. */
.poster__big{ display:block; width:min-content; font-family:var(--display); font-weight:400;
  font-size:calc(var(--slide-w) * .24); line-height:.82; letter-spacing:.01em; text-transform:uppercase;
  text-shadow:var(--px) var(--px) 0 color-mix(in srgb, var(--accent) 35%, var(--on-accent)) }
.poster__small{ display:inline-block; margin-top:.9rem; padding:.28em .6em;
  background:var(--accent); color:var(--on-accent);
  font-family:var(--display); font-size:calc(var(--slide-w) * .075); line-height:1.1;
  letter-spacing:.06em; text-transform:uppercase;
  box-shadow:var(--px) var(--px) 0 0 color-mix(in srgb, var(--accent) 35%, var(--on-accent)) }
/* Doubled class: the slide's own `.slide__pic img` and `.slide__pic .px-img` (full
   size, 14% padding) would otherwise beat a single class. Props sit in the corners,
   clear of the text block at both 240px and 420px. */
.poster .poster__prop{ position:absolute; height:auto; padding:0; pointer-events:none;
  right:8%; bottom:8%; width:calc(var(--slide-w) * .2) }               /* controller */
.poster .poster__prop--meeple{ left:8%; right:auto; top:7%; bottom:auto; width:calc(var(--slide-w) * .17) }
.poster .poster__prop--die{ right:9%; top:8%; bottom:auto; width:calc(var(--slide-w) * .11) }

/* --------------------------------------------------------------------------
   What to do at UnboxmoU? Four bands. The copy keeps the page's left edge and
   the photo is positioned in the right half, so text never sits on a photo and
   its contrast is the ground's, whatever the client uploads. The photo's left
   edge fades into the ground. Band 4 has no photo: a full-width typographic band.
   -------------------------------------------------------------------------- */
.wtd{ padding-top:var(--sec); border-top:1px solid var(--line) }
.wtd > .wrap > h2{ font-size:var(--fs-xl); max-width:16ch; margin-bottom:clamp(1.6rem,4vh,2.6rem) }
.wtd__b{ --ground:var(--bg); position:relative; isolation:isolate; overflow:hidden;
  display:flex; align-items:center; min-height:min(70vh, 560px);
  padding-block:clamp(3rem, 8vh, 5rem); background:var(--ground); border-top:1px solid var(--line) }
.wtd__b:nth-of-type(even){ --ground:var(--surface) }
.wtd__copy{ position:relative; z-index:2; max-width:min(34rem, 46%) }
.wtd__copy h3{ font-size:var(--fs-lg); margin-bottom:1rem }
.wtd__lead{ font-family:var(--display); font-size:var(--fs-md); text-transform:uppercase;
  letter-spacing:.03em; color:var(--accent-text); margin-bottom:.8rem }
.wtd__copy p + p{ margin-top:.7rem }
.wtd__copy p:not(.wtd__lead){ color:var(--text-dim); max-width:52ch }
.wtd__list{ display:grid; gap:.5rem; margin-top:.4rem }
.wtd__list li{ display:flex; align-items:center; gap:.7rem; font-family:var(--display);
  font-size:var(--fs-md); text-transform:uppercase; letter-spacing:.03em }
.wtd__list li::before{ content:""; width:10px; height:10px; background:var(--accent); flex:none }
.wtd__pic{ position:absolute; inset:0 0 0 50%; z-index:1;
  background:repeating-conic-gradient(var(--surface-2) 0 25%, var(--surface) 0 50%) 0 0 / 4px 4px }
.wtd__pic img{ width:100%; height:100%; object-fit:cover; object-position:50% 50% }
.wtd__pic .px-img{ object-fit:contain; padding:8% 10% 8% 18% }   /* the pixel stills: shown whole, on the checker */
.wtd__pic::after{ content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(to right, var(--ground) 0, color-mix(in srgb, var(--ground) 55%, transparent) 14%, transparent 38%) }
/* No picture (the food band until the cafe uploads one): the copy may use more of the
   band and the band sizes to it. With a picture none of this applies. */
.wtd__b:not(:has(.wtd__pic)){ min-height:0 }
.wtd__b--food:not(:has(.wtd__pic)) .wtd__copy{ max-width:44rem }
@media (max-width: 900px){
  .wtd__b{ flex-direction:column; align-items:stretch; min-height:0; padding-block:0 3rem }
  .wtd__pic{ order:-1; position:relative; inset:auto; aspect-ratio:16/10; margin-bottom:1.6rem;
    border-bottom:var(--px) solid var(--text) }
  .wtd__pic::after{ content:none }
  .wtd__copy{ max-width:none }
  .wtd__b--food:not(:has(.wtd__pic)){ padding-top:3rem }
}

/* --------------------------------------------------------------------------
   Shop teaser. A big photo left, the heading and one button right; stacked, the
   photo comes first. The fallback is a pixel render, shown whole.
   -------------------------------------------------------------------------- */
.teaser{ padding-block:var(--sec); border-top:1px solid var(--line) }
.teaser__in{ display:grid; gap:clamp(1.6rem, 4vw, 3.5rem); align-items:center;
  grid-template-columns:minmax(0, 1.3fr) minmax(0, 1fr) }
.teaser__pic{ aspect-ratio:4/3; overflow:hidden;
  border:var(--px) solid var(--text); box-shadow:var(--px) var(--px) 0 0 var(--text);
  background:repeating-conic-gradient(var(--surface-2) 0 25%, var(--surface) 0 50%) 0 0 / 4px 4px }
.teaser__pic img{ width:100%; height:100%; object-fit:cover; object-position:50% 50% }
.teaser__pic .px-img{ object-fit:contain; padding:16% }
.teaser h2{ font-size:var(--fs-lg); max-width:18ch; margin-bottom:1.6rem }
@media (max-width: 900px){ .teaser__in{ grid-template-columns:1fr } }

/* --------------------------------------------------------------------------
   Find us: the social icons. The hours groups are in site.css, because the
   Prices and hours page prints the same partial.
   -------------------------------------------------------------------------- */
.find__social{ display:flex; gap:.5rem; margin-top:1.2rem }
.find__social a{ width:44px; height:44px; display:grid; place-items:center; font-size:1.3rem;
  border:2px solid var(--line-firm); color:var(--text) }
@media (hover:hover){ .find__social a:hover{ border-color:var(--accent); color:var(--accent-text) } }
.find__social a:active{ background:color-mix(in srgb, var(--accent) 16%, transparent) }
