/* drlewicki.com · heroes.css · True Animal Stories / Dog Heroes (Dec 4, 2026)
   Look: the Dog Hero design system (Claude Design): ink ground, cream, brass plate = on record, paper label = as told.
   Rules kept: brass as text only on ink and 24 px or larger; no red; no icons or emoji; the play control sits under the poster. */
@font-face { font-family: "Besley"; src: url("/assets/fonts/besley-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Besley"; src: url("/assets/fonts/besley-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Old Standard TT"; src: url("/assets/fonts/old-standard-tt-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Old Standard TT"; src: url("/assets/fonts/old-standard-tt-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Old Standard TT"; src: url("/assets/fonts/old-standard-tt-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

.sec-heroes {
  --h-ink: #16110b; --h-surface: #231b14; --h-cream: #efe6d2; --h-muted: #b8ab93; --h-brass-text: #c9a458; --h-film-rule: #5a4c3b;
  --h-paper: #efe6d2; --h-paper-2: #f7f1e4; --h-text: #241b13; --h-text-2: #5e4f3e; --h-brass-ink: #7a5b22; --h-rule: #b9a684;
  --h-brass: #b8913f; --h-on-brass: #16110b; --h-copper: #a5603a; --h-label: #e9dcbd; --h-on-label: #3b2f22;
  --h-title: "Besley", Georgia, "Times New Roman", serif;
  --h-old: "Old Standard TT", Georgia, "Times New Roman", serif;
}
.sec-heroes main { background: var(--h-paper); color: var(--h-text); }
.sec-heroes .site-foot { margin-top: 0; }
.sec-heroes .hr h1, .sec-heroes .hr h2, .sec-heroes .hr h3 { font-family: var(--h-title); font-weight: 800; letter-spacing: .01em; line-height: 1.1; text-wrap: balance; }
.sec-heroes .hr a { color: inherit; text-decoration: underline 2px var(--h-brass); text-underline-offset: 3px; }
.sec-heroes .hr a:hover { text-decoration-thickness: 3px; }
.sec-heroes .hr a:focus-visible { outline: 3px solid var(--h-brass); outline-offset: 3px; }

/* plate and label */
.hr-plate, .hr-label > span { display: inline-block; font: 700 .8rem/1 var(--h-title); letter-spacing: .16em; padding: 9px 30px 8px; position: relative; white-space: nowrap; }
.hr-plate { background: linear-gradient(#cfa953, #b8913f 55%, #a37e33); color: var(--h-on-brass); border-radius: 4px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(0, 0, 0, .3), 0 2px 5px rgba(0, 0, 0, .35); }
.hr-plate::before, .hr-plate::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d48a5f, var(--h-copper) 60%, #6e3c22); }
.hr-plate::before { left: 10px; } .hr-plate::after { right: 10px; }
/* the paper label is a luggage label: notched left end, punched hole. It is never a button and never a caption. */
.hr-label { display: inline-block; filter: drop-shadow(1px 2px 0 rgba(36, 27, 19, .28)); }
.hr-label > span { background: var(--h-label); color: var(--h-on-label); padding: 9px 16px 8px 34px;
  clip-path: polygon(13px 0, 100% 0, 100% 100%, 13px 100%, 0 calc(100% - 10px), 0 10px);
  -webkit-mask: radial-gradient(circle at 17px 50%, transparent 4.2px, #000 4.9px); mask: radial-gradient(circle at 17px 50%, transparent 4.2px, #000 4.9px); }

/* top band: the film ground */
.hr-top { background: radial-gradient(120% 140% at 50% 20%, #2a2017 0%, var(--h-ink) 62%); color: var(--h-cream); padding-block: clamp(28px, 5vw, 64px); }
.hr-top-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hr-head { min-width: 0; display: grid; gap: 16px; justify-items: start; }
.hr-head p { margin: 0; }
.hr-crumb { font: 400 .9rem/1.4 var(--f-body); color: var(--h-muted); }
.sec-heroes .hr .hr-top h1 { font-size: clamp(2.3rem, 1.2rem + 4.6vw, 4.6rem); color: var(--h-brass-text); letter-spacing: .015em; margin: 4px 0 0; }
.hr-punch { font: 400 clamp(1.5rem, 1.1rem + 1.5vw, 2.15rem)/1.25 var(--h-old); color: var(--h-cream); max-width: 30ch; }
.hr-punch span { display: block; text-wrap: balance; }
.hr-lead { display: grid; gap: 10px; max-width: 54ch; font: 400 1.08rem/1.6 var(--f-body); color: var(--h-cream); }
.hr-meta { font: 400 italic 1.15rem/1.3 var(--h-old); color: var(--h-muted); }
.hr-portrait { margin: 0; justify-self: center; max-width: 380px; }
.hr-portrait img { display: block; width: 100%; height: auto; background: var(--h-paper-2); padding: 12px; box-shadow: 0 18px 44px rgba(0, 0, 0, .55); }
.hr-portrait figcaption { font: 400 1.03rem/1.4 var(--h-old); color: #d9cdb4; margin-top: 12px; padding-left: 12px; border-left: 4px solid var(--h-brass); }
.hr-top-index { text-align: left; }
.hr-top-index .hr-punch { max-width: 44ch; margin: 14px 0 0; }

/* body on paper */
.hr-body { padding-block: 8px 56px; }
.hr-toc { display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 16px 0; border-bottom: 1px solid var(--h-rule); font: 700 .95rem/1.3 var(--f-body); }
.hr-sec { padding-block: clamp(26px, 4vw, 44px) 4px; scroll-margin-top: 16px; }
.sec-heroes .hr .hr-sec > h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.2rem); padding-bottom: 10px; border-bottom: 3px double var(--h-rule); margin-bottom: 20px; }
.sec-heroes .hr .hr-sec h3 { font-size: 1.22rem; font-weight: 700; margin: 0 0 8px; }
.hr-small { font: 400 .95rem/1.55 var(--f-body); color: var(--h-text-2); max-width: 72ch; }
.hr-ded { font: 400 italic 1.2rem/1.4 var(--h-old); color: var(--h-text); margin-top: 22px; }

/* the film */
.hr-film-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); align-items: start; }
.hr-keys { display: grid; gap: 14px; align-content: start; }
.hr-keys p { margin: 0; }
.hr-film { margin: 0; }
.hr-poster { aspect-ratio: 16 / 9; background: var(--h-ink); border: 1px solid var(--h-ink); }
.hr-poster img, .hr-poster iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.hr-film figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 12px; font: 400 1rem/1.4 var(--f-body); color: var(--h-text-2); }
.sec-heroes .hr a.hr-btn { display: inline-block; background: var(--h-ink); color: var(--h-cream); font: 700 .95rem/1 var(--h-title); letter-spacing: .12em; text-transform: uppercase; padding: 14px 22px 13px; border-radius: 4px; text-decoration: none; }
.sec-heroes .hr a.hr-btn:hover { background: var(--h-surface); }
.hr-soon { font: 800 1.05rem/1.2 var(--h-title); color: var(--h-text); }
.hr-key { display: grid; gap: 8px; justify-items: start; font: 400 1rem/1.45 var(--f-body); }

/* the story */
.hr-story-grid { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.hr-story { min-width: 0; }
.hr-chapter + .hr-chapter { margin-top: 26px; }
.hr-chapter p { margin: 0 0 12px; font: 400 1.08rem/1.7 var(--f-body); }
.hr-ref { font: 700 .72rem/1 var(--f-body); margin-left: 2px; white-space: nowrap; }
.hr-ref + .hr-ref { margin-left: 4px; }
.sec-heroes .hr .hr-ref a { text-decoration: none; color: var(--h-brass-ink); padding: 0 2px; }
.sec-heroes .hr .hr-ref a:hover { text-decoration: underline; }

/* timeline */
.hr-timeline { list-style: none; margin: 0 0 14px; padding: 0; border-left: 2px solid var(--h-rule); max-width: 860px; }
.hr-timeline li { position: relative; display: grid; grid-template-columns: minmax(0, 13.5rem) minmax(0, 1fr); gap: 4px 22px; padding: 9px 0 9px 26px; }
.hr-timeline li::before { content: ""; position: absolute; left: -8px; top: 15px; width: 14px; height: 14px; }
.hr-timeline .hr-t-record::before { border-radius: 50%; background: var(--h-brass); box-shadow: inset 0 0 0 2px var(--h-ink); }
.hr-timeline .hr-t-told::before { background: var(--h-label); border: 2px solid var(--h-on-label); width: 12px; height: 12px; left: -8px; }
.hr-when { font: 700 1.02rem/1.35 var(--h-title); }
.hr-what { font: 400 1.02rem/1.55 var(--f-body); }

/* record and told */
.hr-rt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.hr-rec { background: var(--h-ink); color: var(--h-cream); padding: 22px 24px 20px; }
.hr-rec p { margin: 0 0 12px; }
.hr-rec ul { margin: 0; padding-left: 1.1em; display: grid; gap: 9px; font: 400 1.04rem/1.5 var(--f-body); }
.hr-told { background: var(--h-paper-2); border: 1px solid var(--h-rule); padding: 20px 22px; }
.hr-told ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.hr-told li { display: grid; gap: 8px; justify-items: start; font: 400 1.02rem/1.55 var(--f-body); }

/* people, places, words */
.hr-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 44px; }
.hr-two dl { margin: 0; display: grid; gap: 12px; align-content: start; }
.hr-two dt { font: 700 1.02rem/1.3 var(--h-title); }
.hr-two dd { margin: 2px 0 0; font: 400 1rem/1.5 var(--f-body); color: var(--h-text-2); }
.hr-q { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; font: 400 1.02rem/1.55 var(--f-body); }

/* pictures as prints */
.hr-prints { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; align-content: start; scroll-margin-top: 16px; max-width: 480px; justify-self: end; width: 100%; }
.hr-print { margin: 0; }
.hr-print img { display: block; width: 100%; height: auto; background: var(--h-paper-2); padding: 10px; border: 1px solid var(--h-rule); box-shadow: 0 6px 18px rgba(36, 27, 19, .22); }
.hr-print figcaption { margin-top: 10px; padding-left: 12px; border-left: 4px solid var(--h-brass); font: 400 1.04rem/1.45 var(--h-old); color: var(--h-text); }
.hr-print figcaption b { color: var(--h-text); font-weight: 700; }

/* song */
.hr-lyrics { columns: 2 340px; column-gap: 56px; margin-top: 14px; max-width: 1120px; }
.hr-stanza { break-inside: avoid; margin: 0 0 18px; }
.hr-stanza p { margin: 0; font: 400 1.08rem/1.6 var(--h-old); }
.hr-stanza .hr-part { font: 700 .74rem/1.2 var(--h-title); letter-spacing: .16em; text-transform: uppercase; color: var(--h-text-2); margin-bottom: 4px; }

/* sources */
.hr-sources { margin: 0 0 16px; padding-left: 1.6em; display: grid; gap: 10px; max-width: 86ch; font: 400 1rem/1.5 var(--f-body); }
.hr-sources li span { color: var(--h-text-2); }
.hr-sources li:target { background: var(--h-paper-2); outline: 2px solid var(--h-brass); outline-offset: 4px; }

/* index */
.hr-shelf-lead { max-width: 70ch; font: 400 1.06rem/1.6 var(--f-body); margin: 0 0 22px; }
.hr-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 22px; margin-bottom: 18px; }
.sec-heroes .hr a.hr-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; background: var(--h-ink); color: var(--h-cream); padding: 18px; text-decoration: none; }
.hr-card img { display: block; width: 100%; height: auto; background: var(--h-paper-2); padding: 6px; }
.hr-card-text { display: grid; gap: 10px; justify-items: start; min-width: 0; }
.hr-card-text b { font: 800 1.6rem/1.1 var(--h-title); color: var(--h-brass-text); }
.hr-card-text > span:not(.hr-plate) { font: 400 1.02rem/1.45 var(--f-body); }
.hr-card-meta { font: 400 italic 1rem/1.3 var(--h-old) !important; color: var(--h-muted); }
.sec-heroes .hr a.hr-card:hover b { text-decoration: underline 2px var(--h-brass); text-underline-offset: 4px; }

@media (max-width: 820px) {
  .hr-top-grid { grid-template-columns: minmax(0, 1fr); }
  .hr-portrait { max-width: none; justify-self: stretch; }
  .hr-rt, .hr-two, .hr-film-grid { grid-template-columns: minmax(0, 1fr); }
  .hr-two { gap: 26px; }
  .hr-timeline li { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 980px) {
  .hr-story-grid { grid-template-columns: minmax(0, 1fr); }
  .hr-prints { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin-top: 8px; max-width: none; justify-self: stretch; }
}
@media (max-width: 480px) {
  .sec-heroes .hr a.hr-card { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .hr-plate { letter-spacing: .12em; padding-inline: 26px; }
  .hr-label > span { letter-spacing: .12em; }
}
@media (prefers-reduced-motion: no-preference) { .sec-heroes { scroll-behavior: smooth; } }

/* figures inside the story: the printed page with its lines lit, the quoted words typed under it */
.hr-page { margin: 18px 0 8px; }
.hr-page img { display: block; width: 100%; height: auto; background: var(--h-paper-2); padding: 10px; border: 1px solid var(--h-rule); box-shadow: 0 6px 18px rgba(36, 27, 19, .22); }
.hr-page-q { margin: 14px 0 0; padding: 0 0 0 16px; border-left: 4px solid var(--h-brass); }
.hr-page-q p { margin: 0; font: 400 1.22rem/1.5 var(--h-old); color: var(--h-text); }
.hr-page figcaption { margin-top: 10px; font: 400 15px/1.45 var(--f-body); color: var(--h-text-2); }
/* a row of pictures, each with its own credit */
.hr-trio { margin-top: clamp(28px, 4vw, 44px); }
.hr-trio-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 14px; }
@media (max-width: 820px) { .hr-trio-row { grid-template-columns: minmax(0, 1fr); } }
.hr-sub { font: 400 italic clamp(1.15rem, 1rem + .6vw, 1.45rem)/1.3 var(--h-old); color: var(--h-muted); }

/* Dog Hero No. 2, Sallie (Claude Design, Dec 4): her own ground, SALLIE in cream Abril Fatface, kersey blue only on dark surfaces */
@font-face { font-family: "Abril Fatface"; src: url("/assets/fonts/abril-fatface-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
.hr-th-sallie { --h-ink: #131612; --h-surface: #282d25; --h-kersey: #96acba; --h-display: "Abril Fatface", "Besley", Georgia, serif; }
.hr-th-sallie .hr-top { background: radial-gradient(120% 140% at 50% 20%, #282d25 0%, #131612 64%); }
.sec-heroes .hr.hr-th-sallie .hr-top h1 { font-family: var(--h-display); font-weight: 400; color: var(--h-cream); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(3rem, 1.6rem + 5.6vw, 5.6rem); line-height: 1; }
.hr-th-sallie .hr-meta { color: var(--h-muted); font-style: normal; font-family: var(--h-old); }
.hr-th-sallie .hr-meta .hr-yrs { color: var(--h-kersey); }          /* years in kersey, places in muted cream (Design, Dec 4) */
.hr-th-sallie .hr-portrait { max-width: 520px; }
.sec-heroes .hr.hr-th-sallie .hr-sec > h2 { font-family: var(--h-display); font-weight: 400; letter-spacing: .01em; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); }
.sec-heroes .hr.hr-th-sallie h3 { font-weight: 700; }
.sec-heroes .hr a.hr-card.hr-th-sallie { background: #131612; }
.sec-heroes .hr a.hr-card.hr-th-sallie .hr-card-text b { font-family: var(--h-display); font-weight: 400; color: var(--h-cream); text-transform: uppercase; letter-spacing: .03em; font-size: 2rem; }
.sec-heroes .hr a.hr-card.hr-th-sallie .hr-card-meta { color: var(--h-kersey); }
