@font-face {
  font-family: "Basis Grotesque Pro";
  src: url("../fonts/BasisGrotesquePro.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Basis Grotesque Pro";
  src: url("../fonts/BasisGrotesquePro-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #f7f3ea;
  --soft: rgba(247, 243, 234, 0.72);
  --muted: rgba(247, 243, 234, 0.48);
  --line: rgba(247, 243, 234, 0.14);
  --black: #0a0a0a;
  --panel-left: 42%;
  --ease: cubic-bezier(0.76, 0, 0.24, 1);
  --slide-duration: 700ms;
}

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

html, body {
  width: 100%;
  height: 100%;
  background: var(--black);
}

body {
  overflow: hidden;
  color: var(--white);
  font-family: "Basis Grotesque Pro", Arial, sans-serif;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

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

.layout {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
}

.panel-left {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 0 0 var(--panel-left);
  flex-direction: column;
  justify-content: space-between;
  width: var(--panel-left);
  height: 100%;
  padding: clamp(28px, 4vw, 56px);
  background: var(--black);
}

.panel-left::before {
  content: "";
  display: block;
  height: 36px;
  pointer-events: none;
}

.panel-left::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: var(--line);
}

.left-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  display: block;
  flex: 0 0 auto;
  width: 33px;
  height: 40px;
  object-fit: contain;
}

.top-intro {
  max-width: 300px;
  color: var(--white);
  line-height: 1.16;
}

.top-intro strong { color: var(--white); }

.left-headline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eyebrow {
  padding-left: 4px;
  color: var(--soft);
  font-size: clamp(11px, 0.9vw, 13px);
  letter-spacing: 0.04em;
}

.headline {
  color: var(--white);
  font-size: clamp(32px, 4vw, 64px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.052em;
}

.left-mid {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vh, 22px);
}

.body-text {
  max-width: 360px;
  color: var(--soft);
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.42;
  letter-spacing: -0.01em;
}

.left-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.footer-text {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: clamp(10px, 0.72vw, 12px);
  line-height: 1.18;
  white-space: nowrap;
}

.footer-text strong {
  color: var(--white);
  font-weight: 700;
}

.left-bottom .footer-text:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.footer-contact-text {
  flex: 0 0 auto;
  text-align: right;
  white-space: nowrap;
}

.footer-mobile-copy { display: none; }

.footer-inline-link {
  color: var(--white);
  text-decoration: none !important;
  border-bottom: 1px solid rgba(247, 243, 234, 0.48);
  padding-bottom: 1px;
}

.footer-inline-link:hover { border-bottom-color: rgba(247, 243, 234, 0.86); }

.panel-right {
  position: relative;
  flex: 1;
  height: 100%;
  overflow: hidden;
  cursor: none;
}

.slider-track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform var(--slide-duration) var(--ease);
}

.slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide img,
.slide video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.02) brightness(0.96);
}

.slider-logo {
  position: absolute;
  top: clamp(28px, 4vw, 56px);
  right: clamp(28px, 4vw, 56px);
  z-index: 4;
  display: block;
  width: clamp(113px, 10vw, 173px);
  pointer-events: none;
}

.slider-logo img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.88;
  filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.6));
}

.mobile-topbar { display: none; }

.slide-counter {
  position: absolute;
  right: clamp(20px, 2.5vw, 32px);
  bottom: clamp(20px, 3vh, 32px);
  z-index: 4;
  color: rgba(247, 243, 234, 0.52);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  pointer-events: none;
  user-select: none;
}

.nav {
  position: absolute;
  bottom: 0;
  left: clamp(20px, 2.5vw, 32px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(247, 243, 234, 0.28);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background 220ms ease, border-color 220ms ease;
}

.nav-btn:hover {
  background: rgba(247, 243, 234, 0.10);
  border-color: rgba(247, 243, 234, 0.52);
}

.nav-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  height: 2px;
  background: rgba(247, 243, 234, 0.10);
}

.progress-bar {
  width: 0;
  height: 100%;
  background: rgba(247, 243, 234, 0.52);
  transition: width var(--slide-duration) var(--ease);
}

.cursor,
.mobile-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.cursor {
  width: 48px;
  height: 48px;
  transition: opacity 200ms ease;
}

.cursor-inner,
.mobile-cursor-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(247, 243, 234, 0.6);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.32);
  color: var(--white);
  font-size: 9px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(4px);
}

.cursor.is-visible { opacity: 1; }
.mobile-cursor { display: none; }

@media (max-width: 720px) {
  html,
  body {
    width: 100%;
    min-height: 100%;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--black);
  }

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

  .layout {
    display: block;
    width: 100%;
    min-height: 100svh;
    height: 100svh;
    overflow: hidden;
  }

  .panel-right {
    position: absolute;
    inset: 0;
    flex: none;
    width: 100%;
    height: 100svh;
    min-height: 0;
    max-height: none;
    overflow: hidden;
    cursor: default;
  }

  .panel-left {
    position: absolute;
    inset: 0;
    z-index: 7;
    flex: none;
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    margin: 0;
    padding: 24px 18px max(6px, calc(env(safe-area-inset-bottom) - 12px));
    background: linear-gradient(
      to bottom,
      rgba(10, 10, 10, 0) 30%,
      rgba(10, 10, 10, 0.12) 48%,
      rgba(10, 10, 10, 0.86) 76%,
      rgba(10, 10, 10, 0.98) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0;
    border: 0;
    pointer-events: none;
  }

  .panel-left::after,
  .panel-left::before,
  .left-top { display: none; }

  .panel-left a { pointer-events: auto; }

  .left-headline { gap: 8px; }

  .eyebrow {
    margin: 0;
    padding-left: 0;
    color: rgba(247, 243, 234, 0.62);
    font-size: clamp(9.5px, 2.45vw, 11px);
    line-height: 1.05;
    letter-spacing: 0.025em;
  }

  .headline {
    max-width: min(90vw, 390px);
    margin: 0;
    font-size: clamp(31px, 9vw, 41px);
    line-height: 0.88;
    letter-spacing: -0.055em;
  }

  .left-mid {
    gap: 8px;
    max-width: min(92vw, 390px);
    margin-top: 20px;
  }

  .body-text {
    max-width: none;
    margin: 0;
    color: rgba(247, 243, 234, 0.66);
    font-size: clamp(12.5px, 3.25vw, 14px);
    line-height: 1.22;
    letter-spacing: -0.012em;
  }

  .left-bottom {
    gap: 14px;
    margin-top: 22px;
    padding-top: 13px;
    border-top-color: rgba(247, 243, 234, 0.14);
  }

  .left-bottom .footer-text {
    color: rgba(247, 243, 234, 0.58);
    font-size: 10px;
    line-height: 1.45;
  }

  .footer-desktop-copy { display: none; }
  .footer-mobile-copy { display: inline; }

  .mobile-topbar {
    position: absolute;
    top: max(20px, env(safe-area-inset-top));
    right: calc(clamp(122px, 35vw, 170px) + 34px);
    left: 18px;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 32px;
    pointer-events: none;
  }

  .mobile-topbar-logo {
    flex: 0 0 auto;
    width: 20px;
    height: 24px;
    object-fit: contain;
  }

  .mobile-topbar-intro {
    max-width: 182px;
    color: rgba(247, 243, 234, 0.94);
    font-size: clamp(12px, 3.2vw, 13.5px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.015em;
  }

  .slide img,
  .slide video {
    object-position: center 46%;
  }
  .slider-logo {
    top: max(20px, env(safe-area-inset-top));
    right: 18px;
    width: clamp(81px, 23vw, 113px);
  }

  .slider-logo img { width: 100%; }

  .nav {
    display: none;
  }

  .nav-btn {
    width: 32px;
    height: 32px;
    background: rgba(10, 10, 10, 0.14);
    border-color: rgba(247, 243, 234, 0.22);
    backdrop-filter: blur(8px);
  }

  .nav-btn:hover {
    background: rgba(10, 10, 10, 0.22);
    border-color: rgba(247, 243, 234, 0.38);
  }

  .slide-counter {
    display: none;
  }

  .mobile-cursor {
    z-index: 9998;
    display: block;
    width: 54px;
    height: 54px;
    transform: translate(-50%, -50%) scale(0.96);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .mobile-cursor.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  .mobile-cursor-inner {
    border-color: rgba(247, 243, 234, 0.52);
    background: rgba(10, 10, 10, 0.24);
    color: rgba(247, 243, 234, 0.94);
    backdrop-filter: blur(5px);
  }
}

@media (max-width: 380px), (max-width: 720px) and (max-height: 700px) {
  .panel-right {
    height: 100svh;
    min-height: 0;
  }

  .panel-left {
    height: 100svh;
    min-height: 100svh;
    margin: 0;
    padding: 20px 16px max(6px, calc(env(safe-area-inset-bottom) - 12px));
  }

  .headline {
    font-size: clamp(28px, 8.4vw, 35px);
    line-height: 0.88;
  }

  .left-mid {
    gap: 6px;
    margin-top: 16px;
  }

  .body-text {
    font-size: clamp(11.5px, 3vw, 12.5px);
    line-height: 1.18;
  }

  .left-bottom {
    margin-top: 18px;
    padding-top: 10px;
  }

  .left-bottom .footer-text { font-size: 9.5px; }

  .mobile-topbar {
    top: max(18px, env(safe-area-inset-top));
    right: calc(clamp(116px, 34vw, 152px) + 32px);
    left: 16px;
    height: 30px;
  }

  .mobile-topbar-logo {
    width: 18px;
    height: 22px;
  }

  .mobile-topbar-intro {
    max-width: 154px;
    font-size: 11.5px;
  }

  .mobile-cursor {
    width: 48px;
    height: 48px;
  }

  .mobile-cursor-inner { font-size: 8px; }
  .slider-logo {
    top: max(18px, env(safe-area-inset-top));
    right: 16px;
    width: clamp(77px, 22.7vw, 101px);
  }

  .slider-logo img { width: 100%; }
}

@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .slider-track,
  .progress-bar,
  .nav-btn,
  .cursor,
  .mobile-cursor {
    transition: none;
  }
}
