/* workshop — business document layout. */
@font-face{font-family:'Archivo';font-style:normal;font-weight:100 900;font-stretch:62% 125%;font-display:swap;src:url(/fonts/archivo.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')}
:root{--ink:#242a2d;--muted:#5d666b;--line:#dce0e2;--ground:#f0f2f3;--paper:#fff;--accent:#4d3924;--soft:#eee2ce;--sans:'Archivo',sans-serif;--display:'Archivo',serif;--mono:'Archivo',monospace;}

body{--ground:#eae4d9;--paper:#fffdf8;--line:#d8cebe}.d-document{display:grid;grid-template-columns:116px minmax(0,1fr);padding:0;gap:0}.d-rail{padding:30px 14px;background:var(--soft);border-right:1px solid #cebaa0}.d-identity{display:block;max-width:none}.d-name{font:750 26px/1.1 var(--display);writing-mode:vertical-rl;transform:rotate(180deg);max-height:420px}.d-contact{writing-mode:vertical-rl;transform:rotate(180deg);margin:18px 0 0;font-size:10px;max-height:280px}.d-logo{max-width:88px;max-height:calc(var(--logo-h) * var(--logo-k));margin-bottom:24px}.d-main{padding:calc(var(--page-pad) * .85) calc(var(--page-pad) * .7)}.d-title h1{font-size:46px;font-weight:750}.sheet .d-title h1{font-size:32px}.d-details{display:block}.d-client{margin-bottom:18px}.d-client p{font-size:19px}.d-facts{min-width:0}.d-summary{max-width:100%}.d-grand{border-top:3px solid var(--ink);color:var(--ink)}.d-grand strong{font-size:32px;font-weight:750}
/* A very long name (over 64 characters) wraps into more columns in the rail; a smaller size keeps them inside its 116px. */
.d-name.is-long{font-size:19px;max-height:460px}
@media(max-width:600px){.d-document{display:block;padding:0}.d-rail{padding:22px 20px;border-right:0;border-bottom:1px solid #cebaa0}.d-identity{display:flex;align-items:center;gap:12px}.d-name,.d-name.is-long{writing-mode:horizontal-tb;transform:none;font-size:24px;max-height:none}.d-contact{display:block;writing-mode:horizontal-tb;transform:none;max-height:none;font-size:11px;margin:6px 0 0}.d-logo{max-width:min(calc(var(--logo-w) * var(--logo-k) * .6),45%);max-height:calc(var(--logo-h) * var(--logo-k));margin:0}.d-main{padding:24px 20px}.d-title h1{font-size:35px}.d-grand strong{font-size:28px}}
/* Paper: a narrow vertical rail can't hold the logo, name and contact lines, so print puts the identity across the top
   instead (the phone arrangement): logo beside the name, contact details read left to right. */
@media print{.d-document{display:block}.d-rail{padding:16px 24px;border-right:0;border-bottom:1px solid #cebaa0}.d-identity{display:flex;align-items:center;gap:16px}.d-name,.d-name.is-long{writing-mode:horizontal-tb;transform:none;font-size:22px;max-height:none}.d-contact{writing-mode:horizontal-tb;transform:none;max-height:none;font-size:9pt;margin:6px 0 0}.d-logo{max-width:min(calc(var(--logo-w) * var(--logo-k) * .6),40%);max-height:calc(var(--logo-h) * .75);margin:0}.d-main{padding:20px 24px}}

@media(max-width:600px){.d-document{min-width:0}}
