/* Stillpoint — one column, wide margins, no boxes.

   The rules here are deliberately few. There are no cards, no bordered panels,
   no rounded buttons and no drop shadows anywhere on the site: structure comes
   from whitespace, from a hairline of --warm-sand, and from the difference
   between Lora (headings, the clock) and Source Sans 3 (everything read at
   length). The only motion is the breathing circle and the thin bar that comes
   back when you scroll up. */

:root {
  --still-paper: #faf8f4;
  --breath-blue: #33527a;
  --quiet-grey: #7a7d80;
  --warm-sand: #e8e0d2;
  --ink: #23262b;
  --serif: 'Lora', Georgia, 'Songti SC', serif;
  --sans: 'Source Sans 3', -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --col: 68ch;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.sp-body {
  margin: 0;
  background: var(--still-paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

.sp-column {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 1.5rem 8rem;
}

a { color: var(--breath-blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 1px solid var(--breath-blue);
  outline-offset: 3px;
}

.sp-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--still-paper); color: var(--breath-blue);
  padding: 0.6rem 1rem; z-index: 40;
}
.sp-skip:focus { left: 1rem; top: 1rem; }

/* --------------------------------------------------------------- the bar */
.sp-thinbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; gap: 1.25rem;
  padding: 0.75rem 1.5rem;
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: blur(6px);
  transform: translateY(-102%);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}
.sp-thinbar::after {
  content: ''; position: absolute; left: 1.5rem; right: 1.5rem; bottom: 0;
  height: 1px; background: var(--warm-sand);
}
.sp-thinbar.is-shown { transform: translateY(0); opacity: 1; }
.sp-thinbar__mark { font-family: var(--serif); font-size: 1rem; color: var(--ink); letter-spacing: 0.01em; }
.sp-thinbar__links { display: flex; gap: 1.25rem; margin-left: auto; }
.sp-thinbar__links a { color: var(--quiet-grey); }
.sp-thinbar__links a[aria-current="page"] { color: var(--ink); }
.sp-thinbar__lang { color: var(--quiet-grey); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------- masthead */
.sp-masthead { padding: 18vh 0 2.5rem; }
.sp-masthead__mark { display: block; opacity: 0.62; margin-bottom: 1.5rem; }
.sp-masthead__name {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.1rem, 6vw, 3rem); line-height: 1.1;
  margin: 0 0 0.9rem; letter-spacing: -0.01em;
}
.sp-masthead__tag {
  margin: 0; max-width: 34ch; color: var(--quiet-grey);
  font-size: 1.05rem; line-height: 1.6;
}

/* -------------------------------------------------------- breathing ring */
.sp-open { padding: 2rem 0 4.5rem; }
.sp-breath {
  position: relative; width: 220px; height: 220px; margin: 0 0 2rem;
  display: grid; place-items: center;
}
.sp-breath__halo {
  position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 1px var(--warm-sand);
  animation: sp-breathe 8s ease-in-out infinite;
}
.sp-breath__core {
  position: absolute; width: 62%; height: 62%; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(51, 82, 122, 0.13), rgba(51, 82, 122, 0.03) 70%);
  animation: sp-breathe 8s ease-in-out infinite;
}
.sp-breath__dot {
  position: relative; width: 7px; height: 7px; border-radius: 50%;
  background: var(--breath-blue); opacity: 0.75;
}
@keyframes sp-breathe {
  0%, 100% { transform: scale(0.68); }
  50% { transform: scale(1); }
}
.sp-breath__caption {
  margin: -1.4rem 0 2.4rem; color: var(--quiet-grey);
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: lowercase;
}
@media (prefers-reduced-motion: reduce) {
  .sp-breath__halo, .sp-breath__core { animation: none; transform: scale(0.86); }
}

/* No buttons: a word, a rule under it, and space around it. */
.sp-sit, .sp-suggest__again, .sp-timer button, .sp-chip {
  appearance: none; border: 0; border-radius: 0; background: none;
  font: inherit; color: var(--breath-blue); cursor: pointer;
  padding: 0.15rem 0;
  border-bottom: 1px solid var(--warm-sand);
  letter-spacing: 0.06em;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.sp-sit { font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase; }
.sp-sit:hover, .sp-suggest__again:hover, .sp-timer button:hover, .sp-chip:hover { border-color: var(--breath-blue); }
.sp-open__hint { margin: 1.6rem 0 0; max-width: 40ch; color: var(--quiet-grey); font-size: 0.88rem; }

.sp-sit-slot:empty { display: none; }
.sp-suggest { margin: 2.2rem 0 0; max-width: 46ch; }
.sp-suggest__label {
  margin: 0 0 0.4rem; font-size: 0.74rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--quiet-grey);
}
.sp-suggest__name { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; margin: 0 0 0.35rem; }
.sp-suggest__name a { color: var(--ink); }
.sp-suggest__meta { margin: 0 0 0.7rem; color: var(--quiet-grey); font-size: 0.84rem; letter-spacing: 0.04em; }
.sp-suggest__lead { margin: 0 0 1.1rem; font-size: 0.98rem; }
.sp-suggest__acts { display: flex; gap: 1.6rem; align-items: baseline; margin: 0; }
.sp-suggest__go { font-size: 0.92rem; }
.sp-suggest__again { font-size: 0.92rem; }

/* ------------------------------------------------------------ home lists */
.sp-aboutline { padding: 0 0 3.5rem; max-width: 56ch; }
.sp-aboutline p { margin: 0; font-size: 1.05rem; line-height: 1.75; }

.sp-quiet { padding: 0 0 3.5rem; }
.sp-quiet h2, .sp-indexline h2, .sp-prenote h2 {
  font-family: var(--serif); font-weight: 500; font-size: 1.25rem;
  margin: 0 0 1.4rem; letter-spacing: 0.01em;
}
.sp-quiet__group { margin-bottom: 2rem; }
.sp-quiet__group h3 {
  margin: 0 0 0.6rem; font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--quiet-grey);
}
.sp-quiet ul { list-style: none; margin: 0; padding: 0; }
.sp-quiet li {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 0.32rem 0;
}
.sp-quiet li a { color: var(--ink); }
.sp-quiet li a:hover { color: var(--breath-blue); }
.sp-quiet__len, .sp-quiet__more { color: var(--quiet-grey); font-size: 0.82rem; letter-spacing: 0.03em; }
.sp-quiet__len { margin-left: auto; }
.sp-quiet__more { margin: 1.6rem 0 0; font-size: 0.92rem; }

.sp-indexline, .sp-prenote { padding: 0 0 3.5rem; max-width: 58ch; }
.sp-indexline p, .sp-prenote p { margin: 0 0 1rem; color: var(--ink); }
.sp-sched { color: var(--quiet-grey); font-size: 0.88rem; padding-bottom: 2rem; }

/* --------------------------------------------------------- page headers */
.sp-pagehead { padding: 14vh 0 2.5rem; }
.sp-pagehead h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 4.5vw, 2.4rem); margin: 0 0 1rem; }
.sp-pagehead__lede { margin: 0 0 1.4rem; color: var(--quiet-grey); max-width: 52ch; }

.sp-chips { display: flex; flex-wrap: wrap; gap: 1.2rem; padding: 0 0 2.5rem; }
.sp-chip { color: var(--quiet-grey); font-size: 0.86rem; letter-spacing: 0.04em; border-bottom-color: transparent; }
.sp-chip.is-on { color: var(--ink); border-bottom-color: var(--breath-blue); }

.sp-idx { padding: 0 0 3.4rem; }
.sp-idx h2 {
  font-family: var(--serif); font-weight: 500; font-size: 1.2rem;
  margin: 0 0 0.5rem; display: flex; align-items: baseline; gap: 0.7rem;
}
.sp-idx__count { font-family: var(--sans); font-size: 0.74rem; color: var(--quiet-grey); letter-spacing: 0.1em; }
.sp-idx__blurb { margin: 0 0 1.3rem; color: var(--quiet-grey); font-size: 0.92rem; }
.sp-idx__list { list-style: none; margin: 0; padding: 0; }
.sp-idx__list li { padding: 0.9rem 0; }
.sp-idx__list li + li { box-shadow: inset 0 1px 0 0 var(--warm-sand); }
.sp-idx__list a { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
.sp-idx__list a:hover { color: var(--breath-blue); }
.sp-idx__meta { display: block; color: var(--quiet-grey); font-size: 0.8rem; letter-spacing: 0.05em; margin-top: 0.2rem; }
.sp-idx__lead { margin: 0.45rem 0 0; font-size: 0.95rem; color: #4a4d52; }
.sp-listwrap { padding-bottom: 1rem; }
.sp-empty { color: var(--quiet-grey); }
.sp-more { padding: 0.4rem 0 1rem; }
.sp-more:empty { padding: 0; }
.sp-more__btn { font-size: 0.86rem; }

/* -------------------------------------------------------------- detail */
.sp-piece { padding-top: 12vh; }
.sp-piece__head { margin-bottom: 2.5rem; }
.sp-piece__family {
  margin: 0 0 0.9rem; font-size: 0.74rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--quiet-grey);
}
.sp-piece__family a { color: var(--quiet-grey); }
.sp-piece h1 {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em;
  font-size: clamp(1.75rem, 4.6vw, 2.35rem); line-height: 1.2; margin: 0 0 1rem;
}
.sp-piece__lede { margin: 0 0 1.8rem; font-size: 1.1rem; line-height: 1.7; color: #3a3d42; }

.sp-facts { display: flex; flex-wrap: wrap; gap: 2.4rem; margin: 0; }
.sp-facts div { margin: 0; }
.sp-facts dt {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--quiet-grey); margin-bottom: 0.25rem;
}
.sp-facts dd { margin: 0; font-size: 0.98rem; font-variant-numeric: tabular-nums; }
/* The byline is one more fact in the same list; the desk name is underlined
   on hover like every other link, and never shouts. */
.sp-facts__byline dd a { color: var(--ink); }
.sp-facts__byline dd a:hover { color: var(--breath-blue); }

.sp-figure { margin: 0 0 3.5rem; }
.sp-figure img { display: block; width: 100%; height: auto; }
.sp-figure figcaption { margin-top: 0.8rem; color: var(--quiet-grey); font-size: 0.78rem; letter-spacing: 0.05em; }

.sp-scriptwrap { margin-bottom: 3.5rem; }
.sp-scriptwrap h2, .sp-anchorbox h2, .sp-drift h2, .sp-band h2, .sp-faq h2, .sp-termsused h2, .sp-timerwrap h2, .sp-lex h2 {
  font-family: var(--serif); font-weight: 500; font-size: 1.22rem; margin: 0 0 0.9rem;
}
.sp-note { margin: 0 0 1.6rem; color: var(--quiet-grey); font-size: 0.86rem; }
.sp-script p { margin: 0 0 1.5rem; line-height: 1.95; }
.sp-script__first::first-letter {
  float: left; font-family: var(--serif); font-size: 3.4rem; line-height: 0.86;
  padding: 0.16rem 0.6rem 0 0; color: var(--breath-blue);
}
.sp-beat {
  font-size: 0.74rem; letter-spacing: 0.14em; color: var(--quiet-grey);
  padding: 0 0.35em; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.sp-beat::before { content: '· '; }

.sp-anchorbox { margin-bottom: 3.5rem; }
.sp-anchorbox p { margin: 0; font-family: var(--serif); font-size: 1.12rem; line-height: 1.8; }

.sp-drift { margin-bottom: 3.5rem; }
.sp-drift ol { margin: 0; padding-left: 1.3rem; }
.sp-drift li { margin-bottom: 0.7rem; }

.sp-band { margin-bottom: 3.2rem; }
.sp-band h2 { display: flex; align-items: baseline; gap: 0.8rem; }
.sp-band__no {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.12em;
  color: var(--quiet-grey); font-variant-numeric: tabular-nums;
}
.sp-band p { margin: 0 0 1.2rem; }

.sp-faq { margin-bottom: 3.2rem; }
.sp-q { padding: 0.8rem 0; }
.sp-q + .sp-q { box-shadow: inset 0 1px 0 0 var(--warm-sand); }
.sp-q summary {
  cursor: pointer; list-style: none; font-family: var(--serif);
  font-size: 1.06rem; line-height: 1.5;
}
.sp-q summary::-webkit-details-marker { display: none; }
.sp-q summary::before { content: '— '; color: var(--quiet-grey); }
.sp-q[open] summary::before { content: '+ '; }
.sp-q p { margin: 0.7rem 0 0; color: #3a3d42; }

.sp-termsused { margin-bottom: 3.2rem; }
.sp-termsused ul, .sp-termlist { list-style: none; margin: 0; padding: 0; }
.sp-termsused li, .sp-termlist li { padding: 0.45rem 0; font-size: 0.96rem; }
.sp-disclaim {
  margin: 0 0 3rem; padding-top: 1.6rem; color: var(--quiet-grey);
  font-size: 0.88rem; line-height: 1.7;
  box-shadow: inset 0 1px 0 0 var(--warm-sand);
}
.sp-disclaim strong { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------- timer */
.sp-timerwrap { margin-bottom: 3.5rem; }
.sp-timer { max-width: 26rem; }
.sp-timer__clock {
  font-family: var(--serif); font-size: 3rem; line-height: 1;
  margin: 0 0 0.6rem; font-variant-numeric: tabular-nums; letter-spacing: 0.02em;
}
.sp-timer__phase { margin: 0 0 1.4rem; color: var(--quiet-grey); font-size: 0.86rem; letter-spacing: 0.06em; }
.sp-timer__acts { display: flex; gap: 1.6rem; }
.sp-timer button { font-size: 0.92rem; }
.sp-timer__bells { margin: 1.4rem 0 0; color: var(--quiet-grey); font-size: 0.8rem; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.sp-timer__state { margin: 0.8rem 0 0; font-size: 0.9rem; color: var(--breath-blue); }
.sp-timer.is-running .sp-timer__clock { color: var(--breath-blue); }

/* ------------------------------------------------------------- lexicon */
.sp-lex { margin: 0; padding-bottom: 3rem; }
.sp-lex__row { padding: 1.1rem 0; }
.sp-lex__row + .sp-lex__row { box-shadow: inset 0 1px 0 0 var(--warm-sand); }
.sp-lex dt { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 0.3rem; }
.sp-lex dt a { color: var(--ink); }
.sp-lex dd { margin: 0; color: #4a4d52; font-size: 0.96rem; }
/* A term page reads as a definition, not as a practice: same column, tighter
   lede, and the body set in the serif because these entries are short. */
.sp-piece--term .sp-piece__lede { font-size: 1rem; color: var(--quiet-grey); }
.sp-piece--term h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.sp-defbox { margin-bottom: 3.2rem; }
.sp-defbox p { font-family: var(--serif); font-size: 1.1rem; line-height: 1.85; margin: 0 0 1.4rem; }

/* --------------------------------------------------------------- legal */
.sp-piece--doc { padding-top: 12vh; }
.sp-prose h2 {
  font-family: var(--serif); font-weight: 500; font-size: 1.14rem;
  margin: 2.6rem 0 0.8rem;
}
.sp-prose p { margin: 0 0 1.2rem; }
.sp-prose ul { margin: 0 0 1.4rem; padding-left: 1.2rem; }
.sp-prose li { margin-bottom: 0.5rem; }
.sp-prose strong { font-weight: 600; }

/* ------------------------------------------------------------ footermap */
.sp-footmap {
  max-width: 76rem; margin: 0 auto; padding: 4rem 1.5rem 5rem;
  font-size: 0.88rem; position: relative;
}
.sp-footmap::before {
  content: ''; position: absolute; left: 1.5rem; right: 1.5rem; top: 0;
  height: 1px; background: var(--warm-sand);
}
.sp-footmap__intro { max-width: 34rem; margin-bottom: 1rem; }
.sp-footmap__brand { font-family: var(--serif); font-size: 1.05rem; margin: 0 0 0.5rem; }
.sp-footmap__note { margin: 0 0 0.8rem; color: var(--quiet-grey); max-width: 34ch; }
.sp-footmap__mail { margin: 0 0 2.5rem; }
.sp-footmap__grid {
  display: grid; gap: 2rem 2.4rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}
.sp-footmap__col h2 {
  margin: 0 0 0.7rem; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--quiet-grey);
}
.sp-footmap__col ul { list-style: none; margin: 0; padding: 0; }
.sp-footmap__col li { margin-bottom: 0.35rem; line-height: 1.5; }
.sp-footmap__col a { color: var(--ink); }
.sp-footmap__col a:hover { color: var(--breath-blue); }
/* One line of editorial scope, in the footer of every page. */
.sp-footmap__disclaim {
  margin: 3rem 0 0; color: var(--quiet-grey);
  font-size: 0.8rem; line-height: 1.7; max-width: 62ch;
}
.sp-footmap__disclaim + .sp-footmap__legal { margin-top: 1.6rem; }
.sp-footmap__legal {
  margin: 3rem 0 0; padding-top: 1.4rem; color: var(--quiet-grey);
  font-size: 0.8rem; box-shadow: inset 0 1px 0 0 var(--warm-sand);
}

@media (max-width: 640px) {
  body.sp-body { font-size: 17px; }
  .sp-column { padding: 0 1.15rem 5rem; }
  .sp-masthead, .sp-pagehead { padding-top: 12vh; }
  .sp-breath { width: 170px; height: 170px; }
  .sp-facts { gap: 1.4rem; }
  .sp-thinbar { padding: 0.6rem 1.15rem; gap: 0.9rem; font-size: 0.8rem; }
  .sp-thinbar::after { left: 1.15rem; right: 1.15rem; }
  .sp-thinbar__links { gap: 0.9rem; }
}

@media print {
  .sp-thinbar, .sp-sit, .sp-timer__acts, .sp-footmap { display: none; }
}
