/* ==========================================================================
   THE SANCTUM LETTERS — Design System
   sanctum.weloveyou.se

   WCAG AA Verified Contrast Ratios (all pass 4.5:1 minimum):
   --text-primary #dce6f5 on --bg-ink #080c16:   15.52:1
   --text-primary #dce6f5 on --bg-ash #0d1324:   14.69:1
   --text-primary #dce6f5 on --bg-card #121a30:  13.72:1
   --text-muted   #8ca0be on --bg-ink:            7.34:1
   --text-muted   #8ca0be on --bg-ash:            6.94:1
   --accent       #aacdeb on --bg-ink:           11.76:1
   --accent       #aacdeb on --bg-ash:           11.13:1
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. TOKENS & RESET
   -------------------------------------------------------------------------- */

:root {
  --bg-ink:       #080c16;
  --bg-ash:       #0d1324;
  --bg-card:      #121a30;
  --text-primary: #dce6f5;
  --text-muted:   #8ca0be;
  --accent:       #aacdeb;
  --accent-dim:   #648cb4;
  --border:       rgba(170, 205, 235, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-ink);
  color: var(--text-primary);
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
  cursor: none;
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}


/* --------------------------------------------------------------------------
   2. ACCESSIBILITY
   -------------------------------------------------------------------------- */

/* Skip link — WCAG 2.4.1 */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: var(--bg-ink);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  text-decoration: none;
  font-weight: 500;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* --------------------------------------------------------------------------
   3. TEXTURE OVERLAY
   -------------------------------------------------------------------------- */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 900;
  opacity: 0.35;
  mix-blend-mode: overlay;
}


/* --------------------------------------------------------------------------
   4. AMBIENT BACKGROUND — organic blobs behind all content
   -------------------------------------------------------------------------- */

.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob {
  position: absolute;
  border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%;
  filter: blur(100px);
  opacity: 0.35;
  will-change: transform, border-radius;
}

.ambient-blob--1 {
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  top: -10%;
  left: -15%;
  background: radial-gradient(ellipse at 40% 40%, rgba(40, 70, 140, 0.8), transparent 70%);
  animation: ambient-drift-1 45s ease-in-out infinite alternate;
}

.ambient-blob--2 {
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  top: 30%;
  right: -10%;
  background: radial-gradient(ellipse at 60% 50%, rgba(90, 130, 190, 0.7), transparent 70%);
  animation: ambient-drift-2 55s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

.ambient-blob--3 {
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  bottom: 10%;
  left: 20%;
  background: radial-gradient(ellipse at 50% 60%, rgba(110, 150, 200, 0.6), transparent 70%);
  animation: ambient-drift-3 50s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

.ambient-blob--4 {
  width: 40vw;
  height: 40vw;
  max-width: 500px;
  max-height: 500px;
  bottom: -5%;
  right: 15%;
  background: radial-gradient(ellipse at 50% 50%, rgba(170, 205, 235, 0.5), transparent 70%);
  animation: ambient-drift-4 60s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

@keyframes ambient-drift-1 {
  0%   { border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%; transform: translate(0, 0) scale(1); }
  33%  { border-radius: 55% 45% 40% 60% / 45% 55% 50% 50%; transform: translate(5%, 8%) scale(1.08); }
  66%  { border-radius: 50% 50% 60% 40% / 60% 40% 45% 55%; transform: translate(-3%, 4%) scale(0.95); }
  100% { border-radius: 45% 55% 50% 50% / 50% 50% 55% 45%; transform: translate(7%, -3%) scale(1.04); }
}

@keyframes ambient-drift-2 {
  0%   { border-radius: 50% 50% 45% 55% / 55% 45% 50% 50%; transform: translate(0, 0) scale(1) rotate(0deg); }
  50%  { border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%; transform: translate(-6%, 5%) scale(1.1) rotate(3deg); }
  100% { border-radius: 45% 55% 50% 50% / 50% 50% 60% 40%; transform: translate(4%, -7%) scale(0.93) rotate(-2deg); }
}

@keyframes ambient-drift-3 {
  0%   { border-radius: 55% 45% 50% 50% / 50% 50% 45% 55%; transform: translate(0, 0) scale(1); }
  50%  { border-radius: 45% 55% 60% 40% / 40% 60% 55% 45%; transform: translate(8%, -4%) scale(1.06); }
  100% { border-radius: 50% 50% 40% 60% / 55% 45% 50% 50%; transform: translate(-5%, 6%) scale(0.97); }
}

@keyframes ambient-drift-4 {
  0%   { border-radius: 50% 50% 55% 45% / 45% 55% 50% 50%; transform: translate(0, 0) scale(1); }
  50%  { border-radius: 40% 60% 50% 50% / 55% 45% 55% 45%; transform: translate(-4%, -6%) scale(1.12); }
  100% { border-radius: 55% 45% 45% 55% / 50% 50% 45% 55%; transform: translate(6%, 3%) scale(0.94); }
}


/* --------------------------------------------------------------------------
   5. CUSTOM CURSOR
   -------------------------------------------------------------------------- */

@media (hover: hover) {
  .cursor {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
  }

  .cursor-ring {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(170, 205, 235, 0.35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
  }
}


/* --------------------------------------------------------------------------
   5. HERO
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem 8rem;
  overflow: hidden;
}

/* Morphing blob background — surreal, dreamy */
.hero-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  filter: blur(80px);
  opacity: 0.35;
  will-change: transform, border-radius;
}

.hero-blob--1 {
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  top: 10%;
  left: 15%;
  background: radial-gradient(ellipse at 30% 40%, rgba(30, 60, 140, 0.6), rgba(15, 35, 80, 0.2));
  animation: morph-1 25s ease-in-out infinite alternate;
}

.hero-blob--2 {
  width: 45vw;
  height: 45vw;
  max-width: 520px;
  max-height: 520px;
  bottom: 5%;
  right: 10%;
  background: radial-gradient(ellipse at 60% 50%, rgba(100, 140, 180, 0.4), rgba(20, 50, 100, 0.15));
  animation: morph-2 30s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

.hero-blob--3 {
  width: 30vw;
  height: 30vw;
  max-width: 360px;
  max-height: 360px;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 50%, rgba(170, 205, 235, 0.25), transparent 70%);
  animation: morph-3 35s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

.hero-blob--4 {
  width: 40vw;
  height: 40vw;
  max-width: 480px;
  max-height: 480px;
  bottom: 10%;
  left: 5%;
  background: radial-gradient(ellipse at 40% 60%, rgba(120, 60, 200, 0.3), rgba(60, 20, 120, 0.1));
  animation: morph-4 40s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

.hero-blob--5 {
  width: 25vw;
  height: 25vw;
  max-width: 300px;
  max-height: 300px;
  top: 8%;
  right: 12%;
  background: radial-gradient(ellipse at 50% 40%, rgba(180, 150, 80, 0.18), transparent 70%);
  animation: morph-5 28s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

/* Starfield overlay — subtle CSS-only constellation */
.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(170,205,235,0.55) 0%, transparent 100%),
    radial-gradient(1px 1px at 28% 72%, rgba(170,205,235,0.4)  0%, transparent 100%),
    radial-gradient(1px 1px at 44% 33%, rgba(255,255,255,0.3)  0%, transparent 100%),
    radial-gradient(1px 1px at 61% 81%, rgba(170,205,235,0.45) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 14%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 88% 56%, rgba(170,205,235,0.4)  0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 8%  90%, rgba(255,255,255,0.25) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 35% 50%, rgba(170,205,235,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 52% 6%,  rgba(255,255,255,0.4)  0%, transparent 100%),
    radial-gradient(1px 1px at 67% 42%, rgba(170,205,235,0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 82% 88%, rgba(255,255,255,0.3)  0%, transparent 100%),
    radial-gradient(1px 1px at 93% 28%, rgba(170,205,235,0.5)  0%, transparent 100%),
    radial-gradient(1px 1px at 18% 44%, rgba(255,255,255,0.2)  0%, transparent 100%),
    radial-gradient(1px 1px at 54% 65%, rgba(170,205,235,0.3)  0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 72% 30%, rgba(255,255,255,0.35) 0%, transparent 100%);
  animation: stars-drift 90s linear infinite alternate;
}

@keyframes stars-drift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(8px, -12px); }
}

@keyframes morph-4 {
  0%   { border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%; transform: translate(0, 0) scale(1); }
  40%  { border-radius: 40% 60% 45% 55% / 60% 40% 60% 40%; transform: translate(4%, -3%) scale(1.07); }
  70%  { border-radius: 65% 35% 50% 50% / 35% 65% 40% 60%; transform: translate(-3%, 5%) scale(0.95); }
  100% { border-radius: 50% 50% 35% 65% / 55% 45% 55% 45%; transform: translate(2%, -2%) scale(1.02); }
}

@keyframes morph-5 {
  0%   { border-radius: 45% 55% 55% 45% / 55% 45% 55% 45%; transform: translate(0, 0) scale(1); opacity: 0.6; }
  50%  { border-radius: 60% 40% 40% 60% / 40% 60% 40% 60%; transform: translate(-5%, 4%) scale(1.1); opacity: 0.9; }
  100% { border-radius: 50% 50% 60% 40% / 45% 55% 45% 55%; transform: translate(3%, -3%) scale(0.92); opacity: 0.5; }
}

@keyframes morph-1 {
  0%   { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: translate(0, 0) scale(1); }
  25%  { border-radius: 70% 30% 50% 50% / 30% 70% 30% 70%; transform: translate(3%, -5%) scale(1.05); }
  50%  { border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%; transform: translate(-2%, 3%) scale(0.97); }
  75%  { border-radius: 30% 70% 60% 40% / 50% 50% 40% 60%; transform: translate(5%, 2%) scale(1.03); }
  100% { border-radius: 60% 40% 40% 60% / 70% 30% 70% 30%; transform: translate(-3%, -2%) scale(1); }
}

@keyframes morph-2 {
  0%   { border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%; transform: translate(0, 0) scale(1) rotate(0deg); }
  33%  { border-radius: 60% 40% 60% 40% / 40% 60% 40% 60%; transform: translate(-4%, 3%) scale(1.06) rotate(5deg); }
  66%  { border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%; transform: translate(3%, -4%) scale(0.95) rotate(-3deg); }
  100% { border-radius: 70% 30% 30% 70% / 60% 40% 50% 50%; transform: translate(2%, 5%) scale(1.02) rotate(2deg); }
}

@keyframes morph-3 {
  0%   { border-radius: 60% 40% 50% 50% / 50% 50% 40% 60%; transform: translateX(-50%) scale(1); opacity: 0.35; }
  50%  { border-radius: 40% 60% 60% 40% / 40% 60% 50% 50%; transform: translateX(-50%) scale(1.15); opacity: 0.5; }
  100% { border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%; transform: translateX(-50%) scale(0.9); opacity: 0.3; }
}

.hero-symbol {
  margin-bottom: 2.8rem;
  opacity: 0;
  animation: fade-rise 2s ease 0.3s forwards;
}

.hero-symbol svg {
  width: 68px;
  height: 68px;
  animation: breathe 8s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 0.85; transform: scale(1.06); }
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.5em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fade-rise 1.5s ease 0.6s forwards;
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fade-rise 1.5s ease 0.9s forwards;
}

.hero-tagline {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--accent);
  margin-bottom: 2.8rem;
  opacity: 0;
  animation: fade-rise 1.5s ease 1.2s forwards;
}

.hero-body {
  max-width: 440px;
  font-family: 'Barlow', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 3.5rem;
  opacity: 0;
  animation: fade-rise 1.5s ease 1.5s forwards;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  opacity: 0;
  animation: fade-rise 1.5s ease 1.9s forwards;
}


/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */

.btn-primary {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--bg-ink);
  background: var(--accent);
  padding: 1.1rem 3.4rem;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  cursor: none;
  border: 2px solid transparent;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--text-primary);
  transform: translateX(-101%);
  transition: transform 0.35s ease;
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-primary:focus-visible {
  outline: 3px solid var(--text-primary);
  outline-offset: 3px;
}

.btn-ghost {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(140, 160, 190, 0.35);
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
  cursor: none;
}

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

.btn-ghost:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}


/* --------------------------------------------------------------------------
   7. SCROLL HINT
   -------------------------------------------------------------------------- */

.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 3rem;
  opacity: 0;
  animation: fade-rise 1.5s ease 2.5s forwards;
}

.scroll-hint-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: pulse-line 2.4s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.2; }
  50%      { opacity: 0.7; }
}

.scroll-hint span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.38em;
  color: var(--text-muted);
  text-transform: uppercase;
}


/* --------------------------------------------------------------------------
   8. SHARED ANIMATIONS
   -------------------------------------------------------------------------- */

@keyframes fade-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }


/* --------------------------------------------------------------------------
   9. SECTIONS
   -------------------------------------------------------------------------- */

.section {
  padding: 4rem 2rem;
}

.section-inner {
  max-width: 920px;
  margin: 0 auto;
}

.bg-ash {
  background: rgba(5, 5, 5, 0.95);
}

.label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.45em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}


/* --------------------------------------------------------------------------
   10. HOW IT WORKS
   -------------------------------------------------------------------------- */

.how-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.how-item {
  padding: 3rem 2.2rem;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.how-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.5s ease;
}

.how-item:hover::after {
  width: 100%;
}

.how-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.how-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.how-text {
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
}

/* Wheel of the Year */
.wheel-intro {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-primary);
  max-width: 640px;
  margin-bottom: 3rem;
}

.wheel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  background: transparent;
  border: none;
  padding: 0.25rem;
}

@media (max-width: 900px) {
  .wheel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .wheel-grid { grid-template-columns: 1fr; gap: 1rem; }
}

.wheel-item {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: background 0.6s ease, border-color 0.6s ease, box-shadow 0.6s ease, transform 0.6s ease;
  animation: blob-breathe var(--blob-dur, 12s) ease-in-out infinite alternate;
}

.wheel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 40% 20%, rgba(255,255,255,0.05), transparent 65%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.wheel-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 40px rgba(255,255,255,0.04), inset 0 0 24px rgba(255,255,255,0.02);
  transform: translateY(-3px) scale(1.01);
}
.wheel-item:hover::before { opacity: 1; }

/* Organic blob shape per card — each slightly different */
.wheel-item:nth-child(1) { border-radius: 62% 38% 34% 66% / 58% 32% 68% 42%; --blob-dur: 11s; }
.wheel-item:nth-child(2) { border-radius: 42% 58% 66% 34% / 52% 58% 42% 48%; --blob-dur: 14s; }
.wheel-item:nth-child(3) { border-radius: 68% 32% 48% 52% / 42% 66% 34% 58%; --blob-dur: 9s;  }
.wheel-item:nth-child(4) { border-radius: 34% 66% 58% 42% / 66% 42% 58% 34%; --blob-dur: 16s; }
.wheel-item:nth-child(5) { border-radius: 52% 48% 42% 58% / 32% 58% 68% 42%; --blob-dur: 13s; }
.wheel-item:nth-child(6) { border-radius: 64% 36% 54% 46% / 46% 54% 36% 64%; --blob-dur: 10s; }
.wheel-item:nth-child(7) { border-radius: 46% 54% 36% 64% / 64% 36% 54% 46%; --blob-dur: 15s; }
.wheel-item:nth-child(8) { border-radius: 56% 44% 62% 38% / 38% 62% 44% 56%; --blob-dur: 12s; }

@keyframes blob-breathe {
  0%   { border-radius: inherit; transform: scale(1); }
  50%  { transform: scale(1.008); }
  100% { transform: scale(1); }
}

/* Highlighted / upcoming sabbat */
.wheel-item--highlight {
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 0 32px rgba(255,255,255,0.06);
  position: relative;
}
.wheel-item--highlight .wheel-name {
  color: #fff;
}
.wheel-item--highlight::after {
  content: 'Coming up';
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  opacity: 0.8;
}

.wheel-type {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  opacity: 1;
}

.wheel-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0.2rem 0 0;
  line-height: 1;
}

.wheel-date {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.55;
  margin-bottom: 0.75rem;
}

.wheel-text {
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Map of Becoming (calendar page intro)
   -------------------------------------------------------------------------- */

.becoming-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.becoming-text p {
  font-family: 'Lora', serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-style: italic;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 64ch;
}

.becoming-text p:first-child {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Sabbat Guide (calendar page)
   -------------------------------------------------------------------------- */

.sabbat-guide {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem;
}

.sabbat-card {
  background: var(--bg-ink);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  transition: background 0.3s;
}
.sabbat-card:hover {
  background: var(--bg-card);
}

@media (max-width: 700px) {
  .sabbat-card { grid-template-columns: 1fr; }
}

.sabbat-card--highlight {
  outline: 2px solid rgba(170, 205, 235, 0.4);
  outline-offset: -2px;
}
.sabbat-card--highlight .sabbat-name {
  color: #fff;
}

.sabbat-header {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
@media (max-width: 700px) {
  .sabbat-header {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 2rem 1.5rem 1.5rem;
  }
}

.sabbat-type {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
}

.sabbat-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1;
  margin: 0.2rem 0;
}

.sabbat-date {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.55;
}

.sabbat-link {
  color: var(--accent);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.sabbat-link:hover { opacity: 1; }

.sabbat-body {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (max-width: 700px) {
  .sabbat-body { padding: 1.5rem; }
}

/* Voice line — short poetic sentence at top of each card */
.sabbat-voice {
  font-family: 'Lora', serif;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--text-primary);
  opacity: 0.85;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.25rem;
}

.sabbat-focus {
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--text-muted);
}
.sabbat-focus strong {
  font-style: normal;
  font-weight: 500;
  color: var(--text-primary);
}

.sabbat-acts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sabbat-acts li {
  font-family: 'Barlow', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}
.sabbat-acts li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(170, 205, 235, 0.35);
  font-size: 0.75rem;
}

/* Daily practices */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2.5rem;
}
@media (max-width: 650px) {
  .practice-grid { grid-template-columns: 1fr; }
}

.practice-item {
  background: var(--bg-ink);
  padding: 2rem 1.75rem;
}

.practice-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.practice-text {
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-muted);
}

.practice-note {
  font-family: 'Barlow', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(140, 160, 190, 0.45);
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   Listening / Seasonal Reflection (archetype page)
   -------------------------------------------------------------------------- */

.listening-intro {
  font-family: 'Lora', serif;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-style: italic;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: 2.5rem;
}

.listening-questions {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}

.listening-question {
  font-family: 'Lora', serif;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-style: italic;
  line-height: 1.75;
  color: var(--text-primary);
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border);
  counter-increment: questions;
  position: relative;
  padding-left: 3.5rem;
}
.listening-question:last-child { border-bottom: none; }

.listening-question::before {
  content: counter(questions, decimal-leading-zero);
  position: absolute;
  left: 1.5rem;
  top: 1.6rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-style: normal;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: rgba(170, 205, 235, 0.3);
}

.listening-questions {
  counter-reset: questions;
}

.listening-close {
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.8;
  color: rgba(140, 160, 190, 0.45);
  max-width: 56ch;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}


/* --------------------------------------------------------------------------
   Rituals page
   -------------------------------------------------------------------------- */

/* (styles are inlined in rituals.html for self-containment) */


/* Closing line after sabbat guide */
.wheel-closing {
  font-family: 'Lora', serif;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-style: italic;
  line-height: 1.85;
  color: rgba(140, 160, 190, 0.5);
  max-width: 60ch;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}


/* --------------------------------------------------------------------------
   11. ARCHETYPES GRID
   -------------------------------------------------------------------------- */

.months-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  margin-top: 3rem;
}

a.month-cell {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: none;
}

.month-cell {
  padding: 2rem 1.6rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.month-cell:hover {
  background: rgba(170, 205, 235, 0.04);
}

.month-cell:nth-child(4n) {
  border-right: none;
}

.month-cell:nth-last-child(-n+4) {
  border-bottom: none;
}

.month-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--accent-dim);
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.month-archetype {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.month-energy {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}


/* --------------------------------------------------------------------------
   12. QUOTE
   -------------------------------------------------------------------------- */

.quote-section {
  padding: 9rem 2rem;
  text-align: center;
  position: relative;
}

.quote-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 5rem;
  background: linear-gradient(to bottom, transparent, rgba(170, 205, 235, 0.2));
}

blockquote {
  max-width: 600px;
  margin: 0 auto;
}

blockquote p {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

blockquote cite {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.38em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-style: normal;
}


/* --------------------------------------------------------------------------
   13. BOOK SECTION
   -------------------------------------------------------------------------- */

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}

.book-text h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.book-text p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.book-text p em {
  color: var(--accent);
  font-style: italic;
}

.book-specs {
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-dim);
  white-space: nowrap;
}

.spec-value {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-primary);
  text-align: right;
}


/* --------------------------------------------------------------------------
   14. NOTIFY SECTION
   -------------------------------------------------------------------------- */

.notify-section {
  padding: 9rem 2rem;
  text-align: center;
}

.notify-inner {
  max-width: 480px;
  margin: 0 auto;
}

.notify-inner h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.notify-inner p {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 2.8rem;
  line-height: 1.85;
}

.form-group {
  display: flex;
  max-width: 420px;
  margin: 0 auto;
}

.form-group input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--text-primary);
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1rem;
  padding: 1rem 1.4rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.form-group input:focus {
  border-color: var(--accent);
}

.form-group input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.form-group button {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--bg-ink);
  border: 2px solid var(--accent);
  padding: 1rem 1.6rem;
  cursor: none;
  transition: background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.form-group button:hover {
  background: var(--text-primary);
  border-color: var(--text-primary);
}

.form-group button:focus-visible {
  outline: 3px solid var(--text-primary);
  outline-offset: 3px;
}

.thanks-msg {
  display: none;
  margin-top: 2rem;
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--accent);
  font-size: 1rem;
}


/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */

footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.footer-login {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: none;
}

.footer-login:hover {
  color: var(--accent);
}


/* --------------------------------------------------------------------------
   16. RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .book-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 1100px) {
  .how-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .how-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .how-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .months-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .month-cell:nth-child(4n) {
    border-right: 1px solid var(--border);
  }

  .month-cell:nth-child(2n) {
    border-right: none;
  }

  .month-cell:nth-last-child(-n+4) {
    border-bottom: 1px solid var(--border);
  }

  .month-cell:nth-last-child(-n+2) {
    border-bottom: none;
  }

  footer {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .form-group {
    flex-direction: column;
  }

  .form-group input {
    border-right: 1px solid var(--border);
    border-bottom: none;
  }

  .form-group button {
    width: 100%;
  }
}


/* --------------------------------------------------------------------------
   17. LOGIN & AUTH PAGES
   -------------------------------------------------------------------------- */

.login-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem;
  overflow: hidden;
}

.login-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fade-rise 1.5s ease 0.6s forwards;
}

.login-subtitle {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--accent);
  margin-bottom: 3rem;
  max-width: 400px;
  opacity: 0;
  animation: fade-rise 1.5s ease 0.9s forwards;
}

.login-form {
  max-width: 400px;
  width: 100%;
  opacity: 0;
  animation: fade-rise 1.5s ease 1.2s forwards;
}

.login-message {
  display: none;
  max-width: 400px;
  opacity: 0;
  animation: fade-rise 1s ease forwards;
}

.login-message-text {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  line-height: 1.8;
}

.login-error {
  display: none;
  max-width: 400px;
  margin-top: 1.5rem;
}

.login-error-text {
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: #e8a0a0;
  line-height: 1.6;
}

.login-back {
  margin-top: 3rem;
  opacity: 0;
  animation: fade-rise 1.5s ease 1.5s forwards;
}


/* --------------------------------------------------------------------------
   18. SANCTUM MEMBER AREA
   -------------------------------------------------------------------------- */

.sanctum-loading {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sanctum-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: linear-gradient(to bottom, var(--bg-ink), transparent);
}

.sanctum-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  cursor: none;
}

.sanctum-logo:hover {
  color: var(--text-primary);
}

.sanctum-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.sanctum-greeting {
  font-family: 'Barlow', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-muted);
}

.sanctum-signout {
  font-size: 0.85rem;
  background: none;
  cursor: none;
}

.sanctum-placeholder {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.85;
  opacity: 0;
  animation: fade-rise 1.5s ease 1.2s forwards;
}


/* --------------------------------------------------------------------------
   19. ARCHETYPE PAGE
   -------------------------------------------------------------------------- */

:root {
  --archetype-primary: var(--bg-ink);
  --archetype-accent: var(--accent);
}

.archetype-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: linear-gradient(to bottom, var(--bg-ink), transparent);
}

.archetype-nav {
  display: flex;
  gap: 2rem;
}

.archetype-nav-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: none;
}

.archetype-nav-link:hover {
  color: var(--accent);
}

.archetype-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem 3rem;
  overflow: hidden;
}

.archetype-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(8,12,22,0.6) 0%, rgba(8,12,22,0.95) 100%);
  pointer-events: none;
  z-index: 0;
}

.archetype-hero > * {
  position: relative;
  z-index: 1;
}

.archetype-hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
}

.archetype-symbol {
  margin-bottom: 2rem;
  color: var(--archetype-accent);
  opacity: 0;
  animation: fade-rise 1.5s ease 0.3s forwards;
}

.archetype-symbol svg {
  width: 72px;
  height: 72px;
  animation: breathe 8s ease-in-out infinite;
}

.archetype-month {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  opacity: 0;
  text-shadow: 0 1px 16px rgba(0,0,0,0.9);
  animation: fade-rise 1.5s ease 0.6s forwards;
}

.archetype-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--archetype-accent, var(--accent));
  margin-bottom: 1.5rem;
  opacity: 0;
  text-shadow: 0 2px 30px rgba(0,0,0,0.8);
  animation: fade-rise 1.5s ease 0.9s forwards;
}

.archetype-depth {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.8;
  margin-top: 1.5rem;
  opacity: 0;
  text-shadow: 0 1px 12px rgba(0,0,0,0.9);
  animation: fade-rise 1.5s ease 1.4s forwards;
}

.archetype-qualities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
  opacity: 0;
  animation: fade-rise 1.5s ease 1.6s forwards;
}

.archetype-quality {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--archetype-accent, var(--accent));
  border: 1px solid var(--archetype-accent, var(--accent));
  opacity: 0.6;
  padding: 0.3rem 0.8rem;
}

.archetype-energy {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-primary);
  opacity: 0;
  max-width: 400px;
  text-shadow: 0 1px 16px rgba(0,0,0,0.9);
  animation: fade-rise 1.5s ease 1.2s forwards;
}

/* Archetype season image */
.archetype-image-section {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.archetype-image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.archetype-image-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    var(--bg-ink) 0%,
    transparent 20%,
    transparent 75%,
    var(--bg-ink) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Season image strip */
.archetype-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
  height: 38vw;
  max-height: 480px;
  overflow: hidden;
}
@media (max-width: 600px) {
  .archetype-strip {
    grid-template-columns: repeat(3, 1fr);
    height: 50vw;
    max-height: 260px;
  }
}
.archetype-strip img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.75) saturate(0.9);
  transition: filter 0.4s ease;
}
.archetype-strip img:hover {
  filter: brightness(0.9) saturate(1.1);
}

/* Tree of the month */
.tree-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem 3rem;
  align-items: start;
}
@media (max-width: 600px) {
  .tree-block { grid-template-columns: 1fr; gap: 1rem; }
}
.tree-practices {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
@media (max-width: 600px) {
  .tree-practices { grid-template-columns: 1fr; gap: 1.25rem; }
}
.tree-practices-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.tree-practices-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.tree-practice-item {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
}
.tree-practice-item::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--archetype-accent, var(--accent));
  opacity: 0.5;
}
.tree-archetype-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--archetype-accent, var(--accent));
  opacity: 0.7;
  margin-top: 0.4rem;
  margin-bottom: 0.5rem;
}
.tree-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--archetype-accent, var(--accent));
  line-height: 1;
  margin-bottom: 0.3rem;
}
.tree-ogham {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tree-dates {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.75rem;
  opacity: 0.6;
}
.tree-meaning {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-primary);
}

/* --- */

/* Star sign note */
.monthly-letter-sign {
  max-width: 620px;
  margin-bottom: 3rem;
  padding: 1.5rem 1.8rem;
  border-left: 1px solid var(--archetype-accent, var(--accent));
}

.monthly-letter-sign-label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--archetype-accent, var(--accent));
  margin-bottom: 0.75rem;
}

.monthly-letter-sign-text {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-muted);
}

/* --- */

/* Monthly letter */
.monthly-letter {
  max-width: 620px;
  padding-top: 0.5rem;
}

.monthly-letter-text {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.monthly-letter-text--opening {
  font-size: 1.25rem;
  color: var(--text-primary);
  font-style: normal;
}

.monthly-letter-text--closing {
  color: var(--archetype-accent, var(--accent));
  font-style: italic;
  margin-top: 0.5rem;
}

/* --- */

.archetype-letter-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

.archetype-letter-text {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  max-width: 620px;
}

.archetype-intention {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.8;
  color: var(--text-primary);
}

/* Archetype pills navigation */
.archetype-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  max-width: 700px;
  margin: 0 auto;
}

.archetype-pill {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  cursor: none;
}

.archetype-pill:hover {
  color: var(--pill-color, var(--accent));
  border-color: var(--pill-color, var(--accent));
}

.archetype-pill--active,
.archetype-pill--active:hover {
  color: var(--text-primary);
  background: var(--pill-color, var(--accent));
  border-color: var(--pill-color, var(--accent));
}

.archetype-pill-num {
  opacity: 0.5;
  margin-right: 0.3em;
}

/* Week label (above letter title) */
.week-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--archetype-accent, var(--accent));
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   Week tabs — letter selector
   -------------------------------------------------------------------------- */

.week-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}

.week-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  font-family: 'Barlow Condensed', sans-serif;
  background: var(--bg-ink);
  border: none;
  color: var(--text-muted);
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
  text-align: left;
  width: 100%;
}

.week-tab:hover {
  background: var(--bg-card);
  color: var(--tab-color, var(--accent));
}

.week-tab--active {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: inset 0 2px 0 var(--tab-color, var(--accent));
}

.week-tab-num {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.5;
}

.week-tab-title {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   Intentions list — all 7 days
   -------------------------------------------------------------------------- */

.intention-list {
  list-style: none;
  max-width: 640px;
}

.intention-item {
  display: flex;
  align-items: baseline;
  gap: 1.8rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}

.intention-item:first-child {
  border-top: 1px solid var(--border);
}

.intention-day {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.45;
  min-width: 5rem;
  flex-shrink: 0;
}

.intention-text {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   20. CALENDAR / YEAR WHEEL
   -------------------------------------------------------------------------- */

.calendar-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8rem 2rem 5rem;
}

.calendar-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
  opacity: 0;
  animation: fade-rise 1.5s ease 0.3s forwards;
}

.calendar-subtitle {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 4rem;
  text-align: center;
  opacity: 0;
  animation: fade-rise 1.5s ease 0.6s forwards;
}

.calendar-wheel {
  width: 100%;
  max-width: 680px;
  margin: 0 auto 4rem;
  opacity: 0;
  animation: fade-rise 1.5s ease 0.9s forwards;
}

.calendar-wheel svg {
  width: 100%;
  height: auto;
}

.calendar-arc {
  fill: transparent;
  stroke-width: 40;
  cursor: none;
  transition: stroke-opacity 0.3s ease;
  stroke-opacity: 0.35;
}

.calendar-arc:hover {
  stroke-opacity: 0.7;
}

.calendar-arc--active {
  stroke-opacity: 0.8;
  animation: breathe-stroke 4s ease-in-out infinite;
}

@keyframes breathe-stroke {
  0%, 100% { stroke-opacity: 0.6; }
  50%      { stroke-opacity: 1; }
}

.calendar-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 7px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  fill: var(--text-muted);
  text-anchor: middle;
  pointer-events: none;
  transition: fill 0.3s ease;
}

.calendar-label--active {
  fill: var(--text-primary);
}

.calendar-center-month {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  fill: var(--text-muted);
  text-anchor: middle;
}

.calendar-center-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--text-primary);
  text-anchor: middle;
}

.calendar-sabbat {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 6.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: rgba(170, 205, 235, 0.45);
  text-anchor: middle;
  dominant-baseline: middle;
}

.calendar-sabbat--major {
  font-size: 7.5px;
  font-weight: 500;
  fill: rgba(170, 205, 235, 0.85);
  letter-spacing: 0.15em;
}


/* --------------------------------------------------------------------------
   21. REDUCED MOTION
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .hero-symbol svg {
    animation: none;
    opacity: 1;
  }

  .hero-blob,
  .ambient-blob {
    animation: none !important;
    opacity: 0.3;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Global Nav — Hamburger + Full-page overlay
   ========================================================================== */

/* Trigger button */
.nav-trigger {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: rgba(8, 12, 22, 0.75);
  border: none;
  border-radius: 6px;
  padding: 0.5rem 0.65rem 0.45rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-trigger:focus-visible {
  outline: 2px solid var(--text-primary, #dce6f5);
  outline-offset: 4px;
}

.nav-trigger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary, #dce6f5);
  transition: opacity 0.3s ease;
}

.nav-trigger-label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-primary, #dce6f5);
  margin-top: 2px;
}

.nav-open .nav-trigger {
  opacity: 0;
  pointer-events: none;
}

/* Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1900;
  background: var(--bg-ink, #080c16);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-overlay--open {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem 2rem 1.5rem;
  overflow-y: auto;
  align-items: center;
}

.nav-overlay-inner .nav-header,
.nav-overlay-inner .nav-columns,
.nav-overlay-inner .nav-footer {
  width: 100%;
  max-width: 1100px;
}

/* Header row */
.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  flex-shrink: 0;
}

.nav-wordmark {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted, #8ca0be);
  text-decoration: none;
}

.nav-close {
  background: none;
  border: none;
  color: var(--text-muted, #8ca0be);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s ease;
}

.nav-close:hover {
  color: var(--text-primary, #dce6f5);
}

/* Columns */
.nav-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 0fr;
  gap: 3rem;
  flex: 1;
  align-content: start;
  transition: grid-template-columns 0.35s ease;
}

/* When archetypes panel is open, give it space */
.nav-columns:has(.nav-col--archetypes-open) {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 750px) {
  .nav-columns {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 500px) {
  .nav-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.nav-col-label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary, #dce6f5);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.nav-link {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  color: var(--text-muted, #8ca0be);
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

.nav-link:hover {
  color: var(--text-primary, #dce6f5);
}

.nav-link--current {
  color: var(--accent, #aacdeb);
}

.nav-link--sub {
  padding-left: 0.75rem;
  font-size: clamp(0.7rem, 1.2vw, 0.88rem);
  opacity: 0.7;
}
.nav-link--sub:hover { opacity: 1; }

/* Archetypes toggle button — inherits nav-link--sub appearance */
.nav-archetypes-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(0.7rem, 1.2vw, 0.88rem);
  color: var(--text-muted, #8ca0be);
  opacity: 0.7;
  transition: color 0.2s, opacity 0.2s;
  text-align: left;
  padding-left: 0.75rem;
}

.nav-archetypes-toggle:hover,
.nav-archetypes-toggle--open {
  color: var(--text-primary, #dce6f5);
  opacity: 1;
}

.nav-toggle-arrow {
  font-style: normal;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted, #8ca0be);
  transition: transform 0.3s ease, color 0.2s;
  display: inline-block;
}

.nav-archetypes-toggle--open .nav-toggle-arrow {
  color: var(--accent, #aacdeb);
}

/* Archetypes panel — hidden by default, slides in */
.nav-col--archetypes {
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-col--archetypes-open {
  opacity: 1;
  pointer-events: all;
}

/* On small screens, archetypes drop below instead */
@media (max-width: 750px) {
  .nav-col--archetypes {
    grid-column: 1 / -1;
    display: none;
  }
  .nav-col--archetypes-open {
    display: block;
  }
}

/* How-style number boxes inside nav sub-items */
.nav-how-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: 0;
  margin-top: 0.35rem;
}

.nav-how-box {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  align-items: center;
  gap: 0;
  padding: 0.5rem 0.75rem 0.5rem 0;
  border: 1px solid rgba(220, 230, 245, 0.07);
  background: rgba(220, 230, 245, 0.02);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background 0.3s ease, border-color 0.3s ease;
  font-family: inherit;
}

.nav-how-box:hover {
  background: rgba(220, 230, 245, 0.04);
  border-color: rgba(220, 230, 245, 0.14);
}

.nav-how-box-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary, #dce6f5);
  line-height: 1;
  padding-left: 0.6rem;
}

.nav-how-box-label {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(0.75rem, 1.2vw, 0.88rem);
  color: var(--text-muted, #8ca0be);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-how-box:hover .nav-how-box-label {
  color: var(--text-primary, #dce6f5);
}

.nav-how-box-arrow {
  font-style: normal;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted, #8ca0be);
  margin-left: 0.5rem;
  transition: color 0.2s, transform 0.3s;
}
.nav-how-box:hover .nav-how-box-arrow { color: var(--text-primary, #dce6f5); }
.nav-how-box--open .nav-how-box-arrow { color: var(--accent, #aacdeb); }

/* Footer */
.nav-footer {
  padding-top: 1rem;
  margin-top: auto;
  border-top: 1px solid var(--border, rgba(170,205,235,0.12));
  flex-shrink: 0;
}

.nav-footer-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted, #8ca0be);
  text-decoration: none;
  opacity: 0.5;
}


/* --------------------------------------------------------------------------
   19. PORTAL
   -------------------------------------------------------------------------- */

:root {
  --portal-accent: var(--accent);
}

/* Emotion selection */

.portal-entry {
  text-align: center;
  padding: 4rem 1.5rem 2rem;
}

.portal-question {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

.emotion-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.emotion-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.emotion-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Portal room */

.portal-room {
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  text-align: center;
}

.portal-archetype-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--portal-accent);
  margin-bottom: 0.25rem;
}

.portal-archetype-energy {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.portal-letter {
  margin-bottom: 2.5rem;
  text-align: left;
}

.portal-letter-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.portal-letter-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.portal-letter-body p:last-child {
  margin-bottom: 0;
}

/* Today's intention */

.portal-intention {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  margin-bottom: 2.5rem;
}

.portal-intention-text {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Ritual track */

.ritual-track {
  margin-bottom: 2.5rem;
}

.ritual-marks {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.ritual-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  display: inline-block;
  transition: background 0.3s, border-color 0.3s;
}

.ritual-dot--filled {
  background: var(--portal-accent);
  border-color: var(--portal-accent);
}

.ritual-key {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--portal-accent);
  margin-bottom: 1rem;
}

.btn-mark {
  background: none;
  border: 1px solid var(--portal-accent);
  color: var(--portal-accent);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-mark:hover:not(:disabled) {
  background: var(--portal-accent);
  color: var(--bg-ink);
}

.btn-mark:disabled {
  opacity: 0.4;
  cursor: default;
}

.portal-close {
  display: block;
  margin: 0 auto;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  opacity: 0.5;
}

.portal-close:hover {
  opacity: 1;
}
