@font-face {
  font-family: "Haas Grot";
  src: url("./fonts/HaasGrotDisp-Regular.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: "Haas Grot";
  src: url("./fonts/HaasGrotDisp-Medium.woff2") format("woff2");
  font-weight: 500;
}

:root {
  --bg: #050505;
  --white: #ffffff;
  --gold: #d6a369;

  --text-strong: rgba(255,255,255,.88);
  --text-main: rgba(255,255,255,.74);
  --text-muted: rgba(255,255,255,.34);
  --line: rgba(255,255,255,.14);
  --glass: rgba(255,255,255,.08);

  --radius: 12px;
  --ease: cubic-bezier(.22,1,.36,1);

  --side-space: 6vw;
  --nav-height: 76px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  background: var(--bg);
  color: var(--white);
  font-family: "Haas Grot", sans-serif;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* NAVBAR */

.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-height);
  padding: 0 64px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  z-index: 100;

  background: rgba(5,5,5,.1);
  backdrop-filter: blur(18px);
}

.brand-text {
  font-size: 26px;
  font-weight: 800;
  color: rgba(255,255,255,.76);
}

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo img {
  width: 54px;
  opacity: .7;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-btn,
.nav-btn {
  height: 46px;
  padding: 0 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: var(--radius);

  font-family: inherit;
  font-size: 14px;
  font-weight: 500;

  cursor: pointer;
  transition: transform .35s ease, color .35s ease, background .35s ease;
}

.lang-btn {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  color: var(--white);
}

.nav-btn {
  background: var(--white);
  border: 0;
  color: #000;
}

@media (min-width: 951px) and (hover: hover) and (pointer: fine) {
  .lang-btn:hover,
  .nav-btn:hover,
  .hero-buttons a:hover,
  .hero-buttons button:hover {
    transform: translateY(-2px);
    color: var(--gold);
  }
}

/* HERO */

.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(120px, 16vh, 200px) 1% clamp(24px, 4vh, 50px);

  display: flex;
  flex-direction: column;

  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  overflow: hidden;
  pointer-events: none;
}

.hero-bg video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  filter: blur(1px) brightness(.72);
  transform: scale(1.02);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(
    90deg,
    rgba(0,0,0,.84),
    rgba(0,0,0,.46),
    rgba(0,0,0,.84)
  );
}

/* LEFT CONTENT */

.hero-left {
  position: relative;
  z-index: 5;

  max-width: min(720px, 46vw);
  padding-inline-start: var(--side-space);
  padding-inline-end: 0;
}

html[dir="rtl"] .hero-left {
  padding-inline-start: var(--side-space);
  padding-inline-end: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;

  padding: 13px 18px;
  margin-bottom: 34px;

  border-radius: var(--radius);

  background: var(--glass);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}

.badge span {
  font-size: 14px;
  color: var(--text-strong);
}

.badge b {
  font-size: 22px;
  color: rgba(255,255,255,.92);
}

h1,
#heroTitle {
  font-size: clamp(46px, 5vw, 82px);
  line-height: 1.04;
  letter-spacing: -4px;
  font-weight: 500;

  margin-bottom: 28px;

  text-shadow: 0 6px 24px rgba(0,0,0,.32);
}

.hero-left p {
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.65;
  color: var(--text-main);
}

.hero-left p span {
  color: var(--white);
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.hero-buttons a,
.hero-buttons button {
  padding: 17px 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: var(--radius);

  font-family: inherit;
  font-size: 15px;
  font-weight: 500;

  cursor: pointer;
  transition: transform .35s ease, color .35s ease, background .35s ease;
}

.primary {
  background: var(--white);
  color: #000;
  border: 0;
}

.secondary {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
}

/* RIGHT ANIMATION */

.hero-right {
  position: absolute;
  top: clamp(190px, 28vh, 290px);

  width: min(400px, 30vw);
  height: 240px;

  z-index: 5;
}

html[dir="ltr"] .hero-right {
  right: var(--side-space);
  left: auto;
  text-align: left;
}

html[dir="rtl"] .hero-right {
  left: var(--side-space);
  right: auto;
  text-align: right;
}

.slide {
  position: absolute;
  inset: 0;

  opacity: 0;
  transform: translateY(34px);
  filter: blur(6px);

  transition:
    opacity .9s var(--ease),
    transform .9s var(--ease),
    filter .9s ease;
}

.slide.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.slide h2 {
  font-size: clamp(42px, 4.8vw, 68px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -3px;

  color: rgba(255,255,255,.3);

  text-shadow: 0 8px 26px rgba(0,0,0,.28);

  margin-bottom: 18px;
}

.slide p {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: rgba(255,255,255,.713);
}

/* FOOTER */

.footer-line {
  position: relative;
  z-index: 5;

  margin-top: auto;
  padding-top: clamp(24px, 5vh, 70px);

  text-align: center;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;

  margin-bottom: 14px;
}

.footer-logo img {
  width: 62px;
  opacity: .1;
}

.footer-line p {
  font-size: 14px;
  color: rgba(255,255,255,.76);

  margin-bottom: 20px;
}

.footer-brand {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-brand span {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-muted);
}

/* VIDEO MODAL */

.video-modal {
  position: fixed;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,.92);

  opacity: 0;
  visibility: hidden;

  transition: .4s ease;
  z-index: 300;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-video {
  width: min(1100px, 90vw);
  max-height: 85vh;

  border-radius: 18px;
  object-fit: cover;
  background: #000;
}

.close-video {
  position: absolute;
  top: 28px;
  right: 34px;

  width: 52px;
  height: 52px;

  border: 0;
  border-radius: 50%;

  background: rgba(255,255,255,.08);
  color: var(--white);

  font-size: 34px;

  cursor: pointer;
  transition: transform .35s ease, background .35s ease;
}

.close-video:hover {
  transform: scale(1.08);
  background: rgba(255,255,255,.14);
}

body.no-scroll {
  overflow: hidden;
}

@media (min-width: 951px) and (max-width: 1250px) {
  .hero {
    padding-top: 150px;
  }

  .hero-left {
    max-width: 44vw;
  }

  h1,
  #heroTitle {
    font-size: clamp(40px, 4.2vw, 64px);
    line-height: 1.04;
    letter-spacing: -2.5px;
  }

  .hero-left p {
    font-size: 16px;
    line-height: 1.55;
    max-width: 92%;
  }

  .hero-right {
    width: min(340px, 26vw);
    height: 200px;
  }

  .slide h2 {
    font-size: clamp(32px, 3.5vw, 52px);
    letter-spacing: -2px;
  }

  .slide p {
    font-size: 14px;
    line-height: 1.45;
  }
}

/* TABLET */

@media (min-width: 601px) and (max-width: 950px) {
  :root {
    --nav-height: 68px;
  }

  .navbar {
    padding: 0 22px;
  }

  .brand-text {
    font-size: 22px;
    color: rgba(255,255,255,.82);
  }

  .nav-logo img {
    width: 42px;
  }

  .nav-btn {
    display: none;
  }

  html,
  body {
    height: 100vh;
    overflow: hidden;
  }

  .hero {
    height: 100vh;
    min-height: 100vh;

    padding: 105px 22px 24px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    overflow: hidden;
  }

  .hero-left,
  html[dir="rtl"] .hero-left {
    max-width: 100%;
    padding-inline: 0;
  }

  h1,
  #heroTitle {
    font-size: 40px;
    line-height: 1.06;
    letter-spacing: -1.8px;
    margin-bottom: 20px;
  }

  .hero-left p {
    font-size: 15.5px;
    line-height: 1.55;
  }

  .hero-buttons {
    margin-top: 22px;
  }

  .hero-buttons a,
  .hero-buttons button {
    padding: 14px 20px;
    font-size: 14px;
  }

  .hero-right,
  html[dir="ltr"] .hero-right,
  html[dir="rtl"] .hero-right {
    position: relative;

    top: auto;
    left: auto;
    right: auto;

    width: 100%;
    max-width: 720px;

    height: 190px;
    min-height: 190px;

    margin: 28px auto 0;

    overflow: hidden;
    transform: none;

    text-align: center;
  }

  .slide {
    height: 100%;
    min-height: 190px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    overflow: hidden;
  }

  .slide h2 {
    font-size: 36px;
    line-height: 1.06;
    letter-spacing: -1.2px;

    margin-bottom: 10px;

    white-space: normal;
  }

  .slide p {
    font-size: 14px;
    line-height: 1.45;
    max-width: 86%;
    margin-inline: auto;
  }

  .footer-line {
    margin-top: 18px;
    padding-top: 0;
  }

  .footer-logo {
    margin-bottom: 8px;
  }

  .footer-logo img {
    width: 44px;
  }

  .footer-line p {
    font-size: 11px;
    line-height: 1.45;
    margin-bottom: 10px;
  }

  .footer-brand {
    gap: 16px;
  }

  .footer-brand span {
    font-size: 16px;
  }

}

/* MOBILE */

@media (max-width: 600px) {
  :root {
    --nav-height: 68px;
  }

  html,
  body {
    height: 100vh;
    overflow: hidden;
  }

  .navbar {
    padding: 0 16px;
  }

  .brand-text {
    font-size: 18px;
  }

  .nav-logo {
    display: flex;
  }

  .nav-logo img {
    width: 38px;
  }

  .nav-btn,
  .badge {
    display: none;
  }

  .hero {
    height: 100vh;
    min-height: 100vh;

    padding: 95px 18px 20px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    overflow: hidden;
  }

  html[dir="rtl"] .hero {
    padding-inline: 18px;
  }

  .hero-bg {
    position: fixed;
    inset: 0;

    width: 100vw;
    height: 100vh;
  }

  .hero-bg video {
    width: 100vw;
    height: 100vh;

    object-fit: cover;
    object-position: center center;

    transform: scale(1);
  }

  .hero-left,
  html[dir="rtl"] .hero-left {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  h1,
  #heroTitle {
    font-size: 32px;
    line-height: 1.08;
    letter-spacing: -1px;

    margin-top: 32px;
    margin-bottom: 32px;
  }

  .hero-left p {
    font-size: 14.5px;
    line-height: 1.55;
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;

    margin-top: 24px;
  }

  .hero-buttons a,
  .hero-buttons button {
    width: 100%;
    padding: 14px 18px;
    font-size: 14px;
  }

  .lang-btn {
    height: 42px;
    padding: 0 14px;
  }

  .hero-right,
  html[dir="ltr"] .hero-right,
  html[dir="rtl"] .hero-right {
    position: relative;

    top: auto;
    left: auto;
    right: auto;

    width: 100%;
    max-width: 100%;
    height: 95px;

    margin: 18px auto 0;

    overflow: hidden;
    transform: none;

    text-align: center;
  }

  .slide h2 {
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: -1px;

    margin-bottom: 8px;
  }

  .slide p {
    font-size: 12px;
    line-height: 1.4;
    max-width: 94%;
    margin-inline: auto;
  }

  .footer-line {
    margin-top: 12px;
    padding-bottom: 0;
  }

  .footer-logo {
    margin-bottom: 10px;
  }

  .footer-logo img {
    width: 36px;
  }

  .footer-line p {
    font-size: 10px;
    line-height: 1.5;

    margin-bottom: 8px;
  }

  .footer-brand {
    gap: 12px;
  }

  .footer-brand span {
    font-size: 12px;
  }

  .modal-video {
    width: 94vw;
    border-radius: 14px;
  }

  .close-video {
    top: 18px;
    right: 18px;

    width: 46px;
    height: 46px;
  }

}

@media (max-width: 950px), (hover: none), (pointer: coarse) {
  .lang-btn,
  .nav-btn,
  .hero-buttons a,
  .hero-buttons button {
    transition: none;
  }

  .lang-btn:hover,
  .lang-btn:active,
  .lang-btn:focus,
  .nav-btn:hover,
  .nav-btn:active,
  .nav-btn:focus,
  .hero-buttons a:hover,
  .hero-buttons a:active,
  .hero-buttons a:focus,
  .hero-buttons button:hover,
  .hero-buttons button:active,
  .hero-buttons button:focus {
    transform: none;
  }

  .primary,
  .primary:hover,
  .primary:active,
  .primary:focus {
    background: var(--white);
    color: #000;
  }

  .secondary,
  .secondary:hover,
  .secondary:active,
  .secondary:focus {
    background: rgba(255,255,255,.06);
    color: var(--white);
    border-color: rgba(255,255,255,.18);
  }
}

@media (max-width: 950px) and (orientation: landscape) {
  html,
  body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .hero {
    height: auto;
    min-height: 100vh;

    padding: 90px 22px 40px;

    overflow: visible;
  }

  .hero-right,
  html[dir="ltr"] .hero-right,
  html[dir="rtl"] .hero-right {
    height: 160px;
    min-height: 160px;
    margin-top: 28px;
    overflow: hidden;
  }

  .footer-line {
    margin-top: 24px;
    padding-bottom: 30px;
  }
}

@media (max-width: 600px) and (orientation: portrait) {
  html,
  body {
    height: 100svh;
    overflow: hidden;
  }

  .hero {
    height: 100svh;
    min-height: 100svh;
  }

  @supports (height: 100dvh) {
    html,
    body {
      height: 100dvh;
    }

    .hero {
      height: 100dvh;
      min-height: 100dvh;
    }
  }
}