/* ==========================================================
   2048 Ventures — landing page
   Single screen. Giant wordmark, cursor photo reveal, crosshairs.
   ========================================================== */

:root {
  --red: #C1121F;              /* brand red, sampled from the logo */
  --navy: #1B2A4A;
  --ink: #17181C;
  --body: #55565C;
  --muted: #9A9A96;
  --bg: #FAF9F7;
  --hairline: rgba(23, 24, 28, 0.14);
  --crosshair: rgba(23, 24, 28, 0.18);
  --mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body {
  font-family: var(--mono);
  color: var(--body);
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--red); }

.stage {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bg);
  overflow: hidden;
  cursor: crosshair;
}

/* ---------- Photo reveal ---------- */
.reveal {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 128px;
  bottom: 24px;
  opacity: 0;
  transition: opacity 0.4s;
  -webkit-mask-image: radial-gradient(circle 460px at var(--mx, -999px) var(--my, -999px), black 0%, black 55%, transparent 100%);
  mask-image: radial-gradient(circle 460px at var(--mx, -999px) var(--my, -999px), black 0%, black 55%, transparent 100%);
}
.reveal-photo {
  position: absolute;
  inset: 0;
  filter: grayscale(1) contrast(1.3) brightness(1.05);
}
.reveal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reveal-halftone {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--bg) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
}

/* ---------- Crosshairs ---------- */
.crosshair-v,
.crosshair-h {
  position: absolute;
  background: var(--crosshair);
  z-index: 15;
  pointer-events: none;
}
.crosshair-v { top: 0; bottom: 0; left: -10px; width: 1px; }
.crosshair-h { left: 0; right: 0; top: -10px; height: 1px; }

/* ---------- Nav ---------- */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 32px 48px;
  border-bottom: 1px solid var(--hairline);
  z-index: 10;
}
.nav-tagline {
  font-size: 16px;
  letter-spacing: 0.18em;
  color: var(--body);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

/* ---------- Wordmark ---------- */
.wordmark {
  position: absolute;
  top: 50%;
  left: 24px;
  right: 24px;
  transform: translateY(-54%);
  z-index: 10;
  text-align: center;
}
.wordmark-2048 {
  margin: 0;
  font-family: 'Michroma', sans-serif;
  font-weight: 400;
  font-size: clamp(120px, 19vw, 285px);
  line-height: 1;
  color: var(--red);
  letter-spacing: 0.02em;
}
.lockup {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(20px, 2.6vw, 38px);
  margin-top: 20px;
  opacity: 0;
  transition: opacity 0.5s;
}
.lockup-rule {
  width: clamp(130px, 19vw, 280px);
  height: clamp(5px, 0.55vw, 8px);
  background: var(--red);
  display: inline-block;
  margin-bottom: clamp(5px, 0.6vw, 9px);
}
.lockup-ventures {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 6.2vw, 92px);
  letter-spacing: 0.045em;
  color: var(--navy);
  line-height: 1;
}

/* ---------- Footers ---------- */
.foot-left {
  position: absolute;
  left: 48px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}
.foot-square {
  width: 14px;
  height: 14px;
  background: var(--red);
  display: inline-block;
  flex-shrink: 0;
}
.foot-text {
  font-size: clamp(12px, 1.1vw, 16px);
  letter-spacing: 0.18em;
  color: var(--body);
  max-width: 46vw;
}
.foot-right {
  position: absolute;
  right: 48px;
  bottom: 38px;
  z-index: 10;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--muted);
  background: var(--bg);
  padding-left: 12px;
}

/* ---------- Focus ---------- */
a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

/* ---------- Touch / no-hover devices ----------
   The reveal and crosshairs are pointer-driven and do nothing here,
   so the VENTURES lockup is shown permanently instead of on hover. */
@media (hover: none), (pointer: coarse) {
  .stage { cursor: default; }
  .lockup { opacity: 1; }
  .reveal, .crosshair-v, .crosshair-h { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { padding: 24px 24px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .nav-tagline { font-size: 12px; }
  .nav-links { gap: 22px; font-size: 12px; }
  .reveal { top: 160px; }
  .foot-left { left: 24px; bottom: 28px; gap: 12px; }
  .foot-text { max-width: 62vw; letter-spacing: 0.14em; }
  .foot-right { right: 24px; bottom: 30px; font-size: 12px; }
}

@media (max-width: 560px) {
  .wordmark { transform: translateY(-58%); }
  .lockup { gap: 14px; margin-top: 14px; }
  .foot-right { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .lockup { transition: none; }
}
