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

:root {
  --bg: #0c0c0c;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.84);
  --label: rgba(255, 255, 255, 0.78);
  --overlay-left: linear-gradient(135deg, rgba(8, 8, 8, 0.78) 0%, rgba(8, 8, 8, 0.46) 42%, rgba(8, 8, 8, 0.22) 100%);
  --overlay-right: linear-gradient(225deg, rgba(8, 8, 8, 0.78) 0%, rgba(8, 8, 8, 0.46) 42%, rgba(8, 8, 8, 0.22) 100%);
  --overlay-bottom: linear-gradient(to top, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.12) 55%, rgba(0, 0, 0, 0.08) 100%);
  --orange: #d8772d;
  --orange-hover: #e68b45;
  --charcoal: rgba(27, 28, 31, 0.92);
  --charcoal-hover: rgba(49, 51, 56, 0.96);
  --stroke: rgba(255, 255, 255, 0.16);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

html, body {
  width: 100%;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
}

.split-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.panel {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.panel:last-child {
  border-right: 0;
}

.panel__media,
.media,
.media__img,
.media__iframe,
.panel__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.media {
  overflow: hidden;
  z-index: -3;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.12), transparent 30%),
    linear-gradient(180deg, #2d2a28, #121212);
}

.media__img {
  object-fit: cover;
  transform: scale(1.04);
}

.media__iframe {
  border: 0;
  pointer-events: none;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%) scale(1.12);
  filter: saturate(0.9) contrast(1.02);
}

.panel__overlay {
  z-index: -2;
}

.panel--left .panel__overlay {
  background: var(--overlay-bottom), var(--overlay-left);
}

.panel--right .panel__overlay {
  background: var(--overlay-bottom), var(--overlay-right);
}

.panel__content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 1.15rem;
  padding: clamp(2rem, 4vw, 4rem);
  max-width: min(680px, 88%);
}

.panel__content--right {
  margin-left: auto;
  align-items: flex-end;
  text-align: right;
}

.panel__label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--label);
}

.panel__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.96;
  max-width: 8ch;
  text-wrap: balance;
  letter-spacing: -0.03em;
}

.panel__text {
  max-width: 38ch;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.75;
  color: var(--muted);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.4rem;
  border: 1px solid transparent;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.02em;
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
  box-shadow: var(--shadow);
  will-change: transform;
}

.btn::after {
  content: "→";
  margin-left: 0.72rem;
  font-size: 1rem;
  transition: transform 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover::after {
  transform: translateX(2px);
}

.btn:focus-visible {
  outline: 2px solid rgba(255,255,255,0.95);
  outline-offset: 3px;
}

.btn--orange {
  background: var(--orange);
  border-color: rgba(255,255,255,0.08);
}

.btn--orange:hover {
  background: var(--orange-hover);
}

.btn--charcoal {
  background: var(--charcoal);
  border-color: var(--stroke);
  backdrop-filter: blur(5px);
}

.btn--charcoal:hover {
  background: var(--charcoal-hover);
  border-color: rgba(255,255,255,0.24);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-aspect-ratio: 16/9) {
  .media__iframe {
    width: 100vw;
    height: 56.25vw;
  }
}

@media (max-aspect-ratio: 16/9) {
  .media__iframe {
    width: 177.78vh;
    height: 100vh;
  }
}

@media (max-width: 980px) {
  .split-hero {
    grid-template-columns: 1fr;
  }

  .panel {
    min-height: 68vh;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .panel:last-child {
    border-bottom: 0;
  }

  .panel__content,
  .panel__content--right {
    min-height: 68vh;
    max-width: min(740px, 92%);
    align-items: flex-start;
    text-align: left;
    margin-left: 0;
  }

  .panel--right .panel__overlay {
    background: var(--overlay-bottom), var(--overlay-left);
  }
}

@media (max-width: 640px) {
  .panel,
  .panel__content {
    min-height: 58vh;
  }

  .panel__content {
    justify-content: flex-end;
    gap: 0.95rem;
    padding: 1.4rem 1.2rem 1.5rem;
    max-width: 100%;
  }

  .panel__title {
    max-width: 9ch;
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .panel__text {
    max-width: 32ch;
    line-height: 1.65;
  }

  .btn {
    width: 100%;
  }
}
