/* ==========================================================================
   Línea B Amoblamientos — styles.css
   Paleta tomada del logo: dorado #D1A656 sobre crema cálido.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #F5F0E7;          /* papel natural */
  --bg-2: #FAF7F1;        /* marfil cálido */
  --bg-3: #EBE3D3;
  --cream: #35332F;       /* grafito: títulos */
  --text: #3F3B35;
  --muted: #7F776A;
  --soft: #5E574D;
  --gold: #D1A656;        /* dorado del logo: botones y detalles */
  --gold-hi: #DDB66A;
  --gold-lo: #A9812F;
  --gold-text: #78604C;   /* marrón nogal */
  --wood: #B58B63;
  --on-dark: #F5F0E7;
  --line: rgba(120, 96, 76, .22);

  --font-title: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --max: 1180px;
  --radius: 4px;
  --header-h: 68px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 600; line-height: 1.06; margin: 0; letter-spacing: -.02em; font-variation-settings: "SOFT" 100, "WONK" 1; }
p { margin: 0; }
em { font-style: italic; color: var(--gold-text); font-weight: 600; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--bg); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 140px); scroll-margin-top: var(--header-h); }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .75rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); flex: none; }

.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--soft); max-width: 52ch; }

/* ---------- 3. Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  text-decoration: none; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.btn .ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-gold { background: var(--gold); color: #1A150C; box-shadow: 0 10px 30px -12px rgba(209, 166, 86, .65); }
.btn-gold:hover { background: var(--gold-hi); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: .86rem; }
.btn-lg { padding: 19px 36px; font-size: 1.05rem; }

.link-arrow {
  color: var(--text); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid var(--gold); padding-bottom: 3px;
  transition: color .2s, gap .2s;
}
.link-arrow:hover { color: var(--gold-text); }
.link-arrow span { display: inline-block; transition: transform .25s; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- 4. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(245, 240, 231, .96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { height: 40px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-title); font-weight: 700; font-size: 1.3rem; color: var(--cream); letter-spacing: -.01em; }
.brand-text small { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-text); margin-top: 4px; font-weight: 400; }

.nav { display: flex; gap: 30px; }
.nav a { text-decoration: none; font-size: .9rem; color: var(--soft); position: relative; padding-block: 6px; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width .3s; }
.nav a:hover { color: var(--cream); }
.nav a:hover::after { width: 100%; }

.burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--cream); transition: transform .3s, top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero { padding-top: calc(var(--header-h) + clamp(32px, 6vw, 80px)); padding-bottom: clamp(56px, 8vw, 110px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  display: none;
}
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: center; position: relative; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.9rem); font-weight: 650; line-height: 1.12; margin-bottom: 26px; }
.h1-sub { display: block; margin-top: 16px; font-size: .36em; font-weight: 600; letter-spacing: .01em; color: var(--gold-text); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; margin-top: 34px; }
.hero-note { margin-top: 22px; font-size: .86rem; color: var(--muted); }

.hero-media { margin: 0; position: relative; width: 100%; max-width: min(100%, 64vh); justify-self: center; }
.hero-frame { position: relative; will-change: transform; }
.hero-frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold); border-radius: var(--radius); z-index: 0;
}
.hero-frame img {
  position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #F4F4F1;
  border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(70, 50, 20, .45);
}
.hero-media figcaption { margin-top: 30px; font-size: .78rem; color: var(--muted); letter-spacing: .06em; }

/* ---------- 6. Cinta ---------- */
.ribbon { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding-block: 18px; }
.ribbon-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: slide 38s linear infinite; }
.ribbon-track span { font-family: var(--font-body); font-weight: 600; font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); white-space: nowrap; }
.ribbon-track i { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 7. Secciones: cabecera ---------- */
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 780px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 650; }
.section-lead { margin-top: 20px; color: var(--muted); max-width: 52ch; }

/* ---------- 8. Servicios ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 6vw, 88px); }
.service { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding-block: 34px; border-top: 1px solid var(--line); }
.service .num { font-family: var(--font-title); font-weight: 700; font-size: 1.05rem; color: var(--gold-text); padding-top: 5px; }
.service h3 { font-size: clamp(1.25rem, 2.1vw, 1.65rem); font-weight: 700; margin-bottom: 10px; color: var(--cream); }
.service p { color: var(--soft); font-size: .98rem; max-width: 44ch; }

/* ---------- 9. Galería ---------- */
.gallery { display: grid; grid-template-columns: minmax(0, 620px); gap: 20px; align-items: start; justify-content: start; }
.shot {
  display: block; position: relative; width: 100%; margin: 0 0 20px; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--bg-3); cursor: zoom-in; break-inside: avoid; color: inherit; font: inherit; text-align: left;
}
.shot img { width: 100%; height: auto; transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .5s; }
.shot:hover img { transform: scale(1.045); }
.shot-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 38px 18px 16px;
  background: linear-gradient(to top, rgba(14, 12, 9, .92), transparent);
  font-size: .85rem; font-weight: 500; color: var(--on-dark);
  transform: translateY(6px); opacity: .92; transition: transform .35s, opacity .35s;
}
.shot:hover .shot-cap, .shot:focus-visible .shot-cap { transform: none; opacity: 1; }
.shot-cap::before { content: ""; display: block; width: 24px; height: 2px; background: var(--gold); margin-bottom: 8px; }
.gallery-more { margin-top: 28px; color: var(--muted); }
.gallery-more a { color: var(--gold-text); text-decoration: none; border-bottom: 1px solid var(--line); }
.gallery-more a:hover { border-color: var(--gold); }

/* ---------- 9b. Modelos ---------- */
.models { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 48px); }
.model figure { margin: 0 0 22px; position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.model figure img { width: 100%; height: auto; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.model:hover figure img { transform: scale(1.03); }
.model figcaption { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; background: rgba(34,28,21,.82); color: #E3BC70; border: 1px solid var(--line); }
.model h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--cream); margin-bottom: 14px; }
.model ul { list-style: none; margin: 0 0 16px; padding: 0; }
.model li { padding: 9px 0 9px 22px; border-bottom: 1px solid var(--line); color: var(--soft); font-size: .96rem; position: relative; }
.model li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--gold); transform: rotate(45deg) scale(.7); }
.model-dim { font-size: .85rem; color: var(--muted); }
.models-cta { margin-top: clamp(32px, 5vw, 56px); text-align: center; }

.sub-head { margin: clamp(56px, 8vw, 100px) 0 clamp(28px, 4vw, 44px); }
.sub-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 650; }
.section-lead a { color: var(--gold-text); text-decoration: none; border-bottom: 1px solid var(--line); }
.catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.item figure { margin: 0 0 16px; position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #EFEAE0; }
.item figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.item:hover figure img { transform: scale(1.04); }
.item figcaption { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(34,28,21,.82); color: #E3BC70; border: 1px solid var(--line); }
.item h4 { font-family: var(--font-title); font-weight: 700; font-size: 1.2rem; color: var(--cream); margin: 0 0 6px; }
.item p { color: var(--soft); font-size: .9rem; }

/* ---------- 10. Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); counter-reset: s; }
.step { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3vw, 38px); position: relative; }
.step-n {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: #1A150C; font-family: var(--font-title); font-weight: 800; font-size: 1.2rem; margin-bottom: 22px;
}
.step h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--cream); }
.step p { color: var(--soft); font-size: .96rem; }

/* ---------- 11. Contacto ---------- */
.contact { background: linear-gradient(180deg, var(--bg) 0%, #EFE7D8 100%); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.contact-in { position: relative; display: grid; }
.contact-mark { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); height: clamp(220px, 34vw, 420px); width: auto; opacity: .09; pointer-events: none; }
.contact-copy { position: relative; max-width: 640px; }
.contact h2 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 650; margin-bottom: 22px; }
.contact .hero-cta { margin-top: 32px; }
.contact-list { list-style: none; margin: 46px 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.contact-list span { color: var(--muted); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; padding-top: 3px; }
.contact-list a, .contact-list b { color: var(--cream); font-weight: 500; text-decoration: none; text-align: right; }
.contact-list a:hover { color: var(--gold-text); }

/* ---------- 12. Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 28px; font-size: .84rem; color: var(--muted); }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.foot-in a { text-decoration: none; }
.foot-in a:hover { color: var(--gold-text); }

/* ---------- 13. WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--gold); color: #1A150C;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -8px rgba(70, 50, 20, .45), 0 0 0 0 rgba(209, 166, 86, .5);
  animation: pulse 2.8s ease-out infinite;
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
@keyframes pulse { 0% { box-shadow: 0 14px 30px -8px rgba(70,50,20,.45), 0 0 0 0 rgba(209,166,86,.55); } 70%, 100% { box-shadow: 0 14px 30px -8px rgba(70,50,20,.45), 0 0 0 18px rgba(209,166,86,0); } }

/* ---------- 14. Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 9, 7, .94); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(92vw, 980px); }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: var(--radius); }
.lightbox figcaption { margin-top: 14px; text-align: center; color: #D8CFBC; font-size: .9rem; }
.lb-close { position: absolute; top: 14px; right: 18px; width: 48px; height: 48px; font-size: 2.2rem; line-height: 1; color: var(--on-dark); background: none; border: 0; cursor: pointer; }
.lb-close:hover { color: var(--gold); }

/* ---------- 15. Reveals (el contenido es visible si falla el JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
/* defensivo: nunca dejar texto dividido oculto */
.reveal[data-split] { opacity: 1; transform: none; }

/* ---------- 16. Responsive ---------- */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-media { max-width: 440px; margin-inline: auto; width: 100%; }
  .hero-frame::before { inset: 14px -10px -14px 10px; }
  .services { grid-template-columns: 1fr; }
  .models { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .header-in .btn-sm { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(245, 240, 231, .99); border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 22px; transform: translateY(-120%); transition: transform .35s ease; visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { font-size: 1.15rem; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .site-header { background: rgba(245, 240, 231, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero h1 { font-size: 2.55rem; }
  .btn-lg, .hero-cta .btn { width: 100%; }
  .contact-list li { flex-direction: column; gap: 4px; }
  .contact-list a, .contact-list b { text-align: left; }
  .service { grid-template-columns: 44px 1fr; }
  .wa-float { right: 14px; bottom: 14px; }
}


/* ---------- 17. Aire artesanal: grano de papel y sello ---------- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42  0 0 0 0 .34  0 0 0 0 .2  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.site-header, main, .site-footer { position: relative; z-index: 2; }
.wa-float { z-index: 60; }
.lightbox { z-index: 100; }
.stamp { position: absolute; right: -22px; bottom: 54px; width: 128px; height: 128px; color: var(--gold-text); transform: rotate(-12deg); z-index: 3;
  background: var(--bg); border-radius: 50%; box-shadow: 0 8px 22px -10px rgba(70,50,20,.35); }
.stamp svg { width: 100%; height: 100%; font-family: var(--font-title); fill: currentColor; }
.stamp text { font-family: var(--font-title); font-weight: 600; }
@media (max-width: 960px) { .stamp { right: -6px; bottom: 36px; width: 104px; height: 104px; } }

/* Logo: mismo isotipo, con borde apenas irregular (cortado a mano) y nombre en la fuente de títulos */
.brand img, .contact-mark { filter: url(#rough); }
.brand-text strong { font-style: italic; font-weight: 700; }
.brand-text small { margin-top: 7px; }


/* ---------- 18. Bocetos a lápiz: se integran al papel y revelan el diseño ---------- */
.sk { position: relative; cursor: pointer; outline-offset: 6px; }
.sk img { transition: opacity .7s ease; }
.sk-line { mix-blend-mode: multiply; }
.sk-real { opacity: 0; }
.sk figcaption { opacity: 0; transition: opacity .5s ease .1s; }
@media (hover: hover) {
  .sk:hover .sk-line, .sk:focus-visible .sk-line { opacity: 0; }
  .sk:hover .sk-real, .sk:focus-visible .sk-real { opacity: 1; }
  .sk:hover figcaption, .sk:focus-visible figcaption { opacity: 1; }
}
.sk.is-on .sk-line { opacity: 0; }
.sk.is-on .sk-real { opacity: 1; }
.sk.is-on figcaption { opacity: 1; }

/* portada: sin marco, el dibujo vive sobre el papel */
.hero-media.sk { margin: 0; max-width: min(100%, 64vh); width: 100%; justify-self: center; }
.sk-stage { position: relative; aspect-ratio: 1 / 1; mix-blend-mode: multiply; }
.sk-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sk-hero .sk-line, .sk-hero .sk-real { mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); }
.sk-hint { margin-top: 6px; font-size: .8rem; color: var(--muted); text-align: center; font-style: italic; font-family: var(--font-title); }
.hint-touch { display: none; }
@media (hover: none) { .hint-hover { display: none; } .hint-touch { display: inline; } }
.sk-hero .stamp { right: 2%; bottom: 14%; }

/* tarjetas: foto "pegada" con cinta, apenas torcida */
.item figure.sk, .model figure.sk { overflow: visible; background: var(--bg-2); border: 1px solid var(--line); border-radius: 3px; transition: transform .5s ease; }
.item figure.sk { aspect-ratio: 1 / 1; }
.model figure.sk { aspect-ratio: 3 / 2; }
.item figure.sk img, .model figure.sk img { position: absolute; inset: 0; width: 100%; height: 100%; transform: none; border-radius: 3px; }
.item figure.sk .sk-line, .model figure.sk .sk-line { object-fit: contain; padding: 6%; }
.item figure.sk .sk-real, .model figure.sk .sk-real { object-fit: cover; }
.item:hover figure.sk img, .model:hover figure.sk img { transform: none; }
.catalog .item:nth-child(odd) figure.sk, .models .model:nth-child(odd) figure.sk { transform: rotate(-.9deg); }
.catalog .item:nth-child(even) figure.sk, .models .model:nth-child(even) figure.sk { transform: rotate(.8deg); }
.catalog .item:hover figure.sk, .models .model:hover figure.sk { transform: rotate(0) translateY(-3px); }
.item figure.sk::before, .model figure.sk::before { content: ""; position: absolute; top: -11px; left: 50%; width: 82px; height: 22px; margin-left: -41px; z-index: 4;
  background: rgba(209, 166, 86, .45); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(70,50,20,.18);
  clip-path: polygon(0 8%, 4% 0, 8% 12%, 12% 2%, 96% 0, 100% 10%, 97% 92%, 92% 100%, 88% 88%, 84% 100%, 4% 100%, 0 90%); }

/* cartas del proceso: borde de lápiz, esquinas imperfectas */
.step { border: 1.5px solid rgba(58, 48, 39, .45); border-radius: 14px 6px 16px 7px / 7px 16px 6px 14px; background: var(--bg); }
.step-n { box-shadow: 2px 3px 0 rgba(58,48,39,.22); }


/* ---------- 19. Dirección artística v2: dibujos sobre el papel ---------- */
body::before { opacity: .28; }
h1, h2, h3, h4 { font-weight: 400; font-variation-settings: normal; letter-spacing: -.012em; line-height: 1.04; }
.hero h1 { font-size: clamp(2.9rem, 7.2vw, 5.7rem); font-weight: 400; line-height: 1.02; }
.hero h1 em { font-style: italic; }
.section-head h2 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 400; }
.contact h2 { font-size: clamp(2.5rem, 5.8vw, 4.5rem); font-weight: 400; }
.sub-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 400; }
.service h3 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); font-weight: 400; }
.model h3 { font-size: clamp(1.7rem, 2.8vw, 2.1rem); font-weight: 400; }
.item h4 { font-size: 1.45rem; font-weight: 400; }
.step h3 { font-size: 1.7rem; font-weight: 400; }
.brand-text strong { font-style: italic; font-weight: 400; font-size: 1.6rem; letter-spacing: -.005em; }
.brand-text small { margin-top: 5px; }
.ribbon-track span { font-weight: 500; }
.stamp text { font-weight: 400; }
.sk-hint { font-size: .95rem; }

/* los dibujos son parte de la página: sin tarjetas, sin marcos, sin cinta */
.item figure.sk, .model figure.sk { background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; transform: none !important; }
.item figure.sk::before, .model figure.sk::before { display: none; }
.catalog .item:hover figure.sk, .models .model:hover figure.sk { transform: none !important; }
.item figure.sk .sk-line, .model figure.sk .sk-line { mix-blend-mode: normal; padding: 0; object-fit: contain; }
.item figure.sk .sk-real, .model figure.sk .sk-real { border-radius: 2px; }
.item figure.sk .sk-real.is-white { mix-blend-mode: multiply; object-fit: contain; border-radius: 0; }
.sk img { transition: opacity .5s ease; }
.sk figcaption { left: 0; top: auto; bottom: 0; background: none; border: 0; padding: 0; color: var(--gold-text); font-size: .68rem; letter-spacing: .14em; text-shadow: 0 0 6px var(--bg), 0 0 6px var(--bg); }
.model figure.sk { aspect-ratio: 3 / 2; }
.item figure.sk { aspect-ratio: 1 / 1; }

/* portada: el boceto vive sobre el papel */
.hero-media.sk { max-width: min(92%, 56vh); }
.sk-stage { mix-blend-mode: normal; }
.sk-hero .sk-line { mix-blend-mode: normal; -webkit-mask-image: none; mask-image: none; }
.sk-hero .sk-real { mix-blend-mode: multiply; }

/* proceso: sin cajas, numerales grandes en serif */
.step { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 22px 4px 0 0; }
.step-n { width: auto; height: auto; background: none; border-radius: 0; box-shadow: none; color: var(--gold-text); font-family: var(--font-title); font-style: italic; font-weight: 400; font-size: 3rem; line-height: 1; margin-bottom: 10px; display: block; }
.section-alt { border-block: 0; }

.hero-media.sk { max-width: min(96%, 60vh); }

.stamp { background: none; box-shadow: none; opacity: .9; }


/* ---------- 20. Correcciones: bocetos intactos, bordes estompados, sin guiones ---------- */
:root { --bg: #EADCCA; --bg-2: #F0E6D6; --bg-3: #E2D4BD; }

/* bocetos originales sin tocar: sólo se suavizan los últimos 7 % de sus bordes exteriores */
.sk-line {
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-composite: intersect;
}
.sk-line.is-paper { mix-blend-mode: normal; }
.sk-hero .sk-line { mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%); }
.sk-hero .sk-real { mix-blend-mode: multiply; -webkit-mask-image: none; mask-image: none; }
.sk-real { -webkit-mask-image: none; mask-image: none; }
.sk-stage img { object-fit: contain; }

/* sin guiones, rayas ni separadores decorativos */
.eyebrow { display: block; font-size: .98rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--gold-text); margin-bottom: 18px; }
.eyebrow::before { content: none; display: none; }
.site-header.is-solid { border-bottom-color: transparent; background: rgba(233, 220, 201, .95); }
.ribbon { border: 0; background: none; padding-block: 8px; }
.ribbon-track { gap: 64px; animation-duration: 46s; }
.ribbon-track span { font-family: var(--font-title); font-style: italic; font-weight: 400; font-size: 1.7rem; letter-spacing: 0; text-transform: none; color: var(--gold-text); }
.service { border-top: 0; padding-block: 22px; }
.model li { border-bottom: 0; padding: 3px 0; }
.model li::before { content: none; display: none; }
.step { border-top: 0; padding-top: 0; }
.section-alt { border: 0; }
.contact { background: var(--bg-2); border-top: 0; }
.contact-list { border-top: 0; }
.contact-list li { border-bottom: 0; padding: 10px 0; }
.contact-list span { font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.site-footer { border-top: 0; }
.link-arrow { border-bottom: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: rgba(53, 51, 47, .4); }
.gallery-more a, .section-lead a { border-bottom: 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.brand-text small { text-transform: none; letter-spacing: .02em; font-size: .78rem; color: var(--gold-text); margin-top: 3px; }
.sk figcaption { text-transform: none; letter-spacing: .02em; font-size: .82rem; }

/* tipografía: Instrument Serif sólo en títulos grandes; nombres y descripciones en Instrument Sans */
.hero h1 { font-size: clamp(2.5rem, 5.8vw, 4.7rem); font-weight: 400; line-height: 1.05; }
.hero h1 em { font-style: italic; color: var(--gold-text); }
.service h3, .model h3, .item h4, .step h3 { font-family: var(--font-body); font-weight: 500; letter-spacing: 0; line-height: 1.25; font-variation-settings: normal; }
.service h3 { font-size: 1.2rem; margin-bottom: 6px; }
.model h3 { font-size: 1.35rem; margin-bottom: 10px; }
.item h4 { font-size: 1.1rem; margin-bottom: 4px; }
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step-n { font-size: 2.6rem; }

/* fondo propio en <main> para que la mezcla (multiply) de los bocetos funda el blanco con el papel */
main { background: var(--bg); }
.shot-cap::before { content: none; display: none; }
.nav a::after { content: none; display: none; }

/* Trabajos: boceto primero, foto real al pasar el cursor */
.section-alt { background: var(--bg); }
.gallery { grid-template-columns: minmax(0, 560px); justify-content: start; }
.work { margin: 0; width: 100%; aspect-ratio: 1 / 1; }
.work img { position: absolute; inset: 0; width: 100%; height: 100%; }
.work .sk-line { object-fit: contain; }
.work .sk-real { object-fit: cover; border-radius: 2px; }
.work-name { font-family: var(--font-body); font-weight: 500; font-size: 1.1rem; color: var(--cream); margin-top: 14px; }

/* bocetos originales: se muestran tal cual, sobre un fondo del mismo color de papel */
.sk-hero .sk-line.is-paper { mix-blend-mode: normal; }


/* ---------- 21. Marfil único tomado del papel de los bocetos, y ritmo de fondos ---------- */
:root { --color-ivory: #ECE3D8; --color-ivory-light: #F7F2E8; }
.hero { background: var(--color-ivory); }
#trabajos { background: var(--color-ivory); }
.contact { background: var(--color-ivory); }
.site-footer { background: var(--color-ivory); }
#modelos { padding-bottom: clamp(56px, 8vw, 100px); }
.section-catalog { background: var(--color-ivory-light); }
.section-catalog .sub-head { margin-top: 0; }
/* la barra superior usa el mismo marfil para no dejar una franja de otro color sobre la portada */
.site-header.is-solid { background: rgba(236, 227, 216, .95); }
@media (max-width: 820px) { .site-header { background: rgba(236, 227, 216, .94); } }
