/* =========================================================
   João Bocuti — Portfolio
   Tema escuro minimalista / editorial
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@300;400&display=swap');

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: #e8e6e1;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity .4s ease, color .4s ease;
}

a:hover {
  opacity: 0.55;
}

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

/* ---------- Tipografia ---------- */
.serif {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.mono-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: #8a8880;
  font-weight: 400;
}

/* ---------- Navegação ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 40px;
  mix-blend-mode: difference;
  color: #fff;
  /* Nav é transparente (mix-blend) mas sua bbox bloqueava clicks no que
     estava por baixo. Desativa pointer-events na nav e re-ativa só nos
     elementos clicáveis (logo + links). */
  pointer-events: none;
}

.nav__brand,
.nav__links,
.nav__links a {
  pointer-events: auto;
}

.nav__brand {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1;
  text-transform: uppercase;
  filter: url(#motion-blur-sm);
}

.nav__logo {
  height: 32px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 400;
  position: relative;
  padding-bottom: 2px;
}

.nav__links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
}

/* ---------- Home / Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero__video iframe,
.hero__video video {
  position: absolute;
  top: 50%;
  left: 50%;
  /* escala para preencher a viewport inteira 16:9 */
  width: 100vw;
  height: 56.25vw;           /* 16:9 */
  min-height: 100vh;
  min-width: 177.77vh;       /* 16:9 */
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
  object-fit: cover;
}

/*
  ----------------------------------------------------------------
  Camada de escurecimento sobre o vídeo.
  - A primeira camada é um véu preto uniforme (38%) que dá peso
    e faz o nome ganhar legibilidade em qualquer frame do vídeo.
  - A segunda camada é um gradiente vertical que escurece mais o
    topo (para a navegação) e muito mais a base (onde fica o nome).
  ----------------------------------------------------------------
*/
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.25) 35%,
      rgba(0,0,0,0.35) 55%,
      rgba(0,0,0,0.9)  100%),
    rgba(0,0,0,0.38);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 40px;
  text-align: center;
  width: 100%;
}

.hero__kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  color: #cfcdc6;
  font-weight: 400;
  margin-bottom: 28px;
  padding-left: 0.5em;   /* compensar o último espaçamento */
}

.hero__name {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(56px, 12vw, 168px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: #fff;
  /* motion blur horizontal via filtro SVG inline (#motion-blur) */
  filter: url(#motion-blur);
  /* fallback para browsers sem suporte a SVG filter */
  text-shadow:
     2px 0 2px rgba(255,255,255,0.3),
    -2px 0 2px rgba(255,255,255,0.3),
     5px 0 5px rgba(255,255,255,0.15),
    -5px 0 5px rgba(255,255,255,0.15);
}

@supports (filter: url(#motion-blur)) {
  .hero__name {
    text-shadow: none;
  }
}

.hero__role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  color: #cfcdc6;
  font-weight: 400;
  padding-left: 0.5em;   /* compensar o último espaçamento */
}

/* ---------- Página interna (shared) ---------- */
.page {
  min-height: 100vh;
  padding: 140px 40px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.page__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 80px;
  padding-bottom: 32px;
  border-bottom: 1px solid #1f1d1a;
}

.page__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(40px, 7vw, 92px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: #f3f1ec;
  font-style: italic;
}

.page__index {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #8a8880;
  white-space: nowrap;
}

/* ---------- Work / Galeria de vídeos ---------- */
.work {
  padding: 120px 40px 80px;
  max-width: 1600px;
  margin: 0 auto;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.work-item {
  display: flex;
  flex-direction: column;
}

/* --- Thumbnail limpa (capa nativa do Vimeo) --- */
.work-item__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  overflow: hidden;
  cursor: pointer;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}

.work-item__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* deixa o click passar direto pro frame — senão o iframe captura */
  pointer-events: none;
}

.work-item__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.25) 100%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.work-item:hover .work-item__frame::after {
  opacity: 1;
}

/* --- Painel de credits (colapsado por padrão, revela no hover/focus) --- */
.work-item__credits {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-top: 0;
  transition:
    max-height .55s cubic-bezier(.2, .7, .2, 1),
    opacity    .4s  ease .05s,
    padding-top .4s ease;
}

.work-item:hover .work-item__credits,
.work-item:focus-within .work-item__credits {
  max-height: 800px;
  opacity: 1;
  padding-top: 24px;
}

.work-item__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 14px;
}

.work-item__h3 {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: -0.015em;
  color: #f3f1ec;
  line-height: 1.15;
}

.work-item__duration {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8a8880;
  white-space: nowrap;
}

.work-item__byline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8a8880;
  margin-bottom: 6px;
}

/* --- Descrição curta do filme (entre byline e lista de credits) --- */
.work-item__note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  line-height: 1.75;
  letter-spacing: 0.015em;
  color: #c9c7c0;
  margin-bottom: 22px;
  max-width: 60ch;
}

.work-item__link {
  display: inline-block;
  margin-left: 4px;
  color: #e8e6e1;
  border-bottom: 1px solid #3a3833;
  padding-bottom: 1px;
  transition: color .4s ease, border-color .4s ease, opacity .4s ease;
}

.work-item__link:hover {
  opacity: 1;
  color: #fff;
  border-bottom-color: #e8e6e1;
}

.work-item__list {
  display: grid;
  gap: 0;
  border-top: 1px solid #1a1815;
}

.work-item__list > div {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #141210;
}

.work-item__list dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8a8880;
}

.work-item__list dd {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #d6d4ce;
  letter-spacing: -0.005em;
  line-height: 1.5;
}

/* ---------- About ---------- */
.about-page {
  padding: 120px 40px 120px;
  max-width: 1200px;
  margin: 0 auto;
}

.about {
  display: grid;
  grid-template-columns: 380px minmax(auto, 52ch);
  gap: 100px;
  align-items: center;
  justify-content: center;
}

/* --- Composição de dois retratos 100% sobrepostos ---
   As duas fotos ocupam exatamente o mesmo espaço.
   A foto séria (back) é o retrato principal, 100% visível.
   A foto sorrindo (front) aparece como uma camada fantasma por
   cima, com baixa opacidade e blend mode "screen" — dá um efeito
   de dupla exposição, como se fossem dois momentos em um só.
*/
.portraits {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  justify-self: center;
}

.portraits img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: grayscale(100%) contrast(1.05);
  transition: opacity .8s ease;
}

.portraits__back {
  opacity: 1;
  z-index: 1;
}

.portraits__front {
  opacity: 0.68;
  mix-blend-mode: screen;
  z-index: 2;
}

/* no hover, intensifica levemente o sorrindo */
.portraits:hover .portraits__front {
  opacity: 0.82;
}

.about__body {
  padding-top: 10px;
}

.about__kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #8a8880;
  margin-bottom: 28px;
}

.about__lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 300;
  line-height: 1.3;
  color: #f3f1ec;
  margin-bottom: 36px;
  font-style: italic;
}

.about__text p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #c9c7c0;
  margin-bottom: 18px;
  max-width: 52ch;
}

/* ---------- Contact ---------- */
.contact-page {
  min-height: 100vh;
  padding: 140px 40px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.contact__name {
  /* mesma fonte/estética do nome da home, só que em tamanho reduzido */
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 6.5vw, 88px);
  letter-spacing: -0.025em;
  line-height: 0.95;
  color: #fff;
  margin-bottom: 4px;
  filter: url(#motion-blur-md);
  /* fallback caso o browser não suporte filtros SVG */
  text-shadow:
     1px 0 1px rgba(255,255,255,0.3),
    -1px 0 1px rgba(255,255,255,0.3),
     2px 0 2px rgba(255,255,255,0.15),
    -2px 0 2px rgba(255,255,255,0.15);
}

@supports (filter: url(#motion-blur-md)) {
  .contact__name {
    text-shadow: none;
  }
}

.contact__emails {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.contact__represent {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #8a8880;
  font-weight: 400;
  margin-bottom: 8px;
}

.contact__email {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #e8e6e1;
  padding-bottom: 2px;
  border-bottom: 1px solid #3a3833;
  transition: opacity .4s ease, border-color .4s ease;
}

.contact__email:hover {
  opacity: 1;
  border-bottom-color: #e8e6e1;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.contact__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid #25231f;
  border-radius: 999px;
  background: #0c0b0a;
  color: #e8e6e1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 400;
  transition: background .4s ease, border-color .4s ease, color .4s ease, transform .4s ease;
}

.contact__pill:hover {
  opacity: 1;
  background: #15130f;
  border-color: #3a3833;
  color: #fff;
  transform: translateY(-1px);
}

.contact__pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- Lightbox (player + painel de credits) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 96px;
  animation: lightbox-fade .35s ease;
}

.lightbox[hidden] {
  display: none;
}

/* --- Conteúdo: vídeo à esquerda + painel à direita --- */
.lightbox__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: 1500px;
  animation: lightbox-pop .45s cubic-bezier(.2,.7,.2,1);
}

.lightbox__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.lightbox__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Painel de credits ao lado --- */
.lightbox__info {
  max-height: 80vh;
  overflow-y: auto;
  padding-right: 8px;
}

.lightbox__title {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #f3f1ec;
  margin-bottom: 14px;
}

.lightbox__byline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8a8880;
  margin-bottom: 22px;
}

.lightbox__note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  line-height: 1.75;
  color: #c9c7c0;
  margin-bottom: 26px;
}

.lightbox__note a {
  display: inline-block;
  margin-left: 4px;
  color: #e8e6e1;
  border-bottom: 1px solid #3a3833;
  padding-bottom: 1px;
  transition: color .3s ease, border-color .3s ease, opacity .3s ease;
}

.lightbox__note a:hover {
  opacity: 1;
  color: #fff;
  border-bottom-color: #e8e6e1;
}

.lightbox__list {
  border-top: 1px solid #1a1815;
}

.lightbox__list > div {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #141210;
}

.lightbox__list dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8a8880;
}

.lightbox__list dd {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #d6d4ce;
  line-height: 1.5;
}

/* --- CTA (making of / BTS) dentro do painel de infos --- */
.lightbox__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 12px 20px;
  background: #0c0b0a;
  border: 1px solid #25231f;
  border-radius: 999px;
  color: #e8e6e1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background .4s ease, border-color .4s ease, color .4s ease, transform .4s ease;
}

.lightbox__cta:hover {
  background: #15130f;
  border-color: #3a3833;
  color: #fff;
  transform: translateY(-1px);
}

.lightbox__cta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform .4s ease;
}

.lightbox__cta:hover svg {
  transform: translateX(3px);
}

.lightbox__cta[hidden] {
  display: none;
}

/* --- Fechar (×) --- */
.lightbox__close {
  position: fixed;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 101;
}

.lightbox__close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* --- Setas de navegação ‹ › --- */
.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 101;
}

.lightbox__nav svg {
  width: 32px;
  height: 32px;
}

.lightbox__nav:hover:not(:disabled) {
  opacity: 1;
}

.lightbox__nav:disabled {
  opacity: 0.12;
  cursor: default;
}

.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

.lightbox__nav--prev:hover:not(:disabled) { transform: translateY(-50%) translateX(-3px); }
.lightbox__nav--next:hover:not(:disabled) { transform: translateY(-50%) translateX(3px); }

@keyframes lightbox-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes lightbox-pop {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 120px;
  padding: 32px 40px;
  border-top: 1px solid #1f1d1a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #6e6c65;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Toggle de idioma (PT / EN) — global, canto inferior direito ---------- */
.lang-toggle {
  position: fixed;
  bottom: 1.4rem;
  right: 1.6rem;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: 'IBM Plex Mono', 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: rgba(243, 241, 236, 0.85);
  user-select: none;
  pointer-events: auto;
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(243, 241, 236, 0.18);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.lang-toggle:hover {
  border-color: rgba(243, 241, 236, 0.32);
  background: rgba(20, 20, 20, 0.75);
}

.lang-toggle__btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.75;
}

.lang-toggle__btn:hover {
  opacity: 1;
}

.lang-toggle__btn.is-active {
  color: #ffffff;
  opacity: 1;
  font-weight: 500;
}

.lang-toggle__sep {
  opacity: 0.45;
}

/* Lang toggle no mobile — menor, mais discreto */
@media (max-width: 768px) {
  .lang-toggle {
    bottom: 1rem;
    right: 1rem;
    font-size: 11px;
    letter-spacing: 0.18em;
    padding: 0.4rem 0.8rem;
    gap: 0.45em;
  }
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .nav {
    padding: 20px 24px;
  }
  .nav__links {
    gap: 20px;
  }
  .nav__links a {
    font-size: 10px;
    letter-spacing: 0.2em;
  }
  .page {
    padding: 120px 24px 60px;
  }
  .page__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 56px;
  }
  .work {
    padding: 100px 24px 60px;
  }
  .work-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }
  .work-item__list > div {
    grid-template-columns: 45% 1fr;
  }
  .about-page {
    padding: 100px 24px 80px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .portraits {
    max-width: 520px;
    margin: 0 auto;
  }
  .contact-page {
    padding: 120px 24px 80px;
  }
  .contact__pill {
    padding: 11px 18px;
    font-size: 10px;
    letter-spacing: 0.25em;
  }
  .lightbox {
    padding: 56px 16px 16px;
    align-items: flex-start;
    overflow-y: auto;
  }
  .lightbox__content {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 640px;
  }
  .lightbox__info {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }
  .lightbox__close {
    top: 12px;
    right: 14px;
  }
  .lightbox__nav {
    width: 40px;
    height: 40px;
    top: auto;
    bottom: 16px;
    transform: none;
  }
  .lightbox__nav svg {
    width: 26px;
    height: 26px;
  }
  .lightbox__nav--prev { left: 16px; }
  .lightbox__nav--next { right: 16px; }
  .lightbox__nav--prev:hover:not(:disabled),
  .lightbox__nav--next:hover:not(:disabled) {
    transform: none;
  }
  .hero__content {
    padding: 0 24px 100px;
  }
  .hero__role {
    font-size: 10px;
    letter-spacing: 0.35em;
  }
  .footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
