*, *::before, *::after {
  box-sizing: border-box;
}
:root {
  --header-h: 4.5rem;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  background: #F5F5F5;
  color: #0B0B0C;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
[hidden] {
  display: none !important;
}
h1, h2, h3, p, ul, ol, dl, dd, figure {
  margin: 0;
}
ul, ol {
  padding: 0;
  list-style: none;
}
img, svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid #0B0B0C;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
h1, h2, h3 {
  font-family: 'Atma', 'Trebuchet MS', system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.05;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
}
h3 {
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
}
p {
  max-width: 62ch;
}
.lead {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.5;
}
.mono {
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.5rem 1rem;
  background: #FFD60A;
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
.skip-link:focus {
  top: 0.5rem;
}
.container {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.section {
  padding-block: clamp(4rem, 10vw, 8rem);
}
.section__head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: end;
}
@media (min-width: 48rem) {
  .section__head {
    grid-template-columns: 1fr auto;
  }
}
.media {
  overflow: hidden;
  border: 2px solid #0B0B0C;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  background: #E9E9E4;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.placeholder {
  display: grid;
  place-items: center;
  border: 2px solid #0B0B0C;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  background-color: #E9E9E4;
  background-image: repeating-linear-gradient(135deg, transparent 0 10px, rgba(11, 11, 12, 0.05) 10px 11px);
  color: #6B6B66;
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.875rem;
  text-align: center;
}
.placeholder--wide {
  aspect-ratio: 16 / 9;
}
.placeholder--photo {
  aspect-ratio: 4 / 3;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-h);
  background: #F5F5F5;
}
.site-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0.5rem;
}
@media (min-width: 48rem) {
  .site-header__inner {
    gap: 1.5rem;
  }
}
.logo {
  order: 1;
  margin-right: auto;
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9rem;
}
.logo strong {
  font-weight: 500;
}
.nav-toggle {
  display: none;
  order: 2;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
}
.nav-toggle__bars {
  display: block;
}
.nav-toggle__bars i {
  display: block;
  width: 1.6rem;
  height: 2.5px;
  margin: 5px 0;
  border-radius: 2px;
  background: #0B0B0C;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] i:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] i:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] i:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}
.js .nav-toggle {
  display: inline-flex;
}
.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: grid;
  padding: 0.5rem clamp(1.25rem, 4vw, 3rem) 1.5rem;
  border-bottom: 2px solid #0B0B0C;
  background: #F5F5F5;
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 1.15rem;
}
.site-nav .site-nav__link {
  justify-self: start;
  margin-left: -0.65em;
  padding-block: 0.6rem;
}
.js .site-nav {
  display: none;
}
.js .site-nav.is-open {
  display: grid;
}
@media (min-width: 48rem) {
  .site-nav, .js .site-nav {
    position: static;
    order: 2;
    display: flex;
    padding: 0;
    border-bottom: 0;
    background: transparent;
    gap: clamp(0.25rem, 2vw, 1.25rem);
    font-size: 0.9rem;
  }
  .site-nav .site-nav__link, .js .site-nav .site-nav__link {
    margin-left: 0;
    padding-block: 0.2em;
  }
  .nav-toggle, .js .nav-toggle {
    display: none;
  }
}
.lang {
  position: relative;
  order: 3;
}
.lang img {
  display: block;
  width: 1.75rem;
  height: auto;
  border: 1.5px solid #0B0B0C;
  border-radius: 3px;
  background: #FFFFFF;
}
.lang__button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.55rem;
  border: 2px solid #0B0B0C;
  border-radius: 14px 5px 12px 6px / 6px 12px 5px 14px;
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lang__button::after {
  content: "";
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-top-color: #0B0B0C;
  border-bottom-width: 0;
  transition: transform 0.2s ease;
}
.lang__button::-webkit-details-marker {
  display: none;
}
.lang__button::marker {
  content: "";
}
.lang[open] .lang__button::after {
  transform: rotate(180deg);
}
.lang__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.3rem;
  border: 2px solid #0B0B0C;
  border-radius: 14px 5px 12px 6px / 6px 12px 5px 14px;
  background: #FFFFFF;
}
.lang__link {
  display: inline-flex;
  padding: 0.35rem 0.45rem;
}
.marker {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding: 0.2em 0.65em;
}
.marker::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #FFD60A;
  clip-path: polygon(0 10%, 100% 0, 96% 100%, 3% 90%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.marker:hover::before, .marker:focus-visible::before, .marker.is-active::before, .marker--on::before {
  opacity: 1;
}
.marker.is-active {
  font-weight: 500;
}
.btn {
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 1.05rem;
  padding: 0.5em 1.1em;
}
.hero {
  padding-block: 1.5rem 4rem;
}
.hero__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.hero__mascot {
  position: relative;
  justify-self: start;
}
.hero__text {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}
.hero__name {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  text-transform: uppercase;
}
.hero__role {
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: clamp(1.05rem, 2.6vw, 1.75rem);
}
.pollo {
  width: auto;
  height: min(52svh, 26rem);
  overflow: visible;
  position: relative;
  transform-origin: 55% 97.3%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.pollo__ala {
  transform-box: view-box;
  transform-origin: 250px 372px;
}
.pollo-shadow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  transform-origin: 54.4% 93.6%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero__mascot.is-jumping {
  z-index: 11;
}
.hero__mascot.is-crouching .pollo {
  transform: translateY(0) rotate(2deg) scale(1.05, 0.9);
}
.hero__mascot.is-crouching .pollo-shadow {
  transform: scale(1.06, 1);
}
@media (min-width: 48rem) {
  .hero {
    display: flex;
    align-items: center;
    min-height: calc(100svh - var(--header-h));
  }
  .hero__inner {
    width: 100%;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 4rem;
  }
  .pollo {
    height: min(70svh, 40rem);
  }
}
.marquee {
  overflow: hidden;
  padding-block: 0.75rem;
  border-block: 2px solid #0B0B0C;
}
.marquee__track {
  display: flex;
  width: max-content;
}
.marquee__group {
  display: flex;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  padding-inline: 1.25rem;
  font-family: 'Atma', 'Trebuchet MS', system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.2;
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 0.55em;
  height: 0.55em;
  border: 2px solid #0B0B0C;
  border-radius: 50%;
  background: #FFD60A;
}
.work__title {
  display: grid;
  gap: 0.5rem;
}
.work__count {
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9rem;
  color: #6B6B66;
}
.filters {
  display: none;
}
.js .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-inline: -0.65em;
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9rem;
}
.work__grid {
  display: grid;
  gap: 2.5rem 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 48rem) {
  .work__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 64rem) {
  .work__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.project-card__link {
  display: grid;
  gap: 1rem;
}
.project-card__media {
  aspect-ratio: 3 / 2;
}
.project-card__meta {
  display: grid;
  gap: 0.35rem;
}
.project-card__row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.project-card__index {
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.85rem;
  color: #6B6B66;
}
.project-card__title {
  font-family: 'Atma', 'Trebuchet MS', system-ui, sans-serif;
  font-size: 1.6rem;
  line-height: 1.15;
  background-image: linear-gradient(#FFD60A, #FFD60A);
  background-repeat: no-repeat;
  background-position: 0 90%;
  background-size: 0% 45%;
  transition: background-size 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.85rem;
  color: #6B6B66;
}
.project-card__link:hover .project-card__title, .project-card__link:focus-visible .project-card__title {
  background-size: 100% 45%;
}
.services {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 64rem) {
  .services {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 1.5rem;
  }
}
.service {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding-top: 1.5rem;
  border-top: 2px solid #0B0B0C;
}
.service__icon {
  width: 3.5rem;
  height: 3.5rem;
  overflow: visible;
  fill: none;
  stroke: #0B0B0C;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.about {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 48rem) {
  .about {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    gap: 4rem;
  }
}
.about__media {
  aspect-ratio: 4 / 5;
  max-width: 24rem;
}
.about__text {
  display: grid;
  gap: 1.5rem;
}
.contact-form {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}
.field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}
.field label {
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 2px solid #0B0B0C;
  border-radius: 14px 5px 12px 6px / 6px 12px 5px 14px;
  background: #FFFFFF;
  color: #0B0B0C;
  font: inherit;
  font-size: 1rem;
  transition: box-shadow 0.2s ease;
}
.field textarea {
  min-height: 9rem;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  box-shadow: 4px 4px 0 #FFD60A;
}
.field__hint {
  font-size: 0.85rem;
  color: #6B6B66;
}
.field__error {
  font-size: 0.9rem;
  font-weight: 500;
  color: #B3261E;
}
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: #B3261E;
}
.field input::placeholder, .field textarea::placeholder {
  color: #6B6B66;
  opacity: 1;
}
.phone {
  display: grid;
  grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr);
  gap: 0.5rem;
}
@media (min-width: 48rem) {
  .phone {
    grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  }
}
.field-row {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 48rem) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.form__status {
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9rem;
}
.form__status[data-type="error"] {
  color: #B3261E;
}
.form__status[data-type="success"] {
  padding: 0.4rem 0.7rem;
  background: #FFD60A;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.contact {
  border-top: 2px solid #0B0B0C;
}
.contact__title {
  margin-bottom: 2.5rem;
}
.contact__grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 64rem) {
  .contact__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(4rem, 10vw, 8rem);
  }
}
.contact__aside {
  display: contents;
}
@media (min-width: 64rem) {
  .contact__aside {
    display: grid;
    gap: 1rem;
    align-content: start;
  }
}
.contact__aside .lead {
  order: 1;
}
.contact__aside .contact__subtitle, .contact__aside .contact__social {
  order: 3;
}
.contact .contact-form {
  order: 2;
}
.contact__subtitle {
  margin-top: 1.5rem;
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 400;
  color: #6B6B66;
}
.contact__social {
  display: grid;
  justify-items: start;
  gap: 0.25rem;
  margin-left: -0.65em;
}
.social {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  min-height: 2.75rem;
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
}
.social i {
  width: 1.3em;
  font-size: 1.1em;
  text-align: center;
}
.site-footer {
  padding-block: 1.5rem;
  border-top: 2px solid #0B0B0C;
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.85rem;
  color: #6B6B66;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}
.site-footer__langs, .site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}
.site-footer__langs a[aria-current], .site-footer__legal a[aria-current] {
  color: #0B0B0C;
  font-weight: 500;
}
.site-footer a:hover, .site-footer .linklike:hover {
  color: #0B0B0C;
  text-decoration: underline;
}
.linklike {
  font: inherit;
  color: inherit;
  text-decoration: underline;
}
.project__hero {
  display: grid;
  gap: 1.5rem;
  padding-block: 2.5rem 4rem;
}
.project__back {
  justify-self: start;
  margin-left: -0.65em;
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9rem;
}
.project__title {
  font-size: clamp(2.75rem, 8vw, 6rem);
}
.project__cover {
  aspect-ratio: 16 / 9;
  margin-top: 1.5rem;
}
.project__facts {
  display: grid;
  gap: 1.5rem 2.5rem;
  padding-block: 1.5rem;
  border-block: 2px solid #0B0B0C;
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9rem;
}
@media (min-width: 48rem) {
  .project__facts {
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  }
}
.project__facts dt {
  color: #6B6B66;
}
.project__block {
  display: grid;
  gap: 1.5rem;
  padding-block: 4rem;
}
@media (min-width: 48rem) {
  .project__block {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 4rem;
  }
}
.project__body {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}
.project__missing {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
  padding-block: clamp(4rem, 10vw, 8rem);
}
.project__gallery {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 4rem;
}
@media (min-width: 48rem) {
  .project__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
.project__next {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
  padding-block: 4rem;
  border-top: 2px solid #0B0B0C;
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9rem;
}
.project__next-title {
  font-family: 'Atma', 'Trebuchet MS', system-ui, sans-serif;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.05;
}
.consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: grid;
  gap: 1rem;
  max-width: 44rem;
  margin-inline: auto;
  padding: 1.5rem;
  border: 2px solid #0B0B0C;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  background: #FFFFFF;
  font-size: 0.95rem;
}
.consent[hidden] {
  display: none;
}
.consent p {
  max-width: none;
}
.consent a {
  text-decoration: underline;
}
.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.consent .btn {
  font-size: 0.95rem;
  border: 2px solid #0B0B0C;
}
.privacy {
  display: grid;
  gap: 1.5rem;
  padding-block: 4rem clamp(4rem, 10vw, 8rem);
}
.privacy__date {
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9rem;
  color: #6B6B66;
}
.privacy section {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.privacy h1 {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
}
.privacy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.media__zoom {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}
.media__zoom::after {
  content: "+";
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 2px solid #0B0B0C;
  border-radius: 50%;
  background: #FFFFFF;
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 1.25rem;
  line-height: 1;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.media__zoom:hover::after, .media__zoom:focus-visible::after {
  opacity: 1;
  transform: none;
}
@media (hover: none) {
  .media__zoom::after {
    opacity: 0.9;
    transform: none;
  }
}
html.is-locked {
  overflow: hidden;
}
.gallery {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 4rem;
}
.gallery__viewport {
  position: relative;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery__viewport::-webkit-scrollbar {
  display: none;
}
.gallery__track {
  display: flex;
}
.gallery__slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: center;
}
.gallery__figure {
  display: grid;
  gap: 0.75rem;
}
.gallery__media {
  aspect-ratio: 16 / 10;
  max-height: 72vh;
  max-height: 72dvh;
  background: #E9E9E4;
}
.gallery__media img {
  object-fit: contain;
}
.gallery figcaption {
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9rem;
  color: #6B6B66;
}
.gallery__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.gallery__btn {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 2px solid #0B0B0C;
  border-radius: 50%;
  background: #FFFFFF;
  transition: background 0.2s ease;
}
.gallery__btn:hover:not(:disabled) {
  background: #FFD60A;
}
.gallery__btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.gallery__btn svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: #0B0B0C;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gallery__counter {
  min-width: 5rem;
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.95rem;
  text-align: center;
}
.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0B0B0C;
  color: #FFFFFF;
  overflow: hidden;
}
.lightbox::backdrop {
  background: #0B0B0C;
}
.lightbox[open] {
  display: flex;
  flex-direction: column;
}
.lightbox__stage {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 4.5rem 1rem 0.5rem;
}
.lightbox__img {
  max-width: 100%;
  max-height: calc(100dvh - 9rem);
  width: auto;
  height: auto;
  margin: auto;
  object-fit: contain;
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}
.lightbox.is-loading .lightbox__img {
  opacity: 0.3;
}
.lightbox.is-zoomed .lightbox__img {
  max-width: none;
  max-height: none;
  cursor: zoom-out;
}
.lightbox__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding: 0.75rem 1.5rem 1rem;
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9rem;
}
.lightbox__caption {
  margin: 0;
  max-width: 60ch;
}
.lightbox__counter {
  margin: 0;
  color: #CFCFC8;
}
.lightbox__close, .lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 2px solid #0B0B0C;
  border-color: #FFFFFF;
  border-radius: 50%;
  background: rgba(11, 11, 12, 0.6);
  color: #FFFFFF;
  transition: background 0.2s ease, color 0.2s ease;
}
.lightbox__close:hover, .lightbox__nav:hover {
  background: #FFD60A;
  border-color: #FFD60A;
  color: #0B0B0C;
}
.lightbox__close svg, .lightbox__nav svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lightbox__close {
  top: 1rem;
  right: 1rem;
}
.lightbox__nav {
  top: 50%;
  margin-top: -1.5rem;
}
.lightbox__nav--prev {
  left: 0.75rem;
}
.lightbox__nav--next {
  right: 0.75rem;
}
.lightbox__close:focus-visible, .lightbox__nav:focus-visible {
  outline-color: #FFFFFF;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pollo-in {
  0% {
    opacity: 0;
    transform: translateY(2.5rem) scale(0.96, 1.04);
  }
  60% {
    opacity: 1;
    transform: translateY(-0.4rem) scale(1.02, 0.98);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes shadow-in {
  0% {
    opacity: 0;
    transform: scale(0.4, 1);
  }
  60% {
    opacity: 1;
    transform: scale(1.05, 1);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .pollo {
    animation: pollo-in 1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  }
  .pollo-shadow {
    animation: shadow-in 1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  }
  .hero__name {
    animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
  }
  .hero__role {
    animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
  }
  .hero .btn {
    animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
  }
  .marquee__track {
    animation: marquee 45s linear infinite;
  }
  .marquee:hover .marquee__track {
    animation-play-state: paused;
  }
  body {
    transition: opacity 0.22s ease;
  }
  body.is-leaving {
    opacity: 0;
  }
  .project__hero > * {
    animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  }
  .project__hero > :nth-child(2) {
    animation-delay: 0.08s;
  }
  .project__hero > :nth-child(3) {
    animation-delay: 0.16s;
  }
  .project__hero > :nth-child(4) {
    animation-delay: 0.24s;
  }
  .project-card.card-enter {
    animation: card-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: var(--enter-delay, 0s);
  }
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0s);
  }
  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}
