/* ============================================================
   PUNTO TESSUTO · editorial noir
   Casa de telas de alta costura · Lima. Blanco y negro puro,
   foto monocroma protagonista, Cormorant Garamond + STIX Two Text.
   Referencia de dirección: Kinfolk / The Row / Aesop. Restraint total,
   aire, tipografía como material. Tienda integrada (CMS We Creative).
   ============================================================ */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/puntotessuto/fonts/CormorantGaramond-Variable.ttf') format('truetype');
  font-weight: 300 700; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'STIX Two Text';
  src: url('/puntotessuto/fonts/STIXTwoText.ttf') format('truetype');
  font-weight: 400 700; font-display: swap;
}

:root {
  --ink: #000;
  --paper: #fff;
  --ink-80: rgba(0,0,0,.80);
  --ink-58: rgba(0,0,0,.58);
  --ink-40: rgba(0,0,0,.55);   /* micro-labels/meta — mínimo AA (≈4.8:1) para texto pequeño sobre blanco */
  --ink-30: rgba(0,0,0,.34);   /* solo decorativo (tachados, reglas), nunca texto informativo */
  --ink-14: rgba(0,0,0,.14);
  --ink-08: rgba(0,0,0,.08);
  --paper-72: rgba(255,255,255,.72);
  --paper-46: rgba(255,255,255,.46);
  --paper-16: rgba(255,255,255,.16);
  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --texto: 'STIX Two Text', Georgia, serif;
  --ease: cubic-bezier(.22,1,.36,1);
  --pad: clamp(1.4rem, 5vw, 5.5rem);
  --z-nav: 60; --z-progress: 70; --z-skip: 90; --z-cart: 95; --z-drawer: 100;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--texto);
  font-size: clamp(1rem, .55vw + .9rem, 1.12rem);
  line-height: 1.72; font-weight: 400;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1, "clig" 1, "calt" 1;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
:where(section, main)[id] { scroll-margin-top: 5.5rem; }

/* fotos: monocromo puro, unifica todo el material visual */
.ph { filter: grayscale(1) contrast(1.04) brightness(1.01); }

::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: var(--z-skip);
  background: var(--ink); color: var(--paper); padding: .7rem 1.1rem;
  font-family: var(--texto); font-size: .82rem; letter-spacing: .06em;
  transition: top .3s var(--ease);
}
.skip:focus { top: 1rem; }

/* ---------- tipografía ---------- */
.eyebrow, .label {
  font-family: var(--texto); font-weight: 500;
  font-size: .72rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--ink-40);
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0;
  letter-spacing: -.006em; line-height: 1.04; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; }
p { margin: 0; }

/* ---------- botones ---------- */
.btn {
  font-family: var(--texto); font-size: .8rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 48px; padding: 1rem 1.8rem; cursor: pointer; white-space: nowrap;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  transition: background .35s var(--ease), color .35s var(--ease), opacity .3s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.light { background: transparent; color: var(--paper); border-color: var(--paper-46); }
.btn.light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.block { width: 100%; }
.btn.small { min-height: 44px; padding: .7rem 1.1rem; letter-spacing: .12em; }
.btn:disabled { opacity: .38; cursor: not-allowed; }
.btn .arw { transition: transform .4s var(--ease); }
.btn:hover .arw { transform: translateX(5px); }

/* ---------- barra de progreso ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: var(--ink); z-index: var(--z-progress);
}
.hd.on-dark ~ .progress { background: var(--paper); }

/* ---------- cabecera ---------- */
.hd {
  position: fixed; top: 0; left: 0; width: 100%; z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.35rem var(--pad);
  transition: padding .45s var(--ease), background .45s var(--ease), color .45s var(--ease);
  color: var(--paper);
}
.hd::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--ink-14); opacity: 0; transition: opacity .45s var(--ease);
}
.hd.solid {
  background: rgba(255,255,255,.92); backdrop-filter: blur(9px);
  color: var(--ink); padding-top: .95rem; padding-bottom: .95rem;
}
.hd.solid::after { opacity: 1; }

.hd-lockup { display: inline-flex; align-items: center; height: 24px; line-height: 0; }
.hd-lockup .lg { height: 20px; width: auto; display: block; }
.hd-lockup .lg-dark { display: none; }
.hd.solid .hd-lockup .lg-light { display: none; }
.hd.solid .hd-lockup .lg-dark { display: block; }
@media (max-width: 600px) { .hd-lockup .lg { height: 17px; } }

.hd-nav { display: flex; align-items: center; gap: .1rem; }
.hd-nav a {
  font-family: var(--texto); font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; padding: .7rem .8rem; color: var(--paper-72);
  position: relative; transition: color .35s var(--ease);
}
.hd.solid .hd-nav a { color: var(--ink-58); }
.hd-nav a:hover { color: var(--paper); }
.hd.solid .hd-nav a:hover { color: var(--ink); }
.hd-nav a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .45rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .4s var(--ease);
}
.hd-nav a:hover::after { transform: scaleX(1); }

.hd-cart {
  font-family: var(--texto); color: inherit; background: none;
  border: 1px solid currentColor; cursor: pointer;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  min-height: 40px; padding: 0 .95rem; display: inline-flex; align-items: center; gap: .55rem;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.hd.solid .hd-cart:hover { background: var(--ink); color: var(--paper); }
.hd:not(.solid) .hd-cart:hover { background: var(--paper); color: var(--ink); }
.hd-cart-n {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px;
  font-size: .68rem; padding: 0 5px; font-variant-numeric: tabular-nums;
}
.hd-actions { display: flex; align-items: center; gap: .7rem; }
.hd-menu { display: none; background: none; border: none; cursor: pointer; width: 40px; height: 40px; padding: 0; color: inherit; align-items: center; justify-content: center; }
.hd-menu-bars, .hd-menu-bars::before, .hd-menu-bars::after {
  content: ""; display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.hd-menu-bars { position: relative; }
.hd-menu-bars::before { position: absolute; top: -6px; left: 0; }
.hd-menu-bars::after { position: absolute; top: 6px; left: 0; }
.hd.menu-open .hd-menu-bars { background: transparent; }
.hd.menu-open .hd-menu-bars::before { transform: translateY(6px) rotate(45deg); }
.hd.menu-open .hd-menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .hd-menu { display: inline-flex; }
  .hd-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--ink-14);
    padding: .6rem var(--pad) 1.2rem;
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
    box-shadow: 0 24px 40px -30px rgba(0,0,0,.4);
  }
  .hd.menu-open { background: var(--paper); color: var(--ink); }
  .hd.menu-open::after { opacity: 1; }
  .hd.menu-open .hd-lockup .lg-light { display: none; }
  .hd.menu-open .hd-lockup .lg-dark { display: block; }
  .hd.menu-open .hd-nav { transform: none; opacity: 1; pointer-events: auto; }
  .hd-nav a { color: var(--ink-58); padding: .95rem 0; font-size: .82rem; border-bottom: 1px solid var(--ink-08); }
  .hd-nav a::after { display: none; }
  .hd-nav a:hover { color: var(--ink); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100dvh; display: flex; align-items: flex-end;
  overflow: hidden; background: var(--ink);
}
.hero-img { position: absolute; inset: -8% 0 -8% 0; z-index: 0; will-change: transform; }
.hero-img img { width: 100%; height: 122%; object-fit: cover; object-position: 50% 42%; }
.hero-img::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 42%, rgba(0,0,0,.72) 100%),
    linear-gradient(75deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.08) 52%, rgba(0,0,0,0) 72%);
}
.hero-in {
  position: relative; z-index: 1; color: var(--paper); width: 100%; max-width: 1600px;
  padding: 0 var(--pad) clamp(3rem, 7vh, 6rem);
}
.hero-kicker {
  display: block; margin-bottom: 1.6rem; color: var(--paper-72);
  font-family: var(--texto); font-weight: 500; font-size: .72rem;
  letter-spacing: .34em; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.9rem, 8.4vw, 6rem); font-weight: 300;
  line-height: 1.0; letter-spacing: -.012em; max-width: 15ch;
}
.hero h1 em { font-style: italic; font-weight: 300; }
.hero-lead {
  margin-top: 2rem; max-width: 44ch; color: var(--paper-72);
  font-size: clamp(1rem, .4vw + .95rem, 1.18rem); line-height: 1.66;
}
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2.2rem; }
.hero-scroll {
  position: absolute; bottom: clamp(1.6rem, 4vh, 2.4rem); right: var(--pad); z-index: 1;
  display: flex; align-items: center; gap: .7rem; color: var(--paper-46);
  font-family: var(--texto); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll .rule { width: 1px; height: 56px; background: var(--paper-46); }
@media (max-width: 820px) { .hero-scroll { display: none; } }

/* animación de entrada del hero (solo con html.anim) */
html.anim .hero-kicker,
html.anim .hero h1,
html.anim .hero-lead,
html.anim .hero-cta { transform: translateY(28px); opacity: 0; }
html.anim .hero.enter .hero-kicker,
html.anim .hero.enter h1,
html.anim .hero.enter .hero-lead,
html.anim .hero.enter .hero-cta {
  transform: translateY(0); opacity: 1;
  transition: transform 1.2s var(--ease), opacity 1.2s var(--ease);
}
html.anim .hero.enter .hero-kicker { transition-delay: .05s; }
html.anim .hero.enter h1 { transition-delay: .16s; }
html.anim .hero.enter .hero-lead { transition-delay: .44s; }
html.anim .hero.enter .hero-cta { transition-delay: .58s; }

/* ---------- envoltorios ---------- */
.wrap { max-width: 1400px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- manifiesto ---------- */
.intro { padding: clamp(7rem, 17vh, 15rem) 0; }
.intro .wrap { max-width: 1180px; }
.intro .eyebrow { display: block; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.intro blockquote { margin: 0; }
.intro .big {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(2rem, 4.8vw, 3.7rem); line-height: 1.14; letter-spacing: -.01em;
  max-width: 20ch;
}
.intro .big em { font-style: italic; }
.intro .intro-sub {
  margin-top: clamp(2rem, 4vw, 2.8rem); max-width: 52ch;
  font-size: clamp(1.02rem, .4vw + .95rem, 1.2rem); color: var(--ink-58); line-height: 1.7;
}

/* ---------- muestrario · cabecera ---------- */
.telas { padding: 0 0 clamp(4rem, 9vw, 8rem); }
.telas-hd {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
  flex-wrap: wrap; padding: 0 0 clamp(2.6rem, 5vw, 4rem);
}
.telas-hd .eyebrow { display: block; margin-bottom: 1.3rem; }
.telas-hd h2 { font-size: clamp(2.1rem, 5.4vw, 4rem); font-weight: 300; max-width: 16ch; }
.telas-hd-side { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; max-width: 42ch; }
.telas-hd-side p { color: var(--ink-58); }
.hd-link {
  font-family: var(--texto); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--ink-40); padding-bottom: 3px;
  white-space: nowrap; transition: border-color .3s var(--ease);
}
.hd-link .arw { display: inline-block; transition: transform .4s var(--ease); }
.hd-link:hover { border-color: var(--ink); }
.hd-link:hover .arw { transform: translateX(4px); }

/* ---------- rejilla de telas (teaser home + relacionados + filtros) ---------- */
.fabrics {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(2.6rem, 3.5vw, 4rem) clamp(1.6rem, 2.4vw, 2.6rem);
}
.fabric { display: flex; flex-direction: column; }
.fabric-media {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #eceae6;
}
.fabric-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.fabric:hover .fabric-media img { transform: scale(1.045); }
.fabric-flag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2; background: var(--paper); color: var(--ink);
  font-family: var(--texto); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  padding: .45rem .7rem; font-weight: 500;
}
.is-out .fabric-media img { opacity: .62; }
.fabric-body { padding-top: 1.2rem; display: flex; flex-direction: column; flex: 1; }
.fabric-top { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; }
.fabric-cat { font-family: var(--texto); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-40); }
.fabric-ref { font-family: var(--texto); font-size: .68rem; letter-spacing: .1em; color: var(--ink-40); }
.fabric-name { font-family: var(--display); font-size: 1.7rem; font-weight: 400; margin-top: .35rem; }
.fabric-name a:hover { opacity: .6; }
.fabric-spec { font-size: .86rem; color: var(--ink-40); margin-top: .2rem; }
.fabric-foot {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--ink-14);
}
.price { display: inline-flex; align-items: baseline; gap: .35rem; white-space: nowrap; font-family: var(--display); font-variant-numeric: lining-nums tabular-nums; }
.price b { font-weight: 500; font-size: 1.4rem; }
.price .per { font-family: var(--texto); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-40); }
.price-was { font-family: var(--texto); font-size: .9rem; color: var(--ink-30); text-decoration: line-through; margin-right: .3rem; }
.fabric-cta {
  font-family: var(--texto); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); border: none; background: none; cursor: pointer; padding: .35rem 0;
  border-bottom: 1px solid var(--ink); transition: opacity .25s var(--ease);
}
.fabric-cta:hover { opacity: .5; }
.out-note { font-family: var(--texto); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-40); }

/* ---------- catálogo editorial · spreads (página tienda) ---------- */
.spreads { border-top: 1px solid var(--ink-08); }
.spread[hidden], .fabric[hidden] { display: none !important; }
.spread {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(2rem, 5vw, 6rem); padding: clamp(3.5rem, 7vw, 7rem) 0;
  border-bottom: 1px solid var(--ink-08);
}
.spread .art { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #eceae6; }
.spread .art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); will-change: transform; }
.spread:hover .art img { transform: scale(1.045); }
.spread.is-out .art img { opacity: .6; }
.spread .art .cat {
  position: absolute; top: 1rem; left: 1rem; z-index: 2; color: var(--paper);
  font-family: var(--texto); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase;
  mix-blend-mode: difference;
}
.spread .art .flag {
  position: absolute; top: 1rem; right: 1rem; z-index: 2; background: var(--paper); color: var(--ink);
  font-family: var(--texto); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  padding: .45rem .7rem; font-weight: 500;
}
.spread .txt { max-width: 34rem; }
.spread .idx { font-family: var(--display); font-style: italic; font-size: 1.05rem; color: var(--ink-40); margin-bottom: 1.1rem; }
.spread h3, .spread h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 400; margin-bottom: .15rem; }
.spread .sku { font-family: var(--texto); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-40); }
.spread .desc { margin-top: 1.4rem; color: var(--ink-80); max-width: 42ch; line-height: 1.72; }
.spread .meta {
  margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: 0 2.4rem; row-gap: .55rem;
  border-top: 1px solid var(--ink-14); padding-top: 1.4rem;
}
.spread .meta div { display: flex; flex-direction: column; gap: .15rem; }
.spread .meta dt { font-family: var(--texto); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-40); }
.spread .meta dd { margin: 0; font-family: var(--display); font-size: 1.15rem; }
.spread .buyline { margin-top: 1.9rem; display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.spread .price b { font-size: 1.7rem; }
.spread:nth-child(even) .art { order: 2; }
@media (max-width: 860px) {
  .spread { grid-template-columns: 1fr; gap: 1.8rem; padding: 3.2rem 0; }
  .spread:nth-child(even) .art { order: 0; }
  .spread .art { aspect-ratio: 3 / 4; max-height: 78vh; }
}

/* ---------- el oficio (banda oscura) ---------- */
.craft { background: var(--ink); color: var(--paper); padding: clamp(6rem, 13vh, 12rem) 0; }
.craft .eyebrow { color: var(--paper-46); display: block; margin-bottom: 1.4rem; }
.craft h2 { font-size: clamp(2.1rem, 5.4vw, 4rem); font-weight: 300; max-width: 14ch; color: var(--paper); }
.craft h2 em { color: var(--paper); }
.craft .steps { margin-top: clamp(3.5rem, 8vw, 6rem); display: flex; flex-direction: column; }
.craft .step {
  display: grid; grid-template-columns: 6rem 1fr; gap: clamp(1.2rem, 4vw, 3.2rem);
  align-items: baseline; padding: clamp(1.8rem, 4vw, 2.7rem) 0; border-top: 1px solid var(--paper-16);
}
.craft .step .n { font-family: var(--display); font-style: italic; font-size: 1.5rem; color: var(--paper-46); }
.craft .step .body { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 32rem); gap: clamp(1rem, 4vw, 3rem); align-items: baseline; }
.craft .step h3 { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 400; color: var(--paper); }
.craft .step p { color: var(--paper-72); line-height: 1.66; }
@media (max-width: 760px) {
  .craft .step { grid-template-columns: 3.2rem 1fr; gap: 1rem; }
  .craft .step .body { grid-template-columns: 1fr; gap: .7rem; }
}

/* ---------- la casa (atelier) ---------- */
.studio { padding: clamp(6rem, 13vh, 12rem) 0; }
.studio .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2.4rem, 6vw, 6rem); align-items: center; }
.studio .art { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #eceae6; }
.studio .art img { position: absolute; top: -13%; left: 0; width: 100%; height: 126%; object-fit: cover; will-change: transform; }
.studio .eyebrow { display: block; margin-bottom: 1.3rem; }
.studio h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 300; max-width: 16ch; margin-bottom: 1.8rem; }
.studio .story p { color: var(--ink-80); margin-bottom: 1.1rem; max-width: 46ch; }
.studio .services { margin-top: 2.6rem; border-top: 1px solid var(--ink-14); }
.studio .srv { display: grid; grid-template-columns: minmax(0, 13rem) 1fr; gap: 1rem 2rem; padding: 1.15rem 0; border-bottom: 1px solid var(--ink-08); align-items: baseline; }
.studio .srv h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 500; }
.studio .srv p { color: var(--ink-58); font-size: .98rem; line-height: 1.6; }
.studio .studio-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2.4rem; }
@media (max-width: 900px) {
  .studio .grid { grid-template-columns: 1fr; gap: 2rem; }
  .studio .art { max-height: 80vh; }
  .studio .srv { grid-template-columns: 1fr; gap: .2rem; padding: 1rem 0; }
}

/* ---------- CTA de sección ---------- */
.band-cta { padding: clamp(7rem, 17vh, 14rem) 0 clamp(4rem, 8vh, 7rem); }
.band-cta .wrap { max-width: 1180px; }
.band-cta .eyebrow { display: block; margin-bottom: 2rem; }
.band-cta h2 { font-size: clamp(2.6rem, 8vw, 5.4rem); font-weight: 300; letter-spacing: -.012em; line-height: 1; }
.band-cta .lead { margin-top: 2rem; max-width: 42ch; color: var(--ink-58); font-size: clamp(1.02rem, .4vw + .95rem, 1.2rem); }
.band-cta .band-cta-btns { margin-top: 2.6rem; display: flex; gap: .8rem; flex-wrap: wrap; }

/* ============================================================
   PÁGINAS INTERNAS · encabezado
   ============================================================ */
.page { padding-top: calc(72px + clamp(1.4rem, 5vw, 3.4rem)); }
.page-head { max-width: 1180px; margin: 0 auto clamp(2.4rem, 5vw, 4rem); padding: 0 var(--pad); }
.crumbs { font-family: var(--texto); font-size: .74rem; letter-spacing: .06em; color: var(--ink-40); margin-bottom: 1.8rem; }
.crumbs a { color: var(--ink-40); }
.crumbs a:hover { color: var(--ink); }
.page-head h1 { font-size: clamp(2.5rem, 6.4vw, 4.8rem); font-weight: 300; }
.page-lead { max-width: 54ch; margin-top: 1.4rem; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-58); line-height: 1.6; }

/* filtros de la tienda */
.telas--all { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: clamp(1rem, 3vw, 2rem); }
.filter {
  font-family: var(--texto); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-40); background: transparent; border: 1px solid var(--ink-14);
  padding: .7rem 1.2rem; min-height: 42px; cursor: pointer;
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.filter:hover { color: var(--ink); border-color: var(--ink-40); }
.filter.is-on { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.filter-empty { color: var(--ink-40); padding: 2.5rem 0; }

.page-cta { text-align: center; padding: clamp(4rem, 9vw, 8rem) var(--pad); border-top: 1px solid var(--ink-08); }
.page-cta .eyebrow { display: block; margin-bottom: 1.2rem; }
.page-cta p { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 300; max-width: 28ch; margin: 0 auto 1.8rem; line-height: 1.28; }
.page-cta-btns { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FICHA DE PRODUCTO
   ============================================================ */
.pdp { padding: calc(72px + clamp(1.4rem, 4vw, 2.6rem)) var(--pad) clamp(4rem, 8vw, 8rem); max-width: 1360px; margin: 0 auto; }
.pdp .crumbs { margin-bottom: 2.2rem; }
.pdp-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.2rem, 5vw, 5.5rem); align-items: start; }
.pdp-media { aspect-ratio: 4 / 5; overflow: hidden; background: #eceae6; }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { position: sticky; top: 96px; }
.pdp-top { display: flex; gap: 1rem; align-items: baseline; justify-content: space-between; }
.pdp-info h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 300; margin: .5rem 0 .9rem; }
.pdp-short { font-size: 1.08rem; color: var(--ink-58); max-width: 46ch; margin-bottom: 1.5rem; }
.pdp-price { font-family: var(--display); font-size: 2.1rem; font-weight: 500; margin-bottom: .3rem; font-variant-numeric: lining-nums tabular-nums; }
.pdp-price .per { font-family: var(--texto); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 400; color: var(--ink-40); margin-left: .5rem; }
.pdp-price .price-was { font-size: 1.1rem; }
.pdp-roll { font-family: var(--texto); font-size: .86rem; color: var(--ink-58); margin-bottom: .4rem; }
.pdp-opts { margin: 1.6rem 0 .3rem; }
.pdp-opts-lbl { display: block; font-family: var(--texto); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-40); margin-bottom: .8rem; }
.opts { display: flex; flex-wrap: wrap; gap: .6rem; }
.opt {
  font-family: var(--texto); font-size: .82rem; cursor: pointer;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  padding: .75rem 1.2rem; min-height: 44px; transition: background .25s var(--ease), color .25s var(--ease);
}
.opt:hover, .opt.sel { background: var(--ink); color: var(--paper); }
.opt.out { opacity: .34; cursor: not-allowed; text-decoration: line-through; }
.pdp-stock { font-family: var(--texto); font-size: .84rem; color: var(--ink-58); margin-top: .8rem; }
.pdp-actions { margin: 1.7rem 0 .6rem; }
.pdp-min { font-family: var(--texto); font-size: .82rem; color: var(--ink-40); margin-top: .8rem; }
.label-tag { margin: 2rem 0; border-top: 1px solid var(--ink-14); }
.label-tag-hd { display: block; font-family: var(--texto); font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-40); margin: 1.4rem 0 .6rem; }
.label-tag dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--ink-08); }
.label-tag dt { color: var(--ink-40); font-size: .92rem; }
.label-tag dd { font-family: var(--display); font-size: 1.05rem; }
.pdp-desc { margin-top: 1.7rem; }
.pdp-desc h2 { font-size: 1.5rem; font-weight: 400; margin-bottom: .5rem; }
.pdp-desc p { color: var(--ink-58); max-width: 56ch; }
.pdp-trust { list-style: none; margin-top: 1.7rem; }
.pdp-trust li { padding: .7rem 0; font-family: var(--texto); font-size: .9rem; color: var(--ink-58); border-top: 1px solid var(--ink-08); }
.pdp-trust li::before { content: "—"; color: var(--ink-40); margin-right: .7rem; }

.related { margin-top: clamp(4rem, 8vw, 7rem); }
.related h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 300; margin-bottom: 2.2rem; }
.related h2 em { font-style: italic; }
@media (max-width: 940px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pdp-info { position: static; }
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2.4rem, 6vw, 5.5rem); max-width: 1180px; margin: 0 auto; padding: 0 var(--pad) clamp(5rem, 10vw, 9rem); align-items: start; }
.contact-order .eyebrow { display: block; margin-bottom: 2rem; }
.order-steps { list-style: none; display: grid; gap: 0; margin-bottom: 2.4rem; }
.ostep { display: grid; grid-template-columns: 3.4rem 1fr; gap: 1.2rem; align-items: baseline; border-top: 1px solid var(--ink-14); padding: 1.4rem 0; }
.ostep .step-n { font-family: var(--display); font-style: italic; font-size: 1.4rem; color: var(--ink-40); }
.ostep h2 { font-size: 1.4rem; font-weight: 400; margin-bottom: .2rem; }
.ostep p { color: var(--ink-58); font-size: .98rem; }
.contact-card { background: var(--ink); color: var(--paper); padding: clamp(1.8rem, 4vw, 2.8rem); }
.contact-card h2 { font-size: 1.9rem; font-weight: 300; margin-bottom: 1.6rem; color: var(--paper); }
.contact-dl { display: grid; gap: 1.1rem; margin-bottom: 1.8rem; }
.cline dt { font-family: var(--texto); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--paper-46); margin-bottom: .25rem; }
.cline dd { font-family: var(--display); font-size: 1.2rem; color: var(--paper); }
.cline dd a { border-bottom: 1px solid var(--paper-16); padding-bottom: 2px; }
.cline dd a:hover { border-color: var(--paper); }
.clinks { display: flex; gap: 1.2rem; }
.contact-ways { display: grid; gap: .7rem; margin-bottom: 1.2rem; }
.contact-card .btn { border-color: var(--paper); }
.contact-card .btn:not(.ghost) { background: var(--paper); color: var(--ink); }
.contact-card .btn:not(.ghost):hover { background: transparent; color: var(--paper); }
.contact-card .btn.ghost { color: var(--paper); }
.contact-card .btn.ghost:hover { background: var(--paper); color: var(--ink); }
.contact-note { font-family: var(--texto); font-size: .86rem; color: var(--paper-46); line-height: 1.55; }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }

/* ============================================================
   PIE
   ============================================================ */
.ft { background: var(--ink); color: var(--paper); padding: clamp(3rem, 7vw, 5rem) 0 2.4rem; }
.ft .wrap { max-width: 1400px; }
.ft-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: flex-start; padding-bottom: 2.6rem; border-bottom: 1px solid var(--paper-16); }
.ft-logo { height: 26px; width: auto; display: block; }
.ft-tag { margin-top: 1rem; color: var(--paper-46); font-size: .88rem; max-width: 26ch; line-height: 1.6; }
.ft-nav { display: flex; gap: 2.4rem; flex-wrap: wrap; }
.ft-nav a { font-family: var(--texto); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-72); transition: color .3s var(--ease); }
.ft-nav a:hover { color: var(--paper); }
.ft-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.8rem; color: var(--paper-46); font-size: .76rem; letter-spacing: .04em; }
.ft-meta a { color: var(--paper-72); }
.ft-meta b { color: var(--paper-72); font-weight: 500; }

.owner { background: #0a0a0a; color: var(--paper-72); padding: 1.6rem var(--pad); font-family: var(--texto); font-size: .82rem; display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; flex-wrap: wrap; border-top: 1px solid var(--paper-16); }
.owner p { max-width: 74ch; }
.owner b { color: var(--paper); font-weight: 500; }
.owner a { color: var(--paper); font-weight: 500; letter-spacing: .06em; border-bottom: 1px solid var(--paper-46); padding-bottom: 2px; }

/* ============================================================
   NOTA DE PEDIDO (drawer)
   ============================================================ */
.cart-back { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: var(--z-cart); }
.cart { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); border-left: 1px solid var(--ink-14); z-index: var(--z-drawer); display: flex; flex-direction: column; box-shadow: -30px 0 60px -30px rgba(0,0,0,.5); }
.cart[hidden], .cart-back[hidden] { display: none !important; }
.cart-hd { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--ink-14); }
.cart-kicker { display: block; font-family: var(--texto); font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-40); margin-bottom: .2rem; }
.cart-hd b { font-family: var(--display); font-size: 1.5rem; font-weight: 400; }
.cart-x { background: none; border: 1px solid var(--ink); color: var(--ink); width: 44px; height: 44px; cursor: pointer; font-size: 1rem; transition: background .25s, color .25s; }
.cart-x:hover { background: var(--ink); color: var(--paper); }
.cart-body { flex: 1; overflow-y: auto; padding: .4rem 1.5rem; }
.ci { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--ink-08); }
.ci-img img { width: 62px; height: 78px; object-fit: cover; }
.ci-main { flex: 1; }
.ci-name { font-family: var(--display); font-size: 1.15rem; font-weight: 500; }
.ci-price { font-family: var(--texto); font-size: .84rem; color: var(--ink-40); margin: .1rem 0 .6rem; }
.ci-qty { display: inline-flex; align-items: center; border: 1px solid var(--ink); }
.ci-qty button { background: none; border: none; width: 34px; height: 34px; cursor: pointer; font-size: 1rem; color: var(--ink); }
.ci-qty button:hover { background: var(--ink); color: var(--paper); }
.ci-qty span { min-width: 40px; text-align: center; font-size: .9rem; font-variant-numeric: tabular-nums; }
.ci-del { background: none; border: none; border-left: 1px solid var(--ink-14); color: var(--ink-40); font-family: var(--texto); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; height: 34px; margin-left: .6rem; padding: 0 .8rem; }
.ci-del:hover { color: var(--ink); }
.cart-empty { padding: 1.8rem 1.5rem; color: var(--ink-40); }
.cart-foot { border-top: 1px solid var(--ink); padding: 1.1rem 1.5rem 1.4rem; }
.cart-coupon { display: flex; gap: .5rem; margin-bottom: .5rem; }
.cart-coupon input { flex: 1; border: 1px solid var(--ink-14); background: var(--paper); color: var(--ink); padding: .7rem .75rem; min-height: 44px; font-family: var(--texto); font-size: .9rem; }
.cart-coupon input::placeholder { color: var(--ink-40); }
.cart-cmsg { font-family: var(--texto); font-size: .82rem; margin: .1rem 0 .4rem; }
.cart-cmsg.ok { color: var(--ink); font-weight: 500; }
.cart-cmsg.err { color: var(--ink-58); }
.cart-lines { margin: .6rem 0 .4rem; }
.cart-line { display: flex; justify-content: space-between; padding: .4rem 0; font-family: var(--texto); font-size: .95rem; }
.cart-disc em { font-style: normal; color: var(--ink-40); font-size: .82rem; letter-spacing: .06em; }
.cart-total { border-top: 1px solid var(--ink); margin-top: .3rem; padding-top: .8rem; }
.cart-total b { font-family: var(--display); font-size: 1.4rem; }
.cart-note { font-family: var(--texto); font-size: .76rem; color: var(--ink-40); margin: .7rem 0 1rem; line-height: 1.5; }
.cart-err { font-family: var(--texto); font-size: .85rem; margin-top: .7rem; color: var(--ink); font-weight: 500; }
body.cart-on { overflow: hidden; }

/* ============================================================
   GRACIAS
   ============================================================ */
.thanks { min-height: 82vh; display: grid; place-items: center; padding: 120px var(--pad) 64px; text-align: center; }
.thanks-in { max-width: 520px; }
.thanks .eyebrow { display: block; margin-bottom: 1rem; }
.thanks h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 300; margin-bottom: 1rem; }
.thanks h1 em { font-style: italic; }
.thanks p { color: var(--ink-58); margin-bottom: 1.8rem; }

/* ============================================================
   REVEALS + PARALLAX (gateados en html.anim)
   ============================================================ */
html.anim .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.anim .reveal.in { opacity: 1; transform: none; }
html.anim .stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.anim .stagger.in > * { opacity: 1; transform: none; }
html.anim .stagger.in > *:nth-child(2) { transition-delay: .08s; }
html.anim .stagger.in > *:nth-child(3) { transition-delay: .16s; }
html.anim .stagger.in > *:nth-child(4) { transition-delay: .24s; }
html.anim .stagger.in > *:nth-child(5) { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
  html.anim .reveal, html.anim .stagger > *,
  html.anim .hero-kicker, html.anim .hero h1, html.anim .hero-lead, html.anim .hero-cta { opacity: 1 !important; transform: none !important; }
  .hero-img img, .studio .art img { transform: none !important; }
  .spread:hover .art img, .fabric:hover .fabric-media img { transform: none; }
}

/* ---------- responsive general ---------- */
@media (max-width: 720px) {
  .fabrics { grid-template-columns: 1fr; gap: 3rem; }
  .telas-hd { flex-direction: column; align-items: flex-start; }
  .telas-hd-side { max-width: none; }
  .ft-top { flex-direction: column; align-items: flex-start; }
  .owner { flex-direction: column; align-items: flex-start; }
}
