/* BoomZeal toolbox.css · Version 1.2 · Updated 2026-12-02 (1.2: Built-on links, Take the check box. 1.1: carried to tool, Library and card pages: hero with cover card, "More free tools") */
.tbx-hero--page { padding-block: var(--sp-6) var(--sp-8); }
.tbx-hero--page .tbx-hero__title { font-size: clamp(2.6rem, 7vw, 5rem); }
.tbx-hero__cover { max-width: 360px; justify-self: center; width: 100%; transform: rotate(3deg); box-shadow: 10px 10px 0 var(--bright); pointer-events: none; padding-bottom: var(--sp-2); }
.tbx-hero__cover .tbx-cover__title { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.tbx-pill--light { color: var(--on-navy); border-color: var(--on-navy); }
.tbx-section .bz-gate { margin-top: var(--sp-3); }
.tbx-section .tbx-block__head + .bz-gate, .tbx-section .tbx-block__head ~ #bz-tool { margin-top: var(--sp-3); }
   Toolbox page v2: patterns from REI Toy Box (photo hero, tool cards with a cover, "why we built it")
   and Clinic Edge (numbered blocks, count strip, start-with-your-role switch, Open now tags),
   in BoomZeal's black / orange / Oswald (Brand Book v4.3). */

.tbx-hero { background: var(--navy); color: var(--on-navy); padding-block: var(--sp-8); overflow: hidden; }
.tbx-hero__inner { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 900px) { .tbx-hero__inner { grid-template-columns: 1.1fr 0.9fr; } }
.tbx-hero__title { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(3rem, 8vw, 6rem); line-height: 0.92; margin: var(--sp-1) 0 var(--sp-3); color: #FFFFFF; }
.tbx-hero__title span { color: var(--bright); display: block; }
.tbx-hero__lede { font-size: var(--text-md); max-width: 34rem; margin: 0 0 var(--sp-4); color: var(--on-navy); }
.tbx-hero__micro { font-size: var(--text-sm); color: var(--on-navy-muted); margin-top: var(--sp-1); }
.tbx-hero__photo { margin: 0 16px 16px 0; position: relative; }
.tbx-hero__photo::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 4px solid var(--bright); border-radius: 160px 160px 2px 2px; }
.tbx-hero__photo img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 30% center; border-radius: 160px 160px 2px 2px; }

.tbx-strip { background: var(--bright); color: var(--ink); overflow: hidden; border-block: 2px solid var(--ink); }
.tbx-strip__track { display: flex; gap: var(--sp-6); width: max-content; padding: 14px 0; animation: tbxScroll 30s linear infinite; }
.tbx-strip__track span { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(1.1rem, 2.4vw, 1.6rem); letter-spacing: 0.04em; white-space: nowrap; }
@keyframes tbxScroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tbx-strip__track { animation: none; } }

.tbx-section { padding-block: var(--sp-8); }
.tbx-sub { font-size: var(--text-md); max-width: 44rem; margin: var(--sp-2) 0 0; }
.tbx-levels { display: flex; flex-wrap: wrap; gap: var(--sp-1); margin: var(--sp-4) 0 var(--sp-3); }
.tbx-levels button { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: var(--text-base); padding: 0.7rem 1.2rem; border: 2px solid var(--ink); background: transparent; color: var(--ink); border-radius: 2px; cursor: pointer; flex: 1 1 140px; }
.tbx-levels button[aria-selected="true"] { background: var(--ink); color: #FFFFFF; }
.tbx-levels button:focus-visible { outline: 3px solid var(--bright); outline-offset: 2px; }
.tbx-three { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-2); counter-reset: three; }
@media (min-width: 760px) { .tbx-three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tbx-three li { counter-increment: three; background: #FFFFFF; border-top: 4px solid var(--bright); }
.tbx-three a { display: grid; gap: 6px; padding: var(--sp-3); color: var(--ink); text-decoration: none; }
.tbx-three a::before { content: "0" counter(three); font-family: var(--font-head); font-weight: 700; font-size: var(--text-xl); color: var(--bright); line-height: 1; }
.tbx-three b { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: var(--text-md); }
.tbx-three span { color: var(--ink-muted); }
.tbx-three a:hover b { color: var(--burnt); }
.tbx-three__map { margin-top: var(--sp-3); }
.tbx-three__map a, .tbx-link { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--burnt); }

.tbx-block__head { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2); flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: var(--sp-1); }
.tbx-num { margin: 0; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: var(--text-sm); }
.tbx-pill { font-size: var(--text-sm); font-weight: 600; border: 2px solid var(--ink); border-radius: 999px; padding: 3px 12px; display: inline-flex; align-items: center; gap: 6px; }
.tbx-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bright); }
.tbx-pill--draft::before { background: transparent; border: 2px solid var(--ink); }
.tbx-big { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; margin: var(--sp-4) 0 0; max-width: 22ch; }
.tbx-big span { color: var(--bright); }

.tbx-cards { display: grid; gap: var(--sp-3); margin-top: var(--sp-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.tbx-card { display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; background: #FFFFFF; border: 2px solid var(--ink); border-radius: 2px; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.tbx-card > span:not(.tbx-cover) { padding-inline: var(--sp-2); }
.tbx-cover { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; background: var(--bright); aspect-ratio: 16 / 10; padding: var(--sp-2) var(--sp-3); margin-bottom: var(--sp-1); border-bottom: 2px solid var(--ink); overflow: hidden; }
.tbx-cover::before { content: ""; position: absolute; right: -14%; top: -46%; width: 42%; aspect-ratio: 1; background: var(--ink); transform: rotate(18deg); transition: background .15s; }
.tbx-cover::after { content: ""; position: absolute; left: var(--sp-3); top: var(--sp-2); width: 2.5rem; height: 4px; background: var(--bright); }
.tbx-cover__kind { position: relative; font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--burnt); }
.tbx-cover__title { position: relative; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.1; max-width: 78%; }
.tbx-card__kind { font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--burnt); }
.tbx-card__title { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: var(--text-md); line-height: 1.1; }
.tbx-card__line { color: var(--ink-muted); }
.tbx-card__go { margin-top: auto; padding-block: var(--sp-2); font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--burnt); }
.tbx-card:hover, .tbx-card:focus-visible { box-shadow: 6px 6px 0 var(--bright); transform: translate(-2px, -2px); }
.tbx-card:hover .tbx-cover::before { background: #FFFFFF; }
@media (prefers-reduced-motion: reduce) { .tbx-card, .tbx-card:hover { transition: none; transform: none; } }

.tbx-fan { display: flex; justify-content: center; margin: var(--sp-6) 0 var(--sp-4); padding-inline: 20px; }
.tbx-mini { flex: 0 0 auto; width: clamp(90px, 16vw, 150px); aspect-ratio: 3 / 4; background: #FFFFFF; border: 2px solid var(--ink); border-top: 6px solid var(--bright); padding: 10px; display: flex; flex-direction: column; justify-content: flex-end; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(0.75rem, 1.6vw, 1.1rem); line-height: 1.05; margin-inline: -14px; box-shadow: 4px 4px 0 rgba(17, 17, 17, 0.15); }
.tbx-mini i { font-style: normal; font-weight: 600; font-size: 0.65rem; letter-spacing: 0.12em; color: var(--burnt); margin-bottom: 4px; }
.tbx-mini:nth-child(1) { transform: rotate(-10deg) translateY(10px); }
.tbx-mini:nth-child(2) { transform: rotate(-5deg); }
.tbx-mini:nth-child(3) { transform: translateY(-8px); z-index: 1; }
.tbx-mini:nth-child(4) { transform: rotate(5deg); }
.tbx-mini:nth-child(5) { transform: rotate(10deg) translateY(10px); }
.tbx-rows { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
@media (min-width: 760px) { .tbx-rows { columns: 2; column-gap: var(--sp-6); } }
.tbx-rows li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.tbx-rows a { display: grid; grid-template-columns: 1fr auto; gap: 2px var(--sp-2); padding: var(--sp-2) 0; color: var(--ink); text-decoration: none; }
.tbx-rows a::after { content: "\2197"; grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--bright); font-size: 1.3rem; }
.tbx-rows b { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: var(--text-base); }
.tbx-rows span { color: var(--ink-muted); font-size: var(--text-sm); }
.tbx-rows a:hover b { color: var(--burnt); }

.tbx-why { background: var(--navy); color: var(--on-navy); padding-block: var(--sp-8); }
.tbx-why__inner { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 900px) { .tbx-why__inner { grid-template-columns: 0.8fr 1.2fr; } }
.tbx-why__photo { margin: 0; }
.tbx-why__photo img { display: block; width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 180px 180px 2px 2px; }
.tbx-why__text p { font-size: var(--text-md); margin-top: var(--sp-2); }
.tbx-cover--letter { justify-content: space-between; }
.tbx-cover__letter { position: relative; font-family: var(--font-head); font-weight: 700; font-size: clamp(3rem, 6vw, 4.5rem); line-height: 0.9; color: var(--bright); }
.tbx-cover--letter .tbx-cover__title { text-transform: uppercase; font-weight: 700; }
@media (min-width: 1100px) { .tbx-cards--five { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.tbx-cover--letter .tbx-cover__title { font-size: clamp(0.95rem, 1.25vw, 1.15rem); max-width: 100%; overflow-wrap: anywhere; }
.tbx-cover--letter::before { width: 34%; }
.tbx-cover--letter::after { display: none; }
@media (max-width: 1099px) { .tbx-cover--letter { aspect-ratio: auto; min-height: 130px; } }

/* v1.2 sweep 11/25: older pages speak the same language as the toolbox pages */
main > section:not(.tbx-hero):not(.labs-strip):not(.values-band) h2.heading,
main .prose h2:not(.tbx-big):not(.visually-hidden), main .callout .heading {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; line-height: 1;
  font-size: clamp(1.8rem, 4.2vw, 2.8rem); border-top: 2px solid var(--ink); padding-top: var(--sp-2); }
main .values-band h2.heading { font-family: var(--font-head); text-transform: uppercase; font-size: clamp(1.8rem, 4.2vw, 2.8rem); }
.tbx-hero--page .tbx-hero__lede span { color: var(--bright) !important; }
.tbx-hero--page .button { margin-top: var(--sp-1); }

/* 11/25 Giuliana: card covers orange; text and marks on them go black */
.tbx-cover::after { background: var(--ink); }
.tbx-cover__kind, .tbx-cover__letter, .tbx-cover__title { color: var(--ink); }

/* 11/30 Giuliana comment: Source Code list needs more emphasis. Numbered tiles instead of plain rows (this section only). */
#source .tbx-rows { columns: auto; border-top: 0; margin-top: var(--sp-4); display: grid; gap: var(--sp-2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); counter-reset: src; }
#source .tbx-rows li { border-bottom: 0; counter-increment: src; min-width: 0; }
#source .tbx-rows a { height: 100%; box-sizing: border-box; grid-template-columns: 1fr auto; grid-template-rows: auto auto 1fr; gap: 6px var(--sp-2); padding: var(--sp-3); background: #FFFFFF; border: 2px solid var(--ink); border-top: 6px solid var(--bright); border-radius: 2px; transition: transform .15s, box-shadow .15s, background-color .15s; }
#source .tbx-rows a::before { content: "0" counter(src); grid-column: 1; grid-row: 1; font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1; color: var(--bright); }
#source .tbx-rows a::after { content: "\2192"; grid-column: 2; grid-row: 1; align-self: start; font-size: 1.6rem; line-height: 1; color: var(--ink); }
#source .tbx-rows b { grid-column: 1 / -1; font-size: var(--text-md); line-height: 1.1; }
#source .tbx-rows span { grid-column: 1 / -1; font-size: var(--text-base); color: var(--ink-muted); }
#source .tbx-rows a:hover, #source .tbx-rows a:focus-visible { background: var(--bright); box-shadow: 6px 6px 0 var(--ink); transform: translate(-2px, -2px); }
#source .tbx-rows a:hover::before, #source .tbx-rows a:focus-visible::before, #source .tbx-rows a:hover b, #source .tbx-rows a:focus-visible b, #source .tbx-rows a:hover span, #source .tbx-rows a:focus-visible span { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { #source .tbx-rows a { transition: none; } #source .tbx-rows a:hover { transform: none; } }
/* The Floor leads: black feature tile, two columns wide on large screens, so the 7 tiles fill the grid */
#source .tbx-rows li:first-child a { background: var(--ink); }
#source .tbx-rows li:first-child b { color: #FFFFFF; font-size: var(--text-lg); }
#source .tbx-rows li:first-child span { color: var(--on-navy); }
#source .tbx-rows li:first-child a::after { color: var(--bright); }
#source .tbx-rows li:first-child a:hover, #source .tbx-rows li:first-child a:focus-visible { background: var(--bright); }
#source .tbx-rows li:first-child a:hover::after, #source .tbx-rows li:first-child a:focus-visible::after { color: var(--ink); }
@media (min-width: 1000px) { #source .tbx-rows { grid-template-columns: repeat(4, minmax(0, 1fr)); } #source .tbx-rows li:first-child { grid-column: span 2; } }
#source .tbx-rows li:first-child a:hover b, #source .tbx-rows li:first-child a:focus-visible b, #source .tbx-rows li:first-child a:hover span, #source .tbx-rows li:first-child a:focus-visible span { color: var(--ink); }

/* 11/30 Giuliana: same hover feedback on every link. "All free tools" back link and "See all … free tools" link were the only ones with none. */
.tool-back, .tbx-link { text-decoration: none; transition: color .15s; }
.tool-back:hover, .tool-back:focus-visible, .tbx-link:hover, .tbx-link:focus-visible { color: var(--bright); text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .tool-back, .tbx-link { transition: none; } }

/* 11/30 audit (Giuliana: hover shows in some places, not others): every remaining clickable thing on the pages gets the same feedback. */
main a:not([class]), main .pathGo a { transition: color .15s; }
main a:not([class]):hover, main a:not([class]):focus-visible, main .pathGo a:hover, main .pathGo a:focus-visible, main a.pathGo:hover, main a.pathGo:focus-visible { color: var(--bright); text-decoration: underline; }
main summary { cursor: pointer; transition: color .15s; }
main summary:hover, main summary:focus-visible { color: var(--bright); }
.tbx-levels button { transition: background-color .15s, color .15s; }
.tbx-levels button:hover, .tbx-levels button:focus-visible { background: var(--bright); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { main a:not([class]), main .pathGo a, main summary, .tbx-levels button { transition: none; } }

/* 2026-12-02 (v1.2): Standards vs Tools. "Built on" link under a tool card; "Take the check" box at the end of each standard. */
.tbx-cardbox { display: flex; flex-direction: column; }
.tbx-cardbox > .tbx-card { flex: 1; }
.tbx-built { margin: 6px 0 0; font-size: .875rem; color: var(--ink); }
.tbx-built a { color: var(--ink); font-weight: 700; }
.std-check { background: #FFFFFF; }
.std-check__box { border: 2px solid var(--ink); border-radius: 2px; padding: var(--sp-4); background: #FFFFFF; color: var(--ink); }
.std-check__box .heading { margin-top: 0; }
.std-check__more { margin: var(--sp-2) 0 0; font-size: .95rem; }
.climb-hub .tbx-rows li a b { min-width: 11rem; }
