/* GRIDL Breakfast Rush: homepage top hero v3 (preview 10 Nov 2026)
   Shorter still: about 380-420px at 1440 and 1180, about 520-560px on mobile.
   Breathing room under the header and below the section is kept.
   Tablet (768-1199): poster on the LEFT, copy on the right.
   Mobile: very small poster (~100px) above the headline.
   Colours: sand #DEBFA0, charcoal #212529, white. Sunburst kept.
   Preview only. Live still uses /css/game-hero.css until approved.
   v2 CSS is saved at game-hero-v2.css / game-hero.css.bak-v2-20261110. */

.br-hero{
  --br-sand:#DEBFA0;
  --br-charcoal:#212529;
  --br-header:84px;
  position:relative;
  isolation:isolate;
  z-index:3;
  box-sizing:border-box;
  margin-top:-83px;
  margin-bottom:24px;
  padding:calc(var(--br-header) + 16px) 20px 20px;
  background:var(--br-charcoal);
  color:#fff;
  overflow:hidden;
  border-bottom:6px solid var(--br-sand);
}
@media (min-width:768px){
  .br-hero{
    margin-top:-150px;
    margin-bottom:32px;
    padding:calc(var(--br-header) + 16px) 32px 20px;
  }
}

.br-hero::before{
  content:"";
  position:absolute;
  top:var(--br-header);
  left:0;
  right:0;
  height:4px;
  background:var(--br-sand);
  z-index:2;
  pointer-events:none;
}

.br-hero__rays{
  position:absolute;
  inset:-50%;
  z-index:-1;
  background:repeating-conic-gradient(from 0deg at 72% 50%,rgba(222,191,160,.18) 0 7.5deg,rgba(222,191,160,0) 7.5deg 15deg);
  pointer-events:none;
}
@media (max-width:767.98px){
  .br-hero__rays{background:repeating-conic-gradient(from 0deg at 50% 18%,rgba(222,191,160,.18) 0 7.5deg,rgba(222,191,160,0) 7.5deg 15deg)}
}

.br-hero__inner{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:center;
  gap:20px 28px;
}

.br-hero__copy{
  flex:1 1 auto;
  max-width:620px;
  min-width:0;
  text-align:left;
  position:relative;
  z-index:1;
}

.br-hero__kicker{
  margin:0 0 4px;
  font-family:bebas_neuebold,"Bebas Neue",Impact,sans-serif;
  letter-spacing:.2em;
  font-size:15px;
  font-weight:400;
  color:#fff;
  opacity:.9;
  text-transform:uppercase;
}

.br-hero h2{
  margin:0 0 8px;
  font-family:bebas_neuebold,"Bebas Neue",Impact,sans-serif;
  font-weight:400;
  font-size:clamp(34px,3.4vw,48px);
  line-height:.92;
  letter-spacing:.01em;
  color:var(--br-sand);
  text-transform:uppercase;
  white-space:nowrap;
}
.br-hero h2 br{display:none}

.br-hero__lead{
  margin:0 0 10px;
  font-size:15px;
  line-height:1.4;
  max-width:38rem;
}

.br-hero__prizes{
  list-style:none;
  margin:0 0 12px;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.br-hero__prizes li{
  display:inline-flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:6px;
  border:1px solid var(--br-sand);
  border-radius:999px;
  padding:5px 12px;
  font-size:13px;
  line-height:1.3;
  background:rgba(33,37,41,.55);
}
.br-hero__prizes b{
  font-family:bebas_neuebold,"Bebas Neue",Impact,sans-serif;
  font-weight:400;
  letter-spacing:.1em;
  font-size:14px;
  color:var(--br-sand);
  text-transform:uppercase;
}

.br-hero__ctas{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 12px;
  margin:0;
}

.br-hero__btn{
  display:inline-block;
  background:var(--br-sand);
  color:var(--br-charcoal)!important;
  font-family:bebas_neuebold,"Bebas Neue",Impact,sans-serif;
  font-size:24px;
  letter-spacing:.06em;
  line-height:1;
  padding:10px 22px;
  border-radius:10px;
  text-decoration:none;
  box-shadow:0 4px 0 #8f7a63;
  transition:transform .12s,box-shadow .12s,background .12s;
  border:2px solid var(--br-sand);
}
.br-hero__btn:hover,
.br-hero__btn:focus{
  background:#fff;
  border-color:#fff;
  transform:translateY(-1px);
  box-shadow:0 5px 0 #8f7a63;
}
.br-hero__btn:active{
  transform:translateY(2px);
  box-shadow:0 2px 0 #8f7a63;
}
.br-hero__btn--ghost{
  background:transparent;
  color:#fff!important;
  box-shadow:0 4px 0 #14171a;
  font-size:20px;
  padding:9px 18px;
}
.br-hero__btn--ghost:hover,
.br-hero__btn--ghost:focus{
  background:#fff;
  color:var(--br-charcoal)!important;
  border-color:#fff;
  box-shadow:0 5px 0 #14171a;
}

.br-hero__fine{
  margin:8px 0 0;
  font-size:11px;
  line-height:1.35;
  opacity:.8;
}
.br-hero__fine a{color:var(--br-sand)}
.br-hero__fine a:hover,
.br-hero__fine a:focus{color:#fff}

.br-hero__art{
  display:block;
  flex:0 0 auto;
  width:min(168px,18vw);
  transform:rotate(3deg);
  border:4px solid var(--br-sand);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(0,0,0,.5);
  background:var(--br-charcoal);
  transition:transform .2s;
}
.br-hero__art:hover,
.br-hero__art:focus{transform:rotate(1deg) scale(1.02)}
.br-hero__art img,
.br-hero__art picture{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1080/1620;
}

/* Tablet (768-1199), including iPad landscape 1180x820 and portrait 820x1180:
   poster on the LEFT, copy on the right. */
@media (min-width:768px) and (max-width:1199.98px){
  .br-hero__art{order:-1;width:min(160px,22vw);transform:rotate(-3deg)}
  .br-hero__art:hover,
  .br-hero__art:focus{transform:rotate(-1deg) scale(1.02)}
  .br-hero h2{font-size:clamp(32px,4.2vw,44px)}
}

/* Short landscape tablets: keep the tighter type, still art on the left */
@media (min-width:768px) and (max-width:1199.98px) and (max-height:850px){
  .br-hero{padding-top:calc(var(--br-header) + 16px);padding-bottom:22px;margin-bottom:24px}
  .br-hero__inner{gap:16px 22px}
  .br-hero__art{width:min(148px,20vw)}
  .br-hero h2{margin-bottom:6px}
  .br-hero__lead{margin-bottom:8px;font-size:14px}
}

@media (max-width:767.98px){
  .br-hero{
    padding:calc(var(--br-header) + 18px) 16px 22px;
    margin-bottom:24px;
  }
  /* Very small poster on the LEFT of the copy, not hidden */
  .br-hero__inner{
    flex-direction:row;
    flex-wrap:nowrap;
    align-items:flex-start;
    justify-content:center;
    gap:12px 14px;
  }
  .br-hero__art{
    order:-1;
    width:100px;
    flex:0 0 100px;
    transform:rotate(-2deg);
    margin:2px 0 0;
    border-width:3px;
    border-radius:10px;
  }
  .br-hero__art:hover,
  .br-hero__art:focus{transform:rotate(-1deg) scale(1.02)}
  .br-hero__copy{text-align:left;max-width:none}
  .br-hero h2{white-space:normal;font-size:clamp(28px,8vw,36px);margin-bottom:6px}
  .br-hero__kicker{margin-bottom:4px;font-size:13px}
  .br-hero__lead{margin:0 0 10px;font-size:14px}
  .br-hero__prizes{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:6px;margin-bottom:10px}
  .br-hero__prizes li{border-radius:8px;padding:5px 8px;justify-content:flex-start;text-align:left}
  .br-hero__ctas{justify-content:flex-start}
  .br-hero__btn{font-size:22px;padding:9px 18px}
  .br-hero__btn--ghost{font-size:18px;padding:8px 14px}
  .br-hero__fine{margin-top:8px}
}

@media (prefers-reduced-motion:reduce){
  .br-hero__btn,
  .br-hero__art{transition:none}
  .br-hero__btn:hover,
  .br-hero__btn:focus,
  .br-hero__btn:active,
  .br-hero__art:hover,
  .br-hero__art:focus{transform:none}
}

/* v4: tablet portrait (744-1024), e.g. 768x1024, 810x1080, 820x1180, 834x1194.
   Keep the poster inline on the LEFT, scale it to fit (no crop, no drop-under),
   more space under the nav, and even gaps between the copy elements.
   Phone (390) and desktop (1180, 1440) stay as in v3. */
@media (min-width:744px) and (max-width:1024px){
  .br-hero{
    padding-top:calc(var(--br-header) + 32px);
    padding-bottom:28px;
    margin-bottom:32px;
  }
  .br-hero__inner{
    flex-wrap:nowrap;
    align-items:center;
    gap:24px 28px;
  }
  .br-hero__art{
    order:-1;
    width:min(168px,24vw);
    flex:0 0 auto;
    transform:rotate(-3deg);
  }
  .br-hero__art:hover,
  .br-hero__art:focus{transform:rotate(-1deg) scale(1.02)}
  .br-hero__art img,
  .br-hero__art picture{
    width:100%;
    height:auto;
    object-fit:contain;
    object-position:center;
  }
  .br-hero__copy{min-width:0}
  .br-hero__kicker{margin:0 0 10px}
  .br-hero h2{margin:0 0 10px;white-space:nowrap}
  .br-hero__lead{margin:0 0 10px}
  .br-hero__prizes{margin:0 0 10px}
  .br-hero__ctas{margin:0}
  .br-hero__fine{margin:10px 0 0}
}

/* Short landscape at the 1024 edge (e.g. 1024x768): keep the row and stay in the first viewport */
@media (min-width:744px) and (max-width:1024px) and (max-height:800px){
  .br-hero{
    padding-top:calc(var(--br-header) + 20px);
    padding-bottom:18px;
    margin-bottom:24px;
  }
  .br-hero__inner{gap:16px 20px}
  .br-hero__art{width:min(140px,20vw)}
  .br-hero__kicker,
  .br-hero h2,
  .br-hero__lead,
  .br-hero__prizes{margin-bottom:8px}
  .br-hero__fine{margin-top:8px}
}

/* Space below the game hero so it does not hit the Wake up in Bodmin section.
   The Cornish breakfast hero image is position:absolute; top:-30px, so it
   peeks 30px above #home. Margin-bottom includes that 30px (margins would
   otherwise collapse). Visual gap, game hero bottom to the plate image:
   40px phone, 52px iPad/tablet, 64px desktop. Do not change hero copy. */
.br-hero{margin-bottom:70px}
.home-section.home-section--hero{margin-top:0}
@media (min-width:768px){
  .br-hero{margin-bottom:82px}
}
@media (min-width:1180px){
  .br-hero{margin-bottom:94px}
}
