/* Landing page, version 6: the headline and the role question are the first screen, the
   short waitlist follows. Fixes from the 2026-11-14 critique of version 5. Loads after
   roles.css and before fixes.css. Moss, cream, hat red (actions only) and mushroom;
   hairlines, plain type, no capsules. */

/* ---- Header: one row on this page. The tiles are the navigation, so the phone role row
   is hidden, and anchors only need to clear one row. ---- */
.lq2 .role-row { display: none; }
.lq2 [id] { scroll-margin-top: 84px; }

/* ---- First screen: sized to its content, so the waitlist title peeks in below ---- */
.lq-first { padding: clamp(2.4rem, 11vh, 7rem) 0 2.6rem; }
.lq-ask-in { width: 100%; max-width: 60rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lq-head { margin: 0 0 1.4rem; font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1.03; letter-spacing: -0.02em; text-wrap: balance; }
.lq-q { margin: 0 0 1.4rem; font-family: var(--font-body); font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 500; letter-spacing: 0; color: var(--ink-2); text-wrap: balance; }

/* ---- The four role tiles ---- */
/* Columns fit the text: four across normally, fewer when text is enlarged. */
.lq-tiles { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); gap: 1rem; }
/* The picture on top; the label and its arrow share the bottom row, so a long label pushes
   the arrow along instead of running under it. */
.lq-tile { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto; align-items: end; column-gap: 0.6rem; row-gap: 0.9rem; height: 100%; padding: 1.1rem 1.3rem 1.2rem; text-align: left; border: 1px solid var(--edge); border-radius: 14px; background: rgb(242 234 217 / 0.03); color: var(--ink); transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out), background 0.2s var(--ease-out); }
.lq-ic { grid-column: 1 / -1; align-self: start; width: 5.6rem; height: 5.6rem; margin: -0.5rem 0 0 -0.4rem; object-fit: contain; filter: drop-shadow(0 8px 14px rgb(0 0 0 / 0.28)); }
/* Every label takes two lines' height, so one-line and two-line labels share a baseline. */
.lq2 .lq-tile b { min-width: 0; min-height: 2.3em; padding-right: 0; display: flex; align-items: flex-end; font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72; font-weight: 600; font-size: clamp(1.2rem, 1.6vw, 1.42rem); line-height: 1.15; letter-spacing: -0.01em; overflow-wrap: break-word; }
.lq-go { margin-bottom: 0.15em; width: 1.2rem; height: 1.2rem; color: var(--ink-3); transition: transform 0.2s var(--ease-out), color 0.2s var(--ease-out); }
.lq-tile::after { content: ""; position: absolute; left: 1.3rem; right: 1.3rem; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease-out); }
.lq-tile:hover, .lq-tile:focus-visible { transform: translateY(-4px); border-color: rgb(216 195 154 / 0.55); background: rgb(242 234 217 / 0.06); }
/* v3 (motion audit): hover is lift, arrow and underline at about 200ms; the icon stays put. */
.lq-tile:hover .lq-go, .lq-tile:focus-visible .lq-go { transform: translateX(4px); color: var(--ink); }
.lq-tile:hover::after, .lq-tile:focus-visible::after { transform: scaleX(1); }
.lq-tile:focus-visible { border-radius: 14px; }
.lq-tile:active { transform: translateY(-1px); }

/* ---- Waitlist: one column, three required fields, details tucked away ---- */
.lq-wl { padding: 1.6rem 0 4.5rem; }
.lq-wl-in { max-width: 38rem; margin: 0 auto; }
.lq-wl-title { margin: 0 0 1.4rem; text-align: center; text-wrap: balance; }
.lq-form .fine { text-wrap: pretty; }
.lq-err { font-size: 0.8rem; color: #ffb3a6; }
.lq-err:empty { display: none; }
.lq-form [aria-invalid="true"] { border-color: rgb(255 179 166 / 0.85); }
.lq-extra { border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.lq-extra summary { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 0; cursor: pointer; list-style: none; font-size: 0.9rem; color: var(--ink-2); }
.lq-extra summary::-webkit-details-marker { display: none; }
.lq-extra summary::before { content: ""; width: 0.5rem; height: 0.5rem; border-right: 1.5px solid var(--mushroom); border-bottom: 1.5px solid var(--mushroom); transform: rotate(-45deg); transition: transform 0.2s var(--ease-out); }
.lq-extra[open] summary::before { transform: rotate(45deg); }
.lq-extra summary span { color: var(--ink-3); }
.lq-extra-in { display: grid; gap: 0.9rem; padding: 0 0 1rem; }
/* Sent (v3, from the 2026-11-15 motion audit): the shared crossfade in site.css runs:
   the fields fade out with a slight blur (160ms) and the thank-you rises in (320ms) in the
   same box, which keeps its height, so the page doesn't jump. The hidden fields are made
   inert by the script. */
@media (prefers-reduced-motion: reduce) {
  form.join > *, form.join .wl-done, form.join .wl-done img { transition: none !important; }
}
.lq-next { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0.4rem 1.4rem; margin-top: 0.6rem; }
.lq-next .lq-redo { margin-top: 0; }
.lq-go-role { font-size: 0.95rem; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--mushroom); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.lq-go-role:hover { text-decoration-color: var(--accent); }

@media (max-width: 640px) {
  .lq-first { padding: 1.6rem 0 2rem; }
  .lq-head { font-size: 2.3rem; margin-bottom: 1rem; }
  .lq-q { margin-bottom: 1rem; }
  .lq-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .lq-tile { row-gap: 0.6rem; column-gap: 0.3rem; padding: 0.9rem 0.85rem 1rem 1rem; }
  .lq-ic { width: 4.4rem; height: 4.4rem; margin: -0.4rem 0 0 -0.3rem; }
  .lq2 .lq-tile b { font-size: 1.12rem; }
  .lq-go { width: 1rem; height: 1rem; }
  .lq2 form.join { grid-template-columns: 1fr; }
  .lq-wl { padding-bottom: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lq-tile, .lq-ic, .lq-go, .lq-tile::after, .lq-extra summary::before { transition: none; }
}
