@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --persian-green: #00A693;
  --deep-green: #063f3a;
  --darker-green: #022c29;
  --jade: #0f6f63;
  --mist: #edf8f4;
  --gold: #d6b06e;
  --line: rgba(237,248,244,.24);
  --muted: rgba(237,248,244,.82);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  overflow: hidden;
  color: var(--mist);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--darker-green);
}
.texture-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .42;
  background:
    radial-gradient(circle at 12% 16%, rgba(214,176,110,.12), transparent 24%),
    radial-gradient(circle at 82% 78%, rgba(0,166,147,.12), transparent 26%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.012) 0 2px, transparent 2px 10px),
    repeating-linear-gradient(45deg, rgba(0,0,0,.018) 0 1px, transparent 1px 8px);
  mix-blend-mode: soft-light;
}
h1, h2, h3, .brand {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(58px, 8vw, 108px); line-height: .9; }
h2 { font-size: clamp(38px, 5vw, 60px); line-height: .95; }
h3 { font-size: clamp(22px, 2.4vw, 31px); line-height: 1.05; }
p { margin: 0; line-height: 1.65; }
a { color: var(--mist); }

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px clamp(20px, 4vw, 54px);
  background: linear-gradient(to bottom, rgba(2,44,41,.80), rgba(2,44,41,0));
}
.brand {
  text-decoration: none;
  color: var(--mist);
  font-size: clamp(26px, 2vw, 32px);
}
.nav-links { display: flex; flex-wrap: wrap; gap: 18px; }
.nav-links a {
  text-decoration: none;
  color: var(--mist);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.page-shell {
  position: relative;
  z-index: 1;
  height: 100vh;
  overflow: hidden;
}
.page {
  position: relative;
  height: 100vh;
  padding: 110px clamp(20px, 5vw, 64px) 42px;
  display: grid;
  align-items: center;
}

/* Intro: preserved, black and white */
.intro-page { overflow: hidden; background: #000; }
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #000;
  transition: opacity .65s ease;
}
.leaving-intro .intro-screen { opacity: 0; }
.intro-background, .intro-overlay { position: absolute; inset: 0; }
.intro-background {
  background-image: url("assets/intro-bg.jpg");
  background-size: cover;
  background-position: center 24%;
  filter: grayscale(1) contrast(1.08) brightness(.74);
  transform: scale(1.03);
}
.intro-overlay {
  background:
    radial-gradient(circle at center, rgba(255,255,255,.04), transparent 34%),
    linear-gradient(to bottom, rgba(0,0,0,.14), rgba(0,0,0,.52) 55%, rgba(0,0,0,.75));
}
.intro-content { position: relative; z-index: 2; text-align: center; padding: 24px; }
.enter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(244,240,233,.58);
  background: rgba(244,240,233,.10);
  color: #f4f0e9;
  font-family: Inter, system-ui, sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 800;
}

/* Soft fade, no hard boxes */
.fade-panel {
  position: relative;
  z-index: 2;
}
.fade-panel::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: -1;
  background:
    radial-gradient(circle at center, rgba(0,0,0,.30) 0%, rgba(0,0,0,.16) 43%, rgba(0,0,0,0) 78%);
  filter: blur(18px);
  pointer-events: none;
}
.button-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid rgba(237,248,244,.62);
  border-radius: 999px;
  color: var(--mist);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 700;
  background: rgba(237,248,244,.05);
}
.button-light:hover { background: rgba(237,248,244,.13); }
.button-light.solid { background: rgba(237,248,244,.92); color: var(--darker-green); }

/* Home: same photo in color with slow dramatic transition */
.home-page {
  background: var(--darker-green);
}
.home-color-photo {
  position: absolute;
  inset: 0;
  background-image: url("assets/entrance-color-photo.jpg");
  background-size: cover;
  background-position: center 24%;
  filter: grayscale(1) brightness(.55) contrast(1.12);
  transform: scale(1.035);
  animation: revealColor 4.2s ease forwards;
}
.home-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(2,44,41,.72), rgba(2,44,41,.22), rgba(2,44,41,.58)),
    radial-gradient(circle at 66% 35%, rgba(0,166,147,.16), transparent 30%);
}
.home-content {
  max-width: 790px;
  align-self: end;
  margin-bottom: 6vh;
  opacity: 0;
  transform: translateY(12px);
  animation: textArrival 1.8s ease 1.6s forwards;
}
.lead {
  margin-top: 20px;
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 22px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

@keyframes revealColor {
  0% { filter: grayscale(1) brightness(.42) contrast(1.15); transform: scale(1.045); }
  48% { filter: grayscale(.85) brightness(.58) contrast(1.12); }
  100% { filter: grayscale(0) brightness(.82) contrast(1.05) saturate(1.02); transform: scale(1); }
}
@keyframes textArrival {
  to { opacity: 1; transform: translateY(0); }
}

/* Persian green textured pages */
.about-page {
  background:
    radial-gradient(circle at 18% 20%, rgba(214,176,110,.13), transparent 26%),
    linear-gradient(135deg, #07524b 0%, #022c29 100%);
}
.centered-text {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.text-column p {
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(15px, 1.12vw, 18px);
}

.media-page {
  background:
    radial-gradient(circle at 82% 14%, rgba(0,166,147,.20), transparent 24%),
    linear-gradient(135deg, #063f3a 0%, #011d1b 100%);
}
.two-column-stage {
  display: grid;
  grid-template-columns: minmax(280px,.82fr) minmax(0,1.18fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
}
.media-copy { max-width: 540px; }
.media-list { margin-top: 24px; display: grid; gap: 20px; }
.media-item { padding: 18px 0; border-top: 1px solid var(--line); }
.media-item:last-child { border-bottom: 1px solid var(--line); }
.media-item p { margin-top: 10px; color: var(--muted); }
.media-item a {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--gold);
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Events: only other photo */
.events-page {
  background: var(--deep-green);
}
.events-photo {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(2,44,41,.72), rgba(2,44,41,.38), rgba(2,44,41,.76)),
    url("assets/events-only-photo.jpg");
  background-size: cover;
  background-position: center center;
  filter: saturate(.92) brightness(.82);
}
.events-panel {
  max-width: 980px;
}
.events-rows { margin-top: 26px; display: grid; gap: 0; }
.event-row {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.event-row:last-child { border-bottom: 1px solid var(--line); }
.event-date-stack {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(237,248,244,.92);
  color: var(--darker-green);
  display: grid;
  place-items: center;
  text-align: center;
  align-self: center;
  padding: 10px;
}
.event-date-stack span, .event-date-stack small {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 10px;
  font-weight: 700;
}
.event-date-stack strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  line-height: .9;
}
.event-date-stack.range strong { font-size: 22px; }
.event-details p { margin-top: 6px; color: var(--muted); }
.event-details a {
  display: inline-block;
  margin-top: 8px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--gold);
}

.repertoire-page {
  background:
    radial-gradient(circle at 75% 22%, rgba(214,176,110,.12), transparent 24%),
    linear-gradient(135deg, #064c45 0%, #011f1d 100%);
}
.repertoire-panel { max-width: min(980px, 100%); width: 100%; }
.rep-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}
.rep-header p {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold);
}
.repertoire-scroll {
  height: min(64vh, 620px);
  overflow-y: auto;
  padding-right: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.rep-block {
  padding: 16px 0;
  border-bottom: 1px solid rgba(237,248,244,.10);
}
.rep-block h3 { font-size: 20px; margin-bottom: 6px; }
.rep-block p { color: var(--muted); max-width: 760px; }
.repertoire-scroll::-webkit-scrollbar { width: 10px; }
.repertoire-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,.06); border-radius: 999px; }
.repertoire-scroll::-webkit-scrollbar-thumb { background: rgba(214,176,110,.42); border-radius: 999px; }

.contact-page {
  background:
    radial-gradient(circle at 14% 72%, rgba(0,166,147,.16), transparent 22%),
    linear-gradient(135deg, #043933 0%, #011816 100%);
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px,.72fr) minmax(320px,.88fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: start;
  max-width: 1080px;
}
.contact-copy p { margin-top: 14px; color: var(--muted); }
.contact-form { display: grid; gap: 16px; }
.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(237,248,244,.18);
  background: rgba(237,248,244,.06);
  color: var(--mist);
  font: inherit;
}
.hidden { display: none; }

@media (max-width: 980px) {
  .site-nav { padding-top: 18px; padding-bottom: 18px; }
  .brand { font-size: 24px; }
  .nav-links { gap: 12px; }
  .page { padding-top: 112px; padding-bottom: 28px; }
  .two-column-stage, .contact-layout { grid-template-columns: 1fr; gap: 24px; }
  .events-photo { background-position: center center; }
  .rep-header { display: block; }
  .rep-header p { margin-top: 6px; }
}


/* V14 edits */
.offset-title {
  display: grid;
  line-height: .88;
}

.offset-title .first-name {
  display: block;
  margin-left: 32%;
  white-space: nowrap;
}

.offset-title .last-name {
  display: block;
  white-space: nowrap;
}

.instagram-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid rgba(237,248,244,.62);
  border-radius: 999px;
  color: var(--mist);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 700;
  background: rgba(237,248,244,.05);
}

.instagram-button:hover {
  background: rgba(237,248,244,.13);
}

@media (max-width: 720px) {
  .offset-title .first-name {
    margin-left: 24%;
  }
}


/* V15 title alignment refinement */
.offset-title {
  display: grid !important;
  line-height: .88;
}

.offset-title .first-name {
  display: block !important;
  margin-left: 18% !important;
  font-size: .78em !important;
  line-height: .88;
  white-space: nowrap;
}

.offset-title .last-name {
  display: block !important;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .offset-title .first-name {
    margin-left: 15% !important;
    font-size: .78em !important;
  }
}


/* V16 title alignment correction:
   Daniel is full size again, and centered over the span from the 3rd letter of Rafimayeri to the final letter. */
.offset-title {
  display: grid !important;
  line-height: .88;
}

.offset-title .first-name {
  display: block !important;
  margin-left: 30% !important;
  font-size: 1em !important;
  line-height: .88;
  white-space: nowrap;
}

.offset-title .last-name {
  display: block !important;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .offset-title .first-name {
    margin-left: 28% !important;
    font-size: 1em !important;
  }
}


/* V17: restore normal left-aligned title formatting */
.offset-title,
.offset-title .first-name,
.offset-title .last-name {
  display: initial !important;
  margin-left: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.home-content h1 {
  text-align: left !important;
}


/* V18: social logo navigation and swipe gallery */
.site-nav {
  gap: 18px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(237,248,244,.34);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: var(--mist);
  background: rgba(237,248,244,.045);
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}

.social-links a:hover {
  background: rgba(237,248,244,.14);
  border-color: rgba(237,248,244,.70);
  transform: translateY(-1px);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links svg path:not(.play) {
  fill: currentColor;
  stroke: none;
}

.social-links svg .play {
  fill: var(--darker-green);
  stroke: none;
}

.centered-text {
  max-width: 1060px;
  width: 100%;
}

.about-page .text-column p {
  font-size: clamp(13px, .96vw, 16px);
  line-height: 1.52;
}

.about-page h2 {
  font-size: clamp(34px, 4.4vw, 52px);
}

.about-gallery {
  margin-top: 22px;
  width: min(100%, 1040px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 14px;
  border-top: 1px solid rgba(237,248,244,.16);
}

.gallery-track {
  display: flex;
  gap: 16px;
  width: max-content;
}

.about-gallery figure {
  margin: 0;
  width: min(72vw, 520px);
  height: min(30vh, 300px);
  flex: 0 0 auto;
  scroll-snap-align: center;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.20);
  background: rgba(237,248,244,.04);
}

.about-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: rgba(0,0,0,.16);
}

.about-gallery::-webkit-scrollbar {
  height: 8px;
}

.about-gallery::-webkit-scrollbar-track {
  background: rgba(237,248,244,.08);
  border-radius: 999px;
}

.about-gallery::-webkit-scrollbar-thumb {
  background: rgba(214,176,110,.48);
  border-radius: 999px;
}

@media (max-width: 980px) {
  .site-nav {
    align-items: flex-start;
  }

  .social-links {
    width: 100%;
    justify-content: flex-start;
  }

  .social-links a {
    width: 32px;
    height: 32px;
  }

  .about-gallery figure {
    width: 78vw;
    height: 26vh;
  }
}

@media (max-width: 760px) {
  .site-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nav-links {
    gap: 10px;
  }
}


/* V19: move navigation tabs right next to social icons */
.site-nav {
  justify-content: flex-start !important;
}

.brand {
  margin-right: auto !important;
}

.nav-links {
  margin-left: auto !important;
  margin-right: 10px !important;
  justify-content: flex-end !important;
}

.social-links {
  margin-left: 0 !important;
  flex-shrink: 0;
}

.nav-links a {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .brand {
    margin-right: 0 !important;
  }

  .nav-links {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
