/* Lumentess org marketing — tokens from packages/shared/theme/tokens.json */
:root {
  --void: #0e1324;
  --panel: #1a2340;
  --panel-raised: #24304a;
  --stone: #fff1d4;
  --muted: #e2d4b8;
  --glow: #ffe08a;
  --glow-soft: #fff3c4;
  --gold: #f0d060;
  --gold-action: #e0b84f;
  --gold-deep: #b98524;
  --amber: #e08a45;
  --focus: #ffe08a;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  --radius-btn: 10px;
  --max: 68rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--stone);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  background: var(--void);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--glow);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--glow-soft);
}

a:focus-visible,
.btn:focus-visible,
.wordmark:focus-visible,
.nav a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  /* Visually hidden until keyboard focus — do not use :focus alone (mobile can stick focus) */
}

.skip-link:focus-visible {
  position: fixed;
  top: 4.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.65rem 1.15rem;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  border-radius: var(--radius-btn);
  background: var(--gold-action);
  color: var(--void);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

/* —— Shell —— */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
}

.site-header-static {
  position: relative;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--stone);
  text-decoration: none;
  border-radius: 4px;
}

.wordmark span {
  color: var(--glow);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.22em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.55rem;
  border-radius: 4px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--stone);
  text-decoration-color: var(--glow);
}

/* —— Hero (first viewport = one composition) —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  isolation: isolate;
  padding: 5.5rem 1.25rem 3rem;
}

.hero-field {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(255, 224, 138, 0.18), transparent 62%),
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(30, 39, 64, 0.95), var(--void) 70%),
    linear-gradient(180deg, #0a0f1c 0%, var(--void) 45%, #10182c 100%);
}

.hero-field::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21, 26, 46, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 26, 46, 0.35) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.22;
  mask-image: radial-gradient(ellipse 55% 50% at 50% 36%, black, transparent 75%);
  animation: field-drift 28s ease-in-out infinite alternate;
}

@keyframes field-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(0, -1.5%, 0) scale(1.04);
  }
}

.hero-logo-plane {
  position: relative;
  z-index: 0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  /* room for soft glow under the icon before the title */
  padding: 0 0 0.35rem;
}

.hero-logo {
  width: min(58vw, 22rem);
  aspect-ratio: 1;
  border-radius: 22%;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(255, 224, 138, 0.18),
    0 0 60px rgba(255, 224, 138, 0.22),
    0 28px 80px rgba(0, 0, 0, 0.45);
  animation: logo-breathe 5.5s ease-in-out infinite;
}

@keyframes logo-breathe {
  0%,
  100% {
    filter: brightness(1);
    box-shadow:
      0 0 0 1px rgba(255, 224, 138, 0.18),
      0 0 50px rgba(255, 224, 138, 0.18),
      0 28px 80px rgba(0, 0, 0, 0.45);
  }
  50% {
    filter: brightness(1.06);
    box-shadow:
      0 0 0 1px rgba(255, 224, 138, 0.28),
      0 0 80px rgba(255, 224, 138, 0.32),
      0 28px 80px rgba(0, 0, 0, 0.45);
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 40rem);
  margin-top: 1.75rem;
  padding: 0 0.5rem 0;
  text-align: center;
  animation: rise-in 1.1s ease-out both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.75rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--stone);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.hero-brand em {
  font-style: normal;
  color: var(--glow);
}

.hero-line {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold-action);
  color: var(--void);
  border-color: var(--gold-deep);
}

.btn-primary:hover {
  background: var(--glow);
  color: var(--void);
}

.btn-ghost {
  background: transparent;
  color: var(--stone);
  border-color: rgba(255, 241, 212, 0.55);
}

.btn-ghost:hover {
  border-color: var(--glow);
  color: var(--glow-soft);
}

.status {
  margin: 1.35rem 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* —— Content sections (below first viewport) —— */
main {
  position: relative;
}

.band {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.band-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.band-split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 820px) {
  .band-split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 4rem;
  }
}

.band h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--stone);
}

.band p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40rem;
}

.band p:last-child {
  margin-bottom: 0;
}

.band-panel {
  background: linear-gradient(160deg, var(--panel) 0%, #171d33 100%);
  border-top: 1px solid rgba(232, 197, 71, 0.18);
  border-bottom: 1px solid rgba(255, 241, 212, 0.06);
}

.house-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.house-list li {
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  color: var(--muted);
  font-size: 1rem;
}

.house-list strong {
  display: block;
  color: var(--stone);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.contact-block {
  margin-top: 0.5rem;
}

.contact-block a {
  font-size: 1.15rem;
  font-weight: 600;
}

.meta-note {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.legal-name {
  color: var(--stone);
  font-weight: 600;
}

.mission-name {
  color: var(--glow);
  font-weight: 600;
}

/* —— Privacy page —— */
.page-top {
  padding: 6.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255, 224, 138, 0.12), transparent 60%),
    var(--void);
}

.page-top h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 600;
}

.page-top p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.prose {
  width: min(100%, 42rem);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) 4rem;
}

.prose h2 {
  margin: 2.25rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 1.02rem;
}

.prose ul {
  padding-left: 1.2rem;
}

/* —— Footer —— */
.site-footer {
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 2.5rem;
  border-top: 1px solid rgba(255, 241, 212, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.18em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--glow);
  text-decoration-color: var(--glow);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.back-home {
  margin-top: 2.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
