/* Fonts are hosted on this site (no third-party requests). Licensed under the SIL Open Font License. */
@font-face { font-family: 'Italiana'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/italiana-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/cormorant-garamond-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/cormorant-garamond-latin-ext-400-italic.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/eb-garamond-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/eb-garamond-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/eb-garamond-latin-400-italic.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/eb-garamond-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/eb-garamond-latin-ext-400-italic.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* Wild Wandering · static site
   Layout: a candlelit temple — deep teal ground, cream type, arched doorways for portals,
   gold hairline ornaments between chambers. Single dark look by design. */
:root {
  --ground: #0E2629;      /* teal-deep */
  --chamber: #133236;     /* raised surface */
  --chamber-2: #183c41;
  --cream: #F1E6D2;
  --paper: #E4D5BB; /* softened parchment for cards, letters and writing surfaces */
  --cream-soft: rgba(241, 230, 210, .78);
  --cream-faint: rgba(241, 230, 210, .62);
  --gold: #B8946A;
  --coral: #D89B8C;
  --ember: #D08465;
  --heather: #9B8FA8;
  --brick: #7A3020;
  --line: rgba(184, 148, 106, .32);

  --display: "Italiana", "Didot", "Bodoni 72", Georgia, serif;
  --italic: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --body: "EB Garamond", Garamond, "Times New Roman", Georgia, serif;

  --step--1: .875rem;
  --step-0: 1.125rem;
  --step-1: 1.35rem;
  --step-2: 1.75rem;
  --step-3: clamp(2.1rem, 5vw, 2.9rem);
  --step-4: clamp(2.8rem, 9vw, 5.2rem);

  --measure: 36rem;
  --wide: 70rem;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--ground); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--cream);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--coral); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 2px; }
strong, b { color: var(--coral); font-weight: 500; }
em, i { font-family: var(--italic); font-style: italic; font-size: 1.08em; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; margin: 0; line-height: 1.12; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.measure { max-width: var(--measure); margin-left: auto; margin-right: auto; }
.stack { display: flex; flex-direction: column; gap: 1.1rem; }
.center { text-align: center; }

/* ——— Header ——— */
.site-header { border-bottom: 1px solid var(--line); background: rgba(14, 38, 41, .94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.site-header .wrap {
  display: flex; flex-direction: column; align-items: center;
  gap: .8rem; padding-block: 1.2rem 1rem;
}
.brand {
  font-family: var(--display); font-size: 1.6rem; letter-spacing: .04em;
  color: var(--cream); text-decoration: none;
}
.brand span { color: var(--coral); }
.nav-links { display: flex; flex-wrap: nowrap; justify-content: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { white-space: nowrap; }
.nav-links a {
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cream); text-decoration: none;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--coral); }
.menu { display: none; }
@media (max-width: 1080px) {
  .site-header .wrap { flex-direction: row; justify-content: space-between; padding-block: 1rem; }
  .nav-desktop { display: none; }
  .menu { display: block; position: relative; }
  .menu summary {
    list-style: none; cursor: pointer; font-size: .78rem; letter-spacing: .22em;
    text-transform: uppercase; color: var(--cream); padding: .4rem 0;
  }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] summary { color: var(--coral); }
  .menu .nav-links {
    position: absolute; right: 0; top: 2.4rem; z-index: 20; flex-direction: column;
    gap: .9rem; min-width: 13rem; padding: 1.3rem 1.4rem;
    background: var(--ground); border: 1px solid var(--gold); border-radius: 4px; box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  }
}

/* ——— Ornaments & labels ——— */
.ornament {
  display: flex; align-items: center; gap: 1rem; justify-content: center;
  color: var(--coral); font-size: .8rem; letter-spacing: .5em; padding-block: .5rem;
}
.ornament::before, .ornament::after {
  content: ""; height: 1px; flex: 1; max-width: 9rem;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.eyebrow {
  font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold);
}
.sub { font-family: var(--italic); font-style: italic; color: var(--ember); font-size: var(--step-1); }
.muted { color: var(--cream-soft); }

/* ——— Sections ——— */
.chamber { padding-block: clamp(3.5rem, 8vw, 6rem); }
.chamber + .chamber { border-top: 1px solid var(--line); }
.chamber-head { display: flex; flex-direction: column; gap: .7rem; text-align: center; margin-bottom: 2.6rem; }
.chamber-head h2 { font-family: var(--display); font-size: var(--step-3); }
.chamber-head h2 em { display: block; font-size: .62em; color: var(--ember); margin-top: .3rem; }
.chamber-head p { max-width: 34rem; margin: 0 auto; color: var(--cream-soft); }

/* ——— Hero ——— */
.hero { padding-block: clamp(3.5rem, 10vw, 7rem) clamp(3rem, 8vw, 5rem); text-align: center; }
.hero .stack { align-items: center; gap: 1.4rem; }
.hero h1 { font-family: var(--display); font-size: var(--step-4); letter-spacing: .03em; }
.hero h1 em { display: block; font-size: .4em; color: var(--coral); margin-top: .6rem; letter-spacing: 0; }
.hero p.lede { max-width: 32rem; color: var(--cream-soft); font-size: var(--step-1); line-height: 1.55; }
.page-hero h1 { font-size: var(--step-3); }

.button {
  display: inline-block; padding: .85rem 1.7rem; border: 1px solid var(--coral);
  border-radius: 999px; color: var(--cream); text-decoration: none;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  background: transparent; font-family: var(--body); cursor: pointer;
  transition: background .25s, color .25s;
}
.button:hover { background: var(--coral); color: var(--ground); }
.button.solid { background: var(--coral); color: var(--ground); }
.button.solid:hover { background: var(--ember); border-color: var(--ember); color: var(--ground); }

/* ——— Invitation with drop cap ——— */
.invitation p { font-size: var(--step-1); line-height: 1.6; }
.dropcap::first-letter {
  font-family: var(--display); float: left; font-size: 78px; line-height: .8;
  color: var(--coral); padding: .45rem .7rem 0 0;
}
.signoff { font-family: var(--italic); font-style: italic; color: var(--gold); margin-top: 1.4rem; }

/* ——— Portals (arched doorways) ——— */
.portals {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
}
.portal {
  position: relative; display: flex; flex-direction: column; gap: .8rem;
  padding: 3.4rem 1.6rem 1.8rem; min-width: 0;
  background: var(--chamber); border: 1px solid var(--line);
  border-radius: 10rem 10rem 4px 4px;
  color: var(--cream); text-decoration: none; text-align: center;
  transition: border-color .3s, transform .3s;
}
a.portal:hover { border-color: var(--coral); transform: translateY(-3px); color: var(--cream); }
.portal .numeral { font-family: var(--display); font-size: 2rem; color: var(--gold); line-height: 1; }
.portal h3 { font-family: var(--display); font-size: 1.85rem; }
.portal h3 em { display: block; font-size: .62em; color: var(--ember); margin-top: .25rem; }
.portal p { color: var(--cream-soft); font-size: 1rem; }
.portal .go { margin-top: auto; padding-top: .6rem; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--coral); }
.portal .soon { margin-top: auto; padding-top: .6rem; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cream-faint); }

/* ——— Keeper ——— */
.keeper { display: grid; gap: 2.6rem; align-items: center; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); }
@media (max-width: 720px) { .keeper { grid-template-columns: minmax(0, 1fr); justify-items: center; } }
.keeper-arch {
  width: 100%; max-width: 15rem; aspect-ratio: 3 / 4;
  border-radius: 10rem 10rem 4px 4px; border: 1px solid var(--gold);
  background: radial-gradient(circle at 50% 35%, var(--chamber-2), var(--ground) 75%);
  display: grid; place-items: center;
}
.keeper-arch span { font-family: var(--display); font-size: 5rem; color: var(--coral); }
.keeper-text { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.keeper-text h2 { font-family: var(--display); font-size: var(--step-3); }
.keeper-text h2 em { display: block; font-size: .5em; color: var(--ember); margin-top: .4rem; }

/* ——— Newsletter ——— */
.letters-box {
  max-width: 40rem; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; gap: 1.1rem; align-items: center;
  padding: clamp(2rem, 6vw, 3rem) clamp(1.2rem, 5vw, 3rem);
  border: 1px solid var(--line); border-radius: 4px; background: var(--chamber);
}
.letters-box h2, .letters-box h3 { font-family: var(--display); font-size: var(--step-2); }
.letters-box h2 em, .letters-box h3 em { color: var(--coral); }
.signup { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; width: 100%; }
.signup input[type="email"] {
  flex: 1 1 15rem; min-width: 0; padding: .8rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--ground); color: var(--cream);
  font-family: var(--body); font-size: 1rem;
}
.signup input::placeholder { color: var(--cream-faint); }
.form-note { font-size: .95rem; color: var(--gold); min-height: 1.4em; }
.hidden-field { position: absolute; left: -9999px; }

/* ——— Prose pages ——— */
.prose { display: flex; flex-direction: column; gap: 1.2rem; }
.prose p { color: var(--cream-soft); }
.pull {
  font-family: var(--italic); font-style: italic; font-size: var(--step-2); line-height: 1.35;
  color: var(--cream); text-align: center; padding-block: 1.4rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}

/* ——— Element cards (suits, currents) ——— */
.elements { display: grid; gap: 1.4rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .elements { grid-template-columns: minmax(0, 1fr); } }
.element {
  display: flex; flex-direction: column; gap: .9rem; min-width: 0;
  padding: 1.8rem 1.5rem; background: var(--chamber); border: 1px solid var(--line); border-radius: 4px;
}
.element h3 { font-family: var(--display); font-size: 2rem; }
.element h3 em { display: block; font-size: .55em; color: var(--ember); margin-top: .2rem; }
.element dl { margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.element dl div { display: flex; flex-direction: column; gap: .05rem; }
.element dt { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.element dd { margin: 0; font-size: 1rem; color: var(--cream-soft); }
.element .asks { padding-top: .9rem; border-top: 1px solid var(--line); font-size: 1rem; }

/* ——— Numbered sequences (pips, steps) ——— */
.sequence { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.sequence li { display: flex; gap: 1.1rem; min-width: 0; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.sequence .num { font-family: var(--display); font-size: 1.9rem; color: var(--gold); min-width: 2.6rem; line-height: 1.1; }
.sequence .body { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.sequence h3, .sequence h4 { font-family: var(--display); font-size: 1.45rem; }
.sequence h3 em, .sequence h4 em { font-size: .72em; color: var(--ember); margin-left: .35rem; }
.sequence p { color: var(--cream-soft); font-size: 1rem; }

/* ——— Court / faces ——— */
.faces { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.face { padding: 1.5rem; border: 1px solid var(--line); border-radius: 4px; display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.face h3 { font-family: var(--display); font-size: 1.7rem; }
.face h3 em { display: block; font-size: .6em; color: var(--ember); }
.face p { font-size: 1rem; color: var(--cream-soft); }
.face .arch { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: auto; }

.pair { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }

/* ——— Goddess pantheon ——— */
.current-group { display: flex; flex-direction: column; gap: 1.1rem; }
.current-group + .current-group { margin-top: 2.6rem; }
.current-group h3 { font-family: var(--display); font-size: var(--step-2); text-align: center; }
.current-group h3 em { display: block; font-size: .6em; color: var(--ember); }
.goddesses { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.goddesses > .goddess { flex: 1 1 14.5rem; max-width: calc((100% - 3rem) / 4); min-width: min(100%, 14.5rem); }
@media (max-width: 1100px) { .goddesses > .goddess { max-width: calc((100% - 2rem) / 3); } }
@media (max-width: 820px) { .goddesses > .goddess { max-width: calc((100% - 1rem) / 2); } }
@media (max-width: 520px) { .goddesses > .goddess { max-width: 100%; } }
.goddess {
  padding: 1.4rem 1.2rem; border: 1px solid var(--line); border-radius: 8rem 8rem 4px 4px;
  text-align: center; display: flex; flex-direction: column; gap: .3rem; min-width: 0; background: var(--chamber);
}
.goddess .glyph { color: var(--coral); font-size: 1.1rem; }
.goddess h4 { font-family: var(--display); font-size: 1.6rem; }
.goddess .epithet { font-family: var(--italic); font-style: italic; color: var(--ember); }
.goddess .culture { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-faint); }
.goddess .status { margin-top: .4rem; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* ——— Letters (journal) ——— */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2rem; }
.chip {
  padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--cream-soft); font-family: var(--body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
}
.chip[aria-pressed="true"] { border-color: var(--coral); color: var(--coral); }
.letters { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.letter {
  display: flex; flex-direction: column; gap: .7rem; min-width: 0; padding: 1.8rem 1.5rem;
  background: var(--chamber); border: 1px solid var(--line); border-radius: 4px;
}
.letter h3 { font-family: var(--display); font-size: 1.75rem; }
.letter h3 em { display: block; font-size: .6em; color: var(--ember); margin-top: .2rem; }
.letter p { color: var(--cream-soft); font-size: 1rem; }
.letter .meta { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-faint); }
.letter.waiting { background: transparent; border-style: dashed; }
.letter[hidden] { display: none !important; }

/* ——— Tools library ——— */
.shelf { display: flex; flex-direction: column; gap: 1rem; }
.shelf + .shelf { margin-top: 2.8rem; }
.shelf-head { display: flex; gap: 1rem; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: .8rem; }
.shelf-head .num { font-family: var(--display); color: var(--gold); font-size: 1.6rem; }
.shelf-head h3 { font-family: var(--display); font-size: var(--step-2); }
.shelf-head h3 em { font-size: .6em; color: var(--ember); margin-left: .4rem; }
.shelf > p { color: var(--cream-soft); }
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.items li { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 4px; min-width: 0; }
.items .name { font-family: var(--italic); font-size: 1.25rem; color: var(--cream); }
.items .what { font-size: .98rem; color: var(--cream-soft); }
.items .state { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: .2rem; }

.note-band { text-align: center; color: var(--cream-soft); font-family: var(--italic); font-style: italic; font-size: var(--step-1); }

/* ——— Footer ——— */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.6rem; text-align: center; }
.site-footer .wrap { display: flex; flex-direction: column; gap: .8rem; align-items: center; }
.site-footer p { color: var(--cream-faint); font-size: .9rem; }
.site-footer .closing { font-family: var(--italic); font-style: italic; color: var(--gold); font-size: 1.2rem; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ——— Daily practice page ——— */
.day-head { text-align: center; }
.day-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.2rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.day-meta span { white-space: nowrap; }
.practice { display: flex; flex-direction: column; gap: 0; max-width: 46rem; margin: 0 auto; }
.practice > section { padding-block: clamp(2.6rem, 6vw, 3.6rem); display: flex; flex-direction: column; gap: 1.1rem; }
.practice > section + section { border-top: 1px solid var(--line); }
.practice h2 { font-family: var(--display); font-size: var(--step-3); }
.practice h2 em { display: block; font-size: .55em; color: var(--ember); margin-top: .3rem; }
.practice p { color: var(--cream-soft); }
.practice .say {
  font-family: var(--italic); font-style: italic; font-size: var(--step-2); line-height: 1.35; color: var(--cream);
}
.deeper { border: 1px solid var(--line); border-radius: 4px; background: var(--chamber); }
.deeper summary {
  cursor: pointer; list-style: none; padding: .9rem 1.2rem; font-size: .76rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--coral); display: flex; justify-content: space-between; gap: 1rem;
}
.deeper summary::-webkit-details-marker { display: none; }
.deeper summary::after { content: "+"; color: var(--gold); }
.deeper[open] summary::after { content: "–"; }
.deeper > div { padding: 0 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .9rem; }
.deeper p { font-size: 1.02rem; }

.draws { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.draw { border: 1px solid var(--line); border-radius: 9rem 9rem 4px 4px; background: var(--chamber); padding: 2.6rem 1.4rem 1.4rem; text-align: center; display: flex; flex-direction: column; gap: .7rem; min-width: 0; }
.draw .kind { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.draw h3 { font-family: var(--display); font-size: 1.9rem; }
.draw h3 em { display: block; font-size: .58em; color: var(--ember); margin-top: .2rem; }
.draw details { text-align: left; }
.draw summary { cursor: pointer; list-style: none; text-align: center; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--coral); padding: .5rem; }
.draw summary::-webkit-details-marker { display: none; }
.draw details[open] summary { color: var(--cream-faint); }
.draw summary .when-open, .draw details[open] summary .when-shut { display: none; }
.draw details[open] summary .when-open { display: inline; }
.draw details > div { display: flex; flex-direction: column; gap: .8rem; padding-top: .6rem; }
.draw details p { font-size: 1rem; }
.draw .label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

.sky { display: grid; gap: .7rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 640px) { .sky { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sky div { border: 1px solid var(--line); border-radius: 4px; padding: .9rem .7rem; display: flex; flex-direction: column; gap: .25rem; min-width: 0; text-align: center; justify-content: center; }
.sky dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.sky dd { margin: 0; font-family: var(--italic); font-size: 1.15rem; line-height: 1.25; color: var(--cream); }
.sky { margin: 0; }

.lookup { border-left: 2px solid var(--coral); padding: .4rem 0 .4rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.lookup .label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--coral); }

.signs { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.signs li { display: flex; flex-direction: column; gap: .5rem; padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: 4px; min-width: 0; }
.signs .sign { font-family: var(--display); font-size: 1.3rem; color: var(--cream); }
.signs .sign span { color: var(--gold); margin-right: .4rem; }
.signs p { font-size: .98rem; }

blockquote.quote { margin: 0; font-family: var(--italic); font-style: italic; font-size: var(--step-2); line-height: 1.35; color: var(--cream); text-align: center; }
.quote-by { text-align: center; color: var(--gold); font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; }

.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.steps li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: .3rem 1rem; }
.steps .num { font-family: var(--display); font-size: 1.7rem; color: var(--gold); line-height: 1.2; grid-row: span 2; }
.steps .do { color: var(--cream); }
.steps .why { font-size: .98rem; color: var(--cream-faint); }

.doorways { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .6rem; color: var(--cream-soft); }
.doorways strong { color: var(--coral); }

.blessing { text-align: center; font-family: var(--italic); font-style: italic; font-size: var(--step-1); line-height: 1.6; color: var(--cream); }
.blessing .sig { display: block; margin-top: 1rem; font-style: normal; font-family: var(--body); font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.back { text-align: center; }

/* ——— Ritual written as a letter ——— */
.love-letter {
  background: var(--paper); color: var(--ground); border-radius: 3px;
  padding: clamp(1.8rem, 6vw, 3rem) clamp(1.3rem, 6vw, 3rem);
  display: flex; flex-direction: column; gap: 1.05rem;
  box-shadow: 0 1px 0 var(--gold), 0 18px 40px rgba(0, 0, 0, .35);
}
.love-letter p { color: var(--ground); font-size: 1.12rem; line-height: 1.7; }
.love-letter .salutation, .love-letter .valediction { font-family: var(--italic); font-style: italic; font-size: 1.35rem; color: var(--brick); }
.love-letter .valediction { text-align: right; }
.love-letter strong { color: var(--brick); }
.spell-key ol { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .8rem; color: var(--cream-soft); }
.spell-key li strong { color: var(--coral); font-weight: 500; }
.small-print { font-size: .92rem; color: var(--cream-faint) !important; }

/* ——— Slow letter pages ——— */
.letter-hero { text-align: center; }
.letter-hero .day-meta { margin-top: .4rem; }
.letter-body { max-width: 38rem; margin: 0 auto; padding-block: clamp(2.6rem, 6vw, 4rem); display: flex; flex-direction: column; gap: 1.25rem; }
.letter-body > p { color: var(--cream-soft); font-size: 1.16rem; line-height: 1.78; }
.letter-body > p.first { color: var(--cream); }
.letter-body h2 { font-family: var(--display); font-size: var(--step-2); margin-top: 1.6rem; }
.letter-body h2 em { display: block; font-size: .62em; color: var(--ember); margin-top: .25rem; }
.letter-body .pull { margin-block: .8rem; }
.letter-body .practice-box { border: 1px solid var(--line); border-radius: 4px; background: var(--chamber); padding: 1.5rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.letter-body .practice-box ol { margin: 0; padding-left: 1.3rem; display: flex; flex-direction: column; gap: .7rem; color: var(--cream-soft); }
.letter-body .practice-box li::marker { color: var(--gold); font-family: var(--display); }
.letter-body .prompts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .9rem; }
.letter-body .prompts li { font-family: var(--italic); font-style: italic; font-size: 1.3rem; color: var(--cream); padding-left: 1.4rem; position: relative; }
.letter-body .prompts li::before { content: "✦"; position: absolute; left: 0; top: .15rem; color: var(--coral); font-size: .8rem; font-style: normal; }
.letter-sign { text-align: right; font-family: var(--italic); font-style: italic; font-size: 1.3rem; color: var(--gold); }
.letter-nav { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); max-width: 46rem; margin: 0 auto; padding-bottom: 3rem; }
.letter-nav a { border: 1px solid var(--line); border-radius: 4px; padding: 1.1rem 1.2rem; text-decoration: none; color: var(--cream); display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.letter-nav a:hover { border-color: var(--coral); color: var(--cream); }
.letter-nav .dir { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.letter-nav .t { font-family: var(--display); font-size: 1.3rem; }
.letter-nav .next { text-align: right; }
a.letter { text-decoration: none; color: inherit; transition: border-color .3s; }
a.letter:hover { border-color: var(--coral); color: inherit; }

/* ——— Homepage goddess veil ——— */
.home-veil {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("images/goddess.jpg") center 22% / cover no-repeat;
  opacity: .45;
}
.home-veil::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 35%, transparent 45%, var(--ground) 100%);
}
.site-header, main, .site-footer { position: relative; z-index: 1; }

.hero h1, .hero .lede, .hero .eyebrow { text-shadow: 0 1px 14px rgba(14, 38, 41, .85); }

.site-header { z-index: 5; }

.keeper-arch { overflow: hidden; }
.keeper-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }

.keeper-title { font-family: var(--display); font-size: 1.85rem; line-height: 1.15; color: var(--cream); text-wrap: balance; }

.veil-letters { background-image: url("images/letter-reader.jpg"); background-position: 45% 25%; }
.veil-tarot { background-image: url("images/tarot-threads.jpg"); background-position: 50% 62%; }
.face { background: var(--chamber); }
.veil-daily { background-image: url("images/daily-angel.jpg"); background-position: 52% 22%; }
.practice { background: rgba(14, 38, 41, .8); border-radius: 4px; padding-inline: clamp(1rem, 4vw, 2.2rem); }
.veil-lineage { background-image: url("images/divine-feminine.jpg"); background-position: 50% 30%; }
.measure.prose { background: rgba(14, 38, 41, .78); border-radius: 4px; padding: clamp(1.4rem, 4vw, 2.4rem) clamp(1rem, 4vw, 2.2rem); }
.items li { background: var(--chamber); }

.recipe { border: 1px solid var(--line); border-radius: 4px; background: var(--chamber); padding: 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .7rem; }
.recipe .label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.ingredients { margin: 0; padding-left: 1.2rem; display: grid; gap: .35rem; color: var(--cream-soft); }
.ingredients li::marker { color: var(--coral); }

/* ——— Rolling day picker ——— */
.day-row { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; margin-top: .4rem; }
.day-row a {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: .05rem;
  min-width: 4.6rem; padding: .6rem .8rem .55rem; border: 1px solid var(--line); border-radius: 4px;
  background: rgba(14, 38, 41, .82); color: var(--cream-soft); text-decoration: none; text-shadow: none;
}
.day-row a:hover { border-color: var(--coral); color: var(--cream); }
.day-row .dow { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: #C09D74; }
.day-row .dnum { font-family: var(--display); font-size: 1.7rem; line-height: 1.05; color: var(--cream); }
.day-row .dmon { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.day-row a[aria-current="page"] { border-color: var(--coral); background: var(--chamber-2); }
.day-row a.is-yours::after {
  content: "your day"; position: absolute; left: 50%; bottom: -.62rem; transform: translateX(-50%);
  padding: .05rem .45rem; border-radius: 999px; background: var(--coral); color: var(--ground);
  font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.day-note { font-size: .82rem; color: var(--cream-faint); margin-top: .6rem; }

/* ——— Personal journal ——— */
.journal { max-width: 46rem; margin: 0 auto; padding-bottom: 3rem; display: flex; flex-direction: column; gap: 2.4rem; }
.journal-privacy { text-align: center; font-size: .98rem; color: var(--cream-soft); background: rgba(14, 38, 41, .82); border: 1px solid var(--line); border-radius: 4px; padding: 1rem 1.2rem; }
.journal-warning { text-align: center; font-size: .98rem; color: var(--ground); background: var(--coral); border-radius: 4px; padding: .9rem 1.2rem; }
.journal-desk, .journal-archive, .journal-keep { background: rgba(14, 38, 41, .84); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.2rem, 4vw, 2rem); display: flex; flex-direction: column; gap: 1.1rem; }
.journal-archive h2, .journal-keep h2 { font-family: var(--display); font-size: var(--step-2); }
.jr-datebar { display: flex; align-items: center; justify-content: center; gap: .8rem; }
.jr-step { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--cream); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.jr-step:hover { border-color: var(--coral); color: var(--coral); }
.jr-date { display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.jr-dow { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.jr-date input { font-family: var(--display); font-size: 1.5rem; color: var(--cream); background: transparent; border: none; border-bottom: 1px solid var(--line); text-align: center; padding: .1rem .3rem; color-scheme: dark; }
.jr-prompt { border-left: 2px solid var(--coral); padding: .3rem 0 .3rem 1.1rem; display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.jr-prompt .label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--coral); }
.jr-prompt-text { font-family: var(--italic); font-style: italic; font-size: 1.3rem; color: var(--cream); }
.jr-paper { background: var(--paper); border-radius: 3px; box-shadow: 0 1px 0 var(--gold), 0 14px 32px rgba(0, 0, 0, .35); padding: 1rem 1.2rem .6rem; }
.jr-paper textarea {
  width: 100%; min-height: 22rem; resize: vertical; border: none; outline: none; background: transparent;
  font-family: var(--body); font-size: 1.15rem; line-height: 1.9rem; color: var(--ground);
  background-image: linear-gradient(transparent calc(1.9rem - 1px), rgba(122, 48, 32, .16) 1px);
  background-size: 100% 1.9rem; background-attachment: local;
}
.jr-paper textarea::placeholder { color: rgba(14, 38, 41, .6); font-style: italic; }
.jr-paper textarea:focus-visible { outline: none; }
.jr-paper:focus-within { box-shadow: 0 0 0 2px var(--coral), 0 14px 32px rgba(0, 0, 0, .35); }
.jr-status { display: flex; justify-content: space-between; gap: 1rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brick); padding-top: .4rem; min-height: 1.6rem; }
.jr-actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.jr-month { font-family: var(--display); font-size: 1.3rem; color: var(--gold); margin-top: .6rem; }
#jr-list { display: flex; flex-direction: column; gap: .6rem; }
.jr-entry { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; text-align: left; width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 4px; background: var(--chamber); color: var(--cream-soft); font-family: var(--body); font-size: 1rem; cursor: pointer; }
.jr-entry:hover, .jr-entry.is-open { border-color: var(--coral); color: var(--cream); }
.jr-entry-date { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding-top: .2rem; }
.jr-entry-text { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) { .jr-entry { grid-template-columns: minmax(0, 1fr); gap: .3rem; } }
label.button { display: inline-block; }

.jr-starter { display: flex; flex-direction: column; gap: .5rem; align-items: center; text-align: center; padding: 1rem 1rem 1.1rem; border: 1px dashed var(--line); border-radius: 4px; }
.jr-starter .label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.jr-starter-text { font-family: var(--italic); font-style: italic; font-size: 1.3rem; color: var(--cream); }
.jr-starter-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.veil-journal { background-image: url("images/journal-writer.jpg"); background-position: 45% 30%; }

/* ——— Tarot card index & letters ——— */
.tarot-set-note { text-align: center; font-family: var(--italic); font-style: italic; font-size: 1.2rem; color: var(--cream-soft); margin: -1rem auto 1.8rem; max-width: 34rem; }
.tarot-grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); }
.tarot-tile {
  aspect-ratio: 2 / 3; max-width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  padding: 1rem .6rem; text-align: center; cursor: pointer; font-family: var(--body);
  background: var(--chamber); color: var(--cream); border: 1px solid var(--line);
  border-radius: 6rem 6rem 6px 6px; box-shadow: inset 0 0 0 4px var(--chamber), inset 0 0 0 5px var(--line);
  transition: border-color .25s, transform .25s;
}
.tarot-tile:hover { border-color: var(--coral); transform: translateY(-3px); }
.tt-num { font-family: var(--display); font-size: 1.7rem; color: var(--gold); line-height: 1; }
.tt-name { font-family: var(--display); font-size: 1.15rem; line-height: 1.15; }
.tt-title { font-family: var(--italic); font-style: italic; font-size: .95rem; color: var(--ember); line-height: 1.2; }

.tarot-letter { width: min(40rem, calc(100vw - 2rem)); max-height: min(88vh, 60rem); padding: 0; border: 1px solid var(--gold); border-radius: 6px; background: var(--ground); color: var(--cream); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.tarot-letter::backdrop { background: rgba(7, 20, 22, .78); backdrop-filter: blur(3px); }
.tl-inner { position: relative; overflow-y: auto; max-height: min(88vh, 60rem); padding: clamp(1.6rem, 5vw, 2.6rem); display: flex; flex-direction: column; gap: 1rem; }
.tl-close { position: sticky; top: 0; align-self: flex-end; margin-bottom: -2.4rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--line); background: var(--ground); color: var(--cream); font-size: 1.4rem; line-height: 1; cursor: pointer; z-index: 2; }
.tl-close:hover { border-color: var(--coral); color: var(--coral); }
.tarot-letter h2 { font-family: var(--display); font-size: var(--step-3); padding-right: 2.6rem; }
.tl-title { font-family: var(--italic); font-style: italic; font-size: 1.35rem; color: var(--ember); margin-top: -.6rem; }
.tl-keys { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tl-keys li { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line); border-radius: 999px; padding: .25rem .7rem; }
.tl-image { font-family: var(--italic); font-style: italic; font-size: 1.15rem; color: var(--cream-soft); border-left: 2px solid var(--gold); padding-left: 1rem; }
.tl-message { font-size: 1.12rem; color: var(--cream); }
.tarot-letter .label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .3rem; }
.tl-pair { display: grid; gap: .8rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .tl-pair { grid-template-columns: minmax(0, 1fr); } }
.tl-pair > div, .tl-goddess { background: var(--chamber); border: 1px solid var(--line); border-radius: 4px; padding: .9rem 1rem; }
.tl-pair p:not(.label), .tl-goddess p:not(.label) { font-size: 1rem; color: var(--cream-soft); }
.tl-goddess strong { color: var(--coral); font-family: var(--display); font-size: 1.2rem; font-weight: 400; }
.tl-prompt { text-align: center; display: flex; flex-direction: column; gap: .6rem; align-items: center; padding-top: .6rem; border-top: 1px solid var(--line); }
.tl-prompt-text { font-family: var(--italic); font-style: italic; font-size: 1.35rem; color: var(--cream); }
.tl-nav { display: flex; justify-content: space-between; gap: .8rem; }

.tarot-letter { overflow: hidden; }
html:has(.tarot-letter[open]), body:has(.tarot-letter[open]) { overflow: hidden; }
.tl-inner { overscroll-behavior: contain; }

/* ——— Goddess letters ——— */
button.goddess { font: inherit; color: inherit; cursor: pointer; width: 100%; transition: border-color .25s, transform .25s; }
button.goddess:hover:not(:disabled) { border-color: var(--coral); transform: translateY(-3px); }
button.goddess:disabled { cursor: default; opacity: .75; }
button.goddess h4 { margin: 0; }
button.goddess .status { color: var(--coral); }
.gl-tagline { font-size: 1.05rem; color: var(--cream-soft); margin-top: -.4rem; }
.gl-block { display: flex; flex-direction: column; gap: .35rem; }
.gl-block p:not(.label) { font-size: 1.05rem; }
#gl-who { color: var(--cream-soft); }
.gl-symbols { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: .2rem; color: var(--cream-soft); font-size: 1rem; }
.gl-symbols li::marker { color: var(--coral); }
.gl-offering { margin-top: .5rem; font-size: .98rem; color: var(--cream-soft); }
.gl-offering .label { margin-right: .4rem; }
.gl-respect { font-size: .95rem; font-style: italic; font-family: var(--italic); color: var(--cream-faint); text-align: center; padding: 0 .5rem; }

.gl-love { display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.2rem, 4vw, 1.8rem); background: var(--chamber); border: 1px solid var(--line); border-radius: 4px; }
.gl-love-body { display: flex; flex-direction: column; gap: 1rem; }
.gl-love-body p { font-size: 1.12rem; line-height: 1.75; color: var(--cream); }
.gl-love-body p.gl-salute { font-family: var(--display); font-size: 2rem; line-height: 1.1; }
.gl-love-body em { color: var(--coral); }

/* ——— Love letter link & pages ——— */
.gl-love-link { display: flex; flex-direction: column; gap: .3rem; align-items: center; text-align: center; text-decoration: none; padding: 1.1rem 1rem; border: 1px solid var(--coral); border-radius: 4px; background: var(--chamber); color: var(--cream); }
.gl-love-link:hover { background: var(--chamber-2); color: var(--cream); }
.gl-love-cta { font-family: var(--italic); font-style: italic; font-size: 1.3rem; color: var(--coral); }
.love-page { max-width: 38rem; margin: 0 auto 2rem; padding: clamp(1.6rem, 6vw, 3rem) clamp(1.2rem, 6vw, 3rem); background: rgba(14, 38, 41, .86); border: 1px solid var(--line); border-radius: 4px; display: flex; flex-direction: column; gap: 1.2rem; }
.love-page p { font-size: 1.16rem; line-height: 1.8; color: var(--cream); }
.love-page p.ll-salute { font-family: var(--display); font-size: 2.4rem; line-height: 1.1; }
.love-page em { color: var(--coral); }
.ll-back { margin-bottom: 2.4rem; }

/* ——— Wheel of the Year ——— */
.items li.is-open { padding: 0; border-color: var(--coral); }
.items li.is-open a { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.1rem; text-decoration: none; color: inherit; }
.items li.is-open .state { color: var(--coral); }
.wheel-wrap { display: grid; gap: 2rem; align-items: center; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
@media (max-width: 760px) { .wheel-wrap { grid-template-columns: minmax(0, 1fr); } }
.wheel-figure { margin: 0; }
.wheel { width: 100%; max-width: 30rem; display: block; margin: 0 auto; overflow: visible; }
.w-ring-outer { fill: rgba(14, 38, 41, .82); stroke: var(--line); stroke-width: 1; }
.w-ring { fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: .8; }
.w-hub { fill: var(--ground); stroke: var(--line); }
.w-spoke { stroke: var(--line); stroke-width: 1; }
.w-dot { fill: var(--ground); stroke: var(--gold); stroke-width: 1.6; }
.w-dot.solar { fill: var(--gold); }
.wheel a:hover .w-dot { stroke: var(--coral); fill: var(--coral); }
.wheel a:hover .w-label { fill: var(--coral); }
.w-label { fill: var(--cream); font-family: var(--display); font-size: 15px; }
.w-hand { stroke: var(--coral); stroke-width: 1.6; stroke-dasharray: 3 4; }
.w-today { fill: var(--coral); stroke: var(--ground); stroke-width: 2; }
.w-hub-top { fill: var(--gold); font-family: var(--body); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; }
.w-hub-date { fill: var(--cream); font-family: var(--display); font-size: 15px; }
.wheel-now { display: flex; flex-direction: column; gap: .9rem; background: rgba(14, 38, 41, .84); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.2rem, 4vw, 1.8rem); }
.wheel-next { font-family: var(--display); font-size: var(--step-2); line-height: 1.2; }
.wheel-next a { color: var(--coral); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.hemi { justify-content: flex-start; margin: .4rem 0 0; }
.hemi-note { font-size: .95rem; color: var(--cream-faint); }
.sabbats { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .sabbats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sabbat { display: flex; flex-direction: column; gap: .35rem; align-items: center; text-align: center; padding: 2.4rem 1rem 1.3rem; text-decoration: none; color: var(--cream); background: var(--chamber); border: 1px solid var(--line); border-radius: 8rem 8rem 4px 4px; transition: border-color .25s, transform .25s; min-width: 0; }
.sabbat:hover { border-color: var(--coral); transform: translateY(-3px); color: var(--cream); }
.sabbat.solar { border-color: rgba(184, 148, 106, .55); }
.sabbat.is-next { border-color: var(--coral); box-shadow: 0 0 0 1px var(--coral); }
.sb-kind { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.sb-name { font-family: var(--display); font-size: 1.8rem; line-height: 1.1; }
.sb-theme { font-family: var(--italic); font-style: italic; color: var(--ember); font-size: 1.05rem; }
.sb-date { font-size: .85rem; color: var(--cream-faint); margin-top: .3rem; }
.sabbat-body .sb-quote { margin: .4rem 0; padding: 1rem 1.3rem; border-left: 2px solid var(--coral); background: var(--chamber); }
.sb-quote p { font-family: var(--italic); font-style: italic; font-size: 1.3rem; color: var(--cream); }
.sb-quote cite { display: block; margin-top: .4rem; font-style: normal; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.glance dl { margin: 0; display: grid; gap: .7rem 1.4rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .glance dl { grid-template-columns: minmax(0, 1fr); } }
.glance dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.glance dd { margin: 0; color: var(--cream-soft); font-size: 1rem; }
.sb-prompt { text-align: center; display: flex; flex-direction: column; gap: .6rem; align-items: center; padding-block: 1.4rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ——— Shadow work ——— */
.shadow { max-width: 46rem; margin: 0 auto; padding-bottom: 2rem; display: flex; flex-direction: column; gap: 2.4rem; }
.sh-panel { background: rgba(14, 38, 41, .86); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.4rem, 5vw, 2.4rem); display: flex; flex-direction: column; gap: 1.1rem; }
.sh-panel h2 { font-family: var(--display); font-size: var(--step-3); }
.sh-panel h2 em { color: var(--ember); }
.sh-panel > p { color: var(--cream-soft); font-size: 1.1rem; }
.sh-care { border: 1px solid var(--coral); border-radius: 4px; padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.sh-care .label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--coral); }
.sh-care p:not(.label) { font-size: 1rem; color: var(--cream-soft); }
.sh-notice { background: rgba(14, 38, 41, .9); padding: 1.3rem 1.5rem; gap: .7rem; }
.sh-notice a { color: var(--coral); }
.sh-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.4rem; }
.sh-prompt { background: rgba(14, 38, 41, .9); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.2rem, 4vw, 1.8rem); display: flex; flex-direction: column; gap: .8rem; }
.sh-num { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.sh-prompt h3 { font-family: var(--display); font-size: var(--step-2); line-height: 1.2; }
.sh-prompt h3 em { color: var(--coral); }
.sh-note { color: var(--cream-soft); font-size: 1.02rem; }
.sh-softer { font-size: 1rem; color: var(--cream-soft); border-left: 2px solid var(--gold); padding-left: 1rem; }
.sh-softer .label { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem; }
.sh-prompt textarea {
  width: 100%; min-height: 9rem; resize: vertical; border: none; border-radius: 3px; padding: .8rem 1rem;
  background: var(--paper) linear-gradient(transparent calc(1.8rem - 1px), rgba(122, 48, 32, .14) 1px) 0 .8rem / 100% 1.8rem local;
  color: var(--ground); font-family: var(--body); font-size: 1.08rem; line-height: 1.8rem;
}
.sh-prompt textarea:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.sh-prompt textarea::placeholder { color: rgba(14, 38, 41, .6); font-style: italic; }
.sh-actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 1.6rem; }
.sh-private { text-align: center; font-size: .95rem; color: var(--cream-faint); margin-top: .6rem; }

/* ——— Seasonal almanac ——— */
.months { margin-bottom: .8rem; }
.months .chip { min-width: 3.6rem; }
.months .chip.is-now { border-style: dashed; }
.alm-hemi { text-align: center; font-size: .9rem; color: var(--cream-faint); margin-bottom: 2rem; }
.alm-panel { max-width: 50rem; margin: 0 auto; background: rgba(14, 38, 41, .88); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.4rem, 5vw, 2.6rem); display: flex; flex-direction: column; gap: 2rem; }
.alm-head { text-align: center; display: flex; flex-direction: column; gap: .8rem; }
.alm-head h2 { font-family: var(--display); font-size: var(--step-4); }
.alm-head h2 em { display: block; font-size: .36em; color: var(--ember); margin-top: .4rem; }
.alm-head p { font-family: var(--italic); font-style: italic; font-size: 1.3rem; color: var(--cream-soft); max-width: 36rem; margin: 0 auto; }
.alm-panel .label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.alm-panel > section > .eyebrow { margin-bottom: .9rem; text-align: center; }
.alm-moon { text-align: center; display: flex; flex-direction: column; gap: .4rem; align-items: center; padding: 1.6rem 1.2rem; border: 1px solid var(--gold); border-radius: 10rem 10rem 4px 4px; background: radial-gradient(circle at 50% 0%, rgba(241, 230, 210, .08), transparent 60%); }
.alm-moon h3 { font-family: var(--display); font-size: var(--step-3); }
.alm-also { font-family: var(--italic); font-style: italic; color: var(--ember); }
.alm-moon p:last-child { max-width: 32rem; color: var(--cream-soft); }
.alm-sabbat { display: flex; flex-direction: column; align-items: center; gap: .2rem; text-decoration: none; padding: .9rem; border: 1px solid var(--coral); border-radius: 4px; }
.alm-sabbat-name { font-family: var(--display); font-size: 1.5rem; color: var(--coral); }
.alm-plants { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .alm-plants { grid-template-columns: minmax(0, 1fr); } }
.alm-plant { padding: 1.1rem; border: 1px solid var(--line); border-radius: 4px; background: var(--chamber); display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.alm-plant h4 { font-family: var(--display); font-size: 1.4rem; font-weight: 400; margin: 0; }
.alm-plant p { font-size: .98rem; color: var(--cream-soft); }
.alm-sayings { display: flex; flex-direction: column; gap: 1rem; }
.alm-saying { margin: 0; border-left: 2px solid var(--coral); padding: .3rem 0 .3rem 1.1rem; }
.alm-saying blockquote { margin: 0; font-family: var(--italic); font-style: italic; font-size: 1.35rem; color: var(--cream); }
.alm-saying figcaption { margin-top: .3rem; font-size: .98rem; color: var(--cream-soft); }
.alm-kitchen { background: var(--paper); color: var(--ground); border-radius: 3px; padding: clamp(1.3rem, 4vw, 2rem); display: flex; flex-direction: column; gap: .8rem; box-shadow: 0 1px 0 var(--gold), 0 14px 32px rgba(0, 0, 0, .35); }
.alm-kitchen .label { color: var(--brick); }
.alm-kitchen h3 { font-family: var(--display); font-size: var(--step-2); color: var(--ground); }
.alm-kitchen p { color: var(--ground); }
.alm-kitchen em { color: var(--brick); }
.alm-recipe { display: grid; gap: 1.4rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
@media (max-width: 640px) { .alm-recipe { grid-template-columns: minmax(0, 1fr); } }
.alm-recipe ul, .alm-recipe ol { margin: .4rem 0 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .35rem; font-size: 1rem; }
.alm-recipe li::marker { color: var(--brick); }
.alm-intent { font-family: var(--italic); font-style: italic; font-size: 1.25rem; text-align: center; border-top: 1px solid rgba(122, 48, 32, .25); padding-top: .8rem; }
.alm-pair { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .alm-pair { grid-template-columns: minmax(0, 1fr); } }
.alm-pair section { padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 4px; background: var(--chamber); display: flex; flex-direction: column; gap: .4rem; }
.alm-pair p:not(.label) { color: var(--cream-soft); font-size: 1rem; }
.alm-nav { display: flex; justify-content: space-between; gap: .8rem; }
.alm-head h2:focus { outline: none; }

/* ——— Reading & listening ——— */
.shelf-nav { margin-bottom: .6rem; }
.shelf-nav .chip { text-decoration: none; }
.shelf-divider { margin: 3rem 0 1.6rem; }
.shelf-divider h2 em { color: var(--ember); }
.shelf-block { max-width: 60rem; margin: 0 auto 2.4rem; scroll-margin-top: 1rem; }
.shelf-block .shelf-head { justify-content: center; border-bottom: 1px solid var(--line); padding-bottom: .8rem; margin-bottom: 1.2rem; text-align: center; }
.shelf-block .shelf-head h3 { font-family: var(--display); font-size: var(--step-2); }
.shelf-block .shelf-head h3 em { display: block; font-size: .58em; color: var(--ember); margin: .2rem 0 0; }
.books { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.book { display: grid; grid-template-columns: .5rem minmax(0, 1fr); background: rgba(19, 50, 54, .94); border: 1px solid var(--line); border-radius: 3px 6px 6px 3px; overflow: hidden; min-width: 0; }
.book .spine { background: linear-gradient(180deg, var(--coral), var(--ember)); }
.book.listen .spine { background: linear-gradient(180deg, var(--gold), var(--brick)); }
.book-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.book h4 { font-family: var(--display); font-size: 1.3rem; font-weight: 400; line-height: 1.15; margin: 0; }
.book .by { font-family: var(--italic); font-style: italic; color: var(--ember); font-size: 1rem; }
.book p:not(.by) { font-size: .97rem; color: var(--cream-soft); }

/* ——— New Moon Ritual ——— */
.nm-when { text-align: center; align-items: center; }
.nm-when .nm-date { font-size: var(--step-3); }
.nm-when .nm-date em { color: var(--ember); }
.nm-time { color: var(--cream); font-size: 1.15rem; }
.nm-count { font-family: var(--italic); font-style: italic; color: var(--coral); font-size: 1.2rem; min-height: 1.4em; }
.nm-ahead { list-style: none; margin: .2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.nm-ahead:not(:empty)::before { content: "then"; width: 100%; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.nm-ahead li { border: 1px solid var(--line); border-radius: 2rem; padding: .3rem .9rem; font-size: .92rem; color: var(--cream-soft); }
.nm-small { font-size: .9rem; color: var(--cream-faint); max-width: 32rem; }
.nm-gather { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .9rem; }
.nm-gather li { display: flex; flex-direction: column; gap: .15rem; padding-left: 1.4rem; position: relative; }
.nm-gather li::before { content: "☾"; position: absolute; left: 0; top: .1rem; color: var(--gold); }
.nm-gather .what { color: var(--cream); font-size: 1.1rem; }
.nm-gather .why { color: var(--cream-faint); font-size: .98rem; }
.nm-words { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.4rem 0; text-align: center; display: flex; flex-direction: column; gap: .8rem; }
.nm-words .label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.nm-spoken { font-family: var(--italic); font-style: italic; font-size: var(--step-1); line-height: 1.65; color: var(--cream); }
.nm-ways { display: grid; gap: 1.2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 620px) { .nm-ways { grid-template-columns: minmax(0, 1fr); } }
.nm-ways > div { border: 1px solid var(--line); border-radius: 4px; padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.nm-ways h3 { font-family: var(--display); font-size: 1.4rem; color: var(--coral); }
.nm-ways p { color: var(--cream-soft); font-size: 1rem; }
/* ——— Full Moon Release ——— */
.fm-letter { border-color: var(--gold); }
.fm-from { background: var(--paper); color: var(--ground); border-radius: 3px; padding: clamp(1.1rem, 4vw, 1.6rem); display: flex; flex-direction: column; gap: .35rem; }
.fm-from-label { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brick); margin-top: .5rem; }
.fm-from-label:first-child { margin-top: 0; }
.fm-from-text { font-family: var(--italic); font-style: italic; font-size: 1.15rem; line-height: 1.6; white-space: pre-wrap; color: var(--ground); }
/* ——— Daily Devotional Tracker ——— */
.dt-four { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 620px) { .dt-four { grid-template-columns: minmax(0, 1fr); } }
.dt-four > div { border: 1px solid var(--line); border-radius: 4px; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; }
.dt-four h3 { font-family: var(--display); font-size: 1.5rem; color: var(--coral); }
.dt-four p:not(.dt-glyph) { color: var(--cream-soft); font-size: 1rem; }
.dt-glyph { font-size: 1.4rem; color: var(--gold); line-height: 1; }
.dt-today { margin-bottom: 1.6rem; }
.dt-nav { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) 2.6rem; align-items: center; gap: .6rem; text-align: center; }
.dt-head h3 { font-family: var(--display); font-size: var(--step-2); }
.dt-arrow { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--cream); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.dt-arrow:hover:not(:disabled) { border-color: var(--coral); color: var(--coral); }
.dt-arrow:disabled { opacity: .3; cursor: default; }
.dt-checks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 520px) { .dt-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dt-check { display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: .9rem .4rem; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--cream-soft); font: inherit; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.dt-check .dt-glyph { font-size: 1.6rem; color: var(--cream-faint); transition: color .25s; }
.dt-check:hover { border-color: var(--coral); }
.dt-check[aria-pressed="true"] { background: rgba(184, 148, 106, .28); border-color: var(--gold); color: var(--cream); }
.dt-check[aria-pressed="true"] .dt-glyph { color: var(--gold); }
.dt-check:focus-visible, .dt-tile:focus-visible, .dt-arrow:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.dt-word { display: flex; flex-direction: column; gap: .4rem; }
.dt-word label, .dt-start label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.dt-word input, .dt-start input { font: inherit; font-family: var(--italic); font-style: italic; font-size: 1.3rem; background: var(--paper); color: var(--ground); border: 1px solid var(--line); border-radius: 3px; padding: .5rem .8rem; width: 100%; }
.dt-start input { font-family: var(--body); font-style: normal; font-size: 1rem; width: auto; }
.dt-word input::placeholder { color: rgba(14, 38, 41, .6); }
.dt-word input:focus-visible, .dt-start input:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.dt-borrow { font-size: .95rem; color: var(--cream-faint); }
.dt-borrow em { color: var(--coral); }
.dt-more { font-size: .95rem; color: var(--cream-faint); text-align: center; }
.dt-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .55rem; }
@media (max-width: 560px) { .dt-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem; } }
.dt-tile { width: 100%; aspect-ratio: 1 / 1.15; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; padding: .3rem; background: rgba(14, 38, 41, .88); border: 1px solid var(--line); border-radius: 4px; color: var(--cream); font: inherit; cursor: pointer; min-width: 0; }
.dt-tile:hover { border-color: var(--coral); }
.dt-moon { width: 58%; max-width: 2.6rem; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--gold); background: conic-gradient(var(--gold) var(--fill, 0%), transparent 0); }
.dt-n { font-family: var(--display); font-size: 1rem; line-height: 1; }
.dt-w { font-family: var(--italic); font-style: italic; font-size: .72rem; color: var(--coral); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-height: 1em; }
.dt-tile.is-ahead { opacity: .55; }
.dt-tile.is-today { border-color: var(--coral); }
.dt-tile.is-sel { box-shadow: 0 0 0 2px var(--cream) inset; }
.dt-summary { text-align: center; font-family: var(--italic); font-style: italic; color: var(--cream-soft); font-size: 1.15rem; margin-top: 1.2rem; }
.dt-start { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem; margin-top: 1.4rem; }
.dt-qs { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .5rem; color: var(--cream-soft); font-size: 1.05rem; }
#dt-sheet { display: none; }
@media print {
  html.dt-print body > *:not(#dt-sheet) { display: none !important; }
  html.dt-print, html.dt-print body { background: #fff !important; }
  html.dt-print #dt-sheet { display: block; width: 100%; color: #222; font-family: var(--body); }
  #dt-sheet .dt-sheet-brand { font-family: var(--display); font-size: 14pt; letter-spacing: .1em; text-align: center; color: #7A3020; }
  #dt-sheet h2 { font-family: var(--display); font-size: 20pt; text-align: center; margin: 2pt 0; }
  #dt-sheet .dt-sheet-sub, #dt-sheet .dt-sheet-foot { text-align: center; font-size: 9.5pt; font-style: italic; color: #555; margin: 2pt 0 8pt; }
  #dt-sheet table { width: 100%; border-collapse: collapse; font-size: 9.5pt; }
  #dt-sheet th { font-size: 7.5pt; letter-spacing: .15em; text-transform: uppercase; color: #7A3020; border-bottom: 1px solid #B8946A; padding: 3pt; text-align: left; }
  #dt-sheet td { border-bottom: 1px solid #ddd; padding: 2.4pt 3pt; line-height: 1.25; }
  @page { margin: 0.45in 0.55in; }
  #dt-sheet td.box { width: 12%; text-align: center; }
  #dt-sheet td.box::before { content: ""; display: inline-block; width: 9pt; height: 9pt; border: 1px solid #B8946A; vertical-align: middle; margin-right: 3pt; }
  #dt-sheet td.word { width: 30%; font-style: italic; }
  #dt-sheet td.word span { color: #bbb; }
}
/* ——— Moon Phase Tracker ——— */
:root { --mt-radiant: #D9B36C; --mt-calm: #8FAE9C; --mt-tender: #D89B8C; --mt-restless: #C97B5C; --mt-heavy: #6D7F99; }
.mt-now { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 1.8rem; align-items: center; }
@media (max-width: 620px) { .mt-now { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } }
.mt-moon { width: 100%; max-width: 12rem; aspect-ratio: 1; filter: drop-shadow(0 0 22px rgba(241, 230, 210, .18)); }
.mt-moon-sm { width: 3.6rem; max-width: 3.6rem; filter: none; flex: none; }
.mt-facts { display: flex; flex-direction: column; gap: .6rem; }
.mt-facts h2 { font-family: var(--display); font-size: var(--step-3); }
.mt-facts h2 em { color: var(--ember); }
.mt-keep { font-family: var(--italic); font-style: italic; color: var(--coral); font-size: 1.2rem; }
.mt-next { list-style: none; margin: .3rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; color: var(--cream-soft); }
.mt-next .lab { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-right: .4rem; text-decoration: none; }
.mt-next a.lab:hover { color: var(--coral); }
.mt-hemi { justify-content: center; }
.mt-eight { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
@media (max-width: 620px) { .mt-eight { grid-template-columns: minmax(0, 1fr); } }
.mt-eight li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: .9rem; align-items: start; border: 1px solid var(--line); border-radius: 4px; padding: .9rem 1rem; }
.mt-eight li.is-now { border-color: var(--coral); }
.mt-eight li.is-now h3::after { content: " · tonight"; font-family: var(--body); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--coral); }
.mt-glyph { width: 2.75rem; height: 2.75rem; display: block; }
.mt-eight h3 { font-family: var(--display); font-size: 1.35rem; }
.mt-eight p { color: var(--cream-soft); font-size: .98rem; }
.mt-day { margin-bottom: 1.4rem; }
.mt-day-head { display: flex; align-items: center; gap: 1rem; }
.mt-day-head h3 { font-family: var(--display); font-size: var(--step-2); }
.mt-moods { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; }
@media (max-width: 560px) { .mt-moods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mt-mood, .mt-mark { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .65rem .4rem; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--cream-soft); font: inherit; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.mt-mood .sw { width: .8rem; height: .8rem; border-radius: 50%; flex: none; }
.mt-mood[data-m="radiant"] .sw { background: var(--mt-radiant); } .mt-mood[data-m="calm"] .sw { background: var(--mt-calm); }
.mt-mood[data-m="tender"] .sw { background: var(--mt-tender); } .mt-mood[data-m="restless"] .sw { background: var(--mt-restless); }
.mt-mood[data-m="heavy"] .sw { background: var(--mt-heavy); }
.mt-mood:hover, .mt-mark:hover { border-color: var(--coral); }
.mt-mood[aria-pressed="true"], .mt-mark[aria-pressed="true"] { border-color: var(--gold); background: rgba(184, 148, 106, .26); color: var(--cream); }
.mt-marks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.mt-mood:focus-visible, .mt-mark:focus-visible, .mt-cell:focus-visible, .mt-scroll:focus-visible, .mt-select:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.mt-scroll { width: min(64rem, calc(100vw - 32px)); position: relative; left: 50%; transform: translateX(-50%); overflow-x: auto; background: rgba(14, 38, 41, .9); border: 1px solid var(--line); border-radius: 4px; padding: .8rem; }
.mt-grid { display: flex; flex-direction: column; gap: 3px; min-width: 58rem; }
.mt-row { display: grid; grid-template-columns: 6.4rem repeat(30, minmax(0, 1fr)); gap: 3px; align-items: center; }
.mt-lab { font-size: .72rem; color: var(--cream-faint); white-space: nowrap; position: sticky; left: -.8rem; z-index: 1; background: #0f2a2d; align-self: stretch; display: flex; align-items: center; padding-left: .2rem; margin-left: -.2rem; }
.mt-lab b { font-family: var(--display); font-weight: normal; color: var(--gold); font-size: .85rem; margin-right: .2rem; }
.mt-col { text-align: center; font-size: .62rem; color: var(--cream-faint); }
.mt-headrow .mt-col { color: var(--gold); }
.mt-cell { position: relative; aspect-ratio: 1; min-width: 0; padding: 0; border: 1px solid rgba(241, 230, 210, .14); border-radius: 3px; background: rgba(241, 230, 210, .04); color: var(--cream-faint); font: inherit; font-size: .6rem; cursor: pointer; display: grid; place-items: center; }
.mt-cell:hover:not(:disabled) { border-color: var(--coral); }
.mt-cell:disabled { opacity: .35; cursor: default; }
.mt-cell.m-radiant { background: var(--mt-radiant); } .mt-cell.m-calm { background: var(--mt-calm); } .mt-cell.m-tender { background: var(--mt-tender); }
.mt-cell.m-restless { background: var(--mt-restless); } .mt-cell.m-heavy { background: var(--mt-heavy); }
.mt-cell[class*="m-"] { color: var(--ground); }
.mt-cell.is-full { border: 2px solid var(--cream); border-radius: 50%; }
.mt-cell.is-today { box-shadow: 0 0 0 2px var(--coral); }
.mt-cell.is-sel { outline: 2px solid var(--cream); outline-offset: 1px; }
.mt-cell .dr, .mt-cell .ri { position: absolute; font-size: .5rem; line-height: 1; color: var(--cream); text-shadow: 0 0 2px var(--ground); }
.mt-cell .dr { top: 1px; left: 2px; } .mt-cell .ri { top: 1px; right: 2px; }
.mt-legend { list-style: none; margin: .9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.1rem; font-size: .85rem; color: var(--cream-faint); }
.mt-legend li { display: flex; align-items: center; gap: .35rem; }
.mt-legend .sw { width: .8rem; height: .8rem; border-radius: 2px; }
.mt-legend .ring { width: .8rem; height: .8rem; border-radius: 50%; border: 2px solid var(--cream); }
.mt-patterns { margin-top: 1.6rem; }
.mt-pat-title { font-family: var(--display); font-size: var(--step-2); }
.mt-pat-title em { color: var(--ember); }
.mt-patterns ul { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .4rem; color: var(--cream-soft); font-family: var(--italic); font-style: italic; font-size: 1.12rem; }
.mt-select { font: inherit; background: var(--paper); color: var(--ground); border: 1px solid var(--line); border-radius: 3px; padding: .45rem .7rem; max-width: 100%; }
#mt-sheet { display: none; }
@media print {
  html.mt-print body > *:not(#mt-sheet) { display: none !important; }
  html.mt-print, html.mt-print body { background: #fff !important; }
  html.mt-print #mt-sheet { display: block; page: moons; color: #222; font-family: var(--body); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  @page moons { size: letter landscape; margin: 0.4in; }
  #mt-sheet .mt-sheet-brand { font-family: var(--display); font-size: 12pt; letter-spacing: .1em; text-align: center; color: #7A3020; margin: 0; }
  #mt-sheet h2 { font-family: var(--display); font-size: 20pt; text-align: center; margin: 0 0 2pt; }
  #mt-sheet .mt-sheet-sub, #mt-sheet .mt-sheet-foot, #mt-sheet .mt-sheet-key { text-align: center; font-size: 8.5pt; font-style: italic; color: #555; margin: 2pt 0 6pt; }
  #mt-sheet table { width: 100%; border-collapse: separate; border-spacing: 2pt; table-layout: fixed; }
  #mt-sheet thead th { font-size: 7pt; color: #7A3020; font-weight: normal; }
  #mt-sheet thead th:first-child { width: 58pt; }
  #mt-sheet tbody th { width: 58pt; text-align: left; font-size: 8pt; font-weight: normal; white-space: nowrap; color: #7A3020; }
  #mt-sheet tbody th span { color: #777; font-size: 7pt; }
  #mt-sheet td { height: 24pt; border: 0.6pt solid #cdbfa8; border-radius: 2pt; font-size: 6.5pt; vertical-align: top; padding: 1pt 2pt; color: #666; }
  #mt-sheet td.empty { border-color: transparent; }
  #mt-sheet td.is-full { border: 1.4pt solid #B8946A; border-radius: 50%; text-align: center; }
  #mt-sheet td.m-radiant, #mt-sheet .sw.m-radiant { background: #D9B36C; } #mt-sheet td.m-calm, #mt-sheet .sw.m-calm { background: #8FAE9C; }
  #mt-sheet td.m-tender, #mt-sheet .sw.m-tender { background: #D89B8C; } #mt-sheet td.m-restless, #mt-sheet .sw.m-restless { background: #C97B5C; }
  #mt-sheet td.m-heavy, #mt-sheet .sw.m-heavy { background: #6D7F99; }
  #mt-sheet .sw { display: inline-block; width: 8pt; height: 8pt; border-radius: 2pt; vertical-align: middle; margin: 0 2pt 0 6pt; }
}
/* ——— Threshold Ritual ——— */
.th-move { font-family: var(--display); font-size: var(--step-2); margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.th-move:first-of-type { border-top: 0; padding-top: 0; margin-top: .4rem; }
.th-move em { display: block; font-size: .62em; color: var(--ember); margin-top: .2rem; }
/* ——— Sacred Journal Pages ——— */
.jp-epi { font-family: var(--italic); font-style: italic; color: var(--coral); font-size: 1.1rem; }
.jp-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 620px) { .jp-pair { grid-template-columns: minmax(0, 1fr); } }
.jp-half { border-left: 2px solid var(--gold); padding-left: 1rem; display: flex; flex-direction: column; gap: .3rem; }
.jp-when { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.jp-q { color: var(--cream); font-size: 1.12rem; line-height: 1.5; }
.jp-today .jp-q { font-family: var(--italic); font-size: 1.3rem; }
.jp-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 680px) { .jp-cards { grid-template-columns: minmax(0, 1fr); } }
.jp-card { background: rgba(14, 38, 41, .9); border: 1px solid var(--line); border-radius: 4px; padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .8rem; scroll-margin-top: 5rem; }
.jp-card.is-today { border-color: var(--coral); }
.jp-card.is-today .sh-num::after { content: " · today"; color: var(--coral); }
.jp-acts { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.jp-acts .chip { font-size: .62rem; }
.jp-card .form-note { font-size: .9rem; }
#jp-sheet { display: none; }
@media print {
  html.jp-print body > *:not(#jp-sheet) { display: none !important; }
  html.jp-print, html.jp-print body { background: #fff !important; }
  html.jp-print #jp-sheet { display: block; page: journal; color: #222; font-family: var(--body); }
  @page journal { size: letter portrait; margin: 0.6in 0.75in; }
  .jp-print-page { break-after: page; display: flex; flex-direction: column; height: 9.6in; }
  .jp-print-page:last-child { break-after: auto; }
  .jp-p-brand { text-align: center; font-size: 8pt; letter-spacing: .25em; text-transform: uppercase; color: #7A3020; margin: 0; }
  .jp-print-page h2 { font-family: var(--display); font-weight: normal; font-size: 24pt; text-align: center; margin: 6pt 0 2pt; }
  .jp-p-epi { text-align: center; font-style: italic; font-size: 11pt; color: #8a6a4a; margin: 0 0 10pt; }
  .jp-p-half { flex: 1; display: flex; flex-direction: column; }
  .jp-p-when { font-size: 8pt; letter-spacing: .2em; text-transform: uppercase; color: #7A3020; margin: 8pt 0 2pt; display: flex; justify-content: space-between; }
  .jp-p-when span { letter-spacing: .05em; text-transform: none; color: #999; }
  .jp-p-q { font-family: var(--italic); font-style: italic; font-size: 13pt; margin: 0 0 4pt; }
  .jp-line { flex: 1; max-height: 26pt; border-bottom: 0.6pt solid #cdbfa8; }
  .jp-p-foot { text-align: center; font-size: 7.5pt; color: #aaa; margin: 6pt 0 0; }
}
/* ——— Body & Mood Map ——— */
.cy-flow-only[hidden] { display: none !important; }
.cy-flow-toggle { justify-content: center; }
.cy-day { margin-bottom: 1.4rem; }
.cy-day-head h3 { font-family: var(--display); font-size: var(--step-2); }
.cy-block { display: flex; flex-direction: column; gap: .45rem; }
.cy-lab { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.cy-lab span { letter-spacing: .05em; text-transform: none; color: var(--cream-faint); }
.cy-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr)); gap: .5rem; }
.cy-opt { padding: .6rem .5rem; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--cream-soft); font: inherit; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.cy-opt:hover { border-color: var(--coral); }
.cy-opt[aria-pressed="true"] { border-color: var(--gold); background: rgba(184, 148, 106, .26); color: var(--cream); }
.cy-opt[data-f][aria-pressed="true"] { border-color: var(--coral); background: rgba(122, 48, 32, .55); }
.cy-opt:focus-visible, .cy-cell:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.cy-start { width: 100%; font-size: .8rem; }
.cy-cal-wrap { background: rgba(14, 38, 41, .9); border: 1px solid var(--line); border-radius: 4px; padding: clamp(.7rem, 3vw, 1.2rem); }
.cy-month-nav { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) 2.6rem; align-items: center; text-align: center; margin-bottom: .8rem; }
.cy-month-nav h3 { font-family: var(--display); font-size: var(--step-2); }
.cy-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cy-wd { text-align: center; font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); padding-bottom: .2rem; }
.cy-cell { position: relative; min-height: 4.4rem; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; padding: .3rem .35rem; border: 1px solid rgba(241, 230, 210, .14); border-radius: 4px; background: rgba(241, 230, 210, .03); color: var(--cream); font: inherit; text-align: left; cursor: pointer; }
@media (max-width: 520px) { .cy-cell { min-height: 3.6rem; padding: .2rem; } }
.cy-cell:hover:not(:disabled) { border-color: var(--coral); }
.cy-cell:disabled { opacity: .35; cursor: default; }
.cy-cell.is-today { border-color: var(--coral); }
.cy-cell.is-sel { box-shadow: 0 0 0 2px var(--cream) inset; }
.cy-cell.has-m { border-bottom-width: 4px; }
.cy-cell.m-radiant { border-bottom-color: var(--mt-radiant); } .cy-cell.m-calm { border-bottom-color: var(--mt-calm); }
.cy-cell.m-tender { border-bottom-color: var(--mt-tender); } .cy-cell.m-restless { border-bottom-color: var(--mt-restless); }
.cy-cell.m-heavy { border-bottom-color: var(--mt-heavy); }
.cy-n { font-family: var(--display); font-size: 1rem; line-height: 1; }
.cy-cd { position: absolute; top: .3rem; right: .35rem; font-size: .6rem; color: var(--gold); }
.cy-moon { position: absolute; bottom: .25rem; right: .35rem; font-size: .7rem; color: var(--cream-faint); }
.cy-marks { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; margin-top: auto; font-size: .7rem; line-height: 1; }
.cy-drop { display: inline-block; width: .6rem; height: .6rem; background: #B5422E; border-radius: 0 50% 50% 50%; transform: rotate(45deg); }
.cy-one { color: var(--cream); }
.cy-dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; }
.cy-dot.m-radiant { background: var(--mt-radiant); } .cy-dot.m-calm { background: var(--mt-calm); } .cy-dot.m-tender { background: var(--mt-tender); }
.cy-dot.m-restless { background: var(--mt-restless); } .cy-dot.m-heavy { background: var(--mt-heavy); }
.cy-bars { display: inline-flex; align-items: flex-end; gap: 1px; height: .65rem; }
.cy-bars i { display: block; width: 3px; background: rgba(241, 230, 210, .2); }
.cy-bars i:nth-child(1) { height: 40%; } .cy-bars i:nth-child(2) { height: 70%; } .cy-bars i:nth-child(3) { height: 100%; }
.cy-bars i.on { background: var(--gold); }
.cy-legend .cy-bars i { background: var(--gold); }
.cy-dr { color: var(--cream); }
#cy-sheet { display: none; }
@media print {
  html.cy-print body > *:not(#cy-sheet) { display: none !important; }
  html.cy-print, html.cy-print body { background: #fff !important; }
  html.cy-print #cy-sheet { display: block; page: cycle; color: #222; font-family: var(--body); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  @page cycle { size: letter portrait; margin: 0.5in; }
  .cy-p-brand { text-align: center; font-size: 8pt; letter-spacing: .25em; text-transform: uppercase; color: #7A3020; margin: 0; }
  #cy-sheet h2 { font-family: var(--display); font-weight: normal; font-size: 24pt; text-align: center; margin: 4pt 0 0; }
  .cy-p-sub { text-align: center; font-style: italic; font-size: 10pt; color: #8a6a4a; margin: 0 0 8pt; }
  .cy-p-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3pt; }
  .cy-p-wd { text-align: center; font-size: 7.5pt; letter-spacing: .15em; text-transform: uppercase; color: #7A3020; }
  .cy-p-cell { position: relative; height: 1.05in; border: 0.6pt solid #cdbfa8; border-radius: 3pt; padding: 3pt; display: flex; flex-direction: column; gap: 2pt; overflow: hidden; }
  .cy-p-cell.m-radiant { border-bottom: 4pt solid #D9B36C; } .cy-p-cell.m-calm { border-bottom: 4pt solid #8FAE9C; } .cy-p-cell.m-tender { border-bottom: 4pt solid #D89B8C; }
  .cy-p-cell.m-restless { border-bottom: 4pt solid #C97B5C; } .cy-p-cell.m-heavy { border-bottom: 4pt solid #6D7F99; }
  .cy-p-cell .cy-n { font-size: 11pt; color: #222; }
  .cy-p-cell .cy-cd { position: absolute; top: 3pt; right: 4pt; font-size: 6.5pt; color: #8a6a4a; }
  .cy-p-cell .cy-moon { position: absolute; bottom: 3pt; right: 4pt; font-size: 7pt; color: #777; }
  .cy-p-cell .cy-marks { font-size: 7pt; margin-top: 0; color: #444; }
  .cy-p-cell .cy-one, .cy-p-cell .cy-dr, .cy-p-key { color: #444; }
  .cy-p-cell .cy-pnote { font-size: 6.5pt; line-height: 1.25; font-style: italic; color: #555; }
  #cy-sheet .cy-bars i { background: #ddd; } #cy-sheet .cy-bars i.on { background: #B8946A; }
  .cy-p-notes { margin-top: 10pt; }
  .cy-p-notes p { font-family: var(--italic); font-style: italic; font-size: 11pt; margin: 0 0 4pt; }
  .cy-p-notes div { height: 20pt; border-bottom: 0.6pt solid #cdbfa8; }
  .cy-p-key { text-align: center; font-size: 7.5pt; margin-top: 8pt; }
  .cy-p-key .cy-dot, .cy-p-key .cy-drop { margin: 0 2pt 0 4pt; vertical-align: middle; }
}
/* ——— The Daily Draw ——— */
.draw-room { max-width: 60rem; margin: 0 auto; padding-bottom: 2rem; display: flex; flex-direction: column; gap: 2.4rem; }
.draw-room > .sh-panel { max-width: 46rem; width: 100%; margin: 0 auto; }
.dr-setup { gap: 1.2rem; }
.dr-spreads { justify-content: flex-start; }
.dr-today { font-size: .58rem; letter-spacing: .15em; color: var(--coral); margin-left: .3rem; }
.dr-positions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
@media (max-width: 620px) { .dr-positions { grid-template-columns: minmax(0, 1fr); } }
.dr-positions li { border-left: 2px solid var(--gold); padding-left: .8rem; display: flex; flex-direction: column; gap: .15rem; }
.dr-positions .num { font-family: var(--display); color: var(--gold); font-size: 1.1rem; }
.dr-positions .pn { font-family: var(--display); font-size: 1.3rem; color: var(--cream); }
.dr-positions .pq { font-family: var(--italic); font-style: italic; color: var(--cream-soft); }
.dr-row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.dr-row > div { display: flex; flex-direction: column; gap: .45rem; }
.dr-row .filters { justify-content: flex-start; }
.dr-rev-wrap[hidden] { display: none !important; }
.dr-table { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.dr-h { font-family: var(--display); font-size: var(--step-3); text-align: center; }
.dr-h em { color: var(--ember); }
.dr-hint { font-family: var(--italic); font-style: italic; color: var(--cream-soft); font-size: 1.15rem; text-align: center; min-height: 1.5em; }
.dr-deck-wrap { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
/* the card back */
.dr-card-back { display: block; width: 100%; height: 100%; border-radius: 8px; border: 1px solid var(--gold);
  background:
    radial-gradient(circle at 50% 50%, transparent 0 22%, rgba(184,148,106,.55) 22.5% 23.5%, transparent 24%),
    radial-gradient(circle at 58% 46%, var(--ground) 0 15%, transparent 15.5%),
    radial-gradient(circle at 50% 50%, var(--cream) 0 17%, transparent 17.5%),
    radial-gradient(circle at 20% 18%, rgba(241,230,210,.7) 0 1.2%, transparent 1.6%),
    radial-gradient(circle at 80% 82%, rgba(241,230,210,.7) 0 1.2%, transparent 1.6%),
    radial-gradient(circle at 78% 22%, rgba(241,230,210,.5) 0 .9%, transparent 1.3%),
    radial-gradient(circle at 24% 78%, rgba(241,230,210,.5) 0 .9%, transparent 1.3%),
    linear-gradient(160deg, #173a3d, #0b1f22);
  box-shadow: inset 0 0 0 4px #0e2629, inset 0 0 0 5px rgba(184,148,106,.6); }
.dr-stack { position: relative; width: 8.5rem; aspect-ratio: 5 / 8; }
.dr-stack .dr-card-back { position: absolute; inset: 0; box-shadow: inset 0 0 0 4px #0e2629, inset 0 0 0 5px rgba(184,148,106,.6), 0 6px 18px rgba(0,0,0,.35); }
.dr-stack .s1 { transform: translate(-4px, 4px) rotate(-2deg); } .dr-stack .s2 { transform: translate(-2px, 2px) rotate(-1deg); }
.dr-stack .s4 { transform: translate(2px, -2px) rotate(1deg); } .dr-stack .s5 { transform: translate(4px, -4px) rotate(2deg); }
.dr-stack.is-shuffling .s1 { animation: drRiffleL 1.3s ease-in-out; } .dr-stack.is-shuffling .s2 { animation: drRiffleR 1.3s ease-in-out .08s; }
.dr-stack.is-shuffling .s3 { animation: drRiffleL 1.3s ease-in-out .16s; } .dr-stack.is-shuffling .s4 { animation: drRiffleR 1.3s ease-in-out .24s; }
.dr-stack.is-shuffling .s5 { animation: drRiffleL 1.3s ease-in-out .32s; }
@keyframes drRiffleL { 0%, 100% { transform: none; } 30% { transform: translateX(-70%) rotate(-12deg); } 60% { transform: translateX(-20%) rotate(-4deg); } }
@keyframes drRiffleR { 0%, 100% { transform: none; } 30% { transform: translateX(70%) rotate(12deg); } 60% { transform: translateX(20%) rotate(4deg); } }
/* the fan */
.dr-fan-wrap { width: 100%; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.dr-fan-wrap[hidden] { display: none; }
.dr-fan { width: 100%; display: flex; overflow-x: auto; padding: 1.6rem 1.5rem 1.2rem 3.4rem; scroll-snap-type: x proximity; }
.dr-fcard { flex: none; width: 4.6rem; aspect-ratio: 5 / 8; margin-left: -2.9rem; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .25s, opacity .4s; border-radius: 8px; scroll-snap-align: center; }
.dr-fcard .dr-card-back { box-shadow: inset 0 0 0 3px #0e2629, inset 0 0 0 4px rgba(184,148,106,.6), -3px 2px 8px rgba(0,0,0,.4); }
.dr-fcard:hover:not(:disabled), .dr-fcard:focus-visible { transform: translateY(-14px); }
.dr-fcard:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.dr-fcard.is-taken { opacity: 0; transform: translateY(-40px); pointer-events: none; }
.dr-fan.is-dealing .dr-fcard { animation: drDeal .5s ease-out both; animation-delay: calc(var(--i) * 8ms); }
@keyframes drDeal { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.dr-fan-note { font-size: .9rem; color: var(--cream-faint); }
/* the slots and flip */
.dr-slots { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 3vw, 2rem); max-width: 40rem; }
.dr-slot { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; min-width: 0; }
.dr-pos { font-family: var(--display); font-size: clamp(1rem, 3.5vw, 1.3rem); color: var(--cream); }
.dr-pos span { color: var(--gold); margin-right: .2rem; }
.dr-posq { font-family: var(--italic); font-style: italic; font-size: clamp(.85rem, 2.6vw, 1rem); color: var(--cream-soft); line-height: 1.35; }
.dr-empty-slot, .dr-tcard { width: 100%; max-width: 10.5rem; aspect-ratio: 5 / 8; border-radius: 8px; }
.dr-empty-slot { border: 1px dashed rgba(184,148,106,.45); background: rgba(14,38,41,.5); }
.dr-tcard { position: relative; padding: 0; border: 0; background: none; cursor: pointer; perspective: 1000px; animation: drLand .45s ease-out; }
@keyframes drLand { from { opacity: 0; transform: translateY(-30px) scale(.9); } to { opacity: 1; transform: none; } }
.dr-tcard:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }
.dr-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3,.7,.3,1); }
.dr-tcard.is-turned .dr-inner { transform: rotateY(180deg); }
.dr-back, .dr-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 8px; }
.dr-back { box-shadow: 0 8px 22px rgba(0,0,0,.4); }
.dr-face { transform: rotateY(180deg); box-shadow: 0 8px 22px rgba(0,0,0,.4); }
.dr-tcard:not(.is-turned):hover .dr-inner { transform: translateY(-4px); }
/* card face (shared with minis) */
.dr-face, .dr-mini { background: var(--paper); color: var(--ground); border: 1px solid var(--gold); }
.dr-face-c { position: absolute; inset: 5px; border: 1px solid rgba(184,148,106,.7); border-radius: 5px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 8% 6%; text-align: center; }
.is-rev .dr-face-c { transform: rotate(180deg); }
.dr-face .f-top, .dr-mini .f-top { font-family: var(--display); font-size: clamp(.8rem, 2.6vw, 1.05rem); color: var(--brick); letter-spacing: .08em; }
.f-glyph { width: 46%; color: var(--brick); }
.is-major .f-glyph { color: var(--gold); }
.is-oracle .f-glyph { color: var(--ember); }
.f-glyph svg { width: 100%; height: auto; display: block; }
.f-name { font-family: var(--display); font-size: clamp(.82rem, 2.7vw, 1.15rem); line-height: 1.15; }
.f-name.o { font-family: var(--italic); font-style: italic; }
.f-sub { font-size: clamp(.5rem, 1.6vw, .62rem); letter-spacing: .18em; text-transform: uppercase; color: #6B4F35; }
.is-major { background: #E8D8B8; }
.is-oracle { background: #E6D2C0; }
@media (prefers-reduced-motion: reduce) { .dr-inner, .dr-fcard { transition: none; } .dr-tcard, .dr-fan.is-dealing .dr-fcard, .dr-stack.is-shuffling * { animation: none !important; } }
/* readings */
.dr-readings { width: 100%; max-width: 46rem; display: flex; flex-direction: column; gap: 1rem; }
.dr-reading { background: rgba(14, 38, 41, .9); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.1rem, 4vw, 1.6rem); display: flex; flex-direction: column; gap: .6rem; animation: drLand .5s ease-out; scroll-margin-top: 5rem; }
.dr-reading .sh-num span { text-transform: none; letter-spacing: .02em; font-family: var(--italic); font-style: italic; color: var(--cream-faint); }
.dr-reading h3 { font-family: var(--display); font-size: var(--step-2); }
.dr-reading h3 em { display: block; font-family: var(--italic); font-size: .6em; color: var(--coral); margin-top: .2rem; }
.dr-reading p { color: var(--cream-soft); }
.dr-keys { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold) !important; }
.dr-meaning .label, .dr-asks .label { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-right: .3rem; }
.dr-asks em { color: var(--cream); }
.dr-revtag { font-family: var(--body); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--coral); vertical-align: middle; }
.dr-close { width: 100%; max-width: 46rem; }
.dr-close textarea { font: inherit; font-family: var(--italic); font-style: italic; font-size: 1.15rem; background: var(--paper); color: var(--ground); border: 1px solid var(--line); border-radius: 3px; padding: .7rem .9rem; width: 100%; resize: vertical; }
.dr-close textarea:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
/* history */
.dr-history { max-width: 46rem; width: 100%; margin: 0 auto; }
.dr-repeat { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .35rem; color: var(--cream-soft); }
.dr-repeat strong { color: var(--cream); font-weight: 500; }
.dr-list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.dr-entry { background: rgba(14, 38, 41, .9); border: 1px solid var(--line); border-radius: 4px; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .7rem; }
.dr-entry-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; align-items: baseline; }
.dr-entry-sp { font-family: var(--italic); font-style: italic; color: var(--coral); }
.dr-entry-q { font-family: var(--italic); font-style: italic; color: var(--cream); font-size: 1.1rem; }
.dr-minis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 7rem)); gap: .8rem; }
.dr-minis li { display: flex; flex-direction: column; gap: .3rem; align-items: center; text-align: center; min-width: 0; }
.dr-mini-pos { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.dr-mini { position: relative; display: block; width: 100%; aspect-ratio: 5 / 8; border-radius: 6px; text-decoration: none; }
.dr-mini .dr-face-c { inset: 3px; padding: 7% 5%; }
.dr-mini .f-top { font-size: .7rem; } .dr-mini .f-name { font-size: .72rem; } .dr-mini .f-sub { font-size: .42rem; letter-spacing: .1em; }
a.dr-mini:hover { box-shadow: 0 0 0 2px var(--coral); }
.dr-mini-name { font-size: .82rem; color: var(--cream-soft); line-height: 1.25; }
.dr-entry-note { color: var(--cream-soft); white-space: pre-wrap; border-left: 2px solid var(--gold); padding-left: .8rem; }
.dr-del { align-self: flex-end; font-size: .6rem; }
.dr-empty { text-align: center; color: var(--cream-faint); font-style: italic; }
.dr-empty[hidden], .dr-close[hidden], #dr-repeat-wrap[hidden], #dr-export[hidden] { display: none !important; }
.dr-letter-link { padding: 0; border: 0; background: none; font: inherit; color: var(--coral); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.dr-letter-link:hover { color: var(--cream); }
button.dr-mini { padding: 0; cursor: pointer; font: inherit; }
button.dr-mini:hover { box-shadow: 0 0 0 2px var(--coral); }
.tl-back { justify-content: center; }
html:has(#dr-letter[open]), body:has(#dr-letter[open]) { overflow: hidden; }
/* ——— What Goddess Are You? ——— */
.gq-box { max-width: 44rem; margin: 0 auto; background: rgba(14, 38, 41, .9); border: 1px solid var(--gold); border-radius: 10rem 10rem 6px 6px; padding: clamp(3rem, 8vw, 4.4rem) clamp(1.2rem, 5vw, 3rem) clamp(1.6rem, 5vw, 2.6rem); text-align: center; scroll-margin-top: 4rem; }
@media (max-width: 520px) { .gq-box { border-radius: 6rem 6rem 6px 6px; padding-top: 4.6rem; } }
.gq-intro, .gq-run, .gq-result { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.gq-intro[hidden], .gq-run[hidden], .gq-result[hidden], .gq-last[hidden] { display: none; }
#gq-h, .gq-name { font-family: var(--display); font-size: var(--step-3); line-height: 1.1; }
#gq-h em { display: block; color: var(--ember); font-size: .7em; margin-top: .2rem; }
.gq-last { font-family: var(--italic); font-style: italic; color: var(--cream-soft); }
.gq-progress { display: flex; gap: .45rem; }
.gq-progress span { width: .55rem; height: .55rem; border-radius: 50%; border: 1px solid var(--gold); }
.gq-progress span.done { background: var(--gold); }
.gq-progress span.now { background: var(--coral); border-color: var(--coral); }
.gq-q { font-family: var(--italic); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 4.5vw, 1.9rem); line-height: 1.3; color: var(--cream); max-width: 34rem; outline: none; }
.gq-opts { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
@media (max-width: 560px) { .gq-opts { grid-template-columns: minmax(0, 1fr); } }
.gq-opt { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 4px; background: rgba(241, 230, 210, .04); color: var(--cream); font: inherit; font-size: 1.05rem; line-height: 1.4; cursor: pointer; text-align: center; transition: border-color .2s, background .2s; }
.gq-opt:hover { border-color: var(--coral); }
.gq-opt[aria-pressed="true"] { border-color: var(--gold); background: rgba(184, 148, 106, .26); }
.gq-opt:focus-visible, .gq-back:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.gq-back { border: 0; background: none; color: var(--cream-faint); font: inherit; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; padding: .4rem; }
.gq-back:hover { color: var(--coral); }
.gq-result { animation: drLand .6s ease-out; }
.gq-glyph { font-size: 2.4rem; color: var(--gold); line-height: 1; }
.gq-name { color: var(--cream); outline: none; }
.gq-epithet { font-family: var(--italic); font-style: italic; color: var(--coral); font-size: 1.3rem; margin-top: -.6rem; }
.gq-why { font-size: 1.15rem; color: var(--cream-soft); max-width: 34rem; }
.gq-second { font-family: var(--italic); font-style: italic; color: var(--cream-faint); }
.gq-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: .4rem; }
@media (prefers-reduced-motion: reduce) { .gq-result { animation: none; } }

/* ——— Accessibility: skip link ——— */
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .7rem 1.1rem; background: var(--paper); color: var(--ground); border-radius: 4px; font-size: .9rem; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 1rem; outline: 2px solid var(--coral); outline-offset: 2px; }
main:focus { outline: none; }

/* ——— Legal pages & footer links ——— */
.legal { max-width: 44rem; margin: 0 auto 3rem; background: rgba(14, 38, 41, .88); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.4rem, 5vw, 2.6rem); display: flex; flex-direction: column; gap: 1rem; }
.legal h2 { font-family: var(--display); font-size: var(--step-2); margin-top: .8rem; color: var(--cream); }
.legal p, .legal li { color: var(--cream-soft); }
.legal ul { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .45rem; }
.legal a { color: var(--coral); }
.legal mark { background: var(--coral); color: var(--ground); padding: 0 .3rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; margin: .4rem 0; }
.footer-links a { color: var(--cream-soft); font-size: .85rem; letter-spacing: .08em; text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover { color: var(--coral); }
.consent { font-size: .85rem; color: var(--cream-faint); margin-top: .6rem; }
.consent a { color: var(--cream-soft); }
.legal-address { font-style: normal; color: var(--cream); line-height: 1.6; border-left: 2px solid var(--gold); padding-left: 1rem; }

/* ---------- Expanded love letter · "The Altar" layout ---------- */
.lay-altar { max-width: var(--wide); margin: 0 auto 2rem; display: grid; gap: 1.6rem; }
.altar-col { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 900px) { .lay-altar { grid-template-columns: 19rem minmax(0, 1fr); align-items: stretch; } .altar-toc { position: sticky; top: 1.2rem; } }
.altar-toc { background: rgba(14, 38, 41, .9); border: 1px solid var(--line); border-radius: 4px; padding: 1rem 1.2rem; }
.altar-toc .label { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.altar { background: rgba(14, 38, 41, .9); border: 1px solid var(--line); border-radius: 4px; padding: 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.altar .nm { font-family: var(--display); font-size: 2.1rem; line-height: 1; }
.altar .ep { font-family: var(--italic); font-style: italic; color: var(--ember); margin-top: -.5rem; }
.altar dl { margin: 0; display: grid; gap: .5rem; }
.altar dt { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.altar dd { margin: 0; color: var(--cream-soft); font-size: 1rem; }
.altar-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.altar-toc a { display: block; padding: .22rem .5rem; color: var(--cream-soft); text-decoration: none; border-left: 2px solid transparent; font-size: 1.02rem; }
.altar-toc a:hover, .altar-toc a.on { color: var(--coral); border-left-color: var(--coral); }
.altar-main { display: flex; flex-direction: column; gap: 1.4rem; max-width: 44rem; min-width: 0; }
.altar-main section { scroll-margin-top: 1.2rem; }
.ap-card { background: rgba(14, 38, 41, .88); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.4rem, 5.5vw, 2.6rem); display: flex; flex-direction: column; gap: 1.05rem; }
.ap-card p { font-size: 1.14rem; line-height: 1.8; color: var(--cream); }
.ap-card h2 { font-family: var(--display); font-size: clamp(1.9rem, 5vw, 2.5rem); line-height: 1.1; }
.ap-card h2 em { display: block; font-family: var(--italic); font-size: .55em; color: var(--ember); margin-top: .25rem; }
.ap-card em { color: var(--coral); }
.ap-card .ap-salute { font-family: var(--display); font-size: 2.4rem; line-height: 1.1; }
.ap-card .ap-pull { font-family: var(--italic); font-style: italic; font-size: 1.5rem; line-height: 1.4; color: var(--coral); text-align: center; padding: .4rem 0; }
.ap-card .ap-q { border-left: 2px solid var(--coral); padding-left: 1rem; font-family: var(--italic); font-style: italic; font-size: 1.3rem; }
.ap-card .ap-intro { text-align: center; color: var(--cream-soft); font-size: 1.02rem; }
.ap-card .ap-invoke { text-align: center; font-family: var(--italic); font-style: italic; font-size: 1.28rem; line-height: 1.75; }
.ap-invoke span { display: block; }
.ap-invoke .gap { height: .8rem; }
.invoke-frame { border: 1px solid var(--coral); border-radius: 4px; padding: clamp(1.2rem, 5vw, 2.2rem); }
.sym-tiles { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr)); }
.sym-tiles .s { border: 1px solid var(--line); border-radius: 4px; padding: 1rem; display: flex; flex-direction: column; gap: .4rem; }
.sym-tiles .g { font-size: 1.6rem; color: var(--gold); }
.sym-tiles h3 { font-family: var(--italic); font-style: italic; font-size: 1.3rem; color: var(--coral); }
.ap-card .sym-tiles p { font-size: 1rem; line-height: 1.6; color: var(--cream-soft); }
.guide { display: flex; flex-direction: column; gap: 1rem; }
.guide-text { display: flex; flex-direction: column; gap: 1.05rem; min-height: 7.5rem; }
.guide .ctl { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.guide .count { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-faint); }
.guide-text p[hidden], .guide .ctl [hidden] { display: none !important; }
.ap-needs { border: 1px solid var(--line); border-radius: 4px; padding: 1rem 1.2rem; }
.ap-card .ap-needs .label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--coral); margin-bottom: .5rem; line-height: 1.4; }
.check { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.check label { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; color: var(--cream-soft); font-size: 1.05rem; }
.check input { margin-top: .35rem; accent-color: var(--coral); width: 1.05rem; height: 1.05rem; flex-shrink: 0; }
.ap-step { display: flex; flex-direction: column; gap: .7rem; }
.ap-step h3 { font-family: var(--display); font-size: 1.6rem; }
.ap-step h3 .n { color: var(--gold); margin-right: .6rem; }
.ap-card .ap-sign { font-family: var(--italic); font-style: italic; text-align: right; color: var(--coral); line-height: 1.5; }
.ap-card .ap-small { font-size: .92rem; color: var(--cream-faint); }
.gl-ritual-pointer { color: var(--cream-soft); }
.gl-ritual-pointer a { color: var(--coral); }
.ap-say { font-family: var(--italic); font-style: italic; color: var(--coral); font-size: 1.1rem; text-shadow: 0 1px 14px rgba(14, 38, 41, .85); }
.veil-g-brigid { background-image: url("images/goddess-brigid.jpg"); background-position: 50% 20%; }
.veil-g-aine { background-image: url("images/goddess-aine.jpg"); background-position: 50% 20%; }
.veil-g-cerridwen { background-image: url("images/goddess-cerridwen.jpg"); background-position: 50% 20%; }
.veil-s-samhain { background-image: url("images/sabbat-samhain.jpg"); background-position: 50% 16%; }
.veil-s-lammas { background-image: url("images/sabbat-lammas.jpg"); background-position: 52% 0%; }
.veil-s-yule { background-image: url("images/sabbat-yule.jpg"); background-position: 54% 0%; }
.veil-s-imbolc { background-image: url("images/sabbat-imbolc.jpg"); background-position: 56% 0%; }
.veil-s-ostara { background-image: url("images/sabbat-ostara.jpg"); background-position: 56% 0%; }
.veil-s-litha { background-image: url("images/sabbat-litha.jpg"); background-position: 56% 0%; }
.veil-s-mabon { background-image: url("images/sabbat-mabon.jpg"); background-position: 56% 0%; }
.veil-s-beltane { background-image: url("images/sabbat-beltane.jpg"); background-position: 56% 0%; }
.veil-g-danu { background-image: url("images/goddess-danu.jpg"); background-position: 47% 0%; }
.veil-g-elen { background-image: url("images/goddess-elen.jpg"); background-position: 54% 0%; }
.veil-g-artemis { background-image: url("images/goddess-artemis.jpg"); background-position: 48% 0%; }
.veil-g-athena { background-image: url("images/goddess-athena.jpg"); background-position: 52% 22%; }
.veil-g-demeter { background-image: url("images/goddess-demeter.jpg"); background-position: 48% 16%; }
.veil-g-pele { background-image: url("images/goddess-pele.jpg"); background-position: 60% 0%; }
/* Sabbat images start just below the menu bar so faces and crowns are never hidden behind it */
.home-veil[class*="veil-s-"], .home-veil[class*="veil-g-"] { top: 121px; }
@media (max-width: 1080px) { .home-veil[class*="veil-s-"], .home-veil[class*="veil-g-"] { top: 75px; } }
.veil-g-yemoja { background-image: url("images/goddess-yemoja.jpg"); background-position: 50% 0%; }
