:root {
  --gold: #c9a227;
  --gold-bright: #e8c547;
  --gold-deep: #8b6914;
  --black: #050505;
  --black-soft: #0f0f0f;
  --charcoal: #171717;
  --ivory: #f7f3ea;
  --mist: #ede6d6;
  --muted: #9a917e;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-bright); text-decoration: none; }
a:hover { color: var(--gold); }

/* ═══════════ Header ═══════════ */
.site-header {
  border-bottom: 1px solid rgba(201, 162, 39, 0.22);
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header--hero {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.75), transparent);
  border-bottom: none;
}

.site-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: inherit;
}

.brand:hover { color: inherit; }

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: #000;
  border: 1px solid rgba(201, 162, 39, 0.35);
}

.brand-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  line-height: 1.05;
}

.brand-text span {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nav-links a {
  color: rgba(247, 243, 234, 0.78);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}

/* ═══════════ Buttons ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.55rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn-gold {
  background: linear-gradient(135deg, #f0d56a 0%, var(--gold-bright) 28%, var(--gold) 62%, var(--gold-deep) 100%);
  color: #0a0a0a;
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.28);
}

.btn-gold:hover {
  color: #0a0a0a;
  box-shadow: 0 14px 36px rgba(232, 197, 71, 0.38);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(201, 162, 39, 0.42);
  color: var(--mist);
}

.btn-ghost:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  background: rgba(201, 162, 39, 0.06);
}

.btn-lg { padding: 1.05rem 1.85rem; font-size: 1rem; }

/* ═══════════ LANDING HERO ═══════════ */
.lp-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7rem 1.25rem 5rem;
}

.lp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(201, 162, 39, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(139, 105, 20, 0.18), transparent 55%),
    linear-gradient(180deg, #050505 0%, #0a0906 45%, #050505 100%);
}

.lp-rays {
  position: absolute;
  left: 50%;
  top: 28%;
  width: 140vmax;
  height: 140vmax;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(232, 197, 71, 0.07) 8deg,
    transparent 16deg,
    transparent 24deg,
    rgba(201, 162, 39, 0.05) 32deg,
    transparent 40deg
  );
  animation: raySpin 48s linear infinite;
  opacity: 0.85;
  mask-image: radial-gradient(circle, #000 0%, transparent 62%);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 62%);
}

.lp-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.lp-grain {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.lp-hero-stage {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

.lp-emblem {
  margin: 0;
  position: relative;
  animation: emblemIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lp-emblem::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle, rgba(232, 197, 71, 0.35), transparent 68%);
  filter: blur(18px);
  z-index: 0;
  animation: glowPulse 4.5s ease-in-out infinite;
}

.lp-emblem img {
  position: relative;
  z-index: 1;
  width: min(58vw, 340px);
  height: auto;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.65));
  animation: emblemFloat 7s ease-in-out infinite;
}

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

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

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.lp-hero-copy {
  animation: copyIn 1s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

.lp-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.lp-wordmark {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.6rem, 12vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  text-shadow: 0 0 40px rgba(201, 162, 39, 0.25);
}

.lp-promise {
  margin: 0.85rem auto 0;
  max-width: 22rem;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 300;
  color: rgba(247, 243, 234, 0.82);
  letter-spacing: 0.01em;
}

.lp-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.lp-scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 28px;
  height: 44px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.lp-scroll span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold-bright);
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ═══════════ Manifesto ═══════════ */
.lp-manifesto {
  padding: 6.5rem 1.35rem;
  border-top: 1px solid rgba(201, 162, 39, 0.18);
  background:
    linear-gradient(180deg, rgba(201, 162, 39, 0.05), transparent 40%),
    var(--black);
}

.lp-narrow {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.lp-roman {
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin: 0 0 1.25rem;
}

.lp-manifesto h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ivory);
  margin: 0 0 1.1rem;
}

.lp-manifesto p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 300;
}

/* ═══════════ Pillars ═══════════ */
.lp-pillars {
  max-width: 920px;
  margin: 0 auto;
  padding: 2rem 1.35rem 6rem;
}

.lp-section-label {
  margin-bottom: 2.5rem;
  text-align: center;
}

.lp-section-label span,
.lp-section-eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.lp-section-label h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  margin: 0;
  color: var(--gold-bright);
  font-weight: 600;
}

.lp-pillar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.lp-pillar-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(201, 162, 39, 0.22);
  align-items: start;
}

.lp-pillar-list li:last-child {
  border-bottom: 1px solid rgba(201, 162, 39, 0.22);
}

.lp-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.lp-pillar-list h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  margin: 0 0 0.35rem;
  color: var(--mist);
  font-weight: 600;
}

.lp-pillar-list p {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
  max-width: 36rem;
}

/* ═══════════ Ritual ═══════════ */
.lp-ritual {
  padding: 5rem 1.35rem;
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(201, 162, 39, 0.1), transparent 55%),
    linear-gradient(180deg, #0a0a0a, #080806 50%, #0a0a0a);
  border-top: 1px solid rgba(201, 162, 39, 0.14);
  border-bottom: 1px solid rgba(201, 162, 39, 0.14);
}

.lp-ritual-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.lp-ritual-copy h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  color: var(--ivory);
  margin: 0 0 0.9rem;
  line-height: 1.15;
  font-weight: 600;
}

.lp-ritual-copy > p {
  color: var(--muted);
  font-weight: 300;
  margin: 0 0 1.35rem;
  max-width: 32rem;
}

.lp-ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.lp-ticks li {
  position: relative;
  padding-left: 1.35rem;
  color: rgba(247, 243, 234, 0.88);
  font-size: 0.98rem;
}

.lp-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.45);
}

.lp-ritual-mark {
  display: flex;
  justify-content: center;
  position: relative;
}

.lp-ritual-mark::before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.28);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.lp-ritual-mark::after {
  content: "";
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(201, 162, 39, 0.18);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ringSpin 60s linear infinite;
}

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

.lp-ritual-mark img {
  position: relative;
  z-index: 1;
  width: min(70%, 280px);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

/* ═══════════ Download ═══════════ */
.lp-download {
  padding: 6rem 1.35rem 7rem;
  text-align: center;
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(232, 197, 71, 0.14), transparent 55%),
    var(--black);
}

.lp-download-inner {
  max-width: 560px;
  margin: 0 auto;
}

.lp-download-seal {
  width: 88px;
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 24px rgba(201, 162, 39, 0.35));
}

.lp-download h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold-bright);
  margin: 0 0 0.65rem;
  font-weight: 600;
  line-height: 1.15;
}

.lp-download p {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-weight: 300;
}

/* ═══════════ Legal / support pages ═══════════ */
.page-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.hero-doc {
  text-align: center;
  margin-bottom: 2.25rem;
}

.hero-doc .mark {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin: 0 auto 1.1rem;
  display: block;
  filter: drop-shadow(0 0 24px rgba(201, 162, 39, 0.35));
}

.hero-doc h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--gold-bright);
  margin: 0 0 0.5rem;
}

.hero-doc .tagline {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 0.6rem;
}

.hero-doc .meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.panel {
  background: linear-gradient(180deg, rgba(23, 23, 23, 0.95), rgba(15, 15, 15, 0.98));
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 18px;
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.panel h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--gold);
  margin: 1.75rem 0 0.65rem;
  font-weight: 600;
}

.panel h2:first-child { margin-top: 0; }

.panel h3 {
  font-size: 1.05rem;
  color: var(--mist);
  margin: 1.25rem 0 0.4rem;
  font-weight: 600;
}

.panel p, .panel li {
  color: rgba(247, 243, 234, 0.88);
  font-size: 1rem;
}

.panel ul {
  padding-left: 1.2rem;
  margin: 0.4rem 0 0.8rem;
}

.panel li { margin-bottom: 0.35rem; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.5), transparent);
  margin: 1.5rem 0;
  border: 0;
}

.support-grid { display: grid; gap: 1rem; }

.support-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.18);
}

.support-item:last-child { border-bottom: 0; }

.support-item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold-bright);
}

.support-item p { margin: 0; color: rgba(247, 243, 234, 0.8); }

/* ═══════════ Footer ═══════════ */
.site-footer {
  margin-top: 0;
  border-top: 1px solid rgba(201, 162, 39, 0.22);
  background: rgba(5, 5, 5, 0.92);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.75rem 1.35rem 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(201, 162, 39, 0.3);
}

.footer-brand strong {
  display: block;
  font-family: var(--serif);
  color: var(--gold-bright);
  font-size: 1.25rem;
}

.footer-brand span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.footer-cols h4 {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.footer-cols a {
  display: block;
  color: var(--mist);
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.footer-cols a:hover { color: var(--gold-bright); }

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.35rem 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.gold-line {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 1rem;
  opacity: 0.6;
}

/* ═══════════ Responsive ═══════════ */
@media (max-width: 860px) {
  .lp-ritual-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lp-ritual-copy > p { margin-left: auto; margin-right: auto; }
  .lp-ticks { text-align: left; max-width: 22rem; margin: 0 auto; }
  .lp-ritual-mark { order: -1; }
  .lp-ritual-mark img { width: min(55%, 220px); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header-inner { flex-direction: column; align-items: flex-start; }
  .lp-hero { padding-top: 8.5rem; }
  .lp-pillar-list li { grid-template-columns: 3.2rem 1fr; gap: 0.85rem; }
  .panel { padding: 1.35rem 1.1rem 1.6rem; }
  .nav-links { gap: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-rays,
  .lp-emblem img,
  .lp-emblem::before,
  .lp-scroll span,
  .lp-ritual-mark::after {
    animation: none !important;
  }
}
