/* Lauderdale Studio pay + sign pages (restyle 11/1/2026). Tokens match the studio website
   (site/assets/shell/pages.css): ink, chalk, sand; Laredo display, Laredo Light labels, IBM Plex Mono text. */
@font-face { font-family: 'Laredo'; src: url('fonts/Laredo-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Laredo Light'; src: url('fonts/Laredo-Light.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/IBMPlexMono-300-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/IBMPlexMono-300-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/IBMPlexMono-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/IBMPlexMono-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #5C3A18; --chalk: #F0EFEB; --sand: #D9CFC2; --paper: #F7F6F3;
  --ft: 'Laredo', serif; --fn: 'Laredo Light', 'Laredo', serif; --fb: 'IBM Plex Mono', monospace;
  --g: 28px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--chalk); color: var(--ink);
  font-family: var(--fb); font-weight: 300; font-size: 14px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; min-height: 100vh;
}
a { color: inherit; }
.hidden { display: none !important; }

/* frame: one quiet picture beside the document, like the website's contact page */
.frame { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: calc(var(--g) * 2.5); max-width: 1320px; margin: 0 auto; padding: calc(var(--g) * 2) calc(var(--g) * 2) var(--g); align-items: start; }
.frame-pic { position: sticky; top: calc(var(--g) * 2); aspect-ratio: 2 / 3; max-height: calc(100vh - var(--g) * 4); width: 100%; overflow: hidden; background: var(--sand); }
.frame-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.doc { max-width: 620px; width: 100%; }

/* masthead */
.mast { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.word { font-family: var(--ft); font-weight: 400; font-size: 13px; letter-spacing: .32em; text-transform: uppercase; }
.mast-ref { font-family: var(--fn); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-variant-numeric: tabular-nums; }

/* type */
.kicker, .label { font-family: var(--fn); font-weight: 400; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; }
.kicker { margin: calc(var(--g) * 2) 0 14px; }
h1, .title { font-family: var(--ft); font-weight: 400; font-size: clamp(34px, 5vw, 60px); letter-spacing: .14em; text-transform: uppercase; line-height: 1.02; margin: 0 0 22px; }
.lede { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.85; max-width: 46ch; }
.num, .amount { font-family: var(--fb); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* sections: thin ink rules, square, no shadows */
.sec { border-top: 1px solid var(--ink); padding: 22px 0 26px; }
.sec:first-of-type { margin-top: calc(var(--g) * 1.6); }
.sec > .label { display: block; margin-bottom: 14px; }
.rows { list-style: none; }
.rows > li { display: grid; grid-template-columns: 11rem 1fr; gap: 6px 24px; padding: 11px 0; border-bottom: 1px solid var(--sand); align-items: baseline; }
.rows > li:last-child { border-bottom: 0; }
.rows .k { font-family: var(--fn); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }
.rows .v { font-size: 14px; font-weight: 400; overflow-wrap: anywhere; }
.scope > li { grid-template-columns: 3rem 1fr; }
.scope .k { font-variant-numeric: tabular-nums; }
.scope .v { font-weight: 300; }
.fee-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.fee-total .amount { font-size: clamp(26px, 3.6vw, 34px); font-weight: 400; letter-spacing: .02em; }
.sched { list-style: none; margin-top: 14px; }
.sched > li { display: grid; grid-template-columns: 4.2rem 8.6rem 1fr; gap: 4px 18px; padding: 11px 0; border-top: 1px solid var(--sand); align-items: baseline; font-size: 13px; }
.sched .pct, .sched .amt { font-variant-numeric: tabular-nums; font-weight: 400; }
.sched .amt { text-align: right; }
.note { font-size: 12px; line-height: 1.8; letter-spacing: .02em; }
.note + .note { margin-top: 8px; }
.note a, .lede a, .status a { padding: 15px 0; margin: -15px 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hash { font-size: 10.5px; line-height: 1.6; letter-spacing: .02em; word-break: break-all; margin-top: 14px; opacity: .75; }

/* buttons: primary ink, secondary outlined, 52px tall */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--chalk); font-family: var(--fn); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: opacity .2s ease, background .2s ease, color .2s ease; -webkit-appearance: none; appearance: none; }
.btn:hover { opacity: .88; }
.btn.outline { background: transparent; color: var(--ink); }
.btn.outline:hover { background: var(--ink); color: var(--chalk); opacity: 1; }
.btn.block { display: flex; width: 100%; }
.btn:disabled { background: var(--sand); border-color: var(--sand); color: var(--ink); cursor: not-allowed; opacity: 1; }
.btn:focus-visible, a:focus-visible, input:focus-visible, button:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

/* payment method tag */
.method { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border: 1px solid var(--ink); font-family: var(--fn); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }
.method.primary { background: var(--ink); color: var(--chalk); }

/* checkout well: Stripe mounts here */
#checkout { min-height: 140px; }
.status { font-size: 13px; line-height: 1.85; letter-spacing: .02em; padding: 26px 0; max-width: 52ch; }
.loading { font-family: var(--fn); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; padding: 34px 0; }

/* signing */
.consent { display: flex; gap: 14px; align-items: flex-start; min-height: 44px; padding: 10px 0; cursor: pointer; font-size: 13px; line-height: 1.75; }
.consent input { -webkit-appearance: none; appearance: none; flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; border: 1px solid var(--ink); border-radius: 0; background: transparent; cursor: pointer; display: grid; place-content: center; }
.consent input::after { content: ""; width: 10px; height: 10px; background: var(--ink); transform: scale(0); transition: transform .15s ease; }
.consent input:checked::after { transform: scale(1); }
.fields { transition: opacity .2s ease; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--g); }
.field { margin-top: 22px; }
.field .label { display: block; margin-bottom: 4px; }
.field input { width: 100%; min-height: 44px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font-family: var(--fb); font-weight: 300; font-size: 16px; padding: 8px 0; outline: 0; -webkit-appearance: none; appearance: none; }
.field input::placeholder { color: var(--ink); opacity: .45; }
.sig { margin-top: 26px; }
.sig .label { display: block; }
#sigCanvas { display: block; width: 100%; height: 150px; background: transparent; border: 0; border-bottom: 1px solid var(--ink); touch-action: none; cursor: crosshair; }
.sig-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sig-hint { font-family: var(--fn); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; opacity: .75; }
.link-btn { min-height: 44px; min-width: 44px; padding: 0 2px; background: none; border: 0; color: var(--ink); font-family: var(--fn); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.sign-actions { margin-top: 28px; }
.err { font-size: 12.5px; line-height: 1.7; margin-top: 12px; display: none; color: #8C3A2B; }
.signed-title { font-family: var(--ft); font-weight: 400; font-size: clamp(26px, 3.6vw, 36px); letter-spacing: .14em; text-transform: uppercase; line-height: 1.1; margin-bottom: 14px; }
.signed-detail { font-size: 12px; line-height: 1.8; letter-spacing: .02em; overflow-wrap: anywhere; }
.signed-copy { font-size: 13px; line-height: 1.85; margin-top: 16px; max-width: 52ch; }
.actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }

/* foot, matching the website foot */
.foot { border-top: 1px solid var(--ink); margin-top: calc(var(--g) * 2.4); padding-top: 14px; font-family: var(--fn); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.foot nav { display: flex; flex-wrap: wrap; column-gap: 26px; }
.foot nav a, .foot .credit a { text-decoration: none; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
.foot nav a:hover, .foot .credit a:hover { opacity: .7; }
.foot .credit { font-family: var(--fb); font-weight: 300; font-size: 10.5px; letter-spacing: .1em; line-height: 44px; opacity: .8; margin-top: 2px; }
.foot .credit a { display: inline-block; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

@media (max-width: 960px) {
  :root { --g: 16px; }
  .frame { display: block; padding: 22px 16px 16px; }
  .frame-pic { display: none; }
  .doc { max-width: none; }
  .kicker { margin-top: 40px; }
  h1, .title { font-size: 34px; letter-spacing: .12em; }
  .lede { font-size: 12px; }
  .mast { flex-wrap: nowrap; }
  .word { font-size: 12px; letter-spacing: .22em; white-space: nowrap; }
  .mast-ref { font-size: 10px; letter-spacing: .16em; white-space: nowrap; }
  .foot .credit { line-height: 2.2; }
  .foot .credit a { min-height: 0; padding: 15px 0; margin: -15px 0; display: inline; }
  .rows > li { grid-template-columns: 1fr; gap: 2px; }
  .scope > li { grid-template-columns: 2.4rem 1fr; gap: 12px; }
  .sched > li { grid-template-columns: 3.4rem 1fr; gap: 2px 12px; }
  .sched .amt { text-align: right; }
  .sched .det { grid-column: 1 / 3; opacity: .9; }
  .two { grid-template-columns: 1fr; }
  .actions .btn, .sign-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* 11/1 23:59 Carson: his real signature on the pay and proposal pages */
.studio-sig { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; margin-top: 1.4rem; }
.studio-sig img { width: 180px; max-width: 60%; height: auto; display: block; }
