﻿:root {
  --babel-red: #cb1b01;
  --babel-dark: #050505;
  --babel-gray: #4d4d4d;
  --babel-white: #ffffff;
  --babel-font-regular: "Arial", "Helvetica Neue", sans-serif;
  --babel-spacing: clamp(1.5rem, 3vw, 6.25rem);
}

html,
body {
  margin: 0;
  background-color: var(--babel-dark);
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
}

body.home {
  background-color: var(--babel-dark);
  font-family: var(--babel-font-regular);
  color: var(--babel-white);
}

.babel-top {
  overflow: hidden;
  background-color: var(--babel-dark);
}

.babel-top a {
  text-decoration: none;
}

.babel-top img,
.babel-top video {
  border-radius: 0;
}

.babel-eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--babel-white);
}

.babel-btn {
  display: -webkit-inline-box;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 0.5rem;
  min-width: 12rem;
  min-height: 3.5rem;
  padding: 0 2.5rem;
  border-radius: 999px;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  -o-transition: transform 0.3s ease, opacity 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease, -webkit-transform 0.3s ease;
}

.babel-btn.is-primary {
  background-color: var(--babel-red);
  color: var(--babel-white);
}

.babel-btn {
  border-radius: 0;
}

.babel-btn:hover,
.babel-btn:focus-visible {
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
  opacity: 0.9;
}

.babel-btn.align-right {
  margin-left: auto;
}

.babel-hero {
  position: relative;
  min-height: 100vh;
}

.babel-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0.85;
}

.babel-hero__bg--mobile {
  display: none;
}

.babel-hero__nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 33px 0;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
     -moz-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  z-index: 3;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.babel-hero__logo img {
  width: clamp(140px, 12vw, 220px);
  height: auto;
}

.babel-hero__socials {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
}

.babel-hero__socials a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--babel-white);
  -webkit-transition: background 0.3s ease;
  -o-transition: background 0.3s ease;
  transition: background 0.3s ease;
}

.babel-hero__socials a:hover {
  background-color: rgba(255,255,255,0.2);
}

.babel-hero__socials a i {
  font-size: 2.1rem;
}

.babel-concept {
  padding: clamp(4rem, 8vw, 8rem) 100px;
  background: -webkit-gradient(linear, left top, left bottom, from(#220000), to(#141414));
  background: -o-linear-gradient(top, #220000 0%, #141414 100%);
  background: linear-gradient(180deg, #220000 0%, #141414 100%);
  text-align: center;
}

.babel-concept__media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.babel-concept__media video {
  width: 100%;
  border: none;
}

.babel-concept__copy h2 {
  font-size: clamp(2.5rem, 4vw, 5rem);
  margin-bottom: 1.5rem;
}

.babel-concept__copy p {
  font-size: clamp(1.1rem, 2vw, 1.75rem);
  line-height: 1.8;
}

.babel-events,
.babel-gallery,
.babel-message {
  padding: clamp(4rem, 8vw, 8rem) 57px;
  background: #141414;
}

.babel-gallery {
  background: url("../assets/new-top/images/bg1.png") center/cover no-repeat;
}

.babel-message {
  background: -webkit-gradient(linear, left top, right top, from(#1a0c0c), to(#050505));
  background: -o-linear-gradient(left, #1a0c0c 0%, #050505 100%);
  background: linear-gradient(90deg, #1a0c0c 0%, #050505 100%);
}

.babel-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.babel-section-header.align-left {
  text-align: left;
}

.babel-section-header.has-underline h2 {
  position: relative;
  padding-left: 9px;
}

.babel-section-header.has-underline h2::after {
  content: "";
  display: block;
  width: 75px;
  height: 5px;
  background: var(--babel-white);
  margin-top: 22px;
  margin-left: 0;
}

.babel-section-header.align-left {
  text-align: left;
}

.babel-section-header h2 {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
}

.babel-events__slider {
  width: 100%;
}

.babel-events__track {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.babel-events__card {
  background: #000000;
  padding: 2rem;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.babel-events__frame img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.babel-events__card .babel-btn.is-primary {
  display: block;
  margin: 0 auto;
}

.babel-events__eyebrow {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  text-align: center;
}

.babel-events__control {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--babel-white);
  cursor: pointer;
  -webkit-transition: background 0.3s ease;
  -o-transition: background 0.3s ease;
  transition: background 0.3s ease;
}

.babel-events__control:hover {
  background: rgba(255,255,255,0.1);
}

.babel-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.babel-gallery__item {
  display: block;
  overflow: hidden;
  border: none;
}

.babel-gallery__item img {
  width: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 1 / 1;
}

.babel-message {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 3rem;
  -webkit-box-align: start;
     -moz-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}

.babel-message__media img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.babel-message__copy {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.babel-message__copy .babel-section-header {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.babel-message__copy p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.babel-message__signature {
  font-weight: 600;
  margin-top: 1.5rem;
}

.babel-photo {
  padding: 0;
}

.babel-photo__image {
  width: 100%;
  height: 388px;
  overflow: hidden;
  position: relative;
}

.babel-photo__image img {
  width: 100%;
  height: 120%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 40%;
     object-position: 50% 40%;
  -webkit-transition: -webkit-transform 0.1s ease-out;
  transition: -webkit-transform 0.1s ease-out;
  -o-transition: transform 0.1s ease-out;
  transition: transform 0.1s ease-out;
  transition: transform 0.1s ease-out, -webkit-transform 0.1s ease-out;
}

.babel-footer-cta {
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) var(--babel-spacing);
  background: #141414;
}

.babel-footer-cta__top {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.babel-footer-cta__socials {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
}

.babel-footer-cta__socials a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #FFF;
}

.babel-footer-cta__socials a i {
  font-size: 2.1rem;
}

.babel-footer-cta__top img {
  width: clamp(140px, 10vw, 220px);
}

.babel-footer-cta__info {
  max-width: 960px;
  margin: 0 auto 2rem auto;
  line-height: 1.8;
}

.babel-divider {
  border: none;
  border-top: 1px solid var(--babel-gray);
  margin: 2rem auto;
  width: 100%;
}

.babel-footer-cta__copy {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}

.babel-hero__socials .is-disabled,
.babel-footer-cta__socials .is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.babel-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  -webkit-box-align: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 2rem;
  z-index: 999;
}

.babel-modal.is-visible {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}

.babel-modal__dialog {
  background: #0b0b0b;
  border-radius: 0;
  width: min(960px, 100%);
  max-height: 90vh;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  position: relative;
}

.babel-modal__media {
  min-height: 100%;
}

.babel-modal__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.babel-modal__content {
  padding: 2rem;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1rem;
}

.babel-modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  color: var(--babel-white);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.babel-modal__content .is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .babel-hero__nav {
    padding: 15px 12px 0;
    gap: 0.5rem;
  }

  .babel-hero__bg--desktop {
    display: none;
  }

  .babel-hero__bg--mobile {
    display: block;
  }

  .babel-message {
    grid-template-columns: 1fr;
  }

  .babel-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .babel-concept,
  .babel-events,
  .babel-gallery,
  .babel-message {
    padding: clamp(3rem, 6vw, 5rem) 24px;
  }

  .babel-message__media {
    height: 210px;
    overflow: hidden;
  }
}

@media (max-width: 599px) {
  :root {
    --babel-spacing: 2rem;
  }

  .babel-events__slider .swiper-slide {
    width: 200px !important;
  }

  .babel-events__slider {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .babel-events__control {
    -webkit-box-ordinal-group: 0;
       -moz-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1;
  }

  .babel-events__card {
    padding: 1.5rem;
  }

  .babel-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .babel-modal__dialog {
    grid-template-columns: 1fr;
  }

  .babel-modal__media img {
    border-radius: 0;
  }

  .babel-section-header.has-underline h2 {
    padding-left: 3px;
  }

  .babel-section-header.has-underline h2::after {
    margin-top: 11px;
    height: 5px;
  }

  .babel-photo__image {
    height: 152px;
  }

  .babel-message__copy .babel-section-header h2 {
    margin-top: 0;
  }
}
