/* Static pages (poems, faq, contact): the document scrolls, the call to
   action and the quiet lines at the foot, to /contact and to Bluesky. */

html, body { height: auto; overflow-y: auto; overflow-x: hidden; }
html { scroll-behavior: smooth; }
body { min-height: 100%; }

.cta {
  display: inline-block; text-decoration: none; background: none; border: 1px solid var(--accent); color: var(--accent);
  font-family: var(--font-label); font-size: var(--type-1); font-weight: 300; text-transform: uppercase; letter-spacing: 0.3em;
  padding: 14px 30px; border-radius: 40px;
  transition: color var(--dur-hover) var(--ease-breath), background-color var(--dur-hover) var(--ease-breath), border-color var(--dur-hover) var(--ease-breath);
}
.cta:hover { color: var(--ink-void); background: var(--accent); border-color: var(--accent); }

/* the quiet lines at the foot of the page, under its closing call */
.leave-line { margin: 12vh 0 0; text-align: center; }
.leave-line a {
  display: inline-block; padding: 14px 4px 14px calc(4px + 0.3em); text-decoration: none;
  font-family: var(--font-label); font-weight: 300; font-size: var(--type-1);
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--paper-faint);
  transition: color var(--dur-state) var(--ease-breath);
}
.leave-line [lang="ja"] { font-family: var(--font-glyph); font-size: 1.5em; line-height: 1; letter-spacing: 0; vertical-align: -0.1em; }
.leave-line a:hover, .leave-line a:focus-visible { color: var(--accent); }
/* a second quiet line (the Bluesky profile) sits close under the first */
.leave-line + .leave-line { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
