/* Juno Looks · peluquería y belleza en Chamberí.
   Dirección de arte propia: lino, tinta y arcilla del kit de marca; Bodoni Moda en su
   corte óptico bajo (trazos con cuerpo, legibles en grande) y Outfit para el texto.
   El movimiento lo lleva main.js con GSAP; sin JS o con «reducir movimiento» la página
   se ve entera y quieta. */

@font-face { font-family: "Bodoni Moda"; src: url("/fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("/fonts/bodoni-moda-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/fonts/outfit.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --lino: #f3ede6;
  --lino-2: #ebe2d7;
  --arena: #e4d8cb;
  --tinta: #2e2522;
  --tinta-2: #5f534d;
  --arcilla: #6e4a43;
  --rosa: #c9a093;
  --line: rgba(46, 37, 34, .16);
  --line-light: rgba(243, 237, 230, .2);

  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-text: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 4.4vw, 72px);
  --max: 1440px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--lino); color: var(--tinta);
  font-family: var(--font-text); font-size: 17px; line-height: 1.55; font-weight: 350;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--arcilla); outline-offset: 3px; }
::selection { background: var(--arcilla); color: var(--lino); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--tinta); color: var(--lino); text-decoration: none; }
.skip:focus { top: 12px; }

/* ── Tipografía ─────────────────────────────────────────────── */
.display, .hero__title, .manifesto__text, .menu__row h3, .member h3 {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em;
  /* corte óptico bajo: los finos de la Bodoni no desaparecen sobre el lino */
  font-variation-settings: "opsz" 20; font-optical-sizing: none;
}
.display { font-size: clamp(2.5rem, 5.6vw, 5.4rem); line-height: 1; text-wrap: balance; }
.display em, .hero__title em, .menu__row em { font-style: italic; font-weight: 450; color: var(--arcilla); letter-spacing: -.025em; }
.display--light { color: var(--lino); }
.display--light em { color: var(--rosa); }

.kicker {
  font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--arcilla);
  display: flex; align-items: center; gap: 14px;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.kicker--light { color: var(--rosa); }

/* ── Botones y enlaces ──────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--tinta);
  font: 500 .95rem/1 var(--font-text); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), color 320ms var(--ease-out);
}
.btn > span { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; background: var(--arcilla);
  transform: translateY(101%); transition: transform 420ms var(--ease-out);
}
.btn--ink { background: var(--tinta); color: var(--lino); }
.btn--lg { min-height: 58px; padding: 0 34px; font-size: 1.02rem; }
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { transform: translateY(0); }
  .btn:hover { border-color: var(--arcilla); }
}

.link {
  position: relative; display: inline-block; padding: 6px 0; font-weight: 500; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 380ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .link:hover { background-size: 0 1px; background-position: 100% 100%; }
}

/* ── Cabecera ───────────────────────────────────────────────── */
.head {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  transition: transform 420ms var(--ease-out), background-color 300ms ease, box-shadow 300ms ease;
}
.head.is-solid { background: rgba(243, 237, 230, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.head.is-hidden { transform: translateY(-100%); }
.head__logo img { width: 150px; height: auto; }
.head__nav { display: flex; gap: clamp(18px, 2.4vw, 38px); font-size: .93rem; font-weight: 450; }
.head__nav a { position: relative; padding: 8px 0; text-decoration: none; }
.head__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 360ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .head__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
}
.head__cta { justify-self: end; min-height: 42px; padding: 0 22px; font-size: .9rem; }

/* ── 01 · Portada ───────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh; max-width: var(--max); margin: 0 auto;
  padding: 108px var(--gutter) 56px;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 5vw, 88px); align-items: center;
}
.hero__copy { position: relative; z-index: 2; }
.hero__title {
  margin: 26px 0 30px; font-size: clamp(3.4rem, 8.6vw, 9.2rem); line-height: .92; letter-spacing: -.035em;
}
.hero__title .line { display: block; overflow: hidden; padding: .06em .04em .26em 0; margin: -.06em 0 -.26em; }
.hero__title .line > span { display: block; will-change: transform; }
.hero__title .line:nth-child(2) { padding-left: clamp(0px, 5vw, 90px); position: relative; z-index: 1; }
.hero__lead { max-width: 30em; font-size: clamp(1.05rem, 1.25vw, 1.22rem); color: var(--tinta-2); }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }

.hero__art { position: relative; justify-self: end; width: min(100%, 520px); }
.arch {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5.3; border-radius: 999px 999px 0 0; background: var(--arena);
}
.arch img { width: 100%; height: 116%; object-fit: cover; object-position: 50% 30%; }
.hero__seal { position: absolute; left: -66px; bottom: 12%; width: 132px; height: 132px; }
.hero__note {
  position: absolute; right: 0; top: 100%; padding-top: 14px;
  font-size: .82rem; line-height: 1.6; text-align: right; color: var(--tinta-2);
}
.hero__note span { color: var(--tinta); font-weight: 500; }

/* ── Cinta ──────────────────────────────────────────────────── */
.tape { overflow: hidden; border-block: 1px solid var(--line); padding: 20px 0; margin-top: 28px; }
.tape__track { display: flex; align-items: center; gap: 44px; width: max-content; white-space: nowrap; will-change: transform; }
.tape__track span { font-family: var(--font-display); font-variation-settings: "opsz" 20; font-weight: 500; font-size: clamp(1.7rem, 3.2vw, 2.9rem); letter-spacing: -.02em; line-height: 1; }
.tape__track em { font-weight: 450; color: var(--arcilla); }
.tape__track i { font-style: normal; font-size: 1rem; color: var(--rosa); }

/* ── 02 · Manifiesto ────────────────────────────────────────── */
.manifesto { max-width: var(--max); margin: 0 auto; padding: clamp(96px, 13vw, 190px) var(--gutter); }
.manifesto__text {
  margin-top: 34px; max-width: 21em; font-size: clamp(1.75rem, 3.7vw, 3.5rem); line-height: 1.16; letter-spacing: -.022em; text-wrap: pretty;
}
.manifesto__text .w { display: inline-block; }

/* ── Cabeceras de sección ───────────────────────────────────── */
.section-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head__note { max-width: 34em; color: var(--tinta-2); }

/* ── 03 · Carta ─────────────────────────────────────────────── */
.menu { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(96px, 12vw, 170px); }
.menu__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.menu__item { position: relative; padding: clamp(22px, 2.6vw, 34px) 0; border-top: 1px solid var(--line); transition: padding 420ms var(--ease-out); }
.menu__item:last-child { border-bottom: 1px solid var(--line); }
.menu__row { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.menu__row h3 { font-size: clamp(1.9rem, 3.9vw, 3.6rem); line-height: 1.02; transition: transform 420ms var(--ease-out), color 300ms ease; }
.menu__price { flex: none; font-family: var(--font-display); font-variation-settings: "opsz" 20; font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.9rem); white-space: nowrap; }
.menu__price small { font-family: var(--font-text); font-size: .72rem; font-weight: 450; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-2); margin-right: 6px; }
.menu__item p { margin-top: 12px; max-width: 46em; color: var(--tinta-2); transition: transform 420ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .menu__list:hover .menu__item:not(:hover) h3 { color: rgba(46, 37, 34, .34); }
  .menu__item:hover h3, .menu__item:hover p { transform: translateX(18px); }
}
.menu__stage { position: sticky; top: 108px; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; background: var(--arena); }
.menu__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 520ms ease, transform 900ms var(--ease-out); }
.menu__stage img.is-leaving { opacity: 0; transform: scale(1.05); }
.menu__cta { margin-top: 44px; }

/* ── 04 · Looks ─────────────────────────────────────────────── */
.looks { background: var(--arena); overflow: hidden; }
.looks__pin { padding: clamp(72px, 9vw, 120px) 0; display: grid; gap: clamp(36px, 4.4vw, 64px); }
.looks__head { padding: 0 var(--gutter); display: grid; gap: 22px; }
.looks__rail {
  display: flex; align-items: flex-end; gap: clamp(16px, 2vw, 30px); padding: 0 var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.looks__rail::-webkit-scrollbar { display: none; }
.look { flex: none; scroll-snap-align: start; }
.look img { height: clamp(300px, 50svh, 560px); width: auto; aspect-ratio: 4 / 4.7; object-fit: cover; }
.look--tall img { height: clamp(340px, 60svh, 660px); aspect-ratio: 4 / 5.5; }
.look:nth-child(odd) img { border-radius: 999px 999px 0 0; }
.look figcaption { margin-top: 14px; font-size: .86rem; color: var(--tinta-2); display: flex; gap: 12px; }
.look figcaption span { font-family: var(--font-display); font-variation-settings: "opsz" 20; font-style: italic; color: var(--arcilla); }
/* con movimiento, la galería la arrastra el scroll (main.js la fija) */
.motion .looks.is-pinned .looks__rail { overflow: visible; scroll-snap-type: none; width: max-content; will-change: transform; }
.motion .looks.is-pinned .looks__pin { min-height: 100svh; align-content: center; }

/* ── 05 · Novias ────────────────────────────────────────────── */
.bride {
  max-width: var(--max); margin: 0 auto; padding: clamp(96px, 13vw, 190px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .46fr); gap: clamp(28px, 4.4vw, 76px); align-items: center;
}
.bride__media { overflow: hidden; aspect-ratio: 4 / 5.4; }
.bride__media img { width: 100%; height: 118%; object-fit: cover; }
.bride__copy { display: grid; gap: 24px; justify-items: start; }
.bride__copy > p:not(.kicker) { max-width: 30em; color: var(--tinta-2); }
.bride__list { width: 100%; border-top: 1px solid var(--line); }
.bride__list li { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.bride__list b { font-family: var(--font-display); font-variation-settings: "opsz" 20; font-weight: 500; font-size: 1.15rem; white-space: nowrap; }
.bride__aside { align-self: end; overflow: hidden; aspect-ratio: 3 / 4.4; border-radius: 999px 999px 0 0; }
.bride__aside img { width: 100%; height: 100%; object-fit: cover; }

/* ── 06 · Equipo ────────────────────────────────────────────── */
.team { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(96px, 13vw, 190px); }
.team__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 44px); }
.member:nth-child(2) { margin-top: clamp(0px, 5vw, 80px); }
.member__photo { overflow: hidden; aspect-ratio: 4 / 4.8; margin-bottom: 22px; background: var(--arena); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .member:hover .member__photo img { transform: scale(1.04); } }
.member h3 { font-size: clamp(1.6rem, 2.3vw, 2.2rem); line-height: 1.05; }
.member__role { margin: 8px 0 10px; font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--arcilla); }
.member p:last-child { color: var(--tinta-2); max-width: 26em; }

/* ── 07 · Reserva ───────────────────────────────────────────── */
.booking {
  background: var(--tinta); color: var(--lino);
  padding: clamp(84px, 10vw, 150px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 88px); align-items: start;
}
.booking__copy { position: sticky; top: 120px; display: grid; gap: 24px; }
.booking__copy > p:not(.kicker) { max-width: 26em; color: rgba(243, 237, 230, .74); }
.booking__notes { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line-light); font-size: .95rem; color: rgba(243, 237, 230, .74); }
.booking__notes li { display: flex; gap: 12px; }
.booking__notes li::before { content: "✦"; color: var(--rosa); font-size: .8rem; line-height: 1.9; }
.booking__mark { margin-top: 18px; width: 84px; height: auto; opacity: .5; }
.booking__panel { background: var(--lino); color: var(--tinta); border-radius: 28px; padding: clamp(18px, 2.4vw, 36px); min-height: 520px; }
.booking__fallback { padding: 28px; color: var(--tinta-2); }

tz-booking {
  display: block;
  --tz-bg: #f3ede6;
  --tz-surface: #e9dfd3;
  --tz-ink: #2e2522;
  --tz-ink-2: #5f534d;
  --tz-accent: #6e4a43;
  --tz-accent-ink: #f3ede6;
  --tz-line: rgba(46, 37, 34, .16);
  --tz-radius: 14px;
  --tz-font: var(--font-text);
  --tz-font-display: var(--font-display);
}

/* ── 08 · Visita ────────────────────────────────────────────── */
.visit {
  max-width: var(--max); margin: 0 auto; padding: clamp(96px, 13vw, 190px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 88px); align-items: center;
}
.visit__media { overflow: hidden; aspect-ratio: 3 / 2.1; }
.visit__media img { width: 100%; height: 114%; object-fit: cover; }
.visit__copy { display: grid; gap: 26px; justify-items: start; }
.visit__hours { width: 100%; border-top: 1px solid var(--line); }
.visit__hours div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.visit__hours dd { font-family: var(--font-display); font-variation-settings: "opsz" 20; font-weight: 500; font-size: 1.15rem; }
.visit__meta { color: var(--tinta-2); }

/* ── Pie ────────────────────────────────────────────────────── */
.foot { background: var(--tinta); color: rgba(243, 237, 230, .7); padding: clamp(56px, 7vw, 104px) var(--gutter) 34px; overflow: hidden; }
.foot__word { width: 100%; height: auto; opacity: .94; }
.foot__row { margin-top: clamp(32px, 4vw, 60px); padding-top: 22px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; font-size: .86rem; }

/* ── Estados iniciales del movimiento (solo con .motion) ────── */
.motion .hero__title .line > span { transform: translateY(112%); }
.motion [data-in] { opacity: 0; transform: translateY(18px); }
.motion [data-arch] { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); }
.motion [data-seal] { opacity: 0; transform: scale(.9); }
.motion [data-reveal] { clip-path: inset(0 0 100% 0); }
.motion [data-reveal] img { transform: scale(1.14); }
.motion [data-title] { opacity: 0; transform: translateY(34px); }

/* ── Página 404 ─────────────────────────────────────────────── */
.lost { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 26px; padding: 120px var(--gutter); text-align: center; }
.lost p { max-width: 28em; color: var(--tinta-2); }
.credits { max-width: 820px; margin: 0 auto; padding: 150px var(--gutter) 110px; display: grid; gap: 28px; }
.credits ul { display: grid; gap: 10px; color: var(--tinta-2); }
.credits li { padding-bottom: 10px; border-bottom: 1px solid var(--line); }

/* ── Tableta y móvil ────────────────────────────────────────── */
@media (max-width: 960px) {
  .head { grid-template-columns: 1fr auto; height: 66px; }
  .head__nav { display: none; }
  .head__logo img { width: 128px; }
  .hero { grid-template-columns: 1fr; padding-top: 96px; gap: 44px; min-height: 0; }
  .hero__title .line:nth-child(2) { padding-left: 0; }
  .hero__art { justify-self: center; width: min(86%, 420px); margin-bottom: 64px; }
  .hero__seal { left: -34px; width: 104px; height: 104px; }
  .menu__grid { grid-template-columns: 1fr; }
  .menu__stage { display: none; }
  .bride { grid-template-columns: 1fr; }
  .bride__aside { display: none; }
  .team__grid { grid-template-columns: 1fr; gap: 44px; }
  .member:nth-child(2) { margin-top: 0; }
  .member__photo { aspect-ratio: 4 / 3.4; }
  .booking { grid-template-columns: 1fr; }
  .booking__copy { position: static; }
  .booking__mark { display: none; }
  .booking__panel { border-radius: 20px; margin-inline: calc(var(--gutter) * -.4); }
  .visit { grid-template-columns: 1fr; }
  .look img, .look--tall img { height: auto; width: 72vw; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .menu__row { flex-direction: column; gap: 6px; }
  .hero__actions { gap: 20px; }
  .btn--lg { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
