@import url(https://unpkg.com/swiper@9/swiper-bundle.min.css);
@charset "UTF-8";
/* ========================================
   RESETS & BASE STYLES
   ======================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Ivory", "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.35;
  color: #aa0a27;
  background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 1.9rem;
}

h2 {
  font-size: 1.35rem;
}

h3 {
  font-size: 1.15rem;
}

h4 {
  font-size: 1rem;
}

h5 {
  font-size: 0.95rem;
}

h6 {
  font-size: 0.9rem;
}

p {
  margin-bottom: 1em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #666;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

/* ========================================
   THEME
   ======================================== */
/* ========================================
   LAYOUT
   ======================================== */
.page {
  position: relative;
  height: 100vh;
  padding: 24px;
  overflow: hidden;
}
@media (min-width: 900px) {
  .page {
    padding: 0;
  }
}
.page.page--inner {
  overflow: auto;
}

@media (max-width: 899px) {
  .page {
    height: 100dvh;
  }
}
.mobile-bar {
  display: none;
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 3;
}

.menu-toggle {
  background: transparent;
  border: none;
  padding: 0;
  color: #aa0a27;
  font-size: 20px;
  line-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.menu-toggle__icon {
  width: 34px;
  height: auto;
  display: block;
}

.brand__line {
  margin-bottom: 6px;
  font-size: 22px;
  line-height: 27px;
}

.lang {
  font-size: 20px;
  line-height: 24px;
  margin-top: 20px;
}

@font-face {
  font-family: "Ivory";
  src: url("../fonts/a4eae620502d71226c9a5fbeb1503ee3.woff2") format("woff2"), url("../fonts/a4eae620502d71226c9a5fbeb1503ee3.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ivory";
  src: url("../fonts/d7e67d5af9c40f1a1d9e089657dcf3e7.woff2") format("woff2"), url("../fonts/d7e67d5af9c40f1a1d9e089657dcf3e7.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ivory";
  src: url("../fonts/303fd41f750c92d4dbfec3ee2e1f8036.woff2") format("woff2"), url("../fonts/303fd41f750c92d4dbfec3ee2e1f8036.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Ivory";
  src: url("../fonts/99559378d7c87d05f02c444cac3671a5.woff2") format("woff2"), url("../fonts/99559378d7c87d05f02c444cac3671a5.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) {
  .layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 40px;
  }
  .layout.layout--inner {
    grid-template-columns: 1fr 789px 1fr;
    position: relative;
  }
}
.layout.layout--inner article {
  margin-top: 92px;
}
.layout.layout--inner article h2 {
  margin-top: 50px;
}
@media (max-width: 899px) {
  .layout.layout--inner article {
    overflow: hidden;
  }
}
.layout.layout--inner article h1,
.layout.layout--inner article h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 20px;
  line-height: 24px;
  text-transform: uppercase;
  font-weight: normal;
}
@media (max-width: 899px) {
  .layout.layout--inner article h1,
  .layout.layout--inner article h2 {
    font-size: 18px;
    line-height: 22px;
  }
}
.layout.layout--inner article p {
  font-size: 22px;
  line-height: 27px;
}
@media (max-width: 899px) {
  .layout.layout--inner article p {
    font-size: 18px;
    line-height: 22px;
  }
}

.left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2;
  margin-top: 33px;
  padding-left: 24px;
}

@media (min-width: 900px) {
  .left {
    padding-left: 33px;
    position: sticky;
    top: 33px;
    height: calc(100vh - 33px);
  }
}
.title {
  font-size: 22px;
  line-height: 27px;
  font-weight: normal;
  margin-bottom: 20px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 22px;
  line-height: 27px;
}

.nav a {
  width: -moz-fit-content;
  width: fit-content;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  text-decoration: none;
  cursor: pointer;
  color: #aa0a27;
}

.social {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  gap: 13px;
  margin-top: 0;
}

@media (min-width: 900px) {
  .social {
    left: 33px;
    bottom: 33px;
  }
}
.social__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.social__dot img {
  width: 30px;
  height: 30px;
  display: block;
}

.right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 2;
  padding-right: 24px;
}

@media (min-width: 900px) {
  .right {
    padding-right: 33px;
    position: sticky;
    top: 0;
  }
}
.biennale-logo {
  width: 230px;
  height: auto;
  display: block;
  margin-top: 12px;
}

footer {
  margin-bottom: 33px;
}
footer .footer-logos {
  display: flex;
  gap: 33px;
  border-top: 1px solid #aa0a27;
  margin-top: 75px;
  padding-top: 20px;
}
footer .footer-logos img {
  display: block;
  height: 38px;
  width: auto;
}

.mobile-brand {
  display: none;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 21px;
  line-height: 25px;
  text-align: center;
  z-index: 2;
}

.__default_content.two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 33px;
}
@media (max-width: 899px) {
  .__default_content.two-columns {
    grid-template-columns: 1fr;
  }
}
.__default_content.two-columns .content-left {
  flex: 0 0 300px;
}

.mobile-brand--active {
  color: #fff;
}

.page-highlights {
  margin-top: 50px;
}

.accordions {
  border-top: 1px solid #aa0a27;
}
.accordions details {
  padding: 15px 0;
  border-bottom: 1px solid #aa0a27;
  /* Style the summary: hide native marker and show emoji at the end */
}
.accordions details summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  padding: 0;
  background: transparent;
  border: none;
}
.accordions details {
  /* Remove the default disclosure triangle */
}
.accordions details summary::-webkit-details-marker {
  display: none;
}
.accordions details summary::marker {
  font-size: 0;
  color: transparent;
  content: "";
}
.accordions details {
  /* Add eye icon at the end */
}
.accordions details summary::after {
  content: "👀";
  display: inline-block;
  transition: transform 0.18s ease;
  margin-left: 8px;
}
.accordions details .accordion-body {
  margin-top: 25px;
}
.accordions details {
  /* Rotate the icon when open to give a visual cue */
}
.accordions details[open] > summary::after {
  transform: rotate(180deg);
}

/* ========================================
   CENTER TYPE
   ======================================== */
.type-arc {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 899px) {
  .type-arc {
    top: 60%;
    transform: translate(-50%, -60%);
  }
}

.type-arc img {
  height: calc(100vh - 120px);
  width: auto;
  max-width: calc(100vw - 120px);
  max-height: calc(100vh - 120px);
  display: block;
  opacity: 0;
  animation: type-fade 18s ease-in-out infinite;
}
@media (max-width: 899px) {
  .type-arc img {
    height: calc(100dvh - 260px);
  }
}

/* ========================================
   TEETH ANIMATION
   ======================================== */
.teeths {
  position: absolute;
  height: 100vh;
  width: 100vw;
  z-index: 0;
  pointer-events: none;
}

.teeths__img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: auto;
  max-height: calc(100vh - 120px);
  opacity: 0;
  animation: teeth-one-fade 18s ease-in-out infinite;
}

.teeths__img--one {
  top: auto;
  bottom: 45px;
  transform: translateX(-50%);
}

.teeths__img--two {
  top: 60%;
  transform: translate(-50%, -60%);
  animation: teeth-two-fade 18s ease-in-out infinite;
}

/* ========================================
   MOBILE MENU
   ======================================== */
.menu-panel {
  display: none;
  position: fixed;
  inset: 0;
  background: #aa0a27;
  color: #fff;
  z-index: 10;
  padding: 24px;
  flex-direction: column;
  gap: 33px;
}

.menu-panel__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.menu-panel__title {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 20px;
  line-height: 24px;
}

.menu-panel__icon {
  width: 34px;
  height: auto;
  display: block;
}

.menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
}

.menu-panel__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 30px;
  line-height: 37px;
}

.menu-panel__nav a {
  color: #fff;
}

.menu-panel__social {
  display: flex;
  gap: 21px;
  margin-top: 20px;
}

.menu-panel__social-link svg {
  width: 41px;
  height: 41px;
  display: block;
}

body.menu-open .menu-panel {
  display: flex;
}

/* ========================================
   MOBILE LAYOUT OVERRIDES
   ======================================== */
@media (max-width: 899px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .left {
    display: none;
  }
  .right {
    position: absolute;
    top: 24px;
    right: 24px;
    padding-right: 0;
  }
  .lang {
    margin-top: 0;
  }
  .biennale-logo {
    margin-top: -12px;
    width: 130px;
    position: relative;
    z-index: 99999;
  }
  .mobile-bar {
    display: flex;
    gap: 15px;
  }
  .mobile-brand {
    display: block;
    width: 100%;
    z-index: 99999;
  }
  .mobile-brand.hidden {
    display: none;
  }
  .social {
    display: none;
  }
  .teeths {
    height: calc(100vh - 120px);
    width: calc(100vw - 66px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .teeths__img {
    width: calc(100vh - 120px);
    height: auto;
    max-width: calc(100vh - 66px);
  }
  .teeths__img--one,
  .teeths__img--two {
    transform: translate(-50%, -50%) rotate(-75deg);
    transform-origin: center;
    top: 50%;
    bottom: auto;
  }
  .teeths__img--one {
    animation: teeth-one-fade 18s ease-in-out infinite;
  }
}
@keyframes type-fade {
  0%, 18% {
    opacity: 1;
  }
  28% {
    opacity: 0;
  }
  88% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes teeth-one-fade {
  0%, 28% {
    opacity: 0;
  }
  38%, 55% {
    opacity: 1;
  }
  65% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes teeth-two-fade {
  0%, 65% {
    opacity: 0;
  }
  75%, 88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/* ========================================
   PAGE GALLERY / SWIPER
   ======================================== */
.page-gallery {
  position: relative;
  width: 100%;
  margin: 24px 0;
}
.page-gallery .page-gallery__swiper {
  width: 100%;
}
.page-gallery .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}
.page-gallery .gallery-item {
  max-width: 100%;
}
.page-gallery .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}
.page-gallery .gallery-item figcaption {
  margin-top: 8px;
  text-align: left;
  font-size: 15px;
  color: #aa0a27;
  width: calc(100% - 100px);
}
.page-gallery {
  /* navigation buttons bottom-right under the image */
}
.page-gallery .page-gallery__nav {
  position: absolute;
  right: 0px;
  bottom: 0px;
  display: flex;
  gap: 15px;
  z-index: 5;
}
@media (max-width: 899px) {
  .page-gallery .page-gallery__nav {
    gap: 8px;
  }
}
.page-gallery .page-gallery__nav button {
  background: transparent;
  border: none;
  color: #aa0a27;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
}
.page-gallery .page-gallery__nav button.is-disabled {
  opacity: 0.3;
  cursor: default;
}
