/* The Seeker's Path — styled to match the Meatball Labs landing page.
   Self-contained on purpose: this file declares its own tokens so a future
   homepage rewrite of styles.css cannot blank this page again. */

:root {
  color-scheme: dark;
  --bg-deep: #02080b;
  --panel: rgba(3, 15, 20, .8);
  --ink: #f6f0df;
  --muted: #b9c6c7;
  --gold: #dfb356;
  --gold-soft: #f3d799;
  --cyan: #83d7de;
  --line: rgba(225, 184, 90, .48);
  --shadow: 0 24px 80px rgba(0, 0, 0, .52);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg-deep); }
body {
  margin: 0; min-width: 320px; position: relative;
  background: transparent; color: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 1.78;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }

/* The same world as the landing page, pushed back so the text can breathe. */
body::before {
  content: ""; position: fixed; z-index: -3; inset: 0;
  background-image: url("assets/hero-board-v2.png");
  background-size: cover; background-position: center 34%;
  filter: saturate(.86) brightness(.5) contrast(1.02);
}
body::after {
  content: ""; position: fixed; z-index: -2; inset: 0;
  background:
    radial-gradient(ellipse at 50% 2%, rgba(223, 179, 86, .16), transparent 48%),
    linear-gradient(180deg, rgba(2, 8, 11, .18) 0%, rgba(2, 8, 11, .62) 34%, rgba(2, 8, 11, .9) 72%, rgba(2, 8, 11, .96) 100%);
}

.stars {
  position: fixed; z-index: -1; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(246, 240, 223, .7), transparent),
    radial-gradient(1px 1px at 68% 9%, rgba(131, 215, 222, .6), transparent),
    radial-gradient(1px 1px at 34% 62%, rgba(246, 240, 223, .5), transparent),
    radial-gradient(1px 1px at 88% 44%, rgba(243, 215, 153, .55), transparent),
    radial-gradient(1px 1px at 22% 86%, rgba(246, 240, 223, .45), transparent),
    radial-gradient(1px 1px at 76% 74%, rgba(131, 215, 222, .4), transparent);
}

/* Ambient motes — spawned by the inline script in about.html. */
.particle {
  position: fixed; z-index: -1; bottom: -3vh;
  color: var(--gold-soft); font-size: .8rem; line-height: 1;
  pointer-events: none; user-select: none;
  text-shadow: 0 0 10px rgba(223, 179, 86, .5);
  animation-name: mote-rise; animation-timing-function: linear;
  animation-iteration-count: 1; animation-fill-mode: forwards;
}
@keyframes mote-rise {
  from { transform: translateY(0) rotate(0deg); }
  to   { transform: translateY(-108vh) rotate(180deg); }
}

.sacred-geometry {
  position: fixed; z-index: -1; top: 50%; left: 50%;
  width: min(900px, 120vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: .07; pointer-events: none;
}
.metatron { width: 100%; height: 100%; }
.metatron * { stroke: var(--gold-soft); fill: none; stroke-width: 1; }

/* ---------- layout ---------- */
.container {
  position: relative;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(4.5rem, 11vh, 8rem) clamp(1.15rem, 5vw, 2.5rem) 5rem;
}

/* ---------- the eye ---------- */
.profile { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; text-align: center; }
.avatar {
  position: relative; width: 106px; height: 106px;
  display: grid; place-items: center;
}
.avatar.small { width: 92px; height: 92px; }
.avatar::before {
  content: ""; position: absolute; inset: -18px; border-radius: 50%;
  border: 1px solid rgba(225, 184, 90, .34);
  background: radial-gradient(circle, rgba(2, 8, 11, .92) 42%, rgba(2, 8, 11, .55) 72%, transparent 100%);
  box-shadow: 0 0 56px rgba(223, 179, 86, .2);
}
.triangle {
  position: absolute; inset: 0;
  clip-path: polygon(50% 4%, 96% 92%, 4% 92%);
  border: 0; background: linear-gradient(180deg, rgba(243, 215, 153, .62), rgba(223, 179, 86, .14));
}
.eye {
  position: relative; z-index: 1; width: 46px; height: 26px;
  border-radius: 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 50% 45%, #0a1a1f, #02080b);
  border: 1px solid var(--gold-soft);
  display: grid; place-items: center;
  box-shadow: 0 0 22px rgba(243, 215, 153, .35);
  margin-top: 14px;
}
.eye-inner {
  width: 17px; height: 17px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--cyan), #10454d 70%);
  display: grid; place-items: center;
}
.pupil { width: 7px; height: 7px; border-radius: 50%; background: #02080b; }

.title {
  margin: 0;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.1rem, 6.4vw, 3.5rem); line-height: 1.08;
  letter-spacing: .01em; color: var(--ink); text-wrap: balance;
  text-shadow: 0 2px 28px rgba(2, 8, 11, .92), 0 1px 4px rgba(2, 8, 11, .8);
}

/* ---------- the scroll ---------- */
.scroll {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border: 1px solid rgba(225, 184, 90, .3);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), var(--shadow);
  backdrop-filter: blur(9px);
  overflow: hidden;
}
.scroll-header {
  padding: 1.05rem 1.25rem;
  border-bottom: 1px solid rgba(225, 184, 90, .2);
  background: linear-gradient(180deg, rgba(223, 179, 86, .10), transparent);
  color: var(--gold-soft);
  font-size: .62rem; letter-spacing: .34em; text-transform: uppercase;
  text-align: center;
}
.scroll-content { padding: clamp(1.6rem, 5vw, 3rem) clamp(1.2rem, 4.5vw, 2.9rem) clamp(2rem, 5vw, 3rem); }
.scroll-content p { margin: 0 0 1.35rem; color: rgba(246, 240, 223, .9); }
.scroll-content p:last-child { margin-bottom: 0; }

.intro {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem); line-height: 1.6;
  color: var(--ink) !important;
}
.statement {
  font-family: var(--serif);
  font-size: clamp(1.02rem, 2.1vw, 1.2rem); line-height: 1.62;
  color: var(--gold-soft) !important;
}
.mantra {
  margin: 2rem 0 !important; padding: 1.1rem 1.25rem;
  border-left: 2px solid var(--gold);
  background: rgba(223, 179, 86, .06);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.02rem, 2.1vw, 1.22rem); line-height: 1.55;
  color: var(--gold-soft) !important;
}

.chapter-header {
  margin: 2.9rem 0 1.1rem;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.3rem, 3.1vw, 1.72rem); line-height: 1.22;
  color: var(--gold-soft); text-wrap: balance;
}
.chapter-header::after {
  content: ""; display: block; width: 46px; height: 1px;
  margin-top: .7rem; background: var(--line);
}
.scroll-content > .chapter-header:first-child { margin-top: 0; }

.section-divider {
  margin: 2.6rem auto; width: 100%; height: 1px; border: 0;
  background: linear-gradient(90deg, transparent, rgba(225, 184, 90, .42), transparent);
}

.closing {
  margin-top: 2.2rem !important; text-align: center;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.05rem, 2.3vw, 1.3rem);
  color: var(--gold-soft) !important;
}

.small { font-size: .85rem; color: var(--muted) !important; }

/* ---------- return link, built like a portal card ---------- */
.links { margin-top: clamp(2.2rem, 5vw, 3.2rem); display: flex; justify-content: center; }
.link-btn {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 0 1rem;
  align-items: center; min-width: min(320px, 100%);
  padding: .95rem 1.7rem .95rem 1.2rem;
  border: 1px solid rgba(239, 197, 104, .72); border-radius: 8px;
  background: linear-gradient(155deg, rgba(6, 23, 28, .78), rgba(2, 9, 12, .95) 64%), var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), var(--shadow);
  backdrop-filter: blur(7px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.link-btn:hover,
.link-btn:focus-visible {
  transform: translateY(-4px); border-color: var(--gold-soft);
  box-shadow: 0 25px 70px rgba(0, 0, 0, .55), 0 0 32px rgba(225, 184, 90, .13);
  outline: none;
}
.glyph { grid-row: span 2; color: var(--gold-soft); font-size: 1.1rem; }
.link-text { font-family: var(--serif); font-size: 1.16rem; color: #f2e2bc; line-height: 1.1; }
.link-desc {
  color: var(--cyan); text-transform: uppercase;
  letter-spacing: .22em; font-size: .56rem; line-height: 1.4;
}

.sigil {
  margin: clamp(2.4rem, 6vw, 3.4rem) auto 0;
  text-align: center; color: var(--gold); opacity: .6; font-size: 1.1rem;
}

@media (max-width: 600px) {
  body { font-size: .96rem; line-height: 1.72; }
  body::before { background-image: url("assets/hero-board-mobile-v2.png"); background-position: center 30%; }
  .scroll { border-radius: 8px; }
  .link-btn { min-width: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .particle { display: none; }
  .link-btn { transition: none; }
  .link-btn:hover, .link-btn:focus-visible { transform: none; }
}
