/* =========================================================================
   TEST · exp/two-screens — the movement (#community) and sponsor (#sponsor) screens, three ways.
   ?v=a Film still · ?v=b Spread · ?v=c Atlas · ?v=v145 = as in v1.45.1 (its rules in site.css are untouched).
   ========================================================================= */

/* ---------- shared type (every variant) ---------- */
.ts { position: relative; overflow: hidden; isolation: isolate; padding: 0; }
.ts .ts-title {
  margin: 0; max-width: none; font-family: var(--font-display); font-weight: 300; font-variation-settings: "opsz" 144;
  line-height: 0.98; letter-spacing: -0.038em; text-wrap: balance;
}
.ts .ts-title em { display: block; font-style: italic; font-weight: 300; letter-spacing: -0.03em; }
.ts.tone-light .ts-title { color: var(--forest); }
.ts.tone-light .ts-title em { color: var(--terra-deep); }
.ts.tone-dark .ts-title { color: var(--light); }
.ts.tone-dark .ts-title em { color: var(--gold); }
.ts .ts-lead { margin: clamp(1.2rem, 2.2vw, 1.7rem) 0 0; font-size: var(--fs-lead); line-height: 1.62; max-width: 31em; text-wrap: pretty; }
.ts.tone-light .ts-lead { color: var(--ink); opacity: 0.82; }
.ts.tone-dark .ts-lead { color: var(--light-muted); }
.ts.tone-dark .ts-kicker { color: var(--gold); }

/* movement: the three invitations, the follow-up line, the epigraph, the actions */
.ts-steps { list-style: none; margin: clamp(1.8rem, 3vw, 2.4rem) 0 0; padding: 0; }
.ts-steps li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); align-items: baseline; padding-block: 0.7rem; border-top: 1px solid var(--line); }
.ts-steps li:last-child { border-bottom: 1px solid var(--line); }
.ts-n { font-family: var(--font-display); font-style: italic; font-weight: 320; font-size: 1.15rem; color: var(--terra); }
.ts-t { font-family: var(--font-display); font-weight: 360; font-size: clamp(1.3rem, 1.75vw, 1.85rem); line-height: 1.15; letter-spacing: -0.015em; color: var(--forest); }
.ts .ts-after { margin: 0.9rem 0 0; padding-left: 2.6rem; font-size: 0.95rem; line-height: 1.55; color: var(--muted); max-width: 32em; }
.ts .ts-epi { margin: clamp(1.8rem, 3vw, 2.4rem) 0 0; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.35rem, 1.9vw, 1.9rem); line-height: 1.22; letter-spacing: -0.015em; color: var(--forest); max-width: 22em; }
.ts-act { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: clamp(1.6rem, 2.6vw, 2.2rem); }
.ts-faq { border: 0; background: none; padding: 4px 0; cursor: pointer; font-family: var(--font-body); font-size: 0.86rem; color: var(--muted);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; text-decoration-color: var(--line-strong); transition: color var(--t-fast); }
.ts-faq:hover, .ts-faq:focus-visible { color: var(--forest); text-decoration-color: currentColor; }

/* sponsor: one large price, two quiet lines, the inclusions, one action, the notes */
.ts-offer { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(1.4rem, 2.6vw, 2.4rem); align-items: center; margin-top: clamp(1.8rem, 3.2vw, 2.6rem); padding-top: clamp(1.1rem, 2vw, 1.5rem); border-top: 1px solid var(--line); }
.ts-once { display: flex; flex-direction: column; }
.ts-price { font-family: var(--font-display); font-weight: 280; font-variation-settings: "opsz" 144; font-size: clamp(4rem, 6vw, 6.4rem); line-height: 0.85; letter-spacing: -0.055em; color: var(--forest); }
.ts-once span { margin-top: 0.6rem; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ts-more { margin: 0; padding-left: clamp(1.4rem, 2.6vw, 2.4rem); border-left: 1px solid var(--line); }
.ts-more > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 0.7rem; }
.ts-more > div + div { border-top: 1px solid var(--line); }
.ts-more dt { font-size: 0.95rem; line-height: 1.35; color: var(--ink); }
.ts-more dt small { display: block; margin-top: 0.3rem; font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ts-more dd { margin: 0; text-align: right; white-space: nowrap; }
.ts-more dd b { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.6rem, 2vw, 2.05rem); line-height: 1; letter-spacing: -0.035em; color: var(--forest); }
.ts-more dd small { display: block; margin-top: 0.3rem; font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ts-gift dd b { font-style: italic; color: var(--terra-deep); }
.ts-inc { margin-top: clamp(1.5rem, 2.6vw, 2.1rem); }
.ts-inc .label { margin: 0; font-size: 0.64rem; color: var(--terra-deep); }
.ts-inc ul { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(1.2rem, 2.2vw, 2rem); }
.ts-inc li { position: relative; padding: 0.55rem 0 0.55rem 1.15rem; border-bottom: 1px solid var(--line); font-size: 0.93rem; line-height: 1.35; color: var(--ink); }
.ts-inc li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 0.5rem; height: 1px; background: var(--terra); }
.ts-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; margin-top: clamp(1.6rem, 2.8vw, 2.2rem); }
.ts-cta small { font-size: 0.82rem; color: var(--muted); }
.ts-notes { margin-top: clamp(1.4rem, 2.4vw, 2rem); padding-top: 0.9rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(1.2rem, 2.2vw, 2rem); }
.ts-notes .label { grid-column: 1 / -1; margin: 0; font-size: 0.62rem; color: var(--muted); }
.ts-notes p:not(.label) { margin: 0.4rem 0 0; font-size: 0.78rem; line-height: 1.55; color: var(--muted); }

/* dark variants: the same system, light on the photograph */
.ts.tone-dark .ts-steps li, .ts.tone-dark .ts-offer, .ts.tone-dark .ts-more > div + div, .ts.tone-dark .ts-inc li, .ts.tone-dark .ts-notes { border-color: var(--line-light); }
.ts.tone-dark .ts-more { border-left-color: var(--line-light); }
.ts.tone-dark .ts-steps li:last-child { border-bottom-color: var(--line-light); }
.ts.tone-dark .ts-n, .ts.tone-dark .ts-inc .label { color: var(--gold); }
.ts.tone-dark .ts-inc li::before { background: var(--gold); }
.ts.tone-dark .ts-t, .ts.tone-dark .ts-epi, .ts.tone-dark .ts-price, .ts.tone-dark .ts-more dd b, .ts.tone-dark .ts-more dt, .ts.tone-dark .ts-inc li { color: var(--light); }
.ts.tone-dark .ts-gift dd b { color: var(--gold); }
.ts.tone-dark .ts-after, .ts.tone-dark .ts-once span, .ts.tone-dark .ts-more small, .ts.tone-dark .ts-cta small, .ts.tone-dark .ts-faq { color: var(--light-muted); }
.ts.tone-dark .ts-notes .label, .ts.tone-dark .ts-notes p:not(.label) { color: rgba(243, 238, 227, 0.62); }
.ts.tone-dark .ts-faq { text-decoration-color: var(--line-light); }
.ts.tone-dark .ts-faq:hover { color: var(--light); }

/* =========================================================================
   A · FILM STILL — one full-bleed photograph; the words stand in its shade
   ========================================================================= */
.ts--a { min-height: max(100svh, 46rem); display: flex; align-items: center; background: var(--forest-deep, #0F2A22); }
.ts--a .ts-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.ts--a .ts-bg__m { position: absolute; inset: -8% 0; }
.ts--a .ts-bg__m picture, .ts--a .ts-bg__m img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ts--a .ts-in { position: relative; z-index: 1; padding-block: clamp(7rem, 12vw, 9.5rem) clamp(5rem, 9vw, 7rem); }
.ts--a .ts-title { font-size: clamp(2.9rem, 5.6vw, 6rem); }

/* movement: centred, like the hero and the closing; the invitations as one line of three */
.ts--a.ts-mv .ts-shade { position: absolute; inset: 0; background: radial-gradient(75% 70% at 50% 50%, rgba(10, 24, 19, 0.55), rgba(10, 24, 19, 0.86)); }
.ts--a.ts-mv .ts-in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.ts--a.ts-mv .ts-title { max-width: 14em; }
.ts--a.ts-mv .ts-lead { max-width: 36em; }
.ts--a.ts-mv .ts-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.4rem 0; }
.ts--a.ts-mv .ts-steps li { display: flex; align-items: baseline; gap: 0.55rem; padding: 0.3rem 1.4rem; border: 0; }
.ts--a.ts-mv .ts-steps li + li { border-left: 1px solid var(--line-light); }
.ts--a.ts-mv .ts-t { font-style: italic; font-weight: 300; font-size: clamp(1.25rem, 1.7vw, 1.75rem); }
.ts--a.ts-mv .ts-after { padding-left: 0; }
.ts--a.ts-mv .ts-epi { max-width: 26em; padding-top: clamp(1.4rem, 2.4vw, 2rem); position: relative; }
.ts--a.ts-mv .ts-epi::before { content: ""; position: absolute; top: 0; left: 50%; width: 2.6rem; height: 1px; background: var(--gold); transform: translateX(-50%); }
.ts--a.ts-mv .ts-act { justify-content: center; flex-direction: column; gap: 1rem; }

/* sponsor: the sunlit pods on the right, the offer in the shade on the left */
.ts--a.ts-sp .ts-bg__m img { object-position: 70% 62% !important; }   /* the fruiting cacao trees in the sunlit agroforest */
.ts--a.ts-sp .ts-shade { position: absolute; inset: 0; background:
  linear-gradient(to right, rgba(10, 24, 19, 0.92) 0%, rgba(10, 24, 19, 0.82) 38%, rgba(10, 24, 19, 0.35) 62%, rgba(10, 24, 19, 0.1) 80%),
  linear-gradient(to top, rgba(10, 24, 19, 0.6), rgba(10, 24, 19, 0) 35%); }
.ts--a.ts-sp .ts-in > * { max-width: 38rem; }
.ts--a.ts-sp .chip--bl { left: auto; right: 16px; }

/* =========================================================================
   B · SPREAD — a framed photograph facing the text, on ivory (as chapter 03)
   ========================================================================= */
.ts--b { padding-block: clamp(6rem, 11vw, 9rem); }
.ts--b.ts-sp { background: var(--paper); }
.ts--b .ts-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); align-items: center; }
.ts--b .ts-fig { position: relative; margin: 0; }
.ts--b .ts-fig__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: #D8D1C2; }
.ts--b .ts-fig__img picture, .ts--b .ts-fig__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ts--b .ts-title { font-size: clamp(2.5rem, 3.9vw, 4.3rem); }
.ts--b.ts-mv .ts-fig { grid-column: 1 / span 5; }
.ts--b.ts-mv .ts-text { grid-column: 7 / span 6; }
.ts--b.ts-sp .ts-text { grid-column: 1 / span 6; }
.ts--b.ts-sp .ts-fig { grid-column: 8 / span 5; }
.ts--b.ts-sp .ts-fig__img img { object-position: 50% 40%; }

/* =========================================================================
   C · ATLAS — the botanical plate and the atlas type system (as chapters 05–06)
   ========================================================================= */
.ts--c { padding-block: clamp(6.5rem, 11vw, 9.5rem); min-height: max(100svh, 44rem); display: flex; align-items: center; }
.ts--c .ts-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); }
.ts--c.ts-mv { background: var(--ivory); }   /* the engraving multiplies onto this paper */
.ts--c .ts-title { font-size: clamp(2.6rem, 4.3vw, 4.7rem); font-weight: 340; font-variation-settings: normal; letter-spacing: -0.03em; }
.ts--c .ts-title em { font-weight: 320; }
.ts--c .ts-art { position: absolute; z-index: -1; pointer-events: none; }
/* movement: the engraved branch on the right page, the text on the left */
.ts--c.ts-mv .ts-text { grid-column: 1 / span 6; }
.ts--c.ts-mv .ts-art { right: 0; top: 50%; width: min(54vw, 118svh, 1040px); transform: translateY(-50%); }
/* plate III: the engraving multiplied on the plate's own ivory; the living layer above it, revealed from the sprouting seed.
   The top edge (where the branch leaves the picture) melts into the paper. */
.ts-pl { position: relative; display: block; aspect-ratio: 976 / 1024; background: var(--ivory);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 9%); mask-image: linear-gradient(to bottom, transparent 0%, #000 9%); }
.ts-pl__l { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ts-pl__eng { mix-blend-mode: multiply; }
.ts-pl__live { -webkit-mask-image: radial-gradient(circle farthest-corner at 57% 79%, #000 calc(var(--rv, 150%) - 26%), transparent var(--rv, 150%));
               mask-image: radial-gradient(circle farthest-corner at 57% 79%, #000 calc(var(--rv, 150%) - 26%), transparent var(--rv, 150%)); }
@media (prefers-reduced-motion: reduce) { .ts-pl__live { -webkit-mask-image: none; mask-image: none; } }
/* sponsor: the coloured plate on the left page, the offer on the right */
.ts--c.ts-sp { background: var(--ivory); }
.ts--c.ts-sp .ts-text { grid-column: 7 / span 6; }
.ts--c.ts-sp .ts-art { left: -10%; top: 50%; width: min(62vw, 1080px); transform: translateY(-50%); }
.ts--c.ts-sp .ts-plate { position: relative; aspect-ratio: 2164 / 1882; transform: scaleX(-1); -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 98%); mask-image: linear-gradient(to bottom, #000 78%, transparent 98%); }
.ts--c.ts-sp .ts-plate img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ts--c.ts-sp .ts-art__cap { position: absolute; left: calc(10% + var(--gutter)); bottom: -1.6rem; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ts--c .ts-steps li { border-top-color: rgba(21, 55, 45, 0.16); }

/* =========================================================================
   tablet + phone
   ========================================================================= */
@media (max-width: 1099px) {
  .ts--b .ts-grid, .ts--c .ts-grid { grid-template-columns: 1fr; row-gap: clamp(2.6rem, 6vw, 3.6rem); }
  .ts--b.ts-mv .ts-fig, .ts--b.ts-mv .ts-text, .ts--b.ts-sp .ts-text, .ts--b.ts-sp .ts-fig, .ts--c.ts-mv .ts-text, .ts--c.ts-sp .ts-text { grid-column: 1; }
  .ts--b .ts-fig { width: min(100%, 30rem); }
  .ts--b.ts-sp .ts-fig { grid-row: 1; }
  .ts--b .ts-text, .ts--c .ts-text { max-width: 40rem; }
  .ts--c { display: block; }
  .ts--c .ts-art { position: relative; z-index: 0; transform: none !important; }
  .ts--c.ts-mv .ts-art { right: auto; top: auto; width: min(100%, 40rem); margin: 0 0 1.5rem auto; }
  .ts--c.ts-sp .ts-art { left: -18%; top: auto; width: 125%; margin-bottom: 1rem; }
  .ts--c.ts-sp .ts-art__cap { left: calc(18% + var(--gutter)); bottom: 0.4rem; }
  .ts--c { padding-top: 3rem; }
  .ts--a.ts-sp .ts-shade { background: linear-gradient(to top, rgba(10, 24, 19, 0.95) 0%, rgba(10, 24, 19, 0.86) 55%, rgba(10, 24, 19, 0.35) 100%); }
}
@media (max-width: 640px) {
  .ts--a .ts-title { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .ts--a.ts-mv .ts-steps { flex-direction: column; align-items: center; }
  .ts--a.ts-mv .ts-steps li { display: block; padding-block: 0.15rem; }
  .ts--a.ts-mv .ts-steps li + li { border-left: 0; }
  .ts--a.ts-mv .ts-n { margin-right: 0.45rem; }
  .ts--a.ts-sp .ts-in { padding-top: 54svh; }   /* the tree first, then the offer rises out of its shade */
  .ts--a.ts-sp .ts-bg { bottom: auto; height: 72svh; }   /* phones: the photograph is the screen's opening frame, the offer continues on the forest's dark */
  .ts--a.ts-sp { background: #0A1813; }
  .ts--a.ts-sp .ts-bg__m img { object-position: 46% 55% !important; }
  .ts--a.ts-sp .ts-shade { background: linear-gradient(to bottom, rgba(10, 24, 19, 0.3) 0%, rgba(10, 24, 19, 0) 18%, rgba(10, 24, 19, 0.2) 48%, rgba(10, 24, 19, 0.88) 72%, #0A1813 100%); }
  .ts--b .ts-title, .ts--c .ts-title { font-size: clamp(2.4rem, 10.5vw, 3.1rem); }
  .ts-offer { grid-template-columns: 1fr; row-gap: 0.8rem; }
  .ts-more { padding-left: 0; border-left: 0 !important; border-top: 1px solid var(--line); }
  .ts.tone-dark .ts-more { border-top-color: var(--line-light); }
  .ts-inc ul, .ts-notes { grid-template-columns: 1fr; }
  .ts-cta { display: grid; }
  .ts-cta .btn { width: 100%; justify-content: center; }
  .ts-cta small { text-align: center; }
}

/* ---------- reviewer switch (test branch only) ---------- */
.ts-switch { position: fixed; z-index: 90; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(15, 30, 24, 0.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5); font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; }
.ts-switch span { padding: 0 8px 0 10px; color: rgba(243, 238, 227, 0.55); }
.ts-switch a { padding: 7px 11px; border-radius: 999px; color: var(--light); text-decoration: none; white-space: nowrap; }
.ts-switch a:hover { background: rgba(243, 238, 227, 0.12); }
.ts-switch a[aria-current] { background: var(--light); color: var(--forest); }
@media (max-width: 860px) { .ts-switch { top: 72px; bottom: auto; right: 50%; transform: translateX(50%); } .ts-switch span { display: none; } .ts-switch a { padding: 7px 8px; } }
.ts--a.ts-mv .ts-kicker::before { display: none; }

/* =========================================================================
   C · movement — one screen (desktop). The whole text column is fitted to the screen's height by one factor
   on its type and gaps (--ts, 0.6…1, set by initTsPlate), as chapter 06 does; the plate is sized by the
   screen's height too. Phones keep their natural flow.
   ========================================================================= */
@media (min-width: 1100px) {
  .ts--c.ts-mv { --ts: 1; height: 100svh; min-height: 34rem; padding: 0; display: flex; align-items: stretch; }
  .ts--c.ts-mv .ts-grid { align-items: center; padding-top: calc(var(--bar-h, 76px) + 0.5rem); padding-bottom: clamp(1.2rem, 3svh, 2.4rem); }
  .ts--c.ts-mv .ts-text { grid-column: 1 / span 6; }
  .ts--c.ts-mv .ts-art { width: min(52vw, 104svh, 1040px); top: calc(50% + var(--bar-h, 76px) / 3); }
  .ts--c.ts-mv .ts-kicker { margin-bottom: calc(1.3rem * var(--ts) * var(--ts)); }
  .ts--c.ts-mv .ts-title { font-size: calc(clamp(2.5rem, 4vw, 4.5rem) * var(--ts)); }
  .ts--c.ts-mv .ts-lead { margin-top: calc(1.3rem * var(--ts) * var(--ts)); font-size: max(0.98rem, calc(clamp(1rem, 1.15vw, 1.2rem) * var(--ts))); max-width: 32em; }
  .ts--c.ts-mv .ts-steps { margin-top: calc(1.7rem * var(--ts) * var(--ts)); }
  .ts--c.ts-mv .ts-steps li { padding-block: calc(0.6rem * var(--ts) * var(--ts)); }
  .ts--c.ts-mv .ts-n { font-size: calc(1.1rem * var(--ts)); }
  .ts--c.ts-mv .ts-t { font-size: calc(clamp(1.25rem, 1.6vw, 1.75rem) * var(--ts)); }
  .ts--c.ts-mv .ts-after { margin-top: calc(0.7rem * var(--ts) * var(--ts)); font-size: max(0.86rem, calc(0.92rem * var(--ts))); }
  .ts--c.ts-mv .ts-epi { margin-top: calc(1.5rem * var(--ts) * var(--ts)); font-size: calc(clamp(1.25rem, 1.65vw, 1.75rem) * var(--ts)); }
  .ts--c.ts-mv .ts-act { margin-top: calc(1.4rem * var(--ts) * var(--ts)); }
}

/* =========================================================================
   v1.47 test · SEAMS — ivory ↔ dark photograph: a clean edge, no gradient, no haze.
   The photograph enters as a framed print on the paper and opens to full bleed (--sx from initSeams).
   ========================================================================= */
[data-seam] { clip-path: inset(0 var(--sx, 0px) round calc(var(--sx, 0px) * 0.06)); will-change: clip-path; }
/* the paper behind the print: the page it rises out of (and the page it gives way to) */
#join { background: linear-gradient(to bottom, var(--ivory) 50%, var(--husk) 50%); }
.seam-bed--husk { background: var(--husk); }
/* sponsor: no wash at the photograph's edges — the shade lives only where the words are */
.ts--a.ts-sp .ts-shade { background:
  linear-gradient(to right, rgba(9, 23, 18, 0.9) 0%, rgba(9, 23, 18, 0.78) 34%, rgba(9, 23, 18, 0.32) 56%, rgba(9, 23, 18, 0) 72%); }
.ts--a.ts-sp .ts-bg__m img { transform: scale(1.14); transform-origin: 70% 100%; }   /* the misty sky stays out of the top edge: the frame opens on the canopy */
/* movement plate: it never touches the seam — its foot melts into the paper well above the edge */
@media (min-width: 1100px) {
  .ts--c.ts-mv .ts-art { width: min(50vw, 94svh, 1000px); }
}
.ts-pl { -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 9%, #000 84%, transparent 99%); mask-image: linear-gradient(to bottom, transparent 0%, #000 9%, #000 84%, transparent 99%); }
@media (max-width: 1099px) {
  .ts--a.ts-sp .ts-shade { background: linear-gradient(to bottom, rgba(10, 24, 19, 0) 0%, rgba(10, 24, 19, 0) 40%, rgba(10, 24, 19, 0.88) 72%, #0A1813 100%); }
  .ts--a.ts-sp .ts-bg__m img { transform: none; }
}

/* =========================================================================
   A · sponsor — one screen (desktop). Like the movement screen: type and gaps fitted to the screen's height
   by one factor (--ts, 0.6…1, set by initFitScreens); the shade and the photograph unchanged.
   ========================================================================= */
@media (min-width: 1100px) {
  .ts--a.ts-sp { --ts: 1; height: 100svh; min-height: 34rem; }
  .ts--a.ts-sp .ts-in { padding-top: calc(var(--bar-h, 84px) + 0.25rem); padding-bottom: clamp(1rem, 2.6svh, 2rem); }
  .ts--a.ts-sp .ts-in > * { max-width: 40rem; }
  .ts--a.ts-sp .ts-kicker { margin-bottom: calc(1.3rem * var(--ts) * var(--ts)); }
  .ts--a.ts-sp .ts-title { font-size: calc(clamp(2.7rem, 4.6vw, 5.4rem) * var(--ts)); }
  .ts--a.ts-sp .ts-lead { margin-top: calc(1.4rem * var(--ts) * var(--ts)); font-size: max(0.98rem, calc(var(--fs-lead) * var(--ts))); }
  .ts--a.ts-sp .ts-offer { margin-top: calc(2.2rem * var(--ts) * var(--ts)); padding-top: calc(1.3rem * var(--ts) * var(--ts)); }
  .ts--a.ts-sp .ts-price { font-size: calc(clamp(4rem, 5.6vw, 6.2rem) * var(--ts)); }
  .ts--a.ts-sp .ts-more > div { padding-block: calc(0.7rem * var(--ts) * var(--ts)); }
  .ts--a.ts-sp .ts-inc { margin-top: calc(1.9rem * var(--ts) * var(--ts)); }
  .ts--a.ts-sp .ts-inc li { padding-block: calc(0.55rem * var(--ts) * var(--ts)); }
  .ts--a.ts-sp .ts-cta { margin-top: calc(1.9rem * var(--ts) * var(--ts)); }
  .ts--a.ts-sp .ts-cta .btn { padding-block: calc(1.05rem * var(--ts)); }
  .ts--a.ts-sp .ts-notes { margin-top: calc(1.6rem * var(--ts) * var(--ts)); padding-top: calc(0.9rem * var(--ts)); }
}

/* =========================================================================
   v1.47 test · SHEETS — dark → paper: the paper page slides over the held last frame of the dark one,
   with the same lip, radius and shadow as chapter 03 over the forest (site.css: --lip).
   Paper → dark keeps the print opening (SEAMS above). ?sheet=off = seams only.
   ========================================================================= */
/* chapter 04 → 05: the journey's stage holds step 08 for one more screen (--sheet-tail, measured in px by initDepth);
   the atlas page rises over it */
html.sheet .dj { height: calc(100svh + (var(--n) + 0.6) * 95svh + var(--sheet-tail, 100svh) + var(--sheet-dwell, 0px)); }
@media (max-width: 860px) { html.sheet .dj { height: calc(100svh + (var(--n) + 0.6) * 85svh + var(--sheet-tail, 100svh) + var(--sheet-dwell, 0px)); } }
html.sheet #legacy { position: relative; z-index: 5; margin-top: calc(-1 * var(--sheet-tail, 100svh)); }
html.sheet #legacy > .atlas:first-child, html.sheet #legacy > :first-child > .atlas:first-child { border-radius: var(--lip) var(--lip) 0 0; }
html.sheet #legacy > :first-child { border-radius: var(--lip) var(--lip) 0 0; }
/* the engraving starts below the lip, its top melting into the paper */
html.sheet .atlas__plant { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 80%, transparent 99%); mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 80%, transparent 99%); }

/* sponsor → FAQ (desktop, where the sponsor is exactly one screen): the sponsor holds still, the FAQ page slides over it */
@media (min-width: 1100px) {
  html.sheet #join { background: var(--ivory); }
  html.sheet .sheet-hold { height: 160svh; }   /* 100svh under the FAQ sheet + 60svh dwell: the price screen settles and stands before the sheet starts */
  html.sheet .ts--a.ts-sp { position: sticky; top: 0; }
  html.sheet #faq { position: relative; z-index: 5; margin-top: -100svh; }
}
/* phones and tablets: the sponsor is taller than the screen, so the FAQ simply overlaps it by the lip */
@media (max-width: 1099px) {
  html.sheet #join { background: var(--ivory); }
  html.sheet #faq { position: relative; z-index: 5; margin-top: calc(-1 * var(--lip)); }
}
html.sheet #faq { border-radius: var(--lip) var(--lip) 0 0; }

/* v1.47 test · sheet shadow on its own layer at the top edge only (fix 18.11): a shadow on the whole page, clipped at the
   bottom, left a half-pixel hairline where the page ends (atlas → ch06). The layer sits under the sheet's own paper
   (z-index -1 inside #legacy / #faq, which are the stacking contexts), so only the part above the lip is seen. */
html.sheet #legacy > .atlas:first-child, html.sheet #legacy > :first-child > .atlas:first-child { position: relative; }
html.sheet #legacy > .atlas:first-child::before, html.sheet #legacy > :first-child > .atlas:first-child::before,
html.sheet #faq::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 160px; z-index: -1; pointer-events: none;
  border-radius: var(--lip) var(--lip) 0 0; box-shadow: 0 -24px 60px -20px rgba(4, 12, 9, 0.55);
  -webkit-clip-path: inset(-200px 0 100% 0); clip-path: inset(-200px 0 100% 0); }   /* only what lies above the sheet's top edge is drawn */
