/* ================================================================
   Martín Borrás — Joyero / Atelier
   Estilo: Editorial atelier · alta artesanía contemporánea
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=JetBrains+Mono:wght@400&display=swap');

/* Avant Garde BQ — del sistema Little Rock Labs */
@font-face { font-family: 'Avant Garde BQ'; src: url('fonts/AvantGardeBQ-ExtraLight.otf') format('opentype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Avant Garde BQ'; src: url('fonts/AvantGardeBQ-Book.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Avant Garde BQ'; src: url('fonts/AvantGardeBQ-BookOblique.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Avant Garde BQ'; src: url('fonts/AvantGardeBQ-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Avant Garde BQ'; src: url('fonts/AvantGardeBQ-DemiBold.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* Paleta atelier — adaptada del sistema Little Rock Labs */
  --ink:        #0E0E0C;        /* tinta */
  --ink-2:      #1B1A17;
  --ink-3:      #2C2A25;
  --paper:      #EFEAE0;        /* papel crudo */
  --paper-warm: #E5DDCC;
  --bone:       #DDD5C7;
  --bone-soft:  #CDC4B3;
  --moss:       #2B3026;        /* verde atelier — guiño a la marca */
  --moss-deep:  #1F2319;
  --gold:       #A88B5C;        /* oro tenue */
  --gold-soft:  #C2A879;
  --rust:       #8C4A2B;        /* acento ocasional */

  --rule:       rgba(14,14,12,0.14);
  --rule-soft:  rgba(14,14,12,0.08);
  --rule-light: rgba(239,234,224,0.16);

  --serif:  'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --sans:   'Avant Garde BQ', 'Century Gothic', 'Futura', ui-sans-serif, system-ui, sans-serif;
  --mono:   'JetBrains Mono', ui-monospace, Menlo, monospace;

  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
  overflow-x: hidden;
}

@media (max-width: 900px) {
  body { cursor: auto; }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: none; background: none; border: none; color: inherit; }

::selection { background: var(--ink); color: var(--paper); }

/* ============================================================
   CURSOR CUSTOM
   ============================================================ */
.cursor-dot, .cursor-ring {
  position: fixed; pointer-events: none; z-index: 9999;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot {
  width: 5px; height: 5px;
  background: var(--ink);
  border-radius: 50%;
  transition: opacity 200ms var(--ease), background 200ms var(--ease), transform 200ms var(--ease);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transition: width 360ms var(--ease), height 360ms var(--ease), background 360ms var(--ease), border-color 360ms var(--ease), opacity 200ms var(--ease);
}
body.dark-cursor .cursor-dot { background: var(--paper); }
body.dark-cursor .cursor-ring { border-color: var(--paper); }

body.cursor-hover .cursor-ring {
  width: 80px; height: 80px;
  background: rgba(14,14,12,0.04);
}
body.dark-cursor.cursor-hover .cursor-ring {
  background: rgba(239,234,224,0.06);
  border-color: var(--paper);
}
body.cursor-view .cursor-ring {
  width: 110px; height: 110px;
  background: var(--ink);
  border-color: var(--ink);
  mix-blend-mode: difference;
}
body.cursor-view .cursor-dot { opacity: 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 48px;
  mix-blend-mode: difference;
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.nav .brand {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0;
}
.nav .brand sup { font-size: 9px; vertical-align: super; opacity: 0.7; font-style: normal; font-family: var(--mono); }
.nav-menu { display: flex; gap: 36px; align-items: center; }
.nav-menu a {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: opacity 200ms var(--ease);
}
.nav-menu a:hover { opacity: 0.6; }
.nav-menu a .num {
  font-family: var(--mono);
  font-size: 9px;
  margin-right: 4px;
  opacity: 0.55;
  letter-spacing: 0;
}
.nav-cta {
  border: 1px solid currentColor;
  padding: 10px 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 240ms var(--ease), color 240ms var(--ease);
}
.nav-cta:hover { background: currentColor; color: var(--ink); }

/* Side index */
.side-index {
  position: fixed; top: 50%; left: 28px; transform: translateY(-50%); z-index: 90;
  display: flex; flex-direction: column; gap: 14px;
  font-family: var(--mono); font-size: 10px;
  mix-blend-mode: difference;
  color: var(--paper);
}
.side-index a {
  display: flex; align-items: center; gap: 10px;
  opacity: 0.4;
  transition: opacity 200ms var(--ease);
  letter-spacing: 0.04em;
}
.side-index a::before {
  content: ""; width: 14px; height: 1px; background: currentColor;
  transition: width 200ms var(--ease);
}
.side-index a.active, .side-index a:hover { opacity: 1; }
.side-index a.active::before { width: 28px; }
.side-index .label { display: none; }
.side-index a.active .label { display: inline; }

@media (max-width: 1100px) {
  .side-index { display: none; }
}

/* ============================================================
   LAYOUT BASE
   ============================================================ */
section {
  position: relative;
  padding: 140px 80px;
  min-height: 100vh;
}
@media (max-width: 900px) {
  section { padding: 100px 28px; }
  .nav { padding: 20px 24px; }
  .nav-menu { display: none; }
}

.section-header {
  display: flex; align-items: baseline; gap: 24px;
  margin-bottom: 80px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink);
  opacity: 0.7;
}
.section-header .num { font-weight: 400; }
.section-header .rule { flex: 1; height: 1px; background: var(--rule); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--ink);
  color: var(--paper);
  min-height: 100vh;
  padding: 120px 80px 80px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(168,139,92,0.10) 0%, transparent 60%),
    radial-gradient(50% 60% at 15% 90%, rgba(43,48,38,0.6) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grain {
  position: absolute; inset: 0; opacity: 0.18; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero-meta {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-start;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  opacity: 0.7; padding-top: 60px;
}
.hero-meta .col { display: flex; flex-direction: column; gap: 6px; }
.hero-meta .col span:first-child { opacity: 0.5; }

.hero-main {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr auto;
  gap: 60px; align-items: end;
  margin-top: auto;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(64px, 13vw, 220px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.2s var(--ease);
}
.hero-title .word.in { transform: translateY(0); }
.hero-title .line:nth-child(2) .word { transition-delay: 0.18s; }
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-soft);
  position: relative;
}
.hero-title em::after {
  content: ""; position: absolute;
  bottom: 0.18em; left: 0; right: 0; height: 1px;
  background: var(--gold-soft);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s var(--ease) 1.4s;
}
.hero-title.in em::after { transform: scaleX(1); }

.hero-aside {
  display: flex; flex-direction: column; gap: 32px;
  align-items: flex-end;
  text-align: right;
  max-width: 320px;
  padding-bottom: 18px;
}
.hero-aside p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  color: var(--bone);
  opacity: 0.85;
}
.hero-aside .signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--gold-soft);
  letter-spacing: -0.01em;
}

.hero-foot {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 80px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.hero-foot .scroll-cue {
  display: flex; align-items: center; gap: 10px;
}
.hero-foot .scroll-cue .arrow {
  display: inline-block; width: 30px; height: 1px; background: var(--paper);
  position: relative;
  animation: arrow-pulse 2.4s var(--ease-2) infinite;
}
.hero-foot .scroll-cue .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid var(--paper);
  border-top: 1px solid var(--paper);
  transform: rotate(45deg) translate(2px,-2px);
}
@keyframes arrow-pulse {
  0%,100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(8px); opacity: 1; }
}

@media (max-width: 900px) {
  .hero { padding: 100px 24px 60px; }
  .hero-meta { padding-top: 40px; flex-direction: column; gap: 24px; }
  .hero-main { grid-template-columns: 1fr; gap: 40px; }
  .hero-aside { align-items: flex-start; text-align: left; max-width: 100%; }
  .hero-foot { flex-direction: column; gap: 20px; align-items: flex-start; }
}

/* ============================================================
   MANIFIESTO
   ============================================================ */
.manifesto {
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.manifesto .left {
  position: sticky; top: 120px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.6;
  display: flex; flex-direction: column; gap: 20px;
}
.manifesto-text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 980px;
}
.manifesto-text p { color: var(--ink); font-family: inherit; font-size: inherit; line-height: inherit; margin-bottom: 0.5em; }
.manifesto-text em { font-style: italic; color: var(--moss); }
.manifesto-text .drop {
  font-style: italic;
  color: var(--gold);
}
.manifesto-meta {
  margin-top: 60px;
  display: flex; gap: 60px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink); opacity: 0.7;
}
.manifesto-meta .stat { display: flex; flex-direction: column; gap: 4px; }
.manifesto-meta .stat .v {
  font-family: var(--serif); font-style: italic; font-size: 32px;
  color: var(--ink); opacity: 1;
  letter-spacing: -0.01em;
  text-transform: none;
}

@media (max-width: 900px) {
  .manifesto { grid-template-columns: 1fr; gap: 40px; }
  .manifesto .left { position: static; }
  .manifesto-meta { flex-direction: column; gap: 24px; }
}

/* ============================================================
   OBRA — colecciones
   ============================================================ */
.obra {
  background: var(--ink);
  color: var(--paper);
}
.obra .section-header { color: var(--paper); }
.obra .section-header .rule { background: var(--rule-light); }

.coll-list {
  display: flex; flex-direction: column;
}
.coll-row {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 40px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--rule-light);
  position: relative;
  transition: padding 400ms var(--ease);
}
.coll-row:last-child { border-bottom: 1px solid var(--rule-light); }
.coll-row .num {
  font-family: var(--mono); font-size: 12px; opacity: 0.5;
}
.coll-row .name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: transform 500ms var(--ease), color 400ms var(--ease);
}
.coll-row .name em { font-style: italic; color: var(--gold-soft); }
.coll-row .meta {
  font-family: var(--mono); font-size: 11px; opacity: 0.55;
  letter-spacing: 0.1em; text-transform: uppercase;
  display: flex; flex-direction: column; gap: 4px; text-align: right;
}
.coll-row .arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--paper);
  border-radius: 50%;
  display: grid; place-items: center;
  opacity: 0.6;
  transition: opacity 300ms var(--ease), transform 500ms var(--ease), background 400ms var(--ease);
}
.coll-row .arrow svg { width: 16px; height: 16px; transition: transform 400ms var(--ease); }

.coll-row:hover { padding: 60px 0; }
.coll-row:hover .name { transform: translateX(20px); color: var(--gold-soft); }
.coll-row:hover .arrow { opacity: 1; background: var(--paper); color: var(--ink); transform: rotate(-45deg); }

/* preview de la pieza al hacer hover */
.coll-preview {
  position: fixed;
  pointer-events: none;
  width: 360px; height: 460px;
  z-index: 50;
  opacity: 0;
  transform: translate(-50%,-50%) scale(0.92);
  transition: opacity 300ms var(--ease), transform 500ms var(--ease);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--rule-light);
}
.coll-preview.show { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.coll-preview svg { width: 100%; height: 100%; }
.coll-preview .label {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--bone);
  display: flex; justify-content: space-between;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .coll-row { grid-template-columns: 40px 1fr auto; gap: 16px; padding: 24px 0; }
  .coll-row:hover { padding: 28px 0; }
  .coll-row .meta { display: none; }
  .coll-preview { display: none; }
}

/* Detalle: piezas destacadas en grid asimétrico */
.featured {
  margin-top: 120px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  row-gap: 100px;
}
.piece {
  position: relative;
  cursor: none;
}
.piece-frame {
  background: var(--ink-2);
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule-light);
  display: grid; place-items: center;
}
.piece-frame::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 40%, rgba(168,139,92,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.piece-frame svg { width: 70%; height: 70%; transition: transform 1.6s var(--ease); }
.piece:hover .piece-frame svg { transform: scale(1.06) rotate(-2deg); }

.piece .info {
  margin-top: 16px;
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.65;
}
.piece .name {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 22px; letter-spacing: -0.01em;
  color: var(--paper);
  text-transform: none;
  opacity: 1;
}
.piece .price { font-family: var(--mono); }
.piece .desc {
  margin-top: 4px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0.5;
}

.piece.p-1 { grid-column: 1 / span 5; }
.piece.p-2 { grid-column: 7 / span 5; margin-top: 80px; }
.piece.p-3 { grid-column: 2 / span 4; }
.piece.p-4 { grid-column: 7 / span 6; margin-top: -60px; }

@media (max-width: 900px) {
  .featured { grid-template-columns: 1fr; gap: 60px; row-gap: 60px; margin-top: 60px; }
  .piece.p-1, .piece.p-2, .piece.p-3, .piece.p-4 {
    grid-column: 1 / -1; margin-top: 0;
  }
}

/* ============================================================
   PROCESO
   ============================================================ */
.proceso {
  background: var(--paper-warm);
  color: var(--ink);
}
.proceso-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.proceso-grid h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 5vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.proceso-grid h2 em { font-style: italic; color: var(--moss); }
.proceso-image {
  aspect-ratio: 5/6;
  background: var(--bone);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.proceso-image svg { width: 100%; height: 100%; }
.proceso-image .caption {
  position: absolute; bottom: 20px; left: 24px; right: 24px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex; justify-content: space-between;
  color: var(--ink); opacity: 0.6;
}

.proceso-steps {
  margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
}
.step {
  background: var(--paper-warm);
  padding: 40px 32px 60px;
  display: flex; flex-direction: column; gap: 16px;
}
.step .num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; opacity: 0.5;
}
.step h3 {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: 32px; line-height: 1.1; letter-spacing: -0.01em;
  color: var(--ink);
}
.step p {
  font-family: var(--sans); font-size: 14px; line-height: 1.6;
  color: var(--ink-3); opacity: 0.85;
  font-weight: 400;
}

@media (max-width: 900px) {
  .proceso-grid { grid-template-columns: 1fr; gap: 40px; }
  .proceso-steps { grid-template-columns: 1fr; margin-top: 60px; }
}

/* ============================================================
   TRAYECTORIA
   ============================================================ */
.trayectoria {
  background: var(--paper);
  color: var(--ink);
}
.tray-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 100px;
}
.tray-portrait {
  aspect-ratio: 4/5;
  background: var(--bone);
  border: 1px solid var(--rule);
  position: relative; overflow: hidden;
}
.tray-portrait svg { width: 100%; height: 100%; }
.tray-portrait .tag {
  position: absolute; top: 20px; left: 20px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; opacity: 0.6;
  background: var(--paper); padding: 6px 10px;
}
.tray-text {
  font-family: var(--serif); font-weight: 300;
  font-size: 22px; line-height: 1.55;
  color: var(--ink-3);
  max-width: 620px;
}
.tray-text p { font: inherit; color: inherit; margin-bottom: 1.2em; }
.tray-text em { color: var(--moss); }
.tray-text strong { font-weight: 500; color: var(--ink); }

.tray-list {
  margin-top: 60px;
  display: grid; grid-template-columns: 80px 1fr auto;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.04em;
  border-top: 1px solid var(--rule);
}
.tray-list .row {
  display: contents;
}
.tray-list .row > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-3);
}
.tray-list .row .year {
  color: var(--moss); font-weight: 500;
}
.tray-list .row .ev { padding-right: 24px; }
.tray-list .row .place {
  text-align: right; opacity: 0.6;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px;
}

@media (max-width: 900px) {
  .tray-grid { grid-template-columns: 1fr; gap: 40px; }
  .tray-list { grid-template-columns: 60px 1fr; font-size: 11px; }
  .tray-list .row .place { display: none; }
}

/* ============================================================
   ENCARGOS — formulario
   ============================================================ */
.encargos {
  background: var(--moss);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.encargos::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at 90% 0%, rgba(168,139,92,0.18) 0%, transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(14,14,12,0.6) 0%, transparent 70%);
  pointer-events: none;
}
.encargos .section-header { color: var(--paper); position: relative; z-index: 2; }
.encargos .section-header .rule { background: var(--rule-light); }

.encargos-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px;
  position: relative; z-index: 2;
  align-items: start;
}
.encargos-lead h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 32px;
}
.encargos-lead h2 em { font-style: italic; color: var(--gold-soft); }
.encargos-lead p {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 20px; line-height: 1.55;
  color: var(--bone);
  max-width: 460px;
  opacity: 0.85;
}
.encargos-lead .sig {
  margin-top: 60px;
  font-family: var(--serif); font-style: italic;
  font-size: 28px; color: var(--gold-soft);
}
.encargos-lead .sig-line {
  margin-top: 4px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.6;
}

.form {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule-light);
}
.field {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--rule-light);
  position: relative;
  transition: background 300ms var(--ease);
}
.field:hover { background: rgba(239,234,224,0.03); }
.field label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bone-soft); opacity: 0.65;
  padding: 22px 0;
}
.field input, .field textarea, .field select {
  background: transparent; border: none; outline: none;
  font-family: var(--serif); font-weight: 300;
  font-size: 22px; color: var(--paper);
  padding: 22px 0;
  width: 100%;
  resize: none;
}
.field input::placeholder, .field textarea::placeholder {
  color: var(--bone-soft); opacity: 0.4; font-style: italic;
}
.field textarea { min-height: 120px; padding-bottom: 22px; line-height: 1.4; }

.chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 18px 0;
}
.chip {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 9px 14px;
  border: 1px solid var(--rule-light);
  color: var(--bone);
  transition: all 240ms var(--ease);
}
.chip:hover { border-color: var(--paper); }
.chip.active { background: var(--paper); color: var(--moss); border-color: var(--paper); }

.form-submit {
  margin-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
}
.form-submit .note {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bone); opacity: 0.55;
  max-width: 280px; line-height: 1.6;
}
.btn-send {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 22px 40px;
  border: 1px solid var(--paper);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--paper);
  transition: background 300ms var(--ease), color 300ms var(--ease);
}
.btn-send:hover { background: var(--paper); color: var(--moss); }
.btn-send svg { width: 16px; height: 12px; transition: transform 300ms var(--ease); }
.btn-send:hover svg { transform: translateX(6px); }

@media (max-width: 900px) {
  .encargos-grid { grid-template-columns: 1fr; gap: 50px; }
  .field { grid-template-columns: 1fr; }
  .field label { padding: 16px 0 4px; }
  .field input, .field textarea, .field select { padding: 4px 0 18px; font-size: 18px; }
}

/* ============================================================
   CATÁLOGO (tienda)
   ============================================================ */
.catalogo {
  background: var(--paper);
  color: var(--ink);
}
.cat-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 60px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.cat-filters { display: flex; gap: 4px; }
.cat-filter {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid transparent;
  color: var(--ink); opacity: 0.55;
  transition: all 200ms var(--ease);
}
.cat-filter:hover { opacity: 1; }
.cat-filter.active { opacity: 1; border-color: var(--ink); }
.cat-count {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.55;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  row-gap: 80px;
}
.cat-item {
  cursor: none;
  display: flex; flex-direction: column;
  transition: transform 500ms var(--ease);
}
.cat-thumb {
  background: var(--bone);
  aspect-ratio: 1/1;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule);
  transition: border-color 300ms var(--ease);
}
.cat-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 50% 40%, rgba(168,139,92,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cat-thumb svg {
  width: 65%; height: 65%;
  transition: transform 1.6s var(--ease);
}
.cat-item:hover .cat-thumb { border-color: var(--ink); }
.cat-item:hover .cat-thumb svg { transform: scale(1.08) rotate(-3deg); }

.cat-thumb .badge {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 5px 8px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule);
}
.cat-thumb .badge.unique { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cat-thumb .badge.rust { background: var(--rust); color: var(--paper); border-color: var(--rust); }

.cat-info {
  margin-top: 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.cat-info .head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
}
.cat-info .name {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 22px; letter-spacing: -0.01em;
  color: var(--ink);
}
.cat-info .price {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink); opacity: 0.7;
  white-space: nowrap;
}
.cat-info .meta {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.5;
}

@media (max-width: 900px) {
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 24px; row-gap: 50px; }
  .cat-bar { flex-direction: column; gap: 20px; align-items: flex-start; }
  .cat-filters { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .cat-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ATELIER (contacto / footer)
   ============================================================ */
.atelier {
  background: var(--ink);
  color: var(--paper);
  padding: 140px 80px 60px;
  min-height: auto;
}
.atelier .section-header { color: var(--paper); }
.atelier .section-header .rule { background: var(--rule-light); }

.atelier-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 100px;
  align-items: end;
}
.atelier-mark {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(60px, 11vw, 200px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.atelier-mark em { font-style: italic; color: var(--gold-soft); }
.atelier-info {
  display: flex; flex-direction: column; gap: 36px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--bone);
}
.atelier-info .row {
  display: flex; flex-direction: column; gap: 6px;
}
.atelier-info .row .lbl {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.5;
}
.atelier-info .row a, .atelier-info .row .v {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 24px; letter-spacing: -0.01em;
  color: var(--paper);
  text-transform: none;
}
.atelier-info .row a {
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color 200ms var(--ease);
}
.atelier-info .row a:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

.atelier-foot {
  margin-top: 120px;
  padding-top: 30px;
  border-top: 1px solid var(--rule-light);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}
.atelier-foot a { transition: opacity 200ms var(--ease); }
.atelier-foot a:hover { opacity: 1; }
.atelier-foot .colophon {
  display: flex; gap: 30px;
}

@media (max-width: 900px) {
  .atelier { padding: 100px 24px 40px; }
  .atelier-grid { grid-template-columns: 1fr; gap: 50px; }
  .atelier-foot { flex-direction: column; gap: 20px; align-items: flex-start; }
  .atelier-foot .colophon { flex-wrap: wrap; gap: 16px; }
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in {
  opacity: 1; transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { transform: none; }
}
