/* Hero slideshow — dynamic slides from assets/images/slideshow (files named with "slide") */
:root {
  --SLIDE_DUR: 30;
}
.hero.hero-has-slides {
  height: 100vh;
  min-height: 700px;
  padding-top: 0;
}
.hero.hero-has-slides .hero-overlay,
.hero.hero-has-slides .hero-content.hero-inner,
.hero.hero-has-slides .hero-scroll {
  display: none;
}

/* Slides */
.hero .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.4s cubic-bezier(.4,0,.2,1);
}
.hero .slide.active { opacity: 1; z-index: 2; }
.hero .slide.exiting { opacity: 0; z-index: 3; }

.hero .slide-bg {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform-origin: center center;
  animation: none;
}
.hero .slide.active .slide-bg {
  animation: heroKenBurns calc(var(--SLIDE_DUR) * 1s + 1.4s) linear forwards;
}
@keyframes heroKenBurns {
  from { transform: scale(1.08) translate(0, 0); }
  to { transform: scale(1) translate(-1%, 0.5%); }
}

.hero .slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(12,6,2,.88) 0%, rgba(12,6,2,.72) 28%, rgba(12,6,2,.4) 52%, transparent 72%),
    linear-gradient(to top, rgba(12,6,2,.75) 0%, rgba(12,6,2,.35) 22%, transparent 50%),
    rgba(10,5,2,.22);
  pointer-events: none;
}

/* Slide content */
.hero .slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5%;
  padding-top: 70px;
}
.hero .slide-inner { max-width: 660px; }

.hero .s-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .6rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-light, #E8A820);
  border: 1px solid rgba(201,146,26,.35);
  background: rgba(201,146,26,.1);
  padding: .28rem .9rem;
  border-radius: 20px;
  margin-bottom: 1.4rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s .2s ease, transform .55s .2s ease;
}
.hero .slide.active .s-eyebrow { opacity: 1; transform: translateY(0); }

.hero .s-title {
  font-family: var(--font-head, 'Playfair Display', serif);
  font-size: clamp(3rem, 6.5vw, 7rem);
  font-weight: 900;
  line-height: .96;
  color: #fff;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s .32s ease, transform .65s .32s ease;
  text-shadow: 0 2px 32px rgba(0,0,0,.45);
}
.hero .slide.active .s-title { opacity: 1; transform: translateY(0); }
.hero .s-title em { font-style: italic; color: var(--gold-light, #E8A820); display: block; }
.hero .s-title .dim {
  color: rgba(255,255,255,.22);
  font-size: .55em;
  font-weight: 400;
  display: block;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: .02em;
  margin-top: .15em;
}

.hero .s-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,.62);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s .44s ease, transform .6s .44s ease;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.hero .slide.active .s-tagline { opacity: 1; transform: translateY(0); }

.hero .s-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s .56s ease, transform .6s .56s ease;
}
.hero .slide.active .s-actions { opacity: 1; transform: translateY(0); }

.hero .s-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .82rem 1.9rem;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .22s cubic-bezier(.4,0,.2,1);
  border: none;
  cursor: pointer;
}
.hero .s-actions .btn-gold {
  background: linear-gradient(135deg, var(--gold, #C9921A), var(--gold-light, #E8A820));
  color: #fff;
  box-shadow: 0 6px 24px rgba(201,146,26,.45);
}
.hero .s-actions .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(201,146,26,.58); }
.hero .s-actions .btn-outline {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  border: 1.5px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
}
.hero .s-actions .btn-outline:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); color: #fff; }

/* Badge */
.hero .slide-badge {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  z-index: 2;
  opacity: 0;
  transition: opacity .7s .7s ease;
}
.hero .slide.active .slide-badge { opacity: 1; }
.hero .badge-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(201,146,26,.12);
  border: 1px solid rgba(201,146,26,.35);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  text-align: center;
  animation: heroRotateSlow 20s linear infinite;
}
@keyframes heroRotateSlow { to { transform: rotate(360deg); } }
.hero .badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-light, #E8A820);
  line-height: 1;
  animation: heroRotateSlow 20s linear infinite reverse;
}
.hero .badge-lbl {
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  animation: heroRotateSlow 20s linear infinite reverse;
}

/* Prev/Next */
.hero .slide-nav {
  position: absolute;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .slide-nav.prev { left: 2.5%; }
.hero .slide-nav.next { right: 2.5%; }
.hero .nav-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(28,15,6,.55);
  border: 1.5px solid rgba(201,146,26,.3);
  color: rgba(255,255,255,.75);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .22s ease;
  font-size: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.hero .nav-btn:hover {
  background: rgba(201,146,26,.18);
  border-color: var(--gold, #C9921A);
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(201,146,26,.3);
}
.hero .nav-btn svg { width: 22px; height: 22px; }
.hero .slide-nav-label {
  position: absolute;
  bottom: -1.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  white-space: nowrap;
}

/* Dots */
.hero .slide-dots {
  position: absolute;
  bottom: 6rem;
  left: 5%;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.hero .slide-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  transition: all .3s ease;
  border: none;
  padding: 0;
}
.hero .slide-dots .dot.active {
  background: var(--gold-light, #E8A820);
  box-shadow: 0 0 0 3px rgba(201,146,26,.25);
  transform: scale(1.4);
}
.hero .slide-dots .dot:hover:not(.active) { background: rgba(255,255,255,.5); }

/* Timer bar */
.hero .timer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,.08);
  z-index: 10;
}
.hero .timer-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold, #C9921A), #F5C842);
  width: 0%;
  transition: none;
}
.hero .timer-fill.running {
  animation: heroTimerRun calc(var(--SLIDE_DUR) * 1s) linear forwards;
}
@keyframes heroTimerRun { from { width: 0%; } to { width: 100%; } }

/* Counter */
.hero .slide-counter {
  position: absolute;
  top: calc(70px + 2rem);
  right: 5%;
  z-index: 10;
  display: flex;
  align-items: baseline;
  gap: .25rem;
  opacity: .55;
}
.hero .sc-current { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1; }
.hero .sc-sep { font-size: .7rem; color: rgba(255,255,255,.3); margin: 0 .1rem; }
.hero .sc-total { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.4); }

/* Scroll cue */
.hero .scroll-cue {
  position: absolute;
  bottom: 2rem;
  right: 5%;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
}
.hero .scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(201,146,26,.5), transparent);
  animation: heroScrollPulse 2s ease-in-out infinite;
}
@keyframes heroScrollPulse { 0%, 100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* Paused badge */
.hero .paused-badge {
  position: absolute;
  top: calc(70px + 1.5rem);
  left: 5%;
  z-index: 10;
  display: none;
  align-items: center;
  gap: .45rem;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  background: rgba(28,15,6,.5);
  border: 1px solid rgba(255,255,255,.1);
  padding: .28rem .8rem;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}
.hero .paused-badge.show { display: flex; }

/* Teaser strip */
.teaser-strip {
  background: var(--brown-deep, #1C0F06);
  padding: 2.5rem 5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(201,146,26,.08);
}
.ts-cell {
  padding: 1.2rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(201,146,26,.08);
  transition: background .2s;
}
.ts-cell:last-child { border-right: none; }
.ts-cell:hover { background: rgba(201,146,26,.04); }
.ts-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-light, #E8A820);
  line-height: 1;
}
.ts-lbl {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-top: .3rem;
}

@media (max-width: 860px) {
  .hero .s-title { font-size: clamp(2.2rem, 9vw, 4rem); }
  .hero .slide-badge { display: none; }
  .hero .nav-btn { width: 44px; height: 44px; }
  .hero .nav-btn svg { width: 18px; height: 18px; }
  .hero .slide-nav.prev { left: 1.5%; }
  .hero .slide-nav.next { right: 1.5%; }
  .teaser-strip { grid-template-columns: 1fr 1fr; gap: .5rem; padding: 2rem; }
  .ts-cell:nth-child(2) { border-right: none; }
}
@media (max-width: 480px) {
  .hero .s-title { font-size: 2rem; }
  .hero .s-actions .btn { padding: .72rem 1.4rem; font-size: .74rem; }
}
