
:root{
  --black:#050505;
  --paper:#d79a3b;
  --cream:#f0d29a;
  --text:#f2eadc;
  --muted:#c8bcaa;
  --line:rgba(215,154,59,.35);
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--black)}
body{
  margin:0;color:var(--text);background:var(--black);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.55;overflow-x:hidden;
}
body::before{
  content:"";position:fixed;inset:0;z-index:-2;
  background:
    linear-gradient(rgba(0,0,0,.94),rgba(0,0,0,.97)),
    url("../images/huckleberries.webp") center/cover no-repeat;
}
.home{
  position:fixed;z-index:30;top:max(12px,env(safe-area-inset-top));left:14px;
  width:112px;filter:drop-shadow(0 8px 18px rgba(0,0,0,.7));
}
.home img{display:block;width:100%;border-radius:8px}
.menu{
  position:fixed;z-index:30;top:max(16px,env(safe-area-inset-top));right:16px;
  width:46px;height:46px;border:1px solid var(--line);border-radius:50%;
  color:var(--cream);background:rgba(5,5,5,.84);font-size:22px;cursor:pointer
}
nav{
  position:fixed;z-index:29;top:70px;right:16px;display:none;
  padding:12px;border:1px solid var(--line);border-radius:14px;
  background:rgba(5,5,5,.96);backdrop-filter:blur(12px)
}
nav.open{display:grid;gap:6px}
nav a{color:var(--text);text-decoration:none;padding:9px 14px;border-radius:8px}
nav a:hover{background:rgba(215,154,59,.12)}
.hero{min-height:100svh;display:grid;place-items:center;padding:92px 14px 42px}
.hero-inner{width:min(var(--max),100%);text-align:center}
.hero-poster{
  width:100%;display:block;margin:auto;
  filter:drop-shadow(0 28px 50px rgba(0,0,0,.75))
}
.scroll{
  display:inline-block;margin-top:24px;color:var(--cream);text-decoration:none;
  font-size:.82rem;letter-spacing:.18em;text-transform:uppercase;opacity:.82
}
section{padding:78px 18px}
.wrap{width:min(var(--max),100%);margin:auto}
.intro{
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  background:linear-gradient(90deg,rgba(215,154,59,.04),transparent,rgba(215,154,59,.04))
}
.eyebrow{
  color:var(--paper);text-transform:uppercase;letter-spacing:.2em;
  font-size:.76rem;font-weight:800;margin-bottom:8px
}
h2{
  margin:.1em 0 .45em;font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2rem,7vw,4.6rem);line-height:.95;text-transform:uppercase;
  color:var(--cream)
}
.lead{max-width:760px;color:#d8cdbd;font-size:clamp(1rem,2vw,1.2rem)}
.portraits{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:34px}
.portrait-card{
  appearance:none;border:0;padding:0;background:none;cursor:pointer;
  transition:transform .2s ease,filter .2s ease
}
.portrait-card:hover{transform:translateY(-5px);filter:brightness(1.08)}
.portrait-card img{
  width:100%;aspect-ratio:2/3;object-fit:cover;display:block;border-radius:8px;
  box-shadow:0 14px 35px rgba(0,0,0,.5)
}
.music{position:relative;isolation:isolate;overflow:hidden}
.music::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:
    linear-gradient(90deg,rgba(5,5,5,.92),rgba(5,5,5,.78),rgba(5,5,5,.92)),
    url("../images/huckleberries.webp") center/cover no-repeat;
  opacity:.28;filter:blur(1px) grayscale(.15);transform:scale(1.03)
}
.quote{
  max-width:850px;margin:30px 0 0;padding:24px 0 24px 24px;
  border-left:3px solid var(--paper);color:#efe4d2;
  font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.35rem,4vw,2.25rem)
}
.booking-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:42px;align-items:center}
.cta{
  display:inline-block;margin-top:16px;padding:13px 18px;border:1px solid var(--paper);
  border-radius:8px;color:var(--cream);text-decoration:none;font-weight:750
}
.mini-logo{width:min(360px,100%);margin:auto;display:block}
footer{
  text-align:center;padding:32px 18px calc(32px + env(safe-area-inset-bottom));
  color:#83786a;font-size:.82rem;border-top:1px solid rgba(215,154,59,.16)
}
dialog{
  width:min(92vw,560px);border:0;padding:0;border-radius:10px;background:#0a0a0a;
  box-shadow:0 30px 80px rgba(0,0,0,.8)
}
dialog::backdrop{background:rgba(0,0,0,.88)}
dialog img{width:100%;display:block}
.close{
  position:absolute;right:10px;top:10px;width:42px;height:42px;border:0;border-radius:50%;
  background:rgba(0,0,0,.75);color:white;font-size:24px;cursor:pointer
}
@media(max-width:760px){
  .home{width:92px}
  .hero{min-height:auto;padding-top:100px;padding-bottom:62px}
  section{padding:58px 16px}
  .portraits{
    display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;
    padding:4px 22vw 18px 0;scrollbar-width:none
  }
  .portraits::-webkit-scrollbar{display:none}
  .portrait-card{min-width:72vw;scroll-snap-align:start}
  .booking-grid{grid-template-columns:1fr}
  .mini-logo{width:min(290px,88vw)}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}.portrait-card{transition:none}
}


/* Video section – responsive version */
.video-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  width:min(100%,700px);
  margin:34px auto 0;
}
.video-card{
  min-width:0;width:100%;margin:0;padding:8px 8px 14px;overflow:hidden;
  background:rgba(0,0,0,.62);border:1px solid var(--line);border-radius:10px;
  box-shadow:0 18px 45px rgba(0,0,0,.42);
}
.video-card video{
  display:block;width:100%;max-width:100%;height:auto;aspect-ratio:16/9;
  object-fit:contain;background:#000;border-radius:6px;
}
.video-card h3{
  margin:13px 8px 2px;color:var(--cream);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.05rem,2vw,1.35rem);font-weight:700;
}
@media(max-width:760px){
  .music .wrap{width:100%;max-width:100%}
  .video-grid{
    grid-template-columns:minmax(0,1fr);width:90%;max-width:90%;
    gap:26px;margin:28px auto 0;
  }
  .video-card{box-sizing:border-box;width:100%;max-width:100%;min-width:0}
  .video-card video{box-sizing:border-box;width:100%;max-width:100%;height:auto}
}

/* v5: desktop hero size + bottom home link */
@media(min-width:761px){
  .hero-poster{
    width:min(82%,980px);
  }
}
.bottom-home{
  display:block;
  width:min(360px,100%);
  margin:auto;
  text-decoration:none;
}
.bottom-home .mini-logo{
  width:100%;
}
@media(max-width:760px){
  .bottom-home{
    width:min(290px,88vw);
  }
}

/* v6: desktop hero centered in the visible browser window */
@media(min-width:761px){
  .hero{
    height:100svh;
    min-height:0;
    padding:28px 18px;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .hero-inner{
    width:100%;
    height:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
  }

  .hero-poster{
    width:auto;
    max-width:min(88vw,1050px);
    max-height:calc(100svh - 105px);
    object-fit:contain;
    margin:0 auto;
  }

  .scroll{
    margin-top:14px;
  }
}

/* Center the HUCKS home button at the bottom */
.bottom-home{
  display:block;
  width:min(360px,100%);
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
.bottom-home .mini-logo{
  display:block;
  width:100%;
  margin-left:auto;
  margin-right:auto;
}

/* v7: HUCKS logo centered below the complete booking grid */
.centered-home{
  display:block;
  width:min(360px,88vw);
  margin:48px auto 0;
  text-align:center;
}
.centered-home .mini-logo{
  display:block;
  width:100%;
  margin:0 auto;
}
@media(max-width:760px){
  .centered-home{
    width:min(290px,82vw);
    margin-top:38px;
  }
}


/* ===== Final content and booking layout ===== */
.portrait-card{
  color:var(--cream);
}
.member-name{
  display:block;
  margin-top:12px;
  color:var(--paper);
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.02rem;
  font-weight:700;
  line-height:1.25;
}
.member-role{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:.9rem;
  line-height:1.3;
}

.booking-form{
  max-width:760px;
  display:grid;
  gap:18px;
  margin-top:30px;
}
.booking-form label{
  display:grid;
  gap:7px;
  color:var(--paper);
  font-weight:700;
}
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.booking-form input,
.booking-form textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid rgba(226,197,126,.35);
  border-radius:3px;
  background:#0b0a08;
  color:var(--cream);
  padding:13px 14px;
  font:inherit;
}
.booking-form input:focus,
.booking-form textarea:focus{
  outline:2px solid rgba(226,197,126,.45);
  outline-offset:1px;
}
.booking-form textarea{
  min-height:155px;
  resize:vertical;
}
.field-note,
.privacy-note{
  margin:0;
  color:var(--muted);
  font-size:.88rem;
}
.privacy-note{
  max-width:680px;
}
.hp-field{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}
.form-status{
  min-height:1.4em;
  margin:0;
  font-weight:700;
}
.form-status.success{color:#d8c88f}
.form-status.error{color:#e0a58d}
.cta:disabled{
  opacity:.55;
  cursor:wait;
}

/* Contact envelope above the smaller HUCKS home button */
.bottom-nav{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:24px;
  margin:100px auto 0;
}
.envelope-link{
  display:block;
  position:relative;
  width:min(150px,32vw);
  aspect-ratio:1.55/1;
  overflow:hidden;
  text-decoration:none;
}
.envelope-art{
  position:absolute;
  inset:0;
  background-image:url("../images/contact-envelope.png");
  background-size:310% auto;
  background-position:88% 52%;
  background-repeat:no-repeat;
}
.bottom-home,
.centered-home{
  display:block;
  width:min(220px,48vw);
  margin:0 auto;
  text-align:center;
  text-decoration:none;
}
.bottom-home .mini-logo,
.centered-home .mini-logo{
  display:block;
  width:100%;
  margin:0 auto;
}

@media(max-width:760px){
  .form-row{grid-template-columns:1fr}
  .bottom-nav{
    gap:22px;
    margin-top:88px;
  }
  .envelope-link{
    width:min(135px,30vw);
  }
  .bottom-home,
  .centered-home{
    width:min(210px,48vw);
    margin:0 auto;
  }
}


/* ===== v10: centered page composition and even side margins ===== */
.wrap{
  width:min(1120px, calc(100% - 40px));
  margin-left:auto;
  margin-right:auto;
}

.intro .wrap,
#bandet .wrap,
#musikken .wrap,
#booking .wrap{
  text-align:center;
}

.intro .lead,
#musikken .lead,
#booking > .wrap > .lead{
  margin-left:auto;
  margin-right:auto;
}

.portraits{
  width:100%;
  margin-left:auto;
  margin-right:auto;
  justify-content:center;
}

.video-grid{
  margin-left:auto;
  margin-right:auto;
}

.booking-form{
  width:min(760px,100%);
  margin-left:auto;
  margin-right:auto;
  text-align:left;
}

.booking-form .cta{
  justify-self:center;
}

.booking-form .form-status,
.booking-form .privacy-note,
.booking-form .field-note{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}

.bottom-nav{
  margin-left:auto;
  margin-right:auto;
}

footer{
  text-align:center;
}

@media(max-width:760px){
  .wrap{
    width:calc(100% - 32px);
  }

  .portraits{
    /* Keep the existing swipeable mobile portraits, but give both edges equal space. */
    padding-left:0;
    padding-right:0;
  }

  .booking-form{
    width:100%;
  }
}


/* ===== v11: discreet privacy information ===== */
footer{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:0;
}
.privacy-link{
  appearance:none;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  letter-spacing:inherit;
  padding:0;
  cursor:pointer;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.privacy-link:hover{
  color:var(--paper);
}
.privacy-dialog{
  width:min(620px,calc(100% - 36px));
  max-width:620px;
  border:1px solid var(--line);
  border-radius:4px;
  background:#080705;
  color:var(--cream);
  padding:0;
}
.privacy-dialog::backdrop{
  background:rgba(0,0,0,.82);
}
.privacy-content{
  padding:38px 34px 30px;
  text-align:left;
}
.privacy-content h2{
  margin:0 0 22px;
  text-align:center;
  font-size:clamp(1.7rem,4vw,2.4rem);
}
.privacy-content p{
  margin:0 0 16px;
}
.privacy-content a{
  color:var(--paper);
}
.privacy-close{
  position:absolute;
  top:9px;
  right:12px;
  border:0;
  background:transparent;
  color:var(--paper);
  font-size:30px;
  line-height:1;
  cursor:pointer;
}
@media(max-width:760px){
  .privacy-content{
    padding:36px 22px 24px;
  }
}


/* ===== v12: berry dividers + matching Maarten portrait tone ===== */
.berry-divider{
  width:min(300px,72vw);
  height:52px;
  margin:2px auto;
  background-image:url("../images/hucks.webp");
  background-repeat:no-repeat;
  background-size:300px auto;
  background-position:center -5px;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 72%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 72%,transparent 100%);
  opacity:.92;
}

/* Maarten's original portrait is more yellow/saturated than the other four.
   This keeps the drawing untouched and only brings its displayed tone into the same palette. */
.maarten-tone{
  filter:saturate(.76) hue-rotate(-5deg) brightness(.94);
}

@media(max-width:760px){
  .berry-divider{
    width:min(260px,76vw);
    height:46px;
    background-size:260px auto;
    background-position:center -4px;
    margin:0 auto;
  }
}


/* ===== v14: mobile portraits always start with Rasmus ===== */
@media(max-width:760px){
  .portraits{
    justify-content:flex-start;
  }
}


/* ===== v15: dedicated berry divider artwork ===== */
.section-divider{
  width:min(620px,82vw);
  height:100px;
  margin:18px auto;
  background:url("../images/berry-divider.png") center center / contain no-repeat !important;
}
.section-divider::before,
.section-divider::after{
  display:none !important;
  content:none !important;
}
@media(max-width:760px){
  .section-divider{
    width:min(430px,88vw);
    height:72px;
    margin:12px auto;
  }
}


/* ===== v16: corrected selector for the actual divider element ===== */
.berry-divider{
  width:min(620px,82vw) !important;
  height:100px !important;
  margin:18px auto !important;
  background-image:url("../images/berry-divider.png") !important;
  background-position:center !important;
  background-size:contain !important;
  background-repeat:no-repeat !important;
  /* The source artwork has a white background: invert it into the dark site
     and warm the linework toward the site's parchment tone. */
  filter:invert(1) sepia(.55) saturate(.65) brightness(1.08);
}
.berry-divider::before,
.berry-divider::after{
  display:none !important;
  content:none !important;
}
@media(max-width:760px){
  .berry-divider{
    width:min(430px,88vw) !important;
    height:72px !important;
    margin:12px auto !important;
  }
}


/* ===== v17: remove the old horizontal section divider lines ===== */
.intro,
#bandet,
#musikken,
#booking{
  border-top:none !important;
  border-bottom:none !important;
}


/* ===== v18: booking type selector for main site + RRR ===== */
.booking-type{
  margin:0;
  padding:0;
  border:0;
  display:grid;
  gap:10px;
}
.booking-type legend{
  margin:0 0 2px;
  padding:0;
  color:var(--paper);
  font-weight:700;
}
.booking-form .booking-choice{
  display:flex;
  grid-template-columns:none;
  align-items:flex-start;
  gap:10px;
  padding:12px 14px;
  border:1px solid rgba(226,197,126,.35);
  border-radius:3px;
  background:#0b0a08;
  color:var(--cream);
  font-weight:400;
  cursor:pointer;
}
.booking-form .booking-choice input[type="radio"]{
  width:auto;
  margin:4px 0 0;
  padding:0;
  flex:0 0 auto;
  accent-color:var(--paper);
}
.booking-form .booking-choice:has(input:checked){
  border-color:var(--paper);
  background:rgba(215,154,59,.10);
}


/* ===== v19: RRR teaser between music and booking ===== */
.rrr-teaser{
  padding-top:58px;
  padding-bottom:58px;
}
.rrr-teaser .wrap{
  text-align:center;
}
.rrr-teaser-kicker{
  max-width:760px;
  margin:0 auto 8px;
  color:var(--cream);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.08rem,2.2vw,1.35rem);
}
.rrr-teaser .lead{
  margin-left:auto;
  margin-right:auto;
}
.rrr-teaser-image{
  display:block;
  width:min(920px,100%);
  margin:30px auto 10px;
  overflow:hidden;
  border:1px solid rgba(215,154,59,.30);
  border-radius:5px;
  box-shadow:0 18px 45px rgba(0,0,0,.48);
  text-decoration:none;
}
.rrr-teaser-image img{
  display:block;
  width:100%;
  height:auto;
  transition:transform .25s ease,filter .25s ease;
}
.rrr-teaser-image:hover img{
  transform:scale(1.012);
  filter:brightness(1.06);
}
.rrr-teaser-link{
  margin-top:14px;
}
@media(max-width:760px){
  .rrr-teaser{padding-top:46px;padding-bottom:46px}
  .rrr-teaser-image{margin-top:24px}
}
@media(prefers-reduced-motion:reduce){
  .rrr-teaser-image img{transition:none}
}


/* ===== v20: simpler RRR teaser with title over image ===== */
.rrr-teaser-image{
  position:relative;
  width:min(760px,100%);
  margin-top:26px;
}
.rrr-image-title{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:34px 18px 18px;
  background:linear-gradient(transparent,rgba(0,0,0,.82));
  color:var(--cream);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.2rem,3vw,2rem);
  font-weight:700;
  line-height:1.1;
  text-align:center;
  text-shadow:0 2px 8px rgba(0,0,0,.9);
}
@media(max-width:760px){
  .rrr-teaser-image{width:100%;}
  .rrr-image-title{padding:30px 12px 14px;}
}
