/* Brainstorm and drills · quiet production layout. White page, Georgia headings, system body.
   Components carry the color: one pastel per etiquette step on the hero tiles, terracotta for the
   worked brainstorm, a hue-matched left bar per skill group. Hairline cards, 6px radius, 44px tap
   targets, single column under 600px. Print: the drills alone, fitted to one page. */
:root{--ink:#302B29;--muted:#5C544E;--line:#D9D9D9;--soft:#EFEDE8;--accent:#800000;--deep:#4B1020;--focus:#315873}
*{box-sizing:border-box}
html{scroll-padding-top:calc(var(--harper-header-height,90px) + 24px)}
body{margin:0;background:#fff;color:var(--ink);font:15px/1.6 system-ui,-apple-system,sans-serif}
main{max-width:1160px;margin:auto;padding:32px 32px 64px}
a{color:var(--accent);text-underline-offset:4px}
a,button,summary{touch-action:manipulation}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.skip{position:absolute;top:-80px;left:16px;padding:12px;background:#fff}.skip:focus{top:0}
.eyebrow{margin:0;font-size:11px;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
h1,h2,h3{font-family:Georgia,serif;font-weight:400;text-wrap:balance}
h1{font-size:32px;line-height:1.25;margin:8px 0 16px}
h2{font-size:24px;line-height:1.3;margin:0 0 8px;padding-left:12px;border-left:4px solid var(--deep)}
h3{font-size:19px;line-height:1.35;margin:0 0 8px}
.lede{max-width:760px;margin:0 0 12px}
.note{font-size:14px;color:var(--muted);max-width:760px;margin:0 0 6px}
.section-note{margin:0 0 16px;font-size:14px;color:var(--muted);max-width:760px}
p,li,a,span{overflow-wrap:anywhere}
.etiquette,.worked,.drills-section{margin-top:44px}

/* Hues: one pastel wash with its dark text, shared by the hero tiles and the skill-group bars. */
[data-hue=goldenrod]{--wash:#FBF0D1;--tint-ink:#5C4300;--tint-line:#E9D28A}
[data-hue=lake]{--wash:#D6E9EE;--tint-ink:#002A3A;--tint-line:#9CC7D3}
[data-hue=ivy]{--wash:#E7EDDE;--tint-ink:#284734;--tint-line:#B9CDA0}
[data-hue=violet]{--wash:#E6DCE8;--tint-ink:#41273B;--tint-line:#BFAEC3}
[data-hue=terracotta]{--wash:#FAEAD6;--tint-ink:#A9431E;--tint-line:#EFC39B}
[data-hue=rose]{--wash:#F3E3E4;--tint-ink:#643335;--tint-line:#D9AEB0}

/* Visual hero: the six etiquette steps as a horizontal stepper of pastel tiles. */
.etq-hero{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:16px 0 0;padding:0;list-style:none;counter-reset:none}
.etq-tile{display:flex;flex-direction:column;gap:6px;padding:14px 14px 12px;background:var(--wash);border:1px solid var(--tint-line);border-top:4px solid var(--tint-ink);border-radius:6px;color:var(--ink)}
.etq-n{font:700 12px/1 system-ui,-apple-system,sans-serif;letter-spacing:.06em;color:var(--tint-ink)}
.etq-name{font:400 19px/1.2 Georgia,serif;color:var(--deep)}
.etq-note{font-size:13px;line-height:1.45;color:var(--tint-ink)}
.etq-example{display:block;margin-top:auto;padding:10px 12px;background:#fff;border:1px solid var(--tint-line);border-radius:4px;font-size:13px;line-height:1.5;color:var(--ink)}
.etq-source{display:block;margin-bottom:4px;font:650 11px/1.3 system-ui,-apple-system,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}

/* The worked brainstorm: question, a fork into two buckets, the close. */
.worked h2{border-left-color:#A9431E}
.bk-map{display:grid;gap:10px;max-width:960px}
.bk-stop{padding:18px 22px;background:#fff;border:1px solid var(--line);border-left:4px solid #A9431E;border-radius:0 6px 6px 0}
.bk-stop h3{margin:4px 0 6px;color:#A9431E}
.bk-stop p{margin:0 0 6px}
.bk-stop p:last-child{margin-bottom:0}
.bk-label{font:700 11px/1 system-ui,-apple-system,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.bk-timing{font-size:13px;color:var(--muted)}
.bk-connector{margin:0;text-align:center;font-size:22px;line-height:1;color:#A9431E}
.bk-fork{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.bk-branch{padding:16px 18px;background:#FAEAD6;border:1px solid #EFC39B;border-radius:6px}
.bk-branch h3{margin:0 0 8px;color:#A9431E}
.bk-branch ol{margin:0 0 10px;padding-left:22px}
.bk-branch li{margin:6px 0;font-size:14px;line-height:1.55}
.bk-test{margin:0;padding-top:10px;border-top:1px solid #EFC39B;font-size:14px}
.bk-test strong{color:#A9431E;font-weight:650}
.bk-finish{border-left-color:#643335}
.bk-finish .bk-label{color:#643335}

/* The drills: a grid of cards grouped by skill, each with a mode badge and a time pill. */
.drills-section h2{border-left-color:#5C4300}
.drills-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;flex-wrap:wrap}
.drills-head>div{flex:1 1 480px;min-width:0}
.drills-tally{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
.action{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;background:#fff;border:1px solid var(--line);border-radius:4px;color:var(--accent);font:600 15px/1.2 system-ui,-apple-system,sans-serif;text-decoration:none;cursor:pointer}
.action:hover{border-color:#A4343A;background:#FAF4F4}
.skill-group{margin-top:28px}
.skill-group h3{display:flex;align-items:center;gap:10px;padding-left:12px;border-left:4px solid var(--tint-ink);color:var(--deep)}
.skill-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:var(--wash);border:1px solid var(--tint-line);color:var(--tint-ink);font:700 12px/1 system-ui,-apple-system,sans-serif}
.drill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
.drill-card{display:flex;flex-direction:column;gap:10px;padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:6px}
.drill-text{margin:0;font-size:14px;line-height:1.55}
.drill-meta{display:flex;flex-wrap:wrap;gap:8px;margin:auto 0 0;align-items:center}
.mode-badge,.time-pill{display:inline-flex;align-items:center;min-height:24px;padding:2px 10px;border-radius:12px;font:650 12px/1.2 system-ui,-apple-system,sans-serif}
.mode-badge{background:#E6DCE8;border:1px solid #BFAEC3;color:#41273B}
.drill-card[data-mode=solo] .mode-badge{background:#D6E9EE;border-color:#9CC7D3;color:#002A3A}
.time-pill{background:#FBF0D1;border:1px solid #E9D28A;color:#5C4300;font-variant-numeric:tabular-nums}

@media(max-width:1100px){.etq-hero{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:899px){main{padding:16px 16px 48px}h1{font-size:26px}.bk-fork{grid-template-columns:1fr}.drill-grid{grid-template-columns:1fr}}
@media(max-width:600px){.etq-hero{grid-template-columns:1fr;gap:8px}.etq-tile{display:grid;grid-template-columns:28px minmax(0,1fr);gap:4px 10px;padding:12px 14px;border-top-width:1px;border-left:4px solid var(--tint-ink)}.etq-n{grid-row:1/4;align-self:start;padding-top:4px}.etq-name{font-size:18px}.etq-example{grid-column:2;margin-top:4px}.bk-stop,.bk-branch{padding:14px 16px}.action{width:100%;justify-content:center}}

/* Print: the drill card alone, fitted to one page. */
@media print{
  @page{margin:10mm}
  html{scroll-padding-top:0}
  body{font-size:9.5pt;line-height:1.3;color:#000}
  main{max-width:none;padding:0}
  .skip,.recruiting-nav,.etiquette,.worked,header .note,header .lede,.drills-head .action,.section-note{display:none!important}
  .etiquette,.worked{margin:0}
  h1{font-size:16pt;margin:0 0 4pt}
  .eyebrow{font-size:7pt;color:#000}
  .drills-section{margin-top:6pt}
  .drills-section h2{font-size:12pt;margin:0 0 4pt;border-left-color:#000}
  .drills-tally{margin:0 0 4pt}
  .skill-group{margin-top:6pt;break-inside:avoid}
  .skill-group h3{font-size:10.5pt;margin:0 0 3pt;padding-left:6pt;border-left:2pt solid #000;color:#000}
  .skill-count{display:none}
  .drill-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4pt}
  .drill-card{padding:4pt 6pt;border:0.5pt solid #999;border-radius:2pt;break-inside:avoid;gap:3pt}
  .drill-text{font-size:8.5pt;line-height:1.3}
  .mode-badge,.time-pill{min-height:0;padding:0 4pt;border:0.5pt solid #999;background:#fff;color:#000;font-size:7pt}
}
