/* ============================================================
   Dr. Lizy K Fernandez — Custom CSS (Tailwind handles layout)
   ============================================================ */

/* ── Variables ── */
:root {
  --cream:    #F7F1E6;
  --gold:     #C09535;
  --plum:     #1C0B38;
  --charcoal: #181310;
  --warm:     #8A7B6E;
}

/* ── Reset extras ── */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* ── Grain texture overlay ── */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 160px;
}

/* ── Nav ── */
.nav-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--warm);
  transition: color 0.25s;
}

.nav-link:hover { color: var(--charcoal); }

.nav-link.active { color: var(--gold); }

.nav.scrolled {
  background: rgba(247, 241, 230, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(192, 149, 53, 0.15);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.mobile-nav-link {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--warm);
  padding: 4px 0;
  transition: color 0.2s;
}

.mobile-nav-link:hover { color: var(--charcoal); }

.burger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: 0.3s;
}

/* ── Hero: Photo panel ── */
.hero-photo-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 54%;
  overflow: hidden;
}

/* Left gradient: cream fades into photo */
.hero-photo-panel::before {
  content: '';
  position: absolute;
  inset-y: 0;
  left: 0;
  width: 60%;
  background: linear-gradient(to right, var(--cream) 0%, rgba(247,241,230,0.6) 50%, transparent 100%);
  z-index: 1;
}

/* Bottom gradient: photo fades into next section */
.hero-photo-panel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28%;
  background: linear-gradient(to top, var(--cream) 0%, transparent 100%);
  z-index: 1;
}

/* ── Hero: Vertical label ── */
.vertical-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  flex-direction: column;
  align-items: center;
}

/* ── Hero: Scroll cue ── */
.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--warm);
  opacity: 0.5;
  animation: scrollPulse 2.5s ease-in-out infinite;
}

.hero-scroll-cue svg { width: 22px; height: 22px; }

@keyframes scrollPulse {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50%       { transform: translateX(-50%) translateY(7px); opacity: 0.9; }
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--charcoal);
  color: var(--cream);
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(192,149,53,0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--warm);
  padding: 14px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}

.btn-ghost:hover {
  color: var(--charcoal);
  border-color: var(--charcoal);
}

/* ── Social icons ── */
.social-ico {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm);
  transition: color 0.2s, transform 0.2s;
}

.social-ico svg { width: 17px; height: 17px; }

.social-ico:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

/* ── Marquee ── */
.marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.marquee-item {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,241,230,0.7);
  padding: 0 20px;
}

.marquee-dot {
  color: var(--gold);
  font-size: 0.55rem;
  opacity: 0.7;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Section labels ── */
.section-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-label-light {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(192,149,53,0.8);
}

/* ── Tags / Chips ── */
.tag-chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid rgba(192,149,53,0.3);
  padding: 5px 14px;
  border-radius: 50px;
}

/* ── About: Photo ── */
.about-photo-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.about-photo-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--plum) 0%, transparent 100%);
}

/* ── About: Stat block ── */
.stat-block {
  padding: 18px 12px;
  text-align: center;
}

.stat-block span {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(247,241,230,0.4);
  margin-top: 4px;
}

/* ── About: Role chips ── */
.role-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(247,241,230,0.6);
  transition: border-color 0.25s, background 0.25s;
}

.role-chip:hover {
  border-color: rgba(192,149,53,0.3);
  background: rgba(255,255,255,0.06);
  color: rgba(247,241,230,0.85);
}

/* ── Music: Pillar rows ── */
.music-pillar {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(192,149,53,0.12);
  transition: padding-left 0.3s;
}

.music-pillar:last-child { border-bottom: none; }
.music-pillar:hover { padding-left: 6px; }

.music-pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(192,149,53,0.2);
  line-height: 1;
  min-width: 52px;
  transition: color 0.3s;
}

/* ── Education: Rows ── */
.edu-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(192,149,53,0.12);
  transition: padding-left 0.3s;
}

.edu-row:hover { padding-left: 8px; }

.edu-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(192,149,53,0.18);
  min-width: 56px;
  line-height: 1;
  transition: color 0.3s;
}

.edu-row:hover .edu-num { color: rgba(192,149,53,0.45); }

.edu-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(192,149,53,0.12);
  color: var(--gold);
  padding: 5px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

/* ── Contact: Rows ── */
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 12px;
  transition: background 0.25s;
}

a.contact-row:hover { background: rgba(255,255,255,0.04); }

.contact-icon {
  width: 42px;
  height: 42px;
  background: rgba(192,149,53,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  transition: background 0.25s;
}

a.contact-row:hover .contact-icon { background: rgba(192,149,53,0.2); }

.contact-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(247,241,230,0.35);
  margin-bottom: 2px;
}

.contact-val {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(247,241,230,0.75);
  transition: color 0.25s;
}

a.contact-row:hover .contact-val { color: rgba(247,241,230,0.95); }

/* ── Social rows (contact section) ── */
.social-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: all 0.25s;
  group: true;
}

.social-row:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(192,149,53,0.25);
  transform: translateX(4px);
}

/* ── Scroll reveal ── */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile ── */
@media (max-width: 1024px) {
  .hero-photo-panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 100%;
    opacity: 0.25;
  }

  .hero-photo-panel::before {
    width: 100%;
    background: rgba(247,241,230,0.55);
  }
}

@media (max-width: 640px) {
  .hero-scroll-cue { display: none; }
  .edu-badge { display: none; }
}
