/* =========================================================
   Jennifer Brown — Music & Wellness Studio
   Modern, responsive stylesheet
   ========================================================= */

:root {
  --plum:        #4a2545;
  --plum-deep:   #2c1429;
  --plum-soft:   #6d3a64;
  --gold:        #c8a25a;
  --gold-deep:   #a9863f;
  --cream:       #faf6f0;
  --cream-2:     #f1e9df;
  --ink:         #2a2330;
  --muted:       #6f6776;
  --line:        #e4d9cc;
  --white:       #ffffff;

  --shadow-sm: 0 1px 3px rgba(44, 20, 41, .08), 0 1px 2px rgba(44, 20, 41, .06);
  --shadow-md: 0 6px 20px rgba(44, 20, 41, .10);
  --shadow-lg: 0 18px 50px rgba(44, 20, 41, .22);

  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1140px;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }

a { color: var(--plum); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-deep); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.18; color: var(--plum-deep); }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.45rem); }

p { margin-bottom: 1.05rem; }
p:last-child { margin-bottom: 0; }

.container { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .76rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: .6rem;
}

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tight { padding: clamp(2.2rem, 4vw, 3.2rem) 0; }
.section--cream2 { background: var(--cream-2); }
.section--plum { background: var(--plum-deep); color: #f3e9ef; }
.section--plum h1, .section--plum h2, .section--plum h3 { color: #fff; }

.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }
.measure { max-width: 70ch; }
.measure-narrow { max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: .8rem 1.6rem; border-radius: 999px;
  background: var(--plum); color: #fff; border: 1.5px solid var(--plum);
  cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--plum-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--plum-deep); }
.btn--gold:hover { background: var(--gold-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--plum); }
.btn--ghost:hover { background: var(--plum); color: #fff; }
.btn--sm { padding: .55rem 1.1rem; font-size: .9rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 246, 240, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand a { color: var(--plum-deep); }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; letter-spacing: .01em; }
.brand__tag { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-top: 3px; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 0; position: relative; color: var(--plum-deep);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 2px;
  background: currentColor; border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

.menu { display: flex; align-items: center; gap: .35rem; list-style: none; padding: 0; }
.menu > li { position: relative; }
.menu > li > a {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .85rem; border-radius: 8px;
  font-weight: 500; font-size: .96rem; color: var(--ink);
}
.menu > li > a:hover { background: var(--cream-2); color: var(--plum); }
.menu > li.is-current > a { color: var(--plum); font-weight: 600; }
.menu > li.has-sub > a::after {
  content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px);
  opacity: .6;
}

.submenu {
  list-style: none; padding: .4rem; margin: 0;
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.menu > li.has-sub:hover .submenu,
.menu > li.has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: .55rem .75rem; border-radius: 7px; font-size: .94rem; color: var(--ink); }
.submenu a:hover { background: var(--cream-2); color: var(--plum); }

/* ---------- Hero (home) — split text panel + photo ---------- */
.hero { background: var(--plum-deep); color: #fff; overflow: hidden; }
.hero__split {
  display: grid; grid-template-columns: 1.04fr 1fr; align-items: stretch;
  min-height: clamp(460px, 66vh, 640px);
  width: min(100%, calc(var(--maxw) + 4rem)); margin-inline: auto;
}
.hero__panel {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.4rem, 4vw, 3.6rem) clamp(1.6rem, 3vw, 3rem);
}
.hero h1 { color: #fff; max-width: 15ch; margin-top: .4rem; }
.hero p { color: #e9dce7; max-width: 42ch; font-size: 1.12rem; margin-top: .75rem; }
.hero__cta { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__media { position: relative; overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease;
  background-size: cover; background-position: center 20%;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(44,20,41,.55) 0%, rgba(44,20,41,.12) 26%, rgba(44,20,41,0) 50%);
}
.hero__dots { position: absolute; bottom: 18px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: .55rem; }
.hero__dots button {
  width: 11px; height: 11px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.5); transition: background .2s, transform .2s;
}
.hero__dots button.is-active { background: var(--gold); transform: scale(1.2); }

@media (max-width: 820px) {
  .hero__split { grid-template-columns: 1fr; min-height: 0; width: 100%; }
  .hero__media { order: -1; min-height: 300px; }
  .hero__slide::after { background: linear-gradient(180deg, rgba(44,20,41,0) 60%, rgba(44,20,41,.4) 100%); }
  .hero__panel { padding: 2.2rem 1.4rem 2.6rem; }
  .hero h1, .hero p { max-width: none; }
}

/* ---------- Page header (interior) ---------- */
.page-head { background: var(--plum-deep); color: #fff; padding: clamp(2.6rem, 6vw, 4rem) 0; }
.page-head h1 { color: #fff; }
.page-head .eyebrow { color: var(--gold); }
.page-head p { color: #ece0ea; max-width: 60ch; margin-top: .5rem; }
.breadcrumbs { font-size: .82rem; color: #cdbcc9; margin-bottom: .9rem; }
.breadcrumbs a { color: #e7d6e3; }
.breadcrumbs a:hover { color: var(--gold); }

/* ---------- Pillar cards (home) ---------- */
.pillars { display: grid; gap: 1.4rem; grid-template-columns: repeat(3, 1fr); }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar__img { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.pillar__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.pillar h3 { margin-bottom: .2rem; }
.pillar__lead { color: var(--muted); font-size: .96rem; margin-bottom: 1rem; }
.pillar__links { list-style: none; padding: 0; margin: 0 0 1.1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.pillar__links a {
  font-size: .85rem; padding: .3rem .75rem; border-radius: 999px;
  background: var(--cream-2); color: var(--plum); font-weight: 500;
}
.pillar__links a:hover { background: var(--plum); color: #fff; }
.pillar .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Generic two/three column ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--sidebar { grid-template-columns: 1.7fr 1fr; align-items: start; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.7rem; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .5rem; }

.quote {
  font-family: var(--serif); font-size: 1.25rem; font-style: italic;
  color: var(--plum); border-left: 3px solid var(--gold); padding-left: 1.2rem; line-height: 1.5;
}
.quote cite { display: block; font-family: var(--sans); font-style: normal; font-size: .9rem;
  color: var(--muted); margin-top: .7rem; }

/* ---------- Prose ---------- */
.prose h2 { margin: 2rem 0 .8rem; }
.prose h3 { margin: 1.6rem 0 .6rem; color: var(--plum); }
.prose ul, .prose ol { margin: 0 0 1.1rem 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose .signoff { font-family: var(--serif); font-style: italic; color: var(--plum); margin-top: 1.4rem; }

/* ---------- About / image-text split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
.split__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.split__img img { width: 100%; }

/* ---------- Pricing / rate tables ---------- */
.rates { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 1rem; }
.rate {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm);
}
.rate h4 { font-family: var(--serif); color: var(--plum-deep); font-size: 1.1rem; margin-bottom: .7rem; }
.rate ul { list-style: none; padding: 0; margin: 0; }
.rate li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.rate li:last-child { border-bottom: 0; }
.rate .price { font-weight: 700; color: var(--gold-deep); white-space: nowrap; }
.rate .price small { color: var(--muted); font-weight: 500; }

/* ---------- Info list (when/where) ---------- */
.facts { list-style: none; padding: 0; margin: .4rem 0 1rem; display: grid; gap: .55rem; }
.facts li { display: flex; gap: .7rem; align-items: baseline; }
.facts .k { font-weight: 600; color: var(--plum-deep); min-width: 72px; }

.note { background: var(--cream-2); border-left: 3px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1rem 1.2rem; font-size: .95rem; color: var(--ink); }

/* ---------- Timeline (performances) ---------- */
.timeline { list-style: none; padding: 0; margin: 0; max-width: 820px; }
.timeline li {
  position: relative; padding: 0 0 1.4rem 1.6rem; border-left: 2px solid var(--line);
}
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--gold); border: 2px solid var(--cream);
}
.timeline li:last-child { border-left-color: transparent; }
.timeline .date { font-weight: 700; color: var(--plum); display: block; font-size: .95rem; }
.timeline .what { color: var(--ink); }

/* ---------- Resume ---------- */
.resume-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem; }
.resume-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--muted); font-size: .92rem; margin-bottom: 1.4rem; }
.resume-meta span b { color: var(--plum-deep); }
.credits { width: 100%; border-collapse: collapse; margin: .4rem 0 1.4rem; font-size: .93rem; }
.credits caption { text-align: left; font-family: var(--serif); font-size: 1.15rem; color: var(--plum-deep);
  font-weight: 700; padding: 1rem 0 .5rem; }
.credits th, .credits td { text-align: left; padding: .55rem .7rem; vertical-align: top; border-bottom: 1px solid var(--line); }
.credits th { width: 32%; color: var(--plum-deep); font-weight: 600; }
.credits td.role { width: 30%; color: var(--ink); }
.credits td.house { color: var(--muted); }
.credits tr:hover td, .credits tr:hover th { background: var(--cream-2); }

/* ---------- Gallery ---------- */
.gallery-group { margin-bottom: 2.6rem; }
.gallery-group h3 { margin-bottom: 1rem; padding-bottom: .4rem; border-bottom: 2px solid var(--line); }
.gallery { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.gallery a {
  display: block; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow-sm); position: relative;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery a:hover img { transform: scale(1.07); }
.gallery a::after {
  content: "⤢"; position: absolute; right: 8px; bottom: 6px; color: #fff; opacity: 0;
  font-size: 1.1rem; text-shadow: 0 1px 4px rgba(0,0,0,.6); transition: opacity .2s;
}
.gallery a:hover::after { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center;
  background: rgba(20, 8, 18, .92); padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(94vw, 1100px); max-height: 86vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox__btn {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0;
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.5rem; cursor: pointer;
  display: grid; place-items: center; transition: background .2s;
}
.lightbox__btn:hover { background: rgba(255,255,255,.28); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #eadcea; font-size: .9rem; }

/* ---------- Media / press ---------- */
.press-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pullquote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.pullquote p { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--plum); }
.pullquote cite { display: block; font-family: var(--sans); font-style: normal; font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.linklist { list-style: none; padding: 0; margin: 0; }
.linklist li { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.linklist li:last-child { border: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--plum-deep); }
.field input, .field textarea, .field select {
  width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--plum-soft); box-shadow: 0 0 0 3px rgba(109,58,100,.15);
}
.field textarea { min-height: 140px; resize: vertical; }
.contact-info { list-style: none; padding: 0; margin: 0; }
.contact-info li { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.contact-info .ico { color: var(--gold-deep); font-size: 1.15rem; line-height: 1.6; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: .6rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--plum); color: #fff; border-radius: var(--radius); padding: clamp(2rem, 5vw, 3rem); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #f0e2ee; max-width: 54ch; margin: .6rem auto 1.4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-deep); color: #d9c8d5; padding: 3rem 0 1.5rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: #e7d6e3; }
.site-footer a:hover { color: var(--gold); }
.footer-brand .brand__name { font-size: 1.4rem; color: #fff; }
.footer-brand p { font-size: .92rem; color: #c3afbf; margin-top: .6rem; max-width: 34ch; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: .28rem 0; font-size: .94rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.4rem; padding-top: 1.3rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between;
  font-size: .82rem; color: #b09bac; }
.social { display: flex; gap: .6rem; }
.social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: #e7d6e3;
}
.social a:hover { background: var(--gold); color: var(--plum-deep); }

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
/* Hidden only when JS is active; without JS, content stays fully visible. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid--sidebar, .split, .contact-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .menu {
    position: fixed; top: var(--header-h); right: 0; left: auto;
    width: min(86vw, 340px); height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-left: 1px solid var(--line);
    padding: 1rem; overflow-y: auto; z-index: 70;
    transform: translateX(100%); transition: transform .28s ease; box-shadow: var(--shadow-lg);
  }
  .menu.is-open { transform: translateX(0); }
  .menu > li > a { padding: .85rem .7rem; font-size: 1.05rem; border-radius: 8px; }
  .menu > li.has-sub > a::after { margin-left: auto; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 0 0 .4rem .7rem;
    padding: 0 0 0 .4rem; display: none; min-width: 0;
  }
  .menu > li.has-sub.is-expanded .submenu { display: block; }
  .menu > li.has-sub.is-expanded > a::after { transform: rotate(225deg) translateY(0); }
  .nav-backdrop { position: fixed; inset: var(--header-h) 0 0 0; background: rgba(20,8,18,.4); z-index: 50;
    opacity: 0; visibility: hidden; transition: opacity .25s; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .credits th, .credits td.role { width: auto; }
  .credits, .credits tbody, .credits tr, .credits th, .credits td { display: block; }
  .credits tr { padding: .6rem 0; border-bottom: 1px solid var(--line); }
  .credits th, .credits td { border: 0; padding: .1rem 0; }
  .credits th { font-size: 1rem; }
  .credits td.house { font-size: .85rem; }
  .lightbox__prev { left: 8px; } .lightbox__next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
