:root {
  --ink: #f7f6fb;
  --muted: #b8b5c7;
  --black: #050505;
  --purple: #8d80ff;
  --purple-dark: #24165f;
}

* { box-sizing: border-box; }
html { background: var(--black); scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 42px clamp(24px, 6vw, 92px) clamp(58px, 8vw, 110px);
}

.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image {
  z-index: -3;
  background: url('assets/crosscourt-hero.jpg') center 48% / cover no-repeat;
  transform: scale(1.015);
}
.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4,4,5,.97) 0%, rgba(4,4,5,.82) 36%, rgba(4,4,5,.14) 73%),
    linear-gradient(0deg, rgba(4,4,5,.92) 0%, transparent 52%, rgba(4,4,5,.48) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .2;
  background: url('assets/rough-dark.jpeg') center / 720px auto;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.brand { position: absolute; top: 38px; left: clamp(24px, 6vw, 92px); font-size: clamp(24px, 3vw, 42px); font-weight: 950; letter-spacing: -2px; }
.hero-copy { width: min(720px, 94vw); }
.eyebrow { margin: 0 0 18px; color: var(--purple); text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: 12px; }
h1 { margin: 0; max-width: 760px; font-size: clamp(55px, 7.5vw, 118px); line-height: .84; letter-spacing: -.075em; font-weight: 950; text-wrap: balance; }
.lede { max-width: 610px; margin: 30px 0 0; color: #dedce7; font-size: clamp(17px, 1.45vw, 23px); line-height: 1.55; }
.prompt { margin-top: 34px; padding: 18px 20px; width: fit-content; max-width: 540px; border: 1px solid rgba(141,128,255,.45); background: rgba(13,11,23,.76); backdrop-filter: blur(12px); display: flex; gap: 14px; align-items: flex-start; }
.prompt-dot { width: 11px; height: 11px; margin-top: 5px; border-radius: 99px; background: var(--purple); box-shadow: 0 0 0 7px rgba(141,128,255,.13); flex: 0 0 auto; }
.prompt strong { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.prompt p { margin: 5px 0 0; color: var(--muted); line-height: 1.45; }
.court-mark { position: absolute; right: -110px; bottom: -190px; width: 480px; height: 480px; border: 2px solid rgba(141,128,255,.28); border-radius: 50%; }
.court-mark span { position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px solid rgba(141,128,255,.28); }

.values { min-height: 430px; padding: clamp(72px, 10vw, 150px) clamp(24px, 8vw, 130px); background: linear-gradient(135deg, #0a0718, #1e1250 58%, #4833a1); display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 70px; }
.values h2 { margin: 0; max-width: 700px; font-size: clamp(43px, 5.6vw, 86px); line-height: .94; letter-spacing: -.055em; text-wrap: balance; }
.values > p { margin: 0; color: #d7d2ef; font-size: clamp(18px, 1.7vw, 25px); line-height: 1.55; max-width: 560px; }

footer { display: grid; grid-template-columns: 1fr auto; gap: 34px; padding: 48px clamp(24px, 6vw, 92px); border-top: 1px solid #24212c; background: #050505; align-items: start; }
footer strong { font-size: 22px; letter-spacing: -.04em; }
footer p { margin: 8px 0 0; color: #8f8b9d; font-size: 14px; }
footer nav { display: flex; gap: 24px; font-size: 14px; }
footer nav a { color: #ccc8d6; text-underline-offset: 4px; }
.copyright { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid #17151d; }

.legal { min-height: 100svh; padding: 48px clamp(24px, 8vw, 130px) 90px; background: #08070b url('assets/rough-dark.jpeg') center / 760px auto; }
.legal header { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-bottom: 52px; }
.legal header a { text-decoration: none; color: var(--purple); font-weight: 800; }
.legal article { max-width: 850px; padding: clamp(28px, 5vw, 72px); background: rgba(5,5,7,.93); border: 1px solid #282331; box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.legal h1 { font-size: clamp(42px, 6vw, 76px); line-height: .95; margin-bottom: 24px; }
.legal h2 { margin: 42px 0 12px; font-size: 24px; }
.legal p, .legal li { color: #c8c4d1; line-height: 1.72; }
.legal .updated { color: var(--purple); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }

@media (max-width: 760px) {
  .hero { min-height: 900px; align-items: end; padding-bottom: 72px; }
  .hero-image { background-position: 60% center; }
  .hero-shade { background: linear-gradient(0deg, #050505 2%, rgba(5,5,5,.78) 55%, rgba(5,5,5,.35) 100%); }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(50px, 15vw, 76px); }
  .values { grid-template-columns: 1fr; gap: 36px; align-items: start; }
  footer { grid-template-columns: 1fr; }
  footer nav { flex-direction: column; gap: 14px; }
  .copyright { grid-column: auto; }
}

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