
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  background: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@font-face {
  font-family: "Rotulo";
  src: url(rotulo.woff2) format("woff2");
  font-weight: 900; font-display: swap;
}
@font-face {
  font-family: "Titulo";
  src: url(titulo.woff2) format("woff2");
  font-weight: 700; font-display: swap;
}

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

:focus-visible { outline: 2px solid #E1E1E1; outline-offset: 4px; }
#info-btn:focus-visible, #index-btn:focus-visible, #info .tab:focus-visible { outline-offset: -6px; }


#info-btn, #info .tab {
  border: 0; cursor: pointer;
  background: none; color: #E1E1E1;
  width: max(48px, 4.58vw); height: max(48px, 4.58vw);
  display: flex; align-items: center; justify-content: center;
  font: 900 max(14px, .92vw)/1 "Rotulo", system-ui, sans-serif;
  letter-spacing: .12em; text-indent: .12em;
  padding: 0;
  position: relative; isolation: isolate;
}


#info-btn::before, #info .tab::before, #index-btn::before, #index-panel::before, #info .block::before {
  content: ""; position: absolute; inset: -16px; z-index: -1;
  background: rgba(0, 0, 0, .6);
  -webkit-backdrop-filter: blur(48px);
  backdrop-filter: blur(48px);
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent),
    linear-gradient(to bottom, transparent, #000 32px, #000 calc(100% - 32px), transparent);
  mask-image:
    linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent),
    linear-gradient(to bottom, transparent, #000 32px, #000 calc(100% - 32px), transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  pointer-events: none;
}
#info-btn {
  position: fixed; top: 0; left: 50%;
  transform: translate(-50%, 0);
  z-index: 26;
}
#info-btn.travel { transition: transform .55s cubic-bezier(.77, 0, .18, 1); }


#index-btn {
  position: fixed; bottom: 0; left: 50%;
  transform: translate(-50%, 0);
  z-index: 23;
  border: 0; cursor: pointer;
  background: none; color: #E1E1E1;
  width: max(48px, 4.58vw); height: max(48px, 4.58vw);
  display: flex; align-items: center; justify-content: center;
  font: 900 max(18px, 1.15vw)/1 "Rotulo", system-ui, sans-serif;
  padding: 0;
  isolation: isolate;
  transition: opacity .3s;
}
#index-btn.gone { opacity: 0; pointer-events: none; }

body:has(#info.open) #index-btn { opacity: 0; pointer-events: none; }

#index-btn .plus {
  position: relative; display: block;
  width: max(13px, .9vw); height: max(13px, .9vw);
}
#index-btn .plus::before, #index-btn .plus::after {
  content: ""; position: absolute; background: #E1E1E1;
}
#index-btn .plus::before {
  left: 0; right: 0; top: 50%;
  height: max(2px, .17vw); transform: translateY(-50%);
}
#index-btn .plus::after {
  top: 0; bottom: 0; left: 50%;
  width: max(2px, .17vw); transform: translateX(-50%);
}

#index-panel {
  position: fixed; bottom: max(12px, 1.06vw); left: 50%; z-index: 22;
  transform: translate(-50%, 130%);
  transition: transform .55s cubic-bezier(.77, 0, .18, 1), visibility 0s linear .55s;
  visibility: hidden;
  text-align: center;
  width: max-content; max-width: 92vw;
  padding: max(10px, .6vw) max(16px, 1vw) calc(max(10px, .6vw) + env(safe-area-inset-bottom, 0px));
  isolation: isolate;
}
#index-panel.open { transform: translate(-50%, 0); visibility: visible; transition-delay: 0s, 0s; }
#index-panel ul {
  list-style: none;
  font: 900 max(15px, 1.56vw)/1.06 "Rotulo", system-ui, sans-serif;
  color: #E1E1E1;
  max-height: 76vh; max-height: 76dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
#index-panel ul::-webkit-scrollbar { display: none; }
#index-panel a { color: #E1E1E1; text-decoration: none; cursor: pointer; }
#index-panel a:hover { opacity: .5; }


#info {
  position: fixed; top: 0; left: 0; right: 0;
  height: 100vh; height: 100dvh;
  z-index: 25;
  background: transparent; overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain;
  touch-action: pan-y;
  pointer-events: none;
  transform: translateY(-100%);
  transition: transform .55s cubic-bezier(.77, 0, .18, 1), visibility 0s linear .55s;
  visibility: hidden;
  scrollbar-width: none;
}
#info::-webkit-scrollbar { display: none; }
#info.open { transform: translateY(0); visibility: visible; transition-delay: 0s, 0s; }

#info .col {
  width: min(94vw, clamp(320px, 36.4vw, 760px));
  margin: 0 auto;
  padding: 16px 0 40px; padding-top: 2.9cqw;
  pointer-events: auto;
  container-type: inline-size;
}
#info .block {
  background: none; color: #E1E1E1;
  text-align: center;
  width: fit-content; max-width: 100%;
  padding: 12px; padding: 1.65cqw 1.6cqw;
  margin: 0 auto 32px; margin-bottom: 6.3cqw;
  position: relative; isolation: isolate;
}
#info .bio {
  width: 100%;
  font: 900 21px/1.06 "Rotulo", system-ui, sans-serif;
  font-size: 4.3cqw;
}
#info .block h2 {
  font: 700 14px/1.06 "Titulo", Georgia, serif;
  font-size: 2.86cqw;
  margin-bottom: 8px; margin-bottom: 1.6cqw;
}
#info .block ul {
  list-style: none;
  font: 900 13px/1.06 "Rotulo", system-ui, sans-serif;
  font-size: 2.61cqw;
}
#info .block a { color: #E1E1E1; text-decoration: none; }
#info .block a:hover { opacity: .5; }

#info .logos {
  width: 66.3cqw; height: 25.7cqw;
  padding: 0;
  display: block;
}
#info .logos img {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 100cqw; height: 22.86cqw;
  object-fit: cover; display: block;
  max-width: none;
}
#info .rights {
  font: 700 14px/1.06 "Titulo", Georgia, serif;
  font-size: 2.86cqw;
}
#info .tab {
  margin: 32px auto 0; margin-top: 6.3cqw;
}


body.lines #info .block h2,
body.lines #info .block li,
body.lines #index-panel li,
body.lines #info .bio .bio-line {
  position: relative;
  width: fit-content; max-width: 100%;
  margin-left: auto; margin-right: auto;
}
body.lines #info .bio .bio-line { white-space: nowrap; }
body.lines #info .rights { padding: 0; }
body.lines #info .logos { height: 10cqw; }
body.lines #info .block::before,
body.lines #index-panel::before {
  inset: -40px;
  -webkit-mask-image: var(--line-mask, linear-gradient(#000, #000));
  mask-image: var(--line-mask, linear-gradient(#000, #000));
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-composite: source-over;
  mask-composite: add;
}


#grid { width: 100%; }
.row {
  display: flex;
  width: 100%;
  content-visibility: auto;
  contain-intrinsic-size: auto 60vh;
  position: relative;
}
.cell {
  position: relative;
  min-width: 0;
  flex: 1 1 0px;
  overflow: hidden;
}
.cell img, .cell video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  background: #050505;
}


.cell video::-webkit-media-controls, .cell video::-webkit-media-controls-enclosure { display: none !important; }


.cell .tag {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  background: none; color: #E1E1E1;
  font: 700 max(13px, 1.09vw)/1 "Titulo", Georgia, serif;
  padding: .02em .2em .06em .14em;
  opacity: 0; pointer-events: none;
  white-space: nowrap;
  isolation: isolate;
}
.cell .tag::before {
  content: ""; position: absolute; inset: -6px; z-index: -1;
  background: rgba(0, 0, 0, .6);
  -webkit-backdrop-filter: blur(48px);
  backdrop-filter: blur(48px);
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px), transparent),
    linear-gradient(to bottom, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  mask-image:
    linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px), transparent),
    linear-gradient(to bottom, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  pointer-events: none;
}
.cell:hover .tag { opacity: 1; }


.pie {
  background: #000; color: #E1E1E1;
  text-align: center;
  padding: 44px 16px 0; height: 160px;
  font: 700 max(13px, 1.09vw)/1 "Titulo", Georgia, serif;
}
.pie a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pie a:hover { opacity: .5; }


@media (max-width: 700px) {
  .row { display: block; aspect-ratio: auto !important; }
  .cell { width: 100%; }

  
  #info-btn {
    top: auto;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    left: 50%; transform: translate(-50%, 0);
    transition: opacity .3s;
  }
  #index-btn {
    bottom: auto;
    top: calc(14px + env(safe-area-inset-top, 0px));
    left: 50%; transform: translate(-50%, 0);
  }
  
  #index-panel {
    bottom: auto;
    top: calc(max(12px, 1.06vw) + env(safe-area-inset-top, 0px));
    transform: translate(-50%, -130%);
    padding: max(10px, .6vw) max(16px, 1vw) max(10px, .6vw);
  }
  #index-panel.open { transform: translate(-50%, 0); }
  
  #info .col { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
  #info-btn.gone { opacity: 0; pointer-events: none; }
  #info {
    transform: translateY(100%);
    pointer-events: auto;
  }
  #info.open { transform: translateY(0); }
  
  #info .col { width: min(94vw, 384px); }
  
  #info .block h2, #info .rights { font-size: 3.43cqw; }
  #info .block ul { font-size: 3.13cqw; }
}

@media (prefers-reduced-motion: reduce) {
  #info, #index-panel, #info-btn.travel, #index-btn { transition: none !important; }
}
