/* ============================================================
   FLORIAN PEELMAN — Violist
   style.css
   ============================================================ */

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design tokens ── */
:root {
  /* Palette */
  --cream:       #f5f0e8;
  --cream-dim:   #ece6d6;
  --ink:         #1a1612;
  --ink-mid:     #3a3028;
  --ink-soft:    #7a6e60;
  --gold:        #c9a96e;
  --gold-light:  #dfc28f;
  --white:       #ffffff;

  /* Type */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Jost', system-ui, sans-serif;

  /* Spacing */
  --gap:    clamp(2rem, 5vw, 5rem);
  --gutter: clamp(1.25rem, 5vw, 3rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur:  0.6s;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, video, iframe { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
}

h1 { font-size: clamp(3.5rem, 9vw, 7rem); }

h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 1.5rem;
}

h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

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

p { max-width: 60ch; }

p + p { margin-top: 1rem; }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  width: min(100%, 1160px);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 680px;
}

.container--split {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--gap);
  align-items: start;
}

@media (max-width: 700px) {
  .container--split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ============================================================
   LABEL
   ============================================================ */
.label {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

/* ============================================================
   SECTION
   ============================================================ */
.section {
  padding-block: clamp(4rem, 10vw, 9rem);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.section.is-visible {
  opacity: 1;
  transform: none;
}

.section--dark {
  background-color: var(--ink);
  color: var(--cream);
}

.section--dark .label { color: var(--gold-light); }
.section--dark p      { color: var(--cream-dim); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem var(--gutter);
  transition: background var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), padding var(--dur) var(--ease);
}

.header.scrolled {
  background: rgba(26, 22, 18, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(201, 169, 110, 0.15);
  padding-block: 1rem;
}

/* Logo */
.logo {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav a {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  position: relative;
  transition: color 0.25s;
}

.nav a::after {
  content: '';
  position: absolute;
  inset-block-end: -3px;
  inset-inline: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover { color: var(--gold-light); }
.nav a:hover::after { transform: scaleX(1); }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

@media (max-width: 768px) {
  .menu-toggle { 
     display: flex;
     z-index: 300;
  }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    background: var(--ink);
    clip-path: circle(0% at calc(100% - 2.5rem) 2.5rem);
    transition: clip-path 0.55s var(--ease);
    pointer-events: none;
    
  }
  .nav.is-open {
    clip-path: circle(150% at calc(100% - 2.5rem) 2.5rem);
    pointer-events: all;
  }
  .nav a {
    font-size: 0.9rem;
    letter-spacing: 0.22em;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: var(--gap) var(--gutter);
  overflow: hidden;
  color: var(--cream);
}

/* Background */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 27%;
  transform: scale(1.05);
  filter: brightness(0.82) contrast(1.05) saturate(1.05);
}

/* 🎻 LIGHTING OVERLAY (concierto elegante) */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    /* luz dorada principal (como foco de escenario) */
    radial-gradient(
      circle at 65% 35%,
      rgba(201, 169, 110, 0.28) 0%,
      rgba(201, 169, 110, 0.10) 35%,
      transparent 70%
    ),

    /* sombra cinematográfica inferior */
    linear-gradient(
      180deg,
      rgba(10, 8, 6, 0.25) 0%,
      rgba(10, 8, 6, 0.55) 55%,
      rgba(10, 8, 6, 0.92) 100%
    ),

    /* leve tinte cálido global */
    radial-gradient(
      circle at center,
      rgba(255, 210, 140, 0.06),
      transparent 60%
    );

  pointer-events: none;
}


/* Grain overlay */
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url(unnamed (1).png);
  opacity: 0.35;
  pointer-events: none;
}

/* Gold horizontal rule */
.hero::before {
  content: '';
  position: absolute;
  inset-inline-start: var(--gutter);
  inset-block-start: 50%;
  width: 1px;
  height: 35%;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s 0.3s var(--ease) forwards;
}

.hero-kicker {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-title {
  margin-bottom: 1.2rem;
  color: var(--cream);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--cream-dim);
  margin-bottom: 2.5rem;
  max-width: none;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  inset-block-end: 2rem;
  inset-inline-end: var(--gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  animation: fadeUp 1s 0.8s var(--ease) forwards;
  opacity: 0;
}

.hero-scroll span {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.6); opacity: 0.4; }
}

/* ============================================================
   QUOTE
   ============================================================ */
.quote {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
  padding-block: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.quote.is-visible {
  opacity: 1;
  transform: none;
}

.quote p {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--cream);
  max-width: none;
}

.quote footer {
  margin-top: 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.quote footer cite { font-style: normal; }

/* ============================================================
   BIOGRAPHY
   ============================================================ */
.split-label {
  padding-top: 0.4rem;
  border-top: 1px solid var(--gold);
}

/* ============================================================
   VIDEO
   ============================================================ */
.video-wrapper {
  position: relative;
  margin-top: 2.5rem;
  border: 1px solid rgba(201, 169, 110, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.video-wrapper::before {
  content: '';
  display: block;
  padding-top: 56.25%; /* 16:9 */
}

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

/* ============================================================
   EVENTS
   ============================================================ */
.events-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.event-card {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--cream-dim);
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.event-card.is-visible {
  opacity: 1;
  transform: none;
}

.event-card:last-child { border-bottom: 1px solid var(--cream-dim); }

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.event-date {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}

.event-city {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.event-venue {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.event-program {
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: none;
}

.event-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  transition: gap 0.25s var(--ease), color 0.25s;
}

.event-link:hover {
  gap: 0.9rem;
  color: var(--ink);
}

@media (max-width: 640px) {
  .event-card {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .event-link { align-self: flex-start; }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 0;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--cream);
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  width: 100%;
  -webkit-appearance: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(245, 240, 232, 0.3);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.05);
}

.contact-form textarea { resize: vertical; min-height: 130px; }

.form-status {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--gold-light);
  min-height: 1.2em;
  text-align: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.85em 2.2em;
  border: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 24px rgba(201, 169, 110, 0.3);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(245, 240, 232, 0.3);
  color: var(--cream);
}

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

.btn--full { width: 100%; }

.btn--sm {
  font-size: 0.62rem;
  padding: 0.7em 1.6em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  border-top: 1px solid rgba(201, 169, 110, 0.15);
  padding: 3rem var(--gutter);
}

.footer-inner {
  width: min(100%, 1160px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--gold); }

.footer-copy {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  text-align: right;
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-nav  { justify-content: center; }
  .footer-copy { text-align: center; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  inset-block-end: 2rem;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--ink-mid);
  border: 1px solid rgba(201, 169, 110, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  animation: slideUp 0.5s var(--ease);
}

.cookie-banner p {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--cream-dim);
  max-width: none;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

@keyframes slideUp {
  from { transform: translateX(-50%) translateY(20px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0);    opacity: 1; }
}

@media (max-width: 520px) {
  .cookie-banner {
    flex-direction: column;
    inset-inline: 1rem;
    inset-block-end: 1rem;
    transform: none;
    white-space: normal;
  }
  @keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: none;             opacity: 1; }
  }
}

/* ============================================================
   ACCESSIBILITY — FOCUS RING
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .hero-content, .hero-scroll { opacity: 1; transform: none; }
  .section { opacity: 1; transform: none; }
  .event-card { opacity: 1; transform: none; }
  .quote { opacity: 1; transform: none; }
}
.contact-agencies {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 169, 110, 0.2);
}

.contact-subtitle {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.agency-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.agency-list a {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color 0.25s ease;
}

.agency-list a:hover {

.agency-list a[href^="mailto"] {
  color: var(--gold-light);
  font-weight: 500;
} 
   
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.photo-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: 1px solid rgba(201,169,110,0.2);
  transition: transform 0.3s ease;
}

.photo-grid img:hover {
  transform: scale(1.03);
}
.audio-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.audio-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid rgba(201, 169, 110, 0.25);
}

.audio-item p {
  margin: 0;
  color: var(--cream-dim);
}
.audio-section {
  margin-top: 4rem;
}
   
.audio-section h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  body.bio .hero-bg img {
    object-position: 55% 15% !important;
    transform: scale(1.18) !important;
  }
}
