/* Poetry landing page — fl718-poetry-page — v1.0.0 */

:where(body.fl718-poetry-page) *,
:where(body.fl718-poetry-page) *::before,
:where(body.fl718-poetry-page) *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.fl718-poetry-page {
  background-color: #faf9f7;
  color: #1a1814;
  font-family: 'Cormorant Garamond', Georgia, serif;
  overflow-x: clip;
}

body.fl718-poetry-page .fl718-py-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 28px 64px;
  z-index: 10;
  pointer-events: none;
}

body.fl718-poetry-page .fl718-py-nav-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(26, 24, 20, 0.2);
}

body.fl718-poetry-page .fl718-py-nav-label a { color: inherit; text-decoration: none; pointer-events: auto; }
body.fl718-poetry-page .fl718-py-nav-label span { margin: 0 10px; opacity: 0.5; }

body.fl718-poetry-page .fl718-py-thread {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: rgba(26, 24, 20, 0.07);
  z-index: 0;
  height: 0;
  transition: none;
}

/* Menu curtain thread */
body.fl718-poetry-page #fl718-danlann-thread {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(185, 158, 98, 0.7);
  opacity: 0;
  z-index: 9999;
  pointer-events: none;
}

body.fl718-poetry-page #fl718-danlann-thread.fl718-danlann-thread--breathing {
  animation: fl718-py-thread-breathe 3s ease-in-out infinite;
}

body.fl718-poetry-page #fl718-danlann-hover-zone {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 40px;
  z-index: 10000;
  cursor: pointer;
}

body.fl718-poetry-page #fl718-menu-recall {
  position: fixed;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: rgba(185, 158, 98, 0.85);
  opacity: 0;
  z-index: 10001;
  cursor: pointer;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.05em;
  padding: 8px 16px;
}

body.fl718-poetry-page #fl718-menu-recall:hover {
  color: rgba(185, 158, 98, 1);
}

@keyframes fl718-py-thread-breathe {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1;   }
}

body.fl718-poetry-page .fl718-py-opening {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 64px;
  position: relative;
  opacity: 0;
}

body.fl718-poetry-page .fl718-py-opening-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(26, 24, 20, 0.22);
  margin-bottom: 48px;
  text-align: center;
}

body.fl718-poetry-page .fl718-py-opening-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: rgba(26, 24, 20, 0.88);
  text-align: center;
  margin-bottom: 32px;
}

body.fl718-poetry-page .fl718-py-opening-note {
  font-size: clamp(14px, 1.4vw, 18px);
  font-style: italic;
  font-weight: 300;
  color: rgba(26, 24, 20, 0.32);
  text-align: center;
  line-height: 1.6;
  max-width: 320px;
}

body.fl718-poetry-page .fl718-py-poem-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 64px;
  position: relative;
}

body.fl718-poetry-page .fl718-py-poem-n {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(26, 24, 20, 0.18);
  margin-bottom: 40px;
  text-align: center;
  opacity: 0;
}

body.fl718-poetry-page .fl718-py-poem-fragment {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.55;
  color: rgba(26, 24, 20, 0.78);
  text-align: center;
  max-width: 680px;
  opacity: 0;
}

body.fl718-poetry-page .fl718-py-poem-fragment--loud {
  font-size: clamp(28px, 4vw, 52px);
  color: rgba(26, 24, 20, 0.86);
  letter-spacing: -0.01em;
  line-height: 1.3;
  max-width: 560px;
}

body.fl718-poetry-page .fl718-py-poem-fragment--raw {
  font-size: clamp(16px, 2vw, 26px);
  color: rgba(26, 24, 20, 0.65);
  line-height: 1.75;
  letter-spacing: 0.01em;
  max-width: 440px;
}

body.fl718-poetry-page .fl718-py-poem-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(26, 24, 20, 0.18);
  margin-top: 44px;
  text-align: center;
  opacity: 0;
}

body.fl718-poetry-page .fl718-py-poem-status {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(26, 24, 20, 0.14);
  margin-top: 10px;
  text-align: center;
  opacity: 0;
}

body.fl718-poetry-page .fl718-py-closing {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 64px 120px;
  opacity: 0;
}

body.fl718-poetry-page .fl718-py-closing-rule {
  width: 1px;
  height: 60px;
  background: rgba(26, 24, 20, 0.12);
  margin: 0 auto 40px;
}

body.fl718-poetry-page .fl718-py-closing-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(26, 24, 20, 0.2);
  text-align: center;
  line-height: 2.0;
}

body.fl718-poetry-page .site-content,
body.fl718-poetry-page #content { padding-top: 0; }

body.fl718-poetry-page:not(.fl718-js-loaded) .fl718-py-opening,
body.fl718-poetry-page:not(.fl718-js-loaded) .fl718-py-poem-n,
body.fl718-poetry-page:not(.fl718-js-loaded) .fl718-py-poem-fragment,
body.fl718-poetry-page:not(.fl718-js-loaded) .fl718-py-poem-name,
body.fl718-poetry-page:not(.fl718-js-loaded) .fl718-py-poem-status,
body.fl718-poetry-page:not(.fl718-js-loaded) .fl718-py-closing { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  body.fl718-poetry-page .fl718-py-opening,
  body.fl718-poetry-page .fl718-py-poem-n,
  body.fl718-poetry-page .fl718-py-poem-fragment,
  body.fl718-poetry-page .fl718-py-poem-name,
  body.fl718-poetry-page .fl718-py-poem-status,
  body.fl718-poetry-page .fl718-py-closing {
    opacity: 1 !important;
  }
  body.fl718-poetry-page #fl718-danlann-thread.fl718-danlann-thread--breathing {
    animation: none;
    opacity: 0.7;
  }
}
