/* mrjacobbaggott.com — one page: the hero photo full-bleed and a single
   Contact button (mailto) floating at the bottom centre. */

:root {
  --font-ui: "Inter", -apple-system, "Segoe UI", sans-serif;
  --bg: #0d1216;
  --ink: #e9eff2;
  --line: rgba(233, 239, 242, 0.22);
  --pill-bg: rgba(13, 18, 22, 0.84);
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body { -webkit-font-smoothing: antialiased; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- hero ---------- */

.hero {
  margin: 0;
  height: 100svh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* left of centre so narrow screens keep the skier in frame */
  object-position: 30% 38%;
  display: block;
}

/* ---------- contact button ---------- */

.contact {
  position: fixed;
  left: 50%;
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 12px));
  transform: translateX(-50%);
  padding: 13px 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--pill-bg);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 8px 28px rgba(8, 12, 15, 0.35);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.18s ease;
}

.contact:hover { background: rgba(13, 18, 22, 0.96); }

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