:root {
  --lf-bg: #f8f7f4;
  --lf-paper: #ffffff;
  --lf-ink: #0a0a0a;
  --lf-muted: #66635e;
  --lf-accent: #c8372d;
  --lf-rule: rgba(10, 10, 10, 0.11);
  --lf-serif: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --lf-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --lf-mono: 'JetBrains Mono', monospace;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--lf-bg);
  color: var(--lf-ink);
  font-family: var(--lf-serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.lf-shell {
  min-height: 100vh;
  background: var(--lf-bg);
  color: var(--lf-ink);
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

.lf-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ==========================================================================
   SHARED SHELL: WHISPER-QUIET ARCHIVAL HEADER + CIRCULAR ⓘ BUTTON
   ========================================================================== */
.lf-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 32px;
  background: rgba(248, 247, 244, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(10, 10, 10, 0.06);
}

.lf-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--lf-ink);
}

.lf-brand-wordmark {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.015em;
}

.lf-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.lf-nav-link {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: 16.5px;
  color: var(--lf-muted);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lf-nav-link:hover,
.lf-nav-link.is-active {
  color: var(--lf-ink);
  font-style: italic;
  border-bottom-color: var(--lf-ink);
}

.lf-header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lf-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lf-switcher-btn {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 0 0 2px;
  border: none;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--lf-muted);
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: 16.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lf-switcher-btn:hover,
.lf-switcher-btn[aria-expanded="true"] {
  color: var(--lf-ink);
  font-style: italic;
  border-bottom-color: var(--lf-ink);
}

.lf-switcher-caret {
  font-family: var(--lf-serif);
  font-size: 13px;
  font-style: normal;
  opacity: 0.72;
}

.lf-popover {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 268px;
  background: var(--lf-paper);
  border: 1px solid var(--lf-rule);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 18px 44px rgba(10, 10, 10, 0.08);
  z-index: 120;
}

.day-switcher.is-open .day-switcher-popover,
.day-switcher-popover.is-open,
.lang-switcher.is-open .lang-popover,
.lang-popover.is-open {
  display: block;
}

.day-switcher-heading {
  font-family: var(--lf-serif);
  font-style: italic;
  font-size: 13.5px;
  color: var(--lf-muted);
  padding: 4px 10px 8px;
  border-bottom: 1px solid var(--lf-rule);
  margin-bottom: 6px;
}

.day-switcher-option {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: background-color 0.15s ease;
}

.day-switcher-option:hover,
.day-switcher-option.is-active {
  background: var(--lf-bg);
}

.day-opt-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.day-opt-name {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: 16.5px;
  color: var(--lf-muted);
  transition: color 0.15s ease, font-style 0.15s ease;
}

.day-switcher-option:hover .day-opt-name,
.day-switcher-option.is-active .day-opt-name {
  color: var(--lf-ink);
  font-style: italic;
}

.day-opt-badge {
  font-family: var(--lf-serif);
  font-size: 13px;
  color: var(--lf-muted);
}

.day-opt-sub {
  font-family: var(--lf-sans);
  font-size: 11.5px;
  color: var(--lf-muted);
}

.lang-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 7px 10px;
  border: 1px solid var(--lf-rule);
  border-radius: 6px;
  font-family: var(--lf-sans);
  font-size: 12px;
  margin-bottom: 6px;
}

.lang-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 240px;
  overflow-y: auto;
}

.lang-option {
  display: flex;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 5px;
  font-family: var(--lf-sans);
  font-size: 12px;
  color: var(--lf-ink);
  text-decoration: none;
}

.lang-option:hover,
.lang-option.is-active {
  background: var(--lf-bg);
}

.lang-option-meta {
  font-family: var(--lf-mono);
  font-size: 10px;
  color: var(--lf-muted);
}

/* Signature lovefrom.com circular 1.2px-stroke ⓘ / × button */
.lf-info-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.3px solid var(--lf-ink);
  background: transparent;
  color: var(--lf-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-style: italic;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lf-info-circle:hover,
.lf-info-circle[aria-expanded='true'] {
  background: var(--lf-ink);
  color: var(--lf-bg);
}

.lf-info-overlay {
  position: fixed;
  inset: 69px 0 0 0;
  background: rgba(248, 247, 244, 0.98);
  z-index: 75;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  overflow-y: auto;
}

.lf-info-overlay[hidden] {
  display: none !important;
}

.lf-info-overlay-inner {
  max-width: 560px;
  text-align: center;
}

.lf-litany-stanza {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: clamp(24px, 2.5vw, 35px);
  line-height: 1.25;
  margin: 0 0 32px;
}

.lf-litany-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 36px;
}

.lf-litany-line {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: clamp(24px, 2.5vw, 35px);
  line-height: 1.24;
  color: var(--lf-ink);
  text-decoration: none;
}

.lf-litany-line:hover {
  font-style: italic;
  color: var(--lf-accent);
}

.lf-italic-link {
  color: var(--lf-ink);
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   1. HOME HERO: CAMPO SAN GIACOMO DALL'ORIO FOUNTAIN -> #BEAUTIFULLYSIMPLE, + PIGEON
   ========================================================================== */
.lf-main {
  flex: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px 96px;
  box-sizing: border-box;
}

.lf-hero-sheet {
  position: relative;
  min-height: calc(100vh - 84px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 0 56px;
  overflow: visible;
}

/* Shared World Stage: #beautifullysimple (18 Interactive Letters) + Disc-Tangent Pigeon + Solid-Ink Fontanella */
.lf-typewriter-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  z-index: 2;
}

.lf-wordmark-row {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  padding: 96px 148px 28px 68px;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 760px) {
  .lf-wordmark-row {
    padding: 76px 92px 22px 28px;
  }
}

.lf-hero-wordmark {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 72;
  font-weight: 400;
  font-size: clamp(36px, 6.2vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.024em;
  margin: 0;
  color: var(--lf-ink);
  display: inline-flex;
  align-items: baseline;
  position: relative;
  user-select: none;
}

.lf-typed-word {
  display: inline-flex;
  align-items: baseline;
}

.lf-char {
  display: inline-block;
  transform-origin: 50% 82%;
  will-change: transform, opacity;
  cursor: pointer;
}

.lf-char.is-untyped {
  opacity: 0;
}

.lf-caret {
  position: absolute;
  top: 0;
  left: 0;
  width: 1.5px;
  height: 0.84em;
  background: rgba(10, 10, 10, 0.65);
  pointer-events: none;
  animation: lfCaretBlink 0.95s steps(2, start) infinite;
}

.lf-caret.is-hidden {
  opacity: 0;
  animation: none;
}

@keyframes lfCaretBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

/* Shared Coordinate SVG Shell (#pigeon-shell) */
.lf-pigeon-shell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 3;
}

.lf-world-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}

.lf-fontanella-stage {
  opacity: 1;
}

.lf-pigeon-rig-stage {
  pointer-events: auto;
  cursor: pointer;
}

.lf-hero-subwhisper {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--lf-muted);
  margin: 6px 0 16px;
}

.lf-mono-inline {
  font-family: var(--lf-mono);
  font-size: 0.78em;
}

.lf-scene-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.lf-scene-btn {
  background: transparent;
  border: 0;
  padding: 4px 8px;
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: 16px;
  color: var(--lf-ink);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(10, 10, 10, 0.22);
}

.lf-scene-btn:hover {
  color: var(--lf-accent);
  border-bottom-color: var(--lf-accent);
}

.lf-dot {
  color: var(--lf-muted);
}

/* Playable 3-Pillar Carved Cube Sanctuary */
.lf-cube-sanctuary {
  margin-top: 10px;
  padding: 20px 28px;
  border: 1px solid var(--lf-rule);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.64);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 440px;
  width: 100%;
}

.lf-cube-canvas-wrap {
  position: relative;
  width: 190px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lf-noise-paper {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 10, 10, 0.14) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.25;
  pointer-events: none;
}

.lf-cube-svg {
  position: absolute;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.lf-sketch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  pointer-events: auto;
  touch-action: none;
}

.lf-pillar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.lf-pillar-link {
  background: transparent;
  border: 0;
  padding: 2px 4px;
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: 16px;
  color: var(--lf-muted);
  cursor: pointer;
  border-bottom: 1px solid transparent;
}

.lf-pillar-link.is-active,
.lf-pillar-link:hover {
  color: var(--lf-ink);
  font-style: italic;
  border-bottom-color: var(--lf-ink);
}

.lf-slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.lf-coord-whisper {
  font-family: var(--lf-mono);
  font-size: 10.5px;
  color: var(--lf-muted);
}

.lf-range {
  width: 110px;
  accent-color: var(--lf-ink);
}

.lf-quiet-reset {
  background: transparent;
  border: 1px solid var(--lf-rule);
  border-radius: 999px;
  padding: 3px 10px;
  font-family: var(--lf-sans);
  font-size: 11px;
  color: var(--lf-ink);
  cursor: pointer;
}

/* ==========================================================================
   ACT II: LOVEFROM.COM 35PX / 42PX CENTERED VERTICAL LITANY
   ========================================================================== */
.lf-litany-section {
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 0;
  text-align: center;
}

.lf-litany-intro {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: clamp(23px, 2.3vw, 33px);
  line-height: 1.32;
  margin: 0 0 44px;
  color: var(--lf-ink);
}

.lf-litany-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.lf-litany-item {
  background: transparent;
  border: 0;
  padding: 2px 8px;
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: clamp(25px, 2.5vw, 35px);
  line-height: 1.22;
  color: var(--lf-muted);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.lf-litany-item:hover,
.lf-litany-item.is-active {
  color: var(--lf-ink);
  font-style: italic;
}

.lf-litany-whisper {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--lf-muted);
  max-width: 520px;
  margin: 0 auto 36px;
}

.lf-primary-essay-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: clamp(22px, 2.1vw, 30px);
  color: var(--lf-ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--lf-ink);
  padding-bottom: 4px;
}

.lf-primary-essay-link:hover {
  color: var(--lf-accent);
  border-bottom-color: var(--lf-accent);
}

/* ==========================================================================
   ACT III & ESSAYS INDEX: CENTERED TYPOGRAPHIC FOLIO
   ========================================================================== */
.lf-home-folio {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.lf-folio-divider {
  width: 64px;
  height: 1px;
  background: var(--lf-ink);
  opacity: 0.24;
  margin: 0 auto 48px;
}

.lf-section-heading {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 48px);
  margin: 0 0 36px;
}

.lf-folio-list,
.lf-essays-ledger {
  display: flex;
  flex-direction: column;
  gap: 44px;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.lf-folio-entry,
.lf-essay-stanza {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--lf-rule);
}

.lf-folio-meta {
  font-family: var(--lf-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lf-muted);
  margin-bottom: 8px;
}

.lf-folio-title,
.lf-stanza-title {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.18;
  margin: 0 0 10px;
}

.lf-folio-title a,
.lf-stanza-title a,
.lf-plate-title a {
  color: var(--lf-ink);
  text-decoration: none;
}

.lf-folio-title a:hover,
.lf-stanza-title a:hover {
  font-style: italic;
  color: var(--lf-accent);
}

.lf-folio-sub,
.lf-stanza-sub {
  font-family: var(--lf-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--lf-muted);
  margin: 0 auto 14px;
  max-width: 540px;
}

.lf-italic-cta {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: 19px;
  color: var(--lf-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--lf-ink);
  padding-bottom: 2px;
}

.lf-centered-header {
  max-width: 740px;
  margin: 0 auto;
  padding: 56px 0 44px;
  text-align: center;
}

.lf-h1 {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: clamp(44px, 5.6vw, 78px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.lf-centered-lead {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.42;
  color: var(--lf-muted);
  margin: 0 auto 24px;
  max-width: 600px;
}

.lf-centered-lead--italic {
  font-style: italic;
}

.lf-view-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lf-stanza-drawer {
  display: none;
  margin: 12px auto 16px;
  max-width: 520px;
}

.lf-essay-stanza.is-published .lf-stanza-drawer {
  display: block;
}

.lf-stanza-quote {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-style: italic;
  font-size: 18px;
  color: var(--lf-ink);
  margin: 0;
}

.lf-quiet-toggle {
  background: transparent;
  border: 1px solid var(--lf-rule);
  border-radius: 999px;
  padding: 6px 16px;
  font-family: var(--lf-sans);
  font-size: 12px;
  cursor: pointer;
}

.lf-essays-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.lf-essays-cards[hidden] {
  display: none !important;
}

.lf-paper-plate {
  background: var(--lf-paper);
  border: 1px solid var(--lf-rule);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lf-plate-title {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  margin: 0;
}

/* ==========================================================================
   3. SINGLE ESSAY READERS: 660PX PROSE COLUMN + STICKY MARGINALIA
   ========================================================================== */
.lf-article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--lf-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lf-muted);
  margin-bottom: 24px;
}

.lf-back-link {
  color: var(--lf-ink);
  text-decoration: none;
}

.lf-article-emblem {
  display: flex;
  justify-content: center;
  margin: 12px 0 8px;
}

.lf-reader-layout {
  display: grid;
  grid-template-columns: minmax(0, 660px) 280px;
  gap: 56px;
  justify-content: center;
  align-items: start;
  padding-top: 24px;
  border-top: 1px solid var(--lf-rule);
}

.lf-reader-prose {
  font-family: var(--lf-sans);
  font-size: 18.5px;
  line-height: 1.78;
  color: var(--lf-ink);
}

.lf-reader-prose p {
  margin: 0 0 24px;
}

.lf-reader-prose h2 {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
  margin: 48px 0 18px;
}

.lf-reader-prose blockquote {
  margin: 36px 0;
  padding-left: 24px;
  border-left: 1.5px solid var(--lf-ink);
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-style: italic;
  font-size: 23px;
  line-height: 1.45;
}

.inline-trigger {
  font-style: italic;
  border-bottom: 1px dashed var(--lf-accent);
  cursor: pointer;
  padding: 0 2px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.inline-trigger:hover,
.inline-trigger.is-active {
  background: rgba(200, 55, 45, 0.1);
  color: var(--lf-accent);
}

.lf-marginalia-card {
  position: sticky;
  top: 96px;
  background: var(--lf-paper);
  border: 1px solid var(--lf-rule);
  border-radius: 10px;
  padding: 22px;
}

.lf-marginalia-tag {
  font-family: var(--lf-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lf-accent);
  margin: 4px 0 8px;
}

.lf-marginalia-title {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 8px;
}

.lf-marginalia-body {
  font-family: var(--lf-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--lf-muted);
  margin: 0;
}

.lf-diagram-sheet {
  margin: 40px 0;
  padding: 28px;
  background: var(--lf-paper);
  border: 1px solid var(--lf-ink);
}

.lf-diagram-title {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: 24px;
  margin: 4px 0 18px;
}

.lf-diagram-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--lf-ink);
  border: 1px solid var(--lf-ink);
}

.lf-quad-cell {
  background: var(--lf-bg);
  border: 0;
  padding: 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lf-quad-cell.is-active,
.lf-quad-cell:hover {
  background: var(--lf-paper);
}

.lf-quad-name {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: 20px;
}

.lf-diagram-readout {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--lf-rule);
  font-family: var(--lf-sans);
  font-size: 14.5px;
}

.lf-article-next {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--lf-rule);
}

/* ==========================================================================
   4. ABOUT DOMAIN: LOVEFROM.COM/JONY CENTERED STANZAIC BIOGRAPHY
   ========================================================================== */
.lf-jony-opening {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 0 36px;
  text-align: center;
}

.lf-jony-h1 {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.18;
  margin: 12px 0 24px;
}

.lf-chapter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.lf-chapter-pill {
  background: transparent;
  border: 1px solid var(--lf-rule);
  border-radius: 999px;
  padding: 5px 12px;
  font-family: var(--lf-sans);
  font-size: 12px;
  color: var(--lf-muted);
  cursor: pointer;
}

.lf-chapter-pill.is-active,
.lf-chapter-pill:hover {
  background: var(--lf-ink);
  color: var(--lf-bg);
  border-color: var(--lf-ink);
}

.lf-jony-layout {
  display: grid;
  grid-template-columns: minmax(0, 560px) 280px;
  gap: 56px;
  justify-content: center;
  align-items: start;
  padding: 24px 0 56px;
}

.lf-jony-stanzas {
  text-align: center;
}

.lf-jony-stanza p {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.54;
  margin: 0 0 32px;
  color: var(--lf-ink);
}

.lf-jony-signoff {
  font-style: italic;
}

.lf-obsession-entry {
  padding: 12px 0;
  cursor: pointer;
}

.lf-obsession-title {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: clamp(25px, 2.6vw, 35px);
  line-height: 1.24;
}

.lf-obsession-entry:hover .lf-obsession-title,
.lf-obsession-entry.is-expanded .lf-obsession-title {
  font-style: italic;
  color: var(--lf-accent);
}

.lf-obsession-reveal {
  font-family: var(--lf-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--lf-muted);
  max-width: 480px;
  margin: 8px auto 0;
}

.lf-motto-signature {
  background: transparent;
  border: 0;
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: clamp(28px, 3vw, 42px);
  cursor: pointer;
  color: var(--lf-ink);
}

/* ==========================================================================
   5. QFWFQ DOMAIN: CALLIGRAPHIC INK ON COSMIC PARCHMENT
   ========================================================================== */
.lf-qfwfq-sheet {
  max-width: 960px;
  margin: 0 auto 56px;
  background: var(--lf-paper);
  border: 1px solid var(--lf-ink);
  border-radius: 12px;
  overflow: hidden;
}

.lf-qfwfq-top,
.lf-qfwfq-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--lf-rule);
  flex-wrap: wrap;
}

.lf-qfwfq-bottom {
  border-bottom: 0;
  border-top: 1px solid var(--lf-rule);
}

.lf-qfwfq-canvas-wrap {
  position: relative;
  height: 440px;
  background: var(--lf-bg);
}

.lf-qfwfq-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}

.lf-qfwfq-prompt {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  text-align: center;
  padding: 24px;
  transition: opacity 0.25s ease;
}

.lf-qfwfq-prompt.is-hidden {
  opacity: 0;
}

.lf-qfwfq-prompt-headline {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  margin-bottom: 8px;
}

.lf-qfwfq-narrative {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-style: italic;
  font-size: 16px;
  margin: 0;
  max-width: 480px;
}

.lf-qfwfq-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lf-qfwfq-btn {
  background: transparent;
  border: 0;
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: 16px;
  color: var(--lf-ink);
  cursor: pointer;
  border-bottom: 1px solid var(--lf-ink);
  padding: 2px 4px;
}

.lf-qfwfq-btn:hover {
  color: var(--lf-accent);
  border-bottom-color: var(--lf-accent);
}

.lf-qfwfq-stanzas {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.lf-calvino-blockquote {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.48;
  margin: 0 0 48px;
}

.lf-acts-row {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 560px;
  gap: 20px;
  margin: 48px auto 0;
  text-align: left;
}

.lf-act-stanza {
  background: var(--lf-paper);
  border: 1px solid var(--lf-rule);
  border-radius: 10px;
  padding: 22px;
}

.lf-act-title {
  font-family: var(--lf-serif);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 18;
  font-weight: 500;
  font-size: 20px;
  margin: 6px 0 8px;
}

.lf-act-copy {
  font-family: var(--lf-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--lf-muted);
  margin: 0;
}

/* ==========================================================================
   FOOTER & RESPONSIVE BREAKPOINTS
   ========================================================================== */
.lf-footer {
  border-top: 1px solid var(--lf-rule);
  padding: 28px 32px;
  margin-top: auto;
}

.lf-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--lf-sans);
  font-size: 13px;
  color: var(--lf-muted);
}

.lf-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lf-ink);
}

.lf-footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.lf-footer-nav a {
  color: var(--lf-muted);
  text-decoration: none;
}

.lf-footer-nav a:hover {
  color: var(--lf-ink);
}

@media (max-width: 960px) {
  .lf-reader-layout,
  .lf-jony-layout,
  .baseline-projects-grid {
    grid-template-columns: 1fr;
  }

  .lf-essays-cards,
  .lf-acts-row {
    grid-template-columns: 1fr;
  }

  .lf-header {
    padding: 14px 18px;
  }
}
