/* Lucio Facchin · Portfolio */

/* Base */
body { margin: 0; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

/* Identidad de un solo mundo: láminas de papel fotocopiado sobre mesa gris.
   Se pinta explícitamente para que se vea igual con cualquier tema. */
:root {
  color-scheme: light;
  --desk: #B8B9B3;
  --paper: #DCDDD8;
  --paper-lo: #CBCCC6;
  --paper-hi: #F0F0EC;
  --ink: #141414;
  --graphite: #45474C;
  --rule: rgba(20, 20, 20, .38);
  --pen: #2340B5;
  --pen-light: #8A9EF2;
  --slab: #151515;
  --slab-2: #1F1F1F;
  --on-slab: #E6E6E1;
  --on-slab-dim: #A2A39E;

  --f-brush: "Sedgwick Ave Display", "Permanent Marker", "Segoe Print", "Comic Sans MS", cursive;
  --f-sans: "Archivo", "Arial Narrow", Arial, system-ui, sans-serif;
  --f-pen: "Reenie Beanie", "Segoe Print", "Bradley Hand", cursive;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

html, body { background: var(--desk); color: var(--ink); }
body {
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .6;
  mix-blend-mode: multiply;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .08  0 0 0 0 .08  0 0 0 0 .08  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.4'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='900' height='900'><filter id='s'><feTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='4' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .1  0 0 0 0 .1  0 0 0 0 .1  0 0 0 -9 5.1'/></filter><rect width='100%' height='100%' filter='url(%23s)' opacity='.16'/></svg>");
}

a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--pen); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }

main {
  position: relative;
  z-index: 1;
  padding-inline: clamp(22px, 4vw, 56px);
  padding-block: 36px 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(60px, 8vw, 112px);
}

/* ───────── Lámina ───────── */
.plate {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(20px, 3.6vw, 48px);
  background:
    linear-gradient(rgba(20,20,20,.045) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(20,20,20,.045) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--paper);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 30px 60px -40px rgba(0,0,0,.45);
}
.plate::after { /* marcas de corte */
  content: "";
  position: absolute;
  inset: -14px;
  pointer-events: none;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 13px / 10px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 13px 0 / 1px 10px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 100% 13px / 10px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) calc(100% - 13px) 0 / 1px 10px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 calc(100% - 13px) / 10px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 13px 100% / 1px 10px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 100% calc(100% - 13px) / 10px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) calc(100% - 13px) 100% / 1px 10px no-repeat;
}
.plate.lo { background:
    linear-gradient(rgba(20,20,20,.05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(20,20,20,.05) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--paper-lo); }
.plate.dark {
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--slab);
  color: var(--on-slab);
}

/* Marco de selección con manijas (estilo Figma) */
.sel { position: relative; --h: var(--ink); --hf: var(--paper); }
.sel::before {
  content: "";
  position: absolute;
  inset: -4px;
  pointer-events: none;
  background:
    linear-gradient(var(--hf), var(--hf)) 1px 1px / 6px 6px no-repeat,
    linear-gradient(var(--hf), var(--hf)) calc(100% - 1px) 1px / 6px 6px no-repeat,
    linear-gradient(var(--hf), var(--hf)) 1px calc(100% - 1px) / 6px 6px no-repeat,
    linear-gradient(var(--hf), var(--hf)) calc(100% - 1px) calc(100% - 1px) / 6px 6px no-repeat,
    linear-gradient(var(--h), var(--h)) 0 0 / 8px 8px no-repeat,
    linear-gradient(var(--h), var(--h)) 100% 0 / 8px 8px no-repeat,
    linear-gradient(var(--h), var(--h)) 0 100% / 8px 8px no-repeat,
    linear-gradient(var(--h), var(--h)) 100% 100% / 8px 8px no-repeat;
}

/* ───────── Tipografía utilitaria ───────── */
.bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 3px double var(--ink);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.bar.bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px; border-bottom: 0; border-top: 3px double var(--ink); padding: 12px 0 0; align-items: center; }
.bar > :last-child { justify-self: end; text-align: right; }
.bar.pair { grid-template-columns: 1fr 1fr; }
.bar > .center { justify-self: center; }
.bar .mid { text-align: center; line-height: 1.1; }
.bar .mid strong { display: block; font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; font-stretch: 125%; letter-spacing: .04em; }
.bar .mid small { font-size: 10px; letter-spacing: .3em; }
.bar b { font-weight: 800; }
.bar a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.bar a:hover { color: var(--pen); }
.bar svg { width: 16px; height: 16px; flex: none; }

.brush { font-family: var(--f-brush); font-weight: 400; filter: url(#dry); margin: 0; line-height: .9; }
.pen { font-family: var(--f-pen); color: var(--pen); line-height: .95; }
.mono { font-family: var(--f-mono); }

/* ───────── Portada ───────── */
.cover-stage {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  padding-block: clamp(44px, 7vw, 92px) clamp(28px, 4vw, 48px);
  overflow: hidden;
}
.owner {
  margin: 0 0 clamp(6px, 1vw, 14px);
  font-stretch: 125%;
  font-weight: 300;
  font-size: clamp(14px, 2vw, 24px);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.owner b { font-weight: 900; }
.ghost {
  position: absolute;
  left: 50%;
  top: 47%;
  translate: -50% -50%;
  margin: 0;
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(40px, 10.5vw, 150px);
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(20, 20, 20, .22);
  user-select: none;
}
.cover h1 {
  position: relative;
  font-size: clamp(44px, 15.5vw, 200px);
  rotate: -3deg;
}
.stroke { width: min(760px, 86%); height: auto; margin-top: -6px; filter: url(#rough); }
.cover-note {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: clamp(10px, 2vw, 22px) clamp(0px, 4vw, 60px) 0 0;
  font-size: clamp(24px, 2.6vw, 34px);
  rotate: -4deg;
  text-align: left;
}
.cover-note svg { width: 54px; height: 40px; flex: none; }

/* ───────── Sobre mí ───────── */
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.blocks { display: grid; gap: 34px; }
.block { padding: 28px 22px 20px; border: 1px solid var(--rule); }
.bh {
  position: absolute;
  top: -12px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding-inline: 6px 10px;
  margin: 0;
  background: var(--paper);
  font-size: 15px;
  font-weight: 900;
  font-stretch: 115%;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.bh::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--paper) 0 3px, var(--ink) 3.6px);
}
.block p { margin: 0; max-width: 62ch; }
.block p + p { margin-top: 10px; }
.block em { font-weight: 700; font-style: italic; }
.certs { margin: 0; padding: 0; list-style: none; display: grid; }
.certs li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
  padding-block: 9px;
  border-bottom: 1px dashed var(--rule);
}
.certs li:last-child { border-bottom: 0; padding-bottom: 0; }
.certs li:first-child { padding-top: 0; }
.certs strong { font-weight: 800; }
.certs span { font-size: 13px; color: var(--graphite); font-style: italic; grid-column: 1; }
.certs time, .certs .lvl { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--f-mono); font-size: 12px; font-variant-numeric: tabular-nums; }
.certs .lvl { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border: 1px solid var(--ink); }
.toolkit {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
  margin: 0;
  padding: 14px 18px;
  list-style: none;
  background: var(--ink);
  color: var(--paper-hi);
  border-radius: 28px;
  box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px rgba(255,255,255,.18);
}
.toolkit li { font-family: var(--f-mono); font-size: 12px; padding: 3px 9px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; }

.about-side { position: relative; display: grid; justify-items: center; padding-top: 20px; }
.hola {
  position: absolute;
  top: -30px;
  right: -10px;
  font-size: clamp(90px, 13vw, 190px);
  color: transparent;
  -webkit-text-stroke: 2px rgba(20,20,20,.2);
  rotate: -8deg;
  pointer-events: none;
  filter: none;
}

/* Fotos pegadas con cinta */
.taped {
  position: relative;
  margin: 0;
  padding: 10px 10px 50px;
  background: var(--paper-hi);
  rotate: var(--r, -2deg);
  box-shadow: 0 1px 1px rgba(0,0,0,.12), 0 18px 30px -18px rgba(0,0,0,.6);
  transition: rotate .35s ease;
}
.taped::before, .taped::after {
  content: "";
  position: absolute;
  top: -13px;
  width: 92px;
  height: 26px;
  background: rgba(233, 230, 214, .78);
  box-shadow: 0 1px 2px rgba(0,0,0,.12);
  clip-path: polygon(3% 0, 97% 6%, 100% 50%, 96% 100%, 2% 94%, 0 45%);
}
.taped::before { left: 12%; rotate: -7deg; }
.taped::after { right: 10%; rotate: 5deg; }
.taped img { width: 100%; filter: grayscale(1) contrast(1.08); transition: filter .4s ease; }
.taped:hover { rotate: 0deg; }
.taped:hover img { filter: none; }
.taped figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 10px;
  font-family: var(--f-pen);
  color: var(--pen);
  font-size: 25px;
  line-height: 1;
}
.taped.on-white img { mix-blend-mode: multiply; }
.about-side .portrait { width: min(100%, 380px); }
.about-side .second { width: min(60%, 230px); justify-self: end; margin-top: -64px; padding-bottom: 40px; }
.about-side .second figcaption { font-size: 21px; }
.contact-photo { width: min(100%, 360px); justify-self: center; }

/* ───────── Índice ───────── */
.index { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.index-word {
  font-size: clamp(96px, 17vw, 230px);
  color: var(--paper-hi);
  line-height: .82;
  rotate: -6deg;
  padding-left: 2%;
}
.index-word span { display: block; }
.index-word span + span { padding-left: .35em; }
.idx { list-style: none; margin: 0; padding: 0; display: grid; }
.idx li { border-bottom: 1px solid var(--rule); }
.idx li:last-child { border-bottom: 0; }
.idx a {
  --h: transparent;
  --hf: transparent;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  text-decoration: none;
  outline: 1px solid transparent;
  transition: outline-color .15s ease;
}
.idx a:hover, .idx a:focus-visible { --h: var(--pen); --hf: var(--paper-lo); outline: 1px solid var(--pen); outline-offset: 0; }
.n { font-weight: 100; font-stretch: 62%; font-size: 60px; line-height: 1; font-variant-numeric: tabular-nums; text-align: center; }
.idx .k { font-size: 13px; color: var(--graphite); }
.idx .v { display: block; font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(14px, 1.6vw, 19px); line-height: 1.15; letter-spacing: .01em; }
.idx .p { display: block; font-size: 14px; margin-top: 2px; }

/* ───────── Proyecto ───────── */
.ph { display: flex; align-items: flex-end; gap: 14px 18px; }
.ph .n { font-size: clamp(56px, 7vw, 88px); text-align: left; }
.ph h2 {
  margin: 0 0 4px;
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  font-size: clamp(26px, 4.3vw, 52px);
  line-height: .98;
  letter-spacing: -.01em;
  text-wrap: balance;
  flex: 1 1 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.spec {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 12px clamp(24px, 4vw, 56px);
  padding-block: 14px;
  margin-block: 16px 30px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}
.spec dl { display: grid; grid-template-columns: 112px 1fr; gap: 7px 14px; margin: 0; align-content: start; }
.spec dt { font-weight: 800; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding-top: 2px; }
.spec dd { margin: 0; font-style: italic; font-size: 14px; color: var(--graphite); max-width: 60ch; }
.dark .spec dd { color: var(--on-slab-dim); }
.spec code, .inline-code { font-family: var(--f-mono); font-style: normal; font-size: 12.5px; background: rgba(20,20,20,.07); padding: 1px 5px; }
.dark .inline-code { background: rgba(255,255,255,.08); }
.spec.process { margin-block: 30px 0; }
.spec a { color: var(--ink); font-style: normal; font-weight: 700; text-underline-offset: 3px; overflow-wrap: anywhere; }
.spec a:hover { color: var(--pen); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }

/* ParkEx: plano del nivel */
.lot { padding: 16px; background: var(--paper-hi); border: 1px solid var(--ink); }
.lot-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.lot-head strong { font-weight: 600; }
.row { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 2px solid var(--ink); }
.row.b { border-top: 0; border-bottom: 2px solid var(--ink); }
.lane { height: 38px; background: linear-gradient(90deg, var(--ink) 50%, transparent 0) center / 22px 2px repeat-x; position: relative; }
.lane span { position: absolute; right: 0; top: 50%; translate: 0 -50%; background: var(--paper-hi); padding-left: 8px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; }
.bay {
  position: relative;
  aspect-ratio: 3 / 5;
  max-width: 100%;
  border-left: 2px solid var(--ink);
}
.bay:last-child { border-right: 2px solid var(--ink); }
.bay[data-res] { background: repeating-linear-gradient(45deg, rgba(20,20,20,.12) 0 2px, transparent 2px 8px); }
.bay .num { position: absolute; left: 4px; top: 3px; font-family: var(--f-mono); font-size: 10px; color: var(--graphite); }
.row.b .bay .num { top: auto; bottom: 3px; }
.bay[data-res] .num::after { content: " D"; font-weight: 600; color: var(--ink); }
.car {
  position: absolute;
  inset: 17% 17%;
  border-radius: 7px 7px 5px 5px;
  background: var(--ink);
  opacity: 0;
  translate: 0 -25%;
  transition: opacity .35s ease, translate .45s cubic-bezier(.2,.8,.2,1);
}
.car::after { content: ""; position: absolute; left: 14%; right: 14%; top: 16%; height: 18%; border-radius: 3px; background: rgba(240,240,236,.35); }
.row.b .car::after { top: auto; bottom: 16%; }
.bay[data-state="ocupado"] .car { opacity: 1; translate: 0 0; }
.tag:empty { display: none; }
.tag {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  z-index: 1;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 1px 4px;
  background: var(--paper-hi);
  color: var(--ink);
  white-space: nowrap;
}
.bay[data-auth="no_autorizado"] .tag { background: var(--pen); color: var(--paper-hi); }
.bay[data-auth="no_verificable"] .tag { outline: 1px dashed var(--ink); }
.bay.just::after {
  content: "";
  position: absolute;
  inset: 6%;
  border: 2px solid var(--pen);
  border-radius: 50%;
  animation: ping .9s ease-out both;
  pointer-events: none;
}
@keyframes ping { from { scale: .5; opacity: 1; } to { scale: 1.25; opacity: 0; } }
.lot-log {
  margin: 12px 0 0;
  min-height: 2.9em;
  font-family: var(--f-mono);
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--graphite);
  overflow-wrap: anywhere;
}
.lot-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; font-size: 12px; color: var(--graphite); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.legend i { display: inline-block; width: 11px; height: 11px; margin-right: 5px; vertical-align: -1px; border: 1px solid var(--ink); }
.legend .l-occ { background: var(--ink); }
.legend .l-res { background: repeating-linear-gradient(45deg, rgba(20,20,20,.35) 0 2px, transparent 2px 5px); }
.legend .l-new { border: 2px solid var(--pen); border-radius: 50%; }
.btn {
  font: 600 11px/1 var(--f-mono);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 8px 12px;
  color: var(--paper-hi);
  background: var(--ink);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}
.btn:hover { background: var(--pen); }
.side-stack { display: grid; gap: 22px; }
.side-stack .pen { font-size: 27px; margin: 0; rotate: -2deg; }

/* ITSpace: mesas de trabajo */
.boards { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 26px 16px; }
.board { margin: 0; }
.board figcaption { font-family: var(--f-mono); font-size: 11px; color: var(--graphite); margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board .art {
  aspect-ratio: 4 / 3;
  max-width: 100%;
  background:
    linear-gradient(var(--ink), var(--ink)) 8px 8px / 30% 5px no-repeat,
    linear-gradient(rgba(20,20,20,.18), rgba(20,20,20,.18)) 8px 22px / calc(100% - 16px) 26% no-repeat,
    repeating-linear-gradient(rgba(20,20,20,.2) 0 3px, transparent 3px 9px) 8px calc(26% + 34px) / 70% 30% no-repeat,
    var(--paper-hi);
  border: 1px solid var(--rule);
}
.board.form .art {
  background:
    linear-gradient(var(--ink), var(--ink)) center 14px / 34% 5px no-repeat,
    linear-gradient(transparent, transparent) ,
    linear-gradient(rgba(20,20,20,.16), rgba(20,20,20,.16)) center 32% / 60% 12% no-repeat,
    linear-gradient(rgba(20,20,20,.16), rgba(20,20,20,.16)) center 52% / 60% 12% no-repeat,
    linear-gradient(var(--ink), var(--ink)) center 74% / 34% 11% no-repeat,
    var(--paper-hi);
}
.board.picked .art { outline: 1px solid var(--pen); --h: var(--pen); --hf: var(--paper-hi); }
.board.picked figcaption { color: var(--pen); font-weight: 600; }
.langs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.langs span { font-family: var(--f-mono); font-size: 10px; padding: 1px 5px; border: 1px solid var(--rule); background: var(--paper-hi); }
.logo-sheet { --r: 1.5deg; padding-bottom: 46px; }
.logo-sheet .logo-pad { background: #fff; padding: clamp(18px, 3vw, 30px) clamp(14px, 2.4vw, 26px); }

/* Coded Bias */
.quote {
  margin: 4px 0 30px;
  font-size: clamp(40px, 7vw, 92px);
  color: var(--on-slab);
  rotate: -2deg;
  text-wrap: balance;
}
.quote-src { font-family: var(--f-mono); font-size: 11px; color: var(--on-slab-dim); text-transform: uppercase; letter-spacing: .08em; margin: -14px 0 0; }
.tl-wrap { overflow-x: auto; margin-top: 8px; }
.tl { min-width: 560px; border: 1px solid #3A3A3A; background: var(--slab-2); font-family: var(--f-mono); font-size: 10.5px; }
.tl-ruler { display: grid; grid-template-columns: 46px 1fr; border-bottom: 1px solid #3A3A3A; height: 22px; }
.tl-ruler div:last-child { background: repeating-linear-gradient(90deg, #4a4a4a 0 1px, transparent 1px 16.66%) 0 100% / 100% 8px no-repeat, repeating-linear-gradient(90deg, #333 0 1px, transparent 1px 4.166%) 0 100% / 100% 4px no-repeat; }
.track { display: grid; grid-template-columns: 46px 1fr; border-bottom: 1px solid #2c2c2c; }
.track:last-child { border-bottom: 0; }
.track > b { display: grid; place-items: center; font-weight: 600; color: var(--on-slab-dim); border-right: 1px solid #3A3A3A; }
.clips { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; padding: 6px 2px; }
.clip { padding: 10px 8px; background: #33342F; color: var(--on-slab); border-left: 2px solid #5a5b55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clips.audio { grid-template-columns: 1fr; }
.clips.audio .clip { background: repeating-linear-gradient(90deg, #3b4a3b 0 2px, #2e392e 2px 5px); border-left-color: #6b806b; }
.playhead { position: absolute; top: -26px; bottom: -60px; left: calc(66.66% + 1px); width: 2px; background: var(--pen-light); pointer-events: none; }
.playhead::before { content: ""; position: absolute; top: 0; left: -5px; border: 6px solid transparent; border-top: 8px solid var(--pen-light); }
.tl-note { color: var(--pen-light); font-size: 25px; margin: 12px 0 0; text-align: right; }
.kit { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 24px; margin: 30px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(230,230,225,.25); }
.kit div { display: grid; gap: 2px; }
.kit dt { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--on-slab-dim); }
.kit dd { margin: 0; font-weight: 800; font-stretch: 115%; font-size: 19px; line-height: 1.2; }

/* Escaneo IP */
.term {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  background: var(--slab);
  color: #D8D9D3;
  font: 12.5px/1.6 var(--f-mono);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px #2a2a2a;
}
.term .c { color: #8C8D88; }
.term .ok { color: #9FD0A4; }
.term .p { color: var(--pen-light); }

/* Cinniminies */
.cinni { align-items: center; }
.cinni .taped { width: min(100%, 400px); justify-self: center; }
.cinni .channels li { grid-template-columns: 96px 1fr; }
.tagline { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(17px, 2vw, 22px); line-height: 1.1; margin: 0; }
.tagline small { display: block; font-weight: 400; font-stretch: 100%; text-transform: none; font-style: italic; font-size: 14px; color: var(--graphite); margin-top: 4px; }

/* Contacto */
.contact { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(24px, 4vw, 50px); }
.contact-main { display: grid; gap: 26px; }
.contact-word { font-size: clamp(48px, 14vw, 180px); rotate: -5deg; }
.contact-word + .pen { font-size: clamp(26px, 2.6vw, 34px); margin: 18px 0 0 6%; rotate: -3deg; max-width: 20ch; }
.channels { list-style: none; margin: 0; padding: 0; display: grid; }
.channels li { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 6px 16px; padding-block: 16px; border-bottom: 1px solid var(--ink); }
.channels li:first-child { border-top: 1px solid var(--ink); }
.channels .lab { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.channels a, .channels .val {
  font-weight: 900;
  font-stretch: 112%;
  font-size: clamp(16px, 2vw, 24px);
  text-decoration: none;
  overflow-wrap: anywhere;
  line-height: 1.15;
}
.channels a:hover { color: var(--pen); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.copy-state { font-family: var(--f-mono); font-size: 11px; color: var(--pen); grid-column: 2 / -1; min-height: 1em; margin: 0; }

.quick {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 10;
  display: flex;
  gap: 6px;
}
.quick a { font: 600 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; padding: 9px 11px; background: var(--ink); color: var(--paper-hi); border-radius: 2px; box-shadow: 0 6px 18px -8px rgba(0,0,0,.6); }
.quick a:hover { background: var(--pen); }

/* ───────── Responsive ───────── */
/* Tablet: una columna por sección */
@media (max-width: 900px) {
  .about, .index, .two, .contact { grid-template-columns: minmax(0, 1fr); }
  .about-side { width: 100%; max-width: 460px; justify-self: center; }
  .index-word { font-size: clamp(84px, 24vw, 170px); }
  .contact-photo { width: min(100%, 320px); }
}

/* Celular */
@media (max-width: 720px) {
  main { gap: 56px; padding-block: 24px 88px; }
  .spec { grid-template-columns: minmax(0, 1fr); }
  .spec dl { grid-template-columns: 92px minmax(0, 1fr); }
  .bar { grid-template-columns: 1fr 1fr; letter-spacing: .08em; }
  .bar .mid { grid-column: 1 / -1; grid-row: 1; }
  .bar.bottom { flex-direction: column; align-items: flex-start; }
  .channels li { grid-template-columns: minmax(0, 1fr) auto; }
  .channels .lab { grid-column: 1 / -1; }
  .copy-state { grid-column: 1 / -1; }
  .cover-note { justify-self: center; margin-right: 0; }
  .tl { min-width: 0; }
  .clips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .clip { white-space: normal; overflow-wrap: anywhere; }
  .playhead { display: none; }
  .term { font-size: 11.5px; padding: 14px 16px; }
  .quick { right: 10px; bottom: 10px; }
}

/* Celular chico */
@media (max-width: 460px) {
  .idx a { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding-inline: 8px; }
  .idx .n { font-size: 46px; }
  .ph { gap: 10px; }
  .ph .n { font-size: 48px; }
  .spec dl { grid-template-columns: minmax(0, 1fr); gap: 1px; }
  .spec dd { margin-bottom: 8px; }
  .bar { font-size: 11px; letter-spacing: .05em; }
  .toolkit { border-radius: 20px; padding: 12px 14px; }
  .about-side .second { width: 58%; margin-top: -48px; }
  .lot { padding: 10px; }
  .lane span { display: none; }
  .lot-foot { flex-direction: column; align-items: flex-start; }
  .boards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .board figcaption { white-space: normal; overflow-wrap: anywhere; }
  .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clip { padding: 8px 6px; }
  .track, .tl-ruler { grid-template-columns: 34px minmax(0, 1fr); }
  .channels li { grid-template-columns: minmax(0, 1fr); }
  .channels .btn { justify-self: start; }
  .channels a, .channels .val { font-size: 17px; }
  .quick a { padding: 8px 9px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
