/* L10 final · 15 tell me what you're stuck on. (option A, 302's split) + 16 footer (option A, ledger row 305 1:1)
   Agent D5, Thu 12 Nov 2026. Pending his pick (alternatives stay on the review page).
   Grid and type: L1's tokens (margin 64, 12 x 87.33, gutter 24, section padding 128; Albert Sans, type D), with fallbacks.
   The contact form's sending (js/contact-mailto.js, mailto) and its red error line stay exactly as live: same ids, same
   messages, same red #A3122A at 13/18, 24 px in, directly under the box; the handoff line keeps its place under the note. */

#contact.ls-contact, #footer.ls-foot {
  --lsk-ink: var(--text-primary, #090909);
  --lsk-font: var(--font-brand, "Albert Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif);
  --lsk-margin: var(--grid-margin, 64px);
  --lsk-gutter: var(--grid-gutter, 24px);
  --lsk-pad: var(--section-pad, 128px);
  --lsk-label: #6F6F6F;      /* E0 colour c meta; AI-SIGNS-2 L10 #2 */
  --lsk-error: #A3122A;      /* the live #contact-status red (el-E4 --ls-error, 303) */
  box-sizing: border-box; font-family: var(--lsk-font); -webkit-font-smoothing: antialiased;
}
#contact.ls-contact *, #footer.ls-foot * { box-sizing: border-box; }

/* ───────── 15 contact (A: 302's split; words left, the composer as the object on the right) ───────── */
#contact.ls-contact { padding: var(--lsk-pad) var(--lsk-margin); background: #FFFFFF; color: var(--lsk-ink); }
#contact.ls-contact .lsk-in { max-width: 1312px; margin: 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--lsk-gutter); align-items: start; }
#contact.ls-contact h2 { grid-column: 1 / span 5; margin: 0; font: var(--t-h2, 500 56px/58px var(--lsk-font)); letter-spacing: -0.02em; }   /* two lines, as live */
#contact.ls-contact h2 .lsk-ln { display: block; }
#contact.ls-contact .lsk-side { grid-column: 7 / span 6; display: flex; flex-direction: column; padding-top: 9px; }   /* the lead's cap top on the headline's cap top */
#contact.ls-contact .lsk-lead { order: 0; margin: 0 0 32px; font: var(--t-lead, 400 20px/29px var(--lsk-font)); }   /* L1 --t-lead */
/* el-E4 composer "with an action": box 50, corner 20, ring 25% black (row 24), padding 5 5 5 24, E1's ink pill at 40 inside */
#contact.ls-contact .ask {
  order: 0; position: relative; display: flex; align-items: flex-end; gap: 8px; min-height: 50px; margin: 0;
  padding: 5px 5px 5px 24px; border-radius: 20px; background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25);
  transition: box-shadow .22s cubic-bezier(.22, 1, .36, 1);
}
@media (hover: hover) { #contact.ls-contact .ask:not(:focus-within):hover { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .42); } }   /* E4 hover ring */
#contact.ls-contact .ask:focus-within { box-shadow: inset 0 0 0 1.5px #090909; }                                                /* E4 focus: no glow (C4) */
#contact.ls-contact .ask:has(textarea[aria-invalid="true"]) { box-shadow: inset 0 0 0 1.5px var(--lsk-error); }                /* live: the ring in the error red */
#contact.ls-contact .ask textarea {
  flex: 1; min-width: 0; min-height: 40px; max-height: 156px; margin: 0; padding: 8px 0; border: 0; outline: none; resize: none;
  background: transparent; font: 400 16px/24px var(--lsk-font); color: var(--lsk-ink); caret-color: var(--lsk-ink);
  field-sizing: content;                                                                                                       /* grows to 6 lines, then scrolls (E4) */
}
#contact.ls-contact .ask textarea::placeholder { color: var(--lsk-label); }
#contact.ls-contact .ask-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }  /* the live label, kept for screen readers */
#contact.ls-contact .ask button {
  flex: none; display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 20px; border-radius: 999px; cursor: pointer;
  color: #FFFFFF; font: 500 15px/1 var(--lsk-font); letter-spacing: -0.01em; white-space: nowrap;
  background: linear-gradient(180deg, #363636 0%, #181818 100%); border: 1px solid #252628;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13), inset 0 -1px 0 rgba(255,255,255,.04), 0 1px 1px rgba(0,0,0,.10), 0 1px 3px rgba(0,0,0,.10);   /* components A */
  transition: box-shadow .16s cubic-bezier(.22, 1, .36, 1), transform .2s cubic-bezier(.28, 1.4, .36, 1);
}
#contact.ls-contact .ask button:active { background: #181818; box-shadow: inset 0 1px 2px rgba(0,0,0,.40), 0 .5px 1px rgba(0,0,0,.14); transform: scale(.97); }
#contact.ls-contact .ask button:focus-visible { outline: 2px solid #090909; outline-offset: 3px; }
/* the note, then the script's own status line (handoff message) under it; on an error the status line moves directly under
   the box in the red (as live: elements-1112.css, the critic's 09:41 call) */
#contact.ls-contact #contact-help { order: 2; margin: 12px 0 0; padding: 0 0 0 24px; font: 400 15px/22px var(--lsk-font); color: var(--lsk-label); }
#contact.ls-contact #contact-help a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
#contact.ls-contact #contact-status { order: 3; margin: 8px 0 0; padding: 0 0 0 24px; font: 400 13px/18px var(--lsk-font); color: var(--lsk-label); }
#contact.ls-contact #contact-status[hidden] { display: none; }
#contact.ls-contact .ask:has(textarea[aria-invalid="true"]) ~ #contact-status { order: 1; color: var(--lsk-error); }

/* ───────── 16 footer (A: ledger row 305, the Muse footer, land-book component 177721) ─────────
   His words 13:06: "footer we will use for this too" / "except our background, just their text and layout".
   Measured on 305-footer-1366x792-1x.png and 305-top-row-4x.png; positions x 1440/1366 = 1.054, text sizes kept in px.
   Background: real black (L10 row; X27). Kept from his calls: no blob; every live link and line. */
#footer.ls-foot { position: relative; height: 836px; overflow: hidden; background: #000000; color: #FFFFFF; }             /* 305: 792 at 1366 */
#footer.ls-foot .lsf-top { position: absolute; top: 21px; left: var(--lsk-margin); right: var(--lsk-margin); max-width: 1312px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--lsk-gutter); }                         /* 305: top 20 at 1366 */
#footer.ls-foot .lsf-small { margin: 0; font: 400 11px/14px var(--lsk-font); letter-spacing: 0; color: rgba(255, 255, 255, .8); }   /* 305: 11 px, white about 80% (measured 0.78) */
#footer.ls-foot .lsf-small a { color: inherit; text-decoration: none; }
#footer.ls-foot .lsf-small a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 2px; }             /* no reference */
#footer.ls-foot .lsf-small a:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; border-radius: 2px; }
#footer.ls-foot .lsf-mail { grid-column: 1 / span 2; }
#footer.ls-foot .lsf-meta { grid-column: 3 / span 6; display: flex; flex-wrap: wrap; gap: 16px; }                         /* 305: © then its links 16 after */
#footer.ls-foot .lsf-links { display: flex; flex-wrap: wrap; gap: 8px; }                                                    /* 305: 7 px between its links */
#footer.ls-foot .lsf-line { grid-column: 9 / span 4; margin: -6px 0 0; font: 400 30px/32px var(--lsk-font); letter-spacing: -0.01em; color: #FFFFFF; }
  /* 305: 30/32 Regular, pure white, two lines, cap tops level with the small row, at 66 % of the width (our column 9, x 954) */
#footer.ls-foot .lsf-name {
  position: absolute; left: var(--lsk-margin); bottom: 206px; margin: 0 0 0 -0.072em;
  font: 500 205px/1 var(--lsk-font); letter-spacing: -0.02em; white-space: nowrap; color: #FFFFFF;
}
  /* Chosen L10 SPEC: fit the complete longer name at 205 px, as 305 keeps its complete wordmark.
     The picked 64 px ink edge stays: -0.072em compensates Albert Sans l's side bearing.
     Raise the original bottom 130 by 76 px with the mark, preserving their optical gap in the 640 px field. */
#footer.ls-foot .lsf-mark { position: absolute; left: var(--lsk-margin); top: auto; bottom: -47px; width: 376px; height: auto; }
  /* AUDIT-2 #5 / AI-SIGNS-2 #1: 200 of the existing 247 px mark stays visible, with both counters above the cut.
     Integrator must remove sizing-1112.css's later top:516px override; retain its 640 px footer height. */

/* above 1440 the name keeps its size and the content stays 1312 wide (L1); the field stays full width */
@media (min-width: 1441px) {
  #footer.ls-foot .lsf-name, #footer.ls-foot .lsf-mark { left: calc((100% - 1312px) / 2); }
}
/* 701 to 1439: keep the chosen full-name fit and raise it by the mark's matching 5.236111vw offset. */
@media (max-width: 1439px) and (min-width: 701px) {
  #footer.ls-foot { height: 58vw; min-height: 560px; }
  #footer.ls-foot .lsf-name { font-size: calc((100vw - 2 * var(--lsk-margin)) / 6.4); bottom: 14.236111vw; }
  #footer.ls-foot .lsf-mark { top: auto; bottom: -3.263889vw; width: 26vw; }
  #footer.ls-foot .lsf-line { font-size: 26px; line-height: 28px; }
}

/* ───────── phone (390 must not break; no reference for 305 at phone size: its parts stack in order) ───────── */
@media (max-width: 700px) {
  #contact.ls-contact { padding: var(--section-pad, 72px) var(--grid-margin, 24px); }
  #contact.ls-contact .lsk-in { display: block; }
  #contact.ls-contact h2 { font: var(--t-h2, 500 34px/36px var(--lsk-font)); letter-spacing: -0.02em; }
  #contact.ls-contact .lsk-side { padding-top: 0; margin-top: 24px; }
  #contact.ls-contact .ask { flex-wrap: wrap; padding: 5px; }                                                               /* as live: the pill goes full width under the words */
  #contact.ls-contact .ask textarea { flex-basis: 100%; padding: 8px 19px; font-size: 16px; }                              /* 16 px: iOS never zooms */
  #contact.ls-contact .ask button { width: 100%; }
  #footer.ls-foot { height: auto; min-height: 0; padding: 24px 24px 0; }
  #footer.ls-foot .lsf-top { position: static; display: block; }
  #footer.ls-foot .lsf-meta { margin-top: 10px; }
  #footer.ls-foot .lsf-line { margin-top: 28px; font-size: 22px; line-height: 24px; }
  #footer.ls-foot .lsf-name { position: static; margin: 150px 0 0 -0.072em; font-size: clamp(40px, calc((100vw - 48px) / 6.44), 53px); } /* keep the full name readable down to 320 */
  #footer.ls-foot .lsf-mark { position: relative; left: 0; top: auto; bottom: auto; display: block; width: 150px; margin: 10px 0 -18px; }
}
@media (prefers-reduced-motion: reduce) {
  #contact.ls-contact .ask, #contact.ls-contact .ask button { transition: none; }
  #contact.ls-contact .ask button:active { transform: none; }
}

#footer.ls-foot .lsf-small { font-size: 12px; line-height: 16px; }
#footer.ls-foot .lsf-meta { align-items: baseline; }
#footer.ls-foot .lsf-small a {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
}
@media (max-width: 700px) {
  #footer.ls-foot .lsf-small a { min-height: 44px; }
  #footer.ls-foot .lsf-links { column-gap: 14px; row-gap: 0; }
}
