/* ──────────────────────────────────────────────────────────────────────────
   Thomas T. Cooper — printable sheets
   The site is oak-dark; paper is not. These invert the house palette onto
   cream stock: oak ink, amber rules, brass for secondary marks. US Letter,
   portrait unless a sheet declares landscape.
   ────────────────────────────────────────────────────────────────────────── */
:root{
  --oak:#171310; --oak2:#2a2019; --cream:#faf6ee; --cream2:#f1e9da;
  --amber:#c8862f; --brass:#b08a52; --ember:#a13b1e;
  --mute:#7c7264; --line:#d8cdb8;
  --t-display:25px;   /* sheet title, decorative numerals */
  --t-sub:13px;       /* lede, subheads */
  --t-body:10.5px;    /* ALL running text, table cells, lists */
  --t-small:9px;      /* UPPERCASE labels only — never running prose */
  --t-micro:8px;      /* eyebrows, uppercase labels, imprint */
  --serif:"Hoefler Text",Georgia,"Times New Roman",serif;
  --sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
body{background:#cfc7b8;font-family:var(--sans);color:var(--oak);
  font-size:var(--t-body);line-height:1.5;padding:18px}
/* A flex column so the imprint can sit on the baseline when the page is short and
   be PUSHED DOWN when it is long. It used to be absolutely positioned, which meant
   content simply ran underneath it the moment a sheet grew past 11in. */
.sheet{background:var(--cream);width:8.5in;min-height:11in;margin:0 auto 18px;
  padding:0.5in 0.55in;box-shadow:0 2px 18px rgba(0,0,0,.25);position:relative;
  display:flex;flex-direction:column}
.sheet.land{width:11in;min-height:8.5in}

/* masthead ------------------------------------------------------------- */
.mh{display:flex;align-items:center;gap:12px;border-bottom:2px solid var(--oak);
  padding-bottom:9px;margin-bottom:14px}
/* The crest reads bigger than its box: negative margins let it grow to 58px while
   still only contributing 42px to layout, so the rule beneath it does not move. */
.mh img{height:58px;width:auto;margin:-8px 0}
.mh .t{flex:1}
.mh .kick{font-size:var(--t-small);font-weight:700;letter-spacing:.34em;text-transform:uppercase;
  color:var(--brass);margin-top:-4px;margin-bottom:2px}
.mh h1{font-family:var(--serif);font-weight:400;font-size:var(--t-display);letter-spacing:.015em;
  line-height:1.1;margin-top:1px}
.mh .meta{text-align:right;font-size:var(--t-small);letter-spacing:.14em;text-transform:uppercase;
  color:var(--mute);line-height:1.6}

/* structure ------------------------------------------------------------ */
h2{font-size:var(--t-body);font-weight:700;letter-spacing:.22em;text-transform:uppercase;
  color:var(--oak);border-top:1px solid var(--oak);padding-top:6px;margin:13px 0 6px}
h3{font-family:var(--serif);font-weight:400;font-size:var(--t-sub);margin:9px 0 3px}
p{margin-bottom:6px;color:#3a332a}
.lede{font-family:var(--serif);font-size:var(--t-sub);line-height:1.55;color:#2e2821;margin-bottom:10px}
.cols2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.cols3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}
.note{background:var(--cream2);border-left:3px solid var(--amber);padding:7px 10px;
  font-size:var(--t-body);margin:8px 0}
.note b{display:block;font-size:var(--t-micro);letter-spacing:.16em;text-transform:uppercase;
  color:var(--brass);margin-bottom:2px}
ul{list-style:none}
ul li{padding-left:11px;position:relative;margin-bottom:2px}
ul li:before{content:"";position:absolute;left:0;top:7px;width:4px;height:4px;
  background:var(--amber);transform:rotate(45deg)}
.fill{border-bottom:1px solid var(--line);min-height:15px}
.imprint{margin-top:auto;padding-top:6px;border-top:1px solid var(--line);
  font-size:var(--t-micro);letter-spacing:.1em;text-transform:uppercase;color:var(--mute);
  display:flex;justify-content:space-between;gap:16px}
.imprint span:nth-child(2){text-align:center}
.imprint span:last-child{text-align:right;white-space:nowrap}

/* print ---------------------------------------------------------------- */
/* Named pages: a single @page rule cannot describe both orientations, and the
   two cards are landscape. Without this the browser prints them portrait and
   clips the fourth barrel clean off the right edge. */
@page{size:letter portrait;margin:0}
@page land{size:letter landscape;margin:0}
.sheet.land{page:land}

@media print{
  body{background:#fff;padding:0}
  /* Browsers drop background colour by default. Every one of these sheets is
     built on cream stock with banded rows, dark table headers and amber rules —
     without this they print as white paper with the structure invisible. */
  html,body,.sheet,.sheet *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .sheet{box-shadow:none;margin:0;width:auto;min-height:auto;
    padding:.45in .5in;page-break-after:always;break-after:page}
  .sheet:last-child{page-break-after:auto;break-after:auto}
  /* never split a block across the fold */
  .cols2,.cols3,.grains,.cont,.verdict,.note,.step,.rule,table.score{
    break-inside:avoid;page-break-inside:avoid}
  /* 5.5in = 6.3 × 576/660, the print-side partner to the viewBox trim in
     flavour-wheel.html. Scaled together so the descriptors print at the size
     they always did while the sheet reclaims the space. */
  .wheelwrap svg{max-height:5.5in}
  .noprint{display:none !important}
}
