/* ============ LOCUS — shared styles ============ */

:root {
  --cream: #faf6ee;
  --cream-deep: #f3ecdc;
  --ink: #3d2b1f;
  --ink-soft: #6b5a4a;
  --gold: #f0a81c;
  --gold-bright: #ffc93d;
  --gold-deep: #d98a06;
  --maxw: 860px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Homepage ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 42%, rgba(240, 168, 28, 0.10), transparent 70%),
    var(--cream);
}

/* soft drifting glow behind the logo */
.hero::before {
  content: "";
  position: absolute;
  width: 60vmin;
  height: 60vmin;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 201, 61, 0.28), rgba(240, 168, 28, 0.08) 55%, transparent 72%);
  filter: blur(8px);
  animation: glowPulse 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.75; }
  50%      { transform: translate(-50%, -50%) scale(1.14); opacity: 1; }
}

.hero-logo {
  width: min(560px, 78vw);
  height: auto;
  position: relative;
  z-index: 1;
  animation:
    logoEnter 1.6s cubic-bezier(0.22, 1, 0.36, 1) both,
    logoFloat 7s ease-in-out 1.6s infinite;
  filter: drop-shadow(0 18px 42px rgba(217, 138, 6, 0.22));
}

@keyframes logoEnter {
  from { opacity: 0; transform: translateY(28px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.hero-tagline {
  position: relative;
  z-index: 1;
  margin-top: 2.4rem;
  font-size: 1.05rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  animation: fadeUp 1.4s ease 0.9s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* orbiting dot accents */
.orbit {
  position: absolute;
  width: 46vmin;
  height: 46vmin;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 26s linear infinite;
  pointer-events: none;
}

.orbit span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(240, 168, 28, 0.8);
}

.orbit.o2 { animation-duration: 40s; animation-direction: reverse; width: 56vmin; height: 56vmin; opacity: 0.55; }
.orbit.o3 { animation-duration: 55s; width: 66vmin; height: 66vmin; opacity: 0.3; }

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* footer nav on hero */
.hero-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 2.2rem;
  padding: 1.6rem 1rem;
  font-size: 0.85rem;
  animation: fadeUp 1.4s ease 1.4s both;
}

.hero-footer a {
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.25s ease;
}

.hero-footer a:hover { color: var(--gold-deep); }

/* ---------- Legal / content pages ---------- */

.site-header {
  border-bottom: 1px solid rgba(61, 43, 31, 0.08);
  background: rgba(250, 246, 238, 0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand img { width: 30px; height: 30px; border-radius: 7px; }

.site-header nav a {
  color: var(--ink-soft);
  text-decoration: none;
  margin-left: 1.6rem;
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

.site-header nav a:hover,
.site-header nav a.active { color: var(--gold-deep); }

.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

.page h1 {
  font-size: 2.2rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.page .updated {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-bottom: 2.6rem;
}

.page h2 {
  font-size: 1.25rem;
  margin: 2.4rem 0 0.7rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(61, 43, 31, 0.08);
}

.page p { margin-bottom: 1rem; color: #4a3b2e; }

.page ul {
  margin: 0 0 1rem 1.4rem;
  color: #4a3b2e;
}

.page li { margin-bottom: 0.4rem; }

.page a { color: var(--gold-deep); }

.contact-box {
  margin-top: 2.6rem;
  padding: 1.3rem 1.5rem;
  background: var(--cream-deep);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid rgba(61, 43, 31, 0.08);
  padding: 1.8rem 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.site-footer a { color: var(--ink-soft); margin: 0 0.7rem; text-decoration: none; }
.site-footer a:hover { color: var(--gold-deep); }

@media (prefers-reduced-motion: reduce) {
  .hero-logo, .hero::before, .orbit, .hero-tagline, .hero-footer {
    animation: none !important;
  }
}
