/* -------- Base -------- */
:root{
  --bg: #0f0f0f;
  --panel: #151515;
  --text: #f3f3f3;
  --muted: #c9c9c9;
  --line: rgba(255,255,255,.12);
  --cta: #ffffff;
  --ctaText: #111;
}

*{ box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

.container{
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* main background for home page */
.main-hero-bg {
  position: relative;
  background: url('../images/teton2.jpg') center/cover no-repeat fixed;
}

.main-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.70);
  pointer-events: none;
}

.main-hero-bg > * {
  position: relative;
  z-index: 1;
}

/* -------- Header / Nav -------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(15,15,15,.75);
  border-bottom: 1px solid var(--line);
}

.nav-wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
}
.brand-logo{
  width: 44px;
  height: 44px;
}
.brand-text{
  font-weight: 700;
  letter-spacing: .2px;
}

/* Desktop nav */
.site-nav{
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link{
  padding: 10px 10px;
  border-radius: 999px;
  color: var(--muted);
  transition: background .15s ease, color .15s ease;
}
.nav-link:hover{
  background: rgba(255,255,255,.08);
  color: var(--text);
}
.nav-link.is-active{
  color: var(--text);
}

.nav-cta{
  background: var(--cta);
  color: var(--ctaText);
  font-weight: 700;
  padding: 10px 14px;
}
.nav-cta:hover{
  background: rgba(255,255,255,.9);
  color: var(--ctaText);
}

/* Mobile toggle */
.nav-toggle{
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle-bars{
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--text);
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after{
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--text);
}
.nav-toggle-bars::before{ top: -7px; }
.nav-toggle-bars::after{ top: 7px; }

/* -------- Hero -------- */
.hero{
  padding: 56px 0 28px;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
}

.kicker{
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  margin: 0 0 10px;
}

.hero h1{
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.subhead{
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 58ch;
}

.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-weight: 700;
}

.btn-primary{
  background: var(--cta);
  color: var(--ctaText);
  border-color: transparent;
}

.btn-ghost{
  background: rgba(255,255,255,.06);
}

.hero-img{
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
}

/* -------- Sections -------- */
.section{
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.section h2{
  margin: 0 0 10px;
}

/* -------- Footer -------- */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 22px 0;
  color: var(--muted);
}

/* -------- Responsive -------- */
@media (max-width: 860px){
  .hero-grid{
    grid-template-columns: 1fr;
  }
  .hero-img{
    height: 280px;
  }
}

@media (max-width: 760px){
  .nav-toggle{ display: inline-flex; }

  /* turn the nav into a dropdown panel */
  .site-nav{
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    margin: 0 auto;
    width: min(1100px, 92vw);
    background: rgba(21,21,21,.95);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .site-nav.is-open{
    display: flex;
  }

  .nav-link{
    padding: 12px 12px;
  }

  .nav-cta{
    text-align: center;
  }
}

/* -------- Bookings -------- */
.hero--tight{ padding: 34px 0 16px; }

.book-grid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: start;
}

.card{
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.card-title{
  margin: 0 0 12px;
}

.notice{
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 12px;
  border: 1px solid var(--line);
}
.notice.success{ background: rgba(255,255,255,.06); }
.notice.error{ background: rgba(255,255,255,.04); }

.form{ display: grid; gap: 12px; }

.field-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field label{
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 6px;
}

.field input,
.field select,
.field textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.25);
  color: var(--text);
  padding: 12px 12px;
  outline: none;
}

.field textarea{ resize: vertical; }

.btn-full{ width: 100%; }

.inline-link{
  text-decoration: underline;
  color: var(--text);
}

.form-footnote{
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* honeypot hidden */
.hp{
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.info-block{ margin-top: 14px; }
.info-block h3{ margin: 0 0 8px; font-size: 16px; }
.info-block ul{ margin: 0; padding-left: 18px; color: var(--muted); }
.info-block p{ margin: 0; color: var(--muted); }

@media (max-width: 860px){
  .book-grid{ grid-template-columns: 1fr; }
  .field-row{ grid-template-columns: 1fr; }
}

/* -------- Section Header (title + link) -------- */
.section-header{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}
.section-header h2{ margin: 0; }
.section-link{
  color: var(--muted);
  font-size: 14px;
  transition: color .15s;
}
.section-link:hover{ color: var(--text); }

/* -------- Shows -------- */
.shows-grid{
  display: grid;
  gap: 12px;
}

.show-card{
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  transition: background .15s;
}
.show-card:hover{
  background: rgba(255,255,255,.07);
}

/* Date badge */
.show-date-badge{
  flex-shrink: 0;
  width: 54px;
  text-align: center;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 8px 4px;
  line-height: 1.15;
}
.show-month{
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.show-day{
  display: block;
  font-size: 22px;
  font-weight: 700;
}

/* Show info */
.show-info{ min-width: 0; }

.show-title{
  margin: 0 0 2px;
  font-size: 16px;
  line-height: 1.3;
}

.show-venue{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.show-meta{
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.show-desc{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* Loading / empty states */
.shows-loading{
  color: var(--muted);
  padding: 18px 0;
}
.shows-empty, .shows-empty-state{
  color: var(--muted);
  padding: 18px 0;
}
.shows-empty-sub{
  margin-top: 4px;
  font-size: 14px;
}

/* "See all shows" link */
.shows-more{
  margin-top: 14px;
  text-align: center;
}

/* Month group headings on shows page */
.shows-month-group + .shows-month-group{
  margin-top: 28px;
}
.shows-month-heading{
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.shows-list{
  display: grid;
  gap: 10px;
}

/* Calendar embed */
.calendar-embed{
  margin-top: 10px;
}

@media (max-width: 600px){
  .show-card{
    padding: 12px 14px;
    gap: 12px;
  }
  .show-date-badge{
    width: 46px;
    padding: 6px 2px;
  }
  .show-day{ font-size: 18px; }
}

/* -------- Photo Strip -------- */
.photo-strip{
  padding: 8px 0 0;
  overflow: hidden;
}
.photo-strip-scroll{
  display: flex;
  gap: 12px;
  padding: 0 max(12px, calc((100vw - 1100px) / 2));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.photo-strip-scroll::-webkit-scrollbar{ display: none; }

.strip-item{
  flex: 0 0 280px;
  scroll-snap-align: start;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}
.strip-item img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.strip-item:hover img{
  transform: scale(1.05);
}
.strip-caption{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text);
}

/* -------- About Teaser (homepage) -------- */
.about-teaser{
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: center;
}
.about-teaser-img{
  border-radius: 18px;
  overflow: hidden;
}
.about-teaser-img img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.about-teaser-copy .kicker{ margin-bottom: 6px; }
.about-teaser-copy h2{
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.15;
}
.about-teaser-text{
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 50ch;
  line-height: 1.6;
}

.text-muted{ color: var(--muted); }

@media (max-width: 860px){
  .about-teaser{
    grid-template-columns: 1fr;
  }
  .about-teaser-img img{
    height: 240px;
  }
}

/* -------- Footer -------- */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 0;
  color: var(--muted);
  background: var(--bg);
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 40px 0 28px;
}

.footer-logo{
  width: 60px;
  height: 60px;
  margin-bottom: 8px;
}
.footer-tagline{
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .04em;
}

.footer-heading{
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text);
  margin: 0 0 12px;
}

.footer-nav,
.footer-connect{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a,
.footer-connect a{
  color: var(--muted);
  font-size: 14px;
  transition: color .15s;
}
.footer-nav a:hover,
.footer-connect a:hover{
  color: var(--text);
}

.footer-tip p{
  margin: 0 0 12px;
  font-size: 14px;
}

.btn-sm{
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 10px;
}

.footer-bottom{
  border-top: 1px solid var(--line);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
}
.footer-bottom p{ margin: 0; }

@media (max-width: 860px){
  .footer-grid{
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }
}
@media (max-width: 500px){
  .footer-grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* -------- About Page -------- */

/* About hero */
.about-hero{
  padding: 40px 0 0;
}
.about-hero-grid{
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 32px;
  align-items: center;
}
.about-hero-img{
  border-radius: 18px;
  overflow: hidden;
}
.about-hero-img img{
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}
.about-hero-copy .kicker{
  margin-bottom: 6px;
}
.about-hero-copy h1{
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
}
.about-lead{
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 50ch;
}

@media (max-width: 860px){
  .about-hero-grid{
    grid-template-columns: 1fr;
  }
  .about-hero-img img{
    height: 320px;
  }
}

/* Story block (text + image side by side) */
.story-block{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  align-items: start;
}
.story-block--reverse{
  grid-template-columns: 1.1fr .9fr;
}
.story-block--reverse .story-text{
  order: 1;
}
.story-block--reverse .story-image{
  order: 2;
}

.story-text h2{
  margin: 0 0 18px;
  font-size: clamp(22px, 3vw, 30px);
}
.story-text p{
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 16px;
  max-width: 60ch;
}

.story-image{
  border-radius: 18px;
  overflow: hidden;
  position: sticky;
  top: 90px;
}
.story-image img{
  width: 100%;
  display: block;
  border-radius: 18px;
}

@media (max-width: 860px){
  .story-block,
  .story-block--reverse{
    grid-template-columns: 1fr;
  }
  .story-block--reverse .story-text{ order: 0; }
  .story-block--reverse .story-image{ order: 0; }
  .story-image{
    position: static;
  }
}

/* About gallery */
.about-gallery{
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.about-gallery h2{
  margin: 0 0 18px;
}
.gallery-scroll{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto;
  gap: 10px;
  padding: 0 max(12px, calc((100vw - 1100px) / 2));
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-scroll::-webkit-scrollbar{ display: none; }

.gallery-item{
  border-radius: 12px;
  overflow: hidden;
  min-width: 180px;
}
.gallery-item img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.gallery-item:hover img{
  transform: scale(1.05);
}
.gallery-item--tall{
  grid-row: span 2;
}
.gallery-item--tall img{
  height: 100%;
  min-height: 410px;
}

@media (max-width: 860px){
  .gallery-scroll{
    grid-template-columns: repeat(6, 220px);
    grid-template-rows: auto;
    scroll-snap-type: x mandatory;
  }
  .gallery-item{
    scroll-snap-align: start;
  }
  .gallery-item--tall{
    grid-row: auto;
  }
  .gallery-item--tall img{
    min-height: 200px;
    height: 200px;
  }
}

/* Features grid */
.features-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.feature-card{
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
}
.feature-icon{
  font-size: 28px;
  display: block;
  margin-bottom: 10px;
}
.feature-card h3{
  margin: 0 0 8px;
  font-size: 17px;
}
.feature-card p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 860px){
  .features-grid{
    grid-template-columns: 1fr;
  }
}

/* About CTA */
.about-cta{
  text-align: center;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.about-cta h2{
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 30px);
}
.about-cta p{
  margin: 0 0 20px;
  color: var(--muted);
}
