
:root {
  --bg: #040307;
  --panel: #08070c;
  --text: #f6f0ff;
  --muted: rgba(255, 255, 255, 0.76);
  --line: rgba(255, 255, 255, 0.10);
  --purple: #cb50ff;
  --purple-soft: rgba(202, 80, 255, 0.44);
  --blue: #26b8ff;
  --header-h: 98px;
  --footer-h: 78px;
  --safe-left: max(7vw, 32px);
  --safe-right: max(5vw, 28px);
}

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

html {
  min-height: 100%;
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 72% 54%, rgba(159, 34, 255, 0.24), transparent 34%),
    radial-gradient(circle at 90% 30%, rgba(180, 40, 255, 0.16), transparent 32%),
    linear-gradient(180deg, #000 0%, #07050c 48%, #050408 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
}

.site-header {
  position: relative;
  z-index: 10;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px var(--safe-right) 18px var(--safe-left);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(120px, 11vw, 178px);
  text-decoration: none;
  filter:
    drop-shadow(0 0 12px rgba(255,255,255,.08))
    drop-shadow(0 0 20px rgba(197,80,255,.10));
}

.brand img {
  width: 100%;
  height: auto;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h) - var(--footer-h));
  display: grid;
  align-items: center;
  padding: clamp(54px, 6vw, 90px) var(--safe-right) clamp(54px, 5vw, 78px) var(--safe-left);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  z-index: -3;
  inset: 0 0 0 auto;
  width: min(68vw, 1160px);
  overflow: hidden;
  opacity: 0.98;
  transform: translateX(3.5%);
  background: #050307;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.10) 5%, #000 26%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.10) 5%, #000 26%, #000 100%);
}

.hero__video,
.hero__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video {
  z-index: 2;
  filter: saturate(1.03) contrast(1.03) brightness(.95);
}

.hero__fallback {
  z-index: 1;
}

.hero__shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 71% 58%, rgba(180, 40, 255, 0.26), transparent 30%),
    radial-gradient(circle at 56% 63%, rgba(36, 183, 255, 0.12), transparent 24%),
    linear-gradient(90deg, #040307 0%, #040307 35%, rgba(4,3,7,.80) 50%, rgba(4,3,7,.22) 76%, rgba(4,3,7,.34) 100%);
  pointer-events: none;
}

.hero__content {
  width: min(54vw, 780px);
  max-width: 780px;
  position: relative;
  z-index: 3;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .44);
  letter-spacing: .38em;
  text-transform: uppercase;
  font-size: clamp(10px, .8vw, 12px);
  font-weight: 700;
}

h1 {
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(72px, 7.3vw, 150px);
  line-height: .86;
  font-weight: 500;
  letter-spacing: -.065em;
  text-wrap: balance;
  text-shadow:
    0 0 1px rgba(255,255,255,.65),
    0 24px 70px rgba(176, 82, 255, .12);
}

h1 span {
  display: block;
}

.accent-line {
  width: clamp(82px, 6vw, 112px);
  height: 3px;
  margin: clamp(28px, 3.2vw, 40px) 0 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), rgba(203,80,255,0));
  box-shadow: 0 0 18px rgba(203, 80, 255, .70);
}

.subtitle {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(17px, 1.45vw, 26px);
  line-height: 1.5;
  letter-spacing: .35em;
  font-weight: 400;
}

.hero-buttons {
  margin-top: clamp(26px, 3vw, 38px);
  display: grid;
  gap: 14px;
  width: min(100%, 424px);
}

.hero-buttons .instagram-button {
  margin-top: 0;
  width: 100%;
  min-width: 0;
}

.instagram-button {
  display: inline-grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 1.6vw, 26px);
  min-width: min(100%, 424px);
  padding: 18px 26px;
  min-height: 74px;
  border: 1px solid rgba(218, 113, 255, .78);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01)),
    rgba(0,0,0,.22);
  color: #fff;
  text-decoration: none;
  font-size: clamp(17px, 1.2vw, 22px);
  line-height: 1;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.05),
    0 0 34px rgba(183, 66, 255, .10);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.instagram-button:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 198, 255, .92);
  background: rgba(156, 48, 218, .11);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 0 52px rgba(183, 66, 255, .24);
}

.instagram-button:focus-visible {
  outline: 3px solid rgba(46, 186, 255, .72);
  outline-offset: 4px;
}

.instagram-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: #f6eaff;
}

.instagram-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-arrow {
  font-size: 34px;
  line-height: 1;
  opacity: .9;
  transform: translateY(-1px);
}

.site-footer {
  position: relative;
  z-index: 10;
  min-height: var(--footer-h);
  display: grid;
  place-items: center;
  padding: 18px var(--safe-left);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)),
    rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(18px);
}

.site-footer p {
  margin: 0;
  color: rgba(255,255,255,.64);
  letter-spacing: .14em;
  font-size: clamp(13px, 1.1vw, 18px);
  text-align: center;
}

@media (max-width: 1100px) {
  :root {
    --safe-left: max(5.5vw, 24px);
    --safe-right: max(5.5vw, 24px);
  }

  .hero__content {
    width: min(60vw, 680px);
  }

  h1 {
    font-size: clamp(62px, 8.5vw, 108px);
  }

  .subtitle {
    letter-spacing: .25em;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 82px;
    --footer-h: 72px;
  }

  .site-header {
    justify-content: center;
    padding: 16px 22px;
  }

  .brand {
    width: 142px;
  }

  .hero {
    min-height: calc(100svh - var(--header-h) - var(--footer-h));
    align-items: end;
    padding: 42px 22px 34px;
  }

  .hero__media {
    inset: 0;
    width: 100%;
    transform: none;
    opacity: .88;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,.72) 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,.72) 72%, transparent 100%);
  }

  .hero__video,
  .hero__fallback {
    object-position: 50% 20%;
    filter: saturate(1.04) contrast(1.05) brightness(.86);
  }

  .hero__shade {
    background:
      radial-gradient(circle at 66% 35%, rgba(180, 40, 255, 0.18), transparent 34%),
      linear-gradient(180deg, rgba(4,3,7,.08) 0%, rgba(4,3,7,.28) 36%, rgba(4,3,7,.88) 72%, #040307 100%),
      linear-gradient(90deg, rgba(4,3,7,.90), rgba(4,3,7,.58), rgba(4,3,7,.78));
  }

  .hero__content {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    padding-top: min(45svh, 360px);
  }

  .eyebrow {
    margin-bottom: 12px;
    letter-spacing: .32em;
  }

  h1 {
    font-size: clamp(50px, 13.4vw, 78px);
    line-height: .9;
    letter-spacing: -.055em;
  }

  .accent-line {
    margin: 24px auto 18px;
  }

  .subtitle {
    font-size: clamp(13px, 3.4vw, 17px);
    letter-spacing: .19em;
  }

  .instagram-button {
    width: 100%;
    max-width: 430px;
    min-width: 0;
    min-height: 64px;
    margin-top: 26px;
    padding: 16px 20px;
    gap: 16px;
    text-align: left;
    font-size: 16px;
  }

  .instagram-icon {
    width: 29px;
    height: 29px;
  }

  .button-arrow {
    font-size: 28px;
  }

  .site-footer p {
    max-width: 280px;
    line-height: 1.6;
    letter-spacing: .10em;
  }

  .hero-buttons {
    width: 100%;
    max-width: 430px;
    margin: 26px auto 0;
    gap: 12px;
  }

  .hero-buttons .instagram-button {
    margin-top: 0;
    max-width: none;
  }
}

@media (max-width: 430px) {
  .hero {
    padding-inline: 18px;
  }

  .hero__content {
    padding-top: min(42svh, 318px);
  }

  h1 {
    font-size: clamp(44px, 14.5vw, 62px);
  }

  .subtitle {
    letter-spacing: .14em;
  }

  .instagram-button {
    grid-template-columns: auto 1fr auto;
    border-radius: 9px;
    padding-inline: 18px;
  }

  .hero-buttons .instagram-button {
    margin-top: 0;
  }
}


@media (max-width: 430px) {
  .hero__video,
  .hero__fallback {
    object-position: 50% 18%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__video {
    display: none;
  }

  .instagram-button {
    transition: none;
  }
}
