/* =========================================
   Tim Alexander — Minimal System (Clean)
   ========================================= */

:root{
  --bg: #F7F5F2;
  --text: #1A1A1A;
  --muted: rgba(26,26,26,.65);
  --line: #E5E2DE;
  --white: #FFFFFF;

  --container: 1100px;
  --header-height: 50px;

  --serif: "Cormorant Garamond", serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* =========================================
   Reset
   ========================================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Keeps content from hiding under fixed header */
  padding-top: var(--header-height);
}

img{
  max-width:100%;
  display:block;
}

/* =========================================
   Layout
   ========================================= */

.container{
  width:100%;
  max-width:1100px;
  padding-left:40px;
  padding-right:40px;
  margin:0 auto;
}

/* =========================================
   Header
   ========================================= */

.site-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:var(--header-height);
  background: var(--bg);
  border-bottom:1px solid var(--line);
  z-index:1000;
}

.header-inner{
  max-width:1100px;
  margin:0 auto;
  padding:0 40px;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo{
  font-family: var(--serif);
  font-size:1.5rem;
  letter-spacing:2px;
  text-transform:uppercase;
  font-weight:500;
}

.logo a{
  color: inherit;
  text-decoration: none;
}

.logo a:visited{
  color: inherit;
}

.nav ul{
  list-style:none;
  display:flex;
  gap:36px;
}

.nav a{
  text-decoration:none;
  color:rgba(26,26,26,.88);
  font-size:0.85rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  transition:color .25s ease;
}

.nav a:hover{
  color:#666;
}

.nav a.active{
  opacity:.62;
}

/* =========================================
   Hero (Homepage Only)
   ========================================= */

.hero{
  height:calc(100vh - var(--header-height));
  display:flex;
  align-items:center;
  justify-content:center;
  padding-bottom: 6vh;

  background:
    linear-gradient(to right,
  rgba(0,0,0,0.48) 0%,
  rgba(0,0,0,0.35) 30%,
  rgba(0,0,0,0.18) 55%,
  rgba(0,0,0,0.05) 70%,
  rgba(0,0,0,0) 80%
),
    url("images/index-hero.jpg") center top / cover no-repeat;
}

.hero-content{
  width:100%;
  max-width:1100px;
  padding:0 40px;
  color:var(--white);
  text-align:left;          /* forces left alignment */
}

.hero h1{
  font-family:var(--serif);
  font-size:clamp(3rem,6vw,5rem);
  font-weight:500;
  letter-spacing:2px;
  text-transform:uppercase;
  line-height:.98;
  margin-bottom:6px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.25);
}

.hero h2{
  font-family:var(--serif);
  font-size:clamp(1.3rem,2.5vw,1.9rem);
  font-weight:500;
  letter-spacing:4px;
  text-transform:uppercase;
  opacity: 0.9;
}

/* =========================================
   Interior Pages
   ========================================= */

.page{
  padding:70px 0 100px;
}

.page-title{
  text-align:center;
  font-family:var(--serif);
  font-size:clamp(2rem,4vw,3rem);
  font-weight:500;
  letter-spacing:0.18em;
  text-transform:uppercase;
  margin-bottom:70px;
}

.page-title::after{
  content:"";
  display:block;
  width:60px;
  height:1px;
  background:var(--line);
  margin:24px auto 0;
}

.lede{
  text-align:center;
  max-width:720px;
  margin: -48px auto 0;
  color: var(--muted);
  line-height:1.75;
}

.prose{
  max-width:720px;
  margin:0 auto;
}

.prose p{
  line-height:1.85;
  margin-bottom:22px;
}

.prose p:last-child{
  margin-bottom:0;
}

.prose strong{
  font-weight:600;
}

.prose em{
  font-style:italic;
}

/* =========================================
   Biography refinements (subtle, page-only)
   ========================================= */

.biography .prose{
  color: rgba(26,26,26,.88);
}

.biography .prose p{
  margin-bottom: 32px;
  line-height: 1.9;
}

.biography .prose em{
  color: rgba(26,26,26,.75);
}

/* =========================================
   Repertoire
   ========================================= */

.repertoire{
  max-width:600px;
  margin:0 auto;
  padding:0;
}

.composer{
  margin-top:48px;
  padding-bottom:36px;
  border-bottom:1px solid var(--line);
}

.composer:first-child{
  margin-top:0;
}

.composer:last-child{
  border-bottom:none;
}

.composer h2{
  font-family: var(--serif);
  font-size:1.55rem;
  letter-spacing:0.25em;
  font-weight:600;
  margin-bottom:18px;
  opacity:.9;
}

.role{
  display:grid;
  grid-template-columns:auto 220px;
  column-gap:16px;
  align-items:baseline;
  margin-bottom:14px;
}

.role:last-child{
  margin-bottom:0;
}

.role h3{
  font-size:1.1rem;
  font-weight:500;
  margin-bottom:2px;
}

.role p{
  margin:0;
  font-size:0.95rem;
  color:var(--muted);
  text-align:right;
}

/* =========================================
   Gallery
   ========================================= */

.gallery-feature{
  max-width:1040px;
  margin:0 auto 56px;
}

.gallery-feature img{
  width:100%;
  display:block;
  border-radius:18px;
}

.gallery-editorial{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:24px;
  max-width:1040px;
  margin:0 auto;
}

.gallery-column{
  display:flex;
  flex-direction:column;
  gap:24px;
}

.gallery-item{
  margin:0;
}

.gallery-item img{
  width:100%;
  display:block;
  border-radius:16px;
  opacity:0;
  transform:translateY(8px);
  transition:opacity 0.8s ease, transform 0.8s ease;
}

.gallery-item img.loaded{
  opacity:1;
  transform:translateY(0);
}

.gallery-feature img{
  transition:transform 0.35s ease;
}

.gallery-item img:hover,
.gallery-feature img:hover{
  transform:scale(1.015);
}

.lightbox{
  position:fixed;
  inset:0;
  background:rgba(10,10,10,0.88);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px;
  opacity:0;
  visibility:hidden;
  transition:opacity 0.28s ease, visibility 0.28s ease;
  z-index:2000;
}

.lightbox.open{
  opacity:1;
  visibility:visible;
}

.lightbox-image{
  max-width:min(1200px, 92vw);
  max-height:88vh;
  display:block;
  border-radius:12px;
  box-shadow:0 20px 60px rgba(0,0,0,0.35);
}

.lightbox-close{
  position:absolute;
  top:18px;
  right:24px;
  background:none;
  border:none;
  color:rgba(255,255,255,0.85);
  font-size:2.4rem;
  line-height:1;
  cursor:pointer;
  padding:0;
}

.lightbox-close:hover{
  color:#fff;
}

body.lightbox-open{
  overflow:hidden;
}

.lightbox-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:52px;
  height:52px;
  border:1px solid rgba(255,255,255,0.18);
  border-radius:50%;
  background:rgba(255,255,255,0.06);
  color:rgba(255,255,255,0.88);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.6rem;
  line-height:1;
  cursor:pointer;
  backdrop-filter:blur(4px);
  transition:background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.lightbox-nav:hover{
  background:rgba(255,255,255,0.12);
  border-color:rgba(255,255,255,0.28);
  color:#fff;
}

.lightbox-prev{
  left:24px;
}

.lightbox-next{
  right:24px;
}

/* =========================================
   Contact
   ========================================= */

.contact-grid{
  display:grid;
  grid-template-columns:1fr 340px;
  gap:32px;
  align-items:start;
  max-width:820px;
  margin:40px auto 0;
}

.card{
  border:1px solid var(--line);
  border-radius:18px;
  padding:28px 24px;
  width:100%;
  margin-top:4px;
}

.label{
  font-size:.78rem;
  letter-spacing:1.2px;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:10px;
}

.contact-line{
  font-size:1rem;
  line-height:2;
  margin-top:6px;
}

.contact-line a{
  color:inherit;
  text-decoration:none;
  font-family:var(--serif);
  font-size:1.25rem;
}

.contact-line a:hover{
  opacity:.7;
}

/* =========================================
   Footer
   ========================================= */

.site-footer{
  padding:60px 0;
  font-size:0.8rem;
  opacity:.6;
  border-top:1px solid var(--line);
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}

.footer-inner-single{
  justify-content:center;
}

.footer-inner a{
  color: inherit;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}

.footer-inner a:hover{
  opacity:.7;
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width:860px){
  .contact-grid{
    grid-template-columns:1fr;
  }

  .footer-inner{
    flex-direction:column;
    text-align:center;
  }
}

@media (max-width:768px){

  .site-header{
  height:auto;
  padding:12px 0 14px;
}

.header-inner{
  flex-direction:column;
  justify-content:center;
  gap:12px;
  padding:0 18px;
}

.logo{
  font-size:1.15rem;
  letter-spacing:1px;
}

.nav ul{
  gap:16px;
}

.nav a{
  font-size:0.66rem;
  letter-spacing:0.1em;
}

body{
  padding-top:72px;
}

.hero{
  height: calc(100svh - 72px);
  background-position: 65% top;
  padding-bottom: 120px;
  position: relative;
}

.hero-content{
  position: absolute;
  left: 18px;
  top: 305px;
  padding: 0;
  max-width: 230px;
}

.hero h1{
  font-size: 3rem;
  line-height: 0.98;
  max-width: 230px;
}

.hero h2{
  font-size: 1rem;
  letter-spacing: 3px;
}

.page{
  padding: 52px 0 48px;
}

.page-title{
    margin-bottom: 52px;
  }

  .repertoire{
    padding:0;
  }

  .composer{
    margin-top:36px;
  }

  .composer h2{
    margin-bottom:24px;
  }

  .gallery-feature{
    margin-bottom: 32px;
  }

  .gallery-editorial{
    gap:16px;
  }

  .gallery-column{
    gap:16px;
  }

  /* Repertoire mobile stack */
  .role{
    grid-template-columns:1fr;
  }

  .role p{
    text-align:left;
    justify-self:start;
    margin-top:4px;
  }

  .site-footer{
    padding:40px 0;
  }

  .contact-grid{
  display:flex;
  flex-direction:column;
  gap:20px;
  max-width:none;
  margin:40px 0 0;
}

.card{
  margin-top:20px;
  padding:16px 12px;
  width:100%;
}

.contact-line a{
  font-size:1.2rem;
}

}

@media (max-width:768px) and (max-height:700px){
  .hero{
    position: relative;
    height: calc(100svh - 72px);
    background-position: 65% top;
    padding-bottom: 0;
  }

  .hero-content{
    position: absolute;
    left: 18px;
    right: auto;
    top: 275px;
    padding: 0;
    max-width: 230px;
  }
}