/* Feature detail pages (/features/booking, records, finance, reporting, website).
   Loaded only on those five pages, after styles.css and looks/hearth.css. New classes only (fp-*), scoped like hearth.
   CSP: no inline styles anywhere; annotation pin positions live here as custom properties per pin class. */

html[data-look="hearth"] {

  /* ------------------------------------------------------------------ hero additions */
  & .fp-crumb { color: var(--text-3); letter-spacing: .16em; }
  & .fp-crumb::before { content: "/"; margin: 0 10px; opacity: .6; }
  & .page-hero .fp-h1 .spectrum-text { display: block; }
  & .page-hero .lede { max-width: 34em; }
  & .page-hero:has(.fp-h1) .aurora i:is(:nth-child(2), :nth-child(3)) { display: none; }
  & .fp-hero-note { margin-top: 18px; max-width: 34em; color: var(--text-3); font: italic 400 17px/1.5 var(--display); }

  /* ------------------------------------------------------------------ bands */
  & .fp-band { position: relative; padding: 108px 0; }
  & .fp-band.is-sage { background: var(--sage) var(--grain); }
  & .fp-band.is-sand { background: var(--sand) var(--grain); }
  & .fp-band.is-tight { padding: 96px 0; }
  & .fp-band.is-pine {
    background: radial-gradient(70% 60% at 85% 10%, rgba(255, 255, 255, .06), transparent 70%), var(--pine); color: #f6f1e8;
    --pink: #f0b096; --violet: #d6b3cf; --cyan: #a9cbe0; --mint: #a9d3b7; --coral: #eab4aa;
    & .eyebrow { color: #f0c3a8; }
    & h2, & h3 { color: #fbf7ef; }
    & .fp-prose p, & .fp-head p:not(.eyebrow), & .fp-small { color: rgba(246, 241, 232, .82); }
    & .fp-shot figcaption, & .fp-legend li { color: rgba(246, 241, 232, .78); }
    & a:not(.btn) { color: #fff; }
  }
  & .fp-band + .fp-band.is-paper-rule .wrap { border-top: 1px solid var(--line); padding-top: 96px; }
  & .fp-band.is-paper-rule { padding-top: 0; }

  /* the paper sheet that rises out of the sand hero */
  & .fp-hero-follow { padding-top: 0; padding-bottom: 84px; margin-top: -72px; z-index: 1; }
  & .fp-sheet { position: relative; padding: 64px 64px 0; border-radius: 40px 40px 0 0; background: var(--paper) var(--grain); }

  /* ------------------------------------------------------------------ type */
  & .fp-head { max-width: 780px; }
  & .fp-head h2, & .fp-h2 { font-size: clamp(34px, 4.2vw, 54px); letter-spacing: -.022em; }
  & .fp-head p:not(.eyebrow) { margin-top: 18px; font-size: 19px; color: var(--text-2); max-width: 60ch; }
  & .fp-head .eyebrow + h2 { margin-top: 16px; }
  & .fp-prose { max-width: 62ch; }
  & .fp-prose p { color: var(--text-2); }
  & .fp-prose p + p { margin-top: 16px; }
  & .fp-head + .fp-prose, & .fp-h2 + .fp-prose { margin-top: 22px; }
  & .fp-h3 { font-size: 27px; letter-spacing: -.014em; }
  & .fp-h3 + .fp-prose { margin-top: 12px; }
  & .fp-h3.is-small { font-size: 21px; }
  & .fp-small { font-size: 15.5px; line-height: 1.6; color: var(--text-3); max-width: 62ch; }
  & .fp-status { margin-top: 22px; display: flex; gap: 10px; align-items: baseline; font-size: 15px; color: var(--text-3); max-width: 62ch; }
  & .fp-status::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); transform: translateY(-1px); }
  & .fp-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; list-style: none; padding: 0; }
  & .fp-chips li { padding: 6px 14px; border-radius: 999px; font: 700 14px/1.2 var(--sans); background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(246, 241, 232, .25); }
  & .fp-link { margin-top: 26px; }
  & .fp-big-line { margin-top: 22px; font: italic 420 clamp(22px, 2.4vw, 28px)/1.3 var(--display); color: #f0c3a8; }

  /* ------------------------------------------------------------------ grids */
  & .fp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
  & .fp-split.is-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  & .fp-split.is-flip > :first-child { order: 2; }
  & .fp-split.is-top { align-items: start; }
  & .fp-split.is-even { grid-template-columns: 1fr 1fr; }
  & .fp-split.is-text { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); align-items: start; }
  & .fp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
  & .fp-rule { height: 1px; margin: 88px 0; background: var(--line); border: 0; }

  /* ------------------------------------------------------------------ screenshot frames */
  & .fp-shot { margin: 0; position: relative; }
  & .fp-shot-frame { position: relative; overflow: hidden; background: var(--card); }
  & .fp-shot img { display: block; width: 100%; height: auto; }
  & .fp-shot figcaption { margin-top: 18px; font-size: 15px; line-height: 1.5; color: var(--text-3); }
  & .fp-shot.is-window .fp-shot-frame { border-radius: 22px; box-shadow: var(--mat); }
  & .fp-shot-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; background: #f1ebe0; border-bottom: 1px solid var(--line);
    font: 650 13px/1 var(--sans); color: var(--text-3); }
  & .fp-shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dccfbb; }
  & .fp-shot-bar span { margin-left: 10px; }
  & .fp-shot.is-panel .fp-shot-frame { border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
  & .fp-shot.is-panel .fp-shot-frame img { border-radius: 18px; }
  & .fp-shot.is-phone { max-width: 300px; }
  & .fp-shot.is-phone .fp-shot-frame { padding: 9px; border-radius: 42px; background: #1f2b26; box-shadow: 0 40px 70px -34px rgba(30, 30, 20, .55); }
  & .fp-shot.is-phone .fp-shot-frame img { border-radius: 33px; }
  & .fp-tag { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: var(--pine); color: #fff; font: 700 12.5px/1 var(--sans); letter-spacing: .04em; }

  /* ------------------------------------------------------------------ annotation pins (positions per pin below) */
  & .fp-annot .fp-shot-img { position: relative; }
  & .fp-pin { position: absolute; left: var(--x, 50%); top: var(--y, 50%); z-index: 2; display: grid; place-items: center; width: 30px; height: 30px; margin: -15px 0 0 -15px;
    border-radius: 50%; background: var(--c, var(--clay)); color: #fff; font: 700 14px/1 var(--sans); box-shadow: 0 0 0 4px rgba(255, 252, 246, .92), 0 6px 14px -4px rgba(40, 30, 10, .5); }
  & .fp-legend { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; counter-reset: pin; }
  & .fp-legend li { position: relative; padding-left: 40px; font-size: 16px; line-height: 1.45; color: var(--text-2); counter-increment: pin; }
  & .fp-legend li::before { content: counter(pin); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
    background: var(--c, var(--clay)); color: #fff; font: 700 13px/1 var(--sans); }
  & .fp-legend.is-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
  & .fp-legend.is-steps li { padding: 46px 0 0; }
  & .fp-legend.is-steps li::before { top: 0; width: 32px; height: 32px; font-size: 14px; }
  & .fp-legend.is-steps li::after { content: ""; position: absolute; top: 16px; left: 44px; right: 8px; border-top: 1.5px dashed color-mix(in srgb, var(--c) 45%, transparent); }
  & .fp-legend.is-steps li:last-child::after { display: none; }
  & .fp-legend.is-steps strong { display: block; margin-bottom: 4px; font: 500 22px/1.2 var(--display); color: var(--text); letter-spacing: -.01em; }

  & .fp-annot--autopop .p1 { --x: 59.5%; --y: 6%; } & .fp-annot--autopop .p2 { --x: .6%; --y: 61%; }
  & .fp-annot--autopop .p3 { --x: 25.5%; --y: 85%; } & .fp-annot--autopop .p4 { --x: 52.5%; --y: 93%; }
  & .fp-annot--day .p1 { --x: 60%; --y: 66.4%; } & .fp-annot--day .p3 { --x: 16.5%; --y: 49.5%; }
  & .fp-annot--todo .p2 { --x: 27%; --y: 15%; }
  & .fp-annot--editor .p1 { --x: 51.1%; --y: 7.6%; } & .fp-annot--editor .p2 { --x: 67.3%; --y: 86.8%; } & .fp-annot--editor .p3 { --x: 84.1%; --y: 7.6%; }

  /* ------------------------------------------------------------------ films */
  & .fp-film { margin: 0; }
  & .fp-film-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; background: #e9dfcc; box-shadow: var(--mat); }
  & .fp-film-video { display: block; width: 100%; height: 100%; object-fit: cover; background: #e9dfcc; }
  & .fp-film-play { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; width: 100%;
    border: 0; padding: 0; cursor: pointer; color: var(--pine); background: linear-gradient(180deg, rgba(27, 56, 47, 0) 45%, rgba(27, 56, 47, .38)); }
  & .fp-film-play[hidden] { display: none; }
  & .fp-film-disc { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #fbf7ef; box-shadow: 0 18px 40px -14px rgba(20, 30, 25, .6), 0 0 0 10px rgba(251, 247, 239, .28); }
  & .fp-film-disc svg { width: 28px; height: 28px; margin-left: 5px; fill: var(--pine); }
  & .fp-film-label { padding: 8px 16px; border-radius: 999px; background: rgba(27, 56, 47, .82); color: #fbf7ef; font: 700 15px/1.2 var(--sans); }
  & .fp-film.is-started .fp-film-play { display: none; }
  & .fp-film-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 22px; }
  & .fp-film-title { font: 500 21px/1.3 var(--display); letter-spacing: -.01em; color: var(--text); }
  & .fp-film-len { padding: 4px 11px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font: 700 13.5px/1.3 var(--sans); color: var(--text-2); }
  & .fp-film-tap { display: none; font-size: 14.5px; color: var(--text-3); }
  & .fp-chapters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; list-style: none; padding: 0; }
  & .fp-chapters button { display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px 8px 9px; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: 650 15px/1.2 var(--sans); }
  & .fp-chapters button:hover { box-shadow: inset 0 0 0 1.5px var(--c); }
  & .fp-chapters time { padding: 3px 7px; border-radius: 999px; background: color-mix(in srgb, var(--c) 14%, #fffcf6); color: var(--text-2); font: 700 12.5px/1.2 var(--sans); font-variant-numeric: tabular-nums; }
  & .fp-transcript { margin-top: 18px; max-width: 760px; }
  & .fp-transcript summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; color: var(--pine); list-style: none; }
  & .fp-transcript summary::-webkit-details-marker { display: none; }
  & .fp-transcript summary::before { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sage); font-size: 16px; line-height: 1; }
  & .fp-transcript[open] summary::before { content: "−"; }
  & .fp-transcript-body { margin-top: 16px; padding: 22px 26px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
  & .fp-transcript-body p { font-size: 16px; line-height: 1.65; color: var(--text-2); }
  & .fp-transcript-body p + p { margin-top: 8px; }

  /* ------------------------------------------------------------------ Booking: the "What happened" log */
  & .fp-log { margin-top: 56px; }
  & .fp-log-label { font: 800 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
  & .fp-log ol { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 0; }
  & .fp-log li { position: relative; padding: 30px 22px 0 0; }
  & .fp-log li::before { content: ""; position: absolute; top: 6px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2.5px color-mix(in srgb, var(--c) 55%, var(--line)); }
  & .fp-log li::after { content: ""; position: absolute; top: 12px; left: 20px; right: 6px; height: 1px; background: var(--line); }
  & .fp-log li:nth-child(4n)::after { display: none; }
  & .fp-log time { display: block; font: 700 13.5px/1.2 var(--sans); color: var(--text-3); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
  & .fp-log span { display: block; margin-top: 6px; font-size: 16px; line-height: 1.45; color: var(--text); }
  & .fp-log small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--text-3); }
  & .fp-log li.is-key::before { background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 20%, transparent); }
  & .fp-log li.is-key span { color: var(--clay-text); font-weight: 700; }
  & .fp-log-cap { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font: italic 420 clamp(19px, 2vw, 23px)/1.4 var(--display); color: var(--text); }

  /* ------------------------------------------------------------------ overlap: a window with a phone over its corner */
  & .fp-overlap { position: relative; padding-right: 13%; padding-bottom: 40px; }
  & .fp-overlap > .fp-shot.is-phone { position: absolute; right: 0; bottom: 0; width: 25%; max-width: 270px; z-index: 3; }


  /* dashboard: the to-do list panel over the lower corner of the dashboard window */
  & .fp-overlap.is-dash { padding: 0 0 0 0; }
  & .fp-overlap.is-dash > .fp-todo { position: relative; width: 84%; margin: -64px -28px 0 auto; z-index: 3; }
  & .fp-overlap.is-dash > .fp-todo .fp-shot-frame { box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -24px rgba(60, 40, 10, .45); }
  & .fp-overlap.is-dash + .fp-legend { margin-top: 30px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  & .fp-centre { margin-inline: auto; }
  & .is-pine .fp-rule { background: rgba(246, 241, 232, .16); }

  /* ------------------------------------------------------------------ compare */
  & .fp-compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: start; }
  & .fp-compare > * { padding: 0 36px; }
  & .fp-compare > :first-child { padding-left: 0; border-right: 1px solid var(--line); }
  & .fp-compare > :last-child { padding-right: 0; }
  & .fp-compare.is-weighted { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  & .fp-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font: 800 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
  & .fp-label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
  & .is-pine .fp-label { color: rgba(246, 241, 232, .86); }
  & .is-pine .fp-compare > :first-child { border-right-color: rgba(246, 241, 232, .16); }

  /* ------------------------------------------------------------------ also: a plain definition list */
  & .fp-also { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin: 0; }
  & .fp-also > div { padding: 26px 0; border-top: 1px solid var(--line); }
  & .fp-also dt { font: 500 22px/1.25 var(--display); letter-spacing: -.01em; color: var(--text); }
  & .fp-also dd { margin: 8px 0 0; color: var(--text-2); font-size: 16.5px; line-height: 1.6; max-width: 46ch; }
  & .fp-also dd a { color: var(--clay-text); font-weight: 700; }
  & .fp-also.is-one { grid-template-columns: 1fr; }

  /* ------------------------------------------------------------------ Finance: the invoice timeline */
  & .fp-steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  & .fp-steps li { position: relative; padding: 0 26px 0 0; }
  & .fp-steps li::before { content: ""; display: block; width: 16px; height: 16px; margin-bottom: 18px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 3px var(--c); }
  & .fp-steps li::after { content: ""; position: absolute; top: 7px; left: 26px; right: 10px; border-top: 1.5px dashed color-mix(in srgb, var(--c) 50%, transparent); }
  & .fp-steps li:last-child::before { background: var(--c); }
  & .fp-steps li:last-child::after { display: none; }
  & .fp-steps strong { display: block; font: 500 23px/1.2 var(--display); letter-spacing: -.012em; color: var(--text); }
  & .fp-steps span { display: block; margin-top: 8px; color: var(--text-2); font-size: 16.5px; line-height: 1.55; }
  & .fp-branch { list-style: none; margin: 30px 0 0; padding: 22px 0 0 0; border-top: 1.5px dashed var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
  & .fp-branch li { position: relative; padding-left: 22px; font-size: 15.5px; color: var(--text-2); }
  & .fp-branch li::before { content: "↳"; position: absolute; left: 0; color: var(--c); font-weight: 700; }
  & .fp-ledger { font-variant-numeric: tabular-nums; }

  /* ------------------------------------------------------------------ Reporting: ask, then the piece */
  & .fp-ask { position: relative; padding: 26px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); }
  & .fp-ask-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); font: 700 15px/1 var(--sans); }
  & .fp-ask-head em { font-style: normal; font-weight: 700; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--sand); color: var(--text-2); }
  & .fp-ask-me { margin-left: auto; max-width: 88%; width: fit-content; padding: 12px 16px; border-radius: 18px 18px 5px 18px; background: var(--pine); color: #fff; font-size: 16px; line-height: 1.45; }
  & .fp-ask-card { margin-top: 16px; padding: 18px 18px 16px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
  & .fp-ask-card b { display: block; font: 500 19px/1.3 var(--display); }
  & .fp-ask-card p { margin-top: 4px; font-size: 15px; color: var(--text-2); }
  & .fp-ask-btns { display: flex; gap: 8px; margin-top: 14px; }
  & .fp-ask-btns span { padding: 8px 14px; border-radius: 999px; font: 700 14px/1 var(--sans); box-shadow: inset 0 0 0 1px var(--line); background: var(--card); }
  & .fp-ask-btns span:first-child { background: var(--pine); color: #fff; box-shadow: none; }
  & .fp-twostep { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: center; }
  & .fp-arrow { justify-self: center; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--c); font-weight: 800; }

  /* Reporting: bento of real pieces */
  & .fp-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; align-items: start; }
  & .fp-bento .fp-shot { grid-column: span 3; }
  & .fp-bento .b-wide { grid-column: span 4; } & .fp-bento .b-narrow { grid-column: span 2; } & .fp-bento .b-full { grid-column: 1 / -1; }
  & .fp-bento figcaption { margin-top: 12px; font-weight: 650; color: var(--text-2); }
  & .fp-menu { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
  & .fp-menu li { padding: 8px 15px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 650; color: var(--text-2); }

  /* ------------------------------------------------------------------ Website: design switcher */
  & .fp-designs { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 40px; align-items: end; }
  & .fp-design-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
  & .fp-design-tabs button { padding: 9px 16px; border: 0; border-radius: 999px; cursor: pointer; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font: 700 15px/1 var(--sans); color: var(--text-2); }
  & .fp-design-tabs button[aria-selected="true"] { background: var(--pine); color: #fff; box-shadow: none; }
  & .fp-design-tabs { display: none; }
  & .fp-design-stack { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 24px; }
  & .fp-design-stack > .fp-shot { scroll-snap-align: start; }
  & .fp-designs.is-live .fp-design-tabs { display: flex; }
  & .fp-designs.is-live .fp-design-stack { display: block; overflow: visible; padding: 0; }
  & .fp-designs.is-live .fp-design-stack > .fp-shot[hidden] { display: none; }

  /* Website: from the website to Pracler */
  & .fp-handoff { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 64px; }
  & .fp-hands { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
  & .fp-hand { position: relative; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 26px; align-items: center; padding: 22px 24px; border-radius: 22px;
    background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(246, 241, 232, .14); }
  & .fp-hand::before { content: ""; position: absolute; left: -46px; top: 50%; width: 38px; border-top: 1.5px dashed rgba(246, 241, 232, .45); }
  & .fp-hand::after { content: ""; position: absolute; left: -10px; top: calc(50% - 4px); border: 4px solid transparent; border-left: 6px solid rgba(246, 241, 232, .6); }
  & .fp-hand-from { font: 800 12.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #f0c3a8; }
  & .fp-hand-to { display: block; margin-top: 6px; font: 500 23px/1.2 var(--display); color: #fbf7ef; }
  & .fp-hand-note { display: block; margin-top: 4px; font-size: 15px; color: rgba(246, 241, 232, .78); }
  & .fp-hand .fp-shot.is-panel .fp-shot-frame { box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .5); }
  & .fp-hand-dest { font-size: 15px; line-height: 1.5; color: rgba(246, 241, 232, .8); }

  /* ------------------------------------------------------------------ Records: plain who-sees-what lines */
  & .fp-plain { list-style: none; padding: 0; margin: 0; }
  & .fp-plain li { padding: 22px 0; border-top: 1px solid var(--line); font-size: 18px; line-height: 1.55; color: var(--text); max-width: 62ch; }
  & .fp-plain li:last-child { border-bottom: 1px solid var(--line); }

  /* evolve callout on a sage band sits on cream */
  & .is-sage .evolve-callout.light { background: var(--card); margin-top: 40px; }

  /* ------------------------------------------------------------------ CTA spacing after the last band */
  & .fp-page .cta-band, & .fp-page .fp-band + .cta-band { padding-top: 64px; }

  /* ------------------------------------------------------------------ motion (only when allowed) */
  @media (prefers-reduced-motion: no-preference) {
    & .fp-film-disc { transition: transform .3s var(--ease); }
    & .fp-film-play:hover .fp-film-disc, & .fp-film-play:focus-visible .fp-film-disc { transform: scale(1.06); }
    & .fp-chapters button, & .fp-design-tabs button { transition: box-shadow .2s, background .2s; }
  }
  & .fp-film-play:focus-visible { outline: 3px solid var(--clay); outline-offset: -6px; }

  /* ------------------------------------------------------------------ responsive */
  @media (max-width: 1000px) {
    & .fp-split, & .fp-split.is-even, & .fp-split.is-text, & .fp-split.is-flip { grid-template-columns: 1fr; gap: 44px; }
    & .fp-split.is-flip > :first-child { order: 0; }
    & .fp-log ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    & .fp-log li:nth-child(2n)::after { display: none; }
    & .fp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 0; }
    & .fp-steps li:nth-child(2)::after { display: none; }
    & .fp-handoff { grid-template-columns: 1fr; gap: 40px; }
    & .fp-handoff > .fp-shot.is-phone { margin: 0 auto; width: 230px; }
    & .fp-hand::before, & .fp-hand::after { display: none; }
    & .fp-twostep { grid-template-columns: 1fr; gap: 18px; }
    & .fp-arrow { transform: rotate(90deg); }
    & .fp-designs { grid-template-columns: minmax(0, 1fr) 170px; gap: 24px; }
  }
  @media (max-width: 760px) {
    & .fp-band { padding: 84px 0; }
    & .fp-band.is-paper-rule { padding-top: 0; }
    & .fp-band + .fp-band.is-paper-rule .wrap { padding-top: 72px; }
    & .fp-hero-follow { margin-top: -40px; padding-top: 0; }
    & .fp-sheet { padding: 36px 0 0; border-radius: 30px 30px 0 0; }
    & .fp-sheet::before { content: ""; position: absolute; inset: 0 -16px; z-index: -1; border-radius: 30px 30px 0 0; background: var(--paper) var(--grain); }
    & .fp-sheet { background: none; }
    & .fp-cols, & .fp-also, & .fp-branch { grid-template-columns: 1fr; gap: 0; }
    & .fp-cols { gap: 40px; }
    & .fp-legend, & .fp-legend.is-steps { grid-template-columns: 1fr; gap: 14px; }
    & .fp-legend.is-steps li { padding: 4px 0 0 46px; }
    & .fp-legend.is-steps li::after { display: none; }
    & .fp-log ol { grid-template-columns: 1fr; gap: 0; }
    & .fp-log li { padding: 0 0 22px 32px; }
    & .fp-log li::before { top: 4px; }
    & .fp-log li::after, & .fp-log li:nth-child(2n)::after { display: block; top: 22px; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; }
    & .fp-log li:last-child::after { display: none; }
    & .fp-steps { grid-template-columns: 1fr; gap: 0; }
    & .fp-steps li { padding: 0 0 26px 34px; }
    & .fp-steps li::before { position: absolute; left: 0; top: 4px; margin: 0; }
    & .fp-steps li::after, & .fp-steps li:nth-child(2)::after { display: block; top: 26px; bottom: 2px; left: 7px; right: auto; border-top: 0; border-left: 1.5px dashed color-mix(in srgb, var(--c) 50%, transparent); }
    & .fp-steps li:last-child::after { display: none; }
    & .fp-overlap { padding: 0; }
    & .fp-overlap > .fp-shot.is-phone { position: relative; width: 62%; max-width: 240px; margin: -48px 0 0 auto; }
    & .fp-overlap.is-dash > .fp-todo { position: relative; right: auto; bottom: auto; width: 100%; margin: 18px 0 0; }
    & .fp-overlap.is-dash + .fp-legend { margin-top: 26px; grid-template-columns: 1fr; }
    & .fp-compare, & .fp-compare.is-weighted { grid-template-columns: 1fr; gap: 40px; }
    & .fp-compare > *, & .fp-compare > :first-child, & .fp-compare > :last-child { padding: 0; border: 0; }
    & .fp-bento { grid-template-columns: 1fr; gap: 28px; }
    & .fp-bento .fp-shot, & .fp-bento .b-wide, & .fp-bento .b-narrow { grid-column: 1 / -1; }
    & .fp-bento .b-narrow { max-width: 260px; }
    & .fp-hand { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
    & .fp-designs { grid-template-columns: 1fr; }
    & .fp-designs > .fp-shot.is-phone { display: none; }
    & .fp-pin { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 12px; box-shadow: 0 0 0 3px rgba(255, 252, 246, .92); }
    & .fp-shot.is-window .fp-shot-frame { border-radius: 16px; }
    & .fp-shot-bar { height: 30px; font-size: 12px; }
    & .fp-film-frame { border-radius: 18px; }
    & .fp-film-disc { width: 64px; height: 64px; }
    & .fp-film-label { font-size: 13.5px; }
  }
  @media (max-width: 640px) {
    & .page-hero .eyebrow.on-dark { flex-wrap: wrap; row-gap: 8px; }
    & .fp-crumb { flex-basis: 100%; text-align: center; }
    & .fp-crumb::before { display: none; }
    & .fp-film-tap { display: inline; }
    & .fp-head p:not(.eyebrow) { font-size: 17.5px; }
    & .fp-shot.is-phone { max-width: 250px; }
  }

  /* layout helpers: last, so they win over component margins */
  & .fp-split.is-text > .fp-h2, & .fp-split.is-text > div > .fp-h2, & .fp-split.is-text .fp-head h2 { font-size: clamp(32px, 3.6vw, 46px); }
  & .fp-narrow { max-width: 520px; }
  & .fp-split > .fp-narrow { justify-self: center; }
  & .mt-l { margin-top: 64px; } & .mt-m { margin-top: 40px; } & .mt-s { margin-top: 24px; }
  @media (max-width: 760px) { & .mt-l { margin-top: 44px; } & .mt-m { margin-top: 30px; } }

  /* ------------------------------------------------------------------ round 2: heroes with product, rhythm, fixes */
  & .page-hero .d1-back { display: inline-flex; align-items: center; min-height: 24px; }
  & :is(.fp-h1, .fp-h2, .fp-head h2, .fp-h3, .cta-card h2) { text-wrap: balance; }
  & .k3 .page-hero .fp-h1 .spectrum-text { display: inline; }
  & :is(.fp-split:not(.is-even), .fp-cols) :is(.fp-h2, .fp-head h2) { font-size: clamp(32px, 3.4vw, 46px); }
  & .fp-split.is-center { align-items: center; }
  & .fp-prose-p { color: var(--text-2); max-width: 62ch; margin: 0; }
  & .fp-cols-ruled { padding-top: 48px; border-top: 1px solid var(--line); }

  /* paper band after a paper band: no doubled padding */
  & .fp-band:not(.is-sage, .is-sand, .is-pine) + .fp-band:not(.is-sage, .is-sand, .is-pine, .is-paper-rule) { padding-top: 24px; }
  & .fp-hero-follow { padding-bottom: 72px; }

  /* pins: clay on every page */
  & .fp-pin, & .fp-legend li::before { background: var(--clay); }
  & .fp-legend.is-steps li::after { border-top-color: color-mix(in srgb, var(--clay) 45%, transparent); }

  /* film facade: bottom-left, out of the way of the poster's content */
  & .fp-film-play { flex-direction: row; justify-content: flex-start; align-items: flex-end; padding: 28px; gap: 14px; background: linear-gradient(180deg, rgba(27, 56, 47, 0) 55%, rgba(27, 56, 47, .32)); }
  & .fp-film-label { margin-bottom: 18px; }
  & .fp-transcript summary { padding: 10px 0; }

  /* hero product visuals (Website keeps its illustration) */
  & .page-hero .fp-hero-visual { position: relative; display: block; width: 100%; max-width: 620px; margin: 40px auto 0; }
  & .fp-hero-visual img { display: block; width: 100%; height: auto; }
  & .fp-hv-panel { border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: var(--mat); }
  & .fp-hv-booking { padding: 0 0 56px 0; }
  & .fp-hv-booking .fp-hv-panel { margin-left: 12%; }
  & .fp-hv-booking .fp-hv-phone { position: absolute; left: 0; bottom: 0; width: 27%; padding: 7px; border-radius: 30px; background: #1f2b26; box-shadow: 0 30px 50px -24px rgba(30, 30, 20, .6); }
  & .fp-hv-booking .fp-hv-phone img { border-radius: 24px; }
  & .fp-hv-records { max-width: 400px; }
  & .fp-hv-records::before { content: ""; position: absolute; z-index: -1; inset: 12% -18% -6% 22%; border-radius: 999px 999px 28px 28px; background: var(--sage-2); }
  & .fp-hv-records .fp-hv-panel { box-shadow: var(--mat); transform: none; }
  & .fp-hv-finance { max-width: 540px; }
  & .fp-hv-finance::before { content: ""; position: absolute; z-index: -1; width: 46%; aspect-ratio: 1; right: -8%; top: -10%; border-radius: 50%; background: #f0cdb3; }
  & .fp-hv-reporting { max-width: 560px; }
  & .fp-hv-reporting::before { content: ""; position: absolute; z-index: -1; left: -6%; right: 18%; top: 18%; bottom: -14%; border-radius: 28px; background: color-mix(in srgb, var(--violet) 18%, var(--sand)); }
  & .fp-hv-reporting .fp-shot.is-panel .fp-shot-frame { box-shadow: var(--mat); }
  @media (min-width: 900px) {
    & .page-hero .hero-split > .fp-hero-visual { grid-column: 2; grid-row: 1 / span 4; margin: 0 0 0 auto; justify-self: end; align-self: center; }
    & .page-hero .hero-split > .fp-hv-records { margin-right: 40px; }
  }

  /* Records: one full-width, image-first band */
  & .fp-image-first { padding-top: 96px; }
  & .fp-bleed { width: min(1320px, 100% - 40px); margin-inline: auto; }
  & .fp-bleed.is-mid { width: min(960px, 100% - 40px); }

  /* Round 2 screenshots: tall narrow panels, side-by-side pairs */
  & .fp-shot.fp-slim { width: 100%; max-width: 380px; justify-self: center; }
  & .fp-remind { display: grid; grid-template-columns: minmax(0, 443px) minmax(0, 420px); justify-content: center; gap: 56px; align-items: center; }
  & .fp-pair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px; align-items: start; }
  & .fp-pair > .fp-shot:first-child { grid-column: 1 / 8; }
  & .fp-pair > .fp-shot:last-child { grid-column: 6 / 13; }
  & .fp-remind figcaption, & .fp-pair figcaption { margin-top: 12px; font-weight: 650; color: var(--text-2); }
  & .fp-bento .b-tall { grid-row: span 3; }
  @media (min-width: 761px) { & .fp-overlap.is-dash > .fp-todo { margin-top: -28px; } }

  /* Reporting: one centred moment */
  & .is-centre { margin-inline: auto; text-align: center; }
  & .fp-head.is-centre { max-width: 820px; }
  & .fp-head.is-centre .eyebrow { justify-content: center; }
  & .fp-head.is-centre .eyebrow::after { content: ""; display: inline-block; width: 18px; height: 1.5px; margin-left: 10px; vertical-align: 4px; background: currentColor; opacity: .6; }
  & .fp-prose.is-centre { max-width: 64ch; }
  & .fp-centred .evolve-callout { text-align: left; }

  /* Reporting: "also on the menu" as a plain list, not buttons */
  & .fp-menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 32px; margin-top: 16px; }
  & .fp-menu li { position: relative; padding: 0 0 0 18px; border-radius: 0; background: none; box-shadow: none; font-size: 16px; font-weight: 500; color: var(--text-2); }
  & .fp-menu li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }

  /* Finance: compact "also" strip inside the sage band */
  & .fp-strip-also { padding-top: 40px; border-top: 1px solid var(--line); }
  & .fp-also.is-compact { margin-top: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
  & .fp-also.is-compact > div { padding: 18px 0; }
  & .fp-also.is-compact dt { font-size: 19px; }
  & .fp-also.is-compact dd { font-size: 15.5px; margin-top: 6px; }

  /* Website: design panels (phone only with the design it shows) */
  & .fp-design-stack > .fp-design-panel { scroll-snap-align: start; }
  & .fp-design-panel.has-phone { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 36px; align-items: end; }
  & .fp-designs.is-live .fp-design-stack > .fp-design-panel[hidden] { display: none; }
  /* With scripts on, lay the designs out as tabs from the first paint, so nothing jumps when the switcher starts */
  &.js .fp-design-tabs { display: flex; }
  &.js .fp-design-stack { display: block; overflow: visible; padding: 0; }
  &.js .fp-designs:not(.is-live) .fp-design-panel:not(.is-sel) { display: none; }
  & .fp-designs { display: block; }
  & .fp-hands { grid-template-columns: 1fr; }
  & .fp-hand::before, & .fp-hand::after { display: none; }
  & .fp-hand { grid-template-columns: 240px minmax(0, 1fr); }

  @media (max-width: 1000px) {
    & .fp-split.is-text { gap: 20px; }
    & .fp-menu { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 760px) {
    & .fp-page .cta-band, & .fp-page .fp-band + .cta-band { padding-top: 40px; }
    & .fp-also.is-compact { grid-template-columns: 1fr; }
    & .fp-menu { grid-template-columns: 1fr; }
    & .fp-design-panel.has-phone { grid-template-columns: 1fr; }
    & .fp-design-panel.has-phone > .fp-shot.is-phone { display: none; }
    & .fp-hand { grid-template-columns: 1fr; }
    & .fp-film-play { padding: 14px; }
    & .fp-film-label { margin-bottom: 10px; }
    & .fp-image-first { padding-top: 64px; }
    & .fp-bleed { width: calc(100% - 32px); }
    & .fp-remind, & .fp-pair { grid-template-columns: 1fr; }
    & .fp-pair > .fp-shot:first-child, & .fp-pair > .fp-shot:last-child { grid-column: 1 / -1; }
    & .fp-remind > .fp-shot { max-width: 440px; }
    & .fp-bento .b-tall { grid-row: auto; }
  }
  @media (max-width: 640px) {
    & .page-hero .hero-split { text-align: left; align-items: flex-start; }
    & .page-hero .hero-split .eyebrow { justify-content: flex-start; }
    & .page-hero .hero-split .eyebrow::after { display: none; }
    & .fp-crumb { text-align: left; }
    & .page-hero .fp-hero-visual { margin-top: 32px; }
  }
}

/* ------------------------------------------------------------------ round 3: features first (Booking), film pop-up */
html[data-look="hearth"] {
  /* the three-step strip under the hero */
  & .fp-sheet.is-compact { padding: 52px 56px 8px; }
  & .fp-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: flow; }
  & .fp-flow li { position: relative; padding: 0 36px 0 0; counter-increment: flow; }
  & .fp-flow li::before { content: counter(flow); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px; border-radius: 50%;
    background: var(--c, var(--clay)); color: #fff; font: 700 15px/1 var(--sans); }
  & .fp-flow li::after { content: ""; position: absolute; top: 17px; left: 48px; right: 14px; border-top: 1.5px dashed color-mix(in srgb, var(--c, var(--clay)) 50%, transparent); }
  & .fp-flow li:last-child::after { display: none; }
  & .fp-flow h3 { font-size: 22px; letter-spacing: -.01em; }
  & .fp-flow p { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--text-2); max-width: 34ch; }

  /* film card: small poster, one line, opens a pop-up */
  & .fp-filmcard { display: flex; align-items: center; gap: 26px; margin-top: 44px; padding: 16px 28px 16px 16px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
  & .fp-filmcard-thumb { position: relative; flex: none; display: block; width: 210px; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 30px -18px rgba(40, 30, 10, .55); }
  & .fp-filmcard-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
  & .fp-filmcard-play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fbf7ef;
    box-shadow: 0 10px 24px -10px rgba(20, 30, 25, .6), 0 0 0 7px rgba(251, 247, 239, .3); }
  & .fp-filmcard-play svg { width: 18px; height: 18px; margin-left: 3px; fill: var(--pine); }
  & .fp-filmcard-line { font: 500 clamp(19px, 1.9vw, 23px)/1.35 var(--display); letter-spacing: -.01em; color: var(--text); max-width: 40ch; }
  & .fp-filmcard-meta { margin-top: 8px; font-size: 15px; color: var(--text-3); }
  & .fp-filmcard-meta a { font-weight: 700; color: var(--pine); }
  & .fp-filmcard-thumb:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

  /* the pop-up */
  & .fp-modal { width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 22px 22px 18px; border: 0; border-radius: 28px; background: var(--paper); color: var(--text); overflow: auto;
    box-shadow: 0 40px 120px -30px rgba(10, 20, 15, .7); }
  & .fp-modal::backdrop { background: rgba(18, 32, 27, .72); }
  & .fp-modal-close { display: flex; justify-content: flex-end; margin: -6px -6px 10px 0; }
  & .fp-modal-close button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
  & .fp-modal-close svg { width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; }
  & .fp-modal .fp-film-frame { border-radius: 18px; }
  & .fp-modal .fp-film-cap { margin-top: 16px; }

  /* compact feature rows: short text with ticks beside the product */
  & .fp-band.is-feat { padding: 92px 0; }
  & .fp-feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
  & .fp-feat.is-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  & .fp-feat.is-flip > .fp-feat-text { order: 2; }
  & .fp-feat-text { max-width: 470px; }
  & .fp-feat-text h2 { margin-top: 14px; font-size: clamp(32px, 3.4vw, 44px); letter-spacing: -.022em; text-wrap: balance; }
  & .fp-feat-lede { margin-top: 16px; font-size: 18.5px; line-height: 1.55; color: var(--text-2); }
  & .fp-ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; }
  & .fp-ticks li { position: relative; padding-left: 32px; font-size: 16.5px; line-height: 1.45; color: var(--text); }
  & .fp-ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: color-mix(in srgb, var(--c, var(--clay)) 18%, #fffcf6); }
  & .fp-ticks li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 7px; height: 10px; border: solid var(--clay-text, #9a4a2c); border-width: 0 2px 2px 0; transform: rotate(45deg); }
  & .is-pine .fp-feat-lede { color: rgba(246, 241, 232, .82); }
  & .is-pine .fp-ticks li { color: #f6f1e8; }
  & .is-pine .fp-ticks li::before { background: rgba(255, 255, 255, .12); }
  & .is-pine .fp-ticks li::after { border-color: #f0c3a8; }

  /* calendar + booking window */
  & .fp-stack { position: relative; padding-bottom: 56px; padding-right: 8%; }
  & .fp-stack > .fp-stack-top { position: absolute; right: 0; bottom: 0; width: 38%; max-width: 300px; z-index: 2; }
  & .fp-stack > .fp-stack-top .fp-shot-frame { box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -24px rgba(60, 40, 10, .5); }
  /* reminder email + WhatsApp side by side */
  & .fp-duo { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: 22px; align-items: center; }
  /* tasks: smaller window, phone over the corner */
  & .fp-overlap.is-small { max-width: 640px; width: 100%; justify-self: center; }

  /* tile grid */
  & .fp-tiles-title { text-align: center; font-size: clamp(30px, 3.2vw, 42px); }
  & .fp-tiles { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  & .fp-tile { padding: 26px 24px 24px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
  & .fp-ico { display: block; width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: color-mix(in srgb, var(--c, var(--clay)) 16%, #fffcf6);
    fill: none; stroke: var(--clay-text, #9a4a2c); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  & .fp-tile h3 { margin-top: 16px; font-size: 19px; line-height: 1.25; letter-spacing: -.01em; }
  & .fp-tile p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--text-2); }

  @media (max-width: 1100px) { & .fp-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (max-width: 1000px) {
    & .fp-feat, & .fp-feat.is-flip { grid-template-columns: 1fr; gap: 40px; }
    & .fp-feat.is-flip > .fp-feat-text { order: 0; }
    & .fp-feat-text { max-width: 620px; }
    & .fp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 760px) {
    & .fp-band.is-feat { padding: 72px 0; }
    & .fp-sheet.is-compact { padding: 32px 0 0; }
    & .fp-flow { grid-template-columns: 1fr; }
    & .fp-flow li { padding: 0 0 22px 50px; }
    & .fp-flow li::before { position: absolute; left: 0; top: -4px; margin: 0; }
    & .fp-flow li::after { top: 36px; bottom: 4px; left: 16px; right: auto; border-top: 0; border-left: 1.5px dashed color-mix(in srgb, var(--c, var(--clay)) 50%, transparent); }
    & .fp-filmcard { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 22px; padding: 14px 14px 20px; }
    & .fp-filmcard-thumb { width: 100%; }
    & .fp-filmcard-text { padding: 0 6px; }
    & .fp-stack { padding: 0; }
    & .fp-stack > .fp-stack-top { position: relative; width: 66%; max-width: 280px; margin: -40px 0 0 auto; }
    & .fp-duo { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
    & .fp-tiles { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
    & .fp-tile { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 20px; }
    & .fp-tile .fp-ico { grid-row: span 2; }
    & .fp-tile h3 { margin-top: 0; }
    & .fp-tile p { margin-top: 4px; }
    & .fp-modal { padding: 14px 12px 12px; border-radius: 20px; }
  }
}
html[data-look="hearth"] {
  & .fp-stack.is-remind { padding-bottom: 120px; padding-right: 22%; }
  & .fp-stack.is-remind > .fp-stack-top { width: 36%; max-width: 250px; }
  @media (max-width: 760px) { & .fp-stack.is-remind { padding: 0; } & .fp-stack.is-remind > .fp-stack-top { width: 62%; margin-top: -60px; } }
}
/* round 3b: calendar hero with the film card under it; tiles with small screenshots */
html[data-look="hearth"] {
  & .page-hero .fp-ticks { margin-top: 26px; max-width: 34em; }
  & .fp-hv-cal { padding: 0 0 70px 0; }
  & .fp-hv-cal .fp-hv-panel { margin-right: 14%; }
  & .fp-hv-cal .fp-hv-win { position: absolute; right: 0; bottom: 0; width: 36%; border-radius: 14px; overflow: hidden; background: var(--card);
    box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -24px rgba(60, 40, 10, .5); }
  & .fp-sheet.is-film { padding: 30px 30px 8px; }
  & .fp-sheet.is-film .fp-filmcard { margin-top: 0; }

  & .fp-tile { display: flex; flex-direction: column; padding: 12px 12px 22px; }
  & .fp-tile-shot { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 14px; border-radius: 13px; overflow: hidden;
    background: color-mix(in srgb, var(--c, var(--clay)) 9%, #f4ede1); }
  & .fp-tile-shot img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 7px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 10px 22px -12px rgba(50, 35, 10, .45); }
  & .fp-tile-shot.is-icon .fp-ico { width: 64px; height: 64px; padding: 14px; border-radius: 18px; background: #fffcf6; }
  & .fp-tile-body { padding: 18px 12px 0; }
  & .fp-tile-body .fp-ico { display: none; }
  & .fp-tile-body h3 { margin-top: 0; }
  @media (max-width: 760px) {
    & .fp-hv-cal { padding-bottom: 50px; }
    & .fp-sheet.is-film { padding: 22px 0 0; }
    & .fp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    & .fp-tile { display: flex; padding: 8px 8px 16px; }
    & .fp-tile-shot { padding: 8px; }
    & .fp-tile-body { padding: 12px 6px 0; }
    & .fp-tile h3 { font-size: 16.5px; }
    & .fp-tile p { font-size: 14px; }
  }
  @media (max-width: 420px) { & .fp-tiles { grid-template-columns: 1fr; } }
}

/* ================================================================== Records & Notes v3 (the client record first; rows, tiles). Records page only. */
html[data-look="hearth"] {
  /* hero: the full record with the pop-over panel on its corner */
  & .fp-hv-rec { padding: 0 0 84px 0; }
  & .fp-hv-rec .fp-hv-panel { margin-right: 13%; }
  & .fp-hv-rec .fp-hv-win { position: absolute; right: 0; bottom: 0; width: 41%; border-radius: 14px; overflow: hidden; background: var(--card);
    box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -24px rgba(60, 40, 10, .5); }

  /* stacks: what sits over the corner of each row's window */
  & .fp-stack.is-notes { padding-bottom: 96px; padding-right: 17%; max-width: 620px; width: 100%; justify-self: center; }
  & .fp-stack.is-notes > .fp-stack-top { width: 37%; max-width: 270px; }
  & .fp-stack.is-goals { padding-bottom: 120px; padding-right: 9%; }
  & .fp-stack.is-body { padding-bottom: 64px; padding-right: 7%; }
  & .fp-stack.is-body > .fp-stack-top { width: 60%; max-width: 400px; }
  & .fp-stack.is-prog { padding-bottom: 130px; padding-right: 9%; }
  & .fp-stack.is-prog > .fp-stack-top { width: 62%; max-width: 430px; }

  /* dark product screens (3D body, exercises) */
  & .fp-shot.is-dark .fp-shot-frame { background: #0b1118; }
  & .fp-shot.is-dark.is-panel .fp-shot-frame { border-radius: 16px; }
  & .fp-stack > .fp-stack-top.is-dark .fp-shot-frame { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 30px 60px -24px rgba(0, 0, 0, .7); }
  & .fp-shot.is-dark .fp-shot-bar { background: #151d26; border-bottom-color: rgba(255, 255, 255, .08); color: rgba(240, 240, 235, .7); }
  & .fp-shot.is-dark .fp-shot-bar span { color: rgba(240, 240, 235, .7); }
  & .fp-shot.is-dark .fp-shot-bar i { background: rgba(255, 255, 255, .22); }
  & .fp-credit { margin-top: 14px; font-size: 12.5px; line-height: 1.4; color: var(--text-3); }
  & .is-pine .fp-credit { color: rgba(246, 241, 232, .6); }
  & .fp-credit.is-center { margin-top: 26px; text-align: center; }

  /* decorative outcome-measure card (not a screenshot) */
  & .fp-outcome { width: 47%; max-width: 300px; padding: 18px 20px 14px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -24px rgba(60, 40, 10, .5); }
  & .fp-outcome-k { font: 800 11px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
  & .fp-outcome-v { margin-top: 8px; font: 500 34px/1 var(--display); letter-spacing: -.02em; color: var(--text); }
  & .fp-outcome-v span { font: 600 13px/1.3 var(--sans); letter-spacing: 0; color: var(--pine); }
  & .fp-outcome svg { display: block; width: 100%; height: auto; margin-top: 12px; fill: none; overflow: visible; }
  & .fp-outcome .is-grid { stroke: var(--line); stroke-width: 1; }
  & .fp-outcome .is-target { stroke: var(--clay); stroke-width: 1.5; stroke-dasharray: 4 5; }
  & .fp-outcome .is-line { stroke: var(--pine); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
  & .fp-outcome .is-dots { fill: var(--card); stroke: var(--pine); stroke-width: 2; }
  & .fp-outcome-x { display: flex; justify-content: space-between; margin-top: 6px; font: 600 11.5px/1 var(--sans); color: var(--text-3); }

  /* tile wells: small decorative mock-ups for features shown without a screenshot */
  & .fp-tile-shot.is-dark { background: #121a22; }
  & .fp-tile-shot.is-mini { padding: 12px; }
  & .fp-mini { display: grid; gap: 7px; align-content: center; width: 86%; max-width: 230px; padding: 13px 14px; border-radius: 9px; background: #fffdf9; text-align: left;
    box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 10px 22px -12px rgba(50, 35, 10, .45); font: 600 10.5px/1.3 var(--sans); color: var(--text-2); }
  & .fp-mini b { font: 700 11.5px/1.2 var(--sans); color: var(--text); }
  & .fp-mini-bar { display: block; height: 5px; border-radius: 3px; background: #e7dfd1; }
  & .fp-mini-bar.w30 { width: 30%; } & .fp-mini-bar.w35 { width: 35%; } & .fp-mini-bar.w45 { width: 45%; } & .fp-mini-bar.w50 { width: 50%; } & .fp-mini-bar.w60 { width: 60%; }
  & .fp-mini-bar.w65 { width: 65%; } & .fp-mini-bar.w70 { width: 70%; } & .fp-mini-bar.w80 { width: 80%; } & .fp-mini-bar.w88 { width: 88%; } & .fp-mini-bar.w90 { width: 90%; }
  & .fp-mini-bar.w92 { width: 92%; } & .fp-mini-bar.w95 { width: 95%; }
  & .fp-mini-field { display: grid; gap: 4px; }
  & .fp-mini-input { display: block; height: 15px; border-radius: 4px; box-shadow: inset 0 0 0 1px #d9cfbd; }
  & .fp-mini-check { position: relative; padding-left: 18px; }
  & .fp-mini-check::before { content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 3px; background: var(--clay); }
  & .fp-mini-check::after { content: ""; position: absolute; left: 4px; top: 2px; width: 3px; height: 6px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
  & .fp-mini-sig { display: block; width: 62%; height: auto; margin: 2px 0 -6px; fill: none; stroke: #2b3a55; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  & .fp-mini-rule { display: block; height: 1px; background: #cfc5b2; }
  & .fp-mini-chip { justify-self: start; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--pine) 12%, #fffcf6); color: var(--pine); font-weight: 700; font-size: 10px; }
  & .fp-mini-head { display: flex; align-items: center; gap: 7px; padding-bottom: 7px; border-bottom: 1px solid #e7dfd1; }
  & .fp-mini-head .fp-mini-bar { flex: none; }
  & .fp-mini-logo { flex: none; display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--clay); }
  & .fp-mini.is-chat { padding: 0; background: none; box-shadow: none; gap: 6px; }
  & .fp-mini-bubble { display: grid; gap: 5px; width: 78%; padding: 8px 10px; border-radius: 10px 10px 10px 3px; background: #fffdf9; box-shadow: 0 6px 14px -10px rgba(50, 35, 10, .5); }
  & .fp-mini-bubble.is-out { justify-self: end; border-radius: 10px 10px 3px 10px; background: color-mix(in srgb, var(--pine) 14%, #fffcf6); }
  & .fp-mini-bubble em { font-style: normal; font-weight: 700; font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--clay-text, #9a4a2c); }
  & .fp-mini.is-chips .fp-mini-chip.is-alt { background: color-mix(in srgb, var(--clay) 14%, #fffcf6); color: var(--clay-text, #9a4a2c); }
  & .fp-mini.is-chat .fp-mini-bubble { padding: 7px 10px; }
  & .fp-mini.is-rows span { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 7px; padding-top: 6px; border-top: 1px solid #eee6d8; }
  & .fp-mini.is-rows span i { width: 7px; height: 7px; border-radius: 50%; background: var(--pine); }
  & .fp-mini.is-rows em { font-style: normal; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; }

  @media (max-width: 760px) {
    & .fp-hv-rec { padding-bottom: 60px; }
    & .fp-hv-rec .fp-hv-win { width: 44%; }
    & .fp-stack.is-notes, & .fp-stack.is-goals, & .fp-stack.is-body, & .fp-stack.is-prog { padding: 0; }
    & .fp-stack.is-notes > .fp-stack-top { width: 56%; margin-top: -70px; }
    & .fp-stack.is-body > .fp-stack-top { width: 82%; max-width: none; margin-top: -28px; }
    & .fp-stack.is-prog > .fp-stack-top { width: 74%; max-width: none; margin-top: -36px; }
    & .fp-outcome { position: relative; width: 70%; max-width: 280px; margin: -30px 0 0 auto; }
  }
}
html[data-look="hearth"] {
  & .fp-outcome-v span { display: block; margin-top: 6px; }
  @media (max-width: 900px) { & .k4 .page-hero .fp-ticks { width: fit-content; margin-left: auto; margin-right: auto; text-align: left; } }
}
/* round 5 (owner 20 Nov): every page opens on the feature class. kit.intro() + kit.auto_link(); usage in FP/PATTERN.md */
html[data-look="hearth"] {
  /* ---- the class intro */
  & .page-hero.fp-intro-hero { padding: 128px 0 124px; }
  & .fp-intro { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); column-gap: 56px; align-items: center; text-align: left; }
  & .fp-intro-text { min-width: 0; }
  & .page-hero .fp-intro .eyebrow.on-dark { display: flex; justify-content: flex-start; margin: 0; }
  & .page-hero .fp-intro .eyebrow.on-dark::before, & .page-hero .fp-intro .eyebrow.on-dark::after { display: none; }
  & .fp-intro .d1-back { padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 252, 246, .7); box-shadow: inset 0 0 0 1px var(--line); color: var(--clay-text); text-decoration: none; }
  & .fp-intro .d1-back:hover { background: var(--card); }
  & .page-hero .fp-intro-name { margin-top: 22px; font-size: clamp(46px, 5.5vw, 80px); line-height: 1; letter-spacing: -.032em; text-wrap: balance; }
  & .fp-intro-promise { margin: 24px 0 0; max-width: 24em; font: 400 clamp(20px, 1.9vw, 25px)/1.4 var(--display); letter-spacing: -.008em; color: var(--text-2); text-wrap: pretty; }
  & .fp-intro-art { position: relative; justify-self: end; width: 100%; max-width: 520px; }
  & .fp-intro-art::before { content: ""; position: absolute; z-index: -1; inset: 14% 4% 2% 8%; border-radius: 999px 999px 40px 40px; background: color-mix(in srgb, var(--card) 62%, transparent); }
  & .fp-intro-art img { display: block; width: 100%; height: auto; }

  /* ---- "on this page": small cards that jump to each feature (plain anchors) */
  & .fp-onpage { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; margin-top: 44px; padding: 10px 10px 10px 26px; border-radius: 24px;
    background: color-mix(in srgb, var(--card) 72%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
  & .fp-onpage-label { flex: none; margin: 0; font: 700 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
  & .fp-onpage-list { flex: 1; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
  & .fp-onpage-list a { display: flex; align-items: center; gap: 11px; height: 100%; padding: 9px 12px 9px 9px; border-radius: 16px; color: var(--text); text-decoration: none;
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
  & .fp-onpage-list a:hover { background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 10px 22px -16px rgba(70, 50, 20, .5); transform: translateY(-1px); }
  & .fp-onpage-list .fp-ico { flex: none; width: 36px; height: 36px; padding: 7.5px; border-radius: 11px; }
  & .fp-onpage-text { display: grid; min-width: 0; }
  & .fp-onpage-text b { font: 700 15.5px/1.25 var(--sans); letter-spacing: -.005em; }
  & .fp-onpage-text em { margin-top: 2px; font: 400 13.5px/1.3 var(--sans); color: var(--text-3); }
  & .fp-page :is(section, li, div)[id] { scroll-margin-top: 20px; }
  /* the film sheet now rises out of the intro: a little less overlap so the cards keep clear air under them */
  & .fp-intro-hero + .fp-hero-follow { margin-top: -64px; }

  /* ---- "See all automations": the one small button for anything Pracler does by itself */
  & .fp-more { margin: 26px 0 0; }
  & .fp-auto-link { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 6px 15px 6px 7px; border-radius: 999px; background: var(--card);
    box-shadow: inset 0 0 0 1px var(--line); color: var(--pine); font: 700 14.5px/1.2 var(--sans); text-decoration: none; transition: box-shadow .18s ease, background-color .18s ease; }
  & .fp-auto-link .fp-ico { flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 50%; }
  & .fp-auto-arrow { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
  & .fp-auto-link:hover { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--clay) 55%, transparent); }
  & .fp-auto-link:hover .fp-auto-arrow { transform: translateX(3px); }
  & .fp-band.is-pine a.fp-auto-link { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(246, 241, 232, .28); color: #fbf7ef; }
  & .fp-band.is-pine .fp-auto-link .fp-ico { background: rgba(255, 255, 255, .12); stroke: #f0c3a8; }
  & .fp-band.is-pine a.fp-auto-link:hover { background: rgba(255, 255, 255, .13); box-shadow: inset 0 0 0 1.5px rgba(240, 195, 168, .7); }
  & .fp-tile .fp-more { margin-top: 14px; }

  /* ---- the calendar as a feature row (was the hero composition) */
  & .fp-stack.is-cal { padding-bottom: 64px; padding-right: 10%; }
  & .fp-stack.is-cal > .fp-stack-top { width: 34%; max-width: 250px; }

  @media (max-width: 1100px) {
    & .fp-onpage { flex-direction: column; align-items: stretch; gap: 8px; padding: 16px 10px 10px; }
    & .fp-onpage-label { padding-left: 12px; }
    & .fp-onpage-text em { display: none; }
  }
  @media (max-width: 860px) {
    & .page-hero.fp-intro-hero { padding: 112px 0 104px; }
    & .fp-intro { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); column-gap: 24px; }
    & .fp-onpage { margin-top: 32px; }
    & .fp-onpage-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 4px 4px; }
    & .fp-onpage-list a { min-height: 44px; padding: 5px 15px 5px 6px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); gap: 8px; }
    & .fp-onpage-list .fp-ico { width: 32px; height: 32px; padding: 7px; border-radius: 50%; }
    & .fp-onpage-text b { font-size: 15px; }
  }
  @media (max-width: 640px) {
    & .page-hero.fp-intro-hero { padding: 104px 0 84px; }
    & .fp-intro { grid-template-columns: minmax(0, 1fr); }
    & .page-hero .fp-intro-name { margin-top: 18px; font-size: clamp(40px, 12.4vw, 54px); }
    & .fp-intro-promise { margin-top: 16px; font-size: 19.5px; }
    & .fp-intro-art { justify-self: center; max-width: 330px; margin-top: 18px; }
    & .fp-onpage { margin-top: 14px; padding: 0; background: none; box-shadow: none; border-radius: 0; }
    & .fp-onpage-label { padding-left: 2px; }
    & .fp-onpage-list { padding: 0; }
    & .fp-intro-hero + .fp-hero-follow { margin-top: -40px; }
    & .fp-stack.is-cal { padding: 0; }
    & .fp-stack.is-cal > .fp-stack-top { width: 54%; margin-top: -56px; }
  }
  @media (prefers-reduced-motion: reduce) { & .fp-onpage-list a, & .fp-auto-link, & .fp-auto-arrow { transition: none; } }
}

/* round 7 (owner 20 Nov): colour. One palette for every feature page, /switching and /for/<profession>, lifted from the Website page.
   Each accent is a pair: the tint (wells, badges, tick circles) and its ink (AA on paper and sand: eyebrows, icons, dots, chips).
   - a page has a key colour (--k / --k-ink); each feature row takes the next accent in turn (--fx / --fi);
   - tiles cycle through seven wells (--w / --dot); a module can also name one: .fp-tile-shot.is-sky / is-ochre / is-clay / is-sage / is-blush / is-plum / is-pine.
   Screenshots keep their neutral frames. The Website page (k3) names its own wells and Automations (k5) has its own colour: both are left as they were. */
html[data-look="hearth"] .fp-page {
  --fp-sky: #c7dde9;   --fp-sky-ink: #27648a;
  --fp-ochre: #f3d588; --fp-ochre-ink: #7d5915;
  --fp-clay: #eebfa6;  --fp-clay-ink: var(--clay-text, #a14b30);
  --fp-sage: #c6dcc0;  --fp-sage-ink: #346b44;
  --fp-blush: #f4cfd0; --fp-blush-ink: #a23c50;
  --fp-plum: #dfcde3;  --fp-plum-ink: #74506e;
  --fp-pine: #1f4a3c;  --fp-pine-ink: var(--pine);
  --k: var(--fp-clay); --k-ink: var(--fp-clay-ink);
  &.k1 { --k: var(--fp-clay); --k-ink: var(--fp-clay-ink); }
  &.k2 { --k: var(--fp-plum); --k-ink: var(--fp-plum-ink); }
  &.k4 { --k: var(--fp-sage); --k-ink: var(--fp-sage-ink); }
  &.k5 { --k: var(--fp-ochre); --k-ink: var(--fp-ochre-ink); }
  &.k6 { --k: var(--fp-blush); --k-ink: var(--fp-blush-ink); }
  &.k7 { --k: var(--fp-sky); --k-ink: var(--fp-sky-ink); }

  /* named wells, for any page */
  & .fp-tile-shot.is-sky { --w: var(--fp-sky); --dot: var(--fp-sky-ink); }
  & .fp-tile-shot.is-ochre { --w: var(--fp-ochre); --dot: var(--fp-ochre-ink); }
  & .fp-tile-shot.is-clay { --w: var(--fp-clay); --dot: var(--fp-clay-ink); }
  & .fp-tile-shot.is-sage { --w: var(--fp-sage); --dot: var(--fp-sage-ink); }
  & .fp-tile-shot.is-blush { --w: var(--fp-blush); --dot: var(--fp-blush-ink); }
  & .fp-tile-shot.is-plum { --w: var(--fp-plum); --dot: var(--fp-plum-ink); }
  & .fp-tile-shot.is-pine { --w: var(--fp-pine); --dot: var(--fp-pine-ink); }
}

html[data-look="hearth"] .fp-page:not(.k3, .k5) {

  /* ---- bands: paper rows a touch lighter, so they part from the sand rows */
  & .fp-band.is-feat:not(.is-sand, .is-sage, .is-pine) { background: #fbf8f1 var(--grain); }

  /* ---- feature rows: each takes the next accent */
  & .fp-band.is-feat { --fx: var(--fp-sky); --fi: var(--fp-sky-ink); }
  & .fp-band.is-feat:nth-of-type(6n + 2) { --fx: var(--fp-clay); --fi: var(--fp-clay-ink); }
  & .fp-band.is-feat:nth-of-type(6n + 3) { --fx: var(--fp-sky); --fi: var(--fp-sky-ink); }
  & .fp-band.is-feat:nth-of-type(6n + 4) { --fx: var(--fp-ochre); --fi: var(--fp-ochre-ink); }
  & .fp-band.is-feat:nth-of-type(6n + 5) { --fx: var(--fp-sage); --fi: var(--fp-sage-ink); }
  & .fp-band.is-feat:nth-of-type(6n) { --fx: var(--fp-blush); --fi: var(--fp-blush-ink); }
  & .fp-band.is-feat:nth-of-type(6n + 1) { --fx: var(--fp-plum); --fi: var(--fp-plum-ink); }

  & .fp-band.is-feat .eyebrow { color: var(--fi); }
  & .fp-band.is-feat .fp-ticks li::before { background: var(--fx); }
  & .fp-band.is-feat .fp-ticks li::after { border-color: var(--fi); }
  & .fp-band.is-feat:not(.is-pine) .fp-auto-link .fp-ico { background: var(--fx); stroke: var(--fi); }
  & .fp-band.is-feat:not(.is-pine) .fp-auto-link:hover { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fi) 55%, transparent); }
  /* on pine the tint is the readable one */
  & .fp-band.is-feat.is-pine .eyebrow { color: var(--fx); }
  & .fp-band.is-feat.is-pine .fp-ticks li::before { background: color-mix(in srgb, var(--fx) 24%, transparent); }
  & .fp-band.is-feat.is-pine .fp-ticks li::after { border-color: var(--fx); }
  & .fp-band.is-feat.is-pine .fp-auto-link .fp-ico { background: color-mix(in srgb, var(--fx) 22%, transparent); stroke: var(--fx); }
  & .fp-band.is-feat.is-pine a.fp-auto-link:hover { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fx) 70%, transparent); }

  /* a coloured mat behind the row's picture: the frames stay neutral, the colour sits around them */
  & .fp-band.is-feat .fp-feat-art { position: relative; isolation: isolate; }
  & .fp-band.is-feat .fp-feat-art::before { content: ""; position: absolute; z-index: -1; left: -30px; top: -30px; width: 62%; height: 68%; border-radius: 36px;
    background: color-mix(in srgb, var(--fx) 78%, transparent); }
  & .fp-band.is-feat .fp-feat.is-flip .fp-feat-art::before { left: auto; right: -30px; top: auto; bottom: -30px; }
  & .fp-band.is-feat.is-pine .fp-feat-art::before { background: color-mix(in srgb, var(--fx) 20%, transparent); }
  @media (max-width: 760px) {
    & .fp-band.is-feat .fp-feat-art::before { left: -10px; top: -12px; width: 70%; height: 60%; border-radius: 22px; }
    & .fp-band.is-feat .fp-feat.is-flip .fp-feat-art::before { left: -10px; right: auto; top: -12px; bottom: auto; }
  }

  /* ---- "on this page": each card's icon in its own accent */
  & .fp-onpage-label { color: var(--k-ink); }
  & .fp-onpage-list li .fp-ico { background: var(--fp-clay); stroke: var(--fp-clay-ink); }
  & .fp-onpage-list li:nth-child(6n + 2) .fp-ico { background: var(--fp-sky); stroke: var(--fp-sky-ink); }
  & .fp-onpage-list li:nth-child(6n + 3) .fp-ico { background: var(--fp-ochre); stroke: var(--fp-ochre-ink); }
  & .fp-onpage-list li:nth-child(6n + 4) .fp-ico { background: var(--fp-sage); stroke: var(--fp-sage-ink); }
  & .fp-onpage-list li:nth-child(6n + 5) .fp-ico { background: var(--fp-blush); stroke: var(--fp-blush-ink); }
  & .fp-onpage-list li:nth-child(6n) .fp-ico { background: var(--fp-plum); stroke: var(--fp-plum-ink); }

  /* ---- tiles: seven wells in turn; chips, dots and bars inside take the well's ink */
  & .fp-tile { --w: var(--fp-sky); --dot: var(--fp-sky-ink); --dot2: var(--fp-clay-ink); }
  & .fp-tile:nth-child(7n + 2) { --w: var(--fp-ochre); --dot: var(--fp-ochre-ink); }
  & .fp-tile:nth-child(7n + 3) { --w: var(--fp-clay); --dot: var(--fp-clay-ink); --dot2: var(--fp-pine-ink); }
  & .fp-tile:nth-child(7n + 4) { --w: var(--fp-sage); --dot: var(--fp-sage-ink); }
  & .fp-tile:nth-child(7n + 5) { --w: var(--fp-blush); --dot: var(--fp-blush-ink); --dot2: var(--fp-pine-ink); }
  & .fp-tile:nth-child(7n + 6) { --w: var(--fp-pine); --dot: var(--fp-pine-ink); }
  & .fp-tile:nth-child(7n) { --w: var(--fp-plum); --dot: var(--fp-plum-ink); }
  & .fp-tile-shot:not(.is-dark) { background: var(--w); }
  & .fp-tile-shot img { box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 14px 26px -14px rgba(40, 30, 10, .5); }
  & .fp-tile-shot.is-icon .fp-ico { stroke: var(--dot); }
  & .fp-tile > .fp-ico, & .fp-tile-body .fp-ico { background: var(--w); stroke: var(--dot); }
  & .fp-tile .fp-auto-link .fp-ico { background: color-mix(in srgb, var(--dot) 16%, #fffcf6); stroke: var(--dot); }

  & .fp-tile .fp-mini { box-shadow: 0 14px 26px -16px rgba(40, 30, 10, .55); }
  & .fp-tile .fp-mini.is-chat { box-shadow: none; }
  & .fp-tile .fp-mini-bar { background: color-mix(in srgb, var(--dot) 20%, #efe9dc); }
  & .fp-tile .fp-mini-head .fp-mini-bar { background: color-mix(in srgb, var(--dot) 46%, #efe9dc); }
  & .fp-tile .fp-mini-logo { background: var(--dot); }
  & .fp-tile .fp-mini-check::before { background: var(--dot); }
  & .fp-tile .fp-mini-input { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dot) 34%, #e2d9c8); }
  & .fp-tile .fp-mini-chip { background: color-mix(in srgb, var(--dot) 15%, #fffcf6); color: var(--dot); }
  & .fp-tile .fp-mini-chip.is-alt { background: color-mix(in srgb, var(--dot2) 15%, #fffcf6); color: var(--dot2); }
  & .fp-tile .fp-mini.is-rows span i { background: var(--dot); }
  & .fp-tile .fp-mini.is-rows span:nth-of-type(even) i { background: color-mix(in srgb, var(--dot) 55%, #fffcf6); }
  & .fp-tile .fp-mini.is-rows em { color: var(--dot); }
  & .fp-tile .fp-mini-bubble.is-out { background: color-mix(in srgb, var(--dot) 17%, #fffcf6); }
  & .fp-tile .fp-mini-bubble em { color: var(--dot); }
  & .fp-tile .fp-mini-sig { stroke: var(--dot); }
}

/* Decorative mats behind pictures may reach past the column on narrow screens: never let them widen the page. */
html[data-look="hearth"] .fp-page { overflow-x: clip; }
