/* Paula Nemer · Abogada. Sistema: papel, tinta y rojo sello. */
:root {
  --paper: #efebe3;
  --sheet: #fbf9f4;
  --ink: #121110;
  --red: #c4211a;
  --red-hot: #e8392d;
  --manila: #e4d5b2;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Bodoni Moda', 'Didot', Georgia, serif;
  --mono: 'Courier Prime', 'Courier New', monospace;
  --gutter: clamp(16px, 2.2vw, 32px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  opacity: .07;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--red); color: var(--paper); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
h1, h2, h3, p, ul, dl, dd, blockquote, figure { margin: 0; }
ul { padding: 0; list-style: none; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; }
.skip { position: fixed; top: -80px; left: 16px; z-index: 200; padding: 12px 16px; background: var(--ink); color: var(--paper); font-family: var(--mono); }
.skip:focus { top: 16px; }

/* Sello: borde doble, tinta irregular. */
.sello {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .15em;
  padding: .55em 1.1em .6em;
  border: .4em double currentColor;
  border-radius: .2em;
  font-family: var(--sans);
  font-weight: 800;
  font-stretch: 112%;
  text-transform: uppercase;
  line-height: 1;
  filter: url(#tinta);
  mix-blend-mode: multiply;
}
.sello__name { font-size: 1.05em; letter-spacing: .04em; }
.sello__role { font-size: 2.1em; letter-spacing: .14em; font-weight: 900; }
.sello__mat { font-size: .78em; letter-spacing: .12em; font-family: var(--mono); font-weight: 700; }

/* Cursor propio (solo con mouse). */
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; }
.has-cursor body, .has-cursor a, .has-cursor button, .has-cursor canvas, .has-cursor [data-sheet] { cursor: none; }
.cursor__dot {
  position: absolute; left: -6px; top: -6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--red);
  transition: transform .35s var(--ease), border-radius .2s, background .2s;
}
.cursor__label {
  position: absolute; left: -46px; top: -46px; width: 92px; height: 92px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  font: 700 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  transform: scale(0); transition: transform .4s var(--ease);
}
.cursor.is-link .cursor__dot { transform: scale(3.2); background: transparent; box-shadow: inset 0 0 0 1px var(--red); }
.cursor.is-label .cursor__dot { transform: scale(0); }
.cursor.is-label .cursor__label { transform: scale(1); }
.cursor.is-hidden .cursor__dot { transform: scale(0); }
.cursor.is-pen .cursor__dot { border-radius: 0 50% 50% 50%; transform: rotate(45deg) scale(.9); background: var(--ink); }
.cursor.is-on-dark .cursor__dot { background: var(--red-hot); }

/* Encabezado */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 16px var(--gutter);
  color: var(--ink);
  transition: color .4s, transform .5s var(--ease);
}
.header.is-dark, .header.is-red { color: var(--paper); }
.header.is-hidden { transform: translateY(-110%); }
.header__logo { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; justify-self: start; }
.header__logo b { font-weight: 850; font-stretch: 118%; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }
.header__logo span { font-family: var(--serif); font-style: italic; font-size: 15px; }
.header__clock { font: 400 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.header__clock time { margin-left: 6px; }
.header__actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.pill {
  display: inline-block; padding: 10px 18px; border-radius: 99px;
  background: var(--red); color: var(--paper);
  font-weight: 650; font-size: 14px; text-decoration: none; letter-spacing: .01em;
  transition: background .3s;
}
.header.is-red .pill { background: var(--ink); }
.pill:hover { background: var(--ink); }
.header.is-red .pill:hover, .header.is-dark .pill:hover { background: var(--paper); color: var(--ink); }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: 1px solid currentColor; border-radius: 99px; background: transparent;
  font-weight: 600; font-size: 14px;
}
.menu-btn__lines { display: grid; gap: 4px; width: 16px; }
.menu-btn__lines i { display: block; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:first-child { transform: translateY(2.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:last-child { transform: translateY(-2.75px) rotate(-45deg); }
.menu-open .header { color: var(--paper); }
.menu-open .header .pill { background: var(--ink); }

/* Menú a pantalla completa */
.menu {
  position: fixed; inset: 0; z-index: 70;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--gutter) 28px;
  background: var(--red); color: var(--paper);
}
.menu[hidden] { display: none; }
.menu__list a {
  display: block; overflow: hidden;
  font-weight: 900; text-transform: uppercase; text-decoration: none;
  font-size: clamp(46px, 9.4vw, 150px); line-height: .88; letter-spacing: -.02em; padding-top: .1em;
  font-variation-settings: "wdth" var(--w, 100);
  transition: color .3s;
}
.menu__list a span { display: inline-block; }
.menu__list a:hover { color: var(--ink); }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font: 400 13px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; }

/* Portada */
.hero { position: relative; height: 100svh; min-height: 620px; max-height: 1200px; overflow: hidden; background: var(--paper); }
.hero__name {
  position: absolute; z-index: 1; top: 64px; left: var(--gutter); right: var(--gutter);
  color: var(--red);
  font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  line-height: .8; letter-spacing: -.035em;
}
.hero__line { display: block; overflow: hidden; padding-top: .04em; }
.hero__line--2 { text-align: right; margin-top: -.02em; }
[data-fit] { display: inline-block; white-space: nowrap; }
.hero__photo {
  position: absolute; z-index: 2; bottom: 0; left: 50%;
  height: min(88svh, 1060px); aspect-ratio: 1131 / 1310;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero__photo img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: grayscale(1) contrast(1.12) brightness(1.03); }
.hero__kruger {
  position: absolute; z-index: 3; left: var(--gutter); bottom: 96px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  font-weight: 800; font-style: italic; font-stretch: 92%;
  font-size: clamp(24px, 3.3vw, 56px); line-height: 1; letter-spacing: -.01em;
}
.hero__kruger span { display: block; padding: .1em .3em .14em; background: var(--ink); color: var(--paper); }
.hero__stamp { position: absolute; z-index: 3; right: 9%; top: 56%; color: var(--ink); font-size: clamp(10px, 1.05vw, 16px); transform: rotate(-9deg); }
.hero__foot {
  position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0 20px;
  font: 400 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase;
}
.hero__areas { display: none; }
.hero__down { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; }
.hero__down span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); }

/* Cintas */
.tapes { position: relative; z-index: 6; height: clamp(120px, 15vw, 220px); margin: -34px 0 calc(clamp(120px, 15vw, 220px) * -.62); pointer-events: none; overflow: clip; }
.tape {
  position: absolute; left: -10vw; width: 120vw; top: 50%;
  padding: .55em 0;
  font-weight: 850; font-stretch: 115%; text-transform: uppercase;
  font-size: clamp(16px, 2.2vw, 34px); line-height: 1; white-space: nowrap;
}
.tape--black { background: var(--ink); color: var(--paper); transform: translateY(-80%) rotate(-3deg); }
.tape--red { background: var(--red); color: var(--paper); transform: translateY(-5%) rotate(2deg); }
.tape__track { display: flex; width: max-content; }
.tape__track span { padding-right: .5em; }

/* Manifiesto */
.manifesto { position: relative; background: var(--ink); color: var(--paper); padding: clamp(160px, 24vh, 260px) var(--gutter) clamp(90px, 14vh, 160px); }
.manifesto__text {
  max-width: 17em;
  font-weight: 500; font-size: clamp(32px, 4.7vw, 82px); line-height: 1.04; letter-spacing: -.025em;
}
.manifesto__text em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--red-hot); letter-spacing: -.01em; }
.manifesto__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(48px, 9vh, 110px); font: 400 13px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(239, 235, 227, .62); }

/* Letra chica */
.fine { background: var(--paper); padding: clamp(90px, 14vh, 150px) var(--gutter); overflow-x: clip; }
.fine__pin { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 110px); align-items: center; min-height: calc(100svh - 160px); }
.fine__title { font-weight: 850; font-size: clamp(46px, 6.3vw, 112px); line-height: .92; letter-spacing: -.035em; }
.fine__title small { font: 700 13px/1 var(--mono); letter-spacing: .02em; color: var(--red); vertical-align: baseline; white-space: nowrap; }
.fine__hint { max-width: 38ch; color: #3d3a36; margin-top: 32px; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.45; }
.fine__count { margin-top: 28px; font: 400 13px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.fine__count b { color: var(--red); font-size: 1.5em; }
.fine__done { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 32px); line-height: 1.2; opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .6s var(--ease); }
.fine__done a { color: var(--red); }
.fine.is-done .fine__done { opacity: 1; transform: none; }
.sheet {
  position: relative; justify-self: center; width: 100%; max-width: 580px;
  padding: clamp(22px, 3vw, 40px);
  background: var(--sheet);
  box-shadow: 0 1px 0 rgba(18, 17, 16, .08), 0 30px 60px -30px rgba(18, 17, 16, .45);
}
.sheet__body { font-size: 8.6px; line-height: 1.5; text-align: justify; hyphens: auto; color: #3d3a36; }
.sheet__body p { margin-bottom: .7em; }
.sheet__head { text-align: center; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.4em !important; }
.abusiva.is-found { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.lens { display: none; }
.js .lens {
  display: block; position: absolute; left: 0; top: 0; z-index: 3;
  width: 230px; height: 230px; pointer-events: none;
  will-change: transform;
}
.lens::after {
  content: ''; position: absolute; left: 82%; top: 82%; width: 18px; height: 92px;
  background: var(--ink); border-radius: 9px; transform-origin: 50% 0; transform: rotate(-45deg);
}
.lens__inner {
  position: absolute; inset: 0; overflow: hidden; border-radius: 50%;
  background: var(--sheet);
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 9px var(--paper), 0 0 0 10px rgba(18,17,16,.25), 0 24px 50px -10px rgba(0,0,0,.35);
}
.lens__inner .sheet__body { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.lens__inner .abusiva { background: rgba(196, 33, 26, .12); color: var(--red); box-shadow: 0 0 0 .3px var(--red); }
.lens__tag {
  position: absolute; left: 50%; top: calc(100% + 16px); z-index: 1;
  padding: 6px 10px; background: var(--red); color: var(--paper);
  font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  transform: translateX(-50%) rotate(-3deg) scale(.6); opacity: 0;
  transition: opacity .2s, transform .35s var(--ease);
}
.lens.is-hit .lens__tag { opacity: 1; transform: translateX(-50%) rotate(-3deg) scale(1); }

/* Áreas: apiladas por defecto, horizontales en escritorio. */
.areas { position: relative; background: var(--red); color: var(--paper); }
.areas__intro { padding: clamp(110px, 16vh, 170px) var(--gutter) clamp(50px, 8vh, 90px); }
.areas__intro h2 { font-weight: 850; font-size: clamp(44px, 6vw, 104px); line-height: .92; letter-spacing: -.035em; }
.areas__intro em { font-family: var(--serif); font-weight: 400; color: var(--ink); letter-spacing: -.01em; }
.areas__intro p { margin-top: 24px; max-width: 26ch; font-size: clamp(17px, 1.3vw, 21px); }
.area {
  position: sticky; top: 64px;
  display: flex; flex-direction: column; gap: 22px;
  min-height: calc(100svh - 80px);
  padding: 34px var(--gutter) 40px;
  background: var(--red);
  border-top: 1px solid rgba(239, 235, 227, .3);
  transform-origin: 50% 0;
  overflow: hidden;
}
.area::after { content: ''; position: absolute; inset: 0; background: #000; opacity: var(--shade, 0); pointer-events: none; }
.area:nth-of-type(2n) { background: #b81e17; }
.area > * { position: relative; z-index: 1; }
.area > .area__art {
  position: absolute; z-index: 0; right: 4vw; top: 46%; transform: translateY(-50%);
  font-family: var(--serif); font-style: italic; font-weight: 400; white-space: nowrap;
  font-size: clamp(110px, 15vw, 260px); line-height: 1; letter-spacing: -.03em;
  color: rgba(18, 17, 16, .16); pointer-events: none;
}
.area__kicker { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 32px); }
.area__name { font-weight: 900; text-transform: uppercase; line-height: .82; letter-spacing: -.02em; font-size: clamp(64px, 14vw, 250px); margin-top: -.06em; }
.area__name span { display: inline-block; white-space: nowrap; font-variation-settings: "wdth" var(--w, 100); }
.area__quote { margin-top: auto; }
.area__quote p { max-width: 22ch; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.8vw, 48px); line-height: 1.12; color: var(--ink); }
.area__quote cite { display: block; margin-top: 16px; font: 400 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; font-style: normal; }
.area__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.area__tags li { padding: 8px 14px; border: 1px solid rgba(239, 235, 227, .7); border-radius: 99px; font: 400 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.areas__progress { display: none; }

.areas.is-horizontal .areas__pin { height: 100vh; overflow: hidden; }
.areas.is-horizontal .areas__track { display: flex; height: 100%; width: max-content; }
.areas.is-horizontal .areas__intro { width: 36vw; flex: none; display: flex; flex-direction: column; justify-content: center; padding: 0 4vw 0 var(--gutter); }
.areas.is-horizontal .area {
  position: relative; top: auto; flex: none; width: 74vw; min-height: 0; height: 100%;
  padding: 16vh 4.5vw 13vh; border-top: 0; border-left: 1px solid rgba(239, 235, 227, .3);
  background: transparent;
}
.areas.is-horizontal .area > .area__art { right: 5vw; top: 52%; }
.areas.is-horizontal .areas__progress { display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 30px; height: 2px; background: rgba(239, 235, 227, .25); }
.areas__progress i { display: block; height: 100%; background: var(--paper); transform: scaleX(0); transform-origin: 0 50%; }

/* En criollo */
.criollo { background: var(--paper); padding: clamp(110px, 18vh, 200px) var(--gutter); }
.criollo__title { font-weight: 850; font-size: clamp(46px, 7vw, 124px); line-height: .92; letter-spacing: -.035em; }
.criollo__title em { font-family: var(--serif); font-weight: 400; color: var(--red); letter-spacing: -.015em; }
.criollo__lead { margin-top: 22px; font: 400 13px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.criollo__list { margin-top: clamp(56px, 10vh, 120px); }
.term {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px 5vw; align-items: baseline;
  padding: clamp(22px, 3.4vh, 40px) 0;
  border-top: 1px solid rgba(18, 17, 16, .16);
  outline-offset: -2px;
}
.term:last-child { border-bottom: 1px solid rgba(18, 17, 16, .16); }
.term__jerga {
  justify-self: start;
  font-family: var(--serif); font-style: italic; font-size: clamp(34px, 4.6vw, 82px); line-height: 1.04; letter-spacing: -.01em;
  transition: color .6s;
}
.term__jerga > span {
  background: linear-gradient(var(--red), var(--red)) no-repeat 0 58% / 0% .07em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .8s var(--ease);
}
.term__plain { font-size: clamp(18px, 1.55vw, 26px); line-height: 1.3; max-width: 26ch; }
.js .term__plain { opacity: 0; transform: translateY(18px); transition: opacity .6s .15s, transform .7s .15s var(--ease); }
.term.is-on .term__jerga { color: rgba(18, 17, 16, .32); }
.term.is-on .term__jerga > span { background-size: 100% .07em; }
.term.is-on .term__plain { opacity: 1; transform: none; }
.no-js .term__jerga { color: rgba(18, 17, 16, .32); }
.no-js .term__jerga > span { background-size: 100% .07em; }

/* Expediente */
.expediente { background: var(--ink); color: var(--paper); overflow-x: clip; }
.expediente__pin { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 120px var(--gutter) 70px; perspective: 2400px; }
.expediente__eyebrow { position: absolute; top: 96px; left: var(--gutter); font: 400 13px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(239, 235, 227, .6); }
.folder { position: relative; width: min(450px, 33vw); aspect-ratio: .68; transform-style: preserve-3d; color: var(--ink); }
.folder__page, .folder__front, .folder__back { position: absolute; inset: 0; }
.folder__page {
  display: flex; flex-direction: column; gap: 4%;
  padding: 9% 8% 7%;
  background: #f3efe5;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.folder__fs { position: absolute; top: 3.5%; right: 6%; font: 700 14px/1 var(--mono); }
.folder__photo { position: relative; width: 74%; }
.folder__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; mix-blend-mode: multiply; }
.sello--copia { position: absolute; right: -36%; bottom: 5%; color: var(--red); font-size: 9px; transform: rotate(-14deg); padding: .5em .9em; filter: url(#tinta-suave); }
.sello--copia .sello__role { font-size: 1.9em; letter-spacing: .1em; }
.folder__text { display: grid; gap: .7em; font: 400 clamp(11px, .92vw, 14px)/1.42 var(--mono); }
.folder__mate { font-family: var(--serif); font-style: italic; font-size: 1.35em; line-height: 1.2; color: var(--red); }
.folder__cover { position: absolute; inset: 0; transform-origin: 0 50%; transform-style: preserve-3d; }
.folder__front, .folder__back { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.folder__front {
  padding: 12% 9% 9% 15%;
  background: var(--manila);
  box-shadow: inset 0 0 60px rgba(120, 90, 40, .18), 0 40px 80px -30px rgba(0, 0, 0, .7);
  font-family: var(--mono);
}
.folder__holes { position: absolute; left: 5.5%; top: 38%; display: grid; gap: 70px; }
.folder__holes i { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 2px #b9a67c; }
.folder__holes::before { content: ''; position: absolute; left: 5px; top: 6px; width: 2px; height: 82px; background: var(--red); }
.folder__band { margin: 0 -9% 8% -15%; padding: 12px 9% 12px 15%; background: var(--red); color: var(--paper); font-weight: 700; font-size: clamp(11px, .95vw, 14px); letter-spacing: .08em; text-transform: uppercase; }
.folder__data > div { padding: 11px 0 10px; border-bottom: 1px dashed rgba(18, 17, 16, .35); }
.folder__data dt { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.folder__data dd { margin-top: 3px; font-weight: 700; font-size: clamp(11px, .98vw, 15px); line-height: 1.3; text-transform: uppercase; }
.folder__data a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.folder__open-hint { position: absolute; left: 15%; bottom: 4.5%; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .55; }
.folder__back { display: flex; align-items: flex-end; padding: 10%; background: #d8c9a5; transform: rotateY(180deg); box-shadow: inset 0 0 60px rgba(120, 90, 40, .2); }
.folder__back p { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 28px); color: var(--red); transform: rotate(-5deg); }

/* Expediente sin animación: tapa y foja una debajo de la otra. */
.folder--flat { aspect-ratio: auto; display: grid; gap: 24px; width: min(520px, 100%); }
.folder--flat .folder__cover, .folder--flat .folder__page, .folder--flat .folder__front { position: relative; inset: auto; }
.folder--flat .folder__cover { order: -1; }
.folder--flat .folder__back, .folder--flat .folder__open-hint { display: none; }
.folder--flat .folder__front { padding-bottom: 12%; }

/* Contacto */
.contact { background: var(--paper); padding: clamp(100px, 16vh, 170px) var(--gutter) clamp(80px, 12vh, 130px); overflow-x: clip; }
.contact__title { font-weight: 900; font-stretch: 125%; text-transform: uppercase; line-height: .8; letter-spacing: -.035em; }
.contact__title i { font-style: normal; color: var(--red); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 90px); margin-top: clamp(48px, 8vh, 96px); align-items: start; }
.firma { padding: clamp(20px, 2.6vw, 36px); background: var(--sheet); box-shadow: 0 30px 60px -32px rgba(18, 17, 16, .45); }
.firma__label { font-weight: 750; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.015em; }
.firma__label span { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--red); }
.firma__pad { position: relative; height: clamp(200px, 26vh, 280px); margin-top: 10px; }
.firma__pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
.firma__x { position: absolute; left: 4px; bottom: 6px; font-size: 22px; color: var(--red); pointer-events: none; }
.cargo {
  position: absolute; right: 3%; top: 8%; width: min(310px, 74%);
  padding: 12px 16px 14px; border: 4px double var(--red); color: var(--red);
  font: 700 12px/1.35 var(--mono); text-transform: uppercase; letter-spacing: .04em;
  filter: url(#tinta-suave); mix-blend-mode: multiply;
  opacity: 0; transform: rotate(-7deg) scale(1.7); pointer-events: none;
}
.cargo__title { font-size: 1.9em; letter-spacing: .3em; font-family: var(--sans); font-weight: 900; }
.cargo__text { margin-top: 6px; }
.cargo__conste { margin-top: 6px; font-size: 1.15em; letter-spacing: .2em; }
.firma.is-stamped .cargo { animation: sellar .42s cubic-bezier(.6, 0, .9, .4) forwards; }
@keyframes sellar {
  0% { opacity: 0; transform: rotate(-7deg) scale(1.7); }
  70% { opacity: 1; transform: rotate(-7deg) scale(.97); }
  100% { opacity: .92; transform: rotate(-7deg) scale(1); }
}
.firma__lines { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 4px; }
.firma__lines > span, .firma__lines label > span { display: block; padding-top: 8px; border-top: 1px dashed var(--ink); font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.firma__lines label > span { border-top: 0; padding-top: 0; }
.firma__lines input { width: 100%; margin-top: -2px; padding: 0 0 6px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font: 700 16px/1.2 var(--mono); border-radius: 0; }
.firma__lines input:focus { outline: none; border-bottom-color: var(--red); }
.firma__lines label { display: flex; flex-direction: column-reverse; gap: 8px; }
.firma__tools { display: flex; gap: 8px; margin-top: 22px; }
.firma__tools button { padding: 9px 15px; border: 1px solid var(--ink); border-radius: 99px; background: transparent; font: 400 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: background .25s, color .25s; }
.firma__tools button:hover { background: var(--ink); color: var(--paper); }
.contact__side { display: flex; flex-direction: column; gap: 14px; }
.contact__lead { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.4vw, 40px); line-height: 1.12; margin-bottom: 10px; }
.cta {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: .55em .8em .55em .9em; border: 2px solid var(--ink); border-radius: 99px;
  font-weight: 850; font-stretch: 118%; text-transform: uppercase; text-decoration: none;
  font-size: clamp(24px, 2.6vw, 42px); line-height: 1;
  transition: background .3s, color .3s, border-color .3s;
}
.cta i { font-style: normal; transition: transform .4s var(--ease); }
.cta:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cta:hover i { transform: translate(4px, -4px); }
.cta--wa { background: var(--red); border-color: var(--red); color: var(--paper); }
.is-ready .cta { animation: latido 1.6s var(--ease) 2; }
@keyframes latido { 0%, 100% { transform: none; } 30% { transform: scale(1.04); } }
.contact__mail { margin-top: 10px; font: 400 14px/1.4 var(--mono); }
.contact__mail button { margin-left: 8px; padding: 4px 10px; border: 1px solid var(--ink); border-radius: 99px; background: transparent; font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.contact__mail [data-copy-status] { margin-left: 8px; color: var(--red); }
.contact__where { font: 400 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .65; }

/* Pie */
.footer { background: var(--ink); color: var(--paper); padding: clamp(70px, 12vh, 130px) var(--gutter) 26px; }
.footer__name { color: var(--red); font-weight: 900; font-stretch: 125%; text-transform: uppercase; line-height: .8; letter-spacing: -.035em; }
.footer__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; font: 400 12px/1.5 var(--mono); letter-spacing: .06em; color: rgba(239, 235, 227, .68); }
.footer__row p:last-child { text-align: right; }

/* Botón flotante (pantallas chicas) */
.float-cta { display: none; }

/* Carga: se oculta la portada hasta tener las fuentes. */
.js.is-loading .hero__name, .js.is-loading .hero__photo, .js.is-loading .hero__kruger, .js.is-loading .hero__stamp { visibility: hidden; }

@media (max-width: 1023px) {
  .header { grid-template-columns: 1fr auto; padding: 12px var(--gutter); }
  .header__clock { display: none; }
  .header .pill { display: none; }
  .hero__photo { height: min(70svh, 820px); left: 58%; }
  .hero__stamp { right: 5%; top: auto; bottom: 30%; }
  .fine__pin { grid-template-columns: 1fr; min-height: 0; gap: 36px; }
  .contact__grid { grid-template-columns: 1fr; }
  .folder { width: min(430px, 84vw); }
  .float-cta {
    display: grid; place-items: center; position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 75;
    width: 76px; height: 76px; border-radius: 50%; background: var(--red); color: var(--paper); text-decoration: none;
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5);
    opacity: 0; transform: scale(.5); pointer-events: none; transition: opacity .35s, transform .5s var(--ease);
  }
  .float-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }
  .float-cta svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: girar 14s linear infinite; }
  .float-cta text { fill: currentColor; font: 700 11px var(--mono); letter-spacing: 3.6px; text-transform: uppercase; }
  .float-cta > span { font-family: var(--serif); font-size: 28px; line-height: 1; }
}
@keyframes girar { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header__logo span { display: none; }
  .menu-btn { padding: 9px 12px; }
  .hero { min-height: 600px; }
  .hero__name { top: 62px; font-stretch: 100%; }
  .hero__photo { height: max(440px, calc(100svh - 168px)); max-height: 700px; left: 50%; }
  .hero__kruger { bottom: 64px; font-size: clamp(22px, 7vw, 30px); }
  .hero__stamp { font-size: 8px; right: 3%; top: 128px; bottom: auto; }
  .hero__foot { font-size: 10.5px; padding: 14px 0 16px; }
  .hero__foot p:first-child { max-width: 20ch; }
  .tape { font-size: 15px; }
  .manifesto__text { font-size: clamp(30px, 8.6vw, 44px); }
  .sheet { padding: 18px 16px; }
  .sheet__body { font-size: 6.6px; }
  .js .lens { width: 168px; height: 168px; }
  .lens::after { width: 13px; height: 64px; }
  .lens__tag { font-size: 9.5px; }
  .area { padding: 26px var(--gutter) 30px; top: 56px; min-height: min(calc(100svh - 68px), 640px); }
  .area > .area__art { font-size: 30vw; right: -2vw; top: 50%; }
  .area__name { font-size: 22vw; }
  .area__quote p { font-size: clamp(24px, 7vw, 32px); }
  .term { grid-template-columns: 1fr; }
  .term__jerga { font-size: clamp(34px, 10.5vw, 48px); }
  .folder { width: 86vw; }
  .folder__text { font-size: 11.5px; }
  .folder__data > div { padding: 8px 0 7px; }
  .folder__data dd { font-size: 11.5px; }
  .firma__lines { grid-template-columns: 1fr; gap: 18px; }
  .cta { font-size: 26px; }
  .footer__row { grid-template-columns: 1fr; gap: 12px; }
  .footer__row p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .firma.is-stamped .cargo { opacity: .92; transform: rotate(-7deg); }
}
