@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --ink: #070808;
  --cream: #f8f1e6;
  --fashion: #c8ffc5;
  --video: #ff8153;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  min-width: 320px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

body {
  overflow: hidden;
  color: white;
  font-family: "DM Sans", Arial, sans-serif;
}

.comparison-gateway {
  position: relative;
  display: grid;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 0;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  isolation: isolate;
}

.gateway-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 3.5vw, 58px);
  pointer-events: none;
}

.gateway-header::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 120px;
  background: linear-gradient(180deg, rgba(2, 3, 3, .88), transparent);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 13px;
  background: rgba(255, 255, 255, .08);
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  font-weight: 700;
  backdrop-filter: blur(16px);
}

.brand-lockup > span:last-child {
  display: grid;
  gap: 1px;
}

.brand-lockup strong {
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  letter-spacing: .14em;
}

.brand-lockup small {
  color: rgba(255, 255, 255, .58);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .2em;
}

.gateway-header p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.route-panel {
  --accent: var(--fashion);
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  background: #151716;
  isolation: isolate;
}

.route-panel--video {
  --accent: var(--video);
  border-bottom: 0;
  background: #0b0b0b;
}

.video-layer,
.video-layer video,
.panel-vignette,
.route-link {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-layer {
  z-index: -4;
  overflow: hidden;
  background: #0b0c0c;
}

.video-layer::before {
  position: absolute;
  inset: -8%;
  background:
    linear-gradient(rgba(4, 5, 5, .25), rgba(4, 5, 5, .25)),
    var(--layer-poster) center / cover no-repeat;
  content: "";
  filter: blur(20px) saturate(.72) brightness(.58);
  opacity: 0;
  transform: scale(1.08);
}

.video-layer--after {
  z-index: -3;
  clip-path: inset(0 0 0 var(--split));
  will-change: clip-path;
}

.video-layer video {
  z-index: 1;
  top: 0;
  right: auto;
  bottom: auto;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.04) brightness(.78);
  transform: none;
}

.route-panel--fashion .video-layer video {
  object-position: center 38%;
}

.route-panel--fashion .video-layer::before,
.route-panel--video .video-layer::before {
  opacity: 1;
}

.route-panel--video .video-layer video {
  object-position: center 50%;
}

.panel-vignette {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(1, 3, 2, .5), transparent 38%, transparent 62%, rgba(1, 3, 2, .45)),
    linear-gradient(180deg, rgba(2, 3, 3, .08), rgba(2, 3, 3, .66));
  pointer-events: none;
}

.route-panel--video .panel-vignette {
  background:
    linear-gradient(90deg, rgba(2, 2, 2, .54), transparent 38%, transparent 62%, rgba(2, 2, 2, .5)),
    linear-gradient(180deg, rgba(2, 2, 2, .14), rgba(2, 2, 2, .68));
}

.route-link {
  z-index: 5;
  cursor: pointer;
  outline: none;
}

.route-link:focus-visible {
  box-shadow: inset 0 0 0 3px var(--accent);
}

.route-copy {
  position: absolute;
  z-index: 7;
  left: clamp(22px, 4vw, 68px);
  bottom: clamp(22px, 4.4vh, 48px);
  display: grid;
  max-width: min(580px, 72vw);
  justify-items: start;
  pointer-events: none;
}

.route-index {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
}

.route-copy h1,
.route-copy h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(37px, 4.3vw, 72px);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .82;
}

.route-action {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 15px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 999px;
  background: rgba(6, 7, 7, .34);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  backdrop-filter: blur(12px);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.route-panel:has(.route-link:hover) .route-action,
.route-panel:has(.route-link:focus-visible) .route-action {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.side-label {
  position: absolute;
  z-index: 8;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .62);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .2em;
  pointer-events: none;
}

.side-label--before {
  left: 18px;
}

.side-label--after {
  right: 18px;
}

.comparison-control {
  position: fixed;
  z-index: 50;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 68px;
  transform: translateX(-50%);
  cursor: ew-resize;
  touch-action: none;
  outline: none;
}

.panel-comparison-control {
  display: none;
}

.comparison-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 0 18px rgba(0, 0, 0, .62);
}

.comparison-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 66px;
  height: 66px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: rgba(8, 9, 9, .72);
  box-shadow: 0 8px 34px rgba(0, 0, 0, .32);
  backdrop-filter: blur(15px);
}

.comparison-handle span {
  font-size: 18px;
}

.comparison-handle strong {
  font-size: 7px;
  letter-spacing: .12em;
}

.comparison-control:focus-visible .comparison-handle,
.panel-comparison-control:focus-visible .comparison-handle {
  outline: 3px solid var(--fashion);
  outline-offset: 4px;
}

.gateway-footer {
  position: fixed;
  z-index: 42;
  right: clamp(18px, 3vw, 48px);
  bottom: 16px;
  left: clamp(18px, 3vw, 48px);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 22px;
  color: rgba(255, 255, 255, .42);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  pointer-events: none;
}

.gateway-footer span:nth-child(2) {
  color: rgba(255, 255, 255, .66);
}

.gateway-footer span:last-child {
  color: var(--video);
}

@media (max-width: 760px) {
  .gateway-header {
    min-height: 66px;
    padding: 11px 14px;
  }

  .gateway-header::after {
    height: 96px;
  }

  .gateway-header p {
    max-width: 112px;
    font-size: 7px;
    line-height: 1.45;
    text-align: right;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 18px;
  }

  .brand-lockup strong {
    font-size: 16px;
  }

  .brand-lockup small {
    font-size: 5px;
  }

  .route-copy {
    left: 17px;
    bottom: 23px;
    max-width: calc(100vw - 34px);
  }

  .route-index {
    margin-bottom: 6px;
    font-size: 7px;
  }

  .route-copy h1,
  .route-copy h2 {
    font-size: clamp(31px, 10.5vw, 47px);
  }

  .route-action {
    margin-top: 11px;
    padding: 8px 12px;
    font-size: 8px;
  }

  .side-label {
    display: none;
  }

  .comparison-control {
    width: 58px;
  }

  .comparison-handle {
    width: 54px;
    height: 54px;
  }

  .comparison-handle strong {
    font-size: 6px;
  }

  .gateway-footer {
    display: none;
  }
}

@media (max-width: 760px) and (orientation: portrait) {
  .route-panel--fashion .video-layer video {
    object-position: center 36%;
  }

  .route-panel--video .video-layer video {
    object-position: center 50%;
  }
}

@media (min-width: 761px) and (min-aspect-ratio: 4/3) {
  .comparison-gateway {
    grid-template-rows: minmax(0, 1fr);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-panel {
    height: 100%;
    border-right: 1px solid rgba(255, 255, 255, .28);
    border-bottom: 0;
  }

  .route-panel--video {
    border-right: 0;
  }

  .route-copy {
    max-width: calc(50vw - 80px);
  }

  .video-layer video {
    top: 0;
    right: auto;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
  }

  .route-panel--fashion .video-layer video {
    object-position: center 32%;
  }

  .route-panel--video .video-layer video {
    object-position: center 50%;
  }

  .route-panel--fashion .video-layer--after {
    clip-path: inset(0 0 0 var(--fashion-split));
  }

  .route-panel--video .video-layer--after {
    clip-path: inset(0 0 0 var(--video-split));
  }

  .comparison-control {
    display: none;
  }

  .panel-comparison-control {
    position: absolute;
    z-index: 20;
    top: 0;
    bottom: 0;
    display: block;
    width: 68px;
    transform: translateX(-50%);
    cursor: ew-resize;
    touch-action: none;
    outline: none;
  }

  .route-panel--fashion .panel-comparison-control {
    left: var(--fashion-split);
  }

  .route-panel--video .panel-comparison-control {
    left: var(--video-split);
  }

  .panel-comparison-control:focus-visible .comparison-handle {
    outline-color: var(--accent);
  }

  .gateway-footer {
    display: none;
  }
}

@media (max-width: 932px) and (max-height: 540px) and (orientation: landscape) {
  .comparison-gateway {
    grid-template-rows: minmax(0, 1fr);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gateway-header {
    min-height: 54px;
    padding: 7px 12px;
  }

  .gateway-header::after {
    height: 74px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .brand-lockup strong {
    font-size: 14px;
  }

  .route-copy {
    left: 15px;
    bottom: 12px;
    max-width: calc(50vw - 30px);
  }

  .route-copy h1,
  .route-copy h2 {
    font-size: clamp(27px, 5.6vw, 42px);
    line-height: .82;
  }

  .route-index {
    margin-bottom: 4px;
  }

  .route-action {
    margin-top: 7px;
    padding: 6px 10px;
  }

  .route-panel--fashion .video-layer::before,
  .route-panel--video .video-layer::before {
    opacity: 1;
  }

  .video-layer video {
    top: 0;
    right: auto;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
  }

  .route-panel--fashion .video-layer video {
    object-position: center 34%;
  }

  .route-panel--video .video-layer video {
    object-position: center 50%;
  }

  .route-panel {
    height: 100%;
    border-right: 1px solid rgba(255, 255, 255, .28);
    border-bottom: 0;
  }

  .route-panel--video {
    border-right: 0;
  }

  .route-panel--fashion .video-layer--after {
    clip-path: inset(0 0 0 var(--fashion-split));
  }

  .route-panel--video .video-layer--after {
    clip-path: inset(0 0 0 var(--video-split));
  }

  .comparison-control {
    display: none;
  }

  .panel-comparison-control {
    position: absolute;
    z-index: 20;
    top: 0;
    bottom: 0;
    display: block;
    width: 52px;
    transform: translateX(-50%);
    cursor: ew-resize;
    touch-action: none;
    outline: none;
  }

  .route-panel--fashion .panel-comparison-control {
    left: var(--fashion-split);
  }

  .route-panel--video .panel-comparison-control {
    left: var(--video-split);
  }

  .comparison-handle {
    width: 48px;
    height: 48px;
  }

  .panel-comparison-control:focus-visible .comparison-handle {
    outline-color: var(--accent);
  }

  .gateway-footer {
    display: none;
  }
}

@media (min-height: 541px) and (max-height: 700px) and (min-width: 761px) {
  .gateway-header {
    min-height: 64px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .route-copy {
    bottom: 18px;
  }

  .route-copy h1,
  .route-copy h2 {
    font-size: clamp(34px, 3.8vw, 58px);
  }

  .route-action {
    margin-top: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-layer video {
    animation: none;
  }

  .route-action {
    transition: none;
  }
}
