@font-face {
  font-family: "Rubik";
  src: url("../fonts/Rubik-VariableFont_wght.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Permite fade suave ao trocar o “branco” do site (PT ↔ EN) */
@property --white {
  syntax: "<color>";
  inherits: true;
  initial-value: #ffffff;
}

:root {
  --blue: rgb(0, 0, 255);
  --white: #ffffff;
  --font: "Rubik", sans-serif;
  --weight: 400;
  --border: 1px solid var(--blue);
  --border-inv: 1px solid var(--white);
  --pill: 9999px;
  --pad: clamp(1rem, 3vw, 2rem);
  --gap: 1px;
  --ease: 280ms ease;
  --theme-fade: 1.2s ease;
  transition: --white var(--theme-fade);
}

/* Em inglês, o branco vira rosa bem claro */
:root:lang(en) {
  --white: #ffdaff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-weight: var(--weight);
  font-variation-settings: "wght" 400;
  background: var(--white);
  color: var(--blue);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Rodapé colado no fundo quando a página é mais curta que a janela (ex.: Sobre) */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

/* Sobre só com bio (CV/press ocultos): foto acompanha até o rodapé */
main:has(> .about-hero):not(:has(> .section:not([hidden]))) > .about-hero {
  flex: 1 0 auto;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

/* ——— Nav ——— */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--pad);
  background: var(--blue);
  color: var(--white);
  border-bottom: var(--border);
}

.site-nav a {
  transition: opacity var(--ease);
}

.site-nav a:hover {
  opacity: 0.55;
}

.site-nav__brand {
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav__end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1.25rem;
}

.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.lang-toggle {
  display: flex;
  gap: 0.35rem;
}

.lang-toggle .pill {
  min-width: 2.5rem;
}

/* hamburger — só mobile */
.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: var(--border-inv);
  border-radius: var(--pill);
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.nav-toggle__box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1rem;
}

.nav-toggle__box span {
  display: block;
  height: 1px;
  width: 100%;
  background: currentColor;
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle.is-open .nav-toggle__box span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__box span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle__box span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* evita fade no hover do idioma ativo */
.site-nav .lang-toggle a:hover,
.site-nav .lang-toggle button:hover {
  opacity: 1;
}

.site-nav .nav-toggle:hover {
  opacity: 1;
  background: var(--white);
  color: var(--blue);
}

/* ——— Capsules ——— */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.85rem;
  border: var(--border);
  border-radius: var(--pill);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  transition: background var(--ease), color var(--ease);
}

.pill--inv {
  border-color: var(--white);
  color: var(--white);
}

.pill--inv:hover,
.pill.is-active.pill--inv {
  background: var(--white);
  color: var(--blue);
}

.pill:hover,
.pill.is-active {
  background: var(--blue);
  color: var(--white);
}

.pill--static:hover {
  background: transparent;
  color: inherit;
  cursor: default;
}

.pill--static.pill--inv:hover {
  background: transparent;
  color: var(--white);
}

/* ——— Hero ——— */

.hero {
  min-height: calc(100vh - 3.2rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--pad);
  padding-bottom: clamp(2rem, 6vh, 4rem);
  background: var(--blue);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero--glitch {
  padding: 0;
  min-height: calc(100vh - 3.2rem);
  display: block;
}

.hero__glitch {
  display: block;
  width: 100%;
  height: calc(100vh - 3.2rem);
  min-height: inherit;
  object-fit: cover;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background: var(--blue);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero__brand {
  font-size: clamp(2.8rem, 12vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 12ch;
  animation: rise 0.9s ease both;
}

.hero__headline {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 28ch;
  animation: rise 0.9s ease 0.12s both;
}

.hero__lede {
  margin-top: 0.75rem;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  max-width: 42ch;
  opacity: 1;
  animation: rise 0.9s ease 0.22s both;
}

.hero__cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  animation: rise 0.9s ease 0.32s both;
}

/* ——— Marquee / letreiro ——— */

.marquee {
  background: var(--white);
  color: var(--blue);
  border-top: var(--border);
  border-bottom: var(--border);
  overflow: hidden;
  padding: 0.9rem 0 0.7rem;
  transition: background-color 1.2s ease, color 1.2s ease, border-color 1.2s ease;
}

.marquee:hover {
  background: var(--blue);
  color: var(--white);
  border-top-color: var(--blue);
  border-bottom-color: var(--blue);
}

.marquee__viewport {
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 55s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
}

.marquee__item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0 3.5rem;
  white-space: nowrap;
}

.marquee__text {
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.marquee__work {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  border-top: 1px solid currentColor;
  padding-top: 0.28rem;
  align-self: flex-start;
  transition: border-color 1.2s ease;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }

  .marquee__viewport {
    overflow-x: auto;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Sections ——— */

.section {
  padding: clamp(2.5rem, 6vw, 5rem) var(--pad);
  border-bottom: var(--border);
}

.section--blue {
  background: var(--blue);
  color: var(--white);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.section__title {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.section__note {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 28ch;
}

/* ——— Filters ——— */

.filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filters .pill {
  flex-shrink: 0;
  gap: 0.35em;
}

.filters__count {
  font-variant-numeric: tabular-nums;
  opacity: 0.72;
}

.filters .pill.is-active .filters__count,
.filters .pill:hover .filters__count {
  opacity: 0.9;
}

.filters__sort {
  margin-left: 0.35rem;
  gap: 0.3em;
}

.filters__sort-arrow {
  font-size: 0.85em;
  line-height: 1;
}

.filters .pill[hidden] {
  display: none !important;
}

.detail__tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  flex-shrink: 0; /* texto longo não pode esmagar as tags */
}

.detail__tags::-webkit-scrollbar {
  display: none;
}

.detail__tags .pill {
  flex-shrink: 0;
}

/* ——— Index / obra list ——— */

.obra-list {
  border-top: var(--border);
}

.obra-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: var(--border);
  transition: background var(--ease), color var(--ease);
}

.obra-row:hover {
  background: linear-gradient(
    to right,
    var(--white) 0%,
    var(--blue) 10%,
    var(--blue) 90%,
    var(--white) 100%
  );
  color: var(--white);
}

.obra-row:hover .pill {
  border-color: var(--white);
  color: var(--white);
  background: var(--blue);
}

.obra-row:hover .pill.pill--static:hover {
  background: var(--blue);
  color: var(--white);
  cursor: default;
}

.obra-row__main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.obra-row__thumb {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border: var(--border);
  background: var(--blue);
  color: var(--white);
  position: relative;
  overflow: hidden;
  transition: background var(--ease), color var(--ease), border-color var(--ease),
    transform var(--ease);
}

.obra-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.obra-row__thumb:has(img) .obra-row__thumb-mark {
  display: none;
}

.obra-row:hover .obra-row__thumb {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
  transform: scale(1.06);
}

/* preview flutuante que segue o cursor */
.thumb-float {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 400;
  width: min(42vw, 240px);
  height: min(42vw, 240px);
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  will-change: transform;
  transition: opacity 120ms ease, visibility 120ms ease;
}

.thumb-float.is-visible {
  opacity: 1;
  visibility: visible;
}

.thumb-float--image {
  background: var(--white);
}

.thumb-float .obra-row__thumb {
  width: 100%;
  height: 100%;
  border: none;
  transform: none;
  background: var(--blue);
  color: var(--white);
}

.thumb-float--image .obra-row__thumb {
  background: var(--white);
}

.thumb-float--image .obra-row__thumb img {
  object-fit: contain;
}

.thumb-float .obra-row__thumb[data-thumb="literatura"] .obra-row__thumb-mark::before {
  top: 26%;
  box-shadow: 0 18px 0 currentColor, 0 36px 0 currentColor, 0 54px 0 currentColor;
}

.thumb-float .obra-row__thumb[data-thumb="cinema"] .obra-row__thumb-mark::before {
  border-width: 1.35rem 0 1.35rem 2.1rem;
}

.thumb-float .obra-row__thumb[data-thumb="cinema"] .obra-row__thumb-mark::after {
  inset: 12%;
}

@media (hover: none) {
  .thumb-float {
    display: none !important;
  }
}

.obra-row__thumb-mark {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* marcas geométricas por meio — só azul/branco via currentColor */
.obra-row__thumb[data-thumb="musica"] .obra-row__thumb-mark::before,
.obra-row__thumb[data-thumb="musica"] .obra-row__thumb-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.obra-row__thumb[data-thumb="musica"] .obra-row__thumb-mark::before {
  width: 62%;
  height: 62%;
}

.obra-row__thumb[data-thumb="musica"] .obra-row__thumb-mark::after {
  width: 22%;
  height: 22%;
  background: currentColor;
}

.obra-row__thumb[data-thumb="literatura"] .obra-row__thumb-mark::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 28%;
  height: 1px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor, 0 18px 0 currentColor;
}

.obra-row__thumb[data-thumb="cinema"] .obra-row__thumb-mark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.45rem 0 0.45rem 0.7rem;
  border-color: transparent transparent transparent currentColor;
}

.obra-row__thumb[data-thumb="cinema"] .obra-row__thumb-mark::after {
  content: "";
  position: absolute;
  inset: 0.35rem;
  border: 1px solid currentColor;
}

.obra-row__thumb[data-thumb="artes-visuais"] .obra-row__thumb-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.obra-row__title {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  min-width: 0;
}

.obra-row__year {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  justify-self: end;
}

.obra-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.obra-row.is-hidden {
  display: none;
}

@media (max-width: 720px) {
  .obra-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "main year"
      "tags tags";
    gap: 0.5rem 1rem;
  }

  .obra-row__main {
    grid-area: main;
  }

  .obra-row__year {
    grid-area: year;
    align-self: center;
  }

  .obra-row__tags {
    grid-area: tags;
    justify-content: flex-start;
    padding-left: calc(2.75rem + 0.85rem);
  }
}

/* ——— Clipping mosaic ——— */

.clip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: var(--border-inv);
}

.clip-cell {
  min-height: 11rem;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  background: var(--blue);
  color: var(--white);
  border-right: var(--border-inv);
  border-bottom: var(--border-inv);
  transition: background var(--ease), color var(--ease);
}

.clip-cell:hover {
  background: var(--white);
  color: var(--blue);
}

.clip-cell--wide {
  grid-column: span 2;
}

.clip-cell--tall {
  grid-row: span 2;
  min-height: 22rem;
}

.clip-cell__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.clip-cell__source {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: var(--pill);
  padding: 0.3rem 0.7rem;
  line-height: 1;
}

.clip-cell__date {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.clip-cell__headline {
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.15;
  max-width: 22ch;
}

@media (max-width: 900px) {
  .clip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clip-cell--tall {
    grid-row: span 1;
    min-height: 11rem;
  }
}

@media (max-width: 520px) {
  .clip-grid {
    grid-template-columns: 1fr;
  }

  .clip-cell--wide {
    grid-column: span 1;
  }
}

/* ——— Detail layout ——— */

.detail {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  height: calc(100vh - 3.2rem);
  min-height: 0;
  border-bottom: var(--border);
  overflow: hidden;
  align-items: stretch;
}

.detail__visual {
  background: var(--blue);
  color: var(--white);
  min-height: 0;
  height: 100%;
  max-height: 100%;
  display: flex;
  align-items: flex-end;
  padding: var(--pad);
  border-right: var(--border);
  position: relative;
  overflow: hidden;
}

.detail__visual--media {
  padding: 0;
  align-items: center;
  justify-content: center;
  background: var(--blue);
}

.detail__visual--cover {
  aspect-ratio: auto;
  min-height: 0;
  height: 100%;
  width: 100%;
  max-height: 100%;
}

.detail__visual--image {
  padding: 0;
  align-items: stretch;
  background: var(--blue);
}

.detail__visual--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.detail__visual-label {
  font-size: clamp(1.5rem, 4vw, 3rem);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 12ch;
}

.detail__cover-mark {
  font-size: clamp(1.25rem, 3vw, 2rem);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 14ch;
  padding: var(--pad);
  margin-top: auto;
}

.detail__body {
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 0;
  height: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) var(--white);
}

.detail__body.is-scrollable {
  overflow-y: auto;
  /* Encadeia com a página ao chegar no topo/fim (não trava o scroll). */
  overscroll-behavior: auto;
}

.detail__body::-webkit-scrollbar {
  width: 8px;
}

.detail__body::-webkit-scrollbar-track {
  background: var(--white);
}

.detail__body::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 0;
}

.detail__body::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.detail__nav {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding: 1.25rem var(--pad) var(--pad);
  margin-left: calc(-1 * var(--pad));
  margin-right: calc(-1 * var(--pad));
  margin-bottom: calc(-1 * var(--pad));
  background: linear-gradient(
    to top,
    rgb(0, 0, 255) 0%,
    rgba(0, 0, 255, 0.88) 55%,
    transparent 100%
  );
}

.detail__nav-seq {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.detail__nav .pill {
  background: var(--blue);
  color: var(--white);
  border-color: var(--white);
}

.detail__nav .pill:hover {
  background: var(--white);
  color: var(--blue);
}

.detail__nav .pill.is-disabled,
.detail__nav .pill[aria-disabled="true"] {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}

.detail__nav .pill.is-disabled:hover,
.detail__nav .pill[aria-disabled="true"]:hover {
  background: var(--blue);
  color: var(--white);
}

.detail__meta {
  width: 100%;
  border-collapse: collapse;
  border: var(--border);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.detail__meta th,
.detail__meta td {
  padding: 0.7rem 0.85rem;
  border: var(--border);
  text-align: left;
  vertical-align: top;
}

.detail__meta th {
  width: 38%;
  font-weight: inherit;
  white-space: nowrap;
}

.detail__meta td {
  width: 62%;
}

.detail__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.detail__text {
  font-size: 0.95rem;
  max-width: 80%;
  line-height: 1.35;
}

.detail__text--long {
  max-width: 80%;
}

.detail__text p {
  margin: 0;
}

.detail__text p + p {
  margin-top: 0;
}

.detail__text hr,
.about-bio hr {
  border: none;
  border-top: var(--border);
  margin: 1rem 0;
  width: 100%;
}

.detail__cta {
  margin-top: 1.25rem;
}

.detail-below {
  border-bottom: var(--border);
  padding: clamp(1.5rem, 4vw, 2.5rem) var(--pad);
}

.detail-below__label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

@media (max-width: 800px) {
  .detail {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }

  .detail__visual {
    border-right: none;
    border-bottom: var(--border);
    min-height: 0;
    height: auto;
    max-height: none;
  }

  /* Capas/discos: mantém a proporção original (quadrado fica quadrado) */
  .detail__visual--cover,
  .detail__visual--image {
    aspect-ratio: auto;
    min-height: 0;
    height: auto;
    max-height: none;
    width: 100%;
    padding: 0;
    align-items: center;
    justify-content: center;
  }

  .detail__visual--image img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
  }

  .detail__body {
    height: auto;
    overflow: visible;
    /* sem padding embaixo: a barra de botões encosta na borda da seção */
    padding-bottom: 0;
  }

  .detail__nav {
    padding-top: 1.25rem;
    margin-bottom: 0;
  }
}

/* ——— Native video player ——— */

.vplayer {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--blue);
  color: var(--white);
}

.vplayer__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 12rem;
  max-height: min(70vh, 720px);
  cursor: pointer;
  background: var(--blue);
  overflow: hidden;
}

.vplayer__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--blue);
}

.vplayer__poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--pad);
  pointer-events: none;
}

.vplayer__poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: var(--blue);
}

.vplayer__poster-title {
  position: relative;
  z-index: 1;
  font-size: clamp(1.25rem, 3vw, 2.25rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  max-width: 12ch;
  margin: 0 auto 1.25rem;
}

.vplayer.is-playing .vplayer__poster {
  display: none;
}

.vplayer__play {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  width: 3.5rem;
  height: 3.5rem;
  border: var(--border-inv);
  border-radius: var(--pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--ease), color var(--ease);
}

.vplayer__play:hover {
  background: var(--white);
  color: var(--blue);
}

.vplayer__play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.45rem 0 0.45rem 0.75rem;
  border-color: transparent transparent transparent currentColor;
  margin-left: 0.15rem;
}

.vplayer__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem var(--pad);
  border-top: var(--border-inv);
}

.vplayer__toggle,
.vplayer__fs,
.vplayer__mute,
.vplayer__cc {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: var(--border-inv);
  border-radius: var(--pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--ease), color var(--ease);
}

.vplayer__fs:hover,
.vplayer__mute:hover,
.vplayer__cc:hover {
  background: var(--white);
  color: var(--blue);
}

.vplayer__cc {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.55;
}

.vplayer__cc.is-on {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}

.vplayer__cc.is-on:hover {
  background: var(--white);
  color: var(--blue);
}

.vplayer__video::cue {
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-family: inherit;
  font-size: clamp(0.85rem, 2.2vw, 1.15rem);
  line-height: 1.35;
}

.vplayer__vol {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.vplayer__volume {
  width: 4.5rem;
  height: 1px;
  background: var(--white);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  padding: 0.5rem 0;
  background-clip: content-box;
}

.vplayer__volume::-webkit-slider-runnable-track {
  height: 1px;
  background: var(--white);
}

.vplayer__volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: var(--pill);
  background: var(--white);
  border: 1px solid var(--white);
  margin-top: -4.5px;
}

.vplayer__volume::-moz-range-track {
  height: 1px;
  background: var(--white);
  border: none;
}

.vplayer__volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: var(--pill);
  background: var(--white);
  border: 1px solid var(--white);
}

.vplayer__mute-icon {
  display: block;
  width: 0.75rem;
  height: 0.55rem;
  border: 1px solid currentColor;
  border-right: none;
  position: relative;
  margin-right: 0.15rem;
}

.vplayer__mute-icon::before {
  content: "";
  position: absolute;
  right: -0.28rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.28rem;
  height: 0.28rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: translateY(-50%) rotate(45deg);
}

.vplayer.is-muted .vplayer__mute-icon::after {
  content: "";
  position: absolute;
  left: -0.1rem;
  top: 50%;
  width: 1.1rem;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%) rotate(-30deg);
}

@media (max-width: 560px) {
  .vplayer__volume {
    width: 2.75rem;
  }
}

.vplayer__toggle-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.35rem 0 0.35rem 0.55rem;
  border-color: transparent transparent transparent currentColor;
  margin-left: 0.1rem;
}

.vplayer.is-playing .vplayer__toggle-icon {
  display: none;
}

.vplayer__pause-icon {
  display: none;
  width: 0.7rem;
  height: 0.7rem;
  position: relative;
}

.vplayer__pause-icon::before,
.vplayer__pause-icon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: currentColor;
}

.vplayer__pause-icon::before {
  left: 0.15rem;
}

.vplayer__pause-icon::after {
  right: 0.15rem;
}

.vplayer.is-playing .vplayer__pause-icon {
  display: block;
}

.vplayer__fs-icon {
  display: block;
  width: 0.7rem;
  height: 0.7rem;
  position: relative;
}

.vplayer__fs-icon::before,
.vplayer__fs-icon::after {
  content: "";
  position: absolute;
  width: 0.35rem;
  height: 0.35rem;
  border: 1px solid currentColor;
}

.vplayer__fs-icon::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.vplayer__fs-icon::after {
  right: 0;
  bottom: 0;
  border-left: none;
  border-top: none;
}

.vplayer.is-fullscreen .vplayer__fs-icon::before {
  top: auto;
  left: auto;
  right: 0;
  bottom: 0;
  border: 1px solid currentColor;
  border-left: none;
  border-top: none;
}

.vplayer.is-fullscreen .vplayer__fs-icon::after {
  right: auto;
  bottom: auto;
  top: 0;
  left: 0;
  border: 1px solid currentColor;
  border-right: none;
  border-bottom: none;
}

.vplayer__progress {
  flex: 1;
  height: 1px;
  background: var(--white);
  position: relative;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  padding: 0.5rem 0;
  background-clip: content-box;
}

.vplayer__progress::-webkit-slider-runnable-track {
  height: 1px;
  background: var(--white);
}

.vplayer__progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: var(--pill);
  background: var(--white);
  border: 1px solid var(--white);
  margin-top: -4.5px;
}

.vplayer__progress::-moz-range-track {
  height: 1px;
  background: var(--white);
  border: none;
}

.vplayer__progress::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: var(--pill);
  background: var(--white);
  border: 1px solid var(--white);
}

.vplayer__time {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-width: 5.5rem;
  text-align: right;
}

.vplayer:fullscreen,
.vplayer:-webkit-full-screen {
  width: 100%;
  height: 100%;
  background: var(--blue);
  justify-content: center;
}

.vplayer:fullscreen .vplayer__stage,
.vplayer:-webkit-full-screen .vplayer__stage {
  flex: 1;
  max-height: none;
  aspect-ratio: auto;
  height: 100%;
}

/* ——— Spotify strip ——— */

.spotify-strip {
  border: none;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}

.spotify-strip__note {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.65rem 0.85rem;
  border-bottom: var(--border);
}

.spotify-strip iframe {
  display: block;
  width: 100%;
  height: 352px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.spotify-strip--soundcloud iframe {
  height: 166px;
}

.spotify-strip--soundcloud-playlist iframe {
  height: 450px;
}

.spotify-strip--bandcamp iframe {
  height: 120px;
}

.spotify-strip--embed iframe {
  height: 300px;
}

/* ——— Lyrics accordion ——— */

.lyrics {
  border-top: var(--border);
}

.lyrics-item {
  border-bottom: var(--border);
}

.lyrics-item__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  user-select: none;
}

.lyrics-item__summary::-webkit-details-marker {
  display: none;
}

.lyrics-item__chevron {
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
  transform: rotate(45deg);
  transition: transform var(--ease);
  margin-top: -0.2rem;
}

.lyrics-item[open] .lyrics-item__chevron {
  transform: rotate(225deg);
  margin-top: 0.2rem;
}

.lyrics-item__body {
  padding: 0 0 1.25rem;
  font-size: 0.95rem;
  max-width: min(100%, 72ch);
  line-height: 1.25;
  white-space: pre-line;
}

.lyrics-item__body p {
  margin: 0;
  line-height: 1.25;
}

.lyrics-item__body p + p {
  margin-top: 0.1rem;
}

/* ——— Photo gallery ——— */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr));
  gap: 0;
  border: var(--border);
}

.gallery__item {
  aspect-ratio: 1;
  background: var(--blue);
  color: var(--white);
  border-right: var(--border);
  border-bottom: var(--border);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}

.gallery__item:hover {
  background: var(--white);
  color: var(--blue);
}

.gallery__item-label {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gallery__item--photo {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--blue);
  border: 0;
  font: inherit;
  color: inherit;
  width: 100%;
}

.gallery__item--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery__item--photo .gallery__item-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.5rem 0.65rem;
  background: linear-gradient(transparent, rgba(10, 31, 77, 0.85));
  color: var(--white);
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--blue);
  color: var(--white);
  display: none;
  flex-direction: column;
  padding: var(--pad);
}

.lightbox.is-open {
  display: flex;
}

.lightbox__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.lightbox__caption {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lightbox__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--border-inv);
  min-height: 0;
}

.lightbox__frame {
  font-size: clamp(1.5rem, 5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 16ch;
  line-height: 1.1;
}

.lightbox__nav {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: flex-end;
}

/* ——— About / CV / Press ——— */

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: var(--border);
  align-items: stretch;
}

.about-hero__text {
  padding: clamp(2rem, 5vw, 3.5rem) var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  grid-row: 1;
}

.about-hero__text .section__title {
  margin-bottom: clamp(1rem, 3vw, 1.75rem);
}

.about-bio {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 47ch;
}

.about-bio a[href] {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.about-bio p + p {
  margin-top: 1rem;
}

.about-portrait {
  grid-row: 1;
  margin: 0;
  padding: 0;
  background: var(--white);
  overflow: hidden;
  /* altura = texto; a img não puxa o bloco */
  height: 0;
  min-height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}

.about-portrait img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: right top;
}

.cv-list {
  border-top: var(--border);
}

.cv-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: var(--border);
  font-size: 0.9rem;
}

.cv-item__year {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.cv-item__text {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.press-list {
  border-top: var(--border-inv);
}

.press-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: var(--border-inv);
  transition: background var(--ease), color var(--ease);
}

.press-row:hover {
  background: linear-gradient(
    to right,
    var(--blue) 0%,
    var(--white) 10%,
    var(--white) 90%,
    var(--blue) 100%
  );
  color: var(--blue);
}

.press-row:hover .pill {
  border-color: var(--blue);
  color: var(--white);
  background: var(--blue);
}

.press-row__title {
  font-size: clamp(1rem, 2vw, 1.25rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.press-row__meta {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  justify-self: end;
}

@media (max-width: 720px) {
  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-hero__text,
  .about-portrait {
    grid-row: auto;
  }

  .about-portrait {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
    justify-content: center;
    width: 100%;
  }

  .about-portrait img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
  }

  .press-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "title btn"
      "meta btn";
    gap: 0.35rem 1rem;
  }

  .press-row__title {
    grid-area: title;
  }

  .press-row__meta {
    grid-area: meta;
    justify-self: start;
  }

  .press-row .pill {
    grid-area: btn;
    align-self: center;
  }
}

/* ——— Footer ——— */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.35rem 0;
  padding: 1.25rem var(--pad);
  background: var(--white);
  color: var(--blue);
  /* Sem borda superior: a última seção já traz border-bottom.
     Evita linha de 2px quando seções ocultas somem e as bordas se encontram. */
  border-top: none;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
  margin-top: auto;
  transition: background-color 1.2s ease, color 1.2s ease;
}

.site-footer:hover {
  background: var(--blue);
  color: var(--white);
}

.site-footer > *:not(:last-child)::after {
  content: "★";
  margin-left: 0.75rem;
  margin-right: 0.75rem;
  color: currentColor;
  transition: color 1.2s ease;
}

.site-footer a {
  transition: color 1.2s ease;
}

.site-footer:hover a {
  color: var(--white);
}

.site-footer a:hover {
  text-decoration: underline;
}

.hero[hidden],
.marquee[hidden],
#obra[hidden],
#clipping[hidden],
#curriculo[hidden],
#press[hidden],
.about-hero[hidden],
.site-footer[hidden],
.site-nav a[hidden] {
  display: none !important;
}

/* ——— Page enter ——— */

.page-enter .section,
.page-enter .about-hero,
.page-enter .detail,
.page-enter .detail-below,
.page-enter .obra-list {
  animation: rise 0.7s ease both;
}

/* =========================================================
   Mobile — não altera desktop (>768px)
   ========================================================= */

@media (max-width: 768px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  body {
    overflow-x: clip;
  }

  .site-nav {
    flex-wrap: wrap;
    row-gap: 0;
    padding: 0.75rem max(var(--pad), env(safe-area-inset-right)) 0.75rem
      max(var(--pad), env(safe-area-inset-left));
  }

  .site-nav__brand {
    font-size: 0.8rem;
    max-width: calc(100% - 3.5rem);
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav__end {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.85rem 0 0.35rem;
    border-top: var(--border-inv);
    margin-top: 0.75rem;
  }

  .site-nav__end.is-open {
    display: flex;
  }

  .site-nav__links,
  .lang-toggle {
    width: 100%;
    justify-content: flex-start;
    gap: 0.35rem;
    flex-wrap: wrap;
  }

  .obra-row__tags {
    display: none;
  }

  .obra-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "main year";
    gap: 0.5rem 1rem;
  }

  .obra-row__main {
    grid-area: main;
  }

  .obra-row__year {
    grid-area: year;
    align-self: center;
  }

  .filters {
    margin-left: calc(-1 * var(--pad));
    margin-right: calc(-1 * var(--pad));
    padding-left: var(--pad);
    padding-right: var(--pad);
  }

  .detail__tags {
    margin-left: 0;
  }

  .pill {
    padding: 0.4rem 0.75rem;
    font-size: 0.65rem;
  }

  .hero {
    min-height: calc(100svh - 4.5rem);
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }

  .hero--glitch {
    padding-bottom: 0;
    min-height: calc(100svh - 4.5rem);
  }

  .hero__glitch {
    height: calc(100svh - 4.5rem);
    min-height: calc(100svh - 4.5rem);
  }

  .hero__brand {
    font-size: clamp(2.4rem, 14vw, 4rem);
    max-width: 10ch;
  }

  .hero__headline {
    max-width: 22ch;
  }

  .hero__lede {
    max-width: 34ch;
  }

  .marquee {
    padding: 0.75rem 0 0.55rem;
  }

  .marquee__item {
    padding: 0 2rem;
  }

  .marquee__track {
    animation-duration: 40s;
  }

  .section {
    padding: 2rem max(var(--pad), env(safe-area-inset-left)) 2rem
      max(var(--pad), env(safe-area-inset-right));
  }

  .section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .section__note {
    max-width: none;
  }

  .filters {
    gap: 0.35rem;
    margin-bottom: 1.25rem;
  }

  .obra-row {
    padding: 0.75rem 0;
  }

  .obra-row__title {
    font-size: 0.95rem;
    overflow-wrap: anywhere;
  }

  .obra-row__thumb {
    width: 2.4rem;
    height: 2.4rem;
  }

  .obra-row__tags {
    padding-left: calc(2.4rem + 0.85rem);
  }

  .clip-cell {
    min-height: 9.5rem;
  }

  .clip-cell__headline {
    max-width: none;
  }

  .detail__visual {
    min-height: 0;
  }

  .detail__visual--cover,
  .detail__visual--image {
    aspect-ratio: auto;
    max-height: none;
    height: auto;
  }

  .detail__visual--image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .detail__visual--media {
    min-height: 0;
  }

  .detail__body {
    padding: 1.5rem var(--pad) 0;
    gap: 1.15rem;
    height: auto;
    overflow: visible;
  }

  .detail__nav {
    margin-bottom: 0;
  }

  .detail__title {
    font-size: clamp(1.5rem, 8vw, 2.1rem);
  }

  .detail__text,
  .detail__text--long {
    max-width: none;
  }

  .detail-below {
    padding: 1.35rem var(--pad);
  }

  .vplayer__stage {
    min-height: 11rem;
    max-height: 55vh;
  }

  .vplayer__bar {
    flex-wrap: wrap;
    gap: 0.55rem 0.65rem;
    padding: 0.65rem var(--pad);
  }

  .vplayer__progress {
    order: 3;
    flex: 1 1 100%;
  }

  .vplayer__time {
    min-width: 0;
    margin-left: auto;
  }

  .spotify-strip iframe {
    height: 280px;
  }

  .lyrics-item__summary {
    padding: 0.85rem 0;
    font-size: 0.8rem;
  }

  .lyrics-item__body {
    max-width: none;
  }

  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-hero__text,
  .about-portrait {
    grid-row: auto;
  }

  .about-portrait {
    order: -1;
    height: auto;
    min-height: 0;
    aspect-ratio: 5 / 4;
    justify-content: center;
    width: 100%;
  }

  .about-portrait img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
  }

  .about-hero__text {
    padding: 1.75rem var(--pad) 2rem;
  }

  .about-bio {
    max-width: none;
  }

  .cv-item {
    grid-template-columns: 4rem 1fr;
    gap: 0.75rem;
  }

  .press-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "title btn"
      "meta btn";
    gap: 0.35rem 0.85rem;
    padding: 0.9rem 0;
  }

  .press-row__title {
    grid-area: title;
    font-size: 0.95rem;
  }

  .press-row__meta {
    grid-area: meta;
    justify-self: start;
  }

  .press-row .pill {
    grid-area: btn;
    align-self: center;
  }

  .site-footer {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
    padding: 1.1rem max(var(--pad), env(safe-area-inset-left))
      max(1.1rem, env(safe-area-inset-bottom));
  }

  /* Mobile: nome / ★ frase ★ / email — sem estrela solta na quebra */
  .site-footer > *:not(:last-child)::after {
    content: none;
    margin: 0;
  }

  .site-footer [data-footer-tagline]::before,
  .site-footer [data-footer-tagline]::after {
    content: "★";
    color: currentColor;
  }

  .site-footer [data-footer-tagline]::before {
    margin-right: 0.65rem;
  }

  .site-footer [data-footer-tagline]::after {
    margin-left: 0.65rem;
  }

  .lightbox {
    padding: max(var(--pad), env(safe-area-inset-top))
      max(var(--pad), env(safe-area-inset-right))
      max(var(--pad), env(safe-area-inset-bottom))
      max(var(--pad), env(safe-area-inset-left));
  }

  .lightbox__nav {
    flex-wrap: wrap;
    justify-content: stretch;
  }

  .lightbox__nav .pill {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .hero__cta {
    width: 100%;
  }

  .hero__cta .pill {
    flex: 1;
    text-align: center;
  }

  .obra-row__tags {
    display: none;
  }

  .vplayer__vol .vplayer__volume {
    width: 2.25rem;
  }

  .spotify-strip iframe {
    height: 232px;
  }

  .about-portrait {
    aspect-ratio: 5 / 4;
  }
}

/* touch: evita “hover grudado” em gradientes de lista */
@media (hover: none) {
  .obra-row:hover {
    background: transparent;
    color: var(--blue);
  }

  .obra-row:active {
    background: linear-gradient(
      to right,
      var(--white) 0%,
      var(--blue) 10%,
      var(--blue) 90%,
      var(--white) 100%
    );
    color: var(--white);
  }

  .obra-row:hover .pill {
    border-color: var(--blue);
    color: var(--blue);
    background: transparent;
  }

  .obra-row:active .pill {
    border-color: var(--white);
    color: var(--white);
    background: var(--blue);
  }

  .obra-row:hover .obra-row__thumb {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    transform: none;
  }

  .press-row:hover {
    background: transparent;
    color: var(--white);
  }

  .press-row:active {
    background: linear-gradient(
      to right,
      var(--blue) 0%,
      var(--white) 10%,
      var(--white) 90%,
      var(--blue) 100%
    );
    color: var(--blue);
  }

  .press-row:hover .pill {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
  }

  .press-row:active .pill {
    border-color: var(--blue);
    color: var(--white);
    background: var(--blue);
  }

  .clip-cell:hover {
    background: var(--blue);
    color: var(--white);
  }

  .clip-cell:active {
    background: var(--white);
    color: var(--blue);
  }
}

