.hok-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-nav);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .16em;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

.hok-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s var(--ease-reveal);
}

.hok-btn--red {
  background: var(--hok-red);
  color: var(--paper);
  padding: 19px 38px;
}
.hok-btn--red:disabled { opacity: .45; cursor: not-allowed; }
.hok-btn--red:disabled::before { content: none; }

.hok-btn--outline {
  border: 1px solid var(--ink);
  padding: 19px 34px;
}

@media (hover: hover) {
  .hok-btn:hover::before { transform: scaleY(1); }
  .hok-btn--outline:hover { color: var(--paper); }
  .hok-shop:hover .hok-shop__cta::before { transform: scaleY(1); }
}

.hok-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .2em;
}
.hok-eyebrow--red { color: var(--hok-red); }
.hok-eyebrow--ink { color: var(--ink); }

.hok-labeled__label .hok-eyebrow {
  border-top: 1px solid var(--ink);
  padding-top: 16px;
}

.hok-labeled__label--bare .hok-eyebrow,
.hok-eyebrow--bare {
  border-top: 0;
  padding-top: 16px;
}

.hok-labeled__label--flush .hok-eyebrow {
  border-top: 0;
  padding-top: 0;
}

.hok-ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--paper-2);
  border: 1px dashed var(--rule-2);
}

.hok-img {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
}
.hok-img__el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*
 * Roll-over de la fotografía
 * Vale para toda la imagen del sitio, sea enlace o no: esto es un portafolio
 * y la obra es el contenido, así que responde al pasar por encima aunque no
 * lleve a ninguna parte. Solo transform y filter, que los resuelve el
 * compositor y no desplazan nada de alrededor: cero reflow y cero CLS. El
 * recorte lo pone el overflow del propio .hok-img.
 */
@media (hover: hover) {
  .hok-img__el {
    transition: transform .7s var(--ease-reveal), filter .7s var(--ease-reveal);
  }

  .hok-img:hover .hok-img__el {
    transform: scale(1.04);
    filter: saturate(1.12);
  }

  /*
   * Menos las de sangre: el sticker es hermano de la imagen y la desborda, así
   * que al escalarla se le acaba viendo el canto. Aquí la imagen es fondo del
   * sticker, no algo que se mire por separado.
   */
  .hok-sangre .hok-img:hover .hok-img__el {
    transform: none;
    filter: none;
  }
}

.hok-ph__label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted-2);
  text-align: center;
  max-width: 34ch;
}

.hok-figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-inline: var(--gutter);
}

.hok-figure {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}

.hok-figure__value {
  font-family: var(--font-display);
  font-size: var(--fs-figure);
  line-height: 1;
}

.hok-figure__label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
}

.hok-list__row {
  display: grid;
  gap: 24px;
  padding: 18px 0;
  align-items: baseline;
}

.hok-list--years .hok-list__row { grid-template-columns: 100px 1fr; }

.hok-list__year {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.4;
}

.hok-list__cities {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.4;
}

.hok-list--links .hok-list__row { grid-template-columns: 1fr auto; }

.hok-list__title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.25;
}

.hok-list__note {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
  text-wrap: pretty;
}

.hok-list__action {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .18em;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}

a.hok-list__row {
  color: inherit;
  transition: transform .4s var(--ease-reveal);
}

.hok-list__action span { display: inline-block; transition: transform .4s var(--ease-reveal); }

@media (hover: hover) {
  a.hok-list__row:hover { transform: translateX(7px); }
  a.hok-list__row:hover .hok-list__action { border-bottom-color: var(--ink); }
  a.hok-list__row:hover .hok-list__action span { transform: translateX(5px); }
}

@media (max-width: 767px) {
  .hok-list--years .hok-list__row { grid-template-columns: 1fr; gap: 6px; }
  .hok-list--links .hok-list__row { grid-template-columns: 1fr; gap: 10px; }
  .hok-list__action { justify-self: start; }
}

.hok-video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
}

.hok-video__frame,
.hok-video__el,
.hok-video__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hok-video__el,
.hok-video__poster { object-fit: cover; }

.hok-video__facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  display: block;
  cursor: pointer;
  background: none;
}

.hok-video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  background: var(--hok-red);
  transition: background-color .3s ease, transform .4s var(--ease-reveal);
}

.hok-video__play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-left: 22px solid var(--paper);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

.hok-video__facade:hover .hok-video__play {
  background: var(--ink);
  transform: translate(-50%, -50%) scale(1.06);
}

.hok-video__facade:focus-visible { outline-offset: -4px; }

@media (max-width: 767px) {
  .hok-video__play { width: 62px; height: 62px; }
  .hok-video__play::after {
    border-left-width: 16px;
    border-top-width: 10px;
    border-bottom-width: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hok-video__play,
  .hok-video__facade:hover .hok-video__play { transition: none; transform: translate(-50%, -50%); }
}

.hok-shop {
  position: relative;
  display: block;
  overflow: hidden;
}

.hok-shop__media {
  position: relative;
  height: 620px;
}

.hok-shop--media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, .6) 100%);
  pointer-events: none;
}

.hok-shop__copy {
  position: absolute;
  left: 52px;
  bottom: 48px;
  z-index: 2;
}

.hok-shop__title {
  display: block;
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.04;
}

.hok-shop--media .hok-shop__copy,
.hok-shop--media .hok-shop__title { color: var(--paper); }
.hok-shop--media .hok-shop__copy .hok-eyebrow { color: var(--paper); }

.hok-shop__cta {
  position: absolute;
  right: 52px;
  bottom: 52px;
  z-index: 2;
  background: var(--hok-red);
  color: var(--paper);
  padding: 18px 32px;
}
.hok-shop:hover .hok-shop__cta { background: var(--ink); }

.hok-has-sticker { position: relative; }

.hok-sticker {
  position: absolute;
  z-index: 3;
  width: var(--sticker-w, 200px);
  max-width: 46%;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 6px 26px rgba(0, 0, 0, .3));
  will-change: transform;

  --parallax: 18px;

  --sticker-inset: 100px;

  --sticker-outset: 50px;
}

@keyframes hok-sticker-parallax {
  from { transform: translate3d(0, calc(var(--parallax) * -1), 0); }
  to   { transform: translate3d(0, var(--parallax), 0); }
}

@supports (animation-timeline: view()) {
  .hok-sticker[data-hok-parallax] {
    animation: hok-sticker-parallax linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
}

.hok-sticker--arriba-derecha   { top: var(--sticker-inset);    right: calc(var(--sticker-outset) * -1); }
.hok-sticker--arriba-izquierda { top: var(--sticker-inset);    left: calc(var(--sticker-outset) * -1); }
.hok-sticker--abajo-derecha    { bottom: var(--sticker-inset); right: calc(var(--sticker-outset) * -1); }
.hok-sticker--abajo-izquierda  { bottom: var(--sticker-inset); left: calc(var(--sticker-outset) * -1); }

.hok-contact {
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 80px;
  padding: 64px var(--gutter) 0;
}

.hok-contact__table {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 26px;
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
}
.hok-contact__key {
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
}
.hok-contact__value a {
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}
.hok-contact__value a:hover { border-bottom-color: var(--hok-red); color: var(--hok-red); }

.hok-contact__lead { max-width: 520px; margin-top: 32px; }

.hok-field__req { color: var(--hok-red); }

.hok-form {
  background: var(--paper-2);
  padding: 44px 40px;
}

.hok-field { margin-top: 28px; }

.hok-field__label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
}

.hok-field__input {
  width: 100%;
  margin-top: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 16px;
}
.hok-field__input::placeholder { color: var(--placeholder); }

.hok-field__textarea {
  width: 100%;
  margin-top: 10px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--rule-2);
  min-height: 170px;
  font-size: 16px;
  line-height: 1.6;
  resize: vertical;
}

.hok-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
}
.hok-check input {
  appearance: none;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
}
.hok-check input:checked { background: var(--ink); }
.hok-check__text {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  line-height: 1.7;
  color: var(--muted);
}

.hok-form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 32px;
  padding: 20px;
}

@media (max-width: 1279px) {
  .hok-contact { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 767px) {
  .hok-figures { grid-template-columns: 1fr; gap: 28px; }

  .hok-shop__media { height: 420px; }
  .hok-shop__copy { left: 24px; bottom: 96px; }
  .hok-shop__cta { left: 24px; right: auto; bottom: 28px; }

  .hok-sticker {
    width: min(var(--sticker-w, 200px), 38vw);
    max-width: 38vw;
    --parallax: 8px;
    --sticker-inset: 28px;
    --sticker-outset: 12px;
  }

  .hok-form { padding: 32px 24px; }
  .hok-btn--red, .hok-btn--outline { padding: 17px 26px; }
}

.hok-nl {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 360px;
  max-width: calc(100vw - 40px);
  padding: 28px 30px 26px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 0 18px 50px rgba(17, 17, 17, .13);

  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease-reveal), transform .6s var(--ease-reveal);
}

.hok-nl[hidden] { display: none; }
.hok-nl.is-in { opacity: 1; transform: none; }

.hok-nl__close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 40px;
  height: 40px;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  transition: color .25s ease;
}
.hok-nl__close:hover { color: var(--ink); }

.hok-nl__title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.15;
  max-width: 22ch;
}

.hok-nl__text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.hok-nl__form { margin-top: 20px; }

.hok-nl__input {
  width: 100%;
  padding: 10px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 15px;
}
.hok-nl__input::placeholder { color: var(--placeholder); }

.hok-nl__submit {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
  padding: 15px 20px;
}

.hok-nl__legal {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .06em;
  color: var(--muted-2);
}

@media (max-width: 767px) {
  .hok-nl {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
    padding: 24px 22px 22px;
  }
  .hok-nl__title { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .hok-nl { transition: none; }
}

.hok-form-ok,
.hok-form-error {
  margin-top: 24px;
  padding: 18px 20px;
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}

.hok-form-ok {
  border: 1px solid var(--ink);
  background: var(--paper);
}

.hok-form-error {
  border: 1px solid var(--hok-red);
  color: var(--hok-red);
}

.hok-field__error {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--hok-red);
}

.hok-field__input[aria-invalid="true"],
.hok-field__textarea[aria-invalid="true"] { border-color: var(--hok-red); }

.hok-trampa {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cf-turnstile { margin-top: 24px; }
