/* =========================================================
   Tiburon Labs — minimal landing
   Long Lake–style: full-bleed looping video, sparse type in
   the four corners, no scroll. One screen, one statement.
   ========================================================= */

:root {
  --ink:        #0b0d14;
  --orange:     #FF6B35;
  --paper:      #f4f1ec;
  --paper-dim:  rgba(244, 241, 236, 0.82);
  --paper-mute: rgba(244, 241, 236, 0.58);

  --pad-x:      clamp(20px, 4vw, 44px);
  --pad-y:      clamp(20px, 3vw, 32px);

  color-scheme: dark;
}

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

html, body {
  height: 100%;
  min-height: 100svh;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  position: relative;
  min-height: 100svh;
}

/* =========================================================
   BACKGROUND VIDEO + VEIL
   ========================================================= */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  /* Hide the dark single frame before loadedmetadata fires */
  background: var(--ink);
}

/* Top + bottom gradient washes so the corner type always wins.
   Middle of the frame stays clean so the video reads as the focus. */
.veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(11, 13, 20, 0.55) 0%,
      rgba(11, 13, 20, 0.18) 15%,
      transparent 35%,
      transparent 65%,
      rgba(11, 13, 20, 0.25) 82%,
      rgba(11, 13, 20, 0.7) 100%);
}

/* =========================================================
   HEADER (top-left wordmark · top-right contact)
   ========================================================= */
.hd {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: var(--pad-y) var(--pad-x);
  padding-top: max(var(--pad-y), env(safe-area-inset-top));
  padding-left: max(var(--pad-x), env(safe-area-inset-left));
  padding-right: max(var(--pad-x), env(safe-area-inset-right));
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}
.hd > * { pointer-events: auto; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
  transition: opacity 0.2s ease;
}
.wordmark:hover { opacity: 0.85; }
.wordmark .mark { color: var(--orange); flex-shrink: 0; }

.brand {
  font-size: 17px;
  letter-spacing: -0.01em;
  display: inline-flex;
  gap: 0.35em;
  line-height: 1;
}
.brand-strong { font-weight: 500; }
.brand-soft { font-weight: 400; color: var(--paper-mute); }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav a:hover,
.nav a:focus-visible { color: var(--paper); }

/* =========================================================
   FOOTER (bottom-left tagline · bottom-right location)
   ========================================================= */
.ft {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: var(--pad-y) var(--pad-x);
  padding-bottom: max(var(--pad-y), env(safe-area-inset-bottom));
  padding-left: max(var(--pad-x), env(safe-area-inset-left));
  padding-right: max(var(--pad-x), env(safe-area-inset-right));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  z-index: 2;
  pointer-events: none;
}
.ft > * { pointer-events: auto; }

.tag {
  font-size: clamp(13.5px, 1.05vw, 15px);
  line-height: 1.55;
  max-width: 480px;
  color: var(--paper-dim);
  text-wrap: pretty;
}
.tag strong { font-weight: 500; color: var(--paper); }

.loc {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-dim);
  text-align: right;
  line-height: 1.6;
  white-space: nowrap;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 720px) {
  .brand { font-size: 15.5px; }
  .ft {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .tag { max-width: 100%; font-size: 13.5px; }
  .loc { text-align: left; }
}

/* =========================================================
   MOTION PREFS
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .bg-video { display: none; }
  body {
    background:
      radial-gradient(60% 50% at 50% 50%, #1a1d2a, var(--ink) 70%);
  }
}
