/* Card Stock: the client page as a white stationery card on a porcelain table. */
@font-face{font-family:'Bodoni Moda';font-style:normal;font-weight:400 900;font-display:swap;src:url(/fonts/bodoni-moda.woff2) format('woff2')}
@font-face{font-family:'Bodoni Moda';font-style:italic;font-weight:400 900;font-display:swap;src:url(/fonts/bodoni-moda-italic.woff2) format('woff2')}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/hanken-grotesk.woff2) format('woff2')}
/* Logo size knobs, read by every header and look. Square marks use --logo-h; wide ones --logo-w and --logo-wh (max height).
   The vendor's Logo size (body.logo-s / -l / -xl) swaps the set; phones scale by --logo-k. Sizes are caps: a small upload never grows past its own size. */
:root{--logo-h:96px;--logo-w:260px;--logo-wh:110px;--logo-k:1}
body.logo-s{--logo-h:64px;--logo-w:180px;--logo-wh:76px}
body.logo-l{--logo-h:128px;--logo-w:340px;--logo-wh:144px}
body.logo-xl{--logo-h:160px;--logo-w:420px;--logo-wh:176px}
@media(max-width:600px){:root{--logo-k:.75}}
:root{--ink:#1e2b28;--mute:#5f6c68;--line:#dfe3dd;--bg:#eef0ec;--card:#fff}
/* For the optional header styles (t/headers.css), which read the shared document variables. */
:root{--accent:#1e2b28;--paper:#fff;--muted:#5f6c68;--ground:#eef0ec;--display:'Bodoni Moda',serif;--sans:'Hanken Grotesk',sans-serif}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{background:var(--bg);color:var(--ink);font:400 15px/1.5 'Hanken Grotesk',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
:root{--cs-pt:30px;--cs-px:20px}
.wrap{max-width:864px;margin:0 auto;padding:18px 16px 30px}
.card{background:var(--card);border-radius:3px;padding:10px;box-shadow:0 1px 2px #1e2b2810,0 8px 24px -12px #1e2b2826}
.t-cardstock .eqh{--bt:var(--cs-pt);--bl:var(--cs-px);--br:var(--cs-px)}
.in{border:1px solid var(--line);border-radius:2px;padding:var(--cs-pt) var(--cs-px) 26px}
@media(min-width:601px){:root{--cs-pt:46px;--cs-px:48px}}
/* US letter: the card is 816px wide and 11in tall, a 10px frame plus the hairline border and 0.75in of margin. */
@media(min-width:861px){:root{--cs-pt:56px;--cs-px:62px}.wrap{padding:36px 24px 40px}.card{min-height:1056px}.in{min-height:1036px}}
.head{text-align:center}
.mono{width:46px;height:46px;margin:0 auto 14px;border:1px solid var(--ink);border-radius:50%;display:grid;place-items:center;font:500 italic 19px 'Bodoni Moda',serif}
.logo{display:block;width:auto;height:auto;max-width:min(calc(var(--logo-w) * var(--logo-k)),100%);max-height:calc(var(--logo-h) * var(--logo-k));object-fit:contain;margin:0 auto 14px}
.name{font:500 27px/1.1 'Bodoni Moda',serif;letter-spacing:-.01em;overflow-wrap:anywhere}
.sub{color:var(--mute);font-size:13px;margin-top:6px;overflow-wrap:anywhere}
.rule{width:40px;height:1px;background:var(--ink);margin:22px auto}
h1{font:400 italic 21px/1.3 'Bodoni Moda',serif;text-align:center}
h1.title{font-size:25px;line-height:1.2}
.for{text-align:center;font-size:14px;color:var(--mute);margin-top:6px}
.for b{color:var(--ink);font-weight:600}
/* The quote number and the day it was made, under "Prepared for". */
.ref{text-align:center;font-size:12px;color:var(--mute);margin-top:4px;letter-spacing:.04em;font-variant-numeric:tabular-nums lining-nums}
.facts{display:grid;grid-template-columns:repeat(3,1fr);margin:24px 0 8px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.facts.n2{grid-template-columns:repeat(2,1fr)}
.facts.n1{grid-template-columns:1fr}
.facts div{text-align:center;padding:12px 4px;font-size:14px;font-weight:600}
.facts div+div{border-left:1px solid var(--line)}
.facts span{display:block;font-size:11px;font-weight:500;color:var(--mute);letter-spacing:.04em;margin-bottom:2px;text-transform:uppercase}
.venue{text-align:center;font-size:13px;color:var(--mute);margin-bottom:22px}
.gap{height:14px}
.item{padding:11px 0}
.item .l{display:flex;align-items:baseline;gap:8px}
.item .nm{font-weight:600;font-size:15px}
.item .dots{flex:1;min-width:12px;border-bottom:1px dotted #a9b2ae;transform:translateY(-4px)}
.item .a{font-variant-numeric:tabular-nums;font-weight:500;white-space:nowrap}
.item .a small{font-weight:400;color:var(--mute);font-size:12px}
.item .m{font-size:13px;color:var(--mute);margin-top:1px;white-space:pre-line}
.sheet .item{padding:10px 0}
.sheet .item .nm{font-size:inherit}
.item.ph{display:grid;grid-template-columns:56px 1fr;gap:12px;align-items:start}
.item.ph img{width:56px;height:56px;object-fit:cover;border-radius:2px;display:block}
.tot{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}
.tot .l{display:flex;justify-content:space-between;font-size:14px;color:var(--mute);padding:3px 0;font-variant-numeric:tabular-nums}
.grand{text-align:center;margin-top:22px}
.grand span{display:block;font-size:11px;font-weight:600;letter-spacing:.06em;color:var(--mute);text-transform:uppercase}
/* Heavier than the mockup's hairline: the total has to survive cheap phone screens and office printers. */
.grand b{display:block;font:600 46px/1.05 'Bodoni Moda',serif;font-variation-settings:'opsz' 28;margin-top:4px;font-variant-numeric:lining-nums}
.note{margin:24px 0 0;background:#f5f6f3;border-radius:2px;padding:13px 15px;font-size:14px;white-space:pre-line}
.note i{font-family:'Bodoni Moda',serif;color:var(--mute);font-size:13px;display:block;margin-bottom:2px;white-space:normal}
.valid{text-align:center;font-size:13px;color:var(--mute);margin-top:18px}
.reply{text-align:center;font-size:13px;color:var(--mute);margin-top:20px}
.valid+.reply{margin-top:6px}
.pre{text-align:center;font-size:14px;color:var(--mute);margin:8px 0 10px;white-space:pre-line}
.sec{text-align:center;font-size:11px;font-weight:600;letter-spacing:.08em;color:var(--mute);margin:26px 0 6px;display:flex;align-items:center;gap:10px;text-transform:uppercase}
.sec:before,.sec:after{content:"";flex:1;height:1px;background:var(--line)}
.sec-gap{height:18px}
.fnote{text-align:center;font:italic 14px 'Bodoni Moda',serif;color:var(--mute);margin-top:24px}
.foot{text-align:center;margin-top:20px}
.badge{display:inline-flex;align-items:center;gap:7px;font:500 11.5px 'Hanken Grotesk',sans-serif;color:var(--mute);text-decoration:none;padding:6px 10px;border:1px solid #d3d8d1;border-radius:3px;background:#f7f8f5;transition:color .2s,border-color .2s}
.badge svg{width:12px;height:12px}
.badge:hover,.badge:focus-visible{color:var(--ink);border-color:var(--ink)}
/* Big screens: the whole letter sheet scales up like zooming a document to fit. Client documents only; print has its own scale. */
@media screen and (min-width:1500px){.wrap{zoom:1.15}}
@media screen and (min-width:1800px){.wrap{zoom:1.25}}
@media screen and (min-width:2200px){.wrap{zoom:1.4}}
/* Past valid-until: a plain notice at the top of the page; the quote below stays whole. */
.eq-expired{margin:0 0 16px;padding:12px 16px;border:1px solid #a63a2c;border-left-width:4px;border-radius:2px;background:#fdf0ed;color:#68180d;font:500 15px/1.5 'Hanken Grotesk',system-ui,sans-serif;overflow-wrap:anywhere}
.eq-expired b{font-weight:700}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Phones: a row whose name and price can't share one line puts the leader dots and price on the next line (the unit may
   wrap under the price); a photo row's copy column may shrink below its longest word's width. The total steps down with
   the screen (never below 28px) so a six-figure amount stays inside the card. */
@media(max-width:600px){.item.ph{grid-template-columns:56px minmax(0,1fr)}.item .bd{min-width:0}.item .l{flex-wrap:wrap}.item .a{margin-left:auto;white-space:normal;text-align:right}.grand b{font-size:clamp(28px,calc((100vw - 94px) / 6.6),46px)}}
@page{size:letter;margin:.5in}
@media print{html{zoom:.85}.foot{margin-top:8px}:root{--cs-pt:24px;--cs-px:28px}body{background:#fff;print-color-adjust:exact;-webkit-print-color-adjust:exact}.wrap{max-width:none;padding:0}.card{box-shadow:none;padding:0;min-height:0;border-radius:0}.in{min-height:0}.item,.tot,.grand,.note,.inv-due,.inv-pay,.inv-stamp,.facts{break-inside:avoid}.note{background:none;border:1px solid var(--line)}.badge{background:#fff;border:0;padding:0}}
/* A light (white) logo would vanish on the paper: a small dark plate behind it. */
img.on-ink{box-sizing:border-box;background:var(--ink,#252927);padding:6px 8px;border-radius:3px}
