/* parlock.ca — Slate & Gold, dark-first (Docs/DESIGN.md).
   Pure CSS: no JavaScript, no third parties (see _headers CSP). Headings use Geist SemiBold,
   self-hosted (geist-600.woff2, SIL OFL 1.1: Geist-OFL.txt).
   All motion is disabled under prefers-reduced-motion. */
@font-face {
  font-family: "Geist"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("geist-600.woff2") format("woff2");
}
:root {
  --night: #070F1B; --slate: #0C1829; --slate-2: #13243D; --slate-3: #1B3050;
  --ivory: #ECE6D8; --text-2: #B9C3D2; --text-3: #8795AB;
  --gold: #C9A34E; --gold-hi: #F0D594; --gold-lo: #A67E2E; --gold-text: #E4C98A;
  --glass: rgba(24, 42, 70, 0.55); --glass-border: rgba(236, 230, 216, 0.14);
  /* Headings (Cam, 2026-10-01): Geist SemiBold, modern and crisp. Name kept for minimal churn. */
  --serif: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--ivory); font: 17px/1.6 var(--sans);
  background: radial-gradient(1200px 800px at 50% -20%, #1E3658 0%, var(--slate) 55%, var(--night) 100%) fixed;
  overflow-x: hidden;
}
/* Drifting light orbs behind everything */
body::before, body::after {
  content: ""; position: fixed; z-index: -1; border-radius: 50%; filter: blur(90px); pointer-events: none;
}
body::before { width: 620px; height: 620px; top: -160px; right: -180px;
  background: radial-gradient(circle, rgba(201, 163, 78, 0.45), transparent 65%); animation: drift-a 22s ease-in-out infinite alternate; }
body::after { width: 720px; height: 720px; bottom: -260px; left: -220px;
  background: radial-gradient(circle, rgba(64, 110, 180, 0.50), transparent 65%); animation: drift-b 26s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-140px, 120px) scale(1.15); } }
@keyframes drift-b { to { transform: translate(160px, -110px) scale(1.1); } }

a { color: var(--gold-text); text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ---- Nav ---- */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 22.5%; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 24px rgba(201, 163, 78, 0.25); }
.brand span, .gold-text {
  font-family: var(--serif); font-weight: 600;
  background: linear-gradient(100deg, var(--gold-lo) 0%, var(--gold-hi) 30%, var(--gold) 50%, var(--gold-hi) 70%, var(--gold-lo) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
.brand span { font-size: 26px; }
/* Wordmark (Cam, 2026-10-01): outlined Geist SemiBold SVG, "Par" ivory + "Lock" gold. */
.brand img.wordmark { width: auto; height: 34px; border-radius: 0; box-shadow: none; }
.nav .links { display: flex; gap: 8px; }
.nav .links a {
  color: var(--text-2); text-decoration: none; font-size: 15px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid transparent; transition: 0.25s;
}
.nav .links a:hover { color: var(--ivory); border-color: var(--glass-border); background: var(--glass); }
@keyframes shimmer { to { background-position: -250% 0; } }

/* ---- Hero ---- */
.hero { text-align: center; padding: 48px 0 32px; }
.logo-stage { position: relative; width: 260px; height: 260px; margin: 0 auto 44px; }
.logo-stage::before {       /* breathing gold halo */
  content: ""; position: absolute; inset: -70px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 207, 134, 0.55) 0%, rgba(201, 163, 78, 0.18) 40%, transparent 68%);
  animation: breathe 4.5s ease-in-out infinite;
}
.logo-stage::after {        /* slow rotating ring of light */
  content: ""; position: absolute; inset: -26px; border-radius: 30%;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(240, 213, 148, 0.9) 82%, transparent 94%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spin 9s linear infinite; opacity: 0.8;
}
.logo-stage img {
  position: relative; z-index: 1; width: 260px; height: 260px; border-radius: 22.5%;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(236, 230, 216, 0.12);
  animation: float 6s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: 0.65; transform: scale(0.94); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(42px, 8vw, 84px); line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 22px; }
h1 .gold-text { display: inline-block; }
.lead { font-size: clamp(18px, 2.4vw, 22px); color: var(--text-2); max-width: 34em; margin: 0 auto; }

.badge {
  position: relative; display: inline-flex; align-items: center; gap: 10px; margin-top: 34px;
  padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--gold-text);
  background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 163, 78, 0.45); overflow: hidden;
}
.badge::after {             /* light sweeping across the badge */
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 240, 200, 0.35) 50%, transparent 70%);
  animation: sweep 3.8s ease-in-out infinite;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #6CCFA6; box-shadow: 0 0 10px #6CCFA6; animation: pulse 2s ease-in-out infinite; }
@keyframes sweep { 60%, 100% { transform: translateX(120%); } }
@keyframes pulse { 50% { opacity: 0.35; } }

/* ---- Feature cards ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 72px 0 24px; }
.card {
  position: relative; padding: 28px 26px; border-radius: 28px; text-align: left;
  background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 20px 50px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(201, 163, 78, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 26px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(201, 163, 78, 0.18); }
.card .icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(160deg, rgba(240, 213, 148, 0.22), rgba(201, 163, 78, 0.08));
  border: 1px solid rgba(201, 163, 78, 0.45); color: var(--gold-hi);
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 0 0 8px; }
.card p { margin: 0; color: var(--text-2); font-size: 15.5px; }

.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 40px 0 0;
  color: var(--text-3); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.strip span::before { content: "◆"; color: var(--gold); margin-right: 10px; font-size: 10px; vertical-align: 2px; }

/* ---- Document pages (privacy, support) ---- */
.doc {
  margin: 20px 0 0; padding: 44px; border-radius: 32px;
  background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 24px 60px rgba(0, 0, 0, 0.4);
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.doc h1 { font-size: clamp(34px, 5.5vw, 52px); margin-bottom: 8px; }
.doc h2 { font-family: var(--serif); font-weight: 600; font-size: 25px; color: var(--gold-text); margin: 38px 0 8px; }
.doc h3 { font-size: 17px; margin: 22px 0 4px; }
.doc p, .doc li { color: var(--text-2); }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ivory); }
.meta { color: var(--text-3); font-size: 14px; }

/* ---- Footer ---- */
footer.site { margin-top: 72px; padding: 24px 0 40px; border-top: 1px solid rgba(236, 230, 216, 0.10);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: var(--text-3); font-size: 14px; }
footer.site nav { display: flex; gap: 20px; }
footer.site a { color: var(--text-2); text-decoration: none; }
footer.site a:hover { color: var(--gold-hi); }

@media (max-width: 560px) {
  .logo-stage, .logo-stage img { width: 190px; height: 190px; }
  .doc { padding: 26px 22px; border-radius: 24px; }
  .nav .links a { padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Coming-soon home (2026-10-04): just the mark and one line, centred in the window. */
.hero-soon { min-height: calc(100vh - 220px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 40px; }
.hero-soon h1 { margin-top: 8px; }
