/*
 * ARCHETYPE: Single-scroll-cinematic
 * LAYOUT DNA: Full-bleed hero with text overlay, Text-only sections with massive type, Horizontal scroll for clothing, Snap scrolling sections
 * SIGNATURE DETAIL: A single red (#E63946) accent line that runs vertically through the entire page, appearing at different positions per section — like a thread connecting all elements
 * WHY: The Studio is exclusive, private, fashion-forward. The site should feel like a lookbook — all visual impact, minimal words, maximum style. The snap-scroll creates a cinematic reveal.
 */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Outfit:wght@200;300;400;500;600;700&display=swap');

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

:root {
  --color-primary: #0A0A0A;
  --color-white: #FFFFFF;
  --color-accent: #E63946;
  --color-text: #FFFFFF;
  --color-text-muted: #666;
  --color-bg: #0A0A0A;
  --color-surface: #141414;
  --color-border: rgba(255,255,255,0.06);

  --font-display: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;

  --text-massive: clamp(4rem, 2rem + 8vw, 12rem);
  --text-hero: clamp(3rem, 1rem + 6vw, 7rem);
  --text-section: clamp(2rem, 1rem + 3vw, 4rem);
  --text-lg: clamp(1.05rem, 1rem + 0.3vw, 1.3rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  --text-sm: clamp(0.75rem, 0.7rem + 0.15vw, 0.85rem);

  --max-width: 1200px;
  --transition: 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Red thread — vertical line accent */
.red-thread {
  position: fixed;
  top: 0;
  left: 2rem;
  width: 2px;
  height: 100vh;
  background: var(--color-accent);
  z-index: 50;
  opacity: 0.4;
}

/* ============================================
   NAV — Minimal
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(16px);
}

.nav__logo { height: 36px; width: auto; }

.nav__links {
  display: flex; gap: 2rem; list-style: none;
  font-size: var(--text-sm); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.15em;
}

.nav__links a:hover { color: var(--color-accent); }

.nav__book {
  background: var(--color-accent);
  color: #fff;
  padding: 0.55rem 1.5rem;
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: transform var(--transition);
}

.nav__book:hover { transform: translateY(-1px); }

.nav__toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* ============================================
   SCENE — Full-viewport section
   ============================================ */
.scene {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  scroll-snap-align: start;
  overflow: hidden;
}

/* ============================================
   SCENE 1 — Hero
   ============================================ */
.scene--hero {
  justify-content: flex-end;
  padding: 0 4rem 6rem;
}

.scene--hero .bg {
  position: absolute;
  inset: 0;
}

.scene--hero .bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.25) contrast(1.1);
}

.scene--hero .bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-bg) 0%, transparent 40%);
}

.scene__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
}

.scene__tag {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.scene__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.scene__title span { color: var(--color-accent); }

.scene__sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 450px;
  margin-top: 1.5rem;
  font-weight: 300;
  line-height: 1.8;
}

/* ============================================
   SCENE 2 — The Barber (Nelly)
   ============================================ */
.scene--barber {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.scene--barber .scene__image {
  height: 100vh;
  overflow: hidden;
}

.scene--barber .scene__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.scene--barber .scene__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
}

.scene__name {
  font-family: var(--font-display);
  font-size: var(--text-massive);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--color-surface);
  -webkit-text-stroke: 1px var(--color-text-muted);
}

.scene__role {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  margin-top: 1rem;
  font-weight: 600;
}

.scene__bio {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 380px;
  margin-top: 1.5rem;
  line-height: 1.8;
  font-weight: 300;
}

/* ============================================
   SCENE 3 — Services
   ============================================ */
.scene--services {
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem;
}

.services-row {
  display: flex;
  gap: 0;
  margin-top: 3rem;
  width: 100%;
  max-width: var(--max-width);
}

.service-block {
  flex: 1;
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--color-border);
  transition: background var(--transition);
}

.service-block:last-child { border-right: none; }
.service-block:hover { background: var(--color-surface); }

.service-block__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.service-block__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.service-block__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  font-weight: 300;
}

.service-block__time {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
}

/* ============================================
   SCENE 4 — Rating
   ============================================ */
.scene--rating {
  justify-content: center;
  text-align: center;
  flex-direction: column;
  background: var(--color-surface);
}

.rating__number {
  font-family: var(--font-display);
  font-size: clamp(6rem, 2rem + 12vw, 16rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 0.85;
}

.rating__stars {
  font-size: 2rem;
  color: var(--color-accent);
  letter-spacing: 0.15em;
  margin: 1rem 0;
}

.rating__label {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
}

.rating__quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 1vw, 2rem);
  font-weight: 400;
  max-width: 500px;
  margin: 2rem auto 0;
  font-style: italic;
  color: var(--color-text-muted);
}

/* ============================================
   SCENE 5 — CTA
   ============================================ */
.scene--cta {
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.scene--cta .scene__title {
  margin-bottom: 1.5rem;
}

.scene--cta .scene__sub {
  margin: 0 auto 2.5rem;
  text-align: center;
}

.btn-red {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 1rem 3rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230,57,70,0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 3rem 2.5rem 1.5rem;
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.footer__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 260px;
  font-weight: 300;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.footer li { font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 300; }
.footer li a:hover { color: var(--color-accent); }

.footer__bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .scene--barber { grid-template-columns: 1fr; }
  .scene--barber .scene__image { height: 50vh; }
  .scene--barber .scene__text { padding: 3rem 2rem; }
  .services-row { flex-direction: column; }
  .service-block { border-right: none; border-bottom: 1px solid var(--color-border); }
  .service-block:last-child { border-bottom: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .red-thread { display: none; }
  .scene--hero { padding: 0 2rem 4rem; }
  .scene--services { padding: 4rem 2rem; }
}

@media (max-width: 600px) {
  html { scroll-snap-type: none; }
  .scene { min-height: auto; }
  .scene--hero { min-height: 100vh; }
  .scene--rating { min-height: auto; padding: 6rem 2rem; }
  .scene--cta { min-height: auto; padding: 6rem 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
}
