/* ============================================================
   Lucio Caro — Sax Player
   Visual system per LucioCaro Personal Id 2026 (brand manual)
   Dark-dominant · Helvetica Neue · B&W imagery · accent used sparingly
   ============================================================ */

:root {
  --bg:        #1d1a1b;   /* near-black warm (manual background)   */
  --bg-deep:   #000000;   /* pure black (Primary B)                */
  --surface:   #262223;   /* raised panels                        */
  --white:     #f4f2f0;   /* soft white (Primary A)                */
  --muted:     #a39e9c;   /* warm grey body                       */
  --faint:     #6f6a69;   /* captions, numbers                    */
  --line:      rgba(255,255,255,0.13);
  --accent:    #e39146;   /* Burnt Saffron — CTA / hover only      */
  --accent-2:  #ff7133;   /* Vivid Tangerine                       */
  --font: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  --maxw: 1180px;
  --pad: 2.2rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--white);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; }

/* B&W image treatment — manual 06.2 (desaturated, low contrast, raw & clean) */
.bw {
  filter: grayscale(1) contrast(1.02) brightness(0.98);
  transition: filter 0.5s ease;
}
.bw:hover { filter: grayscale(1) contrast(1.04) brightness(1.05); }

/* ---- Brand lockup (symbol + wordmark) ---- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--white);
}
.brand__mark {
  width: 22px; height: 22px;
  fill: var(--white);
  flex: none;
}
.brand__lockup { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.06em;   /* matches logo tracking: -60 (Adobe) / -6% (Affinity) */
}
.brand__sub {
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.28rem;
  padding-left: 0.04em;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  padding: 0.85rem 1.9rem;
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { background: var(--white); color: var(--bg); }
/* Primary CTA — Swiss monochrome: solid white on dark, inverts on hover.
   Color is deliberately absent (manual uses accents only on the swatch page). */
.btn--accent {
  background: var(--white);
  border-color: var(--white);
  color: var(--bg);
}
.btn--accent:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem var(--pad);
  background: transparent;
  transition: background 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(18,16,17,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
.nav__links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  margin-right: 1.6rem;
}
.nav__links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--white); }
.nav__right { display: flex; align-items: center; gap: 1rem; }
.lang-toggle {
  border: 1px solid var(--line);
  background: none;
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.42rem 0.66rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lang-toggle:hover { border-color: var(--white); }
.nav__cta { padding: 0.6rem 1.25rem; font-size: 0.8rem; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0b0a0a;   /* deep black the photo edges melt into */
}
.hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  /* Anchor framing on the face (x≈37%) so it stays visible at every
     aspect ratio — narrow phones crop the sides, not the face. */
  background-position: 37% 26%;
  filter: grayscale(1) contrast(1.04) brightness(0.92);
}
/* Seamless background "expand": the photo's already-dark edges are faded
   into the same deep black on all sides, so the background reads as if it
   extends infinitely — no stretching, no distortion, no visible seam. */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0b0a0a 0%, rgba(11,10,10,0) 22%, rgba(11,10,10,0) 74%, #0b0a0a 100%),
    linear-gradient(180deg, rgba(11,10,10,0.45) 0%, rgba(11,10,10,0) 30%, rgba(11,10,10,0.30) 60%, rgba(11,10,10,0.88) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(3rem, 8vh, 6rem);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.76rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.eyebrow__mark { width: 15px; height: 15px; fill: var(--white); flex: none; }
.hero__title {
  font-size: clamp(3.4rem, 12vw, 8.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.9;
}
.hero__tagline {
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  font-weight: 300;
  color: var(--white);
  margin-top: 1.3rem;
  max-width: 30ch;
}
.hero__stats {
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 1.4rem;
  text-transform: uppercase;
}
.hero__cta { margin-top: 2.2rem; }

/* ---- Section scaffolding ---- */
section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4.5rem, 11vh, 8rem) var(--pad);
}
.section__head { margin-bottom: 3.4rem; max-width: 60ch; }
.section__num {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--faint);
  margin-bottom: 1.1rem;
}
.section__head h2,
.about__body h2 {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.section__lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 1.1rem;
  max-width: 46ch;
}

/* ---- Shows ---- */
.shows { border-top: 1px solid var(--line); }
.show {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: 3.6rem 0;
  border-top: 1px solid var(--line);
}
.show:first-of-type { border-top: none; padding-top: 0; }
.show--reverse .show__media { order: 2; }
.show--reverse .show__body { order: 1; }
.show__media { display: flex; justify-content: center; }
/* Reels are vertical 9:16 — shown portrait so nothing (no face) is cropped */
.show__video {
  width: 100%;
  max-width: 312px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--bg-deep);
  border: 1px solid var(--line);
}
.show__num {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--faint);
  margin-bottom: 0.9rem;
}
.show__body h3 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.02;
  margin-bottom: 1rem;
}
.show__body p { color: var(--muted); max-width: 42ch; }
.show__ref {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white) !important;
}

/* ---- About ---- */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  border-top: 1px solid var(--line);
}
.about__media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 18%;   /* keep the face in frame */
  border: 1px solid var(--line);
}
.about__body h2 { margin-bottom: 1.5rem; }
.about__body > p { color: var(--muted); max-width: 52ch; }
.about__more p { color: var(--muted); max-width: 52ch; margin-top: 1.1rem; }
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid var(--white);
  padding-bottom: 0.3rem;
  transition: opacity 0.2s ease;
}
.link-btn:hover { opacity: 0.65; }
.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem 2rem;
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.stats li {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.stats strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 0.2rem;
}

/* ---- Gallery (slideshow — each item shown whole, nothing cropped) ---- */
.gallery { border-top: 1px solid var(--line); }
.slider { position: relative; }
.slider__viewport { overflow: hidden; }
.slider__track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.slide {
  flex: 0 0 100%;
  width: 100%;
  height: clamp(380px, 66vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-deep);
  padding: 0;
  margin: 0;
  border: none;
}
.slide--photo { cursor: zoom-in; }
.slide img,
.slide__video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;   /* whole item visible — no face cropping */
}
.slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8,7,7,0.5);
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}
.slider__nav:hover { background: rgba(8,7,7,0.85); }
.slider__nav--prev { left: 0.8rem; }
.slider__nav--next { right: 0.8rem; }
.slider__dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
}
.slider__dots button {
  width: 8px; height: 8px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: var(--faint);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.slider__dots button.is-active { background: var(--white); transform: scale(1.3); }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  background: rgba(8,7,7,0.94);
  backdrop-filter: blur(4px);
}
.lightbox.is-open { display: flex; }
.lightbox__stage {
  max-width: 100%;
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__stage img,
.lightbox__stage video {
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;   /* full item, never cropped */
  border: 1px solid var(--line);
}
.lightbox__close {
  position: absolute;
  top: 1.4rem; right: 1.8rem;
  width: 44px; height: 44px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}
.lightbox__close:hover { opacity: 1; }

/* ---- Booking ---- */
.booking {
  max-width: none;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}
.booking > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form__row { display: flex; flex-direction: column; gap: 0.55rem; }
.form__row--full { grid-column: 1 / -1; }
.form__row label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.form__row input,
.form__row select,
.form__row textarea {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0.1rem;
  transition: border-color 0.2s ease;
}
.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus {
  outline: none;
  border-bottom-color: var(--white);
}
.form__row textarea { resize: vertical; }
.form__row select option { color: #000; }
.form .btn { grid-column: 1 / -1; justify-self: start; margin-top: 0.8rem; }

/* ---- Footer ---- */
.footer {
  max-width: none;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: 3.5rem var(--pad);
}
.footer > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.2rem;
  margin: 2rem auto;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.footer__contact a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.footer__contact a:hover { color: var(--white); }
.footer__copy {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--faint);
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .show, .about { grid-template-columns: 1fr; gap: 1.8rem; }
  .show--reverse .show__media,
  .show--reverse .show__body { order: initial; }
  .show__video { max-width: 280px; }
  .about__media { order: 2; }
  .form { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  :root { --pad: 1.4rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero__tagline { max-width: 22ch; }
  .slide { height: clamp(320px, 56vh, 460px); }
  .slider__nav { width: 40px; height: 40px; font-size: 1.5rem; }
}
