/* ============================================================
   kurtpedrosa.com — "The Engineer's Drawing Set"
   Palette:
     --blueprint  #16395C  deep blueprint blue
     --bp-line    #8FB3D1  blueprint linework
     --paper      #F3F6F4  drafting paper
     --grid       #DBE4DF  drafting grid
     --ink        #1D2B33  ink
     --trace      #F2A33C  scope-trace amber
     --copper     #B0653A  copper / shop warmth
     --moss       #5E7C5A  acreage green
   Type: Archivo (display, expanded), Newsreader (body prose),
         IBM Plex Mono (utility / callouts / title blocks)
   ============================================================ */

:root {
  --blueprint: #16395C;
  --blueprint-deep: #0F2A46;
  --bp-line: #8FB3D1;
  --paper: #F3F6F4;
  --grid: #DBE4DF;
  --ink: #1D2B33;
  --ink-soft: #4A5A62;
  --trace: #F2A33C;
  --copper: #B0653A;
  --moss: #5E7C5A;
  --rule: #B9C7C0;
  --card: #FBFCFB;
  --maxw: 1080px;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --display: "Archivo", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
}

a { color: var(--blueprint); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper); }
:focus-visible { outline: 3px solid var(--trace); outline-offset: 2px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- top nav: dual-channel selector ---------- */
header.site {
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  position: sticky; top: 0; z-index: 50;
}
.nav {
  display: flex; align-items: stretch; gap: 0;
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  min-height: 58px;
}
.brand {
  display: flex; flex-direction: column; justify-content: center;
  font-family: var(--mono); font-size: 14px; letter-spacing: .08em;
  padding-right: 20px; border-right: 1px solid var(--rule);
  text-decoration: none; color: var(--ink);
}
.brand b { font-family: var(--display); font-size: 19px; font-weight: 800; letter-spacing: .02em; }
.brand span { color: var(--ink-soft); font-size: 11px; }
nav.channels { display: flex; align-items: stretch; margin-left: auto; }
nav.channels a {
  display: flex; align-items: center; gap: 8px;
  padding: 0 18px; text-decoration: none;
  font-family: var(--mono); font-size: 14px; letter-spacing: .1em;
  color: var(--ink-soft); border-left: 1px solid var(--rule);
}
nav.channels a .ch {
  font-size: 10px; border: 1px solid currentColor; padding: 1px 5px; border-radius: 2px;
}
nav.channels a:hover { background: #E9EFEA; color: var(--ink); }
nav.channels a[aria-current="page"] { color: var(--paper); background: var(--blueprint); }
nav.channels a[aria-current="page"].life-ch { background: var(--copper); }

/* ---------- title block (the signature device) ---------- */
.titleblock {
  font-family: var(--mono); font-size: 11px; letter-spacing: .05em;
  border: 1.5px solid currentColor;
  display: grid; grid-template-columns: 1fr 1fr;
  width: min(380px, 100%);
}
.titleblock div { padding: 6px 10px; border-top: 1px solid currentColor; }
.titleblock div:nth-child(-n+2) { border-top: none; }
.titleblock div:nth-child(odd) { border-right: 1px solid currentColor; }
.titleblock .span2 { grid-column: 1 / -1; border-right: none !important; }
.titleblock label { display: block; font-size: 9px; opacity: .65; letter-spacing: .15em; }

/* ---------- hero ---------- */
.hero {
  background: var(--blueprint);
  color: #EAF2F8;
  border-bottom: 4px solid var(--trace);
  position: relative;
  overflow: hidden;
}
.hero .wrap { position: relative; padding-top: 56px; padding-bottom: 48px; z-index: 1; }
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(transparent 28%, rgba(10,26,48,.58) 72%, rgba(10,26,48,.78) 100%);
}
.hero-grid-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-content { position: relative; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .25em;
  color: var(--bp-line); text-transform: uppercase; margin-bottom: 14px;
}
h1.display {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #F4F8FB;
}
h1.display .amber { color: var(--trace); }
.hero p.lede {
  max-width: 640px; margin-top: 20px; font-size: 1.3rem; color: #C9DAE8;
}
.hero .titleblock { color: var(--bp-line); margin-top: 34px; background: rgba(15,42,70,.6); }

.hero-actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  font-family: var(--mono); font-size: 14px; letter-spacing: .12em;
  padding: 12px 22px; text-decoration: none; text-transform: uppercase;
  border: 1.5px solid var(--trace); color: var(--trace); background: transparent;
}
.btn.solid { background: var(--trace); color: var(--blueprint-deep); font-weight: 600; }
.btn:hover { background: #F7B65C; border-color: #F7B65C; color: var(--blueprint-deep); }
.hero .btn:not(.solid) {
  background: rgba(10,26,48,.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-color: var(--trace);
  color: var(--trace);
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.hero .btn.solid {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background .18s ease, box-shadow .18s ease;
}
.hero .btn:not(.solid):hover {
  background: rgba(242,163,60,.22);
  border-color: #F7B65C;
  color: #F7B65C;
  box-shadow: 0 0 14px rgba(242,163,60,.3);
}
.hero .btn.solid:hover {
  background: #F7B65C;
  box-shadow: 0 0 24px rgba(242,163,60,.65), 0 0 6px rgba(242,163,60,.9);
}

/* ---- button click ripple ---- */
.btn-ripple {
  position: absolute; border-radius: 50%;
  width: 6px; height: 6px;
  transform: translate(-50%, -50%) scale(0);
  background: rgba(242,163,60,.55);
  pointer-events: none;
  animation: btn-ripple .55s ease-out forwards;
}
@keyframes btn-ripple {
  to { transform: translate(-50%, -50%) scale(38); opacity: 0; }
}

/* ---------- section heads with dimension lines ---------- */
section.block { padding: 64px 0; }
.dimhead { display: flex; align-items: center; gap: 16px; margin-bottom: 34px; }
.dimhead::before, .dimhead::after {
  content: ""; flex: 1; height: 1px; background: var(--ink);
  position: relative;
}
.dimhead::before { background: linear-gradient(90deg, transparent, var(--ink)); }
.dimhead::after { background: linear-gradient(90deg, var(--ink), transparent); }
.dimhead h2 {
  font-family: var(--display); font-stretch: 115%; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); white-space: nowrap;
}
.dimhead .dwg {
  font-family: var(--mono); font-size: 11px; letter-spacing: .15em;
  border: 1px solid var(--ink); padding: 3px 8px; color: var(--ink-soft);
  white-space: nowrap;
}

/* ---------- index: channel split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.channel-card {
  border: 1.5px solid var(--ink); background: var(--card);
  padding: 30px 28px 34px; text-decoration: none; color: var(--ink);
  position: relative; display: block;
  transition: transform .18s ease, box-shadow .18s ease;
}
.channel-card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.channel-card .chiplabel {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  padding: 3px 9px; border: 1px solid; display: inline-block; margin-bottom: 16px;
}
.channel-card.work .chiplabel { color: var(--blueprint); border-color: var(--blueprint); }
.channel-card.life .chiplabel { color: var(--copper); border-color: var(--copper); }
.channel-card h3 {
  font-family: var(--display); font-stretch: 120%; font-weight: 800;
  font-size: 2rem; text-transform: uppercase; line-height: 1.05; margin-bottom: 12px;
}
.channel-card p { color: var(--ink-soft); font-size: 1.08rem; }
.channel-card .go {
  font-family: var(--mono); font-size: 12px; letter-spacing: .15em; margin-top: 18px; display: inline-block;
}
.channel-card.work .go { color: var(--blueprint); }
.channel-card.life .go { color: var(--copper); }
.channel-card.work { border-top: 6px solid var(--blueprint); }
.channel-card.life { border-top: 6px solid var(--copper); }

/* ---------- generic cards / chips ---------- */
.chip {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; padding: 3px 9px; border: 1px solid; border-radius: 2px;
}
.chip.woodshop { color: var(--copper); border-color: var(--copper); }
.chip.mats { color: #5B4A8A; border-color: #5B4A8A; }
.chip.acreage { color: var(--moss); border-color: var(--moss); }
.chip.kids { color: #B0473A; border-color: #B0473A; }
.chip.bench { color: var(--blueprint); border-color: var(--blueprint); }

/* ---------- resume page ---------- */
.sheet {
  background: var(--card); border: 1.5px solid var(--ink);
  padding: 40px clamp(20px, 5vw, 48px); margin-bottom: 48px;
  box-shadow: 8px 8px 0 rgba(29,43,51,.08);
}
.sheet h3.sub {
  font-family: var(--mono); font-size: 12px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--ink-soft); border-bottom: 1px solid var(--rule);
  padding-bottom: 8px; margin: 36px 0 18px;
}
.sheet h3.sub:first-of-type { margin-top: 0; }

table.rev { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
table.rev th {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase;
  text-align: left; color: var(--ink-soft); border-bottom: 1.5px solid var(--ink);
  padding: 8px 10px;
}
table.rev td { border-bottom: 1px solid var(--rule); padding: 12px 10px; vertical-align: top; }
table.rev td.rev-letter {
  font-family: var(--mono); font-weight: 600; color: var(--blueprint); white-space: nowrap;
}
table.rev td .role { font-family: var(--display); font-weight: 700; font-size: 1.02rem; display: block; }
table.rev td .org { color: var(--ink-soft); font-size: .9rem; }
.placeholder { background: #FFF6E4; outline: 1px dashed var(--trace); padding: 0 4px; }

.parts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.part {
  border: 1px solid var(--rule); background: var(--paper); padding: 14px 16px;
}
.part .pn { font-family: var(--mono); font-size: 10px; letter-spacing: .15em; color: var(--ink-soft); }
.part b { font-family: var(--display); font-weight: 700; display: block; margin: 2px 0 4px; }
.part span { font-size: .88rem; color: var(--ink-soft); }

.pub {
  border-left: 4px solid var(--trace); padding: 16px 20px; background: var(--paper);
  margin-bottom: 16px;
}
.pub .where { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-soft); text-transform: uppercase; }
.pub h4 { font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin: 6px 0; }

.dwg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.dwg-card { border: 1.5px solid var(--ink); background: var(--card); display: flex; flex-direction: column; }
.dwg-card .dwg-no {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  background: var(--blueprint); color: var(--bp-line); padding: 6px 12px;
  display: flex; justify-content: space-between;
}
.dwg-card .art {
  height: 130px; border-bottom: 1px solid var(--rule); position: relative; overflow: hidden;
  background:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    var(--paper);
  background-size: 18px 18px, 18px 18px;
}
.dwg-card .art svg { width: 100%; height: 100%; }
.dwg-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dwg-card h4 { font-family: var(--display); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; }
.dwg-card p { font-size: 1rem; color: var(--ink-soft); }
.dwg-card .tags { margin-top: auto; padding-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-family: var(--mono); font-size: 10px; color: var(--ink-soft); border: 1px solid var(--rule); padding: 2px 7px; }

/* ---------- life / blog page ---------- */
.life-hero { background: linear-gradient(180deg, #2E2118, #3D2C1E); border-bottom: 4px solid var(--copper); }
.life-hero .eyebrow { color: #D9B48F; }
.life-hero h1.display { color: #F5EDE2; }
.life-hero h1.display .amber { color: var(--trace); }
.life-hero p.lede { color: #D8C5AE; }
.life-hero .titleblock { color: #C99B6F; background: rgba(46,33,24,.55); }

.filterbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.filterbar button {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  background: var(--card); border: 1px solid var(--ink); padding: 8px 14px; cursor: pointer; color: var(--ink);
}
.filterbar button:hover { background: #EDE4D8; }
.filterbar button.active { background: var(--ink); color: var(--paper); }

.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 24px; }
.post-card {
  border: 1.5px solid var(--ink); background: var(--card); text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.post-card .photo {
  height: 175px; border-bottom: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .15em; color: rgba(255,255,255,.85);
  text-transform: uppercase;
}
.photo.woodshop { background: repeating-linear-gradient(105deg, #8A5A36, #8A5A36 14px, #7B4E2D 14px, #7B4E2D 28px); }
.photo.mats { background: repeating-linear-gradient(45deg, #4A3C73, #4A3C73 16px, #564788 16px, #564788 32px); }
.photo.acreage { background: repeating-linear-gradient(160deg, #58764F, #58764F 18px, #4C6845 18px, #4C6845 36px); }
.photo.kids { background: repeating-linear-gradient(75deg, #A8473C, #A8473C 15px, #97392F 15px, #97392F 30px); }
.photo.bench { background: repeating-linear-gradient(135deg, #1F4366, #1F4366 16px, #16395C 16px, #16395C 32px); }
.post-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card .meta { display: flex; align-items: center; gap: 10px; }
.post-card time { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); }
.post-card h4 { font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1.15; }
.post-card p { font-size: 1rem; color: var(--ink-soft); }
.post-card .read { font-family: var(--mono); font-size: 11px; letter-spacing: .15em; color: var(--copper); margin-top: auto; padding-top: 10px; }

/* ---------- post page ---------- */
.post-head { padding: 56px 0 36px; }
.post-head .meta { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.post-head h1 {
  font-family: var(--display); font-stretch: 118%; font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.05; text-transform: uppercase;
}
article.prose { max-width: 720px; }
article.prose p { margin-bottom: 1.2em; }
article.prose h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 1.3rem; margin: 1.8em 0 .6em;
}
.figure-ph {
  border: 1.5px dashed var(--copper); background: #FBF3E8;
  font-family: var(--mono); font-size: 12px; color: var(--copper);
  padding: 56px 20px; text-align: center; margin: 1.6em 0; letter-spacing: .1em;
}
.cutlist { font-family: var(--mono); font-size: .85rem; border: 1px solid var(--rule); background: var(--card); }
.cutlist th, .cutlist td { padding: 8px 12px; border-bottom: 1px solid var(--rule); text-align: left; }
.cutlist { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.cutlist th { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- footer ---------- */
footer.site {
  background: var(--ink); color: #B9C7C0; margin-top: 40px;
  font-family: var(--mono); font-size: 12px;
}
footer.site .wrap {
  padding: 34px 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
footer.site a { color: #E4ECE7; }
footer.site .sig { letter-spacing: .12em; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .nav { flex-wrap: wrap; padding: 10px 16px; gap: 8px; }
  .brand { border-right: none; }
  nav.channels { margin-left: 0; width: 100%; }
  nav.channels a { flex: 1; justify-content: center; padding: 10px 6px; border: 1px solid var(--rule); }
  footer.site .wrap { flex-direction: column; }
}


/* ---------- REV B: digital-logic flair ---------- */

/* amber glow on hero CTA + headline accent */
.hero .amber { text-shadow: 0 0 18px rgba(242,163,60,.55); }
.btn.solid { box-shadow: 0 0 16px rgba(242,163,60,.35); }

/* schematic divider strip (logic gates between sections) */
.schematic-strip { padding: 8px 0 0; opacity: .9; }
.schematic-strip svg { display: block; width: 100%; height: 72px; }
.schematic-strip .gate { stroke: var(--blueprint); fill: none; stroke-width: 1.6; }
.schematic-strip .net { stroke: var(--blueprint); stroke-width: 1.2; opacity: .55; }
.schematic-strip .hot { stroke: var(--trace); stroke-width: 2; }
.schematic-strip text { font-family: var(--mono); font-size: 10px; fill: var(--ink-soft); letter-spacing: .12em; }

/* timing-rule under dimension heads: subtle square wave */
.dimhead.clocked::after {
  background:
    repeating-linear-gradient(90deg,
      var(--ink) 0 1px, transparent 1px 14px) ,
    linear-gradient(90deg, var(--ink), transparent);
  height: 1px;
}

/* sheet header polish */
.sheet { box-shadow: 10px 10px 0 rgba(22,57,92,.10); }

/* utilization bars (skills meter, FPGA-style) */
.util { margin-top: 6px; height: 8px; border: 1px solid var(--rule); background: var(--paper); position: relative; }
.util i { position: absolute; inset: 1px auto 1px 1px; background: linear-gradient(90deg, var(--blueprint), #2D6AA3); display: block; }
.part .pn { display: flex; justify-content: space-between; }
.part .pn em { font-style: normal; color: var(--blueprint); }


/* ---------- veteran badge — compact inline chip ---------- */
.hero-vet {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 5px 10px;
  border: 1px solid rgba(143,179,209,.45);
  background: rgba(10,26,48,.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-vet svg { flex-shrink: 0; width: 14px; height: 19px; color: rgba(143,179,209,.8); }
.vet-info { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.vet-branch {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: .1em; color: rgba(212,230,245,.9); text-transform: uppercase;
}
.vet-service {
  font-family: var(--mono); font-size: 9px; letter-spacing: .08em;
  color: rgba(143,179,209,.75); text-transform: uppercase;
}
.vet-ribbon {
  font-family: var(--mono); font-size: 9px; font-weight: 600;
  letter-spacing: .18em; color: var(--blueprint-deep);
  background: rgba(242,163,60,.9); padding: 1px 6px; text-transform: uppercase;
}

/* ---------- o-scope channel tints on nav ---------- */
nav.channels a.work-ch .ch { color: var(--trace); border-color: rgba(242,163,60,.6); }
nav.channels a.life-ch .ch { color: #3ECFCF; border-color: rgba(62,207,207,.6); }
nav.channels a.work-ch:hover { background: rgba(242,163,60,.09); color: var(--ink); }
nav.channels a.life-ch:hover { background: rgba(62,207,207,.08); color: var(--ink); }
nav.channels a[aria-current="page"].work-ch { box-shadow: inset 0 -3px 0 var(--trace); }

/* ---------- oscilloscope measurement readout (hero overlay) ---------- */
.scope-readout {
  position: absolute; bottom: 14px; right: 24px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .07em;
  color: rgba(143,179,209,.55); pointer-events: none; z-index: 1;
  line-height: 1.9; text-align: right; user-select: none;
}
.scope-readout .ch1-ind { color: rgba(242,163,60,.8); font-weight: 600; }
.scope-readout .ch2-ind { color: rgba(62,207,207,.7); font-weight: 600; }
@media (max-width: 760px) { .scope-readout { display: none; } }

/* ---------- probe-cal snackbar (page-load easter egg) ---------- */
.probe-snack {
  position: fixed; bottom: -48px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 11px; letter-spacing: .13em;
  color: var(--trace); background: rgba(15,42,70,.94);
  border: 1px solid rgba(242,163,60,.32); padding: 8px 22px;
  transition: bottom .45s ease; z-index: 200; white-space: nowrap; pointer-events: none;
}
.probe-snack.visible { bottom: 22px; }

/* Wife veto bubble — rises from behind the chicken tally card */
#chicken-tally { position: relative; }
#chicken-veto {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  opacity: 0;
  font-family: var(--mono); font-size: 10px; letter-spacing: .11em;
  color: #fff; background: rgba(128,18,18,.97);
  border: 1px solid rgba(255,90,90,.38);
  padding: 7px 14px;
  white-space: nowrap; pointer-events: none; z-index: 20;
  transition: opacity .25s ease, transform .32s ease;
}
#chicken-veto::after {
  content: ''; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(128,18,18,.97);
}
#chicken-veto.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- hero: sharper text contrast ---------- */
.hero p.lede { color: #DAEAF7; }
.hero .eyebrow { color: #AECDE6; }

/* ---------- REV C: life hero splash + fixes ---------- */

/* hide schematic strip on narrow screens (it needs width to breathe) */
@media (max-width: 700px) { .schematic-strip { display: none; } }
.schematic-strip svg { height: 80px; }

/* sawdust particle canvas sits behind life hero content */
.life-hero { position: relative; overflow: hidden; }
#sawdust { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* the three-word treatment: sawdust / sweat / three acres */
.w-sawdust {
  background: linear-gradient(180deg, #F6D9A0 10%, #E0A35C 55%, #9A5B30 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 10px rgba(224,163,92,.35));
}
.w-sweat {
  background: linear-gradient(180deg, #D7E4F2 0%, #8FA8D8 60%, #5B6FAE 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
  filter: drop-shadow(0 2px 12px rgba(143,168,216,.35));
}
.w-acres {
  background: linear-gradient(180deg, #C7E0B4 0%, #87AE77 55%, #4F6E49 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 10px rgba(135,174,119,.35));
}

/* shop tally board */
.tally { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tally > div {
  border: 1px solid rgba(217,180,143,.45); background: rgba(20,12,7,.35);
  padding: 10px 16px; font-family: var(--mono); font-size: 11px;
  letter-spacing: .14em; color: #C9A87E; text-transform: uppercase;
}
.tally b { display: block; font-size: 17px; color: #F2C98A; letter-spacing: .04em; margin-top: 2px; }

/* BJJ belt widget */
.bjj-belt { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; }
.belt-bar {
  position: relative; display: inline-block;
  width: 52px; height: 11px;
  background: #1B5FC1;
  border-radius: 2px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.3), 0 0 6px rgba(27,95,193,.5);
}
.belt-stripe {
  position: absolute; top: 0; bottom: 0; width: 6px;
  background: #fff; opacity: .85;
  border-left: 1px solid rgba(0,0,0,.15);
  border-right: 1px solid rgba(0,0,0,.15);
}
.belt-stripe:nth-child(1) { right: 14px; }
.belt-stripe:nth-child(2) { right: 6px; }
.belt-label { font-family: var(--mono); font-size: 14px; color: #F2C98A; letter-spacing: .06em; }
#belt-status {
  display: inline-block; min-width: 18ch;
  transition: opacity .35s ease;
}

/* grain rule under the life hero border */
.life-hero { border-bottom: 4px solid var(--copper); box-shadow: inset 0 -24px 60px rgba(0,0,0,.35); }
