/* ============================================================
   Shawn Chasten — Music Booking Site
   ============================================================ */

:root{
  --cream:      #f2f0e6;
  --cream-2:    #e7e4d3;
  --paper:      #faf9f3;
  --ink:        #212420;
  --ink-soft:   #545a4f;
  --ink-faint:  #838a7a;
  --rust:       #3d5c4d;
  --rust-dark:  #294032;
  --green:      #4a5a3e;
  --line:       rgba(33,36,32,.14);
  --line-soft:  rgba(33,36,32,.08);
  --shadow:     0 18px 40px -20px rgba(33,36,32,.35);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --gap: clamp(1.5rem, 4vw, 3rem);
  --section-pad: clamp(4.5rem, 9vw, 8rem);

  --header-h: 84px;
}

/* ---------- reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
}
body{
  margin:0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight:500; margin:0; color: var(--ink); }
p{ margin:0; }

section{ scroll-margin-top: calc(var(--header-h) + 10px); }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.6em;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 600;
  margin-bottom: 1rem;
}
.eyebrow::before{
  content:"";
  width: 26px;
  height: 1px;
  background: var(--rust);
  display:inline-block;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding: .95rem 1.7rem;
  border-radius: 2px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: var(--rust);
  color: var(--paper);
}
.btn-primary:hover{ background: var(--rust-dark); }
.btn-ghost{
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn-ghost:hover{ background: rgba(255,255,255,.12); }
.btn-dark{
  background: var(--ink);
  color: var(--paper);
}
.btn-dark:hover{ background: #000; }
.btn svg{ width:16px; height:16px; flex:none; }

/* ---------- header ---------- */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 100;
  height: var(--header-h);
  display:flex;
  align-items:center;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled{
  background: rgba(246,241,231,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content: space-between;
  width:100%;
}
.brand{
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: .01em;
  color: #fff;
  transition: color .3s ease;
}
.is-scrolled .brand{ color: var(--ink); }

.nav-desktop{
  display:flex;
  align-items:center;
  gap: clamp(1.2rem, 2.4vw, 2.4rem);
}
.nav-desktop a{
  color:#fff;
  font-size: .92rem;
  font-weight: 500;
  position: relative;
  padding: .3rem 0;
  transition: color .3s ease;
}
.is-scrolled .nav-desktop a{ color: var(--ink-soft); }
.nav-desktop a::after{
  content:"";
  position:absolute; left:0; right:100%; bottom:-2px;
  height:1px; background: currentColor;
  transition: right .25s ease;
}
.nav-desktop a:hover::after{ right:0; }
.nav-desktop a:hover{ color: var(--rust); }

.header-cta{ display:flex; align-items:center; gap:1rem; }
.header-cta .btn{ padding:.7rem 1.3rem; font-size:.86rem; }
.is-scrolled .header-cta .btn-ghost{ color: var(--ink); border-color: var(--ink); }

.nav-toggle{
  display:none;
  width: 42px; height: 42px;
  align-items:center; justify-content:center;
  background: transparent; border:none;
  color:#fff;
}
.is-scrolled .nav-toggle{ color: var(--ink); }
.nav-toggle svg{ width:22px; height:22px; }

.nav-mobile{
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--cream);
  transform: translateY(-8px);
  opacity:0;
  pointer-events:none;
  transition: opacity .22s ease, transform .22s ease;
  z-index: 99;
  padding: 2rem clamp(1.25rem, 6vw, 3rem);
  display:flex;
  flex-direction:column;
  gap:.25rem;
}
.nav-mobile.is-open{ opacity:1; transform:none; pointer-events:auto; }
.nav-mobile a{
  font-family: var(--font-display);
  font-size: 1.6rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.nav-mobile a.btn{
  margin-top: 1.5rem;
  align-self: stretch;
  justify-content: center;
  font-family: var(--font-body);
  font-size: .98rem;
  padding: 1rem 1.7rem;
  border-bottom: none;
  color: var(--paper);
}

@media (max-width: 900px){
  .nav-desktop, .header-cta{ display:none; }
  .nav-toggle{ display:flex; }
}

/* ---------- hero ---------- */
.hero{
  position: relative;
  min-height: 100svh;
  display:flex;
  align-items:flex-end;
  color:#fff;
  overflow:hidden;
}
.hero-media{
  position:absolute; inset:0;
  background: url("../img/hero.jpg") 38% 20% / cover no-repeat;
}
@media (max-width: 700px){
  .hero-media{ background-position: 50% 20%; }
}
.hero-media::after{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(20,16,12,.15) 0%, rgba(20,16,12,.15) 40%, rgba(18,14,10,.86) 100%),
    linear-gradient(90deg, rgba(15,12,9,.35) 0%, rgba(15,12,9,0) 45%);
}
.hero-inner{
  position: relative;
  z-index:2;
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
  padding-top: calc(var(--header-h) + 2rem);
  width:100%;
}
.hero-eyebrow{
  font-size: .82rem;
  letter-spacing:.2em;
  text-transform: uppercase;
  color: #f0e2d1;
  font-weight:600;
  margin-bottom: 1.1rem;
}
.hero h1{
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: .98;
  color:#fff;
  max-width: 14ch;
}
.hero p.lede{
  margin-top: 1.4rem;
  max-width: 42ch;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: #efe8dc;
  font-weight: 400;
}
.hero-actions{
  margin-top: 2.4rem;
  display:flex;
  flex-wrap:wrap;
  gap: 1rem;
}
.hero-scroll{
  position:absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: 2.2rem;
  z-index:2;
  color:#f0e2d1;
  display:flex;
  align-items:center;
  gap:.6rem;
  font-size:.78rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll::after{
  content:"";
  writing-mode: horizontal-tb;
  width:1px; height:46px;
  background: rgba(240,226,209,.6);
  display:block;
}
@media (max-width: 700px){ .hero-scroll{ display:none; } }

/* ---------- section basics ---------- */
.section{ padding: var(--section-pad) 0; }
.section-alt{ background: var(--cream-2); }
.section-dark{ background: var(--ink); color: var(--cream); }
.section-dark .eyebrow{ color:#9fc2a4; }
.section-dark .eyebrow::before{ background:#9fc2a4; }
.section-dark h2{ color: var(--paper); }

.section-head{
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head h2{
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height:1.08;
}
.section-head p{
  margin-top: 1.1rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 56ch;
}
.section-dark .section-head p{ color:#cfc7ba; }

/* ---------- about ---------- */
.about-grid{
  display:grid;
  grid-template-columns: .8fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items:center;
}
.about-media{
  position:relative;
}
.about-media img{
  width:100%;
  aspect-ratio: 4/5;
  object-fit:cover;
  object-position: center 20%;
}
.about-media::before{
  content:"";
  position:absolute;
  top:18px; left:18px;
  width:100%; height:100%;
  border: 1px solid var(--rust);
  z-index:-1;
}
.about-text p{
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin-bottom: 1.3rem;
}
.about-text p:first-of-type{
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  line-height:1.4;
}
.fact-row{
  display:flex;
  flex-wrap:wrap;
  gap: 1.1rem 2rem;
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.fact{
  min-width: 140px;
}
.fact-label{
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.12em;
  color: var(--ink-faint);
  margin-bottom:.35rem;
  display:block;
}
.fact-value{ font-weight:600; font-size:.98rem; }

@media (max-width: 820px){
  .about-grid{ grid-template-columns: 1fr; }
  .about-media{ max-width: 420px; }
}

/* ---------- music / listen ---------- */
.listen-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: var(--gap);
  align-items:stretch;
}
.video-frame{
  position:relative;
  width:100%;
  aspect-ratio: 16/9;
  overflow:hidden;
  background:#000;
  box-shadow: var(--shadow);
}
.video-frame iframe{
  position:absolute; inset:0; width:100%; height:100%; border:0;
}
.listen-side{
  display:flex;
  flex-direction:column;
  gap: 1.2rem;
}
.spotify-frame{
  border-radius: 4px;
  overflow:hidden;
  box-shadow: var(--shadow);
}
.spotify-frame iframe{ display:block; width:100%; border:0; }
.link-row{
  display:flex;
  flex-wrap:wrap;
  gap:.8rem;
}
.icon-link{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.7rem 1.1rem;
  border:1px solid rgba(207,199,186,.35);
  color: var(--cream);
  font-size:.88rem;
  font-weight:600;
  transition: border-color .2s ease, background .2s ease;
}
.icon-link svg{ width:17px; height:17px; }
.icon-link:hover{ border-color: var(--rust); background: rgba(61,92,77,.18); }
.releases{
  margin-top:.3rem;
  color:#cfc7ba;
  font-size:.95rem;
  line-height:1.7;
}
.releases b{ color:var(--paper); }

@media (max-width: 900px){
  .listen-grid{ grid-template-columns: 1fr; }
}

/* ---------- repertoire ---------- */
.rep-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.rep-col h3{
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--line);
}
.rep-list li{
  padding: .55rem 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: .98rem;
  color: var(--ink-soft);
  display:flex;
  justify-content:space-between;
  gap:1rem;
}
.rep-list li span:last-child{
  color: var(--ink-faint);
  font-size:.88rem;
  white-space:nowrap;
}
.rep-note{
  margin-top: 2rem;
  font-size:.95rem;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1rem 1.2rem;
}
.rep-note b{ color: var(--rust); }

.full-list{
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.full-list summary{
  cursor:pointer;
  list-style:none;
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  font-weight:600;
  font-size:.95rem;
  color: var(--rust);
}
.full-list summary::-webkit-details-marker{ display:none; }
.full-list summary::after{
  content:"+";
  font-size:1.3rem;
  line-height:1;
  transition: transform .2s ease;
}
.full-list[open] summary::after{ content:"\2212"; }
.full-list-body{
  margin-top: 1.8rem;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.full-list-body h4{
  font-size:.85rem;
  text-transform:uppercase;
  letter-spacing:.1em;
  color: var(--ink-faint);
  margin-bottom: .9rem;
}
.full-list-body ol{
  columns: 2;
  column-gap: 1.6rem;
  padding-left: 1.1rem;
  font-size: .9rem;
  color: var(--ink-soft);
}
.full-list-body ol li{ break-inside: avoid; padding: .18rem 0; }

@media (max-width: 820px){
  .rep-grid{ grid-template-columns:1fr; gap: 2.5rem; }
  .full-list-body{ grid-template-columns:1fr; }
  .full-list-body ol{ columns:1; }
}

/* ---------- packages ---------- */
.pkg-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.pkg-card{
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2rem 1.6rem;
  display:flex;
  flex-direction:column;
  position:relative;
}
.pkg-card.is-featured{
  border-color: var(--rust);
  box-shadow: var(--shadow);
}
.pkg-badge{
  position:absolute;
  top:-13px; left: 1.6rem;
  background: var(--rust);
  color:#fff;
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding: .35rem .7rem;
}
.pkg-name{ font-size:1.25rem; margin-bottom:.4rem; }
.pkg-price{
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--rust);
  margin-bottom: 1.2rem;
}
.pkg-price small{
  font-family: var(--font-body);
  font-size:.7rem;
  color: var(--ink-faint);
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.06em;
  display:block;
  margin-top:.2rem;
}
.pkg-list{
  flex:1;
  margin-bottom: 1.6rem;
}
.pkg-list li{
  font-size:.92rem;
  color: var(--ink-soft);
  padding: .4rem 0 .4rem 1.3rem;
  position:relative;
  line-height:1.45;
}
.pkg-list li::before{
  content:"";
  position:absolute; left:0; top:.72rem;
  width:6px; height:6px;
  background: var(--rust);
}
.pkg-card .btn{ width:100%; justify-content:center; }
.pkg-note{
  margin-top: 2.4rem;
  text-align:center;
  color: var(--ink-soft);
  font-size:.92rem;
}

@media (max-width: 1000px){
  .pkg-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px){
  .pkg-grid{ grid-template-columns: 1fr; }
}

/* ---------- gallery ---------- */
.gallery-carousel{
  position:relative;
  display:flex;
  align-items:center;
  gap: .75rem;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.gallery-grid{
  display:flex;
  gap: .9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: .5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-grid::-webkit-scrollbar{ display:none; }
.gallery-item{
  position:relative;
  overflow:hidden;
  cursor: zoom-in;
  flex: 0 0 clamp(220px, 26vw, 320px);
  aspect-ratio: 4/5;
  background: var(--cream-2);
  scroll-snap-align: start;
}
.gallery-item img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .5s ease;
}
.gallery-item:hover img{ transform: scale(1.06); }
.gallery-item::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.35) 100%);
  opacity:0;
  transition: opacity .3s ease;
}
.gallery-item:hover::after{ opacity:1; }

.gallery-arrow{
  flex: none;
  width:48px; height:48px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.gallery-arrow:hover{ background: var(--rust); border-color: var(--rust); color:#fff; }
.gallery-arrow svg{ width:19px; height:19px; }

@media (max-width: 700px){
  .gallery-carousel{ padding: 0 1.1rem; gap:.5rem; }
  .gallery-arrow{ width:38px; height:38px; }
  .gallery-arrow svg{ width:16px; height:16px; }
  .gallery-item{ flex-basis: 62vw; }
}

.lightbox{
  position: fixed; inset:0; z-index:200;
  background: rgba(15,12,9,.94);
  display:flex; align-items:center; justify-content:center;
  padding: 4vh 4vw;
  opacity:0; pointer-events:none;
  transition: opacity .25s ease;
}
.lightbox.is-open{ opacity:1; pointer-events:auto; }
.lightbox img{ max-width:100%; max-height:92vh; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox-close{
  position:absolute; top:1.5rem; right:1.5rem;
  width:44px; height:44px;
  display:flex; align-items:center; justify-content:center;
  background: transparent; border:1px solid rgba(255,255,255,.3); color:#fff;
}
.lightbox-close svg{ width:18px; height:18px; }

.lightbox-arrow{
  position:absolute; top:50%;
  transform: translateY(-50%);
  width:52px; height:52px;
  display:flex; align-items:center; justify-content:center;
  background: transparent; border:1px solid rgba(255,255,255,.3); color:#fff;
  border-radius:50%;
  transition: background .2s ease, border-color .2s ease;
}
.lightbox-arrow:hover{ background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
.lightbox-arrow svg{ width:20px; height:20px; }
.lightbox-prev{ left: 1.5rem; }
.lightbox-next{ right: 1.5rem; }
.lightbox-count{
  position:absolute; bottom:1.6rem; left:50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size:.82rem;
  letter-spacing:.06em;
}
@media (max-width: 640px){
  .lightbox-arrow{ width:42px; height:42px; }
  .lightbox-prev{ left:.5rem; }
  .lightbox-next{ right:.5rem; }
}

/* ---------- booking form ---------- */
.book-wrap{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.book-info h2{
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height:1.08;
  margin-bottom: 1.2rem;
}
.book-info p{ color: var(--ink-soft); font-size:1.05rem; margin-bottom:1.8rem; }
.book-direct{
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  display:flex;
  flex-direction:column;
  gap: .9rem;
}
.book-direct a{
  display:flex; align-items:center; gap:.7rem;
  font-weight:600; font-size:.98rem;
  color: var(--ink);
}
.book-direct svg{ width:19px; height:19px; color: var(--rust); flex:none; }
.book-direct a:hover{ color: var(--rust); }

.form-card{
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
}
.form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.field{ margin-bottom: 1.1rem; }
.field label{
  display:block;
  font-size:.82rem;
  font-weight:600;
  margin-bottom: .45rem;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea{
  width:100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: .78rem .9rem;
  font-family: inherit;
  font-size: .96rem;
  color: var(--ink);
  border-radius: 2px;
  transition: border-color .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline:none;
  border-color: var(--rust);
}
.field textarea{ resize: vertical; min-height: 110px; }
.hp-field{ position:absolute; left:-9999px; top:-9999px; }

.form-msg{
  margin-top: 1rem;
  padding: .85rem 1rem;
  font-size:.9rem;
  display:none;
}
.form-msg.is-visible{ display:block; }
.form-msg.success{ background:#eef3e6; color:#41552d; border:1px solid #c7d8b4; }
.form-msg.error{ background:#fbeae4; color:#8a3c21; border:1px solid #eec3b2; }

.submit-row{ display:flex; align-items:center; gap:1rem; margin-top:.4rem; }
.submit-row .btn{ min-width: 190px; justify-content:center; }
.submit-row .btn[disabled]{ opacity:.6; pointer-events:none; }
.form-fineprint{ font-size:.8rem; color: var(--ink-faint); margin-top:1.1rem; }

@media (max-width: 900px){
  .book-wrap{ grid-template-columns:1fr; }
}
@media (max-width: 560px){
  .form-row{ grid-template-columns:1fr; }
}

/* ---------- footer ---------- */
.site-footer{
  background: var(--ink);
  color: #cfc7ba;
  padding: 3.2rem 0 2rem;
}
.footer-top{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap: 2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(207,199,186,.16);
}
.footer-brand{ font-family: var(--font-display); font-size:1.4rem; color:#fff; }
.footer-tag{ margin-top:.5rem; font-size:.9rem; max-width:34ch; color:#a89d8d; }
.footer-nav{ display:flex; flex-wrap:wrap; gap: .5rem 1.6rem; }
.footer-nav a{ font-size:.9rem; color:#cfc7ba; }
.footer-nav a:hover{ color:#fff; }
.footer-social{ display:flex; gap:.9rem; }
.footer-social a{
  width:38px; height:38px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(207,199,186,.25);
  color:#cfc7ba;
}
.footer-social a:hover{ border-color: var(--rust); color:#fff; }
.footer-social svg{ width:16px; height:16px; }
.footer-bottom{
  padding-top: 1.6rem;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:.7rem;
  font-size:.82rem;
  color:#a89d8d;
}

/* ---------- reveal-on-scroll ---------- */
[data-reveal]{
  opacity:0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible{ opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  [data-reveal]{ opacity:1; transform:none; transition:none; }
}
