/* =========================================================
   Lauren Gorman — Flautist
   One-page · Dark Charcoal & Gold
   ========================================================= */

:root {
  /* Palette — monochrome to match the B&W hero */
  --bg:         #0e0e0e;   /* deep black                 */
  --bg-alt:     #171717;   /* alternating section        */
  --surface:    #1e1e1e;   /* cards / inputs / raised    */
  --surface-2:  #282828;   /* hover / stronger raised    */
  --text:       #ececec;   /* near-white                 */
  --text-2:     #cccccc;
  --muted:      #8a8a8a;
  --line:       rgba(236, 236, 236, 0.13);
  --line-2:     rgba(236, 236, 236, 0.22);
  --accent:     #ffffff;   /* pure white for accents     */
  --accent-dk:  #cfcfcf;
  --white:      #ffffff;

  /* Fonts */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --maxw: 1160px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --header-h: 74px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.4s;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--text);
  margin: 0;
}
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.6rem;
}

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  color: var(--accent);
  margin: 0 0 1rem;
}

em { color: var(--text); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--dur) var(--ease-out),
              background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dk); border-color: var(--accent-dk); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.72rem; }
.btn-block { width: 100%; text-align: center; }

.text-link {
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.text-link:hover { border-color: var(--accent); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.2rem 0;
  background: transparent;
  border: 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;   /* centered nav like Cassie */
  position: relative;
}
.brand {
  /* Hidden — Cassie-style; the hero name is the wordmark on Home */
  display: none;
}
.nav { display: flex; gap: 2.2rem; }
.nav a {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0.4rem 0;
  opacity: 0.9;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav a:hover,
.nav a.active {
  color: var(--accent);
  opacity: 1;
}

.nav-toggle {
  display: none;
  position: absolute;
  right: 1.6rem;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  z-index: 60;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero: full-bleed blurred cover with name overlay ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-align: center;
  background: var(--bg);
}
/* Blurred, zoomed copy of the cover fills the whole hero — makes the
   letterbox area on either side of the crisp portrait look like a
   soft extension of the photo, not a separate dark panel. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/cover.jpg") center/cover no-repeat;
  filter: blur(16px) brightness(0.92);
  transform: scale(1.08);
  z-index: 0;
}
.hero-image {
  position: absolute;
  top: 50%;
  left: 50%;
  /* scale(1.1) makes Lauren ~10% bigger so she doesn't feel small in the blur zone */
  transform: translate(-50%, -50%) scale(1.1);
  height: 100%;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  z-index: 1;
  /* Feather the left/right edges into the blurred backdrop */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  /* Top gradient keeps the nav readable over bright parts of the photo,
     plus a soft vignette on the edges. */
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 18%),
    radial-gradient(ellipse at center, rgba(0,0,0,0.05) 25%, rgba(0,0,0,0.45) 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  padding: calc(var(--header-h) + 1rem) 1.6rem 2rem;
  max-width: 640px;   /* keep name comfortably inside the crisp image */
}
.hero .eyebrow {
  color: var(--accent);
  margin-bottom: 1.3rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 6.5vw, 6rem);
  line-height: 1.02;
  color: #fff;
  margin: 0;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55), 0 6px 40px rgba(0, 0, 0, 0.35);
  white-space: nowrap;   /* Lauren Gorman stays on one line */
}

/* Social icon row at the bottom of the hero */
.hero-social {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 1.4rem;
}
.hero-social a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease-out);
  display: inline-flex;
  padding: 0.4rem;
}
.hero-social a:hover {
  color: var(--accent);
  transform: translateY(-3px);
}
.hero .hero-sub {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin: 1.1rem 0 0;
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  padding: calc(var(--header-h) + 4.5rem) 0 3.2rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-header .eyebrow { margin-bottom: 0.9rem; }
.page-header h1 {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  margin: 0;
}
.page-header .sub {
  color: var(--muted);
  margin: 1rem auto 0;
  font-size: 1.05rem;
  max-width: 620px;
  line-height: 1.7;
}

/* ---------- Sections ---------- */
.section {
  padding: 5.5rem 0;
  position: relative;
}
.section-alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-head h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.1rem);
}
.section-sub {
  color: var(--muted);
  margin-top: 0.9rem;
  font-size: 1.08rem;
  line-height: 1.7;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 360px);   /* bio | portrait */
  gap: 3.5rem;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}
.about-portrait {
  max-width: 360px;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.about-portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(1) contrast(1.03);
  /* Soft radial fade so the image edges dissolve into the black background */
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 45%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 90% at 50% 45%, #000 55%, transparent 100%);
}
.about-body h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 1.3rem; }
.about-body p { font-size: 1.12rem; color: var(--text-2); }
.about-body p + p { margin-top: 1.1rem; }

.lessons {
  margin-top: 4.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.lessons-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.75rem;
  align-items: center;
}
.lessons h3 { font-size: 2rem; margin-bottom: 0.75rem; }
.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.7rem;
  color: var(--muted);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

/* ---------- Music ---------- */
.music-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  max-width: 940px;
  margin: 0 auto;
}
.music-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease);
}
.music-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.music-item iframe { display: block; border-radius: 2px; }
.center-link { text-align: center; margin-top: 2.4rem; }

/* ---------- Events ---------- */
.event-list { list-style: none; margin: 0 auto; padding: 0; max-width: 840px; }
.event {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease);
}
.event:first-child { border-top: 1px solid var(--line); }
.event:hover { background: rgba(255, 255, 255, 0.05); }
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 78px; height: 78px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
  background: var(--surface);
  flex-shrink: 0;
}
.event-date .day { font-family: var(--serif); font-size: 1.9rem; line-height: 1; font-weight: 500; }
.event-date .mon { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.68rem; margin-top: 2px; }
.event-info h3 { font-size: 1.5rem; margin-bottom: 0.35rem; }
.event-meta {
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  margin-bottom: 0.5rem;
}
.event-info p:last-child { color: var(--muted); font-size: 0.98rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.gallery-item {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  position: relative;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out), filter var(--dur) var(--ease);
  filter: grayscale(0.06);
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.4) 100%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); filter: none; }
.gallery-item:hover::after { opacity: 1; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-details { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.contact-details li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.contact-details .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.contact-details a { transition: color var(--dur) var(--ease); }
.contact-details a:hover { color: var(--accent); }

.social { display: flex; gap: 0.85rem; margin: 1.8rem 0 2.6rem; }
.social a {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--text);
  background: var(--surface);
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease-out),
              background var(--dur) var(--ease);
}
.social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  background: var(--surface-2);
}

.subscribe h3 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.subscribe p { color: var(--muted); margin-bottom: 1rem; }
.subscribe-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.subscribe-form input { flex: 1 1 200px; }

/* Forms */
input, textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  transition: border-color var(--dur) var(--ease),
              background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
input::placeholder, textarea::placeholder { color: #7e776c; }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.15);
}
textarea { resize: vertical; }

.contact-form label { display: block; margin-bottom: 1.2rem; }
.contact-form label span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 0.45rem;
  font-weight: 500;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #100d0a;
  border-top: 1px solid var(--line);
  padding: 3.2rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem;
  text-align: center;
}
.site-footer .brand { color: var(--text); }
.footer-nav { display: flex; gap: 1.7rem; flex-wrap: wrap; justify-content: center; }
.footer-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}
.footer-nav a:hover { color: var(--accent); }
.copyright { font-size: 0.78rem; color: #7e776c; margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 6, 4, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.96);
  transition: transform 0.45s var(--ease-out);
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 1.2rem; right: 1.6rem;
  background: none;
  border: 0;
  color: rgba(255,255,255,0.8);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease-out);
}
.lightbox-close:hover { color: var(--accent); transform: rotate(90deg); }

/* ---------- Scroll reveal + staggered ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal-stagger.in-view > * { opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.14s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.23s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.32s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.41s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.50s; }

::selection { background: rgba(255, 255, 255, 0.28); color: var(--text); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  /* Hero on mobile: single full-screen image (no blurred backdrop) */
  .hero::before { display: none; }
  .hero-image {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: 30% center;   /* keep Lauren well in frame */
    transform: none;
    -webkit-mask-image: none;
            mask-image: none;
  }

  .about-grid,
  .lessons-grid,
  .music-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.4rem; }

  .about-portrait { max-width: 340px; margin: 0 auto; position: static; }
  .lessons { padding: 2.5rem 2rem; margin-top: 3.5rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* Mobile slide-in nav */
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh; height: 100svh;
    width: min(80vw, 320px);
    background: var(--surface);
    box-shadow: -14px 0 40px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    gap: 1.6rem;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1rem; opacity: 1; text-shadow: none; }
  .nav-toggle { display: flex; }
  /* Give the hamburger a soft dark backing so it's visible over bright parts of the photo */
  .nav-toggle span { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
}

@media (max-width: 560px) {
  .section { padding: 3rem 0; }
  .container { padding: 0 1.2rem; }
  .lessons { padding: 2rem 1.5rem; }

  .event { gap: 1rem; padding: 1.3rem 0; align-items: flex-start; }
  .event-date { width: 58px; height: 58px; }
  .event-date .day { font-size: 1.4rem; }
  .event-date .mon { font-size: 0.62rem; }
  .event-info h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
  .event-meta { font-size: 0.7rem; letter-spacing: 0.04em; line-height: 1.5; margin-bottom: 0.35rem; }
  .event-info p:last-child { font-size: 0.85rem; line-height: 1.5; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }

  .subscribe-form { flex-direction: column; }
  .subscribe-form input { flex: 0 0 auto; width: 100%; }
  .subscribe-form .btn { width: 100%; }

  /* Hero mobile */
  .hero .eyebrow { font-size: 0.64rem; letter-spacing: 0.24em; margin-bottom: 0.7rem; }
  .hero h1 { font-size: clamp(2.8rem, 12vw, 3.6rem); line-height: 1.06; }
  .hero .hero-sub { font-size: 0.7rem; letter-spacing: 0.24em; margin-top: 0.9rem; }

  /* Page header mobile — tighten so it fits without pushing content way down */
  .page-header { padding: calc(var(--header-h) + 1.6rem) 0 1.8rem; }
  .page-header h1 { font-size: clamp(1.9rem, 8.5vw, 2.6rem); line-height: 1.15; }
  .page-header .eyebrow { margin-bottom: 0.6rem; font-size: 0.66rem; letter-spacing: 0.28em; }
  .page-header .sub { font-size: 0.95rem; margin-top: 0.7rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * {
    opacity: 1; transform: none; transition: none;
  }
  * { transition: none !important; animation: none !important; }
}
