/* 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; } }

/* ================= Help and FAQ: the answer drawer ================= */

/* ---------- the first screen: the words and the finder at the left; Tom and the drawer at the right ---------- */
.hhero { display: grid; gap: 20px; padding-top: 8px; padding-bottom: 8px; }
.hhero__words { display: grid; gap: 14px; align-content: start; }
.hhero .sticker { width: 220px; margin-bottom: 14px; }
.finder { margin-top: 10px; display: grid; gap: 10px; }
.finder__l { font-family: var(--hand); font-weight: 700; font-size: 22px; line-height: 1.2; }
.finder__l .swipe { padding: 0 8px; }
.finder__box { position: relative; display: flex; align-items: center; min-height: 64px; padding: 0 8px 0 14px; background: var(--card) url("assets/art/card-stock-light.webp") center / cover; color: var(--on-card); box-shadow: var(--sh-card); transform: rotate(-0.6deg); outline: 2px solid color-mix(in srgb, var(--on-card) 70%, transparent); outline-offset: -5px; }
.finder__box:focus-within { outline: 3px solid var(--focus); outline-offset: 4px; }
.finder__glass { flex: none; width: 30px; height: 30px; margin-right: 10px; overflow: visible; }
.finder__glass path, .finder__glass circle { fill: none; stroke: var(--on-card); stroke-width: 2.6; stroke-linecap: round; }
.finder__in { flex: 1; min-width: 0; min-height: 52px; padding: 0 6px; font-family: var(--hand); font-weight: 700; font-size: 21px; color: var(--on-card); background: transparent; border: 0; outline: 0; }
.finder__in::placeholder { color: var(--on-card-dim); font-weight: 400; }
.finder__in::-webkit-search-cancel-button { display: none; }
.finder__clear { min-height: 44px; padding: 0 12px; font-family: var(--press); font-weight: 800; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-card); }
.finder__clear:hover { text-decoration: underline; text-underline-offset: 4px; }
.finder__count { min-height: 1.5em; font-family: var(--mono); font-size: 13px; letter-spacing: 0; color: var(--ink); }
.hhero__art { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 0; margin: 6px 0 0; }
.hhero__art .stand { --h: 300px; z-index: 2; margin-right: -26px; }
.hhero__drawer { position: relative; width: min(100%, 420px); flex: none; }
.hhero__drawer img { width: 100%; filter: drop-shadow(0 12px 10px rgba(var(--sh-rgb), 0.28)); }
@media (min-width: 900px) {
  .hhero { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: end; gap: 40px; padding-top: 16px; }
  .hhero .sticker { width: 270px; }
  .finder__l { font-size: 26px; }
  .finder__box { min-height: 74px; max-width: 640px; }
  .finder__in { font-size: 24px; }
  .hhero__art .stand { --h: clamp(380px, 37vw, 560px); margin-right: -56px; }
  .hhero__drawer { width: min(60%, 640px); }
}
@media (max-width: 899px) { .hhero__art .stand { --h: 230px; } .hhero__drawer { width: 56%; } }

/* ---------- the tab dividers: what are you trying to do ---------- */
.drawer { position: relative; margin-top: 30px; }
.tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; position: relative; z-index: 2; margin: 0 0 -2px; padding: 0 2px; }
.tab { position: relative; filter: drop-shadow(0 2px 0 rgba(var(--sh-rgb), 0.38)); transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1); }
.tab:first-child { grid-column: 1 / -1; }
.tab__in { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 56px; padding: 0 20px; font-family: var(--hand); font-weight: 700; font-size: 17px; line-height: 1.1; text-align: left; color: #191520; background: var(--tc, var(--tab-1)); clip-path: polygon(0 100%, 0 28%, 4% 8%, 8% 0, 92% 0, 96% 8%, 100% 28%, 100% 100%); }
.tab__n { font-family: var(--mono); font-size: 12px; font-weight: 600; }
.tab[aria-pressed="true"] { transform: translateY(-8px); }
.tab[aria-pressed="true"] .tab__in { text-decoration: underline; text-decoration-thickness: 2.5px; text-underline-offset: 5px; min-height: 64px; }
.tab:hover { transform: translateY(-5px); }
.tab[aria-pressed="true"]:hover { transform: translateY(-8px); }
.tab:focus-visible { outline: none; }
.tab:focus-visible .tab__in { outline: 3px solid var(--focus); outline-offset: -6px; }
.tab[data-g="all"] { --tc: var(--card); }
.tab[data-g="day"] { --tc: var(--tab-1); }
.tab[data-g="account"] { --tc: var(--tab-2); }
.tab[data-g="pay"] { --tc: var(--tab-3); }
.tab[data-g="data"] { --tc: var(--tab-4); }
.tab[data-g="broken"] { --tc: var(--tab-5); }
@media (min-width: 900px) {
  .tabs { display: flex; gap: 6px; padding: 0 0 0 4px; align-items: flex-end; }
  .tab { flex: 1 1 auto; min-width: 0; }
  .tab:first-child { grid-column: auto; }
  .tab__in { width: 100%; min-width: 0; min-height: 60px; padding: 0 clamp(12px, 1.6vw, 28px); gap: 10px; font-size: clamp(16px, 1.3vw, 18px); }
  .tab[aria-pressed="true"] .tab__in { min-height: 70px; }
}

/* ---------- the drawer: question strips at the left, the pulled card at the right ---------- */
.qlist { position: relative; list-style: none; margin: 0; padding: 26px 18px 30px; background: color-mix(in srgb, var(--card) 62%, transparent); box-shadow: var(--sh-card); display: block; }
:root[data-theme="dark"] .qlist { background: color-mix(in srgb, var(--card) 14%, transparent); }
.qlist::before { content: ""; position: absolute; inset: 0; pointer-events: none; border: 2px solid color-mix(in srgb, var(--ink) 55%, transparent); }
.gh { margin: 22px 0 8px; display: flex; align-items: center; gap: 12px; font-family: var(--press); font-weight: 800; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.gh:first-child { margin-top: 0; }
.gh::before { content: ""; flex: none; width: 26px; height: 14px; background: var(--tc); border: 2px solid var(--on-card); clip-path: none; }
.gh[data-g="day"] { --tc: var(--tab-1); } .gh[data-g="account"] { --tc: var(--tab-2); } .gh[data-g="pay"] { --tc: var(--tab-3); } .gh[data-g="data"] { --tc: var(--tab-4); } .gh[data-g="broken"] { --tc: var(--tab-5); }
.q { margin: 0 0 10px; }
.q[data-g="day"] { --tc: var(--tab-1); } .q[data-g="account"] { --tc: var(--tab-2); } .q[data-g="pay"] { --tc: var(--tab-3); } .q[data-g="data"] { --tc: var(--tab-4); } .q[data-g="broken"] { --tc: var(--tab-5); }
.q__h { margin: 0; font: inherit; }
.q__btn { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 10px 16px 10px 18px; text-align: left; background: var(--card) url("assets/art/card-stock-light.webp") center / cover; color: var(--on-card); box-shadow: var(--sh-card); border-left: 10px solid var(--tc); transform: rotate(var(--tilt, -0.4deg)); transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.24s; }
.q:nth-of-type(3n+2) .q__btn { --tilt: 0.5deg; }
.q:nth-of-type(3n) .q__btn { --tilt: -0.2deg; }
.q__btn:hover { transform: translateX(6px) rotate(0); box-shadow: 0 10px 14px rgba(var(--sh-rgb), 0.2); }
.q__btn[aria-expanded="true"] { transform: translateX(14px) rotate(0); box-shadow: 0 10px 16px rgba(var(--sh-rgb), 0.24); }
.q__btn:focus-visible { outline-offset: 3px; }
.q__no { flex: none; font-family: var(--mono); font-size: 12px; color: var(--on-card-dim); min-width: 2ch; }
.q__t { flex: 1; font-family: var(--hand); font-weight: 700; font-size: 18px; line-height: 1.25; text-wrap: balance; }
.q__btn[aria-expanded="true"] .q__t { background: url("assets/art/highlighter.webp") 0 31% / 100% 190% no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.q__t mark { background: var(--highlighter); color: #191520; padding: 0 2px; margin: 0 -2px; }
.q__go { flex: none; width: 22px; height: 22px; overflow: visible; transition: transform 0.2s; }
.q__go path { fill: none; stroke: var(--on-card); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.q__btn[aria-expanded="true"] .q__go { transform: rotate(90deg); }
.q__a { position: relative; margin: 6px 0 4px 12px; padding: 26px 22px 22px; background: var(--card) url("assets/art/card-stock-light.webp") center / cover; color: var(--on-card); box-shadow: var(--sh-card); 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; }
.q__a .tape { left: 48%; }
.q__ag { display: none; }
.q__body { display: grid; gap: 12px; font-family: var(--hand); font-size: 17px; line-height: 1.5; }
.q__body ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.q__body a { font-weight: 700; text-underline-offset: 3px; }
.q__body strong { font-weight: 700; }
.q__more { margin-top: 16px; padding-top: 14px; border-top: 2px dashed color-mix(in srgb, var(--on-card) 40%, transparent); font-family: var(--hand); font-size: 16px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.q__more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.none { margin-top: 20px; padding: 26px 22px; display: grid; gap: 14px; justify-items: start; }
.none .h3 { font-size: 24px; }
.none p { font-size: 17px; line-height: 1.45; }
.none .quiet { background: var(--highlighter); color: #191520; }

@media (min-width: 900px) {
  .qlist { display: grid; grid-template-columns: minmax(360px, 5fr) minmax(0, 7fr); grid-template-rows: repeat(var(--n, 30), auto); column-gap: 48px; align-content: start; padding: 40px 44px 44px; }
  .gh { grid-column: 1; }
  .q { display: contents; }
  .q__h { grid-column: 1; margin-bottom: 10px; }
  .q__a { grid-column: 2; grid-row: 1 / -1; align-self: start; position: sticky; top: 22px; margin: 0; padding: 40px 44px 34px; min-height: 340px; }
  .q__ag { display: block; margin: 0 0 14px; font-family: var(--hand); font-weight: 700; font-size: 30px; line-height: 1.15; text-wrap: balance; }
  .q__tagline { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--press); font-weight: 800; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
  .q__tagline::before { content: ""; width: 34px; height: 16px; background: var(--tc); border: 2px solid var(--on-card); }
  .q__body { font-size: 19px; }
  .q__t { font-size: 19px; }
}
@media (max-width: 899px) { .q__tagline { display: none; } }

/* ---------- still stuck: the slip, with Léa and Tiago beside it ---------- */
.write { position: relative; margin-top: 64px; display: grid; gap: 28px; }
.write__words { display: grid; gap: 14px; align-content: start; }
.write__words .h2 { max-width: 12ch; }
.write__lead { font-size: 18px; line-height: 1.45; max-width: 36ch; }
.write__cast { display: flex; align-items: flex-end; justify-content: center; gap: 0; margin-top: 4px; }
.write__cast .stand { --h: 290px; }
.write__cast .stand + .stand { margin-left: -16px; }
.slip { position: relative; padding: 38px 22px 24px; display: grid; gap: 20px; transform: rotate(0.4deg); 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; }
.slip:hover { transform: rotate(0.4deg); box-shadow: var(--sh-card); }
.slip .tape { left: 18%; }
.slip__h { font-family: var(--hand); font-weight: 700; font-size: 24px; line-height: 1.15; }
@media (min-width: 900px) {
  .write { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; margin-top: 90px; }
  .write__cast .stand { --h: 400px; }
  .slip { padding: 46px 40px 32px; }
  .slip__h { font-size: 28px; }
}
@media (max-width: 420px) { .write__cast .stand { --h: 250px; } }
