:root {
  --bg: #0c0b0a;
  --bg-2: #141210;
  --bg-3: #1c1916;
  --ink: #f4efe6;
  --muted: #b7aea0;
  --dim: #8a8174;
  --line: rgba(244, 239, 230, 0.12);
  --gold: #c9a36a;
  --gold-2: #e0c48a;
  --accent: #d4b483;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", "Noto Sans TC", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  background: linear-gradient(to bottom, rgba(12,11,10,.88), rgba(12,11,10,.35) 70%, transparent);
  backdrop-filter: blur(8px);
}

.brand {
  font-family: "Cormorant Garamond", "Noto Serif TC", serif;
  font-size: 1.15rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav a {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a:hover,
.nav a.active { color: var(--ink); }

.lang {
  display: flex;
  gap: 8px;
  font-size: .72rem;
  letter-spacing: .12em;
}

.lang button {
  background: none;
  border: 0;
  color: var(--dim);
  cursor: pointer;
  font: inherit;
  padding: 2px 4px;
}

.lang button.on { color: var(--gold); }

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 8px 10px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: end start;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(12,11,10,.92) 0%, rgba(12,11,10,.38) 42%, rgba(12,11,10,.15) 70%),
    linear-gradient(to right, rgba(12,11,10,.55), transparent 55%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 0 10vh 6vw;
  max-width: 920px;
}

.hero h1 {
  font-family: "Cormorant Garamond", "Noto Serif TC", serif;
  font-weight: 500;
  font-size: clamp(2.1rem, 4.6vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: .01em;
}

.hero p.sub {
  margin-top: 18px;
  max-width: 720px;
  color: var(--gold-2);
  font-size: clamp(.92rem, 1.35vw, 1.08rem);
  letter-spacing: .02em;
}

.scroll-hint {
  position: absolute;
  right: 32px;
  bottom: 28px;
  z-index: 1;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Sections */
section.page {
  padding: 96px 0 88px;
  border-top: 1px solid var(--line);
}

.kicker {
  color: var(--gold);
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: .72rem;
  margin-bottom: 14px;
}

h2 {
  font-family: "Cormorant Garamond", "Noto Serif TC", serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 28px;
}

/* Bio */
.bio-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.bio-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 12%;
}

.bio-text p {
  color: var(--muted);
  margin-bottom: 1.05em;
  font-size: 1.02rem;
}

.bio-text a { color: var(--gold); border-bottom: 1px solid rgba(201,163,106,.4); }

/* Portraits */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  cursor: zoom-in;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--muted);
}

.card-meta a {
  color: var(--gold);
  border-bottom: 1px solid transparent;
}

.card-meta a:hover { border-color: var(--gold); }

/* Lightbox */
.lb {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8,7,6,.92);
  place-items: center;
  padding: 28px;
}

.lb.on { display: grid; }

.lb img {
  max-width: min(92vw, 820px);
  max-height: 88vh;
  object-fit: contain;
}

.lb button {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 2rem;
  cursor: pointer;
}

/* Videos */

.videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.video {
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
}

.thumb, .video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}

.thumb img, .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.thumb img {
  object-fit: cover;
}

.play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 11, 10, 0.3);
  transition: background 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.thumb:hover .play {
  background: rgba(12, 11, 10, 0.15);
}

.play span {
  width: 58px;
  height: 58px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(12, 11, 10, 0.6);
  font-size: 20px;
  transition: all 0.3s ease;
}

.thumb:hover .play span {
  background: var(--gold);
  color: var(--bg);
  transform: scale(1.05);
}

.video-copy {
  padding: 16px 16px 18px;
}

.video-copy h3 {
  font-family: "Cormorant Garamond", "Noto Serif TC", serif;
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.video-copy p {
  color: var(--dim);
  font-size: .9rem;
}

iframe.yt {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* Contact */
.form {
  max-width: 640px;
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 6px;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

input, textarea, select {
  font: inherit;
  color: var(--ink);
  background: var(--bg-3);
  border: 1px solid var(--line);
  padding: 12px 14px;
  outline: none;
}

input:focus, textarea:focus { border-color: var(--gold); }

textarea { min-height: 160px; resize: vertical; }

.hp { display: none !important; }

button.send {
  justify-self: start;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--gold);
  padding: 12px 22px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .75rem;
  cursor: pointer;
}

button.send:hover { background: var(--gold); color: #1a140c; }

/* Contact - parte da aggiungere/modificare */
.thanks {
  display: none;
  padding: 24px 28px;
  margin-top: 24px;
  background: var(--bg-2);
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--gold-2);
  font-size: 1rem;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.thanks.on { display: block; }

/* Nascondi form dopo submit */
.contact-form.submitted {
  display: none;
}

.socials {
  margin-top: 36px;
  display: flex;
  gap: 18px;
  color: var(--gold);
  font-size: .85rem;
  letter-spacing: .08em;
}

/* Footer */
footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: .82rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 860px) {
  .bio-grid,
  .gallery,
  .videos { grid-template-columns: 1fr 1fr; }
  .bio-grid { grid-template-columns: 1fr; }
  .bio-photo { max-width: 280px; }
  .nav {
    display: none;
    position: absolute;
    top: 62px;
    right: 16px;
    flex-direction: column;
    align-items: flex-end;
    background: rgba(12,11,10,.96);
    border: 1px solid var(--line);
    padding: 16px 18px;
    gap: 14px;
  }
  .nav.open { display: flex; }
  .menu-btn { display: block; }
  .hero-copy { padding: 0 24px 9vh; }
}

@media (max-width: 560px) {
  .gallery, .videos { grid-template-columns: 1fr; }
  .header { padding: 12px 16px; }
  footer { flex-direction: column; }
}

.hero h1 {
  font-family: "Playfair Display", "Cormorant Garamond", "Noto Serif TC", serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Font diversi per nome e titolo professionale */
.hero-copy h1 .name {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  display: block;
}

.hero-copy h1 .title-role {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-style: italic;
  display: block;
  font-size: 0.7em; /* Riduce leggermente la dimensione */
  margin-top: 0.15em;
  opacity: 0.9;
}

/* Per il sottotitolo: "Music Curator" a capo */
.hero-copy .sub .break {
  display: block;
}

/* Se vuoi mantenere il sottotitolo più leggibile */
.hero-copy .sub {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.6;
}
/* Assicura che l'iframe abbia le stesse dimensioni del thumbnail */
.video .yt {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

/* Video wrapper per embedding YouTube */
.video .video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: #111;
}

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

/* Assicura che il thumb abbia le stesse dimensioni */
.video .thumb {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}

.video .thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 11, 10, 0.3);
  transition: background 0.3s ease;
  pointer-events: none;
}

.video .thumb:hover .play {
  background: rgba(12, 11, 10, 0.15);
}

.video .play span {
  width: 58px;
  height: 58px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(12, 11, 10, 0.6);
  font-size: 20px;
  transition: all 0.3s ease;
}

.video .thumb:hover .play span {
  background: var(--gold);
  color: var(--bg);
  transform: scale(1.05);
}

