/* Timeless Well — shared layout and components.
   Every theme (themes/*.css) re-colours and re-shapes this through the tokens
   below; the default tokens are the Herbarium theme (paper with a green tint,
   forest ink, tree-ring motif, leaf-cornered images). Layout formats are
   classes on <body>: hl-* (home), pl-* (post), rl-* (partner page), cta-*
   (Check availability position) and img-* (image style); t-* is the theme. */

@font-face { font-family: "Young Serif"; src: url("/static/fonts/YoungSerif-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url("/static/fonts/CrimsonPro-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url("/static/fonts/CrimsonPro-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url("/static/fonts/CrimsonPro-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --paper: #f2f6ef;
  --paper-2: #e6eee4;      /* raised surfaces: notes, chat */
  --ink: #1d2b22;
  --ink-2: #4a5a4f;        /* secondary text */
  --forest: #2f5e43;       /* accent */
  --moss: #4e7a5c;         /* accent, hover */
  --sage: #b9cfbe;         /* soft accent */
  --honey: #d9a944;        /* pop colour */
  --honey-ink: #2b2208;
  --on-accent: var(--paper);
  --line: rgba(47, 94, 67, .22);
  --shadow: 0 18px 50px -18px rgba(29, 43, 34, .38);
  --display: "Young Serif", "Iowan Old Style", Georgia, serif;
  --text: "Crimson Pro", "Iowan Old Style", Georgia, serif;
  --ui: var(--text);       /* buttons, navigation, small labels */
  --display-weight: 400;
  --display-tracking: -.01em;
  --body-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --body-leading: 1.62;
  --r-img: 4px 32px 4px 32px;      /* leaf corners */
  --r-img-lg: 6px 72px 6px 72px;
  --r-box: 4px 22px 4px 22px;
  --r-note: 6px 40px 6px 40px;
  --r-btn: 999px;
  --tint: grayscale(1) sepia(.55) hue-rotate(52deg) saturate(1.5) brightness(1.02);
  --shade: 10, 20, 14;   /* the theme's darkest colour, for scrims over photos */
  --scrim: linear-gradient(180deg, rgba(var(--shade), 0) 22%, rgba(var(--shade), .45) 52%, rgba(var(--shade), .86) 100%);
  --measure: 39rem;
  --wide: 70rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --breath: 10s;           /* 6 breaths a minute */
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121c16;
    --paper-2: #1a2820;
    --ink: #e4ece4;
    --ink-2: #a9b8ad;
    --forest: #8cc39e;
    --moss: #a7d1b3;
    --sage: #3c5847;
    --honey: #e2bc6a;
    --honey-ink: #221a05;
    --on-accent: #10180f;
    --line: rgba(140, 195, 158, .22);
    --shadow: 0 18px 50px -18px rgba(0, 0, 0, .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1.5rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--body-size)/var(--body-leading) var(--text);
  font-kerning: normal; font-variant-numeric: oldstyle-nums proportional-nums;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--moss); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--display-weight); line-height: 1.12; letter-spacing: var(--display-tracking); color: var(--ink); text-wrap: balance; }
p, li { text-wrap: pretty; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--forest); color: var(--on-accent); padding: .5rem 1rem; border-radius: 6px; z-index: 50; }
.skip:focus { top: 1rem; }
.leaf { border-radius: var(--r-img); overflow: hidden; }
.leaf-lg { border-radius: var(--r-img-lg); overflow: hidden; }
.empty { color: var(--ink-2); font-style: italic; }

/* Header and footer */
.site-head {
  max-width: var(--wide); margin: 0 auto; padding: 1.4rem var(--gutter) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 2;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 1.35rem; }
.brand:hover { color: var(--forest); }
.mark { width: 1.6em; height: 1.6em; fill: none; stroke: var(--forest); stroke-width: 1.4; flex: none; }
.mark .pith, .mark .fill { fill: var(--forest); stroke: none; }
.site-nav { display: flex; gap: 1.6rem; font-family: var(--ui); font-size: 1.12rem; }
.site-nav a { color: var(--ink-2); text-decoration: none; padding: .2rem 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--forest); }

.site-foot { margin-top: clamp(4rem, 9vw, 7rem); border-top: 1px solid var(--line); }
.foot-grid { max-width: var(--wide); margin: 0 auto; padding: 2.5rem var(--gutter) 3rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem 3rem; align-items: start; }
.brand-foot { font-size: 1.15rem; }
.foot-note { margin: 0; color: var(--ink-2); max-width: 36rem; font-size: 1rem; }
.foot-nav { grid-column: 2; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-family: var(--ui); font-size: 1rem; }
.foot-nav a { color: var(--ink-2); }
.foot-copy { grid-column: 2; margin: 0; color: var(--ink-2); font-size: .92rem; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; } .foot-nav, .foot-copy { grid-column: 1; } }

main { display: block; }
.link-strong { font-weight: 700; text-decoration-thickness: 2px; }

/* Home, classic: hero with the theme's motif */
.hero {
  max-width: var(--wide); margin: 0 auto; padding: clamp(2.5rem, 7vw, 5.5rem) var(--gutter) clamp(2rem, 5vw, 4rem);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center;
}
.hero-title { font-size: clamp(2.35rem, 1.4rem + 4.1vw, 4.4rem); margin: 0 0 1.4rem; max-width: 13em; }
.hero-lede { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); color: var(--ink-2); margin: 0 0 1.8rem; max-width: 32em; }
.hero-links { display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; margin: 0; font-family: var(--ui); }
.hero-art { margin: 0; justify-self: center; width: min(100%, 26rem); text-align: center; }
.hero-art figcaption { margin-top: .9rem; color: var(--ink-2); font-style: italic; font-size: 1rem; }
.motif { width: 100%; height: auto; overflow: visible; display: block; }
@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; gap: 1.2rem; padding-top: 1.6rem; }
  .hero-art { order: -1; width: min(38vw, 9rem); justify-self: start; }
  .hero-art figcaption { display: none; }
}

/* Herbarium motif: tree rings that breathe at six breaths a minute */
.rings path { fill: none; stroke-linejoin: round; }
.rings .r0 { stroke: var(--forest); stroke-width: 2.2; }
.rings .r1 { stroke: var(--moss); stroke-width: 1.3; opacity: .85; }
.rings .r2 { stroke: var(--sage); stroke-width: 3.4; opacity: .9; }
.rings .pith { fill: var(--forest); }
.rings .breath { transform-origin: 186px 210px; animation: breathe var(--breath) ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.94); } 50% { transform: scale(1.04); } }

/* Home: latest post */
.lead {
  max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
.lead-img { display: block; position: relative; }
.lead-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.lead-img:hover img { transform: scale(1.025); }
.lead-date { margin: 0 0 .4rem; color: var(--ink-2); font-style: italic; }
.lead-title { font-size: clamp(1.8rem, 1.3rem + 1.9vw, 2.7rem); margin: 0 0 .9rem; }
.lead-title a { color: inherit; text-decoration: none; }
.lead-title a:hover { color: var(--forest); }
.lead-excerpt { margin: 0 0 1.2rem; color: var(--ink-2); }
.lead-more { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.4rem; margin: 0; font-family: var(--ui); }
@media (max-width: 700px) { .lead { grid-template-columns: 1fr; } }

/* Lists of posts: date in the margin, title, thumbnail */
.list, .related { max-width: var(--wide); margin: clamp(3.5rem, 8vw, 6rem) auto 0; padding: 0 var(--gutter); }
.list-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0 0 1.2rem; }
.list-more { margin: 1.6rem 0 0; font-family: var(--ui); }
.rows { list-style: none; margin: 0; padding: 0; }
.row {
  display: grid; grid-template-columns: 10.5rem minmax(0, 1fr) 9.5rem; gap: .4rem 2rem; align-items: start;
  padding: 1.5rem 0; border-top: 1px solid var(--line);
}
.row:last-child { border-bottom: 1px solid var(--line); }
.row-date { color: var(--ink-2); font-style: italic; font-size: 1rem; padding-top: .35rem; }
.row-title { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.65rem); margin: 0 0 .35rem; }
.row-title a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--sage), var(--sage)) 0 100% / 0 .32em no-repeat; transition: background-size .35s ease; }
.row-title a:hover { color: var(--ink); background-size: 100% .32em; }
.row-text { margin: 0; color: var(--ink-2); font-size: 1.05rem; max-width: 34em; }
.row-len { display: inline-block; margin: .4rem 0 0; color: var(--ink-2); font-size: .95rem; font-family: var(--ui); }
.row-img { display: block; position: relative; }
.row-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 760px) {
  .row { grid-template-columns: minmax(0, 1fr) 6.5rem; gap: .25rem 1rem; }
  .row-date { grid-column: 1 / -1; padding-top: 0; }
  .row-main { grid-column: 1; }
  .row-img { grid-column: 2; grid-row: 2; }
}

/* Home, showcase: the latest post fills the first screen, then a grid */
.show { position: relative; max-width: calc(var(--wide) + 8rem); margin: clamp(1rem, 3vw, 2rem) auto 0; padding: 0 var(--gutter); }
.show-frame { position: relative; display: grid; min-height: min(78vh, 46rem); border-radius: var(--r-img-lg); overflow: hidden; isolation: isolate; background: var(--paper-2); }
.show-media { position: absolute; inset: 0; z-index: -1; display: block; }
.show-media img { width: 100%; height: 100%; object-fit: cover; }
.show-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--shade), .8) 0%, rgba(var(--shade), .5) 48%, rgba(var(--shade), .05) 80%), linear-gradient(180deg, rgba(var(--shade), .1) 40%, rgba(var(--shade), .55) 100%); }
@media (max-width: 760px) { .show-media::after { background: linear-gradient(180deg, rgba(var(--shade), .2) 0%, rgba(var(--shade), .55) 35%, rgba(var(--shade), .9) 75%); } }
.show-panel { align-self: end; padding: clamp(1.5rem, 5vw, 3.5rem); max-width: 46rem; color: #fff; }
.show-tag { margin: 0 0 .6rem; font-family: var(--ui); font-size: 1.05rem; opacity: .92; }
.show-title { font-size: clamp(2.3rem, 1.3rem + 4.4vw, 4.6rem); margin: 0 0 1rem; color: #fff; }
.show-lede { margin: 0 0 1.5rem; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); max-width: 34em; opacity: .94; }
.show-latest { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin: 0; font-family: var(--ui); }
.show-latest a:not(.btn) { color: #fff; }
.show-art { position: absolute; right: clamp(1rem, 4vw, 3rem); top: clamp(1rem, 4vw, 3rem); width: clamp(5rem, 14vw, 10rem); opacity: .9; pointer-events: none; }
.show-plain .show-frame { min-height: 0; color: var(--ink); }
.show-plain .show-panel { color: var(--ink); }
.show-plain .show-title { color: var(--ink); }
.grid-list { max-width: var(--wide); margin: clamp(3rem, 7vw, 5rem) auto 0; padding: 0 var(--gutter); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.2rem, 2.5vw, 2rem); }
.card { display: flex; flex-direction: column; gap: .5rem; }
.card-img { display: block; position: relative; border-radius: var(--r-img); overflow: hidden; margin-bottom: .4rem; }
.card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.card-img:hover img { transform: scale(1.03); }
.card-meta { margin: 0; color: var(--ink-2); font-size: .95rem; font-family: var(--ui); display: flex; flex-wrap: wrap; gap: .2rem 1rem; }
.card-title { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); margin: 0; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--forest); }
.card-text { margin: 0; color: var(--ink-2); font-size: 1.05rem; }

/* Home, focus: one big centred idea, the motif behind it, then the list */
.focus { position: relative; max-width: var(--wide); margin: 0 auto; padding: clamp(3.5rem, 11vw, 8.5rem) var(--gutter) clamp(2.5rem, 6vw, 4.5rem); text-align: center; isolation: isolate; overflow: hidden; }
.focus-art { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(44rem, 120vw); transform: translate(-50%, -50%); opacity: var(--focus-art, .3); pointer-events: none; }
@media (max-width: 700px) { .focus-art { opacity: calc(var(--focus-art, .3) * .4); } }
.focus-title { font-size: clamp(2.6rem, 1.4rem + 5.6vw, 5.6rem); margin: 0 auto 1.4rem; max-width: 12em; }
.focus-lede { margin: 0 auto 2.2rem; max-width: 32em; color: var(--ink-2); font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); }
.focus-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .9rem 1.8rem; margin: 0; font-family: var(--ui); }
.btn-read { background: var(--forest); color: var(--on-accent); }
.btn-read:hover { background: var(--moss); color: var(--on-accent); }

/* Journal page */
.page-head { max-width: var(--wide); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) 1.5rem; }
.page-head h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); margin: 0 0 .6rem; }
.page-lede { margin: 0; color: var(--ink-2); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); max-width: 34em; }
.filter { max-width: var(--wide); margin: 0 auto 1rem; padding: 0 var(--gutter); display: grid; gap: .9rem; }
.filter-input {
  width: min(100%, 30rem); font: inherit; font-size: 1.1rem; color: var(--ink); background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1.2rem;
}
.filter-input::placeholder { color: var(--ink-2); opacity: .8; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  font: inherit; font-family: var(--ui); font-size: 1rem; color: var(--ink-2); background: transparent; border: 1px solid var(--line);
  border-radius: 999px; padding: .2rem .9rem; cursor: pointer;
}
.chip:hover { border-color: var(--forest); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--on-accent); }
.seasons { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.season { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: 0 2rem; margin-top: 2.5rem; }
.season-label { font-size: 1.25rem; margin: 1.45rem 0 0; color: var(--forest); position: sticky; top: 1rem; align-self: start; }
.season .row { grid-template-columns: 8.5rem minmax(0, 1fr) 9.5rem; }
.filter-empty { max-width: var(--wide); margin: 2rem auto; padding: 0 var(--gutter); color: var(--ink-2); }
.link-btn { font: inherit; color: var(--forest); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
@media (max-width: 960px) {
  .season { grid-template-columns: 1fr; }
  .season-label { position: static; margin: 0 0 .5rem; }
  .season .row { grid-template-columns: minmax(0, 1fr) 6.5rem; }
}

/* Post */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 30; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--forest); transform-origin: 0 50%; transform: scaleX(0); }
.post { padding: 0 var(--gutter); }
.post-head { max-width: var(--measure); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.8rem; }
.post-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem .5rem; margin: 0 0 1rem; padding: 0; color: var(--forest); font-family: var(--ui); font-size: 1rem; }
.post-tags li + li::before { content: "/"; color: var(--sage); margin-right: .5rem; }
.post-title { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); margin: 0 0 1.1rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; margin: 0; color: var(--ink-2); font-style: italic; font-size: 1.05rem; }
.cover { max-width: 60rem; margin: 0 auto 2.6rem; }
.cover-media { display: block; position: relative; border-radius: var(--r-img-lg); overflow: hidden; }
.cover img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cover figcaption { padding: .55rem .2rem 0; }
figcaption { color: var(--ink-2); font-size: .95rem; font-style: italic; }
.credit, .credit a { color: var(--ink-2); }
.toc { max-width: var(--measure); margin: 0 auto 2.2rem; padding: 1rem 1.3rem; border: 1px solid var(--line); border-radius: var(--r-box); }
.toc-title { margin: 0 0 .3rem; font-family: var(--display); font-size: 1.05rem; }
.toc ol { margin: 0; padding-left: 1.3rem; font-size: 1.05rem; }
.toc li::marker { color: var(--moss); font-family: var(--display); }
.prose { max-width: var(--measure); margin: 0 auto; }
.prose > * { margin: 0 0 1.15em; }
.prose h2 { font-size: clamp(1.55rem, 1.3rem + .9vw, 2rem); margin: 2.1em 0 .55em; }
.prose h3 { font-size: 1.35rem; margin: 1.8em 0 .5em; }
.prose h4 { font-family: var(--text); font-weight: 700; font-size: 1.1em; margin: 1.6em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin: .35em 0; padding-left: .2rem; }
.prose ul li::marker { content: "◦  "; color: var(--moss); }
.prose ol li::marker { color: var(--moss); font-family: var(--display); font-size: .9em; }
.prose blockquote { margin: 2em 0; padding: .2rem 0 .2rem 1.6rem; border-left: 3px solid var(--sage); font-family: var(--display); font-size: 1.3rem; line-height: 1.4; color: var(--forest); }
.prose blockquote p { margin: 0; }
.prose hr { border: 0; height: 12px; margin: 2.5em auto; width: 60px; background: radial-gradient(circle, var(--sage) 4px, transparent 5px) 0 0 / 20px 12px repeat-x; }
.prose code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85em; background: var(--paper-2); padding: .05em .3em; border-radius: 4px; }
.prose .fig { margin: 2.2em 0; }
.prose .fig img { border-radius: var(--r-img); }
.prose .fig figcaption { padding-top: .5rem; }
.post-care, .care-box {
  max-width: var(--measure); margin: 3rem auto 0; padding: 1.2rem 1.4rem; font-size: 1rem; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: var(--r-box);
}
.post-care p, .care-box p { margin: 0 0 .6em; }
.post-care p:last-child, .care-box p:last-child { margin: 0; }
.related { max-width: var(--wide); }

/* Post, immersive: the cover fills the screen and carries the title */
.post-hero { position: relative; display: grid; min-height: min(86vh, 52rem); margin: 0 calc(-1 * var(--gutter)) 2.6rem; isolation: isolate; color: #fff; overflow: hidden; }
.post-hero-media { position: absolute; inset: 0; z-index: -1; margin: 0; }
.post-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.post-hero-media::after { content: ""; position: absolute; inset: 0; background: var(--scrim); }
.post-hero-text { align-self: end; width: 100%; max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 0 auto; padding: 4rem var(--gutter) clamp(2rem, 5vw, 3.5rem); }
.post-hero .post-title { color: #fff; font-size: clamp(2.3rem, 1.4rem + 3.8vw, 4.2rem); text-shadow: 0 1px 2px rgba(var(--shade), .35), 0 2px 28px rgba(var(--shade), .45); }
.post-hero .post-tags, .post-hero .post-meta { color: rgba(255, 255, 255, .9); }
.post-hero .post-tags li + li::before { color: rgba(255, 255, 255, .6); }
.post-hero-credit { max-width: var(--measure); margin: -1.8rem auto 2.4rem; }

/* Post, split: title beside the cover on wide screens */
.post-split { max-width: var(--wide); margin: 0 auto 2.6rem; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-top: clamp(2rem, 5vw, 3.5rem); }
.post-split .post-head { padding: 0; max-width: none; margin: 0; }
.post-split .cover { margin: 0; max-width: none; }
.post-split .cover img { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .post-split { grid-template-columns: 1fr; } .post-split .cover img { aspect-ratio: 3 / 2; } }

/* Book Now */
.book-note {
  margin: 2.2em 0; padding: 1.4rem 1.5rem 1.3rem; background: var(--paper-2); border-radius: var(--r-note);
  display: grid; gap: .8rem; justify-items: start; position: relative;
}
.book-note::after {
  content: ""; position: absolute; right: 1.2rem; top: 1rem; width: 2.6rem; height: 2.6rem; opacity: .55;
  border-radius: 50%; box-shadow: 0 0 0 1px var(--sage), inset 0 0 0 6px var(--paper-2), inset 0 0 0 7px var(--sage), inset 0 0 0 13px var(--paper-2), inset 0 0 0 14px var(--sage);
}
.book-lead { margin: 0; font-family: var(--display); font-size: 1.3rem; line-height: 1.25; padding-right: 3rem; }
.book-small { margin: 0; color: var(--ink-2); font-size: .98rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; text-align: center;
  font-family: var(--ui); font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid transparent;
  border-radius: var(--r-btn); padding: .62em 1.5em; line-height: 1.15; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.s-solid { background: var(--forest); color: var(--on-accent); }
.btn.s-solid:hover { background: var(--moss); color: var(--on-accent); }
.btn.s-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn.s-outline:hover { background: var(--forest); color: var(--on-accent); }
.btn.s-honey { background: var(--honey); color: var(--honey-ink); }
.btn.s-honey:hover { box-shadow: 0 8px 22px -10px var(--honey); color: var(--honey-ink); }
.btn.s-leaf { background: var(--forest); color: var(--on-accent); border-radius: 999px 999px 999px 6px; }
.btn.s-leaf:hover { background: var(--moss); color: var(--on-accent); }
.btn.s-forest { background: var(--ink); color: var(--paper); }
.btn.s-forest:hover { background: var(--forest); color: var(--on-accent); }
.btn.z-m { font-size: 1.08rem; }
.btn.z-l { font-size: 1.22rem; padding: .7em 1.7em; }
.btn.z-xl { font-size: 1.45rem; padding: .78em 2.1em; }
.btn.z-xxl { font-size: clamp(1.55rem, 1.3rem + 1.2vw, 2rem); padding: .82em 2.4em; min-width: min(100%, 20rem); }
.btn-plain { background: var(--paper-2); color: var(--ink); border-color: var(--line); font-size: 1.05rem; }

.sticky-book, .p-sticky {
  position: fixed; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 20;
  width: min(calc(100% - 2rem), 40rem); transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 1rem; padding: .7rem .7rem .7rem 1.3rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.sticky-book.show, .p-sticky.show { transform: translate(-50%, 0); }
.sticky-lead { margin: 0; flex: 1; font-family: var(--display); font-size: 1.05rem; line-height: 1.2; }
.sticky-close { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 0; background: transparent; color: var(--ink-2); font-size: 1.4rem; cursor: pointer; }
.sticky-close:hover { background: var(--paper-2); }
@media (max-width: 520px) { .sticky-lead { display: none; } .sticky-book, .p-sticky { justify-content: space-between; } }

/* About, privacy */
.page .prose { padding: 0 var(--gutter); max-width: calc(var(--measure) + 2 * var(--gutter)); }
.page .care-box { margin-left: max(var(--gutter), calc((100% - var(--measure)) / 2)); margin-right: max(var(--gutter), calc((100% - var(--measure)) / 2)); }
.page .page-head { max-width: calc(var(--measure) + 2 * var(--gutter)); }
.optout { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; padding: 1rem 1.2rem; background: var(--paper-2); border-radius: var(--r-box); }
.optout-state { margin: 0; font-weight: 700; }
.page-404 .rows { max-width: var(--wide); margin: 2rem auto 0; padding: 0 var(--gutter); }

/* Partner page: one job, one big button */
.k-partners { background: radial-gradient(120% 70% at 50% 0%, var(--paper-2) 0%, var(--paper) 62%) no-repeat, var(--paper); }
.p-main { max-width: 64rem; margin: 0 auto; padding: 0 var(--gutter); }
.p-head { display: flex; justify-content: center; padding: 1.8rem 0 0; position: relative; z-index: 2; }
.p-name { display: inline-flex; align-items: center; gap: .5rem; margin: 0; font-family: var(--display); font-size: 1.25rem; color: var(--ink); }
.p-hero { text-align: center; padding: clamp(2.5rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3rem); }
.p-kicker { margin: 0 0 .8rem; color: var(--forest); font-style: italic; }
.p-title { font-size: clamp(2.5rem, 1.5rem + 4.6vw, 4.8rem); margin: 0 auto 1rem; max-width: 12em; }
.p-sub { margin: 0 auto 2.2rem; color: var(--ink-2); font-size: clamp(1.2rem, 1.1rem + .6vw, 1.5rem); max-width: 30em; }
.p-cta { margin: 0 0 1rem; }
.p-cta .btn { box-shadow: 0 14px 34px -16px rgba(29, 43, 34, .55); }
.p-cta .btn.z-xxl, .p-cta .btn.z-xl { animation: settle 1.1s cubic-bezier(.2, .8, .2, 1) both .15s; }
@keyframes settle { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.p-note { margin: 0 auto; color: var(--ink-2); font-size: 1rem; max-width: 28em; }
.p-img { margin: 0 auto clamp(2rem, 5vw, 3.5rem); position: relative; }
.p-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.p-body { max-width: var(--measure); margin: 0 auto; }
.p-body .prose { padding: 0; }
.p-points { list-style: none; margin: 2rem 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem 1.5rem; }
.p-points li { padding-left: 2.1rem; position: relative; font-size: 1.08rem; }
.p-points li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--forest), inset 0 0 0 4.5px var(--paper), inset 0 0 0 6px var(--moss);
}
.p-facts { display: grid; gap: .6rem; margin: 2rem 0; }
.p-facts div { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; }
.p-facts dt { color: var(--ink-2); font-style: italic; }
.p-facts dd { margin: 0; }
/* The contact lines: a short message, the phone and the address, each shown only when set.
   Where they sit (p-lines-top/button/bottom), their order and wording are tested. */
.p-lines { list-style: none; margin: 0 auto 1.6rem; padding: 0; display: grid; gap: .25rem; max-width: 32em; font-variant-numeric: lining-nums; }
.p-lines-top { margin: -1.1rem auto 2rem; }
.p-lines-button { margin: .1rem auto 1.1rem; }
.p-lines-bottom { margin: 2.2rem 0; padding: 1.2rem 0; border-block: 1px solid var(--line); }
.p-split .p-lines-top, .p-split .p-lines-button { margin-left: 0; }
.p-line { font-size: 1.08rem; color: var(--ink); line-height: 1.45; }
.p-line a { color: inherit; padding: .35rem 0; text-decoration: underline 1px; text-decoration-color: var(--sage); text-underline-offset: .24em; } /* inline: long addresses wrap with their words; the padding widens the tap area */
.p-line a:hover { text-decoration-color: currentColor; }
.p-line-phone a { letter-spacing: .02em; white-space: nowrap; }
.p-line-msg { font-family: var(--display); font-size: clamp(1.18rem, 1.08rem + .5vw, 1.42rem); color: var(--forest); line-height: 1.3; padding: .15rem 0; }
.p-line-label { color: var(--ink-2); }
.p-line-hours { font-size: .92rem; color: var(--ink-2); padding-top: .15rem; }
/* The free consultation: a badge above the headline, a line by the button, or the first of the lines */
.p-free { margin: 0 auto; color: var(--forest); }
.p-free-badge { display: inline-block; margin-bottom: 1.1rem; padding: .3rem .95rem; border-radius: 999px; font-size: .95rem; line-height: 1.35;
  background: color-mix(in srgb, var(--paper-2) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
.p-free-button { margin: -.2rem auto .8rem; font-size: 1rem; }
.p-free-button::before, .p-line-free::before { content: ""; display: inline-block; width: .38em; height: .7em; margin: 0 .55em .12em 0;
  border: solid currentColor; border-width: 0 .13em .13em 0; transform: rotate(45deg); vertical-align: middle; }
.p-line-free { color: var(--forest); }
.lw-label .p-line-label { font-style: italic; margin-right: .3em; }
.p-cta-2 { text-align: center; margin: 2.5rem 0 0; }
.p-foot { max-width: 44rem; margin: clamp(4rem, 9vw, 6rem) auto 0; padding: 1.5rem var(--gutter) 6rem; text-align: center; color: var(--ink-2); font-size: .95rem; border-top: 1px solid var(--line); }
.p-foot p { margin: 0 0 .6rem; }
.p-sticky { justify-content: space-between; }
.p-sticky .sticky-lead { font-size: 1.1rem; }

/* Partner page, split: words and button on one side, the room on the other */
.p-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.p-split .p-hero { text-align: left; padding: 0; }
.p-split .p-title, .p-split .p-sub, .p-split .p-note { margin-left: 0; }
.p-split-img { margin: 0; position: relative; border-radius: var(--r-img-lg); overflow: hidden; }
.p-split-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 820px) { .p-split { grid-template-columns: 1fr; } .p-split .p-hero { text-align: center; } .p-split .p-title, .p-split .p-sub, .p-split .p-note, .p-split .p-lines-top, .p-split .p-lines-button { margin-left: auto; } .p-split-img img { aspect-ratio: 16 / 10; } }

/* Partner page, cover: a full-screen photo with the offer on a card */
.p-cover { position: relative; min-height: min(100vh, 58rem); display: grid; grid-template-rows: auto 1fr; isolation: isolate; color: var(--ink); }
.p-cover-bg { position: absolute; inset: 0; z-index: -1; margin: 0; }
.p-cover-bg img { width: 100%; height: 100%; object-fit: cover; }
.p-cover-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--shade), .6), rgba(var(--shade), .08) 28%, rgba(var(--shade), .08) 70%, rgba(var(--shade), .45)); }
.p-cover .p-head .p-name { color: #fff; }
.p-cover .p-head .mark { stroke: #fff; }
.p-cover-card { align-self: center; justify-self: center; width: min(calc(100% - 2 * var(--gutter)), 40rem); margin: 2rem 0 3rem; padding: clamp(1.6rem, 4vw, 2.8rem); text-align: center;
  background: color-mix(in srgb, var(--paper) 92%, transparent); border-radius: var(--r-note); box-shadow: var(--shadow); backdrop-filter: blur(6px); }
.p-cover-card .p-hero { padding: 0; }

/* Image styles: i-framed (each theme's frame) and i-tinted (each theme's colours) */
.img-tinted .lead-img img, .img-tinted .row-img img, .img-tinted .card-img img, .img-tinted .cover img, .img-tinted .p-img img,
.img-tinted .p-split-img img, .img-tinted .show-media img, .img-tinted .post-hero-media img, .img-tinted .p-cover-bg img, .img-tinted .prose .fig img { filter: var(--tint); }
.img-framed .lead-img, .img-framed .cover-media, .img-framed .p-img, .img-framed .p-split-img { box-shadow: 14px 14px 0 -1px var(--paper), 14px 14px 0 0 var(--sage); overflow: visible; }
.img-framed .lead-img img, .img-framed .cover-media img, .img-framed .p-img img, .img-framed .p-split-img img { border-radius: inherit; }
.img-framed .row-img, .img-framed .card-img { box-shadow: 0 0 0 1px var(--line), 6px 6px 0 -1px var(--paper), 6px 6px 0 0 var(--sage); }

/* Live chat */
.chat { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: .8rem; }
.chat-fab {
  font-family: var(--ui); font-weight: 700; display: inline-flex; align-items: center; gap: .6rem; cursor: pointer;
  border: 0; border-radius: 999px; padding: .8rem 1.25rem .8rem 1rem; box-shadow: var(--shadow); line-height: 1;
  background: var(--forest); color: var(--on-accent); transition: transform .2s ease;
}
.chat-fab.z-m { font-size: 1.05rem; }
.chat-fab.z-l { font-size: 1.2rem; padding: .95rem 1.45rem .95rem 1.15rem; }
.chat-fab.s-leaf { border-radius: 999px 999px 999px 8px; }
.chat-fab.s-honey { background: var(--honey); color: var(--honey-ink); }
.chat-fab:hover { transform: translateY(-2px); }
.fab-icon { width: 1.35em; height: 1.35em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.chat-fab .fab-text { white-space: nowrap; }
.chat-fab.nudge { animation: hop 1.4s cubic-bezier(.3, 1.6, .5, 1) 2, halo 2.8s ease-out 1; }
@keyframes halo { 0% { box-shadow: var(--shadow), 0 0 0 0 rgba(217, 169, 68, .55); } 100% { box-shadow: var(--shadow), 0 0 0 22px rgba(217, 169, 68, 0); } }
@keyframes hop { 0%, 100% { transform: none; } 18% { transform: translateY(-14px); } 36% { transform: translateY(0); } 50% { transform: translateY(-6px); } 64% { transform: none; } }
.chat.open .chat-fab { display: none; }
.chat-panel {
  width: min(23.5rem, calc(100vw - 2rem)); height: min(34rem, calc(100dvh - 6rem)); display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px 22px 22px 6px; box-shadow: var(--shadow); overflow: hidden;
  transform-origin: 100% 100%; animation: unfold .35s cubic-bezier(.2, .8, .2, 1);
}
.chat-panel[hidden] { display: none; }
@keyframes unfold { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; gap: .8rem; padding: .9rem .9rem .9rem 1.2rem; background: var(--forest); color: var(--on-accent); }
.chat-who { flex: 1; min-width: 0; }
.chat-title { margin: 0; font-family: var(--display); font-size: 1.15rem; line-height: 1.2; }
.chat-sub { margin: .1rem 0 0; font-size: .95rem; opacity: .85; }
.chat-close { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: inherit; font-size: 1.4rem; cursor: pointer; line-height: 1; }
.chat-close:hover { background: rgba(255, 255, 255, .26); }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .55rem; background: var(--paper-2); overscroll-behavior: contain; }
.msg { max-width: 86%; padding: .5rem .8rem; border-radius: 16px; font-size: 1.02rem; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; animation: rise .25s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.msg time { display: block; font-size: .78rem; opacity: .7; margin-top: .2rem; }
.msg a { color: inherit; font-weight: 700; }
.msg.visitor { align-self: flex-end; background: var(--forest); color: var(--on-accent); border-bottom-right-radius: 5px; }
.msg.auto, .msg.host { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg.auto { font-style: italic; color: var(--ink-2); }
.msg.note { align-self: center; background: none; font-size: .95rem; color: var(--ink-2); font-style: italic; text-align: center; padding: .2rem; }
.typing { align-self: flex-start; display: inline-flex; gap: .3rem; padding: .7rem .9rem; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.typing i { width: .42rem; height: .42rem; border-radius: 50%; background: var(--moss); animation: blink 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
/* the UK question, in front of the chat until it's answered */
.chat-body { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.chat-gate {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 1.1rem;
  background: var(--paper); background: color-mix(in srgb, var(--paper) 72%, transparent);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); animation: veil .3s ease both;
}
.chat-gate[hidden] { display: none; }
@keyframes veil { from { opacity: 0; } to { opacity: 1; } }
.chat-gate-card {
  width: 100%; max-width: 19.5rem; padding: 1.45rem 1.3rem 1.25rem; text-align: center; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-box, 18px); box-shadow: var(--shadow);
  animation: rise .4s cubic-bezier(.2, .8, .2, 1) .05s both;
}
.chat-gate-q { margin: 0 0 1.15rem; font-family: var(--display); font-weight: var(--display-weight, 600); letter-spacing: var(--display-tracking, 0); font-size: 1.34rem; line-height: 1.25; text-wrap: balance; }
.chat-gate-choices { display: grid; gap: .55rem; }
.chat-gate-msg { margin: 0 0 1.05rem; font-size: 1.04rem; line-height: 1.5; text-wrap: pretty; font-variant-numeric: lining-nums; }
.msg time { font-variant-numeric: lining-nums tabular-nums; }
.chat-gate-msg[hidden], .chat-gate-choices[hidden], .chat-gate-q[hidden], .chat-gate-close[hidden] { display: none; }
.chat-choice { font: inherit; font-family: var(--ui); font-weight: 700; font-size: 1rem; padding: .45rem 1rem; border-radius: var(--r-btn, 999px); border: 2px solid var(--forest); background: transparent; color: var(--forest); cursor: pointer; }
.chat-choice:hover, .chat-choice:focus-visible { background: var(--forest); color: var(--on-accent); }
.chat-gate .chat-choice { width: 100%; padding: .72rem 1rem; }
.chat-choice.is-yes { background: var(--forest); color: var(--on-accent); }
.chat-choice.is-yes:hover, .chat-choice.is-yes:focus-visible { filter: brightness(1.08); }
.chat-choice:disabled { opacity: .6; cursor: default; }
.chat-choice:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .chat-gate, .chat-gate-card { animation: none; } }
.chat-form { display: flex; gap: .5rem; align-items: flex-end; padding: .7rem 1rem .3rem; background: var(--paper); }
.chat-form textarea {
  flex: 1; min-width: 0; resize: none; max-height: 8rem; font: inherit; font-size: 1.02rem; line-height: 1.35; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; padding: .55rem .8rem;
}
.chat-form textarea:disabled { opacity: .6; }
.chat-send { font: inherit; font-family: var(--ui); font-weight: 700; font-size: 1rem; border: 0; border-radius: 12px; padding: .62rem 1rem; background: var(--forest); color: var(--on-accent); cursor: pointer; }
.chat-send:disabled { opacity: .5; cursor: default; }
.chat-foot { margin: 0; padding: .1rem 1rem .7rem; background: var(--paper); color: var(--ink-2); font-size: .82rem; }
.chat-foot a { color: var(--ink-2); }
@media (max-width: 520px) {
  .chat.open { left: .5rem; right: .5rem; bottom: .5rem; }
  .chat-panel { width: 100%; height: min(36rem, calc(100dvh - 1rem)); }
}
.cta-sticky .chat { bottom: max(5.5rem, calc(env(safe-area-inset-bottom) + 4.5rem)); }

/* Sharing */
.visually-hidden { position: fixed; left: -9999px; top: 0; width: 1px; height: 1px; opacity: 0; }
.share { max-width: var(--measure); margin: 3.2rem auto 0; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.share-title { margin: 0 0 .3rem; font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); line-height: 1.2; letter-spacing: var(--display-tracking); }
.share-sub { margin: 0 0 1.1rem; color: var(--ink-2); font: 1rem/1.5 var(--ui); }
.share-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.share-list [hidden] { display: none; }
.share-item { display: inline-flex; align-items: center; gap: .5em; min-height: 2.75rem; padding: .55em 1.1em; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--paper); color: var(--ink); font: 600 .95rem/1 var(--ui); text-decoration: none; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.share-item:hover { border-color: var(--forest); color: var(--forest); }
.share-item:focus-visible, .share-jump:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.share-native { background: var(--forest); border-color: var(--forest); color: var(--on-accent); }
.share-native:hover { color: var(--on-accent); filter: brightness(1.08); }
.share .i, .share-jump .i { width: 1.05em; height: 1.05em; flex: none; }
.share-done { min-height: 1.5em; margin: .7rem 0 0; color: var(--forest); font: 600 .92rem/1.4 var(--ui); }
.share-jump { display: inline-flex; align-items: center; gap: .35em; color: inherit; font-style: normal; font-family: var(--ui); font-size: .92rem; text-decoration: none; border-bottom: 1px solid currentColor; }
.share-jump:hover { color: var(--forest); }
.post-hero .share-jump:hover { color: inherit; opacity: .8; }
@media (prefers-reduced-motion: reduce) { .share-item { transition: none; } }

/* Preview banner (only on signed preview links from the control panel) */
.preview-bar { position: fixed; left: .75rem; bottom: .75rem; z-index: 60; max-width: min(22rem, calc(100vw - 7rem)); padding: .45rem .8rem; border: 0; border-radius: 10px; background: rgba(17, 17, 17, .78); color: #fff; font: 600 .78rem/1.35 system-ui, sans-serif; text-align: left; backdrop-filter: blur(6px); cursor: pointer; }
.preview-bar[aria-expanded="false"] .preview-label { display: none; }
.preview-bar:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rings .breath { animation: none; transform: none; }
}
@media print {
  .site-head, .site-foot, .chat, .sticky-book, .p-sticky, .progress, .book-note { display: none !important; }
  body { background: #fff; color: #000; }
}
