/* sixth sense — landing page
   Rules source: vault note "UI design rules - landing page.md"
   Dark field. One signal per viewport. Gradient = emergence only. Orange used once. */

:root {
  /* draft tokens — warm-leaning near-black; open question in UI rules */
  --bg: #0b0a0c;
  --text: #edeae4;
  --muted: #a29a90;
  --purple: #b49cff;
  --blue: #8fb6ff;
  --orange: #ff9552;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;

  /* 4-size scale */
  --size-display: clamp(3rem, 8vw, 5.5rem);
  --size-h2: 1.375rem;
  --size-body: 1.0625rem;
  --size-small: 0.875rem;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

/* the one gradient on the site: colour emerging from a point in darkness */
.emergence {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 62% 38%,
      rgba(180, 156, 255, 0.22) 0%,
      rgba(143, 182, 255, 0.13) 30%,
      rgba(255, 149, 82, 0.05) 55%,
      transparent 72%);
  transform-origin: 62% 38%;
}

.hero-inner {
  position: relative;
  max-width: 720px;
  padding: 0 24px;
}

/* Motion (main.js) drives all animation. Elements start hidden only when JS is
   running and motion is allowed; .no-motion is set on reduced-motion or CDN failure. */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.no-motion) .emergence,
  html.js:not(.no-motion) [data-hero],
  html.js:not(.no-motion) [data-animate] {
    opacity: 0;
  }
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--size-display);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.definition {
  margin-top: 1.75rem;
  font-size: 1.1875rem;
  text-wrap: balance;
}

.sub {
  margin-top: 0.75rem;
  color: var(--muted);
  text-wrap: balance;
}

/* ---------- sections ---------- */

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 5.5rem 0 0; }

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--size-h2);
  color: var(--muted);
  margin-bottom: 2rem;
}

.activities {
  list-style: none;
  display: grid;
  gap: 2.25rem;
}

.activities h3 {
  font-size: var(--size-body);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.activities p { color: var(--muted); }

.quiet { color: var(--muted); }

/* ---------- links ---------- */

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--purple);
  text-underline-offset: 3px;
  transition: text-decoration-color 120ms ease;
}

a:hover { text-decoration-color: var(--blue); }

a:focus-visible {
  outline: 1.5px solid var(--text);
  outline-offset: 3px;
  border-radius: 2px;
}

/* the single orange moment on the page */
.contact-link {
  color: var(--orange);
  text-decoration-color: var(--orange);
  font-weight: 500;
}

.contact-link:hover { text-decoration-color: var(--text); }

/* ---------- footer ---------- */

footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 6rem 24px 3rem;
  color: var(--muted);
  font-size: var(--size-small);
}

.x-link {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
  margin-left: 0.6rem;
  vertical-align: -1px;
}

.x-link svg {
  width: 11px;
  height: 11px;
  fill: var(--muted);
  transition: fill 120ms ease;
}

.x-link:hover svg { fill: var(--text); }

