@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Karla:wght@400;500;600&display=swap');

:root{
  --bg: #FFFFFF;
  --ink: #111111;
  --amber: #2C5941;
  --rose: #A8483A;
  --teal: #3E6E64;
  --line: rgba(17,17,17,0.14);
  --max: 880px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

section[id]{ scroll-margin-top: 90px; }

.section-divider{
  max-width: var(--max);
  margin: 3.5rem auto;
  height: 1px;
  background: var(--line);
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Karla', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a{ color: inherit; }

h1, h2, .display{
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* header / nav */
header.site{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

.wordmark{
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.35rem;
  text-decoration: none;
  white-space: nowrap;
}

nav.main{
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav.main a{
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.6;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: opacity .2s ease, border-color .2s ease;
}

nav.main a:hover,
nav.main a.active{
  opacity: 1;
  border-color: var(--amber);
}

main{
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

/* hero / signature light-leak treatment */
.hero{
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  aspect-ratio: 16 / 9;
}

.hero img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.eyebrow{
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
  display: block;
}

.bio-text{
  font-size: 1.15rem;
  max-width: 60ch;
}

.bio-text p{ margin: 0 0 1.2rem; }

.photo-caption{
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink);
  opacity: 0.55;
}

/* follow links */
.follow{
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.follow span.eyebrow{ margin-bottom: 1rem; }

.follow-links{
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.follow-links a{
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  opacity: 0.75;
  transition: opacity .2s ease, color .2s ease;
}

.follow-links a:hover{ opacity: 1; color: var(--amber); }

/* music page */
.album-block{
  max-width: 55ch;
  margin-bottom: 2.5rem;
}

.album-title{
  font-size: 1.9rem;
  margin: 0 0 0.25rem;
}

.album-artist{
  opacity: 0.6;
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
}

.track{
  border-top: 1px solid var(--line);
  padding: 1.1rem 0;
}

.track-head{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.6rem;
}

.track-title{
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
}

.track-time{
  font-size: 0.8rem;
  opacity: 0.5;
}

audio{
  width: 100%;
  height: 36px;
}

.video-embeds{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin: 0 0 3rem;
}

.video-embeds figure{
  margin: 0;
}

.video-embeds .video-wrap{
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 4px;
  overflow: hidden;
  background: #f2f2f2;
  cursor: pointer;
}

.video-embeds .video-wrap img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-embeds .play-btn{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.video-embeds .play-btn::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 56%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--ink);
}

.video-embeds .video-wrap:hover .play-btn{
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
}

.video-embeds .video-wrap iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-embeds figcaption{
  margin-top: 0.6rem;
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
}

@media (max-width: 640px){
  .video-embeds{ grid-template-columns: 1fr; }
}

.other-tracks{
  margin: 2.5rem 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.other-tracks h2{
  font-size: 1rem;
  opacity: 0.55;
  font-weight: 400;
  font-style: italic;
  margin: 0 0 0.5rem;
}

/* photo grid (masonry-style columns, no uneven gaps) */
.photo-grid{
  column-count: 2;
  column-gap: 1.5rem;
}

.photo-grid figure{
  margin: 0 0 1.5rem;
  break-inside: avoid;
}

.photo-grid img{
  width: 100%;
  border-radius: 4px;
  display: block;
}

/* contact page */
.contact-block{
  text-align: left;
}

.contact-block h2{
  font-size: 2.1rem;
  margin: 0 0 1.5rem;
}

.contact-block a.email{
  display: inline-block;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--amber);
  border-bottom: 1px solid var(--amber);
  padding-bottom: 2px;
}

.credit-photo{
  margin: 2.5rem 0;
}

.credit-photo img{
  width: 100%;
  border-radius: 4px;
  display: block;
}

footer.site{
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  font-size: 0.75rem;
  opacity: 0.4;
  text-align: center;
}

@media (max-width: 640px){
  .photo-grid{ column-count: 1; }
  header.site{ flex-direction: column; align-items: flex-start; gap: 1rem; }
}
