/* Shared by the Help and Contact prototypes: the Marketing Page's materials (loose-leaf, chalkboard, torn notes, tape, highlighter,
   marker button, framed slabs, footer) drawn from the picked homepage, laid out as a real responsive page: a phone layout (under
   900 px, drawn at 402) and a desktop layout (900 px and up, drawn at 1280 to 1512). Light is loose-leaf and dark is the
   chalkboard; the two change roles only and never move a box. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body { color: var(--ink); font-family: var(--hand); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
p { text-wrap: pretty; margin: 0; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 4px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 0.9em; letter-spacing: -0.01em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- the ground: one loose-leaf sheet the page long (light), the chalkboard fixed behind the page (dark) ---------- */
body { background-color: var(--paper); background-image: url("assets/art/paper-wide-cap.webp"), url("assets/art/paper-wide-tile.webp"); background-size: var(--plate-w, 100%) auto, var(--plate-w, 100%) auto; background-repeat: no-repeat, repeat-y; background-position: 0 0, 0 var(--tile-y, 172px); }
.ground { position: fixed; inset: 0; z-index: -1; display: none; background: var(--paper) url("assets/art/chalk-wide.webp") left top / cover no-repeat; }
:root[data-theme="dark"] body { background-image: none; }
:root[data-theme="dark"] .ground { display: block; }
@media (max-width: 899px) {
  body { background-image: url("assets/art/paper-real-cap.webp"), url("assets/art/paper-real-tile.webp"); }
  .ground { background-image: url("assets/art/chalk-real.webp"); }
}

:root { --gut: 22px; --max: 1240px; --tab-1: #F4E27E; --tab-2: #B9E5C5; --tab-3: #F5B5C2; --tab-4: #B4D6F1; --tab-5: #D3C4F0; }
@media (min-width: 900px) { :root { --gut: clamp(76px, 6vw, 110px); } }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.page { overflow-x: clip; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 20; padding: 12px 18px; background: var(--slab) url("assets/art/card-stock-light.webp") center / cover; color: var(--on-slab); font-family: var(--press); font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- top: the switches at the left; Feedback & ideas and Log in at the right ---------- */
.top { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; row-gap: 10px; min-height: 76px; padding-top: 14px; }
.toggles { display: flex; gap: 22px; }
.toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--press); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pencil); white-space: nowrap; }
.toggle:first-child { gap: 22px; }
.toggle__box { width: 40px; height: 22px; overflow: visible; }
.toggle__frame { fill: none; stroke: var(--pencil); stroke-width: 1.6; stroke-linecap: round; }
.toggle__dot { fill: var(--pencil); transition: transform 0.2s ease; }
.toggle[aria-checked="true"] .toggle__frame { stroke: var(--ink); }
.toggle[aria-checked="true"] .toggle__dot { fill: var(--ink); transform: translateX(18px); }
.toggle[aria-checked="true"] .toggle__word { color: var(--ink); }
.toggle__word > span { display: inline-block; min-width: 3.2ch; }
.ink-path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.slab { position: relative; display: inline-flex; align-items: center; min-height: 50px; background: var(--slab) url("assets/art/card-stock-light.webp") center / cover; color: var(--on-slab); text-decoration: none; }
:root[data-theme="dark"] .slab { background-image: url("assets/art/card-stock-dark.webp"); }
.slab-frame { position: absolute; left: 3px; top: 3px; width: calc(100% - 6px); height: calc(100% - 6px); pointer-events: none; color: var(--on-slab); opacity: 0.8; }
.slab-frame .ink-path { stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.top__right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.feedback { min-height: 48px; padding: 0 20px; transform: rotate(-1deg); box-shadow: var(--sh-card); }
.feedback > span, .login .marker__label { position: relative; font-family: var(--press); font-weight: 800; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.feedback[aria-current] > span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.login { padding: 0 24px; min-height: 50px; }
.login .marker__label { font-size: 15px; letter-spacing: 0.1em; white-space: nowrap; }
.store-free { display: none; }
@media (max-width: 899px) {
  .top { min-height: 60px; padding-top: 8px; column-gap: 8px; flex-wrap: nowrap; }
  .toggles { flex-direction: column; align-items: flex-start; gap: 0; }
  .toggle { font-size: 12px; gap: 7px; }
  .toggle:first-child { gap: 7px; }
  .toggle__box { width: 34px; height: 19px; }
  .toggle[aria-checked="true"] .toggle__dot { transform: translateX(15px); }
  .top__right { gap: 8px; flex: 0 1 auto; justify-content: flex-end; flex-wrap: nowrap; }
  .feedback { padding: 0 8px; min-height: 44px; flex: 0 1 auto; }
  .feedback > span { font-size: 11.5px; letter-spacing: 0; white-space: nowrap; }
  .login { padding: 0 12px; min-height: 44px; }
  .login .marker__label { font-size: 12.5px; letter-spacing: 0.04em; }
}
@media (max-width: 359px) {
  .top { flex-wrap: wrap; }
  .feedback > span { font-size: 11px; letter-spacing: 0; }
  .feedback { padding: 0 6px; }
  .login { padding: 0 8px; }
}

/* ---------- type ---------- */
.h1, .h2 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; text-wrap: balance; }
.h1 { font-size: 48px; }
.h2 { font-size: 40px; }
.h3 { margin: 0; font-family: var(--hand); font-weight: 700; font-size: 22px; line-height: 1.15; }
@media (min-width: 900px) { .h1 { font-size: clamp(72px, 7vw, 100px); } .h2 { font-size: 56px; } .h3 { font-size: 25px; } }
.swipe { background: url("assets/art/highlighter.webp") 0 31% / 100% 190% no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 6px; margin: 0 -6px; color: var(--on-card); }
.label { font-family: var(--press); font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.tape { position: absolute; top: 0; left: 40%; width: 96px; height: auto; aspect-ratio: 512 / 50; transform: translateY(-50%) rotate(-3deg); opacity: 0.92; pointer-events: none; z-index: 2; }

/* the mark, as the homepage draws it, small, linking home */
.sticker { position: relative; display: block; width: 200px; aspect-ratio: 1.568; margin: 0 0 6px -8px; transform: rotate(-3deg); }
.sticker img { position: absolute; width: 118.3%; max-width: none; left: -9.47%; top: -50.8%; filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(var(--sh-vinyl)); }
.sticker--foot { width: 150px; margin: 0; flex: none; }
@media (min-width: 900px) { .sticker { width: 250px; } }

/* ---------- paper things ---------- */
.note { position: relative; isolation: isolate; padding: 38px 26px 26px; color: var(--on-card); }
.note::before { content: ""; position: absolute; inset: 0; z-index: -1; border-style: solid; border-width: 34px 8px 6px 8px; border-image: url("assets/art/note-flat.webp") 90 20 12 20 fill / 34px 8px 6px 8px stretch round; filter: drop-shadow(0 1px 1px rgba(var(--sh-rgb), 0.34)) drop-shadow(0 10px 18px rgba(var(--sh-rgb), 0.3)); }
.card { position: relative; background: var(--card) url("assets/art/card-stock-light.webp") center / cover; color: var(--on-card); box-shadow: var(--sh-card); }

/* a cast member stands still on the paper, feet on a soft contact shadow; under the pointer it hops */
.stand { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; }
.stand img { height: var(--h, 330px); width: auto; max-width: none; transform-origin: 50% 100%; filter: drop-shadow(0 6px 5px rgba(var(--sh-rgb), 0.22)); pointer-events: auto; }
.stand__shadow { width: 70%; height: 14px; margin-top: -8px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--sh-rgb), 0.34), rgba(var(--sh-rgb), 0)); }
.stand img:hover { animation: hop 1.3s linear infinite; }

/* ---------- the marker button: the token orange cut to a real marker swath ---------- */
.marker { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; min-height: 64px; padding: 0 30px; transform-origin: 50% 100%; font-family: var(--press); font-weight: 900; font-size: 20px; line-height: 1.1; letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none; color: var(--on-marker); transform: rotate(-1deg); animation: hop 2.6s linear 1.2s infinite; cursor: pointer; }
.marker__ink { position: absolute; inset: 0 -4px 0 -3px; z-index: -1; background: var(--marker); -webkit-mask: url("assets/art/marker-mask.webp") center / 100% 100% no-repeat; mask: url("assets/art/marker-mask.webp") center / 100% 100% no-repeat; filter: drop-shadow(0 3px 0 color-mix(in srgb, var(--marker) 50%, #000)); }
.marker__label { position: relative; white-space: nowrap; }
.marker:active { transform: rotate(-1deg) scale(0.96); animation: none; }
.marker:hover, .marker:focus-visible { animation-duration: 1.1s; }
@keyframes hop {
  0%, 44%, 100% { transform: rotate(-1deg); animation-timing-function: ease-out; }
  50% { transform: rotate(1deg) scale(1.1, 0.84); animation-timing-function: cubic-bezier(0.2, 0.9, 0.4, 1); }
  58% { transform: translateY(-4px) rotate(-1deg) scale(0.94, 1.06); animation-timing-function: cubic-bezier(0.6, 0, 0.9, 0.5); }
  66% { transform: rotate(-3deg) scale(1.14, 0.82); animation-timing-function: ease-out; }
  72% { transform: translateY(-2px) rotate(-1deg) scale(0.97, 1.03); animation-timing-function: ease-in; }
  78% { transform: rotate(-1deg) scale(1.05, 0.95); }
  83% { transform: rotate(1.2deg); }
  88% { transform: rotate(-2deg); }
  93% { transform: rotate(-0.6deg); }
}

/* ---------- the composer's controls, shared by both pages ---------- */
.chips { margin: 0; padding: 0; border: 0; min-width: 0; }
.chips legend { padding: 0; margin: 0 0 8px; }
.chips__row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font-family: var(--hand); font-weight: 700; font-size: 16px; line-height: 1.1; background: var(--card) url("assets/art/card-stock-light.webp") center / cover; color: var(--on-card); box-shadow: var(--sh-card); outline: 1.8px solid color-mix(in srgb, var(--on-card) 30%, transparent); outline-offset: -4px; transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); }
.chip:nth-child(odd) span { transform: rotate(-0.8deg); }
.chip:nth-child(even) span { transform: rotate(0.7deg); }
.chip:hover span { transform: translateY(-3px) rotate(0); }
.chip input:checked + span { background-color: var(--highlighter); background-image: none; outline: 2.2px solid var(--on-card); outline-offset: -4px; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (max-width: 899px) { .chips__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .chip span { width: 100%; padding: 6px 10px; font-size: 14.5px; } }
.field { display: grid; gap: 6px; }
.field > label { font-family: var(--press); font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.input { width: 100%; min-height: 48px; padding: 8px 12px; font-family: var(--hand); font-size: 18px; font-weight: 600; background: color-mix(in srgb, var(--card) 70%, transparent); color: var(--on-card); border: 0; border-bottom: 2.2px solid var(--on-card); border-radius: 0; }
.input::placeholder { color: var(--on-card-dim); font-weight: 400; }
textarea.input { min-height: 190px; resize: vertical; line-height: 30px; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 29px, color-mix(in srgb, var(--on-card) 28%, transparent) 29px, color-mix(in srgb, var(--on-card) 28%, transparent) 30px); background-attachment: local; border: 2.2px solid color-mix(in srgb, var(--on-card) 55%, transparent); padding-top: 4px; }
.input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.meter { display: grid; gap: 6px; }
.meter__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--mono); font-size: 13px; color: var(--on-card); }
.meter__top .label { font-family: var(--press); }
.meter__bar { position: relative; height: 16px; border: 2px solid var(--on-card); background: color-mix(in srgb, var(--card) 80%, transparent); }
.meter__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--on-card); opacity: 0.8; }
.meter[data-state="near"] .meter__fill { background: repeating-linear-gradient(135deg, var(--on-card) 0 5px, transparent 5px 9px); }
.meter[data-state="over"] .meter__fill { background: repeating-linear-gradient(135deg, var(--str) 0 5px, var(--on-card) 5px 9px); opacity: 1; }
.meter__ticks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--on-card-dim); }
.draft-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.draft-actions .marker { min-width: 240px; }
.quiet { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font-family: var(--press); font-weight: 800; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-card); background: color-mix(in srgb, var(--card) 70%, transparent); outline: 1.8px solid color-mix(in srgb, var(--on-card) 55%, transparent); outline-offset: -3px; }
.quiet:hover { background: var(--highlighter); }
.warn { padding: 12px 14px; font-family: var(--hand); font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--on-card); background: color-mix(in srgb, var(--card) 70%, transparent); border-left: 6px solid var(--str); }
.warn a { font-weight: 700; }
.fine { font-family: var(--hand); font-size: 15px; line-height: 1.45; color: var(--on-card-dim); }
.state { font-family: var(--hand); font-weight: 700; font-size: 16px; line-height: 1.4; color: var(--on-card); padding: 12px 14px; border: 2px dashed var(--on-card); }
[hidden] { display: none !important; }

/* ---------- the footer: the live site's four groups and its site-language row ---------- */
.foot { position: relative; isolation: isolate; margin-top: 24px; padding: 96px 0 40px; }
.foot::before { content: ""; position: absolute; z-index: -1; inset: 0; border-image: url("assets/art/foot-sheet.webp") 110 0 0 0 fill / 70px 0 0 0 stretch; filter: drop-shadow(0 -1px 3px rgba(var(--sh-rgb), 0.16)); }
:root[data-theme="dark"] .foot::before { display: none; }
.foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
.foot__col--social { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 2fr); gap: 34px 30px; } .foot__col--social { grid-column: auto; } }
.foot__h { margin: 0 0 14px; font-family: var(--press); font-weight: 800; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot__col--social ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-family: var(--hand); font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--ink); text-decoration: none; transition: transform 0.18s ease; }
.foot a:hover, .foot a:focus-visible { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; transform: translateX(3px); }
.foot__langs, .foot__end { position: relative; margin-top: 38px; padding-top: 30px; }
.foot__langs::before, .foot__end::before { content: ""; position: absolute; left: 0; right: 0; top: -4px; height: 10px; background: color-mix(in srgb, var(--ink) 34%, transparent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 10' preserveAspectRatio='none'%3E%3Cpath d='M2 5.6C90 3 190 8.2 330 4.4S560 2.4 700 6.6S900 3.2 998 5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 10' preserveAspectRatio='none'%3E%3Cpath d='M2 5.6C90 3 190 8.2 330 4.4S560 2.4 700 6.6S900 3.2 998 5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.foot__lang-row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 14px; }
.foot__lang-row li { font-family: var(--hand); font-weight: 700; font-size: 16px; color: var(--ink); }
.foot__lang-row li[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.foot__end { display: flex; align-items: center; gap: 26px; }
.foot__line { margin: 0; font-family: var(--hand); font-weight: 700; font-size: 14px; color: var(--ink); }

/* ---------- pop-ins: squash, overshoot, settle as things scroll in ---------- */
.js .pop { opacity: 0; translate: 0 18px; scale: 0.86; }
.js .pop.in { animation: pop-in 0.62s cubic-bezier(0.3, 1.5, 0.5, 1) var(--d, 0s) both; }
@keyframes pop-in {
  0% { opacity: 0; translate: 0 18px; scale: 0.86 0.8; }
  55% { opacity: 1; translate: 0 -6px; scale: 1.05 0.95; }
  78% { translate: 0 1px; scale: 0.98 1.02; }
  100% { opacity: 1; translate: 0 0; scale: 1; }
}
.slab, .note, .card { transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease; }
.slab:hover, .slab:focus-visible { transform: translateY(-4px) rotate(-0.6deg); box-shadow: 0 10px 14px rgba(var(--sh-rgb), 0.22); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .pop { opacity: 1; translate: none; scale: none; }
}

/* inline links keep their text size and take a 44 px tall hit area without moving a word */
.q__body a, .sticky a, .write__lead a, .warn a, .state a, .chero__lead a, .fine a { position: relative; }
.q__body a::after, .sticky a::after, .write__lead a::after, .warn a::after, .state a::after, .chero__lead a::after, .fine a::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }

.hhero, .write, .desk, .sides, .sides__notes { grid-template-columns: minmax(0, 1fr); }
.hhero__words, .chero, .finder, .write__words, .post, .letter, .slip { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 359px) { .h1 { font-size: 40px; } .finder__l { font-size: 19px; } .finder__in { font-size: 18px; } .tab__in { font-size: 16px; padding: 0 12px; } }

/* ================= Contact us: the letter and its envelope ================= */

.chero { display: grid; gap: 14px; padding-top: 8px; align-content: start; }
.chero .sticker { width: 220px; margin-bottom: 14px; }
.chero__lead { max-width: 36ch; font-size: 19px; line-height: 1.45; }
.chero__lead .swipe { padding: 0 8px; }
.desk { display: grid; gap: 26px; padding-top: 8px; align-items: start; }
@media (min-width: 900px) {
  .desk { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 56px; row-gap: 40px; padding-top: 16px; }
  .chero { grid-column: 1; grid-row: 1; }
  .letter { grid-column: 1; grid-row: 2; }
  .post { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 20px; align-self: start; padding-top: 70px; }
  .chero .sticker { width: 270px; }
  .chero__lead { font-size: 22px; max-width: 46ch; }
}

/* ---------- the letter: loose-leaf stock, the composer written on it ---------- */
.letter { position: relative; padding: 40px 22px 26px; display: grid; gap: 22px; border: 11px solid transparent; border-image: url("assets/art/frame-postcard.webp") 80 80 92 80 / 11px 11px 13px 11px stretch; background-clip: padding-box; transform: rotate(-0.3deg); }
.letter:hover { transform: rotate(-0.3deg); box-shadow: var(--sh-card); }
.letter .tape { left: 62%; }
.letter__to { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-family: var(--hand); font-weight: 700; font-size: 20px; }
.letter__to a { text-underline-offset: 4px; }
.letter__to .label { color: var(--on-card-dim); }
@media (min-width: 900px) { .letter { padding: 52px 48px 36px; gap: 26px; } .letter__to { font-size: 24px; } }

/* ---------- the envelope: the draft as it will leave your mail app ---------- */
.post { display: grid; gap: 14px; }
.env { position: relative; width: 100%; max-width: 520px; margin: 0 auto; aspect-ratio: 520 / 490; filter: drop-shadow(0 10px 14px rgba(var(--sh-rgb), 0.28)); }
.env > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.env__body { fill: var(--card); stroke: var(--on-card); stroke-width: 2.4; stroke-linejoin: round; }
.env__seam { fill: none; stroke: var(--on-card); stroke-width: 1.8; opacity: 0.55; stroke-linecap: round; }
.env__flap { fill: color-mix(in srgb, var(--card) 86%, #b69c6c); stroke: var(--on-card); stroke-width: 2.4; stroke-linejoin: round; transform-origin: 260px 10px; transform-box: view-box; transition: transform 0.5s cubic-bezier(0.3, 1.5, 0.5, 1); transform: scaleY(-1); }
.env[data-state="ready"] .env__flap, .env[data-state="handed"] .env__flap { transform: scaleY(1); }
.env__text { position: absolute; left: 12%; right: 12%; top: 67%; display: grid; gap: 4px; color: var(--on-card); font-family: var(--hand); font-weight: 700; }
.env__line { font-size: clamp(16px, 4.4vw, 22px); line-height: 1.2; overflow-wrap: anywhere; }
.env__line--to { font-size: clamp(18px, 5vw, 26px); }
.env__line--re::before { content: "Re: "; }
.env__line--re { font-weight: 600; font-size: clamp(14px, 3.8vw, 18px); color: var(--on-card-dim); border-top: 2px solid color-mix(in srgb, var(--on-card) 35%, transparent); padding-top: 6px; margin-top: 4px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.env__stamp { position: absolute; right: 6%; top: 40%; width: 17%; transform: rotate(5deg); filter: drop-shadow(0 1px 1px rgba(var(--sh-rgb), 0.4)); }
.env__stamp img { width: 100%; }
.env__mark { position: absolute; left: 4%; top: 31%; width: 31%; aspect-ratio: 1; transform: rotate(-12deg) scale(0); opacity: 0; transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1), opacity 0.2s; pointer-events: none; color: var(--on-card); }
.env__mark text { font-family: var(--press); font-weight: 900; font-size: 12.5px; letter-spacing: 0.14em; fill: currentColor; }
.env__mark circle { fill: none; stroke: currentColor; stroke-width: 3; stroke-dasharray: 9 5; }
.env__mark .bar { stroke: currentColor; stroke-width: 3; }
.env[data-state="handed"] .env__mark { transform: rotate(-12deg) scale(1); opacity: 0.8; }
.post__cap { font-family: var(--hand); font-weight: 700; font-size: 16px; line-height: 1.4; text-align: center; max-width: 36ch; margin: 0 auto; }
.post__cap [data-for] { display: none; }
.post[data-state="empty"] [data-for="empty"], .post[data-state="ready"] [data-for="ready"], .post[data-state="handed"] [data-for="handed"], .post[data-state="over"] [data-for="over"] { display: inline; }

/* ---------- the sheets of other ways, and the cast ---------- */
.sides { position: relative; margin-top: 70px; display: grid; gap: 30px; }
.sides__notes { display: grid; gap: 26px; justify-content: center; grid-template-columns: minmax(0, 420px); }
.sticky { position: relative; padding: 30px 24px 24px; color: #191520; background: var(--tn) center / 100% 100% no-repeat; transform: rotate(var(--tilt, -1deg)); min-height: 150px; }
.sticky--a { --tn: url("assets/art/sticky-yellow.webp"); --tilt: -1.2deg; }
.sticky .tape { left: 38%; width: 80px; }
.sticky h2 { margin: 0 0 8px; font-family: var(--hand); font-weight: 700; font-size: 22px; line-height: 1.15; }
.sticky p { font-family: var(--hand); font-size: 17px; line-height: 1.45; }
.sticky a { font-weight: 700; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.sticky:hover { transform: translateY(-6px) rotate(0); box-shadow: 0 16px 22px rgba(var(--sh-rgb), 0.2); }
.sides__cast { display: flex; justify-content: center; align-items: flex-end; }
.sides__cast .stand { --h: 280px; }
.sides__cast .stand + .stand { margin-left: -6px; }
.sides__cast--r { display: none; }
@media (min-width: 900px) {
  .sides { grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 36px; margin-top: 100px; }
  .sides__notes { align-items: start; padding-bottom: 14px; }
  .sides__cast .stand { --h: 440px; }
  .sides__cast--r { display: flex; }
  .sides__cast--l-phone { display: none; }
}
@media (max-width: 899px) { .sides__cast--r { display: none; } .sides__cast--l { order: 2; } }
@media (max-width: 420px) { .sides__cast .stand { --h: 230px; } }

@media (max-width: 899px) { .env { max-width: 290px; } .post { padding-top: 6px; } }
.chero__lead { overflow-wrap: anywhere; }
@media (max-width: 359px) { .chero__lead { font-size: 16.5px; } }
