/* ============================================================
   DISTRICT STUDIO - style.css
   Stack: HTML + CSS + JS vanilla + Lenis
   ============================================================ */

/* -- Fonts (self-host; archivos a colocar en assets/fonts/) -- */
@font-face {
  font-family: 'Aileron';
  src: url('assets/fonts/Aileron-Heavy.woff2') format('woff2'),
       url('assets/fonts/Aileron-Heavy.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Garet';
  src: url('assets/fonts/Garet-Book.woff2') format('woff2'),
       url('assets/fonts/Garet-Book.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* -- Tokens ------------------------------------------------- */
:root {
  --black: #1A1A1A;
  --white: #FFFFFF;
  --gray: #1A1A1A;
  --muted: #888888;

  --bg: var(--white);
  --fg: var(--black);

  /* Grid */
  --grid-max: 1400px;
  --col: 260px;
  --gap: var(--stack-lg);          /* gap horizontal entre columnas */
  --pad-x: 32px;
  --pad-y: 120px;       /* padding-y de cada .section */

  /* Stack vertical (espacio entre bloques apilados) */
  --stack-xs: 8px;      /* entre items de lista, micro */
  --stack-sm: 16px;     /* dentro de cards, entre subelementos */
  --stack-md: 24px;     /* label→título, título→body */
  --stack-lg: 48px;     /* entre grupos relacionados */
  --stack-xl: 80px;     /* entre bloques mayores de una sección */
  --stack-2xl: 120px;   /* entre secciones completas */

  /* Type scale - displays (headings) */
  --text-h1: clamp(48px, 9vw, 112px);
  --text-h2: clamp(32px, 5.5vw, 72px);
  --text-h3: clamp(24px, 4.1vw, 54px);
  --text-h4: clamp(18px, 2vw, 22px);

  /* Type scale - body */
  --text-lede: clamp(18px, 1.6vw, 22px);
  --text-body: 16px;
  --text-small: 14px;
  --text-micro: 12px;

  /* Line heights */
  --lh-tight: 0.95;
  --lh-snug: 1.35;
  --lh-base: 1.55;
  --lh-relaxed: 1.5;

  --font-display: 'Aileron', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Garet', 'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 720ms;
}

/* System preference fallback: if JS doesn't set .light/.dark, follow OS */
@media (prefers-color-scheme: dark) {
  :root:not(.light) {
    --bg: var(--black);
    --fg: var(--white);
  }
}

/* Explicit overrides (from JS after user click, or init if saved in localStorage) */
:root.dark {
  --bg: var(--black);
  --fg: var(--white);
}
:root.light {
  --bg: var(--white);
  --fg: var(--black);
}

/* -- Reset -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

/* -- Force-dark helper ------------------------------------- */
.force-dark {
  --bg: var(--black);
  --fg: var(--white);
  background: var(--bg);
  color: var(--fg);
}
.force-light {
  --bg: var(--white);
  --fg: var(--black);
  background: var(--bg);
  color: var(--fg);
}

/* -- Typography -------------------------------------------- */
.label {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--stack-md);
}
.label--invert { color: rgba(255, 255, 255, 0.55); }

.body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 300;
  line-height: var(--lh-base);
  margin: 0 0 var(--stack-lg);
  max-width: 52ch;
}
/* Si el body es el último elemento (no le sigue contenido), quitar margen */
.body:last-child { margin-bottom: 0; }

.lede {
  font-family: var(--font-body);
  font-size: var(--text-lede);
  font-weight: 300;
  line-height: var(--lh-snug);
  max-width: 42ch;
  margin: 0 0 var(--stack-lg);
}
.lede:last-child { margin-bottom: 0; }

.section__intro {
  font-family: var(--font-body);
  font-size: var(--text-lede);
  font-weight: 300;
  line-height: var(--lh-snug);
  max-width: 52ch;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.muted { color: var(--muted); }

/* -- Nav --------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad-x);
  mix-blend-mode: difference;
  color: #fff;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav__iso {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 13px;
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  gap: 28px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.nav__links a:hover { opacity: 0.6; }
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--stack-sm);
}
.nav__menu {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
}
.nav__menu span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  position: absolute;
  left: 0;
}
.nav__menu span:nth-child(1) { top: 4px; }
.nav__menu span:nth-child(2) { bottom: 4px; }

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__menu { display: block; }
}

/* -- Mobile menu overlay ------------------------------------ */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px var(--pad-x);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--ease);
}
body.menu-open .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}
.menu-overlay__close {
  align-self: flex-end;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
}
.menu-overlay__links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: var(--font-display);
  font-size: clamp(40px, 12vw, 84px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.menu-overlay__meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* -- Buttons ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: opacity 240ms var(--ease), transform 240ms var(--ease), background 240ms var(--ease);
}
.btn--ghost { border: 1px solid currentColor; }
.btn--ghost:hover { background: currentColor; color: var(--black); }
.force-dark .btn--ghost:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover { opacity: 0.85; transform: translateY(-1px); }
.btn--text {
  padding: 14px 4px;
  opacity: 0.7;
}
.btn--text:hover { opacity: 1; }

/* -- Hero --------------------------------------------------- */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--pad-x) 72px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  z-index: 0;
  will-change: transform;
}
.hero__grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero__iso {
  position: absolute;
  top: 10vh;
  right: -6vw;
  width: min(56vw, 520px);
  height: auto;
  opacity: 0.18;
  mix-blend-mode: screen;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin-top: auto;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 13.5vw, 220px);
  line-height: 0.88;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
  text-transform: uppercase;
}
.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(18px, 2.2vw, 26px);
  max-width: 28ch;
  line-height: 1.3;
  margin: 0 0 32px;
  opacity: 0.9;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__footer {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  z-index: 2;
}

/* -- Page hero (con bg image) -------------------------------- */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--pad-y) + var(--stack-md)) var(--pad-x) var(--stack-xl);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.75) 65%, rgba(0,0,0,0.95) 100%);
  pointer-events: none;
}
/* Fade hacia el color de la siguiente sección (light o dark).
   Padding: stack-md aire + stack-xl que ocupa el gradiente. */
.page-hero:has(+ .force-light),
.page-hero:has(+ .force-dark) {
  padding-bottom: calc(var(--stack-md) + var(--stack-xl));
}
.page-hero:has(+ .force-light)::after,
.page-hero:has(+ .force-dark)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--stack-xl);
  pointer-events: none;
}
.page-hero:has(+ .force-light)::after {
  background: linear-gradient(180deg, transparent 0%, var(--white) 100%);
}
.page-hero:has(+ .force-dark)::after {
  background: linear-gradient(180deg, transparent 0%, var(--black) 100%);
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  width: 100%;
}
.page-hero .label {
  margin-bottom: 32px;
}
.page-hero .section__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-h2);
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
  margin: 0;
  text-transform: uppercase;
}
.page-hero .lede {
  margin: var(--stack-md) 0 0;
  max-width: 64ch;
  opacity: 0.92;
}
.page-hero__sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.7;
  margin: 20px 0 0;
}

/* -- Sections ----------------------------------------------- */
.section {
  padding: var(--pad-y) var(--pad-x);
  position: relative;
}
.section__head {
  margin-bottom: 32px;
  max-width: 980px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-h2);
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
  margin: 0;
  text-transform: uppercase;
}
.section__h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-h3);
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0 0 var(--stack-md);
}
.section__h3--right { text-align: right; }
/* Cada subsección empieza con un h3. Si no es el primer elemento de la sección,
   se separa con --stack-2xl (120px) del bloque anterior. */
.section > * + .section__h3,
.section > * + .sub {
  margin-top: var(--stack-2xl);
}
.section__sub {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(16px, 2vw, 22px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: var(--stack-sm) 0 0;
  opacity: 0.5;
}
.section__body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
  margin-bottom: var(--stack-xl);
  max-width: var(--grid-max);
  align-items: start;
}
.section__body > p { max-width: 52ch; }

/* -- About photo -------------------------------------------- */
.about__photo {
  margin: 0;
  max-width: 55%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f2f2f2;
}
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(1.02);
}

/* -- Stats -------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  padding-top: 32px;
  border-top: 1px solid currentColor;
}
.stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stats__n {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stats__l {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* -- Spaces ------------------------------------------------- */
.spaces {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
.space {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 320ms var(--ease), transform 320ms var(--ease);
  text-decoration: none;
  color: inherit;
}
.space:hover {
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-2px);
}
.space__media {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 360px;
  overflow: hidden;
  background: #000;
}
.space__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  transition: transform 720ms var(--ease);
}
.space:hover .space__media img { transform: scale(1.04); }
.space__body {
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.space__n {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.55;
}
.space__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
  letter-spacing: -0.005em;
  margin: 0;
  text-transform: uppercase;
}
.space__desc {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.85;
  margin: 0;
  max-width: 38ch;
}
.space__tag {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
@media (max-width: 760px) {
  .spaces { grid-template-columns: 1fr; }
}

/* -- Rates -------------------------------------------------- */
.rates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  border-top: 1px solid currentColor;
  padding-top: 48px;
}
.rate { display: flex; flex-direction: column; gap: var(--stack-md); }
.rate__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
}
.rate ul { display: flex; flex-direction: column; gap: 14px; }
.rate li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--stack-sm);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-family: var(--font-body);
}
.rate li span:first-child { opacity: 0.75; font-size: 14px; }
.rate li span:last-child {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.rate__foot {
  font-size: var(--text-micro);
  font-weight: 300;
  line-height: var(--lh-relaxed);
  opacity: 0.65;
  margin: 0;
}
.rates__foot {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 56px;
}
.rates--single { grid-template-columns: minmax(0, 520px); }
.rates--right { justify-content: end; }
@media (max-width: 900px) {
  .rates { grid-template-columns: 1fr; gap: 56px; }
}

/* dark-mode rate rows */
.force-dark .rate li { border-bottom-color: rgba(255, 255, 255, 0.12); }

/* -- Plans / memberships ----------------------------------- */
.sub {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
  margin: var(--stack-lg) 0 var(--stack-md);
}
.sub:first-of-type { margin-top: 0; }

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--stack-sm);
}
.plans--cw { grid-template-columns: repeat(3, 1fr); }
.plan {
  padding: 28px;
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: var(--stack-sm);
  min-height: 240px;
  transition: background 320ms var(--ease), border-color 320ms var(--ease), transform 320ms var(--ease);
}
.plan:hover {
  background: color-mix(in srgb, currentColor 5%, transparent);
  border-color: color-mix(in srgb, currentColor 45%, transparent);
  transform: translateY(-2px);
}
.plan--hl {
  background: color-mix(in srgb, currentColor 6%, transparent);
  border-color: color-mix(in srgb, currentColor 40%, transparent);
}
.plan__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-h4);
  line-height: var(--lh-tight);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}
.plan__hours {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  margin: 0;
}
.plan__price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.01em;
  margin: 4px 0 0;
}
.plan__feat {
  display: flex;
  flex-direction: column;
  gap: var(--stack-xs);
  margin-top: auto;
  padding-top: var(--stack-sm);
  border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  font-size: var(--text-small);
  font-weight: 300;
  line-height: var(--lh-relaxed);
  opacity: 0.85;
}
.plan__feat li {
  padding-left: 18px;
  position: relative;
}
.plan__feat li::before {
  content: '✓';
  position: absolute;
  left: 0;
  opacity: 0.5;
}
.plans__foot {
  margin-top: var(--stack-md);
  font-size: var(--text-micro);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.55;
}
@media (max-width: 960px) { .plans, .plans--cw { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .plans, .plans--cw { grid-template-columns: 1fr; } }

/* -- Space deep-dive (Estudio + Co-work) -------------------- */
.space-deep {
  margin-top: 96px;
}
.space-deep .section__head { margin-bottom: var(--stack-lg); }
.space-deep .section__title { font-size: clamp(32px, 5.5vw, 72px); }

/* -- Benefits (co-work) ------------------------------------- */
/* Residencias artísticas */
.residency {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: stretch;
  margin-top: var(--stack-md);
}
.residency__media {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 5;
}
.residency__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.residency__info {
  display: flex;
  flex-direction: column;
  gap: var(--stack-lg);
}
.residency__info .label { margin: 0; }
.residency__info .plan {
  min-height: auto;
}
.residency__commission {
  font-size: var(--text-small);
  font-weight: 300;
  line-height: var(--lh-relaxed);
  opacity: 0.85;
}
.residency__label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  margin: 0 0 var(--stack-sm);
}
.residency__commission ul {
  display: flex;
  flex-direction: column;
  gap: var(--stack-xs);
}
@media (max-width: 780px) {
  .residency { grid-template-columns: 1fr; }
}

/* Shop / Tienda */
.shop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-top: var(--stack-md);
}
.shop__item { display: flex; flex-direction: column; gap: var(--stack-xs); }
.shop__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: color-mix(in srgb, currentColor 8%, transparent);
  margin-bottom: var(--stack-sm);
  border-radius: 8px;
}
.shop__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 720ms var(--ease);
}
.shop__item:hover .shop__media img { transform: scale(1.03); }
.shop__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-h4);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
}
.shop__artist {
  font-size: var(--text-small);
  font-weight: 300;
  margin: 0;
  opacity: 0.85;
}
.shop__meta {
  font-size: var(--text-small);
  font-weight: 300;
  margin: 0;
  opacity: 0.6;
}
.shop__price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  margin: var(--stack-xs) 0 0;
}
@media (max-width: 1100px) { .shop { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .shop { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .shop { grid-template-columns: 1fr; } }

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: var(--stack-md);
}
.benefit {
  display: flex;
  flex-direction: column;
  gap: var(--stack-sm);
  padding: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.benefit__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-h4);
  line-height: var(--lh-tight);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}
.benefit__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: var(--text-small);
  font-weight: 300;
  line-height: var(--lh-relaxed);
  opacity: 0.88;
}
.benefit__list li {
  padding-left: 18px;
  position: relative;
}
.benefit__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  opacity: 0.6;
}
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr; gap: 32px; } }

/* -- Features (estudio - 4 cols con foto + lista) ----------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-top: var(--stack-md);
  margin-bottom: 0;
}
.section--features { padding-bottom: 0; }
.section--features + .section--studio { padding-top: 80px; }
.feature {
  display: flex;
  flex-direction: column;
  gap: var(--stack-sm);
}
.feature__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
}
.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(1.02);
  transition: transform 720ms var(--ease);
}
.feature:hover .feature__media img { transform: scale(1.03); }
.feature__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-h4);
  line-height: var(--lh-tight);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}
.feature__list {
  display: flex;
  flex-direction: column;
  gap: var(--stack-xs);
  font-size: var(--text-small);
  font-weight: 300;
  line-height: var(--lh-relaxed);
  opacity: 0.88;
}
.feature__list li {
  padding-left: 18px;
  position: relative;
}
.feature__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  opacity: 0.6;
}
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* -- Calendar (placeholder) --------------------------------- */
.calendar {
  border-top: 1px solid currentColor;
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  gap: var(--stack-md);
}
.calendar__empty {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
  opacity: 0.55;
}
.calendar__cta {
  font-size: var(--text-body);
  font-weight: 300;
  line-height: var(--lh-relaxed);
  max-width: 52ch;
  margin: 0;
}
.calendar__cta a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.calendar__cta a:hover { opacity: 0.7; }

/* -- Members directory (comunidad) -------------------------- */
.members__filters {
  display: flex;
  gap: var(--stack-xs);
  flex-wrap: wrap;
  margin: var(--stack-md) 0 var(--stack-md);
}
.members__filter {
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: currentColor;
  opacity: 0.65;
  transition: opacity 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease);
}
.members__filter:hover { opacity: 1; }
.members__filter.is-active {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
  opacity: 1;
}

.members {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 48px;
}
.member {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: opacity 320ms var(--ease);
}
.member.is-hidden { display: none; }
.member__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111;
  margin-bottom: var(--stack-xs);
}
.member__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(1.02);
  transition: transform 720ms var(--ease);
}
.member:hover .member__media img { transform: scale(1.03); }
.member__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-h4);
  line-height: var(--lh-tight);
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
}
.member__role {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  margin: 0;
}
.member__desc {
  font-size: var(--text-small);
  font-weight: 300;
  line-height: var(--lh-relaxed);
  opacity: 0.82;
  margin: 4px 0 0;
}
.members__foot {
  margin-top: 32px;
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0.5;
}
@media (max-width: 1100px) { .members { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .members { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .members { grid-template-columns: 1fr; } }

/* -- Profiles (comunidad) ----------------------------------- */
.profiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  padding-top: var(--stack-lg);
}
.profiles--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .profiles--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .profiles, .profiles--four { grid-template-columns: 1fr; } }
.profile {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.profile__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-h4);
  line-height: var(--lh-tight);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
}
.profile__desc {
  font-size: var(--text-small);
  font-weight: 300;
  line-height: var(--lh-relaxed);
  margin: 0;
  opacity: 0.85;
  max-width: 42ch;
}
.profile__link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: var(--stack-sm);
  align-self: flex-start;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}
.profile__link:hover { opacity: 0.7; transform: translateX(4px); }
@media (max-width: 900px) { .profiles { grid-template-columns: 1fr; gap: 32px; } }

/* -- Steps -------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  border-top: 1px solid currentColor;
  padding-top: 48px;
}
.steps li {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.steps__n {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 40px;
  letter-spacing: -0.01em;
  opacity: 0.18;
}
.steps p {
  font-size: var(--text-body);
  font-weight: 300;
  line-height: var(--lh-relaxed);
  margin: 0;
  max-width: 22ch;
}
.book__cta {
  margin-top: var(--stack-lg);
  display: flex;
  gap: var(--stack-sm);
  align-items: center;
  flex-wrap: wrap;
}
.book__cta--right { justify-content: flex-end; }
.plans__foot + .book__cta { margin-top: var(--stack-md); }
@media (max-width: 780px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

/* -- Footer ------------------------------------------------- */
.footer {
  position: relative;
  padding: var(--pad-y) var(--pad-x) 48px;
  overflow: hidden;
}
.footer__top { margin-bottom: var(--stack-xl); }
.footer__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  margin: 0;
  text-transform: uppercase;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  z-index: 2;
}
.footer__col p { margin: 4px 0; font-size: var(--text-small); font-weight: 300; line-height: var(--lh-relaxed); }
.footer__col a:hover { opacity: 0.6; }
.footer__iso {
  position: absolute;
  right: -6vw;
  bottom: -6vw;
  width: min(60vw, 520px);
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}
.footer__bottom {
  position: relative;
  z-index: 2;
  margin-top: var(--stack-xl);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* -- Scroll-reveal ----------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* -- Cursor preview (desktop only) -------------------------
   District cursor: pill-shape con el label del target.
   Distinto a PRADO (brackets). Sigue al mouse con lerp. */
.cursor-preview {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 500;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 220ms var(--ease), transform 260ms var(--ease);
  will-change: transform;
  padding: 10px 18px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #000000;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--stack-xs);
}
.cursor-preview::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}
body.cursor-active .cursor-preview {
  opacity: 1;
  transform: scale(1);
}

@media (hover: none) { .cursor-preview { display: none; } }

/* -- Marquee ------------------------------------------------ */
.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
}
.marquee__track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 3.2vw, 40px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  animation: marquee 32s linear infinite;
  will-change: transform;
}
.marquee__track span { flex: 0 0 auto; opacity: 0.92; }
.marquee__track span:nth-child(even) { opacity: 0.35; font-weight: 400; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* -- FAQ ----------------------------------------------------- */
.faq {
  max-width: 980px;
}
.faq details {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 22px 0;
}
.faq details:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.faq summary {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: -0.005em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 48px;
  transition: opacity 220ms var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  opacity: 0.6;
  transition: transform 240ms var(--ease);
}
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { opacity: 0.7; }
.faq details p {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.82;
}

/* -- Reduced motion ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
