/* Accessory Style Board — "hoja de contactos": film black, light table, amber edge print, wax-pencil magenta */

@font-face {
  font-family: "Syne";
  src: url("/assets/fonts/syne-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Syne";
  src: url("/assets/fonts/syne-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("/assets/fonts/dm-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("/assets/fonts/dm-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --mesa: #efeee9;
  --papel: #ffffff;
  --negro: #151515;
  --pelicula: #262624;
  --ambar: #ff9a1f;
  --ambar-tinta: #8a4a00;
  --magenta: #d6006f;
  --gris: #63625e;
  --linea: #d3d1c8;
  --linea-negra: #3b3a36;
  --claro: #efeee9;
  --titulos: "Syne", "Trebuchet MS", Verdana, sans-serif;
  --texto: "DM Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "DM Mono", Consolas, "Courier New", monospace;
  --margen: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--mesa);
  color: var(--negro);
  font-family: var(--texto);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
table {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 3px;
  border-radius: 2px;
}

.portada a:focus-visible,
.pelicula a:focus-visible,
.cierre a:focus-visible,
.pie a:focus-visible {
  outline-color: var(--ambar);
}

.ancho {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: var(--margen);
  padding-right: var(--margen);
}

.oculto {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.salto {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ambar);
  color: var(--negro);
  font-weight: 700;
}

.salto:focus {
  top: 12px;
}

/* Perforation: a band of film with whole holes */
.perfo {
  height: 24px;
  background-color: var(--negro);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='24'%3E%3Crect x='8' y='7' width='14' height='10' rx='2.5' fill='%23EFEEE9'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
}

/* Edge print and the wax-pencil ring */
.borde-txt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.74rem;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ambar-tinta);
}

.portada .borde-txt,
.pelicula .borde-txt,
.cierre .borde-txt,
.pie .borde-txt,
.portadilla .borde-txt {
  color: var(--ambar);
}

.borde-txt--suelto {
  margin-top: 1.6rem;
}

.aro {
  display: inline-block;
  padding: 2px 10px 1px;
  border: 2px solid var(--magenta);
  border-radius: 50%;
  transform: rotate(-5deg);
  letter-spacing: 0.06em;
  line-height: 1.3;
}

/* Buttons and links */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid var(--ambar);
  border-radius: 6px;
  background: var(--ambar);
  color: var(--negro);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s;
}

a.boton:hover {
  background: var(--papel);
  border-color: var(--papel);
}

.boton--pronto {
  background: transparent;
  border-style: dashed;
  color: var(--ambar);
  cursor: default;
}

.boton--s {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.86rem;
}

.cabecera .boton {
  background: var(--negro);
  border-color: var(--negro);
  color: var(--papel);
}

.cabecera a.boton:hover {
  background: var(--magenta);
  border-color: var(--magenta);
}

.cabecera .boton--pronto {
  background: transparent;
  color: var(--negro);
}

.enlace {
  display: inline-block;
  padding: 10px 0;
  font-weight: 700;
  color: var(--papel);
  text-decoration: underline;
  text-decoration-color: var(--ambar);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.enlace:hover {
  text-decoration-color: var(--magenta);
}

.enlace--tinta {
  color: var(--negro);
  text-decoration-color: var(--magenta);
}

.enlace--tinta:hover {
  text-decoration-color: var(--negro);
}

/* Header */
.cabecera {
  background: var(--mesa);
}

.cabecera__fila {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}

.cabecera__marca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-family: var(--titulos);
  font-weight: 700;
  font-size: 1.06rem;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.marca {
  flex: none;
}

.cabecera__nav {
  display: flex;
  gap: 26px;
  font-weight: 500;
  font-size: 0.96rem;
  white-space: nowrap;
}

.cabecera__nav a {
  padding: 12px 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.cabecera__nav a:hover,
.cabecera__nav a[aria-current="page"] {
  border-bottom-color: var(--magenta);
}

/* Home: cover */
.portada {
  background: var(--negro);
  color: var(--papel);
}

.portada__rejilla {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.portada h1 {
  margin: 20px 0 24px;
  font-family: var(--titulos);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.1vw, 4.3rem);
  line-height: 1.03;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.portada__lede {
  max-width: 56ch;
  font-size: clamp(1.06rem, 1.4vw, 1.22rem);
  color: var(--claro);
}

.portada__acciones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 32px;
}

.portada__datos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--linea-negra);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--claro);
}

.portada__datos li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  background: var(--ambar);
}

/* A frame of film with a capture */
.foto {
  width: 100%;
}

.foto__marco {
  padding: 0 9px 9px;
  background: var(--negro);
  border-radius: 6px;
}

.portada .foto__marco,
.pelicula .foto__marco {
  background: var(--pelicula);
}

.foto__borde {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 3px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ambar);
}

.foto img {
  width: 100%;
  border-radius: 2px;
  background: var(--mesa);
}

.foto--entero {
  max-width: 348px;
}

.foto--corte img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 0 var(--pos);
}

.foto--portada img {
  aspect-ratio: 17 / 25;
}

.foto--ancha img {
  aspect-ratio: 1 / 1;
}

.foto figcaption,
.pie-foto {
  margin-top: 10px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--gris);
}

.portada .foto figcaption,
.pelicula .foto figcaption,
.pelicula .pie-foto {
  color: #b9b7ae;
}

/* Home: the contact sheet, eight frames that lead to the sections */
.hoja {
  background: var(--negro);
}

.hoja__tira {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  padding: 6px var(--margen);
}

.hoja__tira a {
  display: block;
  padding: 0 6px 6px;
  background: var(--pelicula);
  border-radius: 4px;
  text-decoration: none;
  color: var(--ambar);
}

.hoja__tira a:hover {
  background: #3a3935;
}

.hoja__borde {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  overflow: hidden;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hoja__borde .aro {
  border-color: transparent;
  padding-left: 6px;
  padding-right: 6px;
}

.hoja__tira a:hover .aro,
.hoja__tira a:focus-visible .aro {
  border-color: var(--magenta);
}

.hoja__tira img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 0 var(--pos);
  border-radius: 2px;
}

/* Home: sections */
.mesa,
.papel {
  padding: clamp(56px, 8vw, 112px) 0;
}

.papel {
  background: var(--papel);
}

.pelicula {
  background: var(--negro);
  color: var(--claro);
}

.pelicula > .ancho {
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(48px, 7vw, 96px);
}

/* Section grids: head, capture and text are separate cells so that a phone can put the capture
   between the head and the text */
.dos,
.tres {
  display: grid;
  grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.cabeza {
  grid-area: cabeza;
}

.dos > .texto,
.tres > .texto {
  grid-area: texto;
}

.dos > .foto,
.tres > .foto,
.lado {
  grid-area: foto;
}

.impreso {
  grid-area: impreso;
}

.dos--foto-izq {
  grid-template-columns: minmax(0, 348px) minmax(0, 1fr);
  grid-template-areas: "foto cabeza" "foto texto";
}

.dos--foto-der {
  grid-template-columns: minmax(0, 1fr) minmax(0, 348px);
  grid-template-areas: "cabeza foto" "texto foto";
}

.dos--centro {
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
}

.dos--centro > .foto {
  align-self: center;
}

.tres {
  grid-template-columns: minmax(0, 1fr) minmax(0, 330px) minmax(0, 1fr);
  grid-template-areas: "cabeza foto impreso" "texto foto impreso";
  column-gap: clamp(28px, 4.5vw, 64px);
}

.tres > .impreso {
  align-self: center;
}

.tres > .cabeza {
  padding-top: clamp(0px, 5vw, 72px);
}

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

.trio .foto {
  margin-bottom: 26px;
}

.trio .foto--corte img {
  aspect-ratio: 1 / 1;
}

.titulo {
  margin: 14px 0 0;
  font-family: var(--titulos);
  font-weight: 700;
  font-size: clamp(1.65rem, 3.1vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.trio .titulo,
.titulo--s {
  font-size: clamp(1.4rem, 2.1vw, 1.75rem);
}

.texto > p,
.trio p,
.limites p {
  margin-top: 14px;
}

.texto > p:first-child,
.trio .titulo + p,
.limites .titulo + .rayas {
  margin-top: 18px;
}

.trio .borde-txt,
.limites .borde-txt {
  margin-top: 0;
}

.trio .foto__borde {
  display: none;
}

.trio .foto__marco {
  padding-top: 9px;
}

.entrada {
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  line-height: 1.5;
}

.sub {
  margin-top: 30px;
  font-family: var(--titulos);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.25;
}

.pareja .sub {
  margin-top: 0;
}

.pareja p {
  margin-top: 8px;
}

/* Definition rows */
.ficha {
  margin-top: 26px;
  border-bottom: 1px solid var(--linea);
}

.ficha > div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 6px 20px;
  padding: 11px 0;
  border-top: 1px solid var(--linea);
}

.ficha dt,
.impreso dt {
  padding-top: 3px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ficha dt {
  color: var(--ambar-tinta);
}

.impreso {
  border-bottom: 1px solid var(--linea-negra);
}

.impreso > div {
  padding: 12px 0;
  border-top: 1px solid var(--linea-negra);
}

.impreso dt {
  color: var(--ambar);
}

.impreso dd {
  margin-top: 2px;
}

.nota {
  margin-top: 30px;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--magenta);
}

.nota h3 {
  font-family: var(--titulos);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.3;
}

.nota p {
  margin-top: 6px;
}

/* Colour section */
.muestras {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.chip {
  display: flex;
  flex-direction: column;
  width: 158px;
  margin: 0 !important;
  padding: 0 10px 9px;
  background: var(--papel);
  border: 1px solid var(--negro);
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.45;
}

.chip::before {
  content: "";
  display: block;
  height: 76px;
  margin: 0 -10px 8px;
  background: var(--c);
  border-bottom: 1px solid var(--negro);
}

.chip span {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gris);
}

.chip b {
  font-weight: 500;
  font-size: 0.92rem;
}

.chip i {
  font-style: normal;
  color: var(--gris);
}

.reglas {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  border-bottom: 1px solid var(--linea);
}

.reglas th,
.reglas td {
  padding: 10px 0;
  border-top: 1px solid var(--linea);
  text-align: left;
  vertical-align: top;
}

.reglas th {
  width: 38%;
  padding-right: 18px;
  font-weight: 700;
}

.reglas td {
  font-size: 0.97rem;
}

.lado {
  display: grid;
  gap: 28px;
}

.aviso {
  padding: 16px 18px;
  background: var(--papel);
  border: 1px solid var(--negro);
  border-radius: 4px;
  font-size: 0.93rem;
  line-height: 1.5;
}

/* Pieces section */
.pareja {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 36px;
  margin-top: 28px;
}

.tipos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tipos li {
  padding: 4px 9px;
  border: 1px solid var(--linea);
  border-radius: 4px;
  background: var(--mesa);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lista-mono {
  margin-top: 18px;
  border-bottom: 1px solid var(--linea-negra);
  font-size: 0.95rem;
}

.lista-mono li {
  padding: 8px 0;
  border-top: 1px solid var(--linea-negra);
}

.lista-mono b {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ambar);
}

/* Export section */
.medida {
  margin-top: 0 !important;
  font-family: var(--titulos);
  font-weight: 700;
  font-size: clamp(2.3rem, 6.4vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.medida + .entrada {
  margin-top: 22px;
}

/* Limits and privacy */
.limites__rejilla {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 88px);
}

.rayas {
  margin-top: 8px;
  border-bottom: 1px solid var(--linea);
}

.rayas li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-top: 1px solid var(--linea);
}

.rayas li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 9px;
  height: 9px;
  background: var(--negro);
}

.limites__rejilla > div:last-child .rayas li::before {
  background: var(--ambar);
  border: 1px solid var(--negro);
}

/* Closing call */
.cierre {
  background: var(--negro);
  color: var(--papel);
  padding: clamp(48px, 7vw, 88px) 0;
}

.cierre__fila {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 56px;
}

.cierre__fila > div:first-child {
  max-width: 640px;
}

.cierre {
  padding-top: 0;
}

.cierre .perfo {
  margin-bottom: clamp(48px, 7vw, 88px);
}

.cierre .titulo {
  margin-bottom: 12px;
}

.cierre__acciones {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

/* Footer */
.pie {
  background: var(--negro);
  color: var(--claro);
  font-size: 0.95rem;
}

.pie__rejilla {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 56px;
  padding-top: 48px;
  padding-bottom: 36px;
}

.pie__nombre {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--titulos);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--papel);
}

.pie__nombre .marca rect:first-child {
  fill: var(--pelicula);
}

.pie__marca p:last-child {
  max-width: 40ch;
  color: #b9b7ae;
}

.pie__nav {
  display: grid;
  gap: 2px;
  align-content: start;
}

.pie__nav a,
.pie__contacto a {
  padding: 6px 0;
  text-decoration: underline;
  text-decoration-color: var(--linea-negra);
  text-underline-offset: 5px;
}

.pie__nav a:hover,
.pie__contacto a:hover {
  text-decoration-color: var(--ambar);
}

.pie__contacto a {
  display: inline-block;
  overflow-wrap: anywhere;
}

.pie__nota {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 32px;
  padding-top: 18px;
  padding-bottom: 28px;
  background: linear-gradient(var(--linea-negra), var(--linea-negra)) no-repeat var(--margen) 0 / calc(100% - 2 * var(--margen)) 1px;
  font-size: 0.82rem;
  color: #b9b7ae;
}

/* Inner pages */
.portadilla {
  background: var(--negro);
  color: var(--papel);
  padding: clamp(36px, 6vw, 72px) 0 clamp(32px, 5vw, 60px);
}

.portadilla h1 {
  margin: 14px 0 0;
  font-family: var(--titulos);
  font-weight: 700;
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.portadilla__lede {
  max-width: 62ch;
  margin-top: 18px;
  font-size: clamp(1.04rem, 1.4vw, 1.2rem);
  color: var(--claro);
}

.documento {
  display: grid;
  grid-template-columns: minmax(0, 270px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
  padding-top: clamp(36px, 6vw, 72px);
  padding-bottom: clamp(56px, 8vw, 104px);
}

.documento--corto {
  display: block;
}

.documento__datos {
  padding: 4px 16px;
  background: var(--negro);
  border-radius: 6px;
  color: var(--claro);
  font-size: 0.95rem;
}

.documento__datos div {
  padding: 12px 0;
  border-top: 1px solid var(--linea-negra);
}

.documento__datos div:first-child {
  border-top: 0;
}

.documento__datos dt {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ambar);
}

.documento__datos dd {
  overflow-wrap: anywhere;
}

.documento__datos a:focus-visible {
  outline-color: var(--ambar);
}

.prosa {
  max-width: 760px;
}

.prosa section + section {
  margin-top: 44px;
}

.prosa h2 {
  padding-top: 16px;
  border-top: 2px solid var(--negro);
  font-family: var(--titulos);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  line-height: 1.2;
}

.prosa h3 {
  margin-top: 22px;
  font-size: 1.04rem;
  font-weight: 700;
}

.prosa p {
  margin-top: 12px;
}

.prosa h3 + p {
  margin-top: 4px;
}

.prosa a {
  text-decoration: underline;
  text-decoration-color: var(--magenta);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.prosa code {
  font-family: var(--mono);
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

.prosa ul {
  margin-top: 12px;
}

.prosa ul li {
  position: relative;
  padding: 7px 0 7px 22px;
}

.prosa ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  background: var(--ambar);
  border: 1px solid var(--negro);
}

.tabla {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
}

.tabla th,
.tabla td {
  padding: 12px 14px 12px 0;
  border-top: 1px solid var(--linea);
  text-align: left;
  vertical-align: top;
}

.tabla thead th {
  border-top: 0;
  padding-bottom: 8px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ambar-tinta);
}

.tabla tbody th {
  width: 32%;
  font-weight: 700;
}

.tabla tbody tr:last-child th,
.tabla tbody tr:last-child td {
  border-bottom: 1px solid var(--linea);
}

.pasos {
  margin-top: 16px;
  counter-reset: paso;
}

.pasos li {
  position: relative;
  padding: 12px 0 12px 52px;
  border-top: 1px solid var(--linea);
  counter-increment: paso;
}

.pasos li:last-child {
  border-bottom: 1px solid var(--linea);
}

.pasos li::before {
  content: "0" counter(paso);
  position: absolute;
  left: 0;
  top: 14px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: var(--ambar-tinta);
}

.dudas {
  margin-top: 16px;
  border-bottom: 1px solid var(--linea);
}

.dudas > div {
  padding: 16px 0;
  border-top: 1px solid var(--linea);
}

.dudas dt {
  font-family: var(--titulos);
  font-weight: 600;
  font-size: 1.06rem;
  line-height: 1.3;
}

.dudas dd {
  margin-top: 6px;
}

/* Tablet */
@media (max-width: 1000px) {
  .hoja__tira {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tres {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "foto cabeza" "foto texto" "foto impreso";
  }

  .tres > .impreso {
    align-self: start;
    margin-top: 28px;
  }

  .tres > .cabeza {
    padding-top: 0;
  }

  .dos--foto-izq {
    grid-template-columns: minmax(0, 290px) minmax(0, 1fr);
  }

  .dos--foto-der {
    grid-template-columns: minmax(0, 1fr) minmax(0, 290px);
  }

  .dos--centro {
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  }

  .cabecera__cta {
    display: none;
  }
}

/* Phone: one column, captures cropped to the detail the text talks about */
@media (max-width: 700px) {
  body {
    font-size: 1rem;
  }

  .cabecera__fila {
    gap: 14px;
    min-height: 56px;
  }

  .cabecera__marca {
    gap: 8px;
    font-size: 0.84rem;
  }

  .cabecera__marca .marca {
    width: 21px;
    height: 26px;
  }

  .cabecera__nav {
    gap: 14px;
    font-size: 0.84rem;
  }

  .cabecera__extra {
    display: none;
  }

  .perfo {
    height: 18px;
    background-size: 22px 18px;
  }

  .portada__rejilla,
  .trio,
  .limites__rejilla,
  .pareja,
  .documento {
    grid-template-columns: minmax(0, 1fr);
  }

  .dos,
  .dos--foto-izq,
  .dos--foto-der,
  .dos--centro {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "cabeza" "foto" "texto";
  }

  .tres {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "cabeza" "foto" "texto" "impreso";
  }

  .dos > .foto,
  .tres > .foto,
  .lado {
    margin: 22px 0 6px;
  }

  .tres > .impreso {
    margin-top: 22px;
  }

  /* Colour section: the capture after the head, the note after the text */
  .dos--foto-der:has(.lado) {
    grid-template-areas: "cabeza" "foto" "texto" "aviso";
  }

  .lado {
    display: contents;
  }

  .lado > .foto {
    grid-area: foto;
    margin: 22px 0 6px;
  }

  .lado > .aviso {
    grid-area: aviso;
    margin-top: 24px;
  }

  .medida {
    margin-top: 16px !important;
  }

  /* The eight frames of the contact sheet stand in for the large capture */
  .foto--portada {
    display: none;
  }

  .dos .foto__borde,
  .tres .foto__borde {
    display: none;
  }

  .dos .foto__marco,
  .tres .foto__marco {
    padding-top: 9px;
  }

  .mesa,
  .papel {
    padding: 48px 0;
  }

  .pelicula > .ancho {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .impreso,
  .lista-mono {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    font-size: 0.93rem;
    line-height: 1.45;
  }

  .reglas th,
  .reglas td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }

  .reglas tr {
    display: block;
    padding: 9px 0;
    border-top: 1px solid var(--linea);
  }

  .limites__rejilla {
    gap: 44px;
  }

  .portada__datos {
    margin-top: 28px;
    gap: 6px 16px;
    font-size: 0.68rem;
  }

  .foto--entero {
    max-width: none;
  }

  .foto img,
  .foto--corte img,
  .trio .foto--corte img,
  .foto--ancha img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: 0 var(--pos);
  }

  .hoja__tira {
    gap: 6px;
  }

  .hoja__tira a {
    padding: 0 4px 4px;
  }

  .hoja__borde {
    min-height: 28px;
    font-size: 0.6rem;
  }

  .hoja__borde span + span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .hoja__tira img {
    aspect-ratio: 1 / 1;
  }

  .trio {
    gap: 48px;
  }

  .trio .foto {
    margin-bottom: 20px;
  }

  .ficha > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .chip {
    width: calc((100% - 24px) / 3);
    min-width: 100px;
    padding: 0 7px 8px;
    font-size: 0.64rem;
  }

  .chip::before {
    height: 54px;
    margin: 0 -7px 7px;
  }

  .chip b {
    font-size: 0.8rem;
  }

  .cierre__acciones {
    width: 100%;
  }

  .pie__rejilla {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 36px;
  }

  /* The data table becomes a list of blocks */
  .tabla,
  .tabla tbody,
  .tabla tr,
  .tabla th,
  .tabla td {
    display: block;
    width: auto;
  }

  .tabla thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .tabla tbody tr {
    padding: 12px 0;
    border-top: 1px solid var(--linea);
  }

  .tabla tbody tr:last-child {
    border-bottom: 1px solid var(--linea);
  }

  .tabla tbody th,
  .tabla tbody td,
  .tabla tbody tr:last-child th,
  .tabla tbody tr:last-child td {
    width: auto;
    padding: 0;
    border: 0;
  }

  .tabla td {
    margin-top: 8px;
  }

  .tabla td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--mono);
    font-weight: 500;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ambar-tinta);
  }

  .pasos li {
    padding-left: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
