/*
 * Round 3 system: components. Every part a page is built from, on every
 * site: the seals and patterns, the main navbar and its All sites sheet, the
 * area's second navbar, the bottom bar and its Contents sheet, the footer,
 * the call and buttons, prices, labels and captions, the disclosure, the
 * crossed-off list, the small stamp press, the scroll process, the round's
 * forms, photo slots and the 404. Markup for each is in sites/README.md.
 */

/* ===================== seals and patterns ===================== */
.pat--organise { color: var(--ink-organise); } .pat--organise .pat-off { fill: var(--wash-organise); }
.pat--simplify { color: var(--ink-simplify); } .pat--simplify .pat-off { fill: var(--wash-simplify); }
.pat--juggle { color: var(--ink-juggle); } .pat--juggle .pat-off { fill: var(--wash-juggle); }
.pat--declutter { color: var(--ink-declutter); } .pat--declutter .pat-off { fill: var(--wash-declutter); }
.pat--stage { color: var(--ink-stage); } .pat--stage .pat-off { fill: var(--wash-stage); }
.pat--style { color: var(--ink-style); } .pat--style .pat-off { fill: var(--wash-style); }
.pat--celebrate { color: var(--ink-celebrate); } .pat--celebrate .pat-off { fill: var(--wash-celebrate); }
.pat--design { color: var(--ink-design); } .pat--design .pat-off { fill: var(--wash-design); }
.pat--share { color: var(--ink-share); } .pat--share .pat-off { fill: var(--wash-share); }
.pat--apps { color: var(--ink-family); }
.seal-wash--organise { fill: var(--wash-organise); } .seal-wash--simplify { fill: var(--wash-simplify); } .seal-wash--juggle { fill: var(--wash-juggle); }
.seal-wash--declutter { fill: var(--wash-declutter); } .seal-wash--stage { fill: var(--wash-stage); } .seal-wash--style { fill: var(--wash-style); }
.seal-wash--celebrate { fill: var(--wash-celebrate); } .seal-wash--design { fill: var(--wash-design); } .seal-wash--share { fill: var(--wash-share); }
.seal-wash--apps { fill: var(--paper-tint); }
.seal-paper { fill: var(--seal-paper, var(--paper-raised)); }
.seal-line { fill: none; stroke: var(--seal-line, var(--boundary-family)); stroke-width: 1.4; }
.seal-centre { fill: var(--seal-centre, var(--paper-raised)); }
.seal-mono { color: var(--ink-family); }
/* <svg class="seal-icon" aria-hidden="true"><use href="#seal-organise"/></svg>; #seal-here is this site's own */
.seal-icon { display: block; width: var(--seal-size, 40px); height: var(--seal-size, 40px); flex: none; overflow: visible; }
.seal-icon--s { --seal-size: 24px; }
.seal-icon--m { --seal-size: 56px; }
.seal-icon--l { --seal-size: 96px; }

/* The pattern woven into a page (9.2): <svg class="weave" aria-hidden="true"><rect width="100%" height="100%"/></svg> */
.weave { display: block; width: 100%; height: 8px; overflow: hidden; }
.weave rect { fill: var(--area-pat); opacity: var(--weave-mark); }
.weave--ground rect { opacity: var(--weave-ground); }
.divider { width: 64px; height: 8px; margin-block: var(--s-6); }
.divider rect { opacity: 1; }

/* ===================== the call and buttons ===================== */
.call {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: var(--target); padding: 0.7rem 1.35rem;
  border: 0; border-radius: var(--radius-pill);
  background: var(--call); color: var(--call-ink);
  font-family: var(--face-text); font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none;
  transition: background-color var(--t-swap) ease-out, transform var(--t-press) var(--ease-out);
}
.call svg { width: 1.1em; height: 1.1em; flex: none; transition: transform var(--t-swap) var(--ease-out); }
.call:hover { background: var(--call-deep); }
.call:hover svg { transform: translateX(3px); }
.call:active { transform: scale(.97); }
.call:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.call-note { margin-top: var(--s-2); font-size: var(--step-small); color: var(--ink-2); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: var(--target); padding: 0.6rem 1.15rem;
  border: 1px solid var(--boundary); border-radius: var(--radius-pill);
  background: transparent; color: var(--ink);
  font-weight: 600; font-size: 0.975rem; line-height: 1.2; text-decoration: none;
  transition: background-color var(--t-swap) ease-out, border-color var(--t-swap) ease-out, transform var(--t-press) var(--ease-out);
}
.btn:hover { background: var(--raised); border-color: var(--ink); }
.btn:active { transform: scale(.97); }
.btn svg { width: 1.05em; height: 1.05em; }
.link-on { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.routes { color: var(--ink-2); font-size: var(--step-small); }
.routes a { color: var(--ink); }

/* ===================== the main navbar (7.1) ===================== */
.site-header {
  position: relative; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: var(--header-h);
  padding: max(0.5rem, env(safe-area-inset-top)) var(--gutter) 0.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; min-height: var(--target); color: var(--ink); text-decoration: none; border-radius: var(--radius-pill); }
.brand-mark { display: block; width: 40px; flex: none; perspective: 900px; }
.brand-name { font-family: var(--face-caps); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: clamp(0.25rem, 1vw, 1.1rem); }
.nav-link {
  display: inline-flex; align-items: center; min-height: var(--target); padding: 0 0.35rem;
  font-weight: 560; font-size: 0.975rem; color: var(--ink); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0.35rem calc(100% - 9px) / 0 1px;
  transition: background-size var(--t-slide) var(--ease-out);
}
.nav-link:hover, .nav-link[aria-current] { background-size: calc(100% - 0.7rem) 1px; }
.nav-sites {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: var(--target); min-width: var(--target);
  padding: 0 0.85rem 0 0.4rem; border: 1px solid var(--boundary); border-radius: var(--radius-pill);
  background: transparent; color: var(--ink); font-weight: 600; font-size: 0.95rem;
  transition: border-color var(--t-swap) ease-out, background-color var(--t-swap) ease-out;
}
.nav-sites .seal-icon { --seal-size: 28px; transition: transform var(--t-turn) var(--ease-out); }
.nav-sites:hover { border-color: var(--ink); background: var(--raised); }
.nav-sites:hover .seal-icon { transform: rotate(40deg); }
.theme-toggle {
  display: inline-grid; place-items: center; width: var(--target); height: var(--target);
  border: 0; border-radius: 50%; background: transparent; color: var(--ink);
}
.theme-toggle svg { width: 22px; height: 22px; grid-area: 1 / 1; transition: transform var(--t-slide) var(--ease-out), opacity var(--t-swap) ease-out; }
.theme-toggle .moon { opacity: 0; transform: rotate(-90deg); }
.theme-toggle[aria-pressed="true"] .sun { opacity: 0; transform: rotate(90deg); }
.theme-toggle[aria-pressed="true"] .moon { opacity: 1; transform: none; }
.theme-toggle:hover { background: var(--raised); }
.call--nav { padding-inline: 1.1rem; font-size: 0.95rem; }
@media (max-width: 1023px) {
  .nav-link--wide, .call--nav { display: none; }
}
@media (max-width: 719px) {
  .nav-link { display: none; }
  .nav-sites { padding: 0; width: var(--target); justify-content: center; }
  .nav-sites-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .brand-name { font-size: 0.8rem; letter-spacing: 0.16em; }
}

/* ===================== sheets: All sites (popover) and Contents (dialog) ===================== */
.sheet {
  position: fixed; inset: auto var(--gutter) auto auto; top: calc(var(--header-h) + 0.25rem);
  width: min(34rem, calc(100vw - 2 * var(--gutter))); max-height: calc(100svh - var(--header-h) - 1.5rem);
  margin: 0; padding: var(--s-5); overflow: auto; overscroll-behavior: contain;
  border: 1px solid var(--boundary); border-radius: calc(var(--radius) + 6px);
  background: var(--raised); color: var(--ink);
  box-shadow: 0 24px 60px -24px rgb(31 27 22 / .35);
}
.sheet::backdrop { background: rgb(31 27 22 / .28); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-4); }
.sheet-title { font-family: var(--face-head); font-weight: 600; font-size: 1.5rem; line-height: 1.1; }
.sheet-close { display: inline-grid; place-items: center; width: var(--target); height: var(--target); flex: none; border: 1px solid var(--boundary); border-radius: 50%; background: transparent; color: var(--ink); }
.sheet-close svg { width: 18px; height: 18px; }
.sheet-close:hover { background: var(--tint); }
.sheet .caps { margin: var(--s-5) 0 var(--s-2); }
@media (prefers-reduced-motion: no-preference) {
  .sheet[popover]:popover-open, .sheet[open] { animation: sheet-in var(--t-sheet) var(--ease-out) both; }
  .sheet:popover-open .site-door, .sheet:popover-open .sites-hub { animation: sheet-door var(--t-sheet) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 30ms); }
}
@media (prefers-reduced-motion: reduce) {
  .sheet[popover]:popover-open, .sheet[open] { animation: sheet-fade 150ms ease-out both; }
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes sheet-door { from { opacity: 0; transform: translateY(6px); } }
@keyframes sheet-fade { from { opacity: 0; } }
@media (max-width: 719px) {
  .sheet { inset: auto 0 0 0; top: auto; width: 100%; max-height: 88svh; border-radius: 22px 22px 0 0; border-width: 1px 0 0; padding-bottom: calc(var(--s-5) + env(safe-area-inset-bottom)); }
}
.sites-hub, .site-door {
  display: grid; grid-template-columns: auto 1fr; column-gap: var(--s-3); align-items: center;
  min-height: 56px; padding: var(--s-2) var(--s-2); border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
}
.sites-hub { padding: var(--s-3); background: var(--tint); }
.sites-hub b, .site-door-name { font-family: var(--face-caps); font-weight: 650; font-size: 1.02rem; letter-spacing: 0.01em; }
.sites-hub span, .site-door-line { display: block; font-size: var(--step-quiet); color: var(--ink-2); line-height: 1.35; }
.site-door .seal-icon, .sites-hub .seal-icon { --seal-size: 40px; grid-row: span 2; transition: transform var(--t-swap) var(--ease-out); }
.site-door:hover, .sites-hub:hover { background: var(--tint); }
.site-door:hover .seal-icon { transform: rotate(30deg); }
.sites-groups { display: grid; grid-template-columns: 1fr; gap: 0 var(--s-5); }
@media (min-width: 560px) { .sites-groups { grid-template-columns: 1fr 1fr; } }
.sites-groups ul { display: grid; gap: 2px; }
.here { display: none; font-size: var(--step-quiet); font-weight: 650; color: var(--accent); }
[aria-current] > .here, [aria-current] .here { display: block; }
.sites-foot { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--hair); }
.sites-foot a { display: inline-flex; align-items: center; min-height: var(--target); font-weight: 560; }

/* Contents sheet: a dialog anchored above the bar on desktop, a bottom sheet on a phone. */
.contents { top: auto; bottom: calc(var(--bar-h) + 1.75rem + env(safe-area-inset-bottom)); left: 50%; right: auto; transform: translateX(-50%); width: min(30rem, calc(100vw - 2 * var(--gutter))); max-height: min(70svh, 40rem); }
@media (prefers-reduced-motion: no-preference) {
  .contents[open] { animation: contents-in var(--t-sheet) var(--ease-out) both; }
}
@keyframes contents-in { from { opacity: 0; transform: translate(-50%, 12px); } to { transform: translateX(-50%); } }
@media (max-width: 719px) {
  .contents { left: 0; right: 0; bottom: 0; transform: none; width: 100%; }
  @keyframes contents-in { from { opacity: 0; transform: translateY(16px); } to { transform: none; } }
}
.contents ol, .contents ul { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; }
.contents a { display: flex; align-items: center; gap: var(--s-3); min-height: var(--target); padding: 0 var(--s-3); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; }
.contents a:hover { background: var(--tint); }
.contents a[aria-current]::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--area-ink); }
.contents .contents-sites { margin-top: var(--s-4); }

/* ===================== the area's second navbar (7.2) ===================== */
.area-nav { position: relative; z-index: 15; }
.area-nav-inner { display: flex; align-items: center; gap: var(--s-5); padding: 0.25rem var(--gutter) 0.6rem; overflow-x: auto; scrollbar-width: none; }
.area-nav-home { display: inline-flex; align-items: center; gap: 0.6rem; min-height: var(--target); flex: none; color: var(--ink); text-decoration: none; }
.area-nav-home .seal-icon { --seal-size: 34px; }
.area-nav-name { font-family: var(--face-display); font-weight: var(--display-weight); font-synthesis: style small-caps; font-size: 1.2rem; line-height: 1; white-space: nowrap; }
.area-nav-list { display: flex; align-items: center; gap: var(--s-1) var(--s-3); margin: 0; padding: 0; list-style: none; }
.area-nav-list a {
  position: relative; display: inline-flex; align-items: center; min-height: var(--target); padding: 0 0.3rem;
  white-space: nowrap; font-size: 0.95rem; font-weight: 540; color: var(--ink-2); text-decoration: none;
}
.area-nav-list a:hover { color: var(--ink); }
.area-nav-list a[aria-current] { color: var(--ink); }
.area-nav-list a[aria-current]::after { content: ""; position: absolute; left: 0.3rem; right: 0.3rem; bottom: 6px; height: 2px; border-radius: 2px; background: var(--accent); view-transition-name: area-nav-current; }
.area-nav-rule { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; }
@media (max-width: 719px) {
  .area-nav-list { display: none; }
}

/* ===================== the bottom bar (7.3) ===================== */
.bar-sentinel { position: absolute; left: 0; top: 0; width: 1px; height: 100svh; pointer-events: none; visibility: hidden; }
.bar {
  position: fixed; z-index: 30; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: var(--s-2);
  padding: 6px; border: 1px solid var(--boundary); border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--raised) 94%, transparent);
  box-shadow: 0 14px 34px -16px rgb(31 27 22 / .45);
  transform: translate(-50%, calc(100% + 2rem)); visibility: hidden;
  transition: transform 280ms var(--ease-out), visibility 0s 280ms;
}
html.bar-on .bar { transform: translate(-50%, 0); visibility: visible; transition: transform 280ms var(--ease-out), visibility 0s; }
html.bar-on.process-on .bar { transform: translate(-50%, calc(100% + 2rem)); visibility: hidden; transition: transform 280ms var(--ease-out), visibility 0s 280ms; }
.bar-seal { display: block; width: 36px; height: 36px; margin-left: 2px; }
.bar-seal .seal-icon { --seal-size: 36px; }
.bar-contents {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: var(--target); padding: 0 1rem 0 0.8rem;
  border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink); font-weight: 600;
}
.bar-contents svg { width: 18px; height: 18px; }
.bar-contents:hover { background: var(--tint); }
.bar .call { min-height: var(--target); padding: 0.6rem 1.1rem; font-size: 0.95rem; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .bar, html.bar-on .bar { transition: none; }
}

/* ===================== the footer, "Laura's other sites" (7.4) ===================== */
.site-footer { margin-top: var(--s-9); padding: var(--s-8) var(--gutter) var(--s-6); border-top: 1px solid var(--hair); background: var(--tint); }
.footer-inner { width: min(100%, var(--page-max)); margin-inline: auto; }
.footer-title { font-family: var(--face-head); font-weight: 600; font-size: var(--step-1); }
.footer-line { margin-top: var(--s-2); color: var(--ink-2); font-family: var(--face-note); font-weight: 600; font-size: 1.1rem; }
.footer-seals { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: var(--s-4) var(--s-3); margin: var(--s-6) 0 0; padding: 0; list-style: none; }
.footer-door { display: grid; justify-items: center; gap: 0.35rem; min-height: var(--target); padding: var(--s-2); border-radius: var(--radius); color: var(--ink); text-align: center; text-decoration: none; }
.footer-door .seal-icon { --seal-size: 64px; transition: transform var(--t-swap) var(--ease-out); }
.footer-door-name { font-family: var(--face-caps); font-weight: 650; font-size: 0.95rem; }
.footer-door-line { font-size: var(--step-quiet); color: var(--ink-2); line-height: 1.3; }
.footer-door:hover .seal-icon, .footer-door:focus-visible .seal-icon { transform: translateY(-2px) rotate(30deg); }
.footer-door[aria-current] { background: var(--raised); }
@media (prefers-reduced-motion: reduce) {
  .footer-door:hover .seal-icon, .footer-door:focus-visible .seal-icon { transform: none; }
  .footer-door:hover .footer-door-name { text-decoration: underline; }
}
.footer-apps { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--hair); }
.footer-apps a { display: inline-flex; align-items: center; gap: 0.6rem; min-height: var(--target); font-weight: 600; color: var(--ink); }
.footer-apps .seal-icon { --seal-size: 36px; }
.footer-who { margin-top: var(--s-6); color: var(--ink-2); font-size: var(--step-small); }
.footer-who .tagline { color: var(--ink); }
.footer-small { display: flex; flex-wrap: wrap; gap: 0 var(--s-4); margin: var(--s-3) 0 0; padding: 0; list-style: none; }
.footer-small a, .footer-small button { display: inline-flex; align-items: center; min-height: var(--target); padding: 0; border: 0; background: none; color: var(--ink); font-size: var(--step-small); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }

/* ===================== prices, labels and captions ===================== */
.price { display: grid; gap: 2px; }
.price-item { font-weight: 650; font-variant-numeric: tabular-nums lining-nums; color: var(--ink); }
.price-what { color: var(--ink-2); font-size: var(--step-small); }
.legal-line { font-size: var(--step-quiet); line-height: 1.45; color: var(--ink-2); }
.legal-line a { color: var(--ink); }
/* its own width wherever it sits, a grid or a flex column included */
.example-label { display: inline-flex; width: fit-content; max-width: 100%; align-items: center; gap: 0.4em; padding: 0.15rem 0.6rem; border: 1px solid var(--boundary); border-radius: var(--radius-pill); font-size: var(--step-quiet); font-weight: 600; color: var(--ink-2); background: var(--raised); }
.caption { margin-top: var(--s-2); font-size: var(--step-quiet); color: var(--ink-2); }
.card { padding: var(--s-5); border: 1px solid var(--hair); border-radius: calc(var(--radius) + 4px); background: var(--raised); }

/* ===================== the disclosure (9.6): line, ball, arrow and spring ===================== */
/* <details class="disclosure" name="questions"><summary><span>Question</span><!-- @include system-disclosure-icon.html --></summary><div class="disclosure-body">...</div></details>
 * The icon moves the same way inside a button disclosure: <button type="button" aria-expanded="false" aria-controls="..."><span>...</span><!-- @include system-disclosure-icon.html --></button>
 * (the page's own script flips aria-expanded and shows the panel). */
.disclosure { border-top: 1px solid var(--hair); }
.disclosure:last-of-type { border-bottom: 1px solid var(--hair); }
.disclosure > summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 56px; padding: var(--s-3) var(--s-1); cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.05rem; line-height: 1.35;
}
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary::marker { content: ""; }
.disclosure-body { padding: 0 var(--s-1) var(--s-5); color: var(--ink); max-width: var(--measure); }
.disclosure-body > * + * { margin-top: var(--s-3); }
.disc-icon { width: 24px; height: 24px; flex: none; overflow: visible; }
.disc-arm { fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; transform-box: view-box; transform-origin: 12px 12px; transition: transform 480ms var(--spring); }
.disc-ball { fill: var(--disc-ball, var(--accent)); transform-box: view-box; transition: transform 220ms var(--ease-out); }
:is(.disclosure > summary, [aria-expanded]):is(:hover, :focus-visible) .disc-ball { transform: translateX(8px); }
:is(.disclosure[open] > summary, [aria-expanded="true"]) .disc-arm--l { transform: translateY(4px) rotate(40deg); }
:is(.disclosure[open] > summary, [aria-expanded="true"]) .disc-arm--r { transform: translateY(4px) rotate(-40deg); }
:is(.disclosure[open] > summary, [aria-expanded="true"]) .disc-ball { transform: translate(8px, 4px); transition: transform 480ms var(--spring); }
.disclosure::details-content { block-size: 0; overflow: clip; transition: block-size 280ms var(--ease-out), content-visibility 280ms allow-discrete; }
.disclosure[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) {
  .disc-arm, .disc-ball, :is(.disclosure[open] > summary, [aria-expanded="true"]) .disc-ball { transition: transform 120ms linear; }
  :is(.disclosure > summary, [aria-expanded]):is(:hover, :focus-visible) .disc-ball { transform: none; }
  :is(.disclosure[open] > summary, [aria-expanded="true"]):is(:hover, :focus-visible) .disc-ball { transform: translate(8px, 4px); }
  .disclosure::details-content { transition: none; }
}

/* ===================== the crossed-off list (9.5) ===================== */
/* <div class="crossed" data-crossed>...<ol class="crossed-list"><li class="crossed-item" data-area="juggle"><span class="crossed-job">...</span><span class="crossed-area">Juggle</span></li>... */
.crossed { position: relative; padding: var(--s-6); border: 1px solid var(--hair); border-radius: calc(var(--radius) + 6px); background: var(--raised); }
.crossed-list { display: grid; gap: var(--s-2); margin: var(--s-4) 0 0; padding: 0; list-style: none; }
.crossed-item { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); padding: var(--s-2) 0; border-bottom: 1px dashed var(--hair); }
.crossed-job { position: relative; font-family: var(--face-note); font-weight: 600; font-size: 1.2rem; line-height: 1.35; transition: color 200ms ease-out; }
.crossed-job::after {
  content: ""; position: absolute; left: -0.15em; right: -0.15em; top: 52%; height: 3px; border-radius: 3px;
  background: var(--strike, var(--ink)); transform: scaleX(0) rotate(-1.2deg); transform-origin: left center;
}
.crossed-area { font-family: var(--face-caps); font-size: var(--step-quiet); font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); transition: color 200ms ease-out; white-space: nowrap; }
.crossed-item[data-area="organise"] { --strike: var(--say-organise); } .crossed-item[data-area="simplify"] { --strike: var(--say-simplify); }
.crossed-item[data-area="juggle"] { --strike: var(--say-juggle); } .crossed-item[data-area="declutter"] { --strike: var(--say-declutter); }
.crossed-item[data-area="stage"] { --strike: var(--say-stage); } .crossed-item[data-area="style"] { --strike: var(--say-style); }
.crossed-item[data-area="celebrate"] { --strike: var(--say-celebrate); } .crossed-item[data-area="design"] { --strike: var(--say-design); }
.crossed-item[data-area="share"] { --strike: var(--say-share); }
.crossed-item.is-done .crossed-job { color: var(--ink-2); }
.crossed-item.is-done .crossed-job::after { transform: scaleX(1) rotate(-1.2deg); }
.crossed-item.is-done .crossed-area { color: var(--strike); }
.crossed-item.is-striking .crossed-job::after { transition: transform 700ms var(--ease-turn); transform: scaleX(1) rotate(-1.2deg); }
.crossed-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-5); }
.crossed-done { font-family: var(--face-note); font-weight: 600; font-size: 1.1rem; opacity: 0; transition: opacity 300ms ease-out; }
.crossed.is-finished .crossed-done { opacity: 1; }
.crossed.is-snap * { transition-duration: 200ms !important; }
/* With JavaScript off, or under reduced motion, every line is shown already crossed. */
html:not(.lt-js) .crossed-item .crossed-job::after { transform: scaleX(1) rotate(-1.2deg); }
html:not(.lt-js) .crossed-done { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .crossed-item .crossed-job { color: var(--ink-2); }
  .crossed-item .crossed-job::after { transform: scaleX(1) rotate(-1.2deg); }
  .crossed-item .crossed-area { color: var(--strike); }
  .crossed-done { opacity: 1; }
}

/* ===================== the small stamp press (1, 11.2) ===================== */
/* <span class="press" data-press aria-hidden="true"><svg class="seal-icon"><use href="#seal-family"/></svg></span> */
.press { display: inline-block; --seal-size: 44px; opacity: 0; transform: scale(1.2); }
.press.is-pressed { opacity: 1; transform: none; transition: transform var(--t-stamp) var(--ease-out), opacity var(--t-stamp) ease-out; }
.press.is-pressed .seal-icon { filter: none; }
html:not(.lt-js) .press { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .press.is-pressed { transition: none; }
}

/* ===================== the scroll process (9.3) ===================== */
/*
 * <section class="process" data-process aria-label="..." data-frame="frame--circle">
 *   <ol class="process-steps">
 *     <li class="process-step" id="..."><figure class="process-figure">...picture...<figcaption class="caption">...</figcaption></figure>
 *       <span class="process-mark"><svg class="weave"><rect width="100%" height="100%"/></svg></span><h3>...</h3><p>...</p></li>
 *   </ol>
 *   <p class="visually-hidden" aria-live="polite" data-process-live></p>
 * </section>
 * Without JavaScript or IntersectionObserver each step shows its own figure inline.
 * Staged, process.js builds .process-stage (first in the section): one frame per step and, under it, the
 * current step's caption; each step keeps its own figure, out of sight, so its alt text and caption are
 * read in place. data-frame shapes the stage (frame--card by default; frame--circle stays a circle).
 */
.process { --process-top: calc(1rem); position: relative; }
.process-steps { display: grid; gap: var(--s-7); margin: 0; padding: 0; list-style: none; }
.process-step { position: relative; }
.process-step h3 { margin-top: var(--s-3); }
.process-step p { margin-top: var(--s-2); color: var(--ink); max-width: 44ch; }
.process-figure { position: relative; margin: 0 0 var(--s-4); }
.process-figure picture, .process-figure img { border-radius: var(--radius); }
.process-mark { display: block; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; border: 1.5px solid var(--boundary); background: var(--raised); }
.process-mark .weave { height: 100%; }
.process-step.is-current .process-mark, .process-step.is-past .process-mark { border-color: var(--accent); }
.process-step.is-current .process-mark .weave rect, .process-step.is-past .process-mark .weave rect { opacity: 1; }
.process-stage { display: none; }
.process.is-staged .process-figure { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.process.is-staged .process-stage { display: flex; flex-direction: column; justify-content: center; gap: var(--s-2); }
/* Every frame is laid over the stage, so a short picture never leaves tint below it. */
.process-stage-inner { position: relative; overflow: hidden; border-radius: var(--radius); }
.process-stage-frame { position: absolute; inset: 0; opacity: 0; scale: 1.02; transition: opacity 420ms ease-out, scale 420ms var(--ease-out); }
.process-stage-frame.is-shown { opacity: 1; scale: none; }
.process-stage-frame picture, .process-stage-frame img { width: 100%; height: 100%; object-fit: cover; }
.process-figure [data-note], .process-stage-frame [data-note] { position: absolute; }
/* Notes slide in by translate, so a page may still place one with transform. */
.process-stage-frame [data-note] { opacity: 0; translate: 0 10px; transition: opacity 320ms ease-out, translate 320ms var(--ease-out); transition-delay: calc(var(--k, 0) * 80ms); }
.process-stage-frame [data-note].is-in { opacity: 1; translate: none; }
/* The current step's caption, under the picture: every caption in one cell, so the stage never jumps. */
.process-stage-caption { display: grid; }
.process-stage-caption > * { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity var(--t-swap) ease-out, visibility 0s var(--t-swap); }
.process-stage-caption > .is-shown { opacity: 1; visibility: visible; transition: opacity var(--t-swap) ease-out; }
.process-stage-caption:not(:has(> :not(:empty))) { display: none; }
.process-stage .press { position: absolute; right: 6%; bottom: 8%; --seal-size: 72px; }
@media (min-width: 1024px) {
  .process.is-staged { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  .process.is-staged.process--image-right .process-stage { order: 2; }
  .process.is-staged .process-stage { position: sticky; top: calc(var(--process-top) + 1rem); height: 70svh; }
  .process.is-staged .process-stage-inner { flex: 1 1 auto; min-height: 0; }
  .process.is-staged .process-stage-inner.frame--circle { flex: none; width: min(100%, 70svh - 3.5rem); aspect-ratio: 1; align-self: center; }
  .process.is-staged .process-step { min-height: 70svh; display: flex; flex-direction: column; justify-content: center; }
}
@media (max-width: 1023px) {
  .process.is-staged .process-stage { position: sticky; top: 0; z-index: 5; padding-top: var(--s-2); background: var(--ground); }
  .process.is-staged .process-stage-inner { width: 100%; aspect-ratio: 4 / 3; max-height: 42svh; }
  .process.is-staged .process-stage-inner.frame--circle { width: min(100%, 42svh); max-height: none; aspect-ratio: 1; align-self: center; }
  .process.is-staged .process-steps { gap: var(--s-5); padding-top: var(--s-5); }
  .process.is-staged .process-step { padding: var(--s-5); border: 1px solid var(--hair); border-radius: var(--radius); background: var(--raised); min-height: 46svh; }
}
@media (prefers-reduced-motion: reduce) {
  .process-stage-frame { transition: opacity 120ms linear; scale: none; }
  .process-stage-frame [data-note] { translate: none; transition: opacity 120ms linear; transition-delay: 0s; }
  .process-stage-caption > *, .process-stage-caption > .is-shown { transition: none; }
}

/* ===================== the round's forms (1, 10.3) ===================== */
/* The page's own round carries .is-round, so the same-host View Transition morphs it between pages. */
.is-round { view-transition-name: round; }
.frame { position: relative; overflow: hidden; background: var(--tint); }
.frame--circle { border-radius: 50%; aspect-ratio: 1; }
.frame--arch { border-radius: 999px 999px var(--radius) var(--radius); }
.frame--card { border-radius: var(--radius); }
.frame > picture, .frame > img, .frame picture img { width: 100%; height: 100%; object-fit: cover; }
/* the frame's edge: a band of the area's pattern inside the border (9.2) */
.frame--edged::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 6px solid color-mix(in srgb, var(--area-ink) 22%, transparent); pointer-events: none; }
.round-semi { display: block; width: min(16rem, 60%); height: auto; margin-top: var(--s-4); color: var(--boundary); }
.round-bezel { display: block; width: 72px; height: 72px; color: var(--boundary); }

/* ===================== photo slots (12) ===================== */
.photo-slot { margin: 0; }
.photo-slot-frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.photo-slot--portrait .photo-slot-frame { aspect-ratio: 4 / 5; }
.photo-slot--landscape .photo-slot-frame { aspect-ratio: 3 / 2; }
.photo-slot--square .photo-slot-frame { aspect-ratio: 1; }
.photo-slot-frame > picture, .photo-slot-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot-empty { position: absolute; inset: 0; display: grid; place-items: center; }
.photo-slot-empty .seal-icon { --seal-size: 38%; width: 38%; height: auto; aspect-ratio: 1; }

/* ===================== the 404: the stamp with one segment lifted ===================== */
.lost { display: grid; justify-items: center; gap: var(--s-5); padding: var(--s-8) var(--gutter); text-align: center; }
.lost-seal { width: min(16rem, 60vw); }
.lost-seal .seal-icon { width: 100%; height: auto; aspect-ratio: 1; }

/* ===================== the round as a thin bezel, and as a semi-circle under a heading ===================== */
.round-bezel .bezel-ring, .round-semi .semi-arc { fill: none; stroke: var(--boundary); stroke-width: 1; }
.round-bezel .bezel-ticks { fill: none; stroke: var(--boundary); stroke-width: .8; }
.round-bezel .bezel-mono { color: var(--ink); }
.round-semi .semi-arc--inner { stroke-dasharray: 2 4; }
.bezel-dot--organise { fill: var(--ink-organise); } .bezel-dot--simplify { fill: var(--ink-simplify); } .bezel-dot--juggle { fill: var(--ink-juggle); }
.bezel-dot--declutter { fill: var(--ink-declutter); } .bezel-dot--stage { fill: var(--ink-stage); } .bezel-dot--style { fill: var(--ink-style); }
.bezel-dot--celebrate { fill: var(--ink-celebrate); } .bezel-dot--design { fill: var(--ink-design); } .bezel-dot--share { fill: var(--ink-share); }

/* ===================== small print: one readable column, the round in the margin ===================== */
.smallprint { display: grid; gap: var(--s-6); width: min(100% - 2 * var(--gutter), 60rem); margin: var(--s-6) auto 0; }
.smallprint-margin { display: flex; align-items: center; gap: var(--s-3); }
.smallprint-body { max-width: var(--measure); }
.smallprint-body > * + * { margin-top: var(--s-4); }
.smallprint-body h2 { margin-top: var(--s-7); font-size: var(--step-2); }
.smallprint-body ul { padding-left: 1.2rem; }
.smallprint-body li + li { margin-top: var(--s-2); }
.smallprint-toc { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; font-size: var(--step-small); }
.smallprint-toc a { display: inline-flex; align-items: center; min-height: var(--target); color: var(--ink); }
@media (min-width: 900px) {
  .smallprint { grid-template-columns: 12rem minmax(0, 1fr); gap: var(--s-8); }
  .smallprint-margin { position: sticky; top: var(--s-6); align-self: start; flex-direction: column; align-items: flex-start; }
  .smallprint-margin .round-bezel { width: 96px; height: 96px; }
}
