/* León Mastache — estilos compartidos */

:root {
  --bg: #0b0a09;
  --surface: #161412;
  --oxblood: #4a1a17;
  --gold: #b8975a;
  --gold-line: rgba(184, 151, 90, 0.4);
  --text: #e9e3d6;
  --muted: #8a8378;

  --f-display: "Italiana", "Times New Roman", serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-sans: "Manrope", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

::selection { background: var(--oxblood); color: var(--text); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Tipografía ---------- */

.display { font-family: var(--f-display); font-weight: 400; line-height: 0.95; letter-spacing: 0; margin: 0; }
.serif-it { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.label {
  font-family: var(--f-sans); font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted);
}
.gold { color: var(--gold); }

.link-line {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid var(--gold);
  transition: gap 0.5s var(--ease), color 0.4s;
}
.link-line:hover { gap: 18px; color: var(--gold); }

.oval {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 18px 36px;
  border: 1px solid var(--text);
  border-radius: 100%;
  font-family: var(--f-display); font-size: 15px;
  text-transform: uppercase; letter-spacing: 0.22em;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s, color 0.4s;
  white-space: nowrap;
}
.oval:hover { background: rgba(233, 227, 214, 0.08); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-color: var(--gold); color: var(--gold); }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 24px var(--gutter);
  transition: background 0.6s, padding 0.6s;
}
.site-header.is-scrolled {
  background: linear-gradient(to bottom, rgba(11, 10, 9, 0.92), rgba(11, 10, 9, 0));
  padding-top: 16px; padding-bottom: 40px;
}
@media (min-width: 900px) { .site-header { padding-top: 48px; } }

.brand { display: flex; align-items: center; gap: 16px; }
.brand-mark { font-family: var(--f-display); font-size: 40px; line-height: 1; letter-spacing: 0.04em; }
.brand-tag { font-size: 11px; font-weight: 600; line-height: 1.35; letter-spacing: 0.04em; color: var(--text); opacity: 0.85; }
@media (min-width: 900px) { .brand-mark { font-size: 52px; } .brand-tag { font-size: 13px; } }
.is-scrolled .brand-tag { opacity: 0; transition: opacity 0.4s; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: none; gap: 28px; }
.nav-links a { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.8; transition: opacity 0.3s, color 0.3s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; color: var(--gold); }
@media (min-width: 700px) { .nav-links { display: flex; } }

.nav .oval { padding: 12px 22px; font-size: 12px; background: rgba(11, 10, 9, 0.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (min-width: 900px) { .nav .oval { padding: 22px 40px; font-size: 15px; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; } }

.nav .menu-btn { display: inline-flex; }
.nav .nav-cta { display: none; }
@media (min-width: 700px) {
  .nav .menu-btn { display: none; }
  .nav .nav-cta { display: inline-flex; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: var(--gutter);
  opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--f-display); font-size: 48px; line-height: 1; }
.mobile-menu .close { position: absolute; top: 28px; right: var(--gutter); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }

/* ---------- Hero ---------- */

.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--bg); }

.hero-stage {
  position: absolute; inset: 0;
  transform-origin: 66% 38%;
  animation: breathe-zoom 24s ease-in-out infinite alternate;
}
@keyframes breathe-zoom { from { transform: scale(1); } to { transform: scale(1.05); } }

.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 74% 35%; }
@media (min-width: 900px) { .hero-img { object-position: 60% 30%; } }

.hero-notes { position: absolute; inset: 0; pointer-events: none; }
.note {
  position: absolute;
  border: 1px solid rgba(184, 151, 90, 0.6);
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.note.is-in { opacity: 1; animation: drift 9s ease-in-out infinite alternate; }
.note:nth-child(2).is-in { animation-duration: 11s; }
.note:nth-child(3).is-in { animation-duration: 13s; }
@keyframes drift { from { translate: 0 0; } to { translate: 3px -3px; } }
.note span {
  position: absolute; left: -1px; bottom: 100%;
  padding: 4px 8px; margin-bottom: 0;
  font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bg); background: rgba(184, 151, 90, 0.85); white-space: nowrap;
}
.note--palette { display: none; }
@media (min-width: 900px) { .note--palette { display: block; } }

.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 62% 40%, transparent 30%, rgba(11, 10, 9, 0.85) 100%);
  animation: vignette 10s ease-in-out infinite alternate;
}
@keyframes vignette { from { opacity: 0.6; } to { opacity: 0.85; } }

.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(11, 10, 9, 0.75) 22%, transparent 55%),
    linear-gradient(to right, rgba(11, 10, 9, 0.7) 0%, transparent 45%);
}

.particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }


.hero-copy {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(32px, 7vh, 72px);
}
.hero-title { font-size: clamp(64px, 13vw, 168px); line-height: 0.86; }
.hero-side { margin-top: 28px; }
@media (min-width: 900px) {
  .hero-copy { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
  .hero-side { margin: 0 0 12px; }
}

/* ---------- Telón entre secciones ---------- */

.curtain-wrap { position: relative; z-index: 5; height: 0; }
.curtain {
  position: absolute; left: 0; right: 0; top: -160px; height: 320px;
  background: linear-gradient(to bottom, transparent 0%, rgba(74, 26, 23, 0.55) 45%, rgba(74, 26, 23, 0.35) 60%, var(--bg) 100%);
  filter: blur(8px);
  pointer-events: none; will-change: transform;
}

/* ---------- Secciones ---------- */

.section { position: relative; padding: clamp(96px, 16vw, 200px) var(--gutter); }
.container { max-width: 1280px; margin: 0 auto; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(48px, 7vw, 96px); flex-wrap: wrap; }
.section-title { font-size: clamp(44px, 7vw, 96px); }

.rule { height: 1px; background: var(--gold-line); border: 0; margin: 0; }

/* Taller */
.taller { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; }
.taller-bg { position: absolute; inset: 0; }
.taller-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; filter: brightness(0.38); transform: scale(1.12); will-change: transform; }
.taller-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(11, 10, 9, 0.2), rgba(11, 10, 9, 0.85) 80%), linear-gradient(to bottom, var(--bg), transparent 25%, transparent 75%, var(--bg)); }
.taller-copy { position: relative; max-width: 980px; margin: 0; padding: 0 var(--gutter); }
.taller-quote { font-size: clamp(36px, 5.6vw, 76px); line-height: 1.08; margin: 0 0 40px; }
.taller-copy figcaption { font-family: var(--f-serif); font-style: italic; font-size: clamp(18px, 2vw, 24px); color: rgba(233, 227, 214, 0.8); }
.taller-copy cite { font-style: normal; color: var(--gold); }
.taller-credit { position: absolute; left: var(--gutter); bottom: 32px; text-align: left; }
.taller-credit .serif-it { display: block; font-size: 15px; color: var(--text); margin-top: 4px; }

/* Luz · Objeto · Lugar */
.triad { display: grid; gap: 64px; }
@media (min-width: 800px) { .triad { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.triad-item { border-top: 1px solid var(--gold-line); padding-top: 28px; }
.triad-num { font-family: var(--f-display); font-size: 22px; color: var(--gold); }
.triad-item h3 { font-family: var(--f-display); font-weight: 400; font-size: 48px; line-height: 1; margin: 20px 0 16px; }
.triad-item p { margin: 0; color: rgba(233, 227, 214, 0.75); max-width: 320px; }

/* Cédula de museo */
.plate { margin-top: 16px; }
.plate-num { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: var(--gold); }
.plate-title { display: block; font-family: var(--f-serif); font-style: italic; font-size: 21px; line-height: 1.25; margin: 4px 0 4px; }
.plate-meta { font-size: 12px; color: var(--muted); letter-spacing: 0.03em; }

/* Obra con marco al hover */
.work-link { display: block; }
.work-frame { position: relative; overflow: hidden; }
.work-frame img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.work-frame::after { content: ""; position: absolute; inset: 0; border: 1px solid transparent; transition: border-color 0.6s var(--ease), inset 0.6s var(--ease); pointer-events: none; }
.work-link:hover .work-frame img { transform: scale(1.02); }
.work-link:hover .work-frame::after { border-color: var(--gold); inset: 10px; }
.work-link:hover .plate-title { color: var(--gold); }
.plate-title { transition: color 0.4s; }

/* Grid de salón (home): marcos iguales tipo passe-partout, la obra nunca se recorta */
.salon { display: grid; gap: 64px 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .salon { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .salon { grid-template-columns: repeat(3, 1fr); gap: 80px 40px; } }
.work-cell { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.work-cell .work-frame { flex: none; }
.salon-foot { margin-top: clamp(72px, 10vw, 140px); text-align: center; }

/* Proceso */
.proceso { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .proceso { grid-template-columns: 7fr 5fr; gap: 96px; } }
.proceso h2 { font-size: clamp(40px, 5vw, 68px); margin-bottom: 32px; }
.proceso p { margin: 0 0 18px; color: rgba(233, 227, 214, 0.78); max-width: 440px; }

/* Sobre (preview) */
.about-teaser { max-width: 760px; margin: 0 auto; text-align: center; }
.about-teaser .display { font-size: clamp(40px, 6vw, 80px); margin-bottom: 32px; }
.about-teaser p { color: rgba(233, 227, 214, 0.78); margin: 0 auto 36px; max-width: 540px; }

/* Adquisición */
.acquire { background: var(--surface); text-align: center; }
.acquire .display { font-size: clamp(36px, 5.5vw, 72px); margin: 20px 0 20px; }
.acquire p { color: var(--muted); margin: 0 0 48px; }

/* Footer */
.site-footer { padding: 96px var(--gutter) 40px; border-top: 1px solid var(--gold-line); }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; gap: 40px; }
@media (min-width: 800px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; align-items: end; } }
.footer-name { font-family: var(--f-display); font-size: clamp(40px, 6vw, 72px); line-height: 1; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer-col a:hover { color: var(--gold); }
.footer-legal { max-width: 1280px; margin: 64px auto 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11px; color: var(--muted); letter-spacing: 0.08em; }

/* ---------- Páginas internas ---------- */

.page-top { padding: clamp(150px, 22vw, 230px) var(--gutter) clamp(40px, 6vw, 72px); }
.page-title { font-size: clamp(64px, 12vw, 160px); line-height: 0.88; }
.page-lead { max-width: 460px; margin-top: 28px; color: rgba(233, 227, 214, 0.78); }

/* Galería: controles */
.gallery-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap;
  padding: 20px 0; border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line);
  margin-bottom: clamp(48px, 7vw, 96px);
}
.tabs, .toggle { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.tab {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  padding: 6px 0; border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s;
}
.tab:hover { color: var(--text); }
.tab[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--gold); }
.tab sup { color: var(--gold); font-size: 9px; margin-left: 3px; }

/* Galería: sala */
.masonry { columns: 1; column-gap: 40px; }
@media (min-width: 640px) { .masonry { columns: 2; } }
@media (min-width: 1100px) { .masonry { columns: 3; column-gap: 56px; } }
.masonry .work-link { break-inside: avoid; margin-bottom: 72px; }
.masonry .work-link.is-hidden { display: none; }

/* Galería: una por una */
.viewer { display: none; }
.viewer.is-active { display: block; }
.masonry.is-off { display: none; }

.viewer-stage {
  position: relative; height: calc(100svh - 260px); min-height: 380px;
  display: grid; place-items: center;
  touch-action: pan-y;
}
.viewer-stage a { display: flex; align-items: center; justify-content: center; height: 100%; max-width: 100%; }
.viewer-stage img {
  max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain;
  opacity: 0; transition: opacity 0.9s var(--ease);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.viewer-stage img.is-in { opacity: 1; }
.viewer-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.viewer-nav { display: flex; align-items: center; gap: 28px; }
.viewer-count { font-family: var(--f-display); font-size: 24px; letter-spacing: 0.08em; }
.viewer-count span { color: var(--muted); }
.arrow { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; padding: 10px 0; border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
.arrow:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* Pieza individual */
.piece { display: grid; gap: 48px; padding: clamp(120px, 16vw, 170px) var(--gutter) 96px; max-width: 1440px; margin: 0 auto; }
@media (min-width: 1000px) { .piece { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; } }
.piece-figure { margin: 0; display: grid; place-items: center; background: radial-gradient(ellipse at center, rgba(22, 20, 18, 1), var(--bg) 70%); padding: clamp(16px, 4vw, 56px); }
.piece-figure button { cursor: zoom-in; display: block; }
.piece-figure img { max-height: min(85svh, calc(100svh - 240px)); width: auto; max-width: 100%; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7); }
.piece-hint { margin-top: 18px; text-align: center; }
.piece-info { position: sticky; top: 140px; }
.piece-info h1 { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; margin: 10px 0 28px; }
.specs { margin: 0 0 32px; border-top: 1px solid var(--gold-line); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(184, 151, 90, 0.18); font-size: 13px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: right; }
.piece-note { color: rgba(233, 227, 214, 0.78); margin: 0 0 36px; }
.piece-pager { display: flex; justify-content: space-between; gap: 24px; padding: 40px var(--gutter); border-top: 1px solid var(--gold-line); max-width: 1440px; margin: 0 auto; }
.piece-pager a { display: flex; flex-direction: column; gap: 6px; max-width: 45%; }
.piece-pager a:last-child { text-align: right; align-items: flex-end; }
.piece-pager .serif-it { font-size: 20px; line-height: 1.2; transition: color 0.3s; }
.piece-pager a:hover .serif-it { color: var(--gold); }

.zoom {
  position: fixed; inset: 0; z-index: 80; background: rgba(5, 5, 4, 0.97);
  overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none;
  opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
}
.zoom.is-open { opacity: 1; pointer-events: auto; }
.zoom img {
  position: absolute; left: 0; top: 0; max-width: none; width: auto; height: auto;
  transform-origin: 0 0; cursor: grab; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}
.zoom.is-dragging img { cursor: grabbing; }
.zoom.is-animating img { transition: transform 0.35s var(--ease); }
.zoom-close { position: absolute; top: 24px; right: 24px; z-index: 2; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; background: rgba(11, 10, 9, 0.7); padding: 10px 16px; border: 1px solid var(--gold-line); }
.zoom-close:hover { color: var(--gold); border-color: var(--gold); }
.zoom-bar {
  position: absolute; left: 50%; bottom: 28px; z-index: 2; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px;
  background: rgba(11, 10, 9, 0.75); border: 1px solid var(--gold-line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.zoom-bar button { min-width: 44px; height: 40px; padding: 0 12px; font-size: 18px; line-height: 1; transition: color 0.3s; }
.zoom-bar button:hover { color: var(--gold); }
.zoom-bar .zoom-fit { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; border-left: 1px solid var(--gold-line); }
.zoom-bar [data-zoom-level] { min-width: 56px; text-align: center; font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }
.zoom-hint {
  position: absolute; left: 0; right: 0; top: 36px; z-index: 1; margin: 0; text-align: center;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  transition: opacity 0.8s; pointer-events: none;
}
.zoom.has-moved .zoom-hint { opacity: 0; }

/* Sobre */
.about { display: grid; gap: 56px; padding: 0 var(--gutter) clamp(96px, 14vw, 180px); max-width: 1280px; margin: 0 auto; }
@media (min-width: 900px) { .about { grid-template-columns: 5fr 6fr; gap: 96px; align-items: start; } }
.about-body p { margin: 0 0 22px; color: rgba(233, 227, 214, 0.82); max-width: 520px; }
.about-body .lead { font-family: var(--f-serif); font-style: italic; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.4; color: var(--text); max-width: 600px; }
.about-figure { margin: 0; }
.facts { margin-top: 48px; border-top: 1px solid var(--gold-line); }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(184, 151, 90, 0.18); font-size: 13px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

/* Contacto */
.contact { display: grid; gap: 64px; padding: 0 var(--gutter) clamp(96px, 14vw, 180px); max-width: 1280px; margin: 0 auto; }
@media (min-width: 900px) { .contact { grid-template-columns: 5fr 6fr; gap: 120px; } }
.contact-aside p { color: rgba(233, 227, 214, 0.78); margin: 0 0 22px; max-width: 380px; }
.contact-aside a.mail { font-family: var(--f-serif); font-style: italic; font-size: 24px; border-bottom: 1px solid var(--gold-line); }
.contact-aside a.mail:hover { color: var(--gold); }

.form { display: grid; gap: 36px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; color: var(--text);
  font: inherit; font-size: 17px;
  border: 0; border-bottom: 1px solid rgba(233, 227, 214, 0.25); border-radius: 0;
  padding: 10px 0 12px; outline: none;
  transition: border-color 0.4s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 28px; }
.field select option { background: var(--surface); color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--gold); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }
.form-foot { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.form-status { font-family: var(--f-serif); font-style: italic; font-size: 19px; color: var(--gold); min-height: 1.5em; }

/* ---------- Aparición al hacer scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Carga inicial del hero */
.js .hero-copy > * { opacity: 0; transform: translateY(14px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.js .is-loaded .hero-copy > * { opacity: 1; transform: none; }
.js .is-loaded .hero-copy > *:nth-child(2) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal, .js .hero-copy > * { opacity: 1; transform: none; }
  .particles { display: none; }
}

/* ---------- WordPress ---------- */
.about-body .lead p { color: inherit; max-width: none; margin: 0 0 0.6em; }
.about-body .lead p:last-child { margin-bottom: 0; }
.entry-wrap { padding: 0 var(--gutter) clamp(96px, 14vw, 180px); }
.entry-content { max-width: 760px; }
.entry-content p, .entry-content li { color: rgba(233, 227, 214, 0.82); line-height: 1.7; }
.entry-content a { color: var(--text); }
.entry-content img { max-width: 100%; height: auto; }

/* ---------- Celular ---------- */
.note.is-clipped { display: none; }
@media (max-width: 639px) {
  /* Dos obras por fila en vez de una: menos scroll para ver la colección. */
  .salon { grid-template-columns: repeat(2, 1fr); gap: 44px 16px; }
  .masonry { columns: 2; column-gap: 16px; }
  .masonry .work-link { margin-bottom: 40px; }
  .plate { margin-top: 10px; }
  .plate-num { font-size: 9px; letter-spacing: 0.16em; }
  .plate-title { font-size: 16px; }
  .plate-meta { font-size: 10px; line-height: 1.5; }
  .proceso .plate-title { font-size: 19px; }
  .proceso .plate-meta { font-size: 12px; }
  .oval { padding: 16px 26px; font-size: 13px; letter-spacing: 0.16em; }
  .nav .oval { padding: 12px 22px; }
  .piece-figure { padding: 12px 0; }
  .viewer-nav .arrow { padding: 12px 4px; }
}
@media (max-width: 359px) {
  .brand-tag { display: none; }
}
