/*
Theme Name: Wake Journey
Theme URI: https://wakejourney.com
Author: Alicia
Description: A museum-grade contemporary fine art greeting card platform. Organic cubism, modern art deco, and sacred geometry, organized by hairline luminous gold contours inspired by kintsugi and gold-leaf marquetry. Cards live entirely inside signed links. Nothing is stored.
Version: 4.11.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wake-journey
Tags: art, cards, gallery, custom-logo, editor-style
*/

/* ==========================================================
   1. Design tokens
   The palette is the brief: five to seven muted, aged colors
   and one luminous gold that does all the organizing.
   ========================================================== */
:root {
  /* Canvas */
  --wj-ivory: #FAF9F4;       /* whisper white, the page */
  --wj-cream: #F6F3E8;       /* warm cream, raised panels */
  --wj-plaster: #F1EEE1;     /* aged plaster, deep panels */

  /* Pigments */
  --wj-forest: #1F6E62;      /* soft sage */
  --wj-emerald: #5FA79B;     /* pale sage */
  --wj-midnight: #3C4B47;    /* soft ink grey */
  --wj-mauve: #C9CFC2;       /* wisp jade */
  --wj-lavender: #D8DDD3;    /* whisper mist */
  --wj-umber: #A38352;       /* raw umber */
  --wj-ochre: #A89058;       /* soft ochre */

  /* The gold contour system */
  --wj-gold: #C6A15B;        /* burnished gold, base line */
  --wj-gold-lit: #E8D3A4;    /* gold catching light */
  --wj-gold-deep: #A08040;   /* gold in shadow */
  --wj-water: #EAF4F0;        /* still water */
  --wj-water-deep: #DCEFEA;   /* water, a shade in */
  --wj-gold-line: linear-gradient(100deg, var(--wj-gold-deep), var(--wj-gold) 35%, var(--wj-gold-lit) 55%, var(--wj-gold) 70%, var(--wj-gold-deep));

  /* Ink */
  --wj-ink: #5C6B63;         /* headlines on ivory */
  --wj-body: #7C7263;        /* body prose */
  --wj-quiet: #A39A87;       /* captions, placards */

  /* Type */
  --wj-display: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --wj-body-face: 'EB Garamond', Georgia, serif;
  --wj-label: 'Jost', 'Futura', 'Century Gothic', sans-serif;

  /* Rhythm */
  --wj-measure: 64ch;
  --wj-gutter: clamp(1.25rem, 4vw, 3rem);
  --wj-section: clamp(4rem, 10vw, 8rem);
}

/* ==========================================================
   2. Base
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

body {
  margin: 0;
  font-family: var(--wj-body-face);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--wj-body);
  background-color: var(--wj-ivory);
}

/* Matte mineral texture over the whole canvas. A whisper of
   canvas weave, never gloss. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

body > * { position: relative; z-index: 2; }

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

a {
  color: var(--wj-emerald);
  text-decoration: none;
  border-bottom: 1px solid var(--wj-gold);
  transition: color 0.25s ease, border-color 0.25s ease;
}

a:hover { color: var(--wj-gold-deep); border-bottom-color: var(--wj-gold-lit); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--wj-gold-deep);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--wj-display);
  font-weight: 500;
  color: var(--wj-ink);
  line-height: 1.12;
  margin: 0 0 0.6em;
  letter-spacing: 0.005em;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }

p { margin: 0 0 1.2em; }

::selection { background: var(--wj-gold-lit); color: var(--wj-forest); }

/* ==========================================================
   3. The gold contour vocabulary
   Reusable hairlines, frames, and the small ceremonial marks
   that carry the kintsugi feeling through every surface.
   ========================================================== */

/* A luminous hairline. Use as a divider element. */
.wj-hairline {
  border: 0;
  height: 1px;
  margin: 0;
  background: var(--wj-gold-line);
}

/* The eyebrow. Small caps, letterspaced, gold-marked. */
.wj-eyebrow {
  font-family: var(--wj-label);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--wj-umber);
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  margin-bottom: 1.4rem;
}

.wj-eyebrow::before,
.wj-eyebrow::after {
  content: "";
  height: 1px;
  width: 2.2em;
  background: var(--wj-gold-line);
}

/* A framed surface: double hairline, like a gallery mat. */
.wj-frame {
  position: relative;
  background: var(--wj-cream);
  border: 1px solid var(--wj-gold);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.wj-frame::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(198, 164, 94, 0.45);
  pointer-events: none;
}

/* The ceremonial section divider: hairline, circle, leaf. */
.wj-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin: var(--wj-section) auto;
  max-width: 34rem;
  padding: 0 var(--wj-gutter);
}

.wj-divider::before,
.wj-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--wj-gold-line);
}

.wj-divider svg { flex: none; }

/* ==========================================================
   4. Layout primitives
   ========================================================== */
.wj-container {
  max-width: 72rem;
  margin: 0 auto;
  padding-left: var(--wj-gutter);
  padding-right: var(--wj-gutter);
}

.wj-narrow { max-width: 46rem; }

.wj-section { padding: var(--wj-section) 0; }

.wj-center { text-align: center; }

/* ==========================================================
   5. Header
   ========================================================== */
.wj-header {
  background: var(--wj-ivory);
  border-bottom: 1px solid var(--wj-gold);
  position: relative;
}

.wj-header::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 3px;
  background: rgba(198, 164, 94, 0.4);
}

.wj-header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.4rem var(--wj-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.wj-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border: 0;
}

.wj-brand:hover { border: 0; }

.wj-brand-mark { flex: none; }

.wj-brand-name {
  font-family: var(--wj-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wj-ink);
}

.wj-brand-name span { color: var(--wj-gold-deep); }

.wj-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
}

.wj-nav a {
  font-family: var(--wj-label);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--wj-ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.3em;
}

.wj-nav a:hover { border-bottom-color: var(--wj-gold); color: var(--wj-gold-deep); }

/* ==========================================================
   6. Hero: the painting is the thesis
   ========================================================== */
.wj-hero {
  padding: clamp(3rem, 8vw, 6rem) 0 var(--wj-section);
  overflow: hidden;
}

.wj-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.wj-hero-copy .wj-lede {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  color: var(--wj-body);
  max-width: 34rem;
  font-style: italic;
}

.wj-hero-title em {
  font-style: italic;
  color: var(--wj-emerald);
}

/* The artwork sits inside a true gallery frame. */
.wj-artwork {
  position: relative;
  background: var(--wj-plaster);
  border: 1px solid var(--wj-gold);
  padding: clamp(0.9rem, 2vw, 1.4rem);
  box-shadow: 0 1px 0 rgba(198, 164, 94, 0.35);
}

.wj-artwork::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(198, 164, 94, 0.5);
  pointer-events: none;
  z-index: 3;
}

.wj-artwork svg,
.wj-artwork img {
  display: block;
  width: 100%;
  height: auto;
}

.wj-artwork figcaption {
  font-family: var(--wj-label);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--wj-quiet);
  text-align: center;
  padding-top: 0.9rem;
}

/* Slow, sacred entrance for the hero painting. */
@keyframes wj-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wj-rise { animation: wj-rise 1.2s cubic-bezier(0.22, 0.9, 0.3, 1) both; }
.wj-rise-late { animation: wj-rise 1.2s 0.25s cubic-bezier(0.22, 0.9, 0.3, 1) both; }

/* ==========================================================
   7. Buttons
   ========================================================== */
.wj-button {
  display: inline-block;
  font-family: var(--wj-label);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wj-ivory);
  background: var(--wj-forest);
  border: 1px solid var(--wj-gold);
  padding: 1.05rem 2.4rem;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease, color 0.3s ease;
}

.wj-button::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(232, 206, 148, 0.5);
  pointer-events: none;
}

.wj-button:hover { background: var(--wj-emerald); color: var(--wj-gold-lit); border-bottom-color: var(--wj-gold); }

.wj-button--ghost {
  background: transparent;
  color: var(--wj-forest);
}

.wj-button--ghost:hover { background: var(--wj-cream); color: var(--wj-gold-deep); }

/* ==========================================================
   8. Gallery: the salon wall
   ========================================================== */
.wj-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: clamp(1.6rem, 3.5vw, 2.75rem);
}

.wj-piece {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: center;
  font: inherit;
}

.wj-piece-frame {
  position: relative;
  background: var(--wj-plaster);
  border: 1px solid var(--wj-gold);
  padding: 0.7rem;
  transition: transform 0.45s cubic-bezier(0.22, 0.9, 0.3, 1), box-shadow 0.45s ease;
}

.wj-piece-frame::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(198, 164, 94, 0.45);
  pointer-events: none;
  z-index: 2;
}

.wj-piece img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.wj-piece:hover .wj-piece-frame,
.wj-piece:focus-visible .wj-piece-frame {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -22px rgba(38, 50, 56, 0.45);
}

.wj-piece.is-chosen .wj-piece-frame {
  border-color: var(--wj-gold-deep);
  box-shadow: 0 0 0 1px var(--wj-gold-lit), 0 18px 40px -22px rgba(38, 50, 56, 0.45);
}

.wj-piece-title {
  font-family: var(--wj-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--wj-ink);
  margin-top: 0.8rem;
}

.wj-piece-medium {
  font-family: var(--wj-label);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wj-quiet);
  margin-top: 0.25rem;
}

/* ==========================================================
   9. The Atelier: the card composer
   ========================================================== */
.wj-atelier {
  background: var(--wj-cream);
  border-top: 1px solid var(--wj-gold);
  border-bottom: 1px solid var(--wj-gold);
}

.wj-atelier-inner {
  max-width: 46rem;
  margin: 0 auto;
  padding: var(--wj-section) var(--wj-gutter);
}

.wj-field { margin-bottom: 2rem; }

.wj-field label {
  display: block;
  font-family: var(--wj-label);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--wj-umber);
  margin-bottom: 0.7rem;
}

.wj-field input[type="text"],
.wj-field textarea,
.wj-field select {
  width: 100%;
  font-family: var(--wj-body-face);
  font-size: 1.15rem;
  color: var(--wj-ink);
  background: var(--wj-ivory);
  border: 1px solid var(--wj-gold);
  padding: 0.95rem 1.1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  appearance: none;
  border-radius: 0;
}

.wj-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239C7B3C' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.6rem;
}

.wj-field input:focus,
.wj-field textarea:focus,
.wj-field select:focus {
  border-color: var(--wj-gold-deep);
  box-shadow: 0 0 0 1px var(--wj-gold-lit);
  outline: none;
}

.wj-field textarea { min-height: 9.5rem; resize: vertical; }

.wj-field .wj-count {
  font-family: var(--wj-label);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wj-quiet);
  margin-top: 0.5rem;
  display: block;
}

.wj-field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* The chosen painting, echoed above the form. */
.wj-chosen {
  display: none;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.4rem;
  padding: 1rem 1.2rem;
  background: var(--wj-ivory);
  border: 1px solid var(--wj-gold);
}

.wj-chosen.is-visible { display: flex; }

.wj-chosen img {
  width: 4.2rem;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--wj-gold);
}

.wj-chosen-label {
  font-family: var(--wj-label);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wj-quiet);
  display: block;
  margin-bottom: 0.3rem;
}

.wj-chosen-title {
  font-family: var(--wj-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--wj-ink);
}

/* The minted link, presented like an acquisition. */
.wj-minted {
  display: none;
  margin-top: 2.75rem;
  text-align: center;
}

.wj-minted.is-visible { display: block; animation: wj-rise 0.9s cubic-bezier(0.22, 0.9, 0.3, 1) both; }

.wj-minted-url {
  width: 100%;
  font-family: var(--wj-label);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--wj-emerald);
  background: var(--wj-ivory);
  border: 1px solid var(--wj-gold);
  padding: 0.95rem 1.1rem;
  text-align: center;
  margin: 1.4rem 0;
}

.wj-error {
  display: none;
  font-style: italic;
  color: var(--wj-umber);
  text-align: center;
  margin-top: 1.5rem;
}

.wj-error.is-visible { display: block; }

/* ==========================================================
   10. The card itself: a private viewing
   ========================================================== */
.wj-viewing {
  min-height: 100vh;
  background: var(--wj-forest);
  padding: clamp(2.5rem, 7vw, 5.5rem) var(--wj-gutter);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Midnight variant selected by occasion tone, if ever needed. */
.wj-viewing--midnight { background: var(--wj-midnight); }

.wj-card {
  width: min(34rem, 100%);
  background: var(--wj-ivory);
  border: 1px solid var(--wj-gold);
  padding: clamp(1rem, 3vw, 1.6rem);
  position: relative;
  animation: wj-rise 1.3s cubic-bezier(0.22, 0.9, 0.3, 1) both;
}

.wj-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(198, 164, 94, 0.5);
  pointer-events: none;
}

.wj-card-art { border: 1px solid var(--wj-gold); }

.wj-card-art img,
.wj-card-art svg { width: 100%; display: block; }

.wj-placard {
  text-align: center;
  padding: clamp(1.8rem, 4vw, 2.6rem) clamp(0.8rem, 3vw, 1.8rem) clamp(1rem, 3vw, 1.6rem);
}

.wj-placard-occasion {
  font-family: var(--wj-label);
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--wj-gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  margin-bottom: 1.1rem;
}

.wj-placard-occasion::before,
.wj-placard-occasion::after {
  content: "";
  height: 1px;
  width: 1.8em;
  background: var(--wj-gold-line);
}

.wj-placard-heading {
  font-family: var(--wj-display);
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 500;
  color: var(--wj-ink);
  margin-bottom: 1.1rem;
}

.wj-placard-message {
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.85;
  color: var(--wj-body);
  white-space: pre-line;
  overflow-wrap: break-word;
  max-width: 28rem;
  margin: 0 auto 1.6rem;
}

.wj-placard-from {
  font-family: var(--wj-display);
  font-size: 1.15rem;
  color: var(--wj-ink);
}

.wj-placard-signoff {
  font-family: var(--wj-body-face);
  font-style: italic;
  font-size: 1rem;
  color: var(--wj-quiet);
  margin-top: 0.3rem;
}

.wj-card-wordmark {
  font-family: var(--wj-label);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--wj-quiet);
  text-align: center;
  padding: 1.2rem 0 0.4rem;
  margin-top: 0.6rem;
  border-top: 1px solid rgba(198, 164, 94, 0.55);
}

.wj-card-wordmark a { color: var(--wj-gold-deep); border-bottom: 0; }
.wj-card-wordmark a:hover { color: var(--wj-gold); }

.wj-viewing-after {
  text-align: center;
  margin-top: 2rem;
}

.wj-viewing-after a {
  font-family: var(--wj-label);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--wj-gold-lit);
  border-bottom: 1px solid rgba(232, 206, 148, 0.5);
  padding-bottom: 0.35em;
}

.wj-viewing-after a:hover { color: var(--wj-ivory); }

/* ==========================================================
   11. Statement band: dark gallery room
   ========================================================== */
.wj-room {
  background: var(--wj-forest);
  color: var(--wj-cream);
  border-top: 1px solid var(--wj-gold);
  border-bottom: 1px solid var(--wj-gold);
}

.wj-room h2, .wj-room h3 { color: var(--wj-ivory); }

.wj-room .wj-eyebrow { color: var(--wj-gold-lit); }

.wj-room p { color: rgba(240, 234, 219, 0.85); }

.wj-room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 3rem;
}

.wj-room-item h3 {
  font-size: 1.35rem;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.wj-room-item h3 svg { flex: none; }

.wj-room-item p { font-size: 1.02rem; }

/* ==========================================================
   12. Footer
   ========================================================== */
.wj-footer {
  border-top: 1px solid var(--wj-gold);
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.wj-footer::before {
  content: "";
  display: block;
  height: 1px;
  margin: 3px auto 3.4rem;
  background: rgba(198, 164, 94, 0.4);
}

.wj-footer-line {
  font-family: var(--wj-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--wj-ink);
  margin-bottom: 0.8rem;
}

.wj-footer-note {
  font-family: var(--wj-label);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--wj-quiet);
}

/* ==========================================================
   13. Prose pages
   ========================================================== */
.wj-prose {
  max-width: var(--wj-measure);
  margin: 0 auto;
}

.wj-prose h1 { text-align: center; }

.wj-prose-meta {
  font-family: var(--wj-label);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wj-quiet);
  text-align: center;
  margin-bottom: 3rem;
}

/* ==========================================================
   14. Responsive
   ========================================================== */
@media (max-width: 900px) {
  .wj-hero-grid { grid-template-columns: 1fr; }
  .wj-hero-copy { text-align: center; }
  .wj-hero-copy .wj-lede { margin-left: auto; margin-right: auto; }
  .wj-artwork { max-width: 26rem; margin: 0 auto; }
  .wj-room-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wj-header-inner { justify-content: center; }
  .wj-field-pair { grid-template-columns: 1fr; }
  .wj-gallery { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
}

/* ==========================================================
   15. The painting, alive
   Ambient life inside the hero SVG: the halo breathes, the
   stars keep time, the moon drifts, the leaves remember wind,
   the open eye blinks. All of it rests when motion is reduced.
   ========================================================== */
@keyframes wjA-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.012); opacity: 0.92; }
}

@keyframes wjA-twinkle {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.25; }
}

@keyframes wjA-drift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

@keyframes wjA-sway {
  0%, 100% { transform: rotate(0deg); }
  50%      { transform: rotate(3deg); }
}

@keyframes wjA-blink {
  0%, 94%, 100% { transform: scaleY(1); }
  96.5%         { transform: scaleY(0.06); }
}

.wjA-halo,
.wjA-moon,
.wjA-leaf,
.wjA-bloom,
.wjA-eye {
  transform-box: fill-box;
  transform-origin: center;
}

.wjA-halo { animation: wjA-breathe 9s ease-in-out infinite; }
.wjA-star { animation: wjA-twinkle 5s ease-in-out infinite; }
.wjA-star--late { animation-delay: 1.6s; }
.wjA-star--later { animation-delay: 3.1s; }
.wjA-moon { animation: wjA-drift 14s ease-in-out infinite; }
.wjA-leaf { animation: wjA-sway 8s ease-in-out infinite; }
.wjA-leaf--late { animation-delay: 2.2s; }
.wjA-leaf--later { animation-delay: 4.4s; }
.wjA-bloom { animation: wjA-breathe 11s 1s ease-in-out infinite; }
.wjA-eye { animation: wjA-blink 8s 2s ease-in-out infinite; }

/* ==========================================================
   16. Scroll reveals
   Marked elements rise the first time they enter the room.
   Before JS arrives they are simply visible.
   ========================================================== */
.has-js [data-wj-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s cubic-bezier(0.22, 0.9, 0.3, 1), transform 0.9s cubic-bezier(0.22, 0.9, 0.3, 1);
  transition-delay: var(--wj-reveal-delay, 0s);
}

.has-js [data-wj-reveal].is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   17. Gold shimmer on buttons
   A single band of light crossing the button, like gold leaf
   turned in the hand.
   ========================================================== */
.wj-button { overflow: hidden; }

.wj-button::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(232, 206, 148, 0.35), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s ease;
  pointer-events: none;
}

.wj-button:hover::before { left: 120%; }

/* ==========================================================
   18. The seal
   A card arrives sealed. The wax carries the house mark; a
   touch breaks it and the viewing begins.
   ========================================================== */
.wj-sealed { width: min(34rem, 100%); }

.wj-seal-face {
  display: none;
  width: 100%;
  background: var(--wj-ivory);
  border: 1px solid var(--wj-gold);
  padding: clamp(3rem, 9vw, 5.5rem) clamp(1.5rem, 5vw, 3rem);
  cursor: pointer;
  font: inherit;
  position: relative;
  animation: wj-rise 1.1s cubic-bezier(0.22, 0.9, 0.3, 1) both;
}

.wj-seal-face::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(198, 164, 94, 0.5);
  pointer-events: none;
}

.wj-sealed.is-sealed .wj-seal-face,
.wj-sealed.is-opening .wj-seal-face { display: block; }

.wj-sealed.is-sealed .wj-opened,
.wj-sealed.is-opening .wj-opened { display: none; }

.wj-seal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.wj-seal-for {
  font-family: var(--wj-display);
  font-size: clamp(1.7rem, 4.5vw, 2.3rem);
  font-style: italic;
  color: var(--wj-ink);
}

.wj-seal-wax {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.22, 0.9, 0.3, 1);
}

.wj-seal-face:hover .wj-seal-wax { transform: scale(1.05) rotate(3deg); }

.wj-sealed.is-opening .wj-seal-wax { animation: wjA-breathe 0.65s ease-in-out; }

.wj-seal-hint {
  font-family: var(--wj-label);
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--wj-quiet);
}

/* ==========================================================
   19. The occasion constellation
   Gold-lined chips instead of a dropdown: every occasion laid
   out where it can be seen, chosen at a touch.
   ========================================================== */
.wj-occasions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.wj-occ {
  font-family: var(--wj-label);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wj-umber);
  background: var(--wj-ivory);
  border: 1px solid rgba(198, 164, 94, 0.55);
  padding: 0.55rem 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.wj-occ:hover {
  border-color: var(--wj-gold-deep);
  color: var(--wj-gold-deep);
}

.wj-occ.is-on {
  background: var(--wj-forest);
  color: var(--wj-gold-lit);
  border-color: var(--wj-gold);
}

.has-js .wj-occasion-select {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

/* ==========================================================
   20. The atelier, two rooms
   The desk on the left; on the right, the card exactly as it
   will open, changing as the sender writes.
   ========================================================== */
.wj-atelier-inner--wide { max-width: 72rem; }

.wj-atelier-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 6vw, 4.5rem);
  margin-top: 3rem;
  align-items: start;
}

.wj-preview { position: sticky; top: 2rem; }

.wj-preview-label {
  font-family: var(--wj-label);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--wj-quiet);
  text-align: center;
  margin-bottom: 1rem;
}

.wj-preview-card {
  background: var(--wj-ivory);
  border: 1px solid var(--wj-gold);
  padding: 0.9rem;
  position: relative;
  box-shadow: 0 24px 50px -30px rgba(38, 50, 56, 0.4);
}

.wj-preview-card::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(198, 164, 94, 0.45);
  pointer-events: none;
  z-index: 2;
}

.wj-preview-art {
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(198, 164, 94, 0.55);
  background: var(--wj-plaster);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wj-preview-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: wj-rise 0.7s cubic-bezier(0.22, 0.9, 0.3, 1) both;
}

.wj-preview-empty {
  font-family: var(--wj-body-face);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--wj-quiet);
  text-align: center;
  padding: 1.5rem;
  line-height: 2.2;
}

.wj-preview-placard {
  text-align: center;
  padding: 1.6rem 0.8rem 0.8rem;
}

.wj-preview-heading {
  font-family: var(--wj-display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--wj-ink);
  margin: 0 0 0.7rem;
  min-height: 1.2em;
}

.wj-preview-message {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--wj-body);
  white-space: pre-line;
  overflow-wrap: break-word;
  margin: 0 0 1rem;
}

.wj-preview-from {
  font-family: var(--wj-display);
  font-size: 1rem;
  color: var(--wj-ink);
  margin: 0;
}

.wj-preview-signoff {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--wj-quiet);
  margin: 0.25rem 0 0;
}

/* ==========================================================
   21. The mission
   Said plainly, set like an inscription.
   ========================================================== */
.wj-mission {
  text-align: center;
}

.wj-mission-lines {
  font-family: var(--wj-display);
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.7;
  color: var(--wj-ink);
  max-width: 42rem;
  margin: 0 auto;
}

.wj-mission-lines strong {
  font-weight: 500;
  color: var(--wj-gold-deep);
}

.wj-mission-note {
  font-size: 1.05rem;
  color: var(--wj-body);
  max-width: 36rem;
  margin: 2rem auto 0;
}

@media (max-width: 900px) {
  .wj-atelier-grid { grid-template-columns: 1fr; }
  .wj-preview { position: static; order: -1; max-width: 22rem; margin: 0 auto; width: 100%; }
}

/* ==========================================================
   22. The Journal
   A private book: the desk on the left, the table of contents
   bound on the right, prompts offered like pressed flowers.
   ========================================================== */
.wj-journal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}

.wj-desk-state {
  font-family: var(--wj-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--wj-ink);
  margin-bottom: 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(198, 164, 94, 0.55);
}

.wj-desk textarea { min-height: 16rem; line-height: 1.9; }

.wj-desk-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

.wj-book { position: sticky; top: 2rem; }

.wj-toc {
  background: var(--wj-ivory);
  border: 1px solid var(--wj-gold);
  padding: 0.4rem 0;
  position: relative;
  max-height: 30rem;
  overflow-y: auto;
}

.wj-toc-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(198, 164, 94, 0.35);
}

.wj-toc-row:last-of-type { border-bottom: 0; }

.wj-toc-open {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  background: none;
  border: 0;
  font: inherit;
  text-align: left;
  padding: 0.95rem 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.wj-toc-open:hover { background: var(--wj-cream); }

.wj-toc-title {
  font-family: var(--wj-display);
  font-size: 1.1rem;
  color: var(--wj-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wj-toc-date {
  font-family: var(--wj-label);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wj-quiet);
  flex: none;
}

.wj-toc-remove {
  background: none;
  border: 0;
  border-left: 1px solid rgba(198, 164, 94, 0.35);
  color: var(--wj-quiet);
  font-size: 1.1rem;
  padding: 0 1rem;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.wj-toc-remove:hover { color: var(--wj-umber); background: var(--wj-cream); }

.wj-toc-empty {
  font-style: italic;
  color: var(--wj-quiet);
  text-align: center;
  padding: 2rem 1.5rem;
  margin: 0;
}

.wj-book-note {
  text-align: center;
  margin-top: 1.4rem;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .wj-journal-grid { grid-template-columns: 1fr; }
  .wj-book { position: static; }
}

/* ==========================================================
   23. Poems, profiles, and the Long Tables
   ========================================================== */
.wj-poem-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
  gap: clamp(1.8rem, 4vw, 3rem);
}

.wj-poem {
  background: var(--wj-ivory);
  border: 1px solid var(--wj-gold);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  position: relative;
  text-align: center;
}

.wj-poem::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(198, 164, 94, 0.45);
  pointer-events: none;
}

.wj-room .wj-poem { box-shadow: 0 20px 45px -30px rgba(0, 0, 0, 0.55); }

.wj-poem-title {
  font-family: var(--wj-display);
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 1.1rem;
}

.wj-poem-title a { border-bottom: 0; color: var(--wj-ink); }
.wj-poem-title a:hover { color: var(--wj-gold-deep); }

.wj-poem-lines {
  font-family: var(--wj-body-face);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 2;
  color: var(--wj-body);
  overflow-wrap: break-word;
  margin-bottom: 1.4rem;
}

.wj-poem-by {
  font-family: var(--wj-label);
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--wj-quiet);
  margin-bottom: 1rem;
}

.wj-poem-by a { color: var(--wj-gold-deep); border-bottom: 0; }
.wj-poem-by a:hover { color: var(--wj-gold); }

.wj-poem-date { display: block; margin-top: 0.35rem; }

.wj-love {
  font-family: var(--wj-label);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--wj-umber);
  background: none;
  border: 1px solid rgba(198, 164, 94, 0.55);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.wj-love:hover { border-color: var(--wj-gold-deep); color: var(--wj-gold-deep); }

.wj-love.is-on {
  background: var(--wj-forest);
  color: var(--wj-gold-lit);
  border-color: var(--wj-gold);
}

.wj-love-mark { font-size: 0.95em; }

.wj-seat-note {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--wj-quiet);
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .wj-poem-wall { grid-template-columns: 1fr; }
}

/* ==========================================================
   24. Invitations and lineage
   ========================================================== */
.wj-lineage {
  font-family: var(--wj-label);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wj-quiet);
  margin-top: 1rem;
}

.wj-lineage a { color: var(--wj-gold-deep); border-bottom: 0; }
.wj-lineage a:hover { color: var(--wj-gold); }

/* ==========================================================
   25. The premium journal binding
   The viewport is the cloth cover; every page of the site sits
   on one cream paper sheet with a stitched spine, gilt edges,
   and a ribbon bookmark. The site is the journal.
   ========================================================== */
body { background-color: var(--wj-forest); }

.wj-sheet {
  position: relative;
  max-width: 82rem;
  margin: clamp(0.8rem, 2.5vw, 2.5rem) auto;
  background: var(--wj-ivory);
  border: 1px solid var(--wj-gold);
  box-shadow:
    0 1px 0 rgba(232, 206, 148, 0.35),
    0 30px 80px -30px rgba(20, 34, 30, 0.75),
    inset 26px 0 34px -30px rgba(38, 50, 56, 0.55);
  overflow: clip;
}

/* The stitched spine along the left edge */
.wj-sheet::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 17px;
  width: 1px;
  background-image: repeating-linear-gradient(
    to bottom,
    var(--wj-gold) 0 9px,
    transparent 9px 20px
  );
  opacity: 0.8;
  pointer-events: none;
  z-index: 5;
}

/* The gilt page edges along the right */
.wj-sheet::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 3px;
  width: 7px;
  border-left: 1px solid var(--wj-gold);
  border-right: 1px solid rgba(198, 164, 94, 0.55);
  background: linear-gradient(to right, transparent 45%, rgba(232, 206, 148, 0.5) 50%, transparent 55%);
  pointer-events: none;
  z-index: 5;
}

/* The ribbon bookmark */
.wj-ribbon {
  position: absolute;
  top: -6px;
  right: clamp(2rem, 7vw, 5.5rem);
  width: 26px;
  height: 132px;
  background: var(--wj-emerald);
  border-left: 1px solid var(--wj-gold);
  border-right: 1px solid var(--wj-gold);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 14px), 0 100%);
  box-shadow: 0 10px 18px -10px rgba(20, 34, 30, 0.6);
  z-index: 6;
  pointer-events: none;
}

/* Chapters and milestones: the journey down the page */
.wj-chapter {
  font-family: var(--wj-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--wj-gold-deep);
  margin-bottom: 0.4rem;
  text-align: center;
}

.wj-milestone {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.1rem;
}

.wj-milestone::before {
  content: "";
  width: 1px;
  height: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 0.9rem;
  background-image: repeating-linear-gradient(
    to bottom,
    var(--wj-gold) 0 5px,
    transparent 5px 12px
  );
}

.wj-milestone svg { width: 30px; height: 30px; }

.wj-room .wj-chapter { color: var(--wj-gold-lit); }
.wj-room, .wj-mission { text-align: center; }

/* The tipped-in plate: gold photo corners on the artwork */
.wj-artwork {
  background: var(--wj-cream);
  border: 0;
  padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: 0 14px 34px -20px rgba(38, 50, 56, 0.5);
}

.wj-artwork::before {
  inset: 0;
  border: 0;
  background:
    linear-gradient(135deg, var(--wj-gold) 0 14px, transparent 14.5px) top left,
    linear-gradient(225deg, var(--wj-gold) 0 14px, transparent 14.5px) top right,
    linear-gradient(45deg, var(--wj-gold) 0 14px, transparent 14.5px) bottom left,
    linear-gradient(315deg, var(--wj-gold) 0 14px, transparent 14.5px) bottom right;
  background-size: 34px 34px;
  background-repeat: no-repeat;
}

/* Drop cap: the first letter of the opening line, illuminated */
.wj-dropcap::first-letter {
  font-family: var(--wj-display);
  font-style: normal;
  font-size: 3.1em;
  line-height: 0.78;
  float: left;
  padding: 0.06em 0.12em 0 0;
  color: var(--wj-gold-deep);
}

/* Colophon */
.wj-colophon {
  font-family: var(--wj-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--wj-quiet);
  margin-bottom: 0.9rem;
}

/* Sitting the dark rooms into the page like plates */
.wj-room, .wj-atelier, .wj-viewing { border-left: 0; border-right: 0; }

@media (max-width: 700px) {
  .wj-sheet { margin: 0.5rem; }
  .wj-ribbon { height: 96px; width: 20px; right: 1.4rem; }
}

/* ==========================================================
   26. Joining
   ========================================================== */
.wj-join-form { max-width: 26rem; margin-left: auto; margin-right: auto; }
.wj-hp { position: absolute; left: -9999px; }


/* ==========================================================
   27. The whisper rebind
   White, light, and wispy: the cover pales to linen, the dark
   rooms lift into washes of sage and tan, and the writing sits
   in warm tan ink on near-white paper.
   ========================================================== */
body { background-color: #EFEEE6; }

.wj-sheet {
  box-shadow:
    0 1px 0 rgba(239, 220, 176, 0.5),
    0 24px 60px -30px rgba(92, 107, 99, 0.35),
    inset 22px 0 30px -28px rgba(92, 107, 99, 0.25);
}

/* The dark rooms become washes of light */
.wj-room,
.wj-atelier,
.wj-viewing {
  background: var(--wj-plaster);
}

.wj-room h2, .wj-room h3 { color: var(--wj-ink); }
.wj-room p { color: var(--wj-body); }
.wj-room .wj-eyebrow, .wj-room .wj-chapter { color: var(--wj-gold-deep); }
.wj-room .wj-poem { box-shadow: 0 16px 36px -26px rgba(92, 107, 99, 0.4); }

.wj-viewing-after a { color: var(--wj-gold-deep); border-bottom-color: rgba(176, 143, 85, 0.5); }
.wj-viewing-after a:hover { color: var(--wj-umber); }

.wj-button { color: #FDFCF8; }
.wj-occ.is-on, .wj-love.is-on { color: #FDFCF8; }

.wj-card, .wj-seal-face { box-shadow: 0 18px 44px -26px rgba(92, 107, 99, 0.4); }


/* ==========================================================
   28. Replies and table talk
   ========================================================== */
.wj-replies { margin-top: 2.5rem; }
.wj-reply-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.wj-reply-list ol.children { list-style: none; margin: 0.8rem 0 0 1.6rem; padding: 0; }
.wj-reply-list .comment { border-top: 1px solid rgba(211, 179, 117, 0.5); padding: 1.2rem 0; }
.wj-reply-list .comment-author { font-family: var(--wj-display); font-size: 1.05rem; color: var(--wj-ink); }
.wj-reply-list .comment-author .says { display: none; }
.wj-reply-list .comment-metadata { font-family: var(--wj-label); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; }
.wj-reply-list .comment-metadata a { color: var(--wj-quiet); border-bottom: 0; }
.wj-reply-list .comment-content { font-size: 1.05rem; }
.wj-reply-list .reply a { font-family: var(--wj-label); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; }
.comment-respond .comment-reply-title { font-family: var(--wj-display); font-size: 1.4rem; font-style: italic; }
.comment-respond textarea, .comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"] {
  width: 100%; font-family: var(--wj-body-face); font-size: 1.1rem; color: var(--wj-ink);
  background: var(--wj-ivory); border: 1px solid var(--wj-gold); padding: 0.9rem 1rem; border-radius: 0;
}
.comment-respond .form-submit input {
  font-family: var(--wj-label); font-size: 0.78rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: #FDFCF8; background: var(--wj-forest); border: 1px solid var(--wj-gold); padding: 1rem 2.2rem; cursor: pointer;
}


/* ==========================================================
   29. Mastheads and wayfinding
   ========================================================== */
.wj-masthead-stats {
  font-family: var(--wj-label);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--wj-quiet);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin-top: 1.2rem;
  padding: 0.55rem 1.2rem;
  border: 1px solid rgba(211, 179, 117, 0.55);
  border-radius: 999px;
}

.wj-masthead-stats span {
  font-family: var(--wj-display);
  font-size: 1.15rem;
  color: var(--wj-gold-deep);
  letter-spacing: 0;
}

.wj-nav .current-menu-item > a,
.wj-nav .current_page_item > a,
.wj-nav a[aria-current] {
  border-bottom-color: var(--wj-gold);
  color: var(--wj-gold-deep);
}

.wj-toc-empty { padding: 3rem 1.5rem; }


/* ==========================================================
   30. The honest modern pass
   Ornament out, content forward. One border where there were
   three, half the vertical air, real reading contrast, type at
   a working scale. The brand stays; the ceremony steps back.
   ========================================================== */
:root {
  --wj-section: clamp(2.75rem, 6vw, 4.5rem);
  --wj-ink: #3E4A43;
  --wj-body: #575447;
}

body { font-size: 1.0625rem; background: var(--wj-ivory); }

h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

.wj-lede, .wj-hero-copy .wj-lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); }

/* The book steps back: clean sheet, no cover, no ribbon, no stitching */
.wj-sheet {
  max-width: none;
  margin: 0;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.wj-sheet::before, .wj-sheet::after, .wj-ribbon { display: none; }

/* One border, not three */
.wj-frame::before,
.wj-artwork::before,
.wj-card::before,
.wj-preview-card::before,
.wj-piece-frame::before,
.wj-seal-face::before,
.wj-button::after { display: none; }

.wj-artwork { border: 1px solid var(--wj-gold); }

/* Quieter labels */
.wj-eyebrow { letter-spacing: 0.18em; font-size: 0.7rem; margin-bottom: 1rem; }
.wj-eyebrow::before, .wj-eyebrow::after { width: 1.4em; }
.wj-nav a { letter-spacing: 0.12em; font-size: 0.8rem; }
.wj-brand-name { letter-spacing: 0.08em; font-size: 1.35rem; }
.wj-chapter { font-size: 0.95rem; }
.wj-milestone::before { height: 1.4rem; margin-bottom: 0.6rem; }
.wj-milestone svg { width: 24px; height: 24px; }

.wj-header-inner { padding: 1rem var(--wj-gutter); }
.wj-header::after { display: none; }

.wj-hero { padding: clamp(2rem, 5vw, 3.5rem) 0 var(--wj-section); }

/* Working components: compact, single-bordered, left-reading */
.wj-poem { padding: 1.5rem 1.6rem; text-align: left; }
.wj-poem-title { font-size: 1.25rem; margin-bottom: 0.8rem; }
.wj-poem-lines { font-size: 1.02rem; line-height: 1.85; margin-bottom: 1.1rem; }
.wj-poem-by { margin-bottom: 0.8rem; }

.wj-toc-open { padding: 0.8rem 1rem; }
.wj-toc-title { font-size: 1.02rem; }

.wj-button { padding: 0.85rem 1.8rem; letter-spacing: 0.16em; font-size: 0.76rem; }
.wj-occ { padding: 0.5rem 0.9rem; letter-spacing: 0.12em; }

.wj-field input[type="text"],
.wj-field input[type="email"],
.wj-field input[type="password"],
.wj-field textarea,
.wj-field select { font-size: 1.05rem; padding: 0.8rem 0.95rem; }

.wj-field label { letter-spacing: 0.16em; margin-bottom: 0.5rem; }

.wj-atelier-inner, .wj-atelier-inner--wide { padding-top: var(--wj-section); padding-bottom: var(--wj-section); }

.wj-desk-state { font-size: 1.3rem; margin-bottom: 1.2rem; padding-bottom: 0.8rem; }

.wj-preview-label { letter-spacing: 0.18em; }

.wj-footer { padding: 2.5rem 0 2.2rem; }
.wj-footer::before { display: none; }
.wj-footer-line { font-size: 1.05rem; margin-bottom: 0.5rem; }
.wj-colophon { font-size: 0.9rem; margin-bottom: 0.5rem; }
.wj-footer-note { letter-spacing: 0.16em; font-size: 0.62rem; }

.wj-masthead-stats { margin-top: 0.9rem; padding: 0.45rem 1rem; letter-spacing: 0.18em; }
.wj-masthead-stats span { font-size: 1.05rem; }

/* The card viewing keeps its calm, lighter frame */
.wj-viewing { padding: clamp(2rem, 5vw, 3.5rem) var(--wj-gutter); }

/* ==========================================================
   31. The bold pass: dark anchor, rich gold, contrast rhythm,
   typographic extremes
   ========================================================== */
:root {
  --wj-ink: #1E2B26;              /* deep pine ink, the anchor */
  --wj-body: #4A4A3F;
  --wj-gold: #C99B3F;             /* confident amber gold */
  --wj-gold-lit: #E3B85C;
  --wj-gold-deep: #A87E2C;
  --wj-dark: #1E2B26;
  --wj-dark-2: #24332D;
  --wj-on-dark: #F6F3E7;
  --wj-on-dark-soft: rgba(246, 243, 231, 0.78);
}

::selection { background: var(--wj-gold-lit); color: var(--wj-dark); }

/* 5. One enormous editorial moment per page */
.wj-hero-title,
.wj-placard-heading {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.wj-placard-heading { font-size: clamp(2rem, 5vw, 3.2rem); }

h1 { color: var(--wj-ink); }

/* 2. The accent, rich and rare: the primary button is gold */
.wj-button {
  background: var(--wj-gold);
  color: var(--wj-dark);
  border-color: var(--wj-gold-deep);
  font-weight: 400;
}

.wj-button:hover { background: var(--wj-gold-lit); color: var(--wj-dark); }

.wj-button--ghost {
  background: transparent;
  color: var(--wj-ink);
  border-color: var(--wj-ink);
}

.wj-button--ghost:hover { background: var(--wj-ink); color: var(--wj-on-dark); border-color: var(--wj-ink); }

.wj-occ.is-on, .wj-love.is-on {
  background: var(--wj-gold);
  color: var(--wj-dark);
  border-color: var(--wj-gold-deep);
}

/* 3. Contrast rhythm: dark bands between the paper */
.wj-room,
.wj-viewing,
.wj-footer {
  background: var(--wj-dark);
}

.wj-room h2, .wj-room h3 { color: var(--wj-on-dark); }
.wj-room p, .wj-room .wj-poem-lines { color: var(--wj-on-dark-soft); }
.wj-room .wj-eyebrow, .wj-room .wj-chapter { color: var(--wj-gold-lit); }
.wj-room .wj-poem { background: var(--wj-ivory); }
.wj-room .wj-poem-lines { color: var(--wj-body); }
.wj-room .wj-poem h3, .wj-room .wj-poem-title, .wj-room .wj-poem-title a { color: var(--wj-ink); }

.wj-viewing-after a { color: var(--wj-gold-lit); border-bottom-color: rgba(227, 184, 92, 0.5); }
.wj-viewing-after a:hover { color: var(--wj-on-dark); }

.wj-footer { border-top: 1px solid var(--wj-gold-deep); }
.wj-footer-line { color: var(--wj-on-dark); }
.wj-colophon { color: var(--wj-on-dark-soft); }
.wj-footer-note { color: rgba(246, 243, 231, 0.55); }

/* The dark rooms breathe against the paper */
.wj-room { border-top: 1px solid var(--wj-gold-deep); border-bottom: 1px solid var(--wj-gold-deep); }

/* 1. The anchor in the small places */
.wj-nav a { color: var(--wj-ink); }
.wj-brand-name, .wj-brand-name span { color: var(--wj-ink); }
.wj-brand-name span { color: var(--wj-gold-deep); }
.wj-desk-state { color: var(--wj-ink); }
.wj-toc-title { color: var(--wj-ink); }


/* ==========================================================
   32. Portraits and the fuller profile
   ========================================================== */
.wj-portrait {
  display: inline-block;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--wj-gold);
  box-shadow: 0 0 0 6px var(--wj-ivory), 0 0 0 7px rgba(201, 155, 63, 0.4), 0 14px 30px -16px rgba(30, 43, 38, 0.4);
}

.wj-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }

.wj-portrait--small { width: 72px; height: 72px; margin-bottom: 0.8rem; }

.wj-profile-meta {
  font-family: var(--wj-label);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wj-quiet);
  margin: 0.2rem 0 0.8rem;
}

.wj-held-question {
  font-family: var(--wj-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-style: italic;
  color: var(--wj-ink);
  margin: 2.4rem auto 0;
  max-width: 34rem;
}

.wj-field input[type="file"] {
  font-family: var(--wj-label);
  font-size: 0.8rem;
  color: var(--wj-body);
  padding: 0.5rem 0;
}

/* ==========================================================
   33. The Triangle Therapist register, verbatim
   The exact tokens from triangle-therapist v1.99.94: deep teal
   ink, true teal actions, champagne gold, water tints, and the
   proven readability formula, Jost for reading, Cormorant for
   display, dark teal text on ivory.
   ========================================================== */
:root {
  --wj-ivory: #FAF9F4;
  --wj-cream: #F6F2E6;
  --wj-plaster: #F3EDDD;
  --wj-forest: #1F6E62;        /* true teal, actions */
  --wj-emerald: #175A50;       /* teal hover */
  --wj-midnight: #123F38;      /* deep teal ink */
  --wj-lavender: #DCEFEA;      /* water */
  --wj-mauve: #CFE8E1;         /* water deep */
  --wj-umber: #7D6330;         /* champagne text */
  --wj-gold: #C6A15B;          /* champagne */
  --wj-gold-lit: #E8D3A4;
  --wj-gold-deep: #A08040;
  --wj-ink: #123F38;
  --wj-body: #3E6A61;
  --wj-quiet: #5C6F66;
  --wj-dark: #123F38;
  --wj-dark-2: #0E332D;
  --wj-on-dark: #FAF9F4;
  --wj-on-dark-soft: rgba(250, 249, 244, 0.82);
  --wj-body-face: 'Jost', 'Avenir Next', 'Segoe UI', sans-serif;
}

body { font-family: var(--wj-body-face); font-size: 1.03rem; line-height: 1.65; }

.wj-lede, .wj-hero-copy .wj-lede { font-family: var(--wj-body-face); font-style: normal; }

.wj-placard-message, .wj-poem-lines, .wj-preview-message { font-family: var(--wj-display); }

/* Actions in true teal, champagne reserved for accents */
.wj-button { background: var(--wj-forest); color: #FFFFFF; border-color: var(--wj-forest); }
.wj-button:hover { background: var(--wj-emerald); color: #FFFFFF; }
.wj-button--ghost { background: transparent; color: var(--wj-forest); border-color: var(--wj-forest); }
.wj-button--ghost:hover { background: var(--wj-forest); color: #FFFFFF; }

.wj-occ.is-on, .wj-love.is-on { background: var(--wj-forest); color: #FFFFFF; border-color: var(--wj-forest); }
.wj-occ:hover, .wj-love:hover { border-color: var(--wj-forest); color: var(--wj-forest); }

a { color: var(--wj-forest); border-bottom-color: rgba(198, 161, 91, 0.6); }
a:hover { color: var(--wj-emerald); }

/* Hairlines soften to the TT recipe */
.wj-hairline, .wj-divider::before, .wj-divider::after, .wj-eyebrow::before, .wj-eyebrow::after { background: rgba(160, 128, 64, 0.4); }
.wj-toc, .wj-frame, .wj-poem, .wj-card, .wj-preview-card, .wj-artwork, .wj-piece-frame, .wj-seal-face,
.wj-field input[type="text"], .wj-field input[type="email"], .wj-field input[type="password"],
.wj-field textarea, .wj-field select, .wj-minted-url { border-color: rgba(160, 128, 64, 0.35); }
.wj-toc-row, .wj-toc-remove { border-color: rgba(160, 128, 64, 0.22); }
.wj-header { border-bottom-color: rgba(160, 128, 64, 0.35); }

/* Soft card geometry from TT */
.wj-poem, .wj-card, .wj-preview-card, .wj-frame, .wj-toc, .wj-seal-face { border-radius: 14px; overflow: hidden; }
.wj-button, .wj-occ, .wj-field input[type="text"], .wj-field input[type="email"], .wj-field input[type="password"],
.wj-field textarea, .wj-field select, .wj-minted-url { border-radius: 4px; }

/* Water tint for the raised rooms */
.wj-atelier { background: #EAF4F0; border-color: rgba(160, 128, 64, 0.3); }
.wj-chosen, .wj-preview-art { background: var(--wj-ivory); }

/* Dark bands stay, in the deep forest ink */
.wj-room, .wj-viewing, .wj-footer { background: var(--wj-dark); }
.wj-room { border-color: rgba(198, 161, 91, 0.45); }
.wj-nav a, .wj-brand-name { color: var(--wj-ink); }
.wj-brand-name span { color: var(--wj-gold-deep); }
.wj-eyebrow, .wj-field label { color: var(--wj-umber); }
.wj-chapter { color: var(--wj-gold-deep); }

/* ==========================================================
   34. The Writers directory
   ========================================================== */
.wj-writers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1.5rem;
}

.wj-writer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid rgba(160, 128, 64, 0.3);
  border-radius: 14px;
  padding: 1.8rem 1.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.wj-writer:hover {
  transform: translateY(-4px);
  border-color: var(--wj-forest);
  box-shadow: 0 18px 36px -22px rgba(18, 63, 56, 0.35);
}

.wj-writer-name { font-family: var(--wj-display); font-size: 1.3rem; color: var(--wj-ink); }
.wj-writer-line { font-size: 0.92rem; color: var(--wj-body); }
.wj-writer-themes { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wj-umber); }
.wj-writer-count { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wj-quiet); margin-top: 0.3rem; }


/* ==========================================================
   35. The story register: clay for the heart
   Teal for calm, champagne for warmth, and TT's own clay for
   feeling, so the palette speaks to every audience: trust,
   value, and heart in balance.
   ========================================================== */
:root { --wj-clay: #B0664A; --wj-clay-deep: #94523A; }

.wj-love.is-on { background: var(--wj-clay); border-color: var(--wj-clay-deep); color: #FFFFFF; }
.wj-love:hover { border-color: var(--wj-clay); color: var(--wj-clay); }
.wj-held-question { color: var(--wj-clay-deep); }
.wj-hero-title em { color: var(--wj-clay-deep); font-style: italic; }
.wj-mission-lines strong { color: var(--wj-clay-deep); }

/* ==========================================================
   36. The living pages
   Arrival choreography, scroll cascades, lines that draw
   themselves, feelings that open, and touch physics.
   ========================================================== */

/* Arrival: the hero cascades in */
@keyframes wjRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes wjSettle { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: none; } }

body.wj-motion.wj-arrived .wj-hero-copy > * { animation: wjRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
body.wj-motion.wj-arrived .wj-hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
body.wj-motion.wj-arrived .wj-hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
body.wj-motion.wj-arrived .wj-hero-copy > *:nth-child(3) { animation-delay: 0.3s; }
body.wj-motion.wj-arrived .wj-hero-copy > *:nth-child(4) { animation-delay: 0.44s; }
body.wj-motion.wj-arrived .wj-hero-art, body.wj-motion.wj-arrived .wj-artwork { animation: wjSettle 1s cubic-bezier(0.22, 1, 0.36, 1) both 0.2s; }

/* Scroll cascade: revealed sections stagger their children */
body.wj-motion [data-wj-reveal]:not(.is-revealed) > * { opacity: 0; transform: translateY(18px); }
[data-wj-reveal] > * { transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1); }
[data-wj-reveal].is-revealed > *, .no-js [data-wj-reveal] > * { opacity: 1; transform: none; }
[data-wj-reveal].is-revealed > *:nth-child(2) { transition-delay: 0.1s; }
[data-wj-reveal].is-revealed > *:nth-child(3) { transition-delay: 0.2s; }
[data-wj-reveal].is-revealed > *:nth-child(4) { transition-delay: 0.3s; }
[data-wj-reveal].is-revealed > *:nth-child(5) { transition-delay: 0.4s; }
[data-wj-reveal].is-revealed > *:nth-child(6) { transition-delay: 0.5s; }

/* Lines that draw themselves */
body.wj-motion [data-wj-reveal]:not(.is-revealed) .wj-eyebrow::before, body.wj-motion [data-wj-reveal]:not(.is-revealed) .wj-eyebrow::after { transform: scaleX(0); }
.wj-eyebrow::before, .wj-eyebrow::after { transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s; }
.is-revealed .wj-eyebrow::before, .wj-hero .wj-eyebrow::before { transform-origin: right center; transform: scaleX(1); }
.is-revealed .wj-eyebrow::after, .wj-hero .wj-eyebrow::after { transform-origin: left center; transform: scaleX(1); }
body.wj-motion [data-wj-reveal]:not(.is-revealed) .wj-milestone::before { transform: scaleY(0); }
.wj-milestone::before { transform-origin: top center; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.is-revealed .wj-milestone::before { transform: scaleY(1); }

/* The feelings band */
.wj-feelings { background: #EAF4F0; border-top: 1px solid rgba(160, 128, 64, 0.3); border-bottom: 1px solid rgba(160, 128, 64, 0.3); }

.wj-feeling-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 2rem; }

.wj-feeling {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--wj-body-face); font-size: 0.95rem; letter-spacing: 0.06em;
  color: var(--wj-ink); background: #FFFFFF;
  border: 1px solid rgba(160, 128, 64, 0.35); border-radius: 999px;
  padding: 0.7rem 1.3rem; cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s, border-color 0.2s, background 0.2s;
}

.wj-feeling-seed { width: 9px; height: 9px; border-radius: 50%; background: var(--wj-gold); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s; }

.wj-feeling:hover { transform: translateY(-3px); border-color: var(--wj-forest); box-shadow: 0 12px 24px -14px rgba(18, 63, 56, 0.35); }
.wj-feeling:hover .wj-feeling-seed { transform: scale(1.5); }
.wj-feeling.is-on { background: var(--wj-forest); color: #FFFFFF; border-color: var(--wj-forest); }
.wj-feeling.is-on .wj-feeling-seed { background: var(--wj-clay); transform: scale(1.6); }

/* The bloom: a feeling opening */
.wj-bloom { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.wj-bloom.is-open { grid-template-rows: 1fr; }
.wj-bloom-inner { overflow: hidden; }

.wj-bloom.is-open .wj-bloom-inner { padding: 2.2rem 1.5rem 0.5rem; }
.wj-bloom-word { font-family: var(--wj-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-style: italic; color: var(--wj-clay-deep); opacity: 0; transform: translateY(12px); transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s; }
.wj-bloom-line { max-width: 30rem; margin: 0.8rem auto 0; color: var(--wj-body); opacity: 0; transform: translateY(12px); transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.28s; }
.wj-bloom-doors { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; opacity: 0; transform: translateY(12px); transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.4s; }
.wj-bloom.is-open .wj-bloom-word, .wj-bloom.is-open .wj-bloom-line, .wj-bloom.is-open .wj-bloom-doors { opacity: 1; transform: none; }

/* Touch physics everywhere */
.wj-button, .wj-writer, .wj-poem, .wj-toc-open, .wj-occ, .wj-love, .wj-piece-frame {
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.18s, border-color 0.18s, background 0.18s, color 0.18s;
}
.wj-button:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(18, 63, 56, 0.45); }
.wj-button:active { transform: translateY(0); box-shadow: 0 6px 12px -8px rgba(18, 63, 56, 0.4); }
.wj-poem:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(18, 63, 56, 0.3); border-color: rgba(31, 110, 98, 0.5); }
.wj-toc-open:hover { background: #EAF4F0; }

/* Stillness for those who ask for it */
@media (prefers-reduced-motion: reduce) {
  body.wj-motion.wj-arrived .wj-hero-copy > *, body.wj-motion.wj-arrived .wj-hero-art, body.wj-motion.wj-arrived .wj-artwork { animation: none; }
  [data-wj-reveal] > * { opacity: 1; transform: none; transition: none; }
  .wj-eyebrow::before, .wj-eyebrow::after, .wj-milestone::before { transform: none; transition: none; }
  .wj-bloom { transition: none; }
  .wj-bloom-word, .wj-bloom-line, .wj-bloom-doors { transition: none; opacity: 1; transform: none; }
}


/* ==========================================================
   37. The plates and the shape-shifting doors
   ========================================================== */
.wj-plate-figure { max-width: 620px; margin: 0 auto 2.2rem; }
.wj-plate-figure svg { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid rgba(160,128,64,0.35); box-shadow: 0 24px 48px -28px rgba(18,63,56,0.35); }

.wj-button {
  font-size: 0.95rem;
  padding: 1.15rem 2.6rem;
  border-radius: 999px;
  transition: transform 0.22s cubic-bezier(0.34,1.3,0.64,1), border-radius 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.22s, background 0.22s, color 0.22s;
}

.wj-button:hover { border-radius: 10px; transform: translateY(-3px) scale(1.02); }
.wj-button:active { border-radius: 6px; transform: translateY(-1px) scale(0.99); }
.wj-feeling { font-size: 1.02rem; padding: 0.9rem 1.6rem; }


/* ==========================================================
   38. Fail-safe motion
   Content is visible by default. Motion classes only hide
   things when the script has proven itself; a safety timer
   reveals everything regardless.
   ========================================================== */
body:not(.wj-motion) [data-wj-reveal] > * { opacity: 1 !important; transform: none !important; }
body:not(.wj-motion) .wj-eyebrow::before, body:not(.wj-motion) .wj-eyebrow::after,
body:not(.wj-motion) .wj-milestone::before { transform: none !important; }

/* ==========================================================
   39. Sacred Texts
   ========================================================== */
.wj-verse-search { display: flex; gap: 0.7rem; max-width: 34rem; margin: 2.4rem auto 0; }
.wj-verse-search input[type="search"] {
  flex: 1; font-family: var(--wj-body-face); font-size: 1rem; color: var(--wj-ink);
  background: #FFFFFF; border: 1px solid rgba(160, 128, 64, 0.4); border-radius: 999px; padding: 0.9rem 1.4rem;
}
.wj-verse-search input[type="search"]:focus { outline: none; border-color: var(--wj-forest); }

.wj-verses { display: grid; gap: 1.4rem; margin-top: 2.6rem; }
.wj-verse { background: #FFFFFF; border: 1px solid rgba(160, 128, 64, 0.3); border-radius: 14px; padding: 2rem 2.2rem; text-align: center; }
.wj-verse-text { font-family: var(--wj-display); font-size: clamp(1.2rem, 2.4vw, 1.55rem); font-style: italic; line-height: 1.7; color: var(--wj-ink); }
.wj-verse-ref { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wj-umber); margin-top: 1rem; }
.wj-verse-doors { margin-top: 1.2rem; }

/* ==========================================================
   40. The bound journal: spine, cover, and the calendar of days
   ========================================================== */
.wj-bound {
  position: relative;
  display: flex;
  max-width: 30rem;
  margin: 0 auto 1.2rem;
  border-radius: 6px 14px 14px 6px;
  overflow: hidden;
  box-shadow: 0 26px 50px -26px rgba(18, 63, 56, 0.5), 0 2px 0 rgba(255, 255, 255, 0.4) inset;
}

.wj-bound-spine {
  width: 26px;
  background: #123F38;
  background-image: repeating-linear-gradient(to bottom, rgba(198, 161, 91, 0.9) 0 8px, transparent 8px 22px);
  background-size: 2px 100%;
  background-position: center;
  background-repeat: no-repeat;
  border-right: 2px solid #A08040;
}

.wj-bound-cover {
  flex: 1;
  min-height: 200px;
  background: #1F6E62 center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.6rem;
}

.wj-bound-plate {
  display: block;
  text-align: center;
  background: rgba(250, 249, 244, 0.92);
  border: 1px solid #A08040;
  border-radius: 4px;
  padding: 0.7rem 1.6rem;
}

.wj-bound-title { display: block; font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: #7D6330; }
.wj-bound-name { display: block; font-family: var(--wj-display); font-size: 1.4rem; font-style: italic; color: #123F38; }

.wj-cover-pick { max-width: 30rem; margin: 0 auto 2.2rem; text-align: center; }
.wj-cover-pick summary { cursor: pointer; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wj-umber); }
.wj-cover-row { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 1rem; }
.wj-cover-swatch { width: 58px; height: 58px; border-radius: 8px; overflow: hidden; border: 2px solid rgba(160, 128, 64, 0.4); padding: 0; cursor: pointer; background: #1F6E62; transition: transform 0.2s, border-color 0.2s; }
.wj-cover-swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wj-cover-swatch:hover { transform: translateY(-3px) scale(1.05); border-color: var(--wj-forest); }
.wj-cover-swatch--plain { width: auto; padding: 0 0.9rem; color: #FAF9F4; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* The calendar of written days */
.wj-cal { background: #FFFFFF; border: 1px solid rgba(160, 128, 64, 0.3); border-radius: 14px; padding: 1.2rem 1.2rem 0.9rem; }
.wj-cal-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--wj-display); font-size: 1.15rem; color: var(--wj-ink); margin-bottom: 0.8rem; }
.wj-cal-head a { border-bottom: 0; padding: 0 0.4rem; }
.wj-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.wj-cal-w { font-size: 0.6rem; letter-spacing: 0.1em; color: var(--wj-quiet); padding: 0.3rem 0; }
.wj-cal-day { position: relative; font-family: var(--wj-body-face); font-size: 0.82rem; color: var(--wj-quiet); padding: 0.45rem 0 0.65rem; border: 0; background: none; border-radius: 6px; }
button.wj-cal-day.has-page { color: var(--wj-ink); cursor: pointer; background: #EAF4F0; transition: background 0.2s, transform 0.2s; }
button.wj-cal-day.has-page:hover { background: #DCEFEA; transform: translateY(-2px); }
.wj-cal-dot { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--wj-gold); }
.wj-cal-note { font-size: 0.72rem; font-style: italic; color: var(--wj-quiet); text-align: center; margin-top: 0.7rem; }

/* ==========================================================
   41. The opening ritual and the chosen pages
   ========================================================== */
.wj-bound { border: 0; padding: 0; cursor: pointer; width: 100%; text-align: inherit; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s; }
.wj-bound:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: 0 34px 60px -28px rgba(18, 63, 56, 0.55); }
.wj-bound-hint { text-align: center; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wj-umber); margin: 1rem 0 0; }

/* The body of the book: closed until the cover is touched (JS-proven only) */
body.wj-book-closed-ready [data-wj-journal]:not(.is-book-open) .wj-book-body { grid-template-rows: 0fr; }
.wj-book-body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.wj-book-body-inner { overflow: hidden; }
[data-wj-journal].is-book-open .wj-book-body { grid-template-rows: 1fr; }
[data-wj-journal].is-book-open [data-wj-bound-hint] { display: none; }
[data-wj-journal].is-book-open .wj-bound { max-width: 22rem; }
.wj-bound { transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s, max-width 0.6s cubic-bezier(0.22,1,0.36,1); }

/* The papers */
.wj-paper-row { display: flex; gap: 0.5rem; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 1.1rem; }
.wj-paper-label { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wj-umber); }
.wj-paper-chip { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 999px; padding: 0.5rem 1rem; cursor: pointer; border: 1px solid rgba(160, 128, 64, 0.5); transition: transform 0.2s; }
.wj-paper-chip:hover { transform: translateY(-2px); }
.wj-paper-chip--ivory { background: #FAF9F4; color: #123F38; }
.wj-paper-chip--vintage { background: #E9D8B8; color: #4A3826; }
.wj-paper-chip--night { background: #1E2B26; color: #E8DFC8; }

/* Vintage brown pages */
.wj-paper-vintage .wj-desk { background: #F1E4C8; border: 1px solid #C9A972; border-radius: 14px; padding: 1.8rem; }
.wj-paper-vintage .wj-desk .wj-field input[type="text"],
.wj-paper-vintage .wj-desk .wj-field textarea { background: #EBDCBB; border-color: #C9A972; color: #4A3826; font-family: var(--wj-display); font-size: 1.15rem; }
.wj-paper-vintage .wj-desk .wj-field label, .wj-paper-vintage .wj-desk .wj-desk-state { color: #7D5F2E; }
.wj-paper-vintage .wj-desk .wj-count { color: #8A6F42; }

/* Night pages */
.wj-paper-night .wj-desk { background: #1E2B26; border: 1px solid #3E5248; border-radius: 14px; padding: 1.8rem; }
.wj-paper-night .wj-desk .wj-field input[type="text"],
.wj-paper-night .wj-desk .wj-field textarea { background: #24332D; border-color: #3E5248; color: #E8DFC8; font-family: var(--wj-display); font-size: 1.15rem; }
.wj-paper-night .wj-desk .wj-field label, .wj-paper-night .wj-desk .wj-desk-state { color: #C6A15B; }
.wj-paper-night .wj-desk .wj-count, .wj-paper-night .wj-desk .wj-occasions .wj-occ { color: #A8B5AC; }
.wj-paper-night .wj-desk .wj-occ { background: #24332D; border-color: #3E5248; }
.wj-paper-night .wj-desk .wj-occ.is-on { background: #C6A15B; color: #1E2B26; }

@media (prefers-reduced-motion: reduce) {
  .wj-book-body, .wj-bound { transition: none; }
}

/* ==========================================================
   42. The life-size journal and the real page
   The cover stands portrait at the size of a small journal.
   The desk becomes a true vintage page: ruled lines, invisible
   fields, ink chosen by hand. No boxes, only paper.
   ========================================================== */

/* Ink and paper variables per member choice */
.wj-journal { --jpaper: #FBF7EC; --jline: rgba(31, 110, 98, 0.18); --jink: #1F6E62; --jsoft: #7D6330; }
.wj-journal.wj-ink-sepia { --jink: #6B4A2F; --jline: rgba(107, 74, 47, 0.2); }
.wj-journal.wj-ink-charcoal { --jink: #33393B; --jline: rgba(51, 57, 59, 0.18); }
.wj-journal.wj-ink-plum { --jink: #5E4157; --jline: rgba(94, 65, 87, 0.18); }
.wj-journal.wj-paper-vintage { --jpaper: #F1E4C8; --jsoft: #8A6F42; }
.wj-journal.wj-paper-night { --jpaper: #1E2B26; --jsoft: #C6A15B; }
.wj-journal.wj-paper-night { --jline: rgba(232, 223, 200, 0.14); }
.wj-journal.wj-paper-night.wj-ink-teal { --jink: #9CCFC4; }
.wj-journal.wj-paper-night.wj-ink-sepia { --jink: #D9BC8C; }
.wj-journal.wj-paper-night.wj-ink-charcoal { --jink: #D4DAD6; }
.wj-journal.wj-paper-night.wj-ink-plum { --jink: #D3AFC9; }

/* The cover, life-size and standing */
.wj-bound { max-width: 24rem; }
.wj-bound-cover { min-height: 520px; aspect-ratio: 5 / 7; }
[data-wj-journal].is-book-open .wj-bound { max-width: 15rem; }
[data-wj-journal].is-book-open .wj-bound-cover { min-height: 300px; }

/* The page itself: paper, not a box */
.wj-paper-ivory .wj-desk, .wj-paper-vintage .wj-desk, .wj-paper-night .wj-desk {
  background: var(--jpaper);
  border: 1px solid rgba(160, 128, 64, 0.35);
  border-radius: 4px 14px 14px 4px;
  padding: 2.4rem 2.6rem 2.6rem 3.2rem;
  position: relative;
  box-shadow: 0 22px 44px -26px rgba(18, 63, 56, 0.4), inset 14px 0 22px -18px rgba(18, 63, 56, 0.25);
}

/* the margin line of a real notebook, journal paper only */
.wj-journal .wj-desk::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2.3rem;
  width: 1px;
  background: rgba(176, 102, 74, 0.4);
}

/* fields dissolve into the page */
.wj-journal .wj-desk .wj-field input[type="text"],
.wj-journal .wj-desk .wj-field textarea,
.wj-journal .wj-desk .wj-field select {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0.2rem 0;
  color: var(--jink);
  font-family: var(--wj-display);
  font-size: 1.35rem;
  line-height: 2.05rem;
}

.wj-journal .wj-desk .wj-field input[type="text"]:focus,
.wj-journal .wj-desk .wj-field textarea:focus { outline: none; }

.wj-journal .wj-desk .wj-field input[name="title"] {
  font-size: 1.9rem;
  font-style: italic;
  border-bottom: 1px solid var(--jline);
}

/* ruled lines under the writing, matching the line height exactly */
.wj-lines-ruled .wj-desk .wj-field textarea {
  background-image: repeating-linear-gradient(to bottom, transparent 0 calc(2.05rem - 1px), var(--jline) calc(2.05rem - 1px) 2.05rem);
  background-attachment: local;
  min-height: 22rem;
}

.wj-lines-plain .wj-desk .wj-field textarea { min-height: 22rem; }

/* labels become small pencil notes in the margin voice */
.wj-journal .wj-desk .wj-field label,
.wj-journal .wj-desk .wj-desk-state { color: var(--jsoft); }
.wj-journal .wj-desk .wj-count { color: var(--jsoft); }
.wj-journal .wj-desk .wj-desk-state { border-bottom: 0; font-style: italic; }

/* deckled right edge */
.wj-journal .wj-desk::after {
  content: "";
  position: absolute;
  top: 8px; bottom: 8px; right: 3px; width: 5px;
  border-left: 1px solid rgba(160, 128, 64, 0.35);
  opacity: 0.7;
}

.wj-ink-chip { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.8); box-shadow: 0 0 0 1px rgba(160,128,64,0.5); cursor: pointer; transition: transform 0.2s; }
.wj-ink-chip:hover { transform: scale(1.2); }

/* ==========================================================
   43. The whole entry, unclipped
   ========================================================== */
.wj-entry {
  max-width: 40rem;
  margin: 2.4rem auto 0;
  background: #FFFFFF;
  border: 1px solid rgba(160, 128, 64, 0.3);
  border-radius: 14px;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  font-family: var(--wj-display);
  font-size: 1.18rem;
  line-height: 1.95;
  color: var(--wj-ink);
  overflow-wrap: break-word;
}

/* Radius without clipping anywhere content lives */
.wj-poem, .wj-card, .wj-preview-card, .wj-frame, .wj-toc, .wj-seal-face { overflow: visible; }

/* ==========================================================
   44. Locks and linked writers
   ========================================================== */
.wj-lock { display: inline-flex; align-items: center; color: var(--wj-quiet); margin-right: 0.55rem; flex: none; }
.wj-lock.is-open { color: var(--wj-forest); }
.wj-lock.is-open .wj-lock-shackle { transform: translateX(3.5px) rotate(24deg); transform-origin: 11px 7px; }
.wj-lock svg { display: block; }
.wj-lock-shackle { transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1); }

.wj-toc-open { display: flex; align-items: center; }
.wj-toc-open .wj-toc-title { flex: 1; }

.wj-toc-row--split { display: flex; align-items: center; }
.wj-toc-row--split .wj-toc-open { flex: 1; }
.wj-toc-author { display: inline-flex; align-items: center; gap: 0.5rem; border-bottom: 0; padding: 0.6rem 1rem; font-size: 0.85rem; color: var(--wj-forest); white-space: nowrap; }
.wj-toc-author img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 1px solid var(--wj-gold); }
.wj-toc-author:hover span { color: var(--wj-emerald); }

/* ==========================================================
   45. The social profile: white, banner-led, its own room
   ========================================================== */
body.wj-profile-page, body.wj-profile-page .wj-sheet { background: #FFFFFF; }
body.wj-profile-page .wj-section { padding-top: clamp(1.5rem, 4vw, 2.5rem); padding-bottom: clamp(1.5rem, 4vw, 2.5rem); }
body.wj-profile-page .wj-room { background: #FFFFFF; border-color: rgba(160, 128, 64, 0.25); }
body.wj-profile-page .wj-room h2, body.wj-profile-page .wj-room h3 { color: var(--wj-ink); }
body.wj-profile-page .wj-room p { color: var(--wj-body); }
body.wj-profile-page .wj-room .wj-eyebrow { color: var(--wj-umber); }
body.wj-profile-page .wj-poem { border: 1px solid rgba(160, 128, 64, 0.3); box-shadow: 0 10px 26px -18px rgba(18, 63, 56, 0.18); }

.wj-social-card {
  background: #FFFFFF;
  border: 1px solid rgba(160, 128, 64, 0.3);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 48px -30px rgba(18, 63, 56, 0.25);
  text-align: left;
}

.wj-social-banner {
  height: 168px;
  background: linear-gradient(120deg, #EAF4F0, #DCEFEA 55%, #F3EDDD);
  background-size: cover;
  background-position: center;
}

.wj-social-head { display: flex; align-items: flex-end; gap: 1.4rem; padding: 0 2rem; margin-top: -56px; }
.wj-social-avatar { width: 112px; height: 112px; flex: none; box-shadow: 0 0 0 5px #FFFFFF, 0 12px 26px -14px rgba(18, 63, 56, 0.35); }
.wj-social-avatar--empty { display: inline-flex; align-items: center; justify-content: center; background: var(--wj-forest); }
.wj-social-avatar--empty span { font-family: var(--wj-display); font-size: 2.6rem; color: #FFFFFF; }

.wj-social-id { padding-bottom: 0.4rem; }
.wj-social-id h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 0.15rem; }
.wj-social-id .wj-profile-meta { margin: 0 0 0.3rem; }
.wj-social-id .wj-lede { font-size: 1rem; margin: 0; }
.wj-social-id .wj-lineage { margin-top: 0.4rem; }

.wj-social-stats {
  display: flex;
  gap: 2rem;
  padding: 1.1rem 2rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(160, 128, 64, 0.2);
  font-size: 0.86rem;
  color: var(--wj-quiet);
}

.wj-social-stats strong { font-family: var(--wj-display); font-size: 1.25rem; color: var(--wj-ink); margin-right: 0.3rem; }

.wj-social-card .wj-occasions { justify-content: flex-start !important; padding: 0 2rem; margin-top: 0.4rem !important; }
.wj-social-card .wj-prose { padding: 0 2rem; margin-top: 1.2rem !important; }
.wj-social-card .wj-held-question { padding: 0 2rem; text-align: center; }
.wj-social-card > p:last-child, .wj-social-card .wj-eyebrow:last-child { padding-bottom: 1.6rem; }

@media (max-width: 560px) {
  .wj-social-head { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .wj-social-stats { gap: 1.2rem; flex-wrap: wrap; }
}

/* ==========================================================
   46. The gold spine and the side menu
   ========================================================== */

/* The spine: always a solid golden bar */
.wj-bound-spine {
  width: 22px;
  background: linear-gradient(to bottom, #A08040, #C6A15B 30%, #E8D3A4 50%, #C6A15B 70%, #A08040);
  background-image: linear-gradient(to bottom, #A08040, #C6A15B 30%, #E8D3A4 50%, #C6A15B 70%, #A08040);
  border-right: 1px solid #7D6330;
  box-shadow: inset -3px 0 6px -3px rgba(125, 99, 48, 0.6), inset 2px 0 3px -1px rgba(255, 248, 230, 0.7);
}

/* The side menu, on room-sized screens */
.wj-side-foot { display: none; }

@media (min-width: 1100px) {
  .wj-header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 248px;
    border-bottom: 0;
    border-right: 1px solid rgba(160, 128, 64, 0.35);
    background: var(--wj-ivory);
    z-index: 60;
    overflow-y: auto;
  }

  body { padding-left: 248px; }

  .wj-header-inner {
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    padding: 2rem 1.6rem 1.6rem;
    gap: 1.6rem;
  }

  .wj-nav { width: 100%; }

  .wj-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
  }

  .wj-nav a {
    display: block;
    padding: 0.6rem 0.9rem;
    border-bottom: 0;
    border-left: 3px solid transparent;
    border-radius: 0 8px 8px 0;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    transition: background 0.2s, border-color 0.2s, color 0.2s, padding-left 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .wj-nav a:hover {
    background: #EAF4F0;
    color: var(--wj-forest);
    padding-left: 1.2rem;
  }

  .wj-nav .current-menu-item > a,
  .wj-nav .current_page_item > a {
    border-left-color: var(--wj-gold);
    background: #EAF4F0;
    color: var(--wj-forest);
  }

  .wj-side-foot {
    display: block;
    margin-top: auto;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(160, 128, 64, 0.25);
  }

  .wj-side-cta { display: block; text-align: center; width: 100%; padding: 1rem 1.2rem; }

  body.wj-profile-page .wj-header { background: #FFFFFF; }
}

/* ==========================================================
   47. Chip text always readable
   The umber field-label color was outranking the chosen chip's
   white. Chips are chips, wherever they live.
   ========================================================== */
.wj-field label.wj-occ,
.wj-journal .wj-desk .wj-field label.wj-occ { color: var(--wj-ink); }

.wj-field label.wj-occ.is-on,
.wj-journal .wj-desk .wj-field label.wj-occ.is-on,
.wj-paper-night .wj-desk .wj-field label.wj-occ.is-on { color: #FFFFFF; background: var(--wj-forest); border-color: var(--wj-forest); }

.wj-paper-night .wj-desk .wj-field label.wj-occ { color: #D4DAD6; }

/* ==========================================================
   48. The whole painting, the lifted name, the account rows
   ========================================================== */

/* Banner: the painting fills the band, full bleed, centered */
.wj-social-banner {
  height: auto;
  aspect-ratio: 21 / 9;
  max-height: 340px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #DCEFEA;
}

/* Only the portrait overlaps the banner; the name sits on white */
.wj-social-head { margin-top: 0; padding-top: 0.9rem; align-items: flex-start; }
.wj-social-avatar { margin-top: -66px; }
.wj-social-id { padding-top: 0.1rem; }

/* Account rows in the side menu, set apart */
.wj-nav-account a { color: var(--wj-umber); }

@media (min-width: 1100px) {
  .wj-nav li.wj-nav-account:first-of-type { margin-top: 0.9rem; border-top: 1px solid rgba(160, 128, 64, 0.25); padding-top: 0.9rem; }
}

/* ==========================================================
   49. Keep notes and touchable locks
   ========================================================== */
.wj-keep-note { font-size: 0.86rem; font-style: italic; color: var(--wj-forest); min-height: 1.2em; opacity: 0; transition: opacity 0.3s; margin-top: 0.8rem; }
.wj-keep-note.is-visible { opacity: 1; }
[data-wj-row] .wj-lock { cursor: pointer; padding: 0.3rem; margin: -0.3rem 0.25rem -0.3rem -0.3rem; border-radius: 6px; }
[data-wj-row] .wj-lock:hover { background: #EAF4F0; }

/* ==========================================================
   50. The chosen address
   ========================================================== */
.wj-address-row { display: flex; align-items: center; gap: 0.35rem; }
.wj-address-base { font-size: 0.9rem; color: var(--wj-quiet); white-space: nowrap; }
.wj-address-row input { flex: 1; }

/* ==========================================================
   51. The true journal on the front page
   ========================================================== */
.wj-plate-figure--book { max-width: 20rem; background: none; }
.wj-plate-figure--book svg { border: 0; box-shadow: none; border-radius: 0; }

.wj-bound--demo { cursor: default; }
.wj-bound--demo:hover { transform: translateY(-6px) rotate(-0.6deg); }

.wj-bound-cover--art { position: relative; padding: 0; display: block; min-height: 480px; }
.wj-bound-cover--art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wj-bound-cover--art .wj-bound-plate { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); white-space: nowrap; }

/* ==========================================================
   52. The owner's logo
   ========================================================== */
.wj-brand--logo .custom-logo { max-height: 64px; width: auto; display: block; }
@media (min-width: 1100px) { .wj-brand--logo .custom-logo { max-height: 80px; } }

/* ==========================================================
   53. The collapsible rail and the full page
   ========================================================== */
.wj-side-toggle { display: none; }

@media (min-width: 1100px) {
  .wj-side-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1rem;
    right: -14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid rgba(160, 128, 64, 0.5);
    color: var(--wj-forest);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    z-index: 61;
    box-shadow: 0 4px 10px -4px rgba(18, 63, 56, 0.3);
    transition: transform 0.2s;
  }

  .wj-side-toggle:hover { transform: scale(1.12); }
  .wj-header { overflow: visible; }

  /* Collapsed: a slim rail of initials */
  body.wj-side-collapsed { padding-left: 76px; }
  body.wj-side-collapsed .wj-header { width: 76px; }
  body.wj-side-collapsed .wj-header-inner { padding: 2rem 0.7rem 1.2rem; align-items: center; }
  body.wj-side-collapsed .wj-brand-name { display: none; }
  body.wj-side-collapsed .wj-brand--logo .custom-logo { max-height: 44px; }
  body.wj-side-collapsed .wj-side-foot { display: none; }

  body.wj-side-collapsed .wj-nav ul { align-items: center; gap: 0.35rem; }

  body.wj-side-collapsed .wj-nav a {
    font-size: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(160, 128, 64, 0.4);
    border-left-width: 1px;
  }

  body.wj-side-collapsed .wj-nav a::after {
    content: attr(data-wj-glyph);
    font-size: 1rem;
    line-height: 1;
  }

  body.wj-side-collapsed .wj-nav a:hover { background: #EAF4F0; padding-left: 0; }

  body.wj-side-collapsed .wj-nav .current-menu-item > a,
  body.wj-side-collapsed .wj-nav .current_page_item > a {
    background: var(--wj-forest);
    color: #FFFFFF;
    border-color: var(--wj-forest);
  }

  /* The journal earns a real page spread */
  body.wj-side-collapsed .wj-atelier-inner--wide { max-width: 96rem; }
  body.wj-side-collapsed .wj-journal .wj-desk { min-height: 62vh; }
}


/* ==========================================================
   54. Rail logo, contained
   ========================================================== */
@media (min-width: 1100px) {
  body.wj-side-collapsed .wj-brand--logo .custom-logo { max-height: 40px; max-width: 52px; object-fit: contain; }
  body.wj-side-collapsed .wj-brand { justify-content: center; }
}

/* ==========================================================
   55. Uploaded icons on the rail, and rail containment
   ========================================================== */
@media (min-width: 1100px) {
  body.wj-side-collapsed .wj-header { width: 88px; overflow: hidden; }
  body.wj-side-collapsed { padding-left: 88px; }
  body.wj-side-collapsed .wj-header-inner { width: 100%; padding: 1.6rem 0 1.2rem; align-items: center; }
  body.wj-side-collapsed .wj-nav { width: 100%; }
  body.wj-side-collapsed .wj-nav ul { width: 100%; }
  body.wj-side-collapsed .wj-nav li { display: flex; justify-content: center; }

  /* An uploaded icon fills the medallion */
  body.wj-side-collapsed .wj-nav a.wj-glyph-img::after {
    content: "";
    width: 24px;
    height: 24px;
    background-image: var(--wj-glyph-url);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
  }

  body.wj-side-collapsed .wj-nav .current-menu-item > a.wj-glyph-img::after,
  body.wj-side-collapsed .wj-nav a.wj-glyph-img:hover::after { filter: brightness(4) saturate(0); }
}

/* Expanded menu: uploaded icon rides beside the room name */
.wj-nav a.wj-glyph-img { display: flex; align-items: center; gap: 0.6rem; }
.wj-nav a.wj-glyph-img::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  background-image: var(--wj-glyph-url);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
@media (min-width: 1100px) {
  body.wj-side-collapsed .wj-nav a.wj-glyph-img::before { display: none; }
}


/* ==========================================================
   56. Navigation, rebuilt
   One decisive layer replacing the accumulated nav patches.
   Handles custom menus (with their container div) and the
   fallback identically. Contained, backgrounded, layered.
   ========================================================== */

/* Both modes: the nav never leaks */
body .wj-header { background: var(--wj-ivory); z-index: 80; }
body .wj-nav, body .wj-nav > div { width: 100%; min-width: 0; }
body .wj-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.1rem 1.1rem; min-width: 0; }
body .wj-nav li { margin: 0; display: block; }
body .wj-nav a { display: block; text-decoration: none; }

/* Small screens: a normal top bar in the document flow */
@media (max-width: 1099.98px) {
  body .wj-header { position: static; border-bottom: 1px solid rgba(160, 128, 64, 0.35); }
  body { padding-left: 0 !important; }
  body .wj-header-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; padding: 1rem var(--wj-gutter); }
  body .wj-side-toggle, body .wj-side-foot { display: none; }
}

/* Wide screens: the fixed sidebar, self-contained and scrollable */
@media (min-width: 1100px) {
  body .wj-header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 248px;
    border-right: 1px solid rgba(160, 128, 64, 0.35);
    border-bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }

  body { padding-left: 248px; }

  body .wj-header-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 100%;
    padding: 1.2rem 1.4rem 1.4rem;
    gap: 1.2rem;
  }

  body .wj-side-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid rgba(160, 128, 64, 0.5);
    color: var(--wj-forest);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    flex: none;
  }

  body .wj-nav ul { flex-direction: column; flex-wrap: nowrap; gap: 0.1rem; }

  body .wj-nav a {
    padding: 0.55rem 0.9rem;
    border-left: 3px solid transparent;
    border-bottom: 0;
    border-radius: 0 8px 8px 0;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    color: var(--wj-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body .wj-nav a:hover { background: #EAF4F0; color: var(--wj-forest); }
  body .wj-nav .current-menu-item > a, body .wj-nav .current_page_item > a { border-left-color: var(--wj-gold); background: #EAF4F0; color: var(--wj-forest); }

  body .wj-side-foot { display: block; margin-top: auto; padding-top: 1.2rem; border-top: 1px solid rgba(160, 128, 64, 0.25); }

  /* Collapsed rail */
  body.wj-side-collapsed { padding-left: 88px; }
  body.wj-side-collapsed .wj-header { width: 88px; }
  body.wj-side-collapsed .wj-header-inner { padding: 1rem 0.6rem 1.2rem; align-items: center; }
  body.wj-side-collapsed .wj-side-toggle { align-self: center; }
  body.wj-side-collapsed .wj-brand-name { display: none; }
  body.wj-side-collapsed .wj-brand--logo .custom-logo { max-height: 38px; max-width: 52px; object-fit: contain; }
  body.wj-side-collapsed .wj-side-foot { display: none; }
  body.wj-side-collapsed .wj-nav ul { align-items: center; gap: 0.4rem; }
  body.wj-side-collapsed .wj-nav li { display: flex; justify-content: center; width: 100%; }

  body.wj-side-collapsed .wj-nav a {
    font-size: 0;
    letter-spacing: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(160, 128, 64, 0.4);
    border-radius: 50%;
    overflow: visible;
  }

  body.wj-side-collapsed .wj-nav a::before { display: none; }
  body.wj-side-collapsed .wj-nav a::after { content: attr(data-wj-glyph); font-size: 1rem; line-height: 1; }

  body.wj-side-collapsed .wj-nav a.wj-glyph-img::after {
    content: "";
    width: 24px;
    height: 24px;
    background-image: var(--wj-glyph-url);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  body.wj-side-collapsed .wj-nav a:hover { padding-left: 0; }
  body.wj-side-collapsed .wj-nav .current-menu-item > a, body.wj-side-collapsed .wj-nav .current_page_item > a { background: var(--wj-forest); color: #FFFFFF; border-color: var(--wj-forest); }
  body.wj-side-collapsed .wj-nav .current-menu-item > a.wj-glyph-img::after, body.wj-side-collapsed .wj-nav a.wj-glyph-img:hover::after { filter: brightness(4) saturate(0); }
}

/* ==========================================================
   57. The Tea Table: the void, the notes, the voices
   ========================================================== */
.wj-note-form { max-width: 34rem; margin: 1.6rem auto 0; text-align: center; }
.wj-note-form textarea { width: 100%; min-height: 5rem; font-family: var(--wj-display); font-size: 1.1rem; font-style: italic; color: var(--wj-ink); background: #FFFFFF; border: 1px solid rgba(160, 128, 64, 0.4); border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: 0.9rem; }

.wj-notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; margin-top: 2rem; }
.wj-note { background: #FFFFFF; border: 1px solid rgba(160, 128, 64, 0.3); border-radius: 14px; padding: 1.2rem 1.3rem; text-align: center; }
.wj-note--risen { border-color: var(--wj-gold); background: #FFFDF6; box-shadow: 0 14px 30px -20px rgba(160, 128, 64, 0.5); }
.wj-note-text { font-family: var(--wj-display); font-style: italic; font-size: 1.05rem; line-height: 1.7; color: var(--wj-ink); }
.wj-note-by { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wj-quiet); margin: 0.7rem 0; }

.wj-voice { margin-top: 2.5rem; }
.wj-voice iframe { width: 100%; height: 460px; border: 1px solid rgba(160, 128, 64, 0.4); border-radius: 14px; }

/* ==========================================================
   58. The table filling: seats, faces, waiting circles
   ========================================================== */
.wj-table-circle { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 2.4rem; }
.wj-seat-medallion {
  width: 58px; height: 58px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--wj-gold); background: var(--wj-forest);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px -10px rgba(18, 63, 56, 0.4);
  transition: transform 0.2s;
}
.wj-seat-medallion:hover { transform: translateY(-3px) scale(1.05); }
.wj-seat-medallion img { width: 100%; height: 100%; object-fit: cover; }
.wj-seat-medallion span { font-family: var(--wj-display); font-size: 1.3rem; color: #FFFFFF; }
.wj-seat-medallion--empty { background: transparent; border: 2px dashed rgba(160, 128, 64, 0.5); box-shadow: none; }

.wj-kin-row { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; padding: 0.9rem 2rem 0; }
.wj-kin-state { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--wj-umber); margin-top: 0.5rem; }
.wj-kin-send:hover { border-color: var(--wj-forest); }

.wj-artwork .wj-front-art { width: 100%; height: auto; display: block; border-radius: 10px; }

/* ==========================================================
   59. Extreme focus, and the enclosed page
   ========================================================== */
.wj-focus-toggle {
  position: fixed; top: 1rem; right: 1.2rem; z-index: 120;
  font-family: var(--wj-body-face); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--wj-forest); background: #FFFFFF; border: 1px solid rgba(160, 128, 64, 0.5);
  border-radius: 999px; padding: 0.5rem 1.1rem; cursor: pointer;
}
.wj-focus-toggle:hover { background: #EAF4F0; }

@media (min-width: 1100px) {
  body.wj-focus .wj-header { display: none; }
  body.wj-focus { padding-left: 0 !important; }
  body.wj-focus .wj-atelier aside,
  body.wj-focus .wj-bound-wrap,
  body.wj-focus .wj-cover-pick,
  body.wj-focus .wj-journal-styles { display: none !important; }
  body.wj-focus .wj-atelier-inner,
  body.wj-focus .wj-atelier-inner--wide { max-width: 60rem; }
  body.wj-focus .wj-desk { min-height: 78vh; }
}

.wj-enclosure { margin: 1.8rem auto 0; max-width: 30rem; }
.wj-enclosure-tab {
  display: block; width: 100%;
  font-family: var(--wj-display); font-style: italic; font-size: 1rem; color: #4A3826;
  background: #F1E4C8; border: 1px solid #D8C49A; border-bottom-width: 3px; border-radius: 6px 6px 10px 10px;
  padding: 0.9rem 1.2rem; cursor: pointer;
  box-shadow: 0 10px 22px -14px rgba(74, 56, 38, 0.5);
}
.wj-enclosure.is-unfolded .wj-enclosure-tab { border-radius: 6px 6px 0 0; border-bottom-width: 1px; }
.wj-enclosure-paper {
  background: #F6ECD6; border: 1px solid #D8C49A; border-top: 0; border-radius: 0 0 10px 10px;
  padding: 1.6rem 1.8rem; text-align: left;
  background-image: linear-gradient(rgba(216, 196, 154, 0.18) 1px, transparent 1px);
  background-size: 100% 1.9rem;
}
.wj-enclosure-title { font-family: var(--wj-display); font-style: italic; font-size: 1.25rem; color: #4A3826; margin-bottom: 0.7rem; }
.wj-enclosure-body { font-family: var(--wj-display); font-size: 1.05rem; line-height: 1.9; color: #4A3826; overflow-wrap: break-word; }
.wj-enclosure-date { font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: #8A6F4D; margin-top: 1.1rem; }

/* Focus, corrected: the paper takes the whole room */
@media (min-width: 1100px) {
  body.wj-focus .wj-journal-grid { grid-template-columns: minmax(0, 1fr) !important; }
  body.wj-focus .wj-journal-grid > aside { display: none !important; }
  body.wj-focus .wj-atelier-inner,
  body.wj-focus .wj-atelier-inner--wide { max-width: 76rem !important; width: 100%; }
  body.wj-focus .wj-desk { max-width: none; width: 100%; }
  body.wj-focus .wj-desk textarea { min-height: 60vh; }
}


/* ==========================================================
   60. The mobile drawer and the footer menu
   ========================================================== */
@media (max-width: 1099.98px) {
  .wj-drawer-toggle {
    display: inline-flex; align-items: center; gap: 0.55rem;
    font-family: var(--wj-body-face); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--wj-forest); background: none; border: 0; padding: 0.3rem 0; cursor: pointer;
  }
  .wj-drawer-toggle svg { display: block; }

  body .wj-nav {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 200;
    width: min(78vw, 320px);
    background: var(--wj-ivory);
    border-right: 1px solid rgba(160, 128, 64, 0.4);
    box-shadow: 24px 0 60px -30px rgba(18, 63, 56, 0.45);
    padding: 4.4rem 1.6rem 2rem;
    overflow-y: auto;
    transform: translateX(-102%);
    transition: transform 0.32s ease;
  }
  body.wj-drawer-open .wj-nav { transform: translateX(0); }
  body .wj-nav ul { flex-direction: column; gap: 0; }
  body .wj-nav a {
    display: block; padding: 0.85rem 0.2rem;
    font-size: 0.8rem; letter-spacing: 0.18em;
    color: var(--wj-ink);
    border-bottom: 1px solid rgba(160, 128, 64, 0.18);
  }
  body .wj-nav a:hover, body .wj-nav .current-menu-item > a, body .wj-nav .current_page_item > a { color: var(--wj-forest); }

  .wj-drawer-close {
    position: absolute; top: 1rem; right: 1rem;
    background: none; border: 0; font-size: 1.5rem; line-height: 1; color: var(--wj-umber); cursor: pointer;
    display: none;
  }
  body .wj-nav .wj-drawer-close { display: block; }

  .wj-drawer-veil {
    position: fixed; inset: 0; z-index: 190;
    background: rgba(18, 63, 56, 0.35);
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
  }
  body.wj-drawer-open .wj-drawer-veil { opacity: 1; pointer-events: auto; }
  body.wj-drawer-open { overflow: hidden; }
}

@media (min-width: 1100px) {
  .wj-drawer-toggle, .wj-drawer-close, .wj-drawer-veil { display: none !important; }
}

.wj-foot-menu { margin: 0 0 1.4rem; }
.wj-foot-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.6rem; }
.wj-foot-menu a { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--wj-body); text-decoration: none; border-bottom: 1px solid transparent; }
.wj-foot-menu a:hover { color: var(--wj-forest); border-bottom-color: var(--wj-gold); }

/* ==========================================================
   61. The invitation, the living hours, and quiet beneath
   ========================================================== */
#jp-relatedposts, .jp-relatedposts { display: none !important; }

.wj-invitation { margin-top: 2.4rem; text-align: center; }
.wj-invitation img {
  max-width: min(30rem, 100%); height: auto; display: inline-block;
  border: 1px solid rgba(160, 128, 64, 0.5); border-radius: 6px;
  padding: 10px; background: #FFFFFF;
  box-shadow: 0 20px 44px -26px rgba(18, 63, 56, 0.45);
}

.wj-questions-open { margin: 2.6rem auto 0; max-width: 34rem; text-align: left; }
.wj-question-list { list-style: none; margin: 1.2rem 0 0; padding: 0; counter-reset: wjq; }
.wj-question-list li {
  counter-increment: wjq;
  font-family: var(--wj-display); font-style: italic; font-size: 1.15rem; line-height: 1.75; color: var(--wj-ink);
  padding: 1rem 0 1rem 2.6rem; position: relative;
  border-bottom: 1px solid rgba(160, 128, 64, 0.25);
}
.wj-question-list li::before {
  content: counter(wjq);
  position: absolute; left: 0; top: 1.15rem;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  border: 1px solid var(--wj-gold); color: var(--wj-umber);
  font-family: var(--wj-body-face); font-style: normal; font-size: 0.72rem;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Invitation unfolding within the room; the voice door */
.wj-invitation-fold summary { display: inline-block; cursor: pointer; list-style: none; }
.wj-invitation-fold summary::-webkit-details-marker { display: none; }
.wj-invitation-fold iframe {
  width: 100%; height: min(75vh, 640px); margin-top: 1.2rem;
  border: 1px solid rgba(160, 128, 64, 0.5); border-radius: 6px; background: #FFFFFF;
}
.wj-voice-door { margin-top: 2.4rem; text-align: center; }

/* a linked card unfolds tall within the room */
.wj-invitation-fold iframe { height: min(80vh, 720px); }
body.wj-bare .wj-viewing { padding: 0; min-height: 0; }

/* ==========================================================
   62. The invitation as a popup over the room
   ========================================================== */
.wj-modal { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 1.2rem; }
.wj-modal-veil { position: absolute; inset: 0; background: rgba(18, 63, 56, 0.55); }
.wj-modal-panel {
  position: relative; width: min(46rem, 100%); height: min(84vh, 760px);
  background: var(--wj-ivory); border: 1px solid rgba(160, 128, 64, 0.5); border-radius: 14px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.6); overflow: hidden;
}
.wj-modal-panel iframe { width: 100%; height: 100%; border: 0; display: block; }
.wj-modal-x {
  position: absolute; top: 0.5rem; right: 0.5rem; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: #FFFFFF; border: 1px solid rgba(160, 128, 64, 0.5);
  color: var(--wj-umber); font-size: 1.3rem; line-height: 1; cursor: pointer;
}

/* How you may arrive */
.wj-arrival { margin: 2.6rem auto 0; max-width: 32rem; text-align: center; }
.wj-arrival-ways { font-size: 0.95rem; line-height: 1.85; color: var(--wj-body); margin-top: 0.9rem; }
.wj-arrival-line { font-family: var(--wj-display); font-style: italic; font-size: 1.15rem; color: var(--wj-ink); margin-top: 1.1rem; }

/* ==========================================================
   63. The gathered: faces beneath each table row
   ========================================================== */
.wj-gathered { display: flex; align-items: center; flex-basis: 100%; margin-top: 0.9rem; }
.wj-gathered-face {
  width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: none;
  border: 2px solid var(--wj-ivory); background: var(--wj-forest);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1px var(--wj-gold), 0 6px 12px -6px rgba(18, 63, 56, 0.4);
  margin-right: -9px;
}
.wj-gathered-face img { width: 100%; height: 100%; object-fit: cover; }
.wj-gathered-face > span { font-family: var(--wj-display); font-size: 0.9rem; color: #FFFFFF; }
.wj-gathered-more { background: #EAF4F0; color: var(--wj-forest); font-family: var(--wj-body-face); font-size: 0.66rem; letter-spacing: 0.04em; }
.wj-gathered-word { margin-left: 1.2rem; font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wj-quiet); }
.wj-toc-row { flex-wrap: wrap; }

/* ==========================================================
   64. The waiting clock
   ========================================================== */
.wj-hour { text-align: center; margin-top: 1.6rem; }
.wj-countdown { font-family: var(--wj-display); font-style: italic; font-size: 1.2rem; color: var(--wj-umber); }
.wj-countdown.is-live { color: var(--wj-forest); }
.wj-hour-doors { margin-top: 0.5rem; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wj-quiet); }
.wj-hour-doors a { color: var(--wj-forest); text-decoration: none; border-bottom: 1px solid var(--wj-gold); }
.wj-hour-remind { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--wj-forest); border-bottom: 1px solid var(--wj-gold); }
.wj-hour-remind.is-on { color: var(--wj-umber); border-bottom-color: transparent; cursor: default; }

/* ==========================================================
   65. The round table: seats circling the question
   ========================================================== */
.wj-round-hall { display: flex; flex-wrap: wrap; justify-content: center; gap: 3.5rem 4rem; }
.wj-round-link { text-decoration: none; display: block; }
.wj-round-title { font-family: var(--wj-display); font-size: 1.35rem; color: var(--wj-ink); text-align: center; margin-bottom: 1.4rem; }

.wj-round { position: relative; width: min(86vw, 23rem); aspect-ratio: 1 / 1; margin: 0 auto; --wj-round-r: 10rem; }
.wj-round-center {
  position: absolute; inset: 14%; border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(160, 128, 64, 0.5);
  box-shadow: inset 0 0 0 6px var(--wj-ivory), inset 0 0 0 7px rgba(160, 128, 64, 0.4), 0 24px 50px -30px rgba(18, 63, 56, 0.5);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 12%;
}
.wj-round-center span { font-family: var(--wj-display); font-style: italic; font-size: 1.02rem; line-height: 1.6; color: var(--wj-ink); }

.wj-round-seat {
  position: absolute; top: 50%; left: 50%;
  width: 2.9rem; height: 2.9rem; margin: -1.45rem 0 0 -1.45rem;
  transform: rotate(var(--a)) translate(var(--wj-round-r)) rotate(calc(-1 * var(--a)));
  border-radius: 50%; overflow: hidden;
  border: 2px solid var(--wj-gold); background: var(--wj-forest);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 16px -8px rgba(18, 63, 56, 0.45);
}
.wj-round-seat img { width: 100%; height: 100%; object-fit: cover; }
.wj-round-seat > span { font-family: var(--wj-display); font-size: 1.05rem; color: #FFFFFF; }
.wj-round-seat--empty { background: transparent; border: 2px dashed rgba(160, 128, 64, 0.5); box-shadow: none; }
a.wj-round-seat { transition: transform 0.2s; }
a.wj-round-seat:hover { transform: rotate(var(--a)) translate(var(--wj-round-r)) rotate(calc(-1 * var(--a))) scale(1.12); }

@media (max-width: 480px) {
  .wj-round { --wj-round-r: 42vw; }
  .wj-round-seat { width: 2.4rem; height: 2.4rem; margin: -1.2rem 0 0 -1.2rem; }
}

/* ==========================================================
   66. The gorgeous clock, and tonight's topic
   ========================================================== */
.wj-countdown.wj-clock { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 1.5rem; font-style: normal; }
.wj-clock-part { display: inline-flex; align-items: baseline; gap: 0.5rem; }
.wj-clock-part[hidden] { display: none; }
.wj-clock-part:not([hidden]) ~ .wj-clock-part:not([hidden])::before {
  content: ""; align-self: center;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--wj-gold); opacity: 0.7;
  margin-right: 1.5rem;
}
.wj-clock-part b { font-family: var(--wj-display); font-weight: 500; font-size: 2.2rem; line-height: 1; color: var(--wj-ink); font-variant-numeric: lining-nums tabular-nums; }
.wj-clock-part i { font-style: normal; font-size: 0.58rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--wj-quiet); }
.wj-clock-live {
  display: inline-block; font-family: var(--wj-display); font-style: italic; font-size: 1.35rem; color: var(--wj-forest);
  padding: 0.7rem 1.8rem; border: 1px solid var(--wj-gold); border-radius: 999px; background: #FFFFFF;
  box-shadow: 0 14px 30px -20px rgba(31, 110, 98, 0.6);
}
.wj-tonight { margin-top: 2.6rem; }
.wj-tonight-line { font-family: var(--wj-display); font-style: italic; font-size: 1.45rem; color: var(--wj-ink); margin-top: 0.4rem; }
[data-wj-qcenter] { transition: opacity 0.4s ease; }
@media (max-width: 480px) {
  .wj-countdown.wj-clock { gap: 1rem; }
  .wj-clock-part { gap: 0.4rem; }
  .wj-clock-part:not([hidden]) ~ .wj-clock-part:not([hidden])::before { margin-right: 1rem; }
  .wj-clock-part b { font-size: 1.7rem; }
}

/* ==========================================================
   67. The circle choosing
   ========================================================== */
.wj-choosing { margin: 2.4rem auto 0; max-width: 40rem; text-align: center; }
.wj-choosing-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.2rem; }
@media (max-width: 640px) { .wj-choosing-pair { grid-template-columns: 1fr; } }
.wj-choice {
  background: #FFFFFF; border: 1px solid rgba(160, 128, 64, 0.5); border-radius: 14px;
  padding: 1.4rem 1.3rem 1.1rem; cursor: pointer; text-align: center;
  box-shadow: 0 16px 34px -24px rgba(18, 63, 56, 0.5);
  transition: transform 0.2s, border-color 0.2s;
}
.wj-choice:hover { transform: translateY(-3px); border-color: var(--wj-forest); }
.wj-choice.is-chosen { border-color: var(--wj-forest); background: #F3FAF7; }
.wj-choice span { display: block; font-family: var(--wj-display); font-style: italic; font-size: 1.05rem; line-height: 1.65; color: var(--wj-ink); }
.wj-choice b { display: inline-flex; align-items: center; justify-content: center; min-width: 1.9rem; height: 1.9rem; border-radius: 999px; margin-top: 0.9rem; background: #EAF4F0; color: var(--wj-forest); font-family: var(--wj-body-face); font-weight: 600; font-size: 0.8rem; padding: 0 0.5rem; }

/* ==========================================================
   68. The floor: hands, voices, and ripples
   ========================================================== */
.wj-floor { margin: 2rem auto 0; max-width: 32rem; text-align: center; }
.wj-floor-now { font-family: var(--wj-display); font-style: italic; font-size: 1.15rem; color: var(--wj-ink); }
.wj-floor-acts { margin-top: 0.9rem; display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.wj-floor-queue { list-style: none; margin: 1.2rem 0 0; padding: 0; counter-reset: wjh; }
.wj-floor-queue li {
  counter-increment: wjh; display: inline-block; margin: 0.3rem;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wj-umber);
  border: 1px solid rgba(160, 128, 64, 0.45); border-radius: 999px; padding: 0.4rem 0.9rem;
}
.wj-floor-queue li::before { content: counter(wjh) ". "; color: var(--wj-quiet); }

.wj-round-seat.is-raised { border-color: var(--wj-clay, #B0664A); box-shadow: 0 0 0 3px rgba(176, 102, 74, 0.25); }

.wj-round-seat.is-speaking { border-color: var(--wj-forest); z-index: 3; }
.wj-round-seat.is-speaking::before,
.wj-round-seat.is-speaking::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(31, 110, 98, 0.55);
  animation: wj-ripple 2.4s ease-out infinite;
  pointer-events: none;
}
.wj-round-seat.is-speaking::after { animation-delay: 1.2s; }

@keyframes wj-ripple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wj-round-seat.is-speaking::before, .wj-round-seat.is-speaking::after { animation: none; opacity: 0.5; }
}

/* The speaking seat, glowing gold; the raised hand, numbered */
.wj-round-seat.is-speaking {
  border-color: #E8D3A4;
  box-shadow: 0 0 0 3px rgba(198, 164, 94, 0.55), 0 0 26px 6px rgba(232, 211, 164, 0.85);
  animation: wj-glow 2.2s ease-in-out infinite;
}
.wj-round-seat.is-speaking::before,
.wj-round-seat.is-speaking::after {
  border: 3px solid rgba(198, 164, 94, 0.85);
  box-shadow: 0 0 14px rgba(232, 211, 164, 0.8);
  animation: wj-ripple 2.2s ease-out infinite;
}
.wj-round-seat.is-speaking::after { animation-delay: 1.1s; }

@keyframes wj-glow {
  0%, 100% { box-shadow: 0 0 0 3px rgba(198, 164, 94, 0.5), 0 0 20px 4px rgba(232, 211, 164, 0.7); }
  50% { box-shadow: 0 0 0 4px rgba(198, 164, 94, 0.7), 0 0 34px 10px rgba(232, 211, 164, 1); }
}

.wj-hand-badge {
  position: absolute; top: 50%; left: 50%;
  width: 1.5rem; height: 1.5rem; margin: -0.75rem 0 0 -0.75rem;
  transform: rotate(var(--a)) translate(calc(var(--wj-round-r) + 1.5rem)) rotate(calc(-1 * var(--a)));
  border-radius: 50%; background: var(--wj-clay, #B0664A); color: #FFFFFF;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--wj-body-face); font-size: 0.62rem; font-weight: 600;
  box-shadow: 0 4px 10px -4px rgba(176, 102, 74, 0.8);
  z-index: 4;
}

@media (prefers-reduced-motion: reduce) {
  .wj-round-seat.is-speaking { animation: none; }
}

/* ==========================================================
   69. Chips for the hour, and gold shimmer on the doors
   ========================================================== */
.wj-hour-doors { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 1.1rem; }
.wj-chip {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--wj-body-face); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--wj-forest); background: #FFFFFF;
  border: 1px solid rgba(160, 128, 64, 0.55); border-radius: 999px;
  padding: 0.62rem 1.2rem; cursor: pointer; text-decoration: none;
  box-shadow: 0 10px 22px -16px rgba(18, 63, 56, 0.5);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.wj-chip:hover { transform: translateY(-2px); border-color: var(--wj-gold); background: #FFFDF6; }
.wj-chip.is-on { background: #EAF4F0; color: var(--wj-umber); border-color: rgba(160, 128, 64, 0.35); cursor: default; box-shadow: none; }
.wj-chip.is-on:hover { transform: none; }

/* The gold shimmer that passes over a door on hover */
.wj-button, .wj-invitation .wj-button--ghost, [data-wj-seat] { position: relative; overflow: hidden; }
.wj-button::after, [data-wj-seat]::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(232, 211, 164, 0.75), rgba(255, 250, 235, 0.95), rgba(232, 211, 164, 0.75), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}
.wj-button:hover::after, [data-wj-seat]:hover::after {
  opacity: 1;
  animation: wj-shimmer 0.9s ease-out;
}

@keyframes wj-shimmer {
  from { left: -60%; }
  to { left: 115%; }
}

@media (prefers-reduced-motion: reduce) {
  .wj-button:hover::after, [data-wj-seat]:hover::after { animation: none; opacity: 0; }
}

/* ==========================================================
   70. The great round table
   ========================================================== */
.wj-round { width: min(92vw, 42rem); --wj-round-r: 18.5rem; }
.wj-round-center { inset: 17%; padding: 10%; }
.wj-round-center span { font-size: 1.5rem; line-height: 1.55; }
.wj-round-seat { width: 4.2rem; height: 4.2rem; margin: -2.1rem 0 0 -2.1rem; }
.wj-round-seat > span { font-size: 1.5rem; }
.wj-hand-badge { transform: rotate(var(--a)) translate(calc(var(--wj-round-r) + 2.2rem)) rotate(calc(-1 * var(--a))); }

/* the hall of tables keeps its smaller circles */
.wj-round-hall .wj-round { width: min(86vw, 23rem); --wj-round-r: 10rem; }
.wj-round-hall .wj-round-center { inset: 14%; padding: 12%; }
.wj-round-hall .wj-round-center span { font-size: 1.02rem; line-height: 1.6; }
.wj-round-hall .wj-round-seat { width: 2.9rem; height: 2.9rem; margin: -1.45rem 0 0 -1.45rem; }
.wj-round-hall .wj-round-seat > span { font-size: 1.05rem; }

@media (max-width: 900px) {
  .wj-round { width: 94vw; --wj-round-r: 39vw; }
  .wj-round-center span { font-size: 1.18rem; }
  .wj-round-seat { width: 3.4rem; height: 3.4rem; margin: -1.7rem 0 0 -1.7rem; }
  .wj-round-seat > span { font-size: 1.2rem; }
  .wj-hand-badge { transform: rotate(var(--a)) translate(calc(var(--wj-round-r) + 1.8rem)) rotate(calc(-1 * var(--a))); }
}

@media (max-width: 480px) {
  .wj-round { --wj-round-r: 38vw; }
  .wj-round-center { inset: 15%; padding: 9%; }
  .wj-round-center span { font-size: 1.02rem; line-height: 1.5; }
  .wj-round-seat { width: 2.8rem; height: 2.8rem; margin: -1.4rem 0 0 -1.4rem; }
  .wj-round-seat > span { font-size: 1rem; }
  .wj-hand-badge { width: 1.3rem; height: 1.3rem; margin: -0.65rem 0 0 -0.65rem; transform: rotate(var(--a)) translate(calc(var(--wj-round-r) + 1.5rem)) rotate(calc(-1 * var(--a))); }
  .wj-round-hall .wj-round { width: 94vw; --wj-round-r: 36vw; }
}

/* ==========================================================
   71. The state-aware table header
   ========================================================== */
.wj-state {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: 1.5rem;
  font-family: var(--wj-body-face); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  border-radius: 999px; padding: 0.6rem 1.4rem; background: #FFFFFF;
}
.wj-state--live { color: var(--wj-forest); border: 1px solid var(--wj-gold); box-shadow: 0 0 24px -8px rgba(198, 164, 94, 0.8); }
.wj-state--past { color: var(--wj-quiet); border: 1px solid rgba(160, 128, 64, 0.3); }
.wj-state-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wj-forest); animation: wj-beat 2s ease-in-out infinite; }

@keyframes wj-beat {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(31, 110, 98, 0.5); }
  50% { opacity: 0.65; box-shadow: 0 0 0 6px rgba(31, 110, 98, 0); }
}

.wj-notice {
  margin: 1.6rem auto 0; max-width: 32rem;
  background: #FFFFFF; border: 1px solid rgba(160, 128, 64, 0.4); border-radius: 14px;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 18px 40px -30px rgba(18, 63, 56, 0.5);
}
.wj-notice-line { font-family: var(--wj-display); font-style: italic; font-size: 1.1rem; color: var(--wj-ink); margin-bottom: 1rem; }

.wj-primary { margin-top: 1.8rem; }
.wj-primary .wj-button { font-size: 0.78rem; padding: 1rem 2.4rem; }

/* the invitation becomes a quiet aside once the table is the hero */
.wj-invitation { margin-top: 1.8rem; }
.wj-invitation .wj-eyebrow { margin-bottom: 0.5rem; }
.wj-invitation .wj-button--ghost { font-size: 0.66rem; padding: 0.6rem 1.4rem; }

@media (prefers-reduced-motion: reduce) { .wj-state-dot { animation: none; } }

/* The floor, at the table's edge */
.wj-floor { margin: 1.4rem auto 0; max-width: 34rem; }
.wj-floor-acts { gap: 0.8rem; }
.wj-floor-acts .wj-button { min-width: 11rem; }
.wj-button.is-holding {
  background: var(--wj-forest); color: #FFFFFF; border-color: var(--wj-gold);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.28), 0 0 22px -6px rgba(198, 164, 94, 0.9);
}
.wj-button--ghost.is-holding { background: var(--wj-clay, #B0664A); color: #FFFFFF; border-color: var(--wj-clay, #B0664A); }
.wj-button[disabled] { opacity: 0.45; cursor: not-allowed; }
.wj-button[disabled]:hover::after { animation: none; opacity: 0; }

/* The latecomer's word */
.wj-word { margin: 2rem auto 0; max-width: 26rem; text-align: center; }
.wj-word-row { display: flex; gap: 0.6rem; margin-top: 0.9rem; }
.wj-word-row input {
  flex: 1; min-width: 0;
  font-family: var(--wj-display); font-style: italic; font-size: 1rem; color: var(--wj-ink);
  background: #FFFFFF; border: 1px solid rgba(160, 128, 64, 0.5); border-radius: 999px;
  padding: 0.7rem 1.2rem; text-align: center;
}
.wj-word-row .wj-button { flex: none; }

/* The room door, resting on the tabletop */
.wj-round-center { flex-direction: column; gap: 1.1rem; }
.wj-enter-room {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--wj-body-face); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: #FFFFFF; background: var(--wj-forest); text-decoration: none;
  border: 1px solid var(--wj-gold); border-radius: 999px;
  padding: 0.7rem 1.5rem;
  box-shadow: 0 14px 30px -18px rgba(18, 63, 56, 0.7), 0 0 26px -10px rgba(198, 164, 94, 0.9);
  position: relative; overflow: hidden;
  transition: transform 0.2s;
}
.wj-enter-room:hover { transform: translateY(-2px); }
.wj-enter-room::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(232, 211, 164, 0.8), rgba(255, 250, 235, 0.95), rgba(232, 211, 164, 0.8), transparent);
  transform: skewX(-18deg); opacity: 0; pointer-events: none;
}
.wj-enter-room:hover::after { opacity: 1; animation: wj-shimmer 0.9s ease-out; }
.wj-enter-dot { width: 7px; height: 7px; border-radius: 50%; background: #E8D3A4; animation: wj-beat 1.8s ease-in-out infinite; }

@media (max-width: 480px) {
  .wj-enter-room { font-size: 0.62rem; padding: 0.6rem 1.1rem; letter-spacing: 0.14em; }
  .wj-round-center { gap: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .wj-enter-dot { animation: none; }
  .wj-enter-room:hover::after { animation: none; opacity: 0; }
}

/* ==========================================================
   72. The great calendar of evenings
   ========================================================== */
.wj-cal--tables { max-width: 34rem; margin: 2.5rem auto 0; }
.wj-cal--tables .wj-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.35rem; }
.wj-cal--tables .wj-cal-letter { font-size: 0.58rem; letter-spacing: 0.18em; color: var(--wj-quiet); text-align: center; padding-bottom: 0.4rem; }
.wj-cal--tables .wj-cal-day {
  position: relative; aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--wj-display); font-size: 0.92rem; color: var(--wj-body);
  border-radius: 50%; text-decoration: none;
}
.wj-cal--tables .wj-cal-day--empty { visibility: hidden; }
.wj-cal--tables .wj-cal-day--set { color: var(--wj-ink); background: #FFFFFF; border: 1px solid var(--wj-gold); box-shadow: 0 8px 18px -14px rgba(18, 63, 56, 0.5); }
.wj-cal--tables .wj-cal-day--set:hover { background: #FFFDF6; }
.wj-cal--tables .wj-cal-mark { position: absolute; bottom: 0.32rem; width: 5px; height: 5px; border-radius: 50%; background: var(--wj-gold); }
.wj-cal--tables .wj-cal-head { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-bottom: 1rem; }
.wj-cal--tables .wj-cal-head span { font-family: var(--wj-display); font-size: 1.15rem; color: var(--wj-ink); }
.wj-cal--tables .wj-cal-head a { color: var(--wj-forest); text-decoration: none; font-size: 1.3rem; }
.wj-round-cell { text-align: center; }

/* ==========================================================
   73. The front page journal, bound in gold like the real one
   ========================================================== */
.wj-bound--demo {
  display: flex;
  align-items: stretch;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.55), 0 6px 18px -10px rgba(0, 0, 0, 0.4);
}
.wj-bound--demo .wj-bound-spine {
  display: block;
  flex: none;
  width: 30px;
  align-self: stretch;
  border-right: 1px solid #7D6330;
  background: linear-gradient(to right, #8C6E33, #C6A15B 22%, #EFE0B8 46%, #C6A15B 74%, #9A7A38);
  box-shadow: inset -4px 0 8px -4px rgba(125, 99, 48, 0.75), inset 3px 0 4px -1px rgba(255, 250, 235, 0.8);
}
.wj-bound--demo .wj-bound-cover {
  flex: 1;
  min-width: 0;
  position: relative;
  border-radius: 0;
  aspect-ratio: 5 / 7;
}
.wj-bound--demo .wj-bound-cover--art svg,
.wj-bound--demo .wj-bound-cover--art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wj-bound--demo .wj-bound-plate {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 8%;
  z-index: 2;
}

@media (max-width: 480px) {
  .wj-bound--demo .wj-bound-spine { width: 22px; }
}

/* ==========================================================
   74. Your seat, plainly yours
   ========================================================== */
.wj-round-seat.is-mine { box-shadow: 0 0 0 3px var(--wj-ivory), 0 0 0 5px var(--wj-forest), 0 8px 16px -8px rgba(18, 63, 56, 0.5); }

.wj-yours {
  margin: 1.8rem auto 0; max-width: 30rem;
  background: #FFFFFF; border: 1px solid var(--wj-gold); border-radius: 14px;
  padding: 1.3rem 1.5rem; text-align: center;
  box-shadow: 0 18px 40px -30px rgba(18, 63, 56, 0.5);
}
.wj-yours-line { font-family: var(--wj-display); font-style: italic; font-size: 1.1rem; color: var(--wj-ink); }
.wj-yours-tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--wj-forest); color: #FFFFFF; font-size: 0.75rem; font-style: normal;
  margin-right: 0.35rem; vertical-align: middle;
}
.wj-yours-release { margin-top: 1rem; }
.wj-yours-release .wj-button {
  background: none; color: var(--wj-quiet); border: 0; box-shadow: none;
  font-size: 0.64rem; letter-spacing: 0.18em; padding: 0.3rem 0.6rem;
  border-bottom: 1px solid rgba(160, 128, 64, 0.5); border-radius: 0;
}
.wj-yours-release .wj-button:hover { color: var(--wj-umber); }
.wj-yours-release .wj-button::after { display: none; }

/* ==========================================================
   75. The living front page
   ========================================================== */
.wj-now-open { text-align: center; margin: 0 auto 2.6rem; max-width: 30rem; }
.wj-now-title { font-family: var(--wj-display); font-size: 1.5rem; color: var(--wj-ink); margin: 0.8rem 0 1.1rem; }

.wj-bound--demo { cursor: pointer; transition: transform 0.35s ease; }
.wj-bound--demo.is-open { transform: rotate(-1.2deg) translateY(-4px); }
.wj-demo-pages {
  max-width: 30rem; margin: 1.6rem auto 0; text-align: center;
  background: #FAF6EA; border: 1px solid rgba(160, 128, 64, 0.45); border-radius: 10px;
  padding: 1.8rem 1.9rem;
  background-image: linear-gradient(rgba(160, 128, 64, 0.13) 1px, transparent 1px);
  background-size: 100% 1.95rem;
  box-shadow: 0 22px 50px -34px rgba(18, 63, 56, 0.55);
}
.wj-demo-eyebrow { font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--wj-umber); margin-bottom: 0.9rem; }
.wj-demo-line { font-family: var(--wj-display); font-style: italic; font-size: 1.12rem; line-height: 1.9; color: var(--wj-ink); margin-bottom: 1rem; }
.wj-demo-line--faint { font-size: 0.98rem; color: var(--wj-body); }

/* ==========================================================
   76. The threshold
   ========================================================== */
.wj-threshold {
  margin: 1.8rem auto 0; max-width: 30rem; text-align: center;
  background: #FFFFFF; border: 1px solid rgba(160, 128, 64, 0.45); border-radius: 14px;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 18px 40px -30px rgba(18, 63, 56, 0.5);
}
.wj-threshold.is-offered { border-color: var(--wj-gold); box-shadow: 0 0 30px -10px rgba(198, 164, 94, 0.85); animation: wj-bloom 0.7s ease-out; }
.wj-threshold-line { font-family: var(--wj-display); font-style: italic; font-size: 1.08rem; line-height: 1.75; color: var(--wj-ink); margin: 0.6rem 0 1.1rem; }

@keyframes wj-bloom {
  from { transform: scale(0.97); opacity: 0.4; }
  to { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) { .wj-threshold.is-offered { animation: none; } }

/* ==========================================================
   77. The voices, living in the page
   ========================================================== */
.wj-room { margin-top: 1.2rem; }
.wj-room-open .wj-enter-dot { margin-right: 0.5rem; }
.wj-room-frame { margin-top: 1.1rem; }
.wj-room-frame iframe {
  width: 100%; height: min(70vh, 560px);
  border: 1px solid rgba(160, 128, 64, 0.5); border-radius: 14px;
  background: #12211E; display: block;
}
@media (max-width: 640px) { .wj-room-frame iframe { height: 64vh; } }

/* ==========================================================
   78. The waiting room
   ========================================================== */
.wj-waiting {
  margin: 1.3rem auto 0; text-align: center;
  background: #FAF6EA; border: 1px solid rgba(160, 128, 64, 0.45); border-radius: 12px;
  padding: 1.3rem 1.4rem;
}
.wj-waiting-acts { margin-top: 0.9rem; }

/* A way out of the voice room, always in reach */
.wj-leave-room { display: block; margin: 0.9rem auto 0; }

/* ==========================================================
   79. The voice, in gold, rippling outward
   ========================================================== */
.wj-round-seat.is-speaking {
  border-color: #F3E3BC;
  z-index: 6;
  animation: wj-voice-glow 1.8s ease-in-out infinite;
}
.wj-round-seat.is-speaking img { filter: saturate(1.1) brightness(1.06); }

.wj-round-seat.is-speaking::before,
.wj-round-seat.is-speaking::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 3px solid rgba(232, 211, 164, 0.95);
  box-shadow: 0 0 22px rgba(232, 211, 164, 0.95), inset 0 0 14px rgba(232, 211, 164, 0.6);
  animation: wj-ripple-gold 2.6s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
  pointer-events: none;
}
.wj-round-seat.is-speaking::after { animation-delay: 0.87s; }

/* the third ring, carried outside the seat so it can travel far */
.wj-voice-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4.2rem;
  height: 4.2rem;
  margin: -2.1rem 0 0 -2.1rem;
  transform: rotate(var(--a)) translate(var(--wj-round-r)) rotate(calc(-1 * var(--a)));
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.wj-voice-wave::before,
.wj-voice-wave::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(198, 164, 94, 0.75);
  box-shadow: 0 0 18px rgba(232, 211, 164, 0.8);
  animation: wj-ripple-gold 2.6s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.wj-voice-wave::before { animation-delay: 1.73s; }
.wj-voice-wave::after { animation-delay: 2.3s; border-width: 1px; }

@keyframes wj-ripple-gold {
  0% { transform: scale(1); opacity: 0.95; }
  55% { opacity: 0.45; }
  100% { transform: scale(3.1); opacity: 0; }
}

@keyframes wj-voice-glow {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(232, 211, 164, 0.7), 0 0 26px 6px rgba(232, 211, 164, 0.75), inset 0 0 12px rgba(255, 250, 235, 0.5);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(243, 227, 188, 0.95), 0 0 52px 16px rgba(232, 211, 164, 1), inset 0 0 18px rgba(255, 250, 235, 0.8);
  }
}

@media (max-width: 480px) {
  .wj-voice-wave { width: 2.8rem; height: 2.8rem; margin: -1.4rem 0 0 -1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .wj-round-seat.is-speaking { animation: none; box-shadow: 0 0 0 4px rgba(232, 211, 164, 0.9), 0 0 30px 8px rgba(232, 211, 164, 0.8); }
  .wj-round-seat.is-speaking::before, .wj-round-seat.is-speaking::after,
  .wj-voice-wave::before, .wj-voice-wave::after { animation: none; opacity: 0.35; }
}

/* ==========================================================
   80. The voice, balanced: noticeable, never overwhelming
   ========================================================== */
.wj-voice-wave { display: none !important; }

.wj-round-seat.is-speaking {
  border-color: #E8D3A4;
  z-index: 6;
  animation: wj-voice-calm 2.6s ease-in-out infinite;
}
.wj-round-seat.is-speaking img { filter: none; }

.wj-round-seat.is-speaking::before,
.wj-round-seat.is-speaking::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(198, 164, 94, 0.6);
  box-shadow: none;
  animation: wj-ripple-calm 2.6s ease-out infinite;
  pointer-events: none;
}
.wj-round-seat.is-speaking::after { animation-delay: 1.3s; }

@keyframes wj-ripple-calm {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.75); opacity: 0; }
}

@keyframes wj-voice-calm {
  0%, 100% { box-shadow: 0 0 0 2px rgba(232, 211, 164, 0.55), 0 0 14px 3px rgba(232, 211, 164, 0.45); }
  50% { box-shadow: 0 0 0 3px rgba(232, 211, 164, 0.8), 0 0 22px 6px rgba(232, 211, 164, 0.7); }
}

@media (prefers-reduced-motion: reduce) {
  .wj-round-seat.is-speaking { animation: none; box-shadow: 0 0 0 3px rgba(232, 211, 164, 0.8), 0 0 18px 5px rgba(232, 211, 164, 0.6); }
  .wj-round-seat.is-speaking::before, .wj-round-seat.is-speaking::after { animation: none; opacity: 0.3; }
}

/* ==========================================================
   81. The voice: clear at a glance, calm at the table
   ========================================================== */
.wj-round-seat.is-speaking {
  border-color: #C6A15B;
  border-width: 3px;
  z-index: 6;
  animation: wj-voice-clear 2.2s ease-in-out infinite;
}

.wj-round-seat.is-speaking::before,
.wj-round-seat.is-speaking::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 3px solid rgba(198, 164, 94, 0.85);
  box-shadow: 0 0 12px rgba(198, 164, 94, 0.6);
  animation: wj-ripple-clear 2.2s ease-out infinite;
  pointer-events: none;
}
.wj-round-seat.is-speaking::after { animation-delay: 1.1s; }

@keyframes wj-ripple-clear {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.1); opacity: 0; }
}

@keyframes wj-voice-clear {
  0%, 100% { box-shadow: 0 0 0 4px rgba(198, 164, 94, 0.5), 0 0 24px 5px rgba(232, 211, 164, 0.75); }
  50% { box-shadow: 0 0 0 6px rgba(198, 164, 94, 0.75), 0 0 38px 10px rgba(232, 211, 164, 0.95); }
}

@media (prefers-reduced-motion: reduce) {
  .wj-round-seat.is-speaking { animation: none; box-shadow: 0 0 0 5px rgba(198, 164, 94, 0.7), 0 0 28px 8px rgba(232, 211, 164, 0.85); }
  .wj-round-seat.is-speaking::before, .wj-round-seat.is-speaking::after { animation: none; opacity: 0.4; }
}

/* ==========================================================
   82. The envelope: a true golden seal, and a letter unfolding
   ========================================================== */
.wj-envelope {
  position: relative;
  display: block;
  width: min(23rem, 82vw);
  aspect-ratio: 3 / 2;
  margin: 0 auto;
  perspective: 900px;
}

.wj-env-body {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: linear-gradient(160deg, #FBF7EC 0%, #F3EBD9 55%, #EADFC6 100%);
  border: 1px solid rgba(160, 128, 64, 0.5);
  box-shadow: 0 26px 54px -30px rgba(18, 63, 56, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* the paper folds of the envelope's face */
.wj-env-body::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background:
    linear-gradient(to bottom right, transparent calc(50% - 0.5px), rgba(160, 128, 64, 0.22) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(to bottom left, transparent calc(50% - 0.5px), rgba(160, 128, 64, 0.22) 50%, transparent calc(50% + 0.5px));
  background-size: 50% 100%, 50% 100%;
  background-position: left center, right center;
  background-repeat: no-repeat;
}

/* the flap, hinged at the top, closed over the letter */
.wj-env-flap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 58%;
  transform-origin: top center;
  transform: rotateX(0deg);
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.32, 0.9, 0.28, 1);
  background: linear-gradient(to bottom, #F7F1E2 0%, #EFE5CE 100%);
  border: 1px solid rgba(160, 128, 64, 0.5);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  box-shadow: 0 10px 20px -14px rgba(18, 63, 56, 0.6);
  z-index: 3;
}

.wj-seal-wax {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 6.6rem;
  height: 6.6rem;
  margin: -3.3rem 0 0 -3.3rem;
  z-index: 4;
  filter: drop-shadow(0 8px 14px rgba(90, 66, 20, 0.55));
  transition: transform 0.5s cubic-bezier(0.32, 0.9, 0.28, 1), opacity 0.5s;
}
.wj-seal-wax svg { display: block; width: 100%; height: 100%; }
.wj-wax-blob { filter: drop-shadow(inset 0 2px 3px rgba(255, 255, 255, 0.4)); }

.wj-seal-face:hover .wj-envelope .wj-seal-wax { transform: scale(1.04) rotate(-3deg); }
.wj-seal-face:hover .wj-env-flap { transform: rotateX(-12deg); }

/* the opening: the seal lifts away, the flap falls back, the letter rises */
.wj-sealed.is-opening .wj-seal-wax {
  animation: wj-wax-break 0.75s cubic-bezier(0.32, 0.9, 0.28, 1) forwards;
}
.wj-sealed.is-opening .wj-env-flap {
  transform: rotateX(-172deg);
  box-shadow: 0 -10px 22px -16px rgba(18, 63, 56, 0.5);
}
.wj-sealed.is-opening .wj-env-body::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 6%;
  bottom: 10%;
  border-radius: 4px;
  background: linear-gradient(#FFFDF7, #FBF6E9);
  border: 1px solid rgba(160, 128, 64, 0.4);
  box-shadow: 0 -16px 30px -22px rgba(18, 63, 56, 0.5);
  animation: wj-letter-rise 0.85s 0.35s cubic-bezier(0.22, 0.9, 0.3, 1) both;
  z-index: 2;
}

@keyframes wj-wax-break {
  0% { transform: scale(1) rotate(0deg); opacity: 1; }
  35% { transform: scale(1.12) rotate(-7deg); opacity: 1; }
  100% { transform: scale(0.82) rotate(-26deg) translateY(2.4rem); opacity: 0; }
}

@keyframes wj-letter-rise {
  0% { transform: translateY(28%) scale(0.97); opacity: 0; }
  100% { transform: translateY(-6%) scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .wj-env-flap, .wj-seal-wax { transition: none; }
  .wj-sealed.is-opening .wj-seal-wax { animation: none; opacity: 0; }
  .wj-sealed.is-opening .wj-env-body::after { animation: none; }
}

/* ==========================================================
   83. The envelope, corrected: true proportions, seal centered
   ========================================================== */
.wj-envelope { width: min(22rem, 80vw); aspect-ratio: 7 / 5; }

.wj-env-body {
  background: linear-gradient(158deg, #FDFAF2 0%, #F5EEDD 52%, #EDE3CB 100%);
  border-color: rgba(160, 128, 64, 0.42);
}

/* the two lower folds meeting at the middle, as a real envelope does */
.wj-env-body::before {
  background:
    linear-gradient(to top right, transparent calc(50% - 0.5px), rgba(160, 128, 64, 0.18) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(to top left, transparent calc(50% - 0.5px), rgba(160, 128, 64, 0.18) 50%, transparent calc(50% + 0.5px));
  background-size: 50% 62%, 50% 62%;
  background-position: left bottom, right bottom;
}

/* the flap: a clean triangle down to the exact center */
.wj-env-flap {
  height: 50%;
  background: linear-gradient(to bottom, #FBF6E8 0%, #F1E7D0 100%);
  border: 0;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  box-shadow: none;
  filter: drop-shadow(0 3px 5px rgba(125, 99, 48, 0.22));
}
.wj-env-flap::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(to bottom, transparent 78%, rgba(160, 128, 64, 0.18) 100%);
}

/* the seal, resting exactly where the flap's point meets the envelope */
.wj-seal-wax {
  top: 50%;
  width: 5.6rem;
  height: 5.6rem;
  margin: -2.8rem 0 0 -2.8rem;
  filter: drop-shadow(0 6px 10px rgba(110, 80, 24, 0.5));
}

@media (max-width: 480px) {
  .wj-seal-wax { width: 4.8rem; height: 4.8rem; margin: -2.4rem 0 0 -2.4rem; }
}

/* ==========================================================
   84. The invitation plate: a vintage card at the head of the evening
   ========================================================== */
.wj-plate {
  position: relative;
  max-width: 34rem;
  margin: 1.6rem auto 0;
  padding: 4px;
  border-radius: 4px;
  background: linear-gradient(150deg, #C6A15B, #8C6E33 28%, #EFE0B8 52%, #A8853F 74%, #C6A15B);
  box-shadow: 0 34px 70px -44px rgba(18, 63, 56, 0.7), 0 3px 10px -6px rgba(125, 99, 48, 0.6);
}

.wj-plate-inner {
  position: relative;
  padding: 2.6rem 1.9rem 2.3rem;
  border-radius: 2px;
  background:
    radial-gradient(120% 90% at 50% 0%, #FFFDF6 0%, #FAF4E4 46%, #F2E9D3 100%);
  overflow: hidden;
}

/* the aged bloom at the corners of old card stock */
.wj-plate-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 46% at 0% 0%, rgba(176, 138, 74, 0.18), transparent 70%),
    radial-gradient(60% 46% at 100% 0%, rgba(176, 138, 74, 0.14), transparent 70%),
    radial-gradient(60% 46% at 0% 100%, rgba(176, 138, 74, 0.16), transparent 70%),
    radial-gradient(60% 46% at 100% 100%, rgba(176, 138, 74, 0.2), transparent 70%);
  pointer-events: none;
}

/* the hairline rule inside the gilt border */
.wj-plate-inner::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(160, 128, 64, 0.45);
  border-radius: 1px;
  pointer-events: none;
}

.wj-plate-inner > * { position: relative; z-index: 1; }

.wj-plate-eyebrow {
  font-family: var(--wj-body-face);
  font-size: 0.58rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #A8853F;
  margin-top: 1rem;
}

.wj-plate-kind {
  font-family: var(--wj-display);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--wj-umber);
  margin-top: 0.9rem;
}

.wj-plate-title {
  font-family: var(--wj-display);
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1.12;
  color: var(--wj-ink);
  margin: 0.3rem 0 0;
}

.wj-plate-rule {
  display: block;
  width: 8.5rem;
  height: 9px;
  margin: 1.2rem auto;
  background:
    linear-gradient(var(--wj-gold), var(--wj-gold)) center/100% 1px no-repeat,
    radial-gradient(circle at center, var(--wj-gold) 0 3px, transparent 3.5px) center/9px 9px no-repeat;
}

.wj-plate-when {
  font-family: var(--wj-body-face);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wj-body);
  line-height: 2;
}
.wj-plate-where { display: block; color: var(--wj-quiet); }

@media (max-width: 480px) {
  .wj-plate { margin-left: 0.2rem; margin-right: 0.2rem; }
  .wj-plate-inner { padding: 2.1rem 1.2rem 1.9rem; }
  .wj-plate-eyebrow { letter-spacing: 0.32em; }
}

/* ==========================================================
   85. The journal in the hand: everything fits a phone
   ========================================================== */
@media (max-width: 640px) {
  .wj-journal .wj-atelier-inner,
  .wj-atelier-inner {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    overflow-x: hidden;
  }

  /* one column: the book, then the desk, each at full width */
  .wj-journal-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }

  /* the bound book, sized to the palm */
  .wj-bound { max-width: min(76vw, 19rem); }
  .wj-bound-spine { width: 18px; }
  .wj-bound-cover { min-height: 0; aspect-ratio: 5 / 7; padding: 1rem; }
  .wj-bound-plate { padding: 0.5rem 1rem; }
  .wj-bound-name { font-size: 1.1rem; }
  .wj-bound--demo { max-width: min(76vw, 19rem); }
  .wj-bound--demo .wj-bound-spine { width: 16px; }

  /* the writing paper loosens its margins and lets the pen breathe */
  .wj-paper-ivory .wj-desk, .wj-paper-vintage .wj-desk, .wj-paper-night .wj-desk {
    padding: 1.5rem 1.1rem 1.6rem 2.1rem;
  }
  .wj-desk-state { font-size: 1.15rem; margin-bottom: 1rem; }
  .wj-desk textarea { min-height: 12rem; font-size: 1rem; }
  .wj-desk-actions { flex-wrap: wrap; gap: 0.7rem; }

  /* fields never push past the paper's edge */
  .wj-journal .wj-desk .wj-field input[type="text"],
  .wj-journal .wj-desk .wj-field textarea,
  .wj-journal .wj-desk .wj-field select,
  .wj-field input, .wj-field textarea, .wj-field select {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* the month calendar rests within the page */
  .wj-cal { max-width: 100%; }
  .wj-cal--tables { margin-left: 0; margin-right: 0; }
  .wj-cal--tables .wj-cal-grid { gap: 0.22rem; }
  .wj-cal--tables .wj-cal-day { font-size: 0.8rem; }

  .wj-cover-pick { max-width: 100%; }
  .wj-write-gate { padding: 0 0.4rem; }
  .wj-word-row { flex-wrap: wrap; }
  .wj-word-row input { min-width: 0; flex: 1 1 100%; }
  .wj-word-row .wj-button { flex: 1 1 100%; }
}

/* ==========================================================
   86. The journal, centered in the hand
   ========================================================== */
@media (max-width: 640px) {
  /* nothing may reach past the screen's edge */
  .wj-journal .wj-atelier { overflow-x: clip; }
  .wj-journal-grid > * { min-width: 0; }

  /* the desk paper: full width of the column, edges inside the screen */
  .wj-journal .wj-desk,
  .wj-paper-ivory .wj-desk, .wj-paper-vintage .wj-desk, .wj-paper-night .wj-desk {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
  }

  /* every field held within the paper */
  .wj-journal .wj-desk .wj-field { max-width: 100%; }
  .wj-journal .wj-desk .wj-field input[type="text"] {
    width: 100%;
    font-size: 1.35rem;
  }
  .wj-journal .wj-desk .wj-field textarea { width: 100%; }

  /* the prompt chip wraps politely */
  .wj-journal .wj-desk button, .wj-journal .wj-desk .wj-chip { max-width: 100%; white-space: normal; }

  /* Focus steps out of the words' way: it rests below the header, not over the page */
  .wj-focus-toggle {
    position: static;
    display: block;
    margin: 0 0 1.2rem auto;
  }
  body.wj-focus .wj-focus-toggle { position: fixed; top: 0.8rem; right: 0.9rem; margin: 0; }

  /* the bound book, whole and centered */
  .wj-bound-wrap { display: flex; flex-direction: column; align-items: center; }
  .wj-bound { margin-left: auto; margin-right: auto; }
  .wj-cover-pick { padding-right: 0; }
}

/* ==========================================================
   87. The page, held to the glass: exact symmetry on phones
   ========================================================== */
@media (max-width: 640px) {
  html, body { overflow-x: clip; max-width: 100vw; }

  /* equal breathing on both sides, whatever else says otherwise */
  .wj-journal .wj-atelier-inner {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* the paper takes exactly the glass minus its margins, centered */
  .wj-journal .wj-desk,
  .wj-paper-ivory .wj-desk,
  .wj-paper-vintage .wj-desk,
  .wj-paper-night .wj-desk {
    width: calc(100vw - 2rem) !important;
    max-width: calc(100vw - 2rem) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 1.5rem 1rem 1.6rem 2rem !important;
  }

  /* the margin line keeps to the narrower paper */
  .wj-journal .wj-desk::before { left: 1.45rem; }

  /* inside the paper, nothing wider than the paper */
  .wj-journal .wj-desk > *,
  .wj-journal .wj-desk .wj-field,
  .wj-journal .wj-desk .wj-field input,
  .wj-journal .wj-desk .wj-field textarea,
  .wj-journal .wj-desk .wj-field select {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* the dressing table: each label above its own row of chips */
  .wj-paper-row { row-gap: 0.55rem; }
  .wj-paper-row .wj-paper-label {
    flex-basis: 100%;
    text-align: center;
    margin: 0.5rem 0 0 !important;
  }
}

/* ==========================================================
   88. The prompter: one question, turned as often as you like
   ========================================================== */
.wj-prompter-line {
  font-family: var(--wj-display);
  font-style: italic;
  font-size: 1.22rem;
  line-height: 1.65;
  color: var(--wj-ink);
  margin: 0.7rem 0 1rem;
  transition: opacity 0.22s ease;
  min-height: 2.6em;
}
.wj-prompter-acts { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.wj-prompter-acts .wj-chip { cursor: pointer; }

@media (max-width: 640px) {
  .wj-prompter-line { font-size: 1.08rem; }
  .wj-prompter-acts .wj-chip { flex: 1 1 auto; text-align: center; }
}

/* ==========================================================
   89. The head of the table page, quieted: the circle is the star
   ========================================================== */

/* the plate loses its gilt frame and becomes a printed card face */
.wj-plate {
  max-width: 30rem;
  padding: 0;
  background: none;
  box-shadow: none;
}

.wj-plate-inner {
  padding: 0.5rem 0 0;
  background: none;
  overflow: visible;
}
.wj-plate-inner::before,
.wj-plate-inner::after { display: none; }

.wj-plate-eyebrow {
  font-size: 0.56rem;
  letter-spacing: 0.36em;
  color: var(--wj-quiet);
  margin-top: 0.9rem;
}

.wj-plate-kind {
  font-size: 0.9rem;
  color: var(--wj-quiet);
  margin-top: 0.5rem;
}

.wj-plate-title {
  font-size: clamp(1.9rem, 6vw, 2.7rem);
  margin-top: 0.2rem;
}

.wj-plate-rule { width: 6rem; margin: 1rem auto; opacity: 0.75; }

.wj-plate-when { font-size: 0.62rem; letter-spacing: 0.2em; color: var(--wj-quiet); }

/* the state and the invitation step back to a whisper */
.wj-state { margin-top: 1.1rem; font-size: 0.6rem; padding: 0.45rem 1.1rem; }
.wj-state--past { background: none; border-color: rgba(160, 128, 64, 0.28); }

.wj-invitation { margin-top: 1.4rem; }
.wj-invitation .wj-eyebrow { font-size: 0.56rem; letter-spacing: 0.3em; color: var(--wj-quiet); }
.wj-invitation .wj-button--ghost {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  padding: 0.45rem 1.1rem;
  border-color: rgba(160, 128, 64, 0.45);
  color: var(--wj-umber);
}
.wj-invitation .wj-button--ghost:hover { color: var(--wj-forest); border-color: var(--wj-forest); }

/* and the table itself takes the room it deserves */
.wj-round { margin-top: 1rem; }
.wj-table-topic { margin-top: 2.6rem; }

@media (max-width: 640px) {
  .wj-plate-title { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .wj-plate-when { line-height: 1.9; }
}

/* ==========================================================
   90. The front page journal: the name plate set true on the cover
   ========================================================== */
.wj-bound--demo { position: relative; }
.wj-bound--demo .wj-bound-cover { position: relative; overflow: hidden; }

/* the plate belongs to the painting, not to the book, so the gold
   spine is never covered and the words are never clipped */
.wj-bound--demo .wj-bound-plate {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 9%;
  transform: translateX(-50%);
  width: 76%;
  max-width: 76%;
  box-sizing: border-box;
  text-align: center;
  padding: 0.9rem 1rem;
  background: rgba(250, 249, 244, 0.94);
  border: 1px solid rgba(160, 128, 64, 0.7);
  border-radius: 3px;
  box-shadow: 0 10px 22px -16px rgba(0, 0, 0, 0.6);
}
.wj-bound--demo .wj-bound-title {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wj-bound--demo .wj-bound-name { font-size: 1.35rem; margin-top: 0.15rem; }

@media (max-width: 640px) {
  .wj-bound--demo .wj-bound-plate { width: 80%; max-width: 80%; padding: 0.65rem 0.7rem; }
  .wj-bound--demo .wj-bound-title { font-size: 0.5rem; letter-spacing: 0.18em; }
  .wj-bound--demo .wj-bound-name { font-size: 1.05rem; }
}

/* ==========================================================
   91. Tonight: the table, featured at the front
   ========================================================== */
.wj-tonight {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--wj-water, #EAF4F0) 100%);
  border-top: 1px solid rgba(160, 128, 64, 0.35);
  border-bottom: 1px solid rgba(160, 128, 64, 0.35);
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.wj-tonight-inner { max-width: 44rem; margin: 0 auto; text-align: center; }

.wj-tonight-title {
  font-family: var(--wj-display);
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  line-height: 1.14;
  color: var(--wj-ink);
  margin: 1rem 0 0.5rem;
}

.wj-tonight-when {
  font-family: var(--wj-body-face);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wj-quiet);
}

.wj-tonight-circle { margin: 2.2rem auto 0; display: flex; justify-content: center; }
.wj-tonight-circle .wj-round { width: min(88vw, 30rem); --wj-round-r: 13rem; }
.wj-tonight-circle .wj-round-center span { font-size: 1.15rem; }
.wj-tonight-circle .wj-round-seat { width: 3.4rem; height: 3.4rem; margin: -1.7rem 0 0 -1.7rem; }
.wj-tonight-circle .wj-round-seat > span { font-size: 1.15rem; }

.wj-tonight-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 2.2rem;
}

.wj-tonight-word {
  font-family: var(--wj-display);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--wj-body);
  max-width: 32rem;
  margin: 1.8rem auto 0;
}

@media (max-width: 640px) {
  .wj-tonight-circle .wj-round { width: 90vw; --wj-round-r: 36vw; }
  .wj-tonight-circle .wj-round-center span { font-size: 0.98rem; }
  .wj-tonight-circle .wj-round-seat { width: 2.7rem; height: 2.7rem; margin: -1.35rem 0 0 -1.35rem; }
  .wj-tonight-acts .wj-button { flex: 1 1 100%; }
  .wj-tonight-word { font-size: 1rem; }
}

/* ==========================================================
   92. The hall: rooms of people talking, first of all
   ========================================================== */
.wj-hall { padding: clamp(2.4rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 4.5rem); }
.wj-hall-head { text-align: center; max-width: 40rem; margin: 0 auto clamp(2.2rem, 5vw, 3.2rem); }
.wj-hall-title {
  font-family: var(--wj-display);
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 1.06;
  color: var(--wj-ink);
  margin: 0.7rem 0 1rem;
}
.wj-hall-lede { font-size: 1.05rem; line-height: 1.85; color: var(--wj-body); max-width: 32rem; margin: 0 auto; }

.wj-hall-label {
  display: flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--wj-body-face); font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--wj-forest); margin: 2.4rem 0 1.4rem;
}
.wj-hall-label--quiet { color: var(--wj-quiet); }

.wj-room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1rem, 2.5vw, 1.8rem);
  align-items: start;
}

.wj-room-card {
  background: #FFFFFF;
  border: 1px solid rgba(160, 128, 64, 0.35);
  border-radius: 16px;
  padding: 1.4rem 1.2rem 1.6rem;
  text-align: center;
  box-shadow: 0 22px 46px -34px rgba(18, 63, 56, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.wj-room-card:hover { transform: translateY(-4px); box-shadow: 0 30px 56px -34px rgba(18, 63, 56, 0.55); }
.wj-room-card.is-live { border-color: var(--wj-gold); box-shadow: 0 0 0 1px rgba(198, 164, 94, 0.35), 0 26px 50px -34px rgba(18, 63, 56, 0.5); }

.wj-room-card-head { min-height: 1.6rem; }
.wj-live-tag {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--wj-body-face); font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--wj-forest); background: #EAF4F0; border-radius: 999px; padding: 0.35rem 0.85rem;
}
.wj-room-when { font-family: var(--wj-body-face); font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wj-quiet); }

.wj-room-card-title {
  font-family: var(--wj-display);
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--wj-ink);
  margin: 0.7rem 0 0.2rem;
}

.wj-room-card-circle { margin: 0.6rem auto 0.4rem; display: flex; justify-content: center; }
.wj-room-card-circle .wj-round { width: 100%; max-width: 15rem; --wj-round-r: 6.2rem; }
.wj-room-card-circle .wj-round-center { inset: 16%; padding: 8%; }
.wj-room-card-circle .wj-round-center span { font-size: 0.82rem; line-height: 1.5; }
.wj-room-card-circle .wj-round-seat { width: 2.1rem; height: 2.1rem; margin: -1.05rem 0 0 -1.05rem; }
.wj-room-card-circle .wj-round-seat > span { font-size: 0.8rem; }

.wj-room-card-count { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--wj-quiet); margin-bottom: 1rem; }
.wj-hall-acts { text-align: center; margin-top: 2.6rem; }
.wj-hall-quiet { text-align: center; padding: 2rem 0; }

/* the journal, a smaller companion band */
.wj-quietly {
  background: var(--wj-water, #EAF4F0);
  border-top: 1px solid rgba(160, 128, 64, 0.3);
  border-bottom: 1px solid rgba(160, 128, 64, 0.3);
  padding: clamp(2.6rem, 6vw, 4rem) 0;
}
.wj-quietly-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(1.6rem, 5vw, 3.4rem);
  align-items: center;
}
.wj-quietly-title { font-family: var(--wj-display); font-size: clamp(1.5rem, 3.4vw, 2.1rem); color: var(--wj-ink); margin: 0.6rem 0 0.9rem; }
.wj-quietly-acts { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.wj-quietly-art { display: flex; justify-content: center; }
.wj-quietly-art .wj-bound--demo { max-width: 13rem; }

@media (max-width: 780px) {
  .wj-quietly-grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .wj-quietly-acts { justify-content: center; }
  .wj-quietly-art { order: -1; }
  .wj-quietly-art .wj-bound--demo { max-width: 10rem; }
}

@media (max-width: 640px) {
  .wj-room-grid { grid-template-columns: minmax(0, 1fr); }
  .wj-room-card-circle .wj-round { --wj-round-r: 7rem; max-width: 17rem; }
  .wj-hall-title { font-size: clamp(2.1rem, 10vw, 2.8rem); }
}

/* ==========================================================
   93. The room card, made intimate
   ========================================================== */

/* cards keep a human width and gather in the middle */
.wj-room-grid {
  grid-template-columns: repeat(auto-fit, minmax(17rem, 22rem));
  justify-content: center;
}

.wj-room-card { padding: 1.5rem 1.4rem 1.7rem; }

/* a living room breathes */
.wj-room-card.is-live {
  animation: wj-room-breathe 4s ease-in-out infinite;
}

@keyframes wj-room-breathe {
  0%, 100% { box-shadow: 0 0 0 1px rgba(198, 164, 94, 0.35), 0 22px 46px -34px rgba(18, 63, 56, 0.5); }
  50% { box-shadow: 0 0 0 2px rgba(198, 164, 94, 0.75), 0 0 34px -8px rgba(198, 164, 94, 0.55), 0 22px 46px -34px rgba(18, 63, 56, 0.5); }
}

/* the empty circle stops shouting about its emptiness */
.wj-room-card-circle .wj-round-seat--empty { opacity: 0.32; }
.wj-room-card-circle .wj-round { max-width: 14rem; }

/* who is in the room */
.wj-room-who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  text-align: left;
  margin: 0.4rem 0 1.2rem;
}
.wj-room-host-face {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--wj-gold);
  object-fit: cover; flex: none;
}
.wj-room-who-line {
  font-family: var(--wj-display);
  font-size: 1rem;
  color: var(--wj-ink);
  line-height: 1.3;
}
.wj-room-who-note {
  font-family: var(--wj-body-face);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--wj-quiet);
  margin-top: 0.15rem;
}

/* two doors, one bright and one quiet */
.wj-room-card-acts { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.wj-room-card-acts .wj-button { width: 100%; max-width: 15rem; padding: 0.85rem 1.4rem; font-size: 0.7rem; }
.wj-room-listen {
  font-family: var(--wj-body-face);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wj-umber);
  text-decoration: none;
  border-bottom: 1px solid rgba(160, 128, 64, 0.5);
  padding-bottom: 0.15rem;
}
.wj-room-listen:hover { color: var(--wj-forest); border-color: var(--wj-forest); }

@media (prefers-reduced-motion: reduce) {
  .wj-room-card.is-live { animation: none; box-shadow: 0 0 0 2px rgba(198, 164, 94, 0.6), 0 22px 46px -34px rgba(18, 63, 56, 0.5); }
}

@media (max-width: 640px) {
  .wj-room-grid { grid-template-columns: minmax(0, 1fr); }
  .wj-room-card-circle .wj-round { max-width: 15rem; }
}

/* the card's own head: stage, then who, then the doors */
.wj-room-card { padding: 0; overflow: hidden; }
.wj-room-card-head { position: relative; min-height: 0; padding: 1.1rem 1.1rem 0; }
.wj-room-card .wj-live-tag,
.wj-room-card .wj-room-when { position: relative; }
.wj-room-card-circle {
  background: linear-gradient(170deg, #FFFFFF, var(--wj-water, #EAF4F0));
  margin: 0.6rem 0 0;
  padding: 0.6rem 1rem 1.1rem;
}
.wj-room-who { padding: 1.1rem 1.3rem 0; margin: 0; text-align: left; justify-content: flex-start; }
.wj-room-host-face--letter {
  display: flex; align-items: center; justify-content: center;
  background: var(--wj-forest); color: #FFFFFF;
  font-family: var(--wj-display); font-size: 1.15rem;
}
.wj-room-card-acts { padding: 1.1rem 1.3rem 1.5rem; margin: 0; }
.wj-room-card-title { display: none; }

/* ==========================================================
   94. The hall, exactly: ribbon, stage, speaking strip
   ========================================================== */
.wj-hall-title em { font-style: italic; }

.wj-ribbon {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin-top: 2.2rem;
  font-family: var(--wj-body-face); font-size: 0.68rem; letter-spacing: 0.1em;
  color: var(--wj-quiet);
}
.wj-ribbon b { font-weight: 400; color: var(--wj-forest); }
.wj-facepile { display: flex; }
.wj-pile-face {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--wj-ivory); margin-left: -8px;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--wj-display); font-size: 0.7rem; color: #FFFFFF;
}
.wj-pile-face:first-child { margin-left: 0; }

/* the room seen through its window */
.wj-room-card-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.wj-room-listeners { font-size: 0.56rem; letter-spacing: 0.14em; color: var(--wj-quiet); }

/* someone is speaking, said plainly */
.wj-speaking-now {
  display: flex; align-items: center; gap: 0.5rem;
  margin: 0.9rem 1.3rem 0;
  padding: 0.6rem 0.85rem;
  background: var(--wj-water, #EAF4F0);
  border-radius: 10px;
  font-size: 0.72rem;
  color: var(--wj-forest);
}
.wj-vu { display: inline-flex; gap: 2px; align-items: flex-end; height: 11px; }
.wj-vu i { width: 2px; background: var(--wj-forest); border-radius: 1px; animation: wj-vu 0.9s ease-in-out infinite; }
.wj-vu i:nth-child(1) { height: 5px; animation-delay: 0s; }
.wj-vu i:nth-child(2) { height: 11px; animation-delay: 0.15s; }
.wj-vu i:nth-child(3) { height: 7px; animation-delay: 0.3s; }
.wj-vu i:nth-child(4) { height: 9px; animation-delay: 0.45s; }

@keyframes wj-vu { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }

@media (prefers-reduced-motion: reduce) { .wj-vu i { animation: none; } }

/* ==========================================================
   95. The room card, exactly as the mockup: stage → who → speaking → acts
   ========================================================== */
.wj-rc {
  background: #FFFFFF;
  border: 1px solid rgba(160, 128, 64, 0.3);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 50px -36px rgba(18, 63, 56, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}
.wj-rc:hover { transform: translateY(-5px); box-shadow: 0 34px 60px -36px rgba(18, 63, 56, 0.55); }
.wj-rc--live { animation: wj-rc-breathe 4.4s ease-in-out infinite; }

@keyframes wj-rc-breathe {
  0%, 100% { box-shadow: 0 0 0 1px rgba(198, 161, 91, 0.35), 0 24px 50px -36px rgba(18, 63, 56, 0.5); }
  50% { box-shadow: 0 0 0 2px rgba(198, 161, 91, 0.8), 0 0 34px -10px rgba(198, 161, 91, 0.6), 0 24px 50px -36px rgba(18, 63, 56, 0.5); }
}

/* the stage: gradient background holding the circle */
.wj-rc-stage {
  position: relative;
  background: linear-gradient(170deg, #FFFFFF, var(--wj-water, #EAF4F0));
  padding: 1.4rem 1.2rem 1.1rem;
}
.wj-rc-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #FFFFFF;
  border: 1px solid rgba(198, 161, 91, 0.5);
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--wj-forest);
}
.wj-rc-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--wj-forest);
  animation: wj-beat 2s ease-in-out infinite;
}
.wj-rc-when {
  position: absolute; top: 1rem; left: 1rem;
  font-size: 0.56rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wj-quiet);
}
.wj-rc-listeners {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 0.56rem; letter-spacing: 0.14em; color: var(--wj-quiet);
}

/* the mini circle */
.wj-card-ring {
  position: relative;
  width: 13.5rem; height: 13.5rem;
  margin: 1.9rem auto 0.4rem;
}
.wj-card-top {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(198, 161, 91, 0.55);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.9), 0 12px 26px -18px rgba(18, 63, 56, 0.5);
  display: flex; align-items: center; justify-content: center;
  padding: 11%;
}
.wj-card-q {
  font-family: var(--wj-display);
  font-style: italic;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--wj-ink);
  text-align: center;
}
.wj-card-seat {
  position: absolute;
  top: 50%; left: 50%;
  width: 2.5rem; height: 2.5rem;
  margin: -1.25rem 0 0 -1.25rem;
  border-radius: 50%;
  transform: rotate(var(--a)) translate(5.6rem) rotate(calc(-1 * var(--a)));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--wj-display); font-size: 0.95rem; color: #FFFFFF;
  border: 2px solid var(--wj-gold);
  box-shadow: 0 6px 14px -8px rgba(18, 63, 56, 0.6);
}
.wj-card-seat--empty {
  background: none;
  border: 2px dashed rgba(160, 128, 64, 0.32);
  box-shadow: none;
  opacity: 0.45;
}
.wj-card-seat.is-speaking {
  border-color: var(--wj-gold-pale, #E8D3A4);
  animation: wj-voice-clear 2.2s ease-in-out infinite;
  z-index: 4;
}
.wj-card-seat.is-speaking::before,
.wj-card-seat.is-speaking::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid rgba(198, 161, 91, 0.8);
  animation: wj-ripple-clear 2.2s ease-out infinite;
  pointer-events: none;
}
.wj-card-seat.is-speaking::after { animation-delay: 1.1s; }

.wj-card-hand {
  position: absolute; top: 50%; left: 50%;
  width: 1.1rem; height: 1.1rem;
  margin: -0.55rem 0 0 -0.55rem;
  border-radius: 50%;
  background: var(--wj-clay, #B0664A); color: #FFFFFF;
  font-size: 0.52rem;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(var(--a)) translate(7.4rem) rotate(calc(-1 * var(--a)));
}

/* who is in the room */
.wj-rc-who {
  padding: 1.1rem 1.3rem 0;
  display: flex; align-items: center; gap: 0.7rem;
}
.wj-rc-face {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--wj-gold); flex: none;
  object-fit: cover;
}
.wj-rc-face--letter {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--wj-display); font-size: 1.1rem; color: #FFFFFF;
}
.wj-rc-title {
  font-family: var(--wj-display);
  font-size: 1.02rem; color: var(--wj-ink); line-height: 1.25;
}
.wj-rc-note {
  font-size: 0.64rem; letter-spacing: 0.05em; color: var(--wj-quiet); margin-top: 0.15rem;
}

/* someone is speaking */
.wj-rc-speaking {
  margin: 0.9rem 1.3rem 0;
  padding: 0.6rem 0.85rem;
  background: var(--wj-water, #EAF4F0);
  border-radius: 10px;
  font-size: 0.68rem; color: var(--wj-forest);
  display: flex; align-items: center; gap: 0.5rem;
}
.wj-rc-vu { display: inline-flex; gap: 2px; align-items: flex-end; height: 11px; }
.wj-rc-vu i {
  width: 2px; background: var(--wj-forest); border-radius: 1px;
  animation: wj-vu 0.9s ease-in-out infinite;
}
.wj-rc-vu i:nth-child(1) { height: 5px; animation-delay: 0s; }
.wj-rc-vu i:nth-child(2) { height: 11px; animation-delay: 0.15s; }
.wj-rc-vu i:nth-child(3) { height: 7px; animation-delay: 0.3s; }
.wj-rc-vu i:nth-child(4) { height: 9px; animation-delay: 0.45s; }

/* the two doors */
.wj-rc-acts {
  padding: 1.1rem 1.3rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
}
.wj-rc-btn {
  display: block; width: 100%; max-width: 14rem; text-align: center;
  background: var(--wj-forest); color: #FFFFFF; text-decoration: none;
  border-radius: 999px; padding: 0.82rem 1.2rem;
  font-family: var(--wj-body-face); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--wj-gold);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wj-rc-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(18, 63, 56, 0.5); }
.wj-rc-btn--ghost {
  background: none; color: var(--wj-forest);
  border-color: rgba(31, 110, 98, 0.5);
}
.wj-rc-btn--ghost:hover { border-color: var(--wj-forest); }
.wj-rc-listen {
  font-family: var(--wj-body-face); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--wj-gold-deep, #A08040); text-decoration: none;
  border-bottom: 1px solid rgba(160, 128, 64, 0.5); padding-bottom: 0.12rem;
}
.wj-rc-listen:hover { color: var(--wj-forest); border-color: var(--wj-forest); }

/* ==========================================================
   96. Steps, ornament, companion
   ========================================================== */
.wj-steps {
  padding: clamp(3.2rem, 7vw, 5rem) 0;
  text-align: center;
}
.wj-steps-title {
  font-family: var(--wj-display); font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--wj-ink);
  margin: 0.7rem 0 1.3rem;
}
.wj-ornament {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin: 0 auto 2.8rem;
}
.wj-ornament i { display: block; width: 3.2rem; height: 1px; background: var(--wj-gold); }
.wj-ornament b { width: 7px; height: 7px; border-radius: 50%; background: var(--wj-gold); }

.wj-steps-three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2.4rem; text-align: center;
  max-width: 56rem; margin: 0 auto;
}
.wj-steps-three h3 {
  font-family: var(--wj-display); font-weight: 400; font-size: 1.25rem;
  color: var(--wj-ink); margin-bottom: 0.6rem;
}
.wj-steps-three p { font-size: 0.9rem; line-height: 1.8; }

.wj-companion {
  background: var(--wj-water, #EAF4F0);
  border-top: 1px solid rgba(160, 128, 64, 0.28);
  border-bottom: 1px solid rgba(160, 128, 64, 0.28);
  padding: clamp(2.8rem, 6vw, 4rem) 0;
}
.wj-companion-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 3rem; align-items: center;
}
.wj-companion-title {
  font-family: var(--wj-display); font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 2rem); color: var(--wj-ink);
  margin: 0.5rem 0 0.8rem;
}
.wj-companion-copy p { font-size: 0.95rem; line-height: 1.85; }
.wj-companion-acts { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.wj-companion-book { display: flex; justify-content: center; }

.wj-mini-book {
  width: 11rem; aspect-ratio: 5 / 7;
  display: flex; border-radius: 5px 12px 12px 5px;
  overflow: hidden;
  box-shadow: 0 30px 60px -34px rgba(18, 63, 56, 0.65);
}
.wj-mini-spine {
  width: 16px; flex: none;
  background: linear-gradient(to right, #8C6E33, #C6A15B 24%, #EFE0B8 48%, #C6A15B 76%, #9A7A38);
}
.wj-mini-cover {
  flex: 1;
  background: linear-gradient(150deg, #2C5F55, #1F6E62 50%, #174A43);
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0.9rem;
}
.wj-mini-plate {
  display: block; width: 78%;
  background: rgba(250, 249, 244, 0.94);
  border: 1px solid rgba(160, 128, 64, 0.7);
  border-radius: 3px;
  text-align: center; padding: 0.5rem 0.4rem;
}
.wj-mini-plate small {
  display: block; font-size: 0.45rem; letter-spacing: 0.22em; text-transform: uppercase; color: #7D6330;
}
.wj-mini-plate span {
  display: block; font-family: var(--wj-display); font-style: italic; font-size: 1rem; color: var(--wj-ink);
}

@media (max-width: 780px) {
  .wj-companion-grid { grid-template-columns: 1fr; text-align: center; }
  .wj-companion-acts { justify-content: center; }
  .wj-companion-book { order: -1; }
}
@media (max-width: 640px) {
  .wj-card-ring { width: 90%; max-width: 13.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .wj-rc--live { animation: none; box-shadow: 0 0 0 2px rgba(198, 161, 91, 0.6); }
  .wj-rc-dot { animation: none; }
  .wj-rc-vu i { animation: none; }
}

/* The voice, named on the table page */
.wj-floor-strip {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  max-width: 22rem; margin: 1.2rem auto 0;
  padding: 0.6rem 0.9rem;
  background: var(--wj-water, #EAF4F0);
  border-radius: 10px;
  font-family: var(--wj-body-face);
  font-size: 0.72rem;
  color: var(--wj-forest);
}
.wj-floor-strip .wjm-vu { display: inline-flex; gap: 2px; align-items: flex-end; height: 11px; }
.wj-floor-strip .wjm-vu i { display: block; width: 2px; background: var(--wj-forest); border-radius: 1px; animation: wj-vu 0.9s ease-in-out infinite; }
.wj-floor-strip .wjm-vu i:nth-child(1) { height: 5px; }
.wj-floor-strip .wjm-vu i:nth-child(2) { height: 11px; animation-delay: 0.15s; }
.wj-floor-strip .wjm-vu i:nth-child(3) { height: 7px; animation-delay: 0.3s; }
.wj-floor-strip .wjm-vu i:nth-child(4) { height: 9px; animation-delay: 0.45s; }
[hidden] { display: none !important; }

/* ==========================================================
   The lantern. Glow, for gold on dark grounds, anywhere in
   the theme: the evening masthead today, the tea shop rooms
   to come. A three-stop luminous gold needs darkness to be
   luminous; these classes provide the darkness and the light.
   ========================================================== */
:root {
  --wj-night: #0F2C27;            /* deep forest, as evening */
  --wj-night-soft: #143630;       /* a step toward the candle */
  --wj-glow: 211, 179, 117;       /* --wj-gold as a triplet, for shadows */
  --wj-glow-lit: 227, 199, 127;   /* gold catching candlelight */
}

/* a dark room: set the ground and the ink together */
.wj-dark {
  background-color: var(--wj-night);
  color: rgba(250, 249, 244, 0.88);
}
.wj-dark h1, .wj-dark h2, .wj-dark h3 { color: #FAF9F4; }

/* words that glow like a lit wick */
.wj-glow-text {
  color: rgb(var(--wj-glow-lit));
  text-shadow: 0 0 3px rgba(var(--wj-glow), 0.7), 0 0 14px rgba(var(--wj-glow), 0.5);
}

/* a hairline that glows: the kintsugi seam, lit from within */
.wj-glow-line {
  display: block;
  height: 1px;
  border: 0;
  background: linear-gradient(to right, transparent, rgba(var(--wj-glow-lit), 0.9), transparent);
  box-shadow: 0 0 10px rgba(var(--wj-glow), 0.5);
}

/* the gallery mat on a dark wall: doubled gold hairlines,
   the outer one softly haloed */
.wj-glow-frame {
  border: 1px solid rgba(var(--wj-glow), 0.55);
  box-shadow:
    0 0 0 4px var(--wj-night),
    0 0 0 5px rgba(var(--wj-glow), 0.35),
    0 0 22px rgba(var(--wj-glow), 0.28);
}

/* a small living point of light */
.wj-glow-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(var(--wj-glow-lit));
  box-shadow: 0 0 4px rgba(var(--wj-glow), 0.8), 0 0 14px 3px rgba(var(--wj-glow), 0.5);
}

/* the candle breath: a slow rise and settle of the halo */
@keyframes wj-lantern {
  0%, 100% { text-shadow: 0 0 3px rgba(var(--wj-glow), 0.7), 0 0 12px rgba(var(--wj-glow), 0.45); }
  50% { text-shadow: 0 0 4px rgba(var(--wj-glow), 0.8), 0 0 20px rgba(var(--wj-glow), 0.6); }
}
@keyframes wj-lantern-box {
  0%, 100% { box-shadow: 0 0 4px rgba(var(--wj-glow), 0.8), 0 0 12px 2px rgba(var(--wj-glow), 0.45); }
  50% { box-shadow: 0 0 5px rgba(var(--wj-glow), 0.9), 0 0 20px 4px rgba(var(--wj-glow), 0.6); }
}
.wj-glow-breathe { animation: wj-lantern 4.4s ease-in-out infinite; }
.wj-glow-dot.wj-glow-breathe { animation: wj-lantern-box 4.4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .wj-glow-breathe, .wj-glow-dot.wj-glow-breathe { animation: none; }
}

/* ==========================================================
   3.80.0 The menu of evenings. The tables archive set as a
   sacred invitation: one tall card in a doubled gold frame on
   aged paper, the questions ahead written as courses, the
   living table announced first, evenings past closing the
   card in a quieter hand.
   ========================================================== */
.wj-menu-room { background: linear-gradient(175deg, #F7F4E9, var(--wj-ivory) 40%, #F2EDDD); }
.wj-menu {
  position: relative;
  max-width: 34rem;
  margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 4rem) clamp(1.4rem, 5vw, 3.2rem) clamp(2.2rem, 5vw, 3.4rem);
  text-align: center;
  background:
    radial-gradient(ellipse 120% 60% at 50% 0%, rgba(234, 244, 240, 0.55), rgba(234, 244, 240, 0) 60%),
    linear-gradient(178deg, #FFFEF9, #FBF7EC 70%, #F7F1E0);
  border: 1px solid rgba(198, 161, 91, 0.6);
  border-radius: 6px;
  box-shadow:
    0 0 0 6px #FFFEF9,
    0 0 0 7px rgba(198, 161, 91, 0.4),
    0 34px 70px -44px rgba(18, 63, 56, 0.5);
}
.wj-menu .wj-divider-mark, .wj-menu svg { margin: 0 auto; }
.wj-menu-house {
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 300;
  font-size: 0.56rem;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--wj-gold-deep);
  margin: 1.2rem 0 0.5rem;
}
.wj-menu-title {
  font-family: "Cormorant Garamond", Cormorant, Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--wj-evergreen, #123F38);
  margin: 0 0 0.4rem;
}
.wj-menu-invite {
  font-family: "Cormorant Garamond", Cormorant, Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--wj-forest);
  margin: 0 0 1.4rem;
}
.wj-menu-rule {
  display: block;
  height: 1px;
  max-width: 12rem;
  margin: 1.6rem auto;
  background: linear-gradient(to right, transparent, rgba(160, 128, 64, 0.75), transparent);
}
.wj-menu-rule--soft { max-width: 7rem; opacity: 0.7; }
.wj-menu-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 300;
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--wj-gold-deep);
  margin: 0 0 1.4rem;
}
.wj-menu-heading--live { color: #1F6E62; }
.wj-menu-heading--quiet { color: #7C8A85; }
.wj-menu-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5FA79B;
  box-shadow: 0 0 4px rgba(95, 167, 155, 0.9), 0 0 12px 2px rgba(95, 167, 155, 0.5);
  animation: wj-menu-pulse 4.4s ease-in-out infinite;
}
@keyframes wj-menu-pulse {
  0%, 100% { box-shadow: 0 0 4px rgba(95, 167, 155, 0.9), 0 0 10px 2px rgba(95, 167, 155, 0.45); }
  50% { box-shadow: 0 0 5px rgba(95, 167, 155, 1), 0 0 18px 4px rgba(95, 167, 155, 0.6); }
}
.wj-course {
  display: block;
  text-decoration: none;
  border-bottom: 0;
  color: inherit;
  padding: 0.9rem 0.6rem 1.1rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}
.wj-course:hover, .wj-course:focus-visible {
  background: rgba(95, 167, 155, 0.07);
  border-bottom: 0;
  color: inherit;
}
.wj-course + .wj-course { border-top: 1px solid rgba(198, 161, 91, 0.22); border-radius: 0 0 8px 8px; }
.wj-course-when {
  display: block;
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 300;
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #7C8A85;
  margin-bottom: 0.5rem;
}
.wj-course--live .wj-course-when { color: #1F6E62; }
.wj-course-q {
  display: block;
  font-family: "Cormorant Garamond", Cormorant, Georgia, serif;
  font-style: italic;
  font-size: 1.28rem;
  line-height: 1.6;
  color: var(--wj-evergreen, #123F38);
  max-width: 24rem;
  margin: 0 auto 0.55rem;
}
.wj-course-q--past { font-size: 1.05rem; font-style: normal; }
.wj-course-meta {
  display: block;
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7C8A85;
}
.wj-course-meta em {
  font-style: normal;
  color: var(--wj-forest);
  border-bottom: 1px solid rgba(160, 128, 64, 0.5);
  padding-bottom: 1px;
  transition: color 0.25s, border-color 0.25s;
}
.wj-course:hover .wj-course-meta em { color: #1F6E62; border-color: #1F6E62; }
.wj-course--past { padding: 0.7rem 0.6rem 0.8rem; }
.wj-menu-empty { padding: 0.4rem 0 0.8rem; }
.wj-menu-foot {
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 300;
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7C8A85;
  margin: 0 0 1.2rem;
}
.wj-menu-calendar { max-width: 44rem; margin: 3rem auto 0; }
@media (prefers-reduced-motion: reduce) { .wj-menu-dot { animation: none; } }

/* ——— the held room's door (single table gate) ——— */
.wj-room-gate { text-align: center; padding: 2.5rem 1rem 3rem; }
.wj-gate-mark { width: 12px; height: 12px; border-radius: 50%; margin: 0 auto 1.6rem;
  background: radial-gradient(circle at 35% 30%, #F4E4B8, #8A6C33);
  box-shadow: 0 0 0 6px rgba(198, 161, 91, 0.15), 0 0 18px rgba(198, 161, 91, 0.5); }
.wj-gate-title { font-family: "Cormorant Garamond", Cormorant, Georgia, serif; font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--wj-evergreen, #123F38); margin: 0 0 0.8rem; }
.wj-gate-word { max-width: 26rem; margin: 0 auto 1.6rem; font-family: "EB Garamond", Georgia, serif;
  font-size: 1rem; line-height: 1.85; color: #3C4B47; }
.wj-gate-wrong { font-family: "Jost", system-ui, sans-serif; font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: #B0664A; margin: 0 0 1rem; }
.wj-gate-form { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.wj-gate-input { font-family: "Jost", system-ui, sans-serif; font-size: 0.85rem; letter-spacing: 0.22em;
  text-transform: uppercase; text-align: center; padding: 0.8rem 1.1rem; min-width: 12rem;
  border: 1px solid rgba(198, 161, 91, 0.6); border-radius: 999px; background: #FFFEF9; color: #123F38; }
.wj-gate-input:focus { outline: 2px solid #5FA79B; outline-offset: 2px; }
.wj-gate-enter { font-family: "Jost", system-ui, sans-serif; font-weight: 300; font-size: 0.62rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: #FFFFFF; background: #1F6E62;
  border: 1px solid rgba(198, 161, 91, 0.8); border-radius: 999px; padding: 0 1.8rem; min-height: 2.9rem; cursor: pointer; }
.wj-gate-enter:hover { box-shadow: 0 0 20px rgba(198, 161, 91, 0.35); }
.wj-gate-back { margin-top: 1.8rem; }
.wj-gate-back a { font-family: "Jost", system-ui, sans-serif; font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; }

/* ==========================================================
   3.88.x The room's own background, and the website's. Fixed
   layers behind everything; when the site wears an image, the
   page grounds open so it glows through, and paper stays paper.
   ========================================================== */
.wj-site-layer, .wj-site-veil {
  position: fixed;
  inset: 0;
  display: block;
  pointer-events: none;
  z-index: -1;
}
.wj-site-layer { background-size: cover; background-position: center; }
.wj-site-veil { background: var(--wj-ivory); }
body.wj-has-site-bg { background: none; }
body.wj-has-site-bg .wj-section,
body.wj-has-site-bg .wjm-hall,
body.wj-has-site-bg .wjm-steps,
body.wj-has-site-bg .wjm-companion,
body.wj-has-site-bg .wj-menu-room { background: none; }

.wj-has-room-layer { position: relative; }
.wj-has-room-layer > .wj-container { position: relative; z-index: 1; }
.wj-has-room-layer .wjm-img-layer,
.wj-has-room-layer .wjm-img-veil { position: absolute; inset: 0; display: block; pointer-events: none; z-index: 0; }
.wj-has-room-layer .wjm-img-layer { background-size: cover; background-position: center; }
.wj-has-room-layer .wjm-img-veil { background: #F7F4E9; }

/* ——— the great door and the one-minute window seat ——— */
.wjm-greatdoor { background: radial-gradient(ellipse 120% 90% at 50% 0%, #143630, #0F2C27 70%); padding: 3.6rem 0 4.2rem; border-bottom: 1px solid rgba(198, 161, 91, 0.35); }
.wjm-greatdoor .wjm-doorway { display: grid; grid-template-columns: minmax(17rem, 24rem); justify-content: center; }
.wjm-door-form { display: flex; flex-direction: column; gap: 0.7rem; align-items: center; margin-top: 1.4rem; position: relative; z-index: 2; }
.wjm-door-email { font-family: "Jost", system-ui, sans-serif; font-size: 0.85rem; letter-spacing: 0.06em;
  text-align: center; padding: 0.8rem 1.1rem; width: 100%; max-width: 15rem;
  border: 1px solid rgba(198, 161, 91, 0.6); border-radius: 999px; background: #FFFEF9; color: #123F38; }
.wjm-door-email:focus { outline: 2px solid #5FA79B; outline-offset: 2px; }
.wjm-greatdoor-enter { cursor: pointer; }
.wjm-door-slip { display: inline-block; margin-top: 1rem; font-family: "Jost", system-ui, sans-serif;
  font-size: 0.56rem; letter-spacing: 0.2em; text-transform: uppercase; color: #A08040;
  text-decoration: underline; text-underline-offset: 0.35em; text-decoration-color: rgba(160, 128, 64, 0.5);
  position: relative; z-index: 2; }
.wjm-door-slip:hover { color: #1F6E62; border-bottom: 0; }

.wj-window-gate { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center;
  background: rgba(15, 44, 39, 0.72); backdrop-filter: blur(4px); padding: 1.5rem; }
.wj-window-gate-card { max-width: 26rem; width: 100%; background: #FFFEF9; border-radius: 14px; text-align: center;
  border: 1px solid rgba(198, 161, 91, 0.6);
  box-shadow: 0 0 0 5px rgba(15, 44, 39, 0.9), 0 0 0 6px rgba(198, 161, 91, 0.35), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  padding: 2.2rem 1.6rem 2rem; }
.wj-gate-signin { display: inline-flex; align-items: center; min-height: 2.9rem; padding: 0 1rem;
  font-family: "Jost", system-ui, sans-serif; font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: #A08040; text-decoration: underline; text-underline-offset: 0.35em; }
.wj-gate-signin:hover { color: #1F6E62; border-bottom: 0; }


/* ==========================================================
   67. The morning after: the room stays warm three days
   ========================================================== */
.wj-after {
  margin-top: 3rem;
  background: #FFFFFF;
  border: 1px solid rgba(160, 128, 64, 0.3);
  border-radius: 18px;
  padding: 2.2rem 2rem 2rem;
  text-align: center;
  box-shadow: 0 24px 48px -30px rgba(18, 63, 56, 0.25);
}
.wj-after-line {
  max-width: 34rem;
  margin: 0.6rem auto 0;
  font-family: var(--wj-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--wj-ink);
}

.wj-after-void { margin-top: 1.6rem; }
.wj-after-form { max-width: 30rem; margin: 0 auto 1.4rem; }
.wj-after-input {
  width: 100%;
  font-family: var(--wj-body-face);
  font-size: 1.02rem;
  color: var(--wj-ink);
  background: var(--wj-ivory);
  border: 1px solid rgba(160, 128, 64, 0.4);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.8rem;
  resize: vertical;
}
.wj-after-input:focus { outline: 2px solid var(--wj-teal); outline-offset: 1px; }

.wj-after-faces-head { margin-top: 2rem; }
.wj-after-faces {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem 2.2rem;
  margin-top: 1.1rem;
}
.wj-after-face { width: 8.4rem; text-align: center; }
.wj-after-portrait {
  display: inline-flex;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 4px rgba(160, 128, 64, 0.5), 0 10px 20px -12px rgba(18, 63, 56, 0.35);
}
.wj-after-portrait img { width: 100%; height: 100%; object-fit: cover; }
.wj-after-portrait--empty { align-items: center; justify-content: center; background: var(--wj-forest); }
.wj-after-portrait--empty span { font-family: var(--wj-display); font-size: 1.5rem; color: #FFFFFF; }
.wj-after-name { margin: 0.55rem 0 0.2rem; font-family: var(--wj-display); font-size: 1.02rem; }
.wj-after-name a { color: var(--wj-ink); text-decoration: none; border-bottom: 1px solid rgba(160, 128, 64, 0.5); }
.wj-after-face .wj-button { font-size: 0.62rem; padding: 0.45rem 0.9rem; }
.wj-after-face .wj-kin-state { font-size: 0.78rem; font-style: italic; color: var(--wj-umber); margin: 0.2rem 0 0; }

.wj-after-bridges { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }


/* ==========================================================
   68. The Guide's Path, the set-a-table form, the record
   ========================================================== */
.wj-path-card {
  background: #FFFFFF;
  border: 1px solid rgba(160, 128, 64, 0.3);
  border-radius: 18px;
  padding: 2.4rem 2.2rem;
  box-shadow: 0 24px 48px -30px rgba(18, 63, 56, 0.25);
}
.wj-path-dots { letter-spacing: 0.3em; color: var(--wj-gold); margin: 0.6rem 0 0.2rem; }
.wj-lesson-body { max-width: 34rem; margin: 1.4rem auto 0; }
.wj-lesson-reflect { max-width: 30rem; margin: 1.8rem auto 0; }
.wj-reflect-prompt { color: var(--wj-umber); }
.wj-lesson-reflect textarea, .wj-after .wj-after-input {
  width: 100%;
  font-family: var(--wj-body-face);
  font-size: 1.02rem;
  color: var(--wj-ink);
  background: var(--wj-ivory);
  border: 1px solid rgba(160, 128, 64, 0.4);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  margin-bottom: 1rem;
  resize: vertical;
}
.wj-path-avail { margin-top: 2rem; font-style: italic; color: var(--wj-umber); }

.wj-check-list { max-width: 34rem; margin: 2rem auto 0; padding-left: 1.2rem; text-align: left; }
.wj-check-list li { margin-bottom: 1.8rem; }
.wj-check-q { font-family: var(--wj-display); font-size: 1.1rem; margin-bottom: 0.5rem; }
.wj-check-opt { display: block; padding: 0.35rem 0; }

.wj-set-table { max-width: 34rem; margin: 2rem auto 0; text-align: left; }
.wj-set-table input[type="text"], .wj-set-table input[type="number"], .wj-set-table input[type="datetime-local"], .wj-set-table select {
  width: 100%;
  font-family: var(--wj-body-face);
  font-size: 1rem;
  color: var(--wj-ink);
  background: #FFFFFF;
  border: 1px solid rgba(160, 128, 64, 0.4);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
}
.wj-shelves { margin-top: 2rem; }
.wj-shelf { border: 1px solid rgba(160, 128, 64, 0.3); border-radius: 12px; padding: 1rem 1.2rem; margin-top: 1.2rem; }
.wj-shelf legend { font-family: var(--wj-display); padding: 0 0.5rem; }
.wj-shelf-q { display: block; padding: 0.3rem 0; }

.wj-guide-mark { font-family: var(--wj-label-face, inherit); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wj-gold); margin: 0.6rem 0 0; }
.wj-guided-list { max-width: 30rem; margin: 1rem auto 0; list-style: none; padding: 0; text-align: center; }
.wj-guided-list li { padding: 0.3rem 0; border-bottom: 1px solid rgba(160, 128, 64, 0.2); }
.wj-guided-list li:last-child { border-bottom: 0; }
.wj-guided-when { color: var(--wj-umber); font-size: 0.9rem; margin-left: 0.5rem; }

.wj-service-record {
  background: #FFFFFF;
  border: 1px solid rgba(160, 128, 64, 0.5);
  border-radius: 14px;
  padding: 2.4rem 2.2rem;
  box-shadow: 0 24px 48px -30px rgba(18, 63, 56, 0.25);
}
.wj-service-note { max-width: 32rem; margin: 1.2rem auto 0; font-size: 0.95rem; color: var(--wj-umber); }
.wj-service-line { max-width: 32rem; margin: 1.2rem auto 0; }

@media print {
  .wj-noprint, .wj-site-layer, .wj-site-veil, header, footer, nav { display: none !important; }
  .wj-service-record { box-shadow: none; border-color: #999; }
}

.wj-kind-tag { display: inline-block; margin-left: 0.4rem; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wj-teal); border: 1px solid rgba(95, 167, 155, 0.5); border-radius: 999px; padding: 0.05rem 0.5rem; }

/* the wide door */
.wj-arrive-anon { margin-top: 0.9rem; }
.wj-quiet-link { background: none; border: 0; cursor: pointer; font-family: var(--wj-body-face); font-style: italic; font-size: 0.98rem; color: var(--wj-umber); border-bottom: 1px solid rgba(160, 128, 64, 0.5); padding: 0 0 1px; }
.wj-quiet-link:hover { color: var(--wj-ink); }
.wj-gate-identity { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wj-teal); }
.wj-gate-covenant { max-width: 32rem; margin: 0.8rem auto 1.2rem; font-size: 0.95rem; font-style: italic; color: var(--wj-umber); }
.wj-after-keep { font-size: 0.92rem; color: var(--wj-umber); margin: -0.3rem 0 0.9rem; }
.wj-after-keep select { font-family: var(--wj-body-face); border: 1px solid rgba(160, 128, 64, 0.4); border-radius: 6px; padding: 0.25rem 0.4rem; background: #FFFFFF; }
.wj-after-portrait--anon span { font-size: 1.8rem; line-height: 1; }


/* ==========================================================
   69. The door opens: after a true word
   ========================================================== */
.wj-dooropen {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0F2C27;
  animation: wj-dooropen-fade 0.6s ease 2.6s forwards;
  pointer-events: none;
}
.wj-dooropen-scene {
  position: relative;
  width: min(320px, 70vw);
  height: min(430px, 62vh);
  perspective: 900px;
  overflow: hidden;
  border-radius: 160px 160px 8px 8px;
}
.wj-dooropen-arch {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(198, 161, 91, 0.85);
  border-radius: 160px 160px 8px 8px;
  pointer-events: none;
}
.wj-dooropen-light {
  position: absolute;
  inset: 4px;
  border-radius: 156px 156px 6px 6px;
  background: radial-gradient(ellipse at 50% 45%, #F7E9C8 0%, #E8D3A4 45%, #B98A4B 100%);
  opacity: 0;
  animation: wj-dooropen-glow 1.6s ease 0.9s forwards;
}
.wj-dooropen-leaf {
  position: absolute;
  top: 3px;
  bottom: 3px;
  width: 50%;
  background: linear-gradient(105deg, #16352F 0%, #1E4038 55%, #123F38 100%);
  box-shadow: inset 0 0 0 1px rgba(198, 161, 91, 0.35);
}
.wj-dooropen-leaf--l {
  left: 3px;
  border-radius: 154px 0 0 6px;
  transform-origin: left center;
  animation: wj-dooropen-l 1.7s cubic-bezier(0.6, 0, 0.2, 1) 0.8s forwards;
}
.wj-dooropen-leaf--r {
  right: 3px;
  border-radius: 0 154px 6px 0;
  transform-origin: right center;
  animation: wj-dooropen-r 1.7s cubic-bezier(0.6, 0, 0.2, 1) 0.8s forwards;
}
.wj-dooropen-word {
  margin-top: 2rem;
  font-family: var(--wj-display);
  font-style: italic;
  font-size: 1.15rem;
  color: #E8D3A4;
  opacity: 0;
  animation: wj-dooropen-word 0.9s ease 0.3s forwards;
}
@keyframes wj-dooropen-l { to { transform: rotateY(84deg); } }
@keyframes wj-dooropen-r { to { transform: rotateY(-84deg); } }
@keyframes wj-dooropen-glow { to { opacity: 1; } }
@keyframes wj-dooropen-word { to { opacity: 1; } }
@keyframes wj-dooropen-fade { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .wj-dooropen { display: none; }
}

/* the journey */
.wj-journey-part { margin-top: 2.6rem; text-align: center; }
.wj-journey-paths { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 1rem; }
.wj-journey-path { display: inline-flex; align-items: baseline; gap: 0.5rem; background: #FFFFFF; border: 1px solid rgba(160, 128, 64, 0.4); border-radius: 999px; padding: 0.55rem 1.1rem; text-decoration: none; color: var(--wj-ink); }
.wj-journey-path:hover { border-color: var(--wj-teal); }
.wj-journey-path-name { font-family: var(--wj-display); font-size: 1rem; }
.wj-journey-path-walk { font-size: 0.72rem; letter-spacing: 0.12em; color: var(--wj-umber); }
.wj-journey-form { max-width: 32rem; margin: 1.8rem auto 0; }
.wj-journey-form textarea { width: 100%; font-family: var(--wj-body-face); font-size: 1.02rem; color: var(--wj-ink); background: var(--wj-ivory); border: 1px solid rgba(160, 128, 64, 0.4); border-radius: 10px; padding: 0.9rem 1rem; margin-bottom: 1rem; resize: vertical; }

.wj-journey-under { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wj-teal); margin: 0.2rem 0 0.4rem; }

/* the game room */
.wj-game { margin-top: 2.6rem; background: #FFFFFF; border: 1px solid rgba(160, 128, 64, 0.3); border-radius: 18px; padding: 2rem 1.8rem; text-align: center; box-shadow: 0 24px 48px -30px rgba(18, 63, 56, 0.25); }
.wj-game-traveler { font-family: var(--wj-display); font-style: italic; font-size: 1.05rem; color: var(--wj-umber); margin: 0.6rem 0 0.2rem; }
.wj-game-moment { font-family: var(--wj-display); font-size: 1.5rem; max-width: 30rem; margin: 0.4rem auto 1rem; }
.wj-game-social { font-family: var(--wj-display); font-size: 1.35rem; max-width: 30rem; margin: 0.4rem auto 0.6rem; }
.wj-game-spread { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; max-width: 30rem; margin: 0.8rem auto; }
.wj-game-card { background: var(--wj-ivory); border: 1px solid rgba(160, 128, 64, 0.5); border-radius: 8px; padding: 0.45rem 0.85rem; font-family: var(--wj-display); font-size: 0.98rem; box-shadow: 0 4px 10px -6px rgba(18, 63, 56, 0.3); }
.wj-game-safety { font-style: italic; margin-top: 1.2rem; }
.wj-game-controls { margin-top: 1.2rem; }
.wj-game-controls select { font-family: var(--wj-body-face); border: 1px solid rgba(160, 128, 64, 0.4); border-radius: 8px; padding: 0.5rem 0.6rem; background: #FFFFFF; margin-right: 0.4rem; }
