/* Bear Pit: site styles. Mobile first.
   Brand colours only (Bear Pit Fit brand guide, 6 Nov 2026): Gunmetal, Deep Black, Bone, Rust, Steel Grey.
   White is reserved for the white logo file and is not used here.
   Contrast (WCAG): bone on black 15.2:1, bone on gunmetal 11.3:1, steel on black 6.5:1, steel on gunmetal 5.1:1.
   Rust is used for bars, borders, underlines and large marks only (3.9:1 on black), never for small text.
   Buttons: bone text on rust at 19px bold, which is WCAG "large text" (3.7:1, AA large needs 3:1). */
@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-display-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-weight: 100 700; font-style: normal; font-display: swap;
}
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  --gunmetal: #252A2D;   /* panels, header, footer */
  --black: #111416;      /* page background, dark text */
  --bone: #E8E3D8;       /* logo, main text */
  --rust: #BD542F;       /* accent bars, highlights, underlines */
  --steel: #939B9B;      /* lines, small text */
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --label: "Barlow", "IBM Plex Sans", system-ui, sans-serif;
  --wrap: 1160px;
  --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--bone); background: var(--black); overflow-wrap: break-word; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
a { color: var(--bone); text-decoration: underline; text-decoration-color: var(--rust); text-underline-offset: .22em; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--bone); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--bone); line-height: 1.1; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.3rem, 7vw, 4rem); }
h2, .h2 { font-size: clamp(1.6rem, 4.4vw, 2.3rem); }
h3, .h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.muted { color: var(--steel); }
.small { font-size: .9rem; }
.eyebrow, .label { font-family: var(--label); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); margin: 0 0 1em; font-weight: 600; }
.label { color: var(--bone); }
.label::after { content: ""; display: block; width: 44px; height: 3px; background: var(--rust); margin-top: .55em; }
.lead { font-size: 1.2rem; color: var(--bone); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--bone); color: var(--black); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

/* Preview bar */
.preview-bar { background: var(--black); color: var(--steel); text-align: center; font-family: var(--label); font-size: .78rem; padding: 4px 12px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 2px solid var(--rust); }

/* Logo: original brand files only (bone on gunmetal in the header and footer, black on bone on the checklist) */
.brand { display: inline-flex; align-items: center; text-decoration: none; padding: 6px 0; line-height: 0; }
.brand img { display: block; height: 52px; width: auto; }
@media (min-width: 900px) { .brand img { height: 60px; } }

/* Header and menu */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--gunmetal); border-bottom: 1px solid var(--steel); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; position: relative; }
.nav-toggle { display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid var(--steel); border-radius: var(--radius); padding: 8px 14px; font-family: var(--label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; color: var(--bone); cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 2px; background: var(--bone); position: relative; content: ""; transition: transform .2s; }
.nav-toggle .bars::before { position: absolute; top: -6px; }
.nav-toggle .bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--gunmetal); border-bottom: 1px solid var(--steel); }
.site-nav.open { display: block; }
html:not(.js) .site-nav { display: block; position: static; }
html:not(.js) .nav-toggle { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 8px 20px 16px; }
.site-nav a { display: block; padding: 12px 4px; color: var(--bone); text-decoration: none; font-family: var(--label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .92rem; border-bottom: 1px solid var(--black); }
.site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--rust); padding-left: 14px; }
.site-nav a { display: flex; align-items: center; }
.tab-ring { flex: 0 0 auto; width: 15px; height: 15px; margin-right: 8px; }
.tab-ring circle { fill: none; stroke: var(--steel); stroke-width: 1.2; }
.tab-ring circle.on { stroke: var(--rust); stroke-width: 2.4; }
.nav-page a { color: var(--steel); }
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; background: none; border: 0; }
  .site-nav ul { display: flex; gap: 2px; padding: 0; }
  .site-nav a { border: 0; padding: 8px 11px; font-size: .84rem; border-bottom: 2px solid transparent; }
  .site-nav a:hover { border-bottom-color: var(--steel); }
  .site-nav a[aria-current="page"] { box-shadow: none; padding-left: 11px; border-bottom-color: var(--rust); }
  .nav-first-page { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--steel); }
  .nav-page a[aria-current="page"] { color: var(--bone); }
}

/* Buttons: uppercase Barlow, rust fill (large bold text for contrast) */
.btn { display: inline-block; background: var(--rust); color: var(--bone); padding: 11px 24px; border-radius: 2px; text-decoration: none; border: 2px solid var(--rust); font-family: var(--label); font-weight: 700; font-size: 1.2rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; cursor: pointer; margin: 0 10px 10px 0; }
.btn:hover { background: var(--black); color: var(--bone); border-color: var(--rust); }
.btn-ghost { background: transparent; border-color: var(--steel); color: var(--bone); }
.btn-ghost:hover { background: var(--gunmetal); border-color: var(--bone); }

/* Home hero: full-bleed black and white photo, dark left side for the headline */
.hero { position: relative; overflow: hidden; background: var(--black); border-bottom: 1px solid var(--steel); }
.hero-photo { position: absolute; inset: 0; }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo .cover-img { object-position: 72% 40%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,20,22,.25) 0%, rgba(17,20,22,.7) 45%, #111416 100%); }
.hero-inner { position: relative; padding: 72px 20px 64px; }
.hero h1 { text-transform: uppercase; font-size: clamp(2.5rem, 9vw, 4.5rem); line-height: .98; max-width: 12ch; margin-bottom: .4em; letter-spacing: .01em; }
.hero-sub { font-family: var(--label); font-weight: 600; text-transform: uppercase; letter-spacing: .22em; font-size: clamp(.95rem, 2.4vw, 1.2rem); color: var(--bone); margin-bottom: 1.4em; }
.hero-sub::after { content: ""; display: block; width: 64px; height: 3px; background: var(--rust); margin-top: .7em; }
.hero .lead { max-width: 33em; }
.lead-small { color: var(--steel); max-width: 36em; }
.hero-actions { margin-top: 28px; }
@media (min-width: 900px) {
  .hero { min-height: min(88vh, 820px); display: flex; align-items: center; }
  .hero-photo .cover-img { object-position: right center; }
  .hero-photo::after { background: linear-gradient(90deg, #111416 0%, rgba(17,20,22,.85) 30%, rgba(17,20,22,.2) 62%, rgba(17,20,22,0) 100%), linear-gradient(0deg, #111416 0%, rgba(17,20,22,0) 22%); }
  .hero-inner { padding: 88px 20px 88px; width: 100%; }
  .hero-copy { max-width: 680px; }
  .hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); gap: 40px; align-items: center; }
}
.hero-halo { position: relative; margin-top: 36px; }
.hero-halo > * { position: relative; }
.halo-hint { font-family: var(--label); font-weight: 600; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); margin: 0 0 6px; }
@media (min-width: 900px) { .hero-halo { margin-top: 0; } }

/* The half-ring navigator (macro halo_nav; geometry from RINGS in build.py). Four bands cut in half, flat edge on the
   left, The Pit at the centre. The lit band is rust with a soft glow; its dots, lines and labels show. */
.halo { width: 100%; max-width: 440px; margin: 0 auto; }
.halo-stage { position: relative; }
.halo-svg { display: block; width: 100%; height: auto; overflow: visible; }
.halo .band { cursor: pointer; }
.halo .band-fill { fill: var(--gunmetal); stroke: var(--steel); stroke-width: 1; stroke-opacity: .55; fill-opacity: .5; transition: fill .2s ease, fill-opacity .2s ease, stroke-opacity .2s ease; }
.halo .band:hover .band-fill { stroke-opacity: 1; }
.halo .band-name { fill: var(--steel); font-family: var(--label); font-weight: 700; font-size: 11px; letter-spacing: 2px; transition: fill .2s ease; pointer-events: none; }
.halo .band-baseline .band-name, .halo .band-proof .band-name { font-size: 10px; letter-spacing: 1.5px; }
.halo .glow-shadow { flood-color: var(--rust); flood-opacity: .75; }
.halo .core { fill: var(--bone); fill-opacity: .78; }
.halo .core-name { fill: var(--black); font-family: var(--label); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; pointer-events: none; }
.halo .core-bear { pointer-events: none; }
/* Home page only: no ring lit, no topics, and the centre in rust. */
.halo-home .core { fill: var(--rust); fill-opacity: 1; }
.halo-home .spokes, .halo-home .halo-labels { display: none; }
.halo .spokes { opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; pointer-events: none; }
.halo .spoke line { stroke: var(--bone); stroke-width: 1.25; stroke-opacity: .7; transition: stroke-width .15s ease, stroke-opacity .15s ease; }
.halo .spoke .dot { fill: var(--bone); stroke: var(--black); stroke-width: 1.5; transition: stroke-width .15s ease, stroke .15s ease; }
.halo .spoke .tip { fill: var(--bone); }
.halo .spoke.is-hot line { stroke-width: 2.5; stroke-opacity: 1; }
.halo .spoke.is-hot .dot { stroke: var(--bone); stroke-width: 4; stroke-opacity: .5; }
.halo-labels { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s; pointer-events: none; }
.halo-labels ul { list-style: none; margin: 0; padding: 0; }
.halo-labels li { position: absolute; transform: translateY(-50%); }
.halo-labels a { pointer-events: auto; }
.halo-labels a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px 0 2px; font-family: var(--label); font-weight: 600; font-size: 1rem; letter-spacing: .03em; color: var(--bone); text-decoration: none; white-space: nowrap; text-shadow: 0 0 8px rgba(17,20,22,.95), 0 0 2px rgba(17,20,22,.95); transition: color .15s ease; }
.halo-labels a:hover, .halo-labels a.is-hot, .halo-labels a:focus-visible { text-decoration: underline; text-decoration-color: var(--rust); text-decoration-thickness: 2px; }
.halo[data-ring="lifestyle"] .band-lifestyle .band-fill { fill: var(--rust); fill-opacity: 1; stroke: var(--rust); filter: url(#halo-glow); }
.halo[data-ring="lifestyle"] .band-lifestyle .band-name { fill: var(--bone); }
.halo[data-ring="lifestyle"] .spokes-lifestyle { opacity: 1; visibility: visible; }
.halo[data-ring="lifestyle"] .halo-labels-lifestyle { opacity: 1; visibility: visible; }
.halo[data-ring="lab"] .band-lab .band-fill { fill: var(--rust); fill-opacity: 1; stroke: var(--rust); filter: url(#halo-glow); }
.halo[data-ring="lab"] .band-lab .band-name { fill: var(--bone); }
.halo[data-ring="lab"] .spokes-lab { opacity: 1; visibility: visible; }
.halo[data-ring="lab"] .halo-labels-lab { opacity: 1; visibility: visible; }
.halo[data-ring="baseline"] .band-baseline .band-fill { fill: var(--rust); fill-opacity: 1; stroke: var(--rust); filter: url(#halo-glow); }
.halo[data-ring="baseline"] .band-baseline .band-name { fill: var(--bone); }
.halo[data-ring="baseline"] .spokes-baseline { opacity: 1; visibility: visible; }
.halo[data-ring="baseline"] .halo-labels-baseline { opacity: 1; visibility: visible; }
.halo[data-ring="proof"] .band-proof .band-fill { fill: var(--rust); fill-opacity: 1; stroke: var(--rust); filter: url(#halo-glow); }
.halo[data-ring="proof"] .band-proof .band-name { fill: var(--bone); }
.halo[data-ring="proof"] .spokes-proof { opacity: 1; visibility: visible; }
.halo[data-ring="proof"] .halo-labels-proof { opacity: 1; visibility: visible; }

/* Journey strip: Bear Pit Lab, then Bear Pit Log, then Bear Pit Fit */
.journey { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px; font-family: var(--label); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.journey li { display: flex; align-items: center; }
.journey li + li::before { content: "\203A"; color: var(--rust); font-weight: 700; font-size: 1.1rem; margin: 0 12px; letter-spacing: 0; }
.journey strong { font-weight: 600; color: var(--steel); padding: 2px 0; border-bottom: 2px solid transparent; }
.journey span { display: none; }
.journey .is-here strong { color: var(--bone); border-bottom-color: var(--rust); }
@media (max-width: 480px) { .journey:not(.journey-long) { font-size: .7rem; letter-spacing: .08em; flex-wrap: nowrap; } .journey:not(.journey-long) li + li::before { margin: 0 7px; } }
.journey-long { display: grid; gap: 0; margin: 24px 0 8px; text-transform: none; letter-spacing: 0; font-size: 1rem; border-top: 1px solid var(--steel); }
.journey-long li { display: block; padding: 14px 0; border-bottom: 1px solid var(--steel); }
.journey-long li + li::before { content: none; }
.journey-long strong { display: block; color: var(--bone); font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; border: 0; padding: 0; margin-bottom: 2px; }
.journey-long li:last-child strong { color: var(--bone); }
.journey-long span { display: block; color: var(--bone); font-family: var(--sans); font-size: 1rem; line-height: 1.5; }
@media (min-width: 900px) { .journey-long { grid-template-columns: 1fr 1fr 1.6fr; gap: 0 28px; border-top: 0; } .journey-long li { border-bottom: 0; border-top: 3px solid var(--steel); } .journey-long li:last-child { border-top-color: var(--rust); } }

.band { padding: 72px 0; border-bottom: 1px solid var(--steel); }
@media (min-width: 900px) { .band { padding: 104px 0; } }
.band-dark { background: var(--gunmetal); }
.section-intro { color: var(--bone); max-width: 640px; font-size: 1.1rem; }
.rings-intro { margin-bottom: 40px; }
.ring-cards { display: grid; gap: 18px; }
@media (min-width: 700px) { .ring-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ring-cards { grid-template-columns: repeat(4, 1fr); } }
.ring-card { display: flex; flex-direction: column; background: var(--gunmetal); border-top: 4px solid var(--steel); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--bone); transition: transform .2s; }
.ring-card:hover { transform: translateY(-3px); color: var(--bone); }
.ring-card:hover .ring-card-img img { transform: scale(1.04); }
.ring-card-4 { border-top-color: var(--rust); }
.ring-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--black); }
.ring-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.ring-card-body { display: flex; flex-direction: column; padding: 20px 22px 24px; flex: 1; }
.ring-card p { color: var(--bone); font-size: .98rem; flex: 1; }
.ring-num { font-family: var(--label); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); font-weight: 600; }
.ring-card h3 { font-size: 1.8rem; margin: .2em 0 .35em; }
.more { color: var(--bone); font-family: var(--label); font-weight: 600; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.more::after { content: " \203A"; color: var(--rust); font-weight: 700; }
a.more:hover { text-decoration: underline; text-decoration-color: var(--rust); }

/* Photo band with the tagline (dark lower-left of the frame) */
.photo-band { position: relative; min-height: 380px; display: flex; align-items: flex-end; background: var(--black); border-bottom: 1px solid var(--steel); overflow: hidden; }
.photo-band-img { position: absolute; inset: 0; }
.photo-band-img .cover-img { object-position: 70% center; }
.photo-band-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,20,22,.85) 0%, rgba(17,20,22,.35) 55%, rgba(17,20,22,0) 100%), linear-gradient(0deg, rgba(17,20,22,.8) 0%, rgba(17,20,22,0) 50%); }
.photo-band-inner { position: relative; padding-top: 72px; padding-bottom: 64px; }
.photo-band-line { font-family: var(--serif); text-transform: uppercase; font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1; max-width: 13ch; margin: 0 0 .4em; }
.photo-band-sub { font-family: var(--label); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--bone); margin: 0; }
.photo-band-sub::after { content: ""; display: block; width: 64px; height: 3px; background: var(--rust); margin-top: .7em; }
@media (min-width: 900px) { .photo-band { min-height: 560px; } }

/* Case file band */
.case-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .case-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.case-img { display: block; border-radius: var(--radius); overflow: hidden; border-left: 4px solid var(--rust); aspect-ratio: 16 / 10; }
.case-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-band h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.case-more-h { font-family: var(--label); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin: 28px 0 8px; }
.case-more { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--steel); }
.case-more li { border-bottom: 1px solid var(--steel); }
.case-more a { display: block; padding: 12px 0; color: var(--bone); text-decoration: none; font-size: 1.05rem; }
.case-more a:hover { text-decoration: underline; text-decoration-color: var(--rust); }

/* Page photo (Proof and case pages) */
.page-photo { margin: 8px 0 28px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; background: var(--black); }
.page-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 24px; }
.steps li { counter-increment: s; position: relative; padding: 14px 0 14px 56px; border-bottom: 1px solid var(--steel); font-size: 1.1rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 10px; width: 38px; height: 38px; border: 2px solid var(--rust); color: var(--bone); display: grid; place-items: center; font-family: var(--label); font-weight: 700; border-radius: 50%; }
.plain-list { padding-left: 1.2em; }
.plain-list li { margin-bottom: .6em; }

/* Breadcrumbs */
.crumbs { font-size: .85rem; color: var(--steel); padding: 20px 0 0; }
.crumbs a { color: var(--steel); text-decoration-color: var(--steel); text-decoration-thickness: 1px; }

/* Hub banner photo (ring hubs) */
.hub-banner { position: relative; background: var(--black); border-bottom: 1px solid var(--steel); overflow: hidden; }
.hub-banner-photo { position: absolute; inset: 0; opacity: .45; }
.hub-banner-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #111416 0%, rgba(17,20,22,.7) 35%, rgba(17,20,22,.25) 100%), linear-gradient(0deg, #111416 0%, rgba(17,20,22,0) 45%); }
.hub-banner .wrap { position: relative; }
.hub-banner .hub-head { padding: 12px 0 12px; }
.hub-banner-grid { display: grid; gap: 4px; padding-bottom: 28px; }
.hub-banner .lead { max-width: 34em; }
.halo-banner { padding-top: 8px; }
@media (min-width: 760px) {
  .hub-banner-grid { grid-template-columns: minmax(0, 1fr) minmax(330px, 430px); gap: 32px; align-items: center; padding-bottom: 32px; }
  .hub-banner .hub-head { padding: 28px 0 12px; }
  .halo-banner { padding: 28px 0 0; }
}
@media (min-width: 900px) { .hub-banner { min-height: 470px; } .hub-banner-photo { left: 58%; opacity: 1; } }

/* Hubs */
.hub { padding-bottom: 56px; }
.hub-head { padding: 24px 0 8px; max-width: 800px; }
.article-cards, .entry-cards { list-style: none; padding: 0; margin: 16px 0 32px; display: grid; gap: 14px; }
@media (min-width: 700px) { .article-cards, .entry-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .entry-cards { grid-template-columns: repeat(3, 1fr); } }
.article-card a, .entry-card a { display: block; height: 100%; background: var(--gunmetal); border: 1px solid var(--gunmetal); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--bone); transition: border-color .15s; }
.article-card a:hover, .entry-card a:hover { border-color: var(--steel); }
.article-card p, .entry-card p { color: var(--bone); margin: 0; font-size: .97rem; }
.article-card h2, .entry-card h3 { margin: .3em 0 .35em; }
.card-num { font-family: var(--serif); font-size: 1.6rem; color: var(--rust); }
.article-card-accent a { border-left: 4px solid var(--rust); }
.card-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.kind-tag { font-family: var(--label); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.entry-group { margin-top: 40px; }
.entry-group > h2 { border-bottom: 1px solid var(--steel); padding-bottom: .3em; }
.group-note { color: var(--bone); max-width: 760px; }
.hub-next { color: var(--bone); border-top: 1px solid var(--steel); padding-top: 16px; margin-top: 40px; }
/* One group per dot on the hub pages (macro dot_groups) */
.dot-group { margin-top: 48px; scroll-margin-top: 96px; }
.dot-group > h2 { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--steel); padding-bottom: .3em; transition: border-color .2s ease; }
.dot-group:target > h2 { border-bottom-color: var(--rust); }
.dot-mark { flex: 0 0 auto; width: 12px; height: 12px; border-radius: 50%; background: var(--bone); box-shadow: 0 0 0 4px var(--rust); margin-left: 4px; }
.part-h { font-family: var(--label); font-weight: 600; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin: 28px 0 0; scroll-margin-top: 96px; }
.part-h + .group-note { margin-top: 8px; }
.coming { color: var(--steel); border: 1px dashed var(--steel); border-radius: var(--radius); padding: 14px 18px; margin: 16px 0 0; max-width: 520px; }
.dot-group .grade-key { margin-top: 20px; }
.work-hard { display: grid; grid-template-columns: 1fr 60%; gap: 16px; align-items: center; margin-top: 40px; border-top: 1px solid var(--steel); padding-top: 28px; }
.work-hard .hub-next { border-top: 0; padding-top: 0; margin: 0; }
.work-hard-card { display: block; justify-self: end; width: 100%; max-width: 600px; }
.work-hard-card img { display: block; width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--steel); }
@media (min-width: 1000px) { .work-hard { grid-template-columns: 1fr 600px; gap: 48px; } }
.grade-key { background: var(--gunmetal); border-radius: var(--radius); padding: 18px 20px; margin: 16px 0; }
.grade-key dl { display: grid; gap: 10px; margin: 0 0 8px; }
@media (min-width: 800px) { .grade-key dl { grid-template-columns: repeat(2, 1fr); } }
.grade-key dl div { display: flex; gap: 12px; align-items: baseline; }
.grade-key dt { flex: 0 0 auto; min-width: 104px; }
.grade-key dd { margin: 0; color: var(--bone); font-size: .95rem; }
.stance { border-left: 4px solid var(--rust); background: var(--gunmetal); padding: 16px 20px; margin: 28px 0 24px; max-width: 800px; }
.stance p:last-child { margin-bottom: 0; }

/* Grade badges */
.grade { display: inline-block; font-family: var(--label); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 2px 9px; border-radius: 2px; border: 2px solid; white-space: nowrap; }
.grade-strong { background: var(--bone); color: var(--black); border-color: var(--bone); }
.grade-mixed { background: transparent; color: var(--bone); border-color: var(--bone); }
.grade-early { background: transparent; color: var(--bone); border-color: var(--steel); border-style: dashed; }
.grade-animal { background: transparent; color: var(--bone); border-color: var(--rust); }

/* Articles */
.article { padding-bottom: 56px; }
.article-head { padding: 20px 0 8px; }
.prose { font-size: 1.07rem; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.45rem, 3.6vw, 1.9rem); }
.prose h3 { margin-top: 1.4em; font-family: var(--sans); font-weight: 600; font-size: 1.12rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose strong { color: var(--bone); font-weight: 700; }
.prose .note { margin: 1.4em 0; padding: 14px 18px; background: var(--gunmetal); border-left: 4px solid var(--rust); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--steel); vertical-align: top; }
.prose th { color: var(--steel); font-family: var(--label); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.prose hr { border: 0; border-top: 1px solid var(--steel); margin: 2em 0; }
.sources { margin-top: 40px; border-top: 3px solid var(--rust); padding-top: 12px; }
.sources h2 { font-size: 1.5rem; }
.source-list { padding-left: 1.4em; font-size: .95rem; }
.source-list li { margin-bottom: .6em; }
.src-meta { color: var(--steel); }
.src-note { color: var(--steel); display: block; font-size: .9rem; }
.series { margin-top: 36px; background: var(--gunmetal); border-radius: var(--radius); padding: 18px 22px; }
.series h2 { font-size: 1.3rem; }
.series ol { margin: 0; padding-left: 1.3em; }
.series li { margin-bottom: .35em; }
.series [aria-current] { color: var(--steel); }
.back { margin-top: 24px; }

/* Lab Library entry */
.factbox { display: grid; gap: 12px; margin: 8px 0 20px; }
@media (min-width: 700px) { .factbox { grid-template-columns: 1fr 1fr; } }
.fact { background: var(--gunmetal); border-radius: var(--radius); padding: 16px 18px; }
.fact-label { display: block; font-family: var(--label); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; font-weight: 600; }
.fact-note { color: var(--bone); font-size: .93rem; margin-top: 8px; }
.fact-note p { margin: 0; }
.kind-label { font-weight: 600; }
.toc { border: 1px solid var(--steel); border-radius: var(--radius); padding: 12px 18px; margin-bottom: 8px; }
.toc ul { margin: 0; padding-left: 1.1em; columns: 1; font-size: .95rem; }
@media (min-width: 700px) { .toc ul { columns: 2; } }
.toc li { margin: .2em 0; break-inside: avoid; }
.entry-section { scroll-margin-top: 90px; }
.grade-line { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.legal-grid { display: grid; gap: 12px; }
@media (min-width: 700px) { .legal-grid { grid-template-columns: 1fr 1fr; } }
.legal-card { background: var(--gunmetal); border-radius: var(--radius); padding: 16px 18px; font-size: .97rem; }
.legal-card h3 { font-family: var(--label); font-weight: 700; font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); margin: 0 0 .6em; }
.legal-card p:last-child, .legal-card ul:last-child { margin-bottom: 0; }

/* Checklist sheet (screen): light sheet, so the black logo file is used */
.sheet { background: var(--bone); color: var(--black); border-radius: var(--radius); padding: 22px; margin: 16px 0 28px; font-size: .95rem; line-height: 1.45; }
.sheet a { color: var(--black); }
.sheet h2 { color: var(--black); font-size: 1.25rem; margin: 1em 0 .35em; }
.sheet-mark { margin: 0; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sheet-mark img { height: 44px; width: auto; display: block; }
.sheet-mark span { font-family: var(--label); letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gunmetal); border-left: 4px solid var(--rust); padding-left: 10px; }
.sheet-lines { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 10px 0 0; color: var(--gunmetal); }
.sheet-intro { margin: 12px 0 0; }
.sheet-table { width: 100%; border-collapse: collapse; }
.sheet-table th, .sheet-table td { border-bottom: 1px solid var(--steel); padding: 6px 6px; text-align: left; vertical-align: top; }
.sheet-table th { font-family: var(--label); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gunmetal); }
.sheet-table td:first-child { font-weight: 600; width: 38%; }
.col-res { width: 26%; }
.box { display: inline-block; width: .85em; height: .85em; border: 1.5px solid var(--black); margin-right: 8px; vertical-align: -1px; }
.sheet-q { list-style: none; padding: 0; margin: 0; }
.sheet-q li { padding: 4px 0; }
.sheet-foot { font-size: .8rem; color: var(--gunmetal); margin: 12px 0 0; border-top: 1px solid var(--steel); padding-top: 8px; }
@media (max-width: 600px) {
  .sheet { padding: 14px; font-size: .88rem; }
  .sheet-table td:first-child { width: auto; }
  .sheet-table th:nth-child(2), .sheet-table td:nth-child(2) { display: none; }
}

/* Footer */
.site-footer { background: var(--gunmetal); border-top: 4px solid var(--rust); padding: 36px 0 28px; font-size: .95rem; color: var(--bone); }
.footer-who { color: var(--bone); font-size: 1.05rem; margin-bottom: .4em; }
.footer-advice { margin-bottom: 1.6em; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr 1.3fr; } }
.footer-logo { display: block; height: 64px; width: auto; margin: 0 0 .6em -8px; }
.tagline { font-family: var(--label); font-weight: 600; text-transform: uppercase; letter-spacing: .18em; font-size: .95rem; color: var(--bone); }
.tagline::after { content: ""; display: block; width: 44px; height: 3px; background: var(--rust); margin-top: .55em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4em; }
.site-footer a { color: var(--bone); text-decoration-color: var(--steel); text-decoration-thickness: 1px; }
.site-footer a:hover { text-decoration-color: var(--rust); }
.footer-small p { font-size: .88rem; color: var(--steel); }

/* Print: only the checklist sheet prints on the checklist page; other pages print plainly */
@media print {
  @page { size: A4; margin: 11mm 12mm; }
  html, body { background: #fff !important; color: #000 !important; font-size: 10pt; }
  .preview-bar, .site-header, .site-footer, .crumbs, .skip, .series, .nav-toggle, .print-btn, .btn, .hero-photo, .hub-banner-photo, .photo-band, .page-photo, .ring-card-img, .case-img { display: none !important; }
  a { color: #000; }
  .halo, .journey { display: none !important; }
  .checklist-page .screen-only { display: none !important; }
  .checklist-page .wrap { max-width: none; padding: 0; }
  .checklist-page .article { padding: 0; }
  .sheet { background: #fff; border-radius: 0; padding: 0; margin: 0; font-size: 10pt; line-height: 1.32; }
  .sheet h2 { font-size: 12pt; margin: 3.2mm 0 1.2mm; font-family: var(--serif); }
  .sheet-mark img { height: 11mm; }
  .sheet-lines { margin-top: 2mm; }
  .sheet-intro { margin-top: 2mm; }
  .sheet-table th, .sheet-table td { padding: 1.8mm 1.5mm; }
  .sheet-table th:nth-child(2), .sheet-table td:nth-child(2) { display: table-cell !important; }
  .sheet-q li { padding: 1.4mm 0; }
  .sheet-foot { font-size: 7.5pt; margin-top: 2.5mm; padding-top: 1.5mm; }
  .sheet, .sheet-table, .sheet-table tr { break-inside: avoid; }
}
.print-btn + .small { display: block; }

/* What people report / The debate */
.tag { display: inline-block; font-family: var(--label); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 1px 7px; border-radius: 2px; border: 1px solid; white-space: nowrap; vertical-align: .1em; margin-right: .35em; }
.tag-user { color: var(--bone); border-color: var(--steel); background: var(--gunmetal); }
.tag-seller { color: var(--bone); border-color: var(--rust); border-width: 2px; background: transparent; }
.tag-study { color: var(--black); border-color: var(--bone); background: var(--bone); }
.tag-fact { color: var(--black); border-color: var(--bone); background: var(--bone); }
.reports-note { font-size: .95rem; color: var(--bone); border-left: 3px solid var(--rust); padding: 4px 0 4px 12px; line-height: 1.9; }
.entry-section blockquote, .prose blockquote { margin: 1em 0; padding: 10px 16px; border-left: 3px solid var(--steel); background: var(--gunmetal); color: var(--bone); font-style: normal; }
.entry-section blockquote p, .prose blockquote p { margin: .3em 0; }
.prose blockquote.big-limit, .prose .big-limit { border-left-color: var(--rust); }
blockquote:has(> p.ask) { margin: 1.6em 0; padding: 16px 20px 16px 22px; background: color-mix(in srgb, var(--steel) 22%, var(--gunmetal)); border-left: 6px solid var(--rust); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.08em; line-height: 1.5; color: var(--bone); }
p.ask { margin: 0; }
p.ask > strong:first-child { display: block; font-family: var(--label); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bone); opacity: .85; margin-bottom: .35em; }
.debate-side { font-weight: 600; }
.decide-line { margin-top: 1.2em; padding: 12px 16px; background: var(--gunmetal); border-radius: var(--radius); }
.books-line { font-size: .92rem; color: var(--steel); margin-top: 1.2em; }
.books-line cite { font-style: italic; color: var(--bone); }
.guide-cards { margin-bottom: 1.4em; }
.prose strong.tag, .entry-body strong.tag { font-weight: 700; }
.prose strong.tag-study, .entry-body strong.tag-study, .prose strong.tag-fact { color: var(--black); }
.prose strong.tag-seller, .entry-body strong.tag-seller, .prose strong.tag-user, .entry-body strong.tag-user { color: var(--bone); }
.footer-lines { color: var(--steel); font-size: .9rem; }

/* Investigations (case files): magnifying-glass mark in bone and rust */
.case-icon { width: 40px; height: 40px; vertical-align: middle; flex: 0 0 auto; }
.case-icon-sm { width: 22px; height: 22px; vertical-align: -5px; margin-right: 4px; }
.group-with-icon { display: flex; align-items: center; gap: 12px; }
.entry-card-case a { border-left: 4px solid var(--rust); }
.plain-link { text-decoration: none; color: var(--bone); }
.plain-link:hover { text-decoration: underline; text-decoration-color: var(--rust); }
.label .case-icon-sm { margin-right: 6px; }

/* Safety pages: hand-drawn SVG diagrams (brand colours only, set in the SVG) */
.entry-card-safety a { border-left: 4px solid var(--rust); }
.diagram { margin: 1.6em 0 2em; }
.diagram > svg { display: block; width: 100%; height: auto; max-width: 640px; margin: 0 auto; border-radius: var(--radius); }
.diagram figcaption { margin-top: .7em; font-size: .92rem; color: var(--steel); line-height: 1.55; }
.diagram figcaption strong { color: var(--bone); }
.diagram text { font-family: var(--label); }
.diagram .dg-label { font-size: 20px; font-weight: 500; }
.diagram .dg-key { font-size: 23px; font-weight: 700; }
.diagram .dg-small { font-size: 16px; font-weight: 500; }
.diagram .dg-step-n { font-size: 17px; font-weight: 700; }
.prose .step-strip { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .prose .step-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.prose .step-strip li { margin: 0; }
.step-strip svg { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.step-strip p { margin: .5em 0 0; font-size: .9rem; line-height: 1.45; }
.step-num { display: inline-block; min-width: 1.6em; padding: 0 .3em; margin-right: .3em; text-align: center; font-family: var(--label); font-weight: 700; color: var(--black); background: var(--rust); border-radius: var(--radius); }
.prose .guideline-strengths { padding: 10px 14px; border-left: 3px solid var(--steel); background: var(--gunmetal); font-size: .95rem; }

/* Link from Baseline to the Bear Pit Log (templates/_log-link.html) */
.log-link { margin: 2em 0; padding: 20px 22px 12px; background: var(--gunmetal); border: 1px solid var(--steel); border-top: 4px solid var(--rust); border-radius: var(--radius); }
.log-link h2 { margin: 0 0 .5em; }
.log-link-label { font-family: var(--label); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .4em; opacity: .85; }
.log-link .btn { margin-top: .3em; }
@media print { .log-link { display: none !important; } }

/* Lab tool page: the concentration triangle sheet (content/lab-tools/). Layout kept from the approved sheet. */
.conc { padding-bottom: 56px; }
.conc-panel { background: var(--gunmetal); border-top: 3px solid var(--rust); border-radius: var(--radius); padding: 26px 24px; margin-top: 28px; }
.conc-panel h2 { font-size: clamp(1.45rem, 3.6vw, 1.75rem); line-height: 1.2; }
.conc-step { font-family: var(--label); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin: 0 0 .5em; }
.conc b { color: var(--bone); font-weight: 600; }
.conc-row { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.conc-row > * { flex: 1 1 280px; min-width: 0; }
.conc-center { text-align: center; }
.conc-big-tri { width: 100%; max-width: 340px; height: auto; }
.conc-formula { font-family: var(--serif); font-size: 1.85rem; text-align: center; margin: 10px 0; }
.conc .frac { display: inline-flex; flex-direction: column; vertical-align: middle; text-align: center; margin: 0 .25em; }
.conc .frac span:first-child { border-bottom: 2px solid var(--bone); padding: 0 .4em .1em; }
.conc .frac span:last-child { padding: .1em .4em 0; }
.conc-howto { margin-top: 18px; }
.conc-tri3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 18px; }
.conc-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.conc-card { background: var(--black); border-radius: var(--radius); padding: 16px; text-align: center; }
.conc-card p { margin: .5em 0 0; font-size: .95rem; }
.conc-card svg { height: auto; }
.conc-eq { background: var(--black); border-radius: var(--radius); padding: 14px 16px; margin: 12px 0; font-size: 1.15rem; text-align: center; overflow-wrap: normal; }
.conc-eq b { color: var(--rust); }
.conc-card .conc-eq { display: flow-root; }
.conc-small { color: var(--steel); font-size: .9rem; }
.conc-tight { margin: 0; }
.conc-after { margin: 16px 0 0; }
.conc-worked { text-align: left; margin-top: 18px; padding: 18px 20px; display: flow-root; }
.conc-worked p { font-size: 1.0625rem; margin: 0 0 .8em; }
.conc-worked .conc-step { font-size: .8rem; }
.conc-worked .conc-eq { background: var(--gunmetal); }
.conc-dog { float: right; width: 38%; max-width: 240px; height: auto; margin: 4px 0 10px 18px; border-radius: 6px; }
@media (max-width: 520px) { .conc-dog { float: none; display: block; width: 100%; max-width: none; margin: 8px 0 12px; } }
.conc-note { border-left: 3px solid var(--steel); padding: 2px 0 2px 16px; color: var(--steel); margin-top: 28px; font-size: .95rem; }
.conc-units { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 16px 0 4px; font-size: .95rem; color: var(--steel); }
.conc-units select, .conc-reset { font: inherit; background: var(--black); color: var(--bone); border: 1px solid var(--steel); border-radius: var(--radius); padding: 5px 10px; }
.conc-reset { cursor: pointer; font-family: var(--label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.conc-reset:hover { border-color: var(--bone); }
.conc-calc { position: relative; max-width: 520px; margin: 10px auto 0; }
.conc-calc svg { display: block; width: 100%; height: auto; }
.conc-slot { position: absolute; transform: translate(-50%, -50%); text-align: center; width: 30%; }
.conc-slot label { display: block; font-family: var(--label); font-weight: 600; font-size: .85rem; letter-spacing: .06em; color: var(--bone); margin-bottom: 4px; }
.conc-slot input { width: 100%; font-family: var(--sans); font-weight: 600; font-size: 1.25rem; text-align: center; background: var(--gunmetal); color: var(--bone); border: 2px solid var(--steel); border-radius: var(--radius); padding: 6px 2px; }
.conc-slot input:focus { outline: none; border-color: var(--bone); }
.conc-slot.found input { background: var(--rust); border-color: var(--rust); color: var(--black); }
.conc-slot small { display: block; color: var(--steel); font-size: .8rem; margin-top: 3px; min-height: 1.2em; }
.s-top { left: 50%; top: 44%; } .s-left { left: 31%; top: 79%; } .s-right { left: 69%; top: 79%; }
.conc-say { text-align: center; font-size: 1.1rem; min-height: 1.7em; margin: 12px 0 0; }
@media (max-width: 480px) { .conc-panel { padding: 22px 16px; } .s-top { top: 40%; } .conc-slot small { margin-top: 1px; font-size: .72rem; } .conc-slot input { font-size: 1rem; } .conc-slot label { font-size: .7rem; letter-spacing: .02em; } .conc-formula { font-size: 1.5rem; } }

/* Search page (templates/search.html, assets/js/search.js). Results reuse the entry-card look from the hubs. */
.search-page { padding-bottom: 64px; }
.search-modes { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--steel); border-radius: var(--radius); overflow: hidden; margin: 8px 0 8px; max-width: 100%; }
@media (min-width: 560px) { .search-modes { display: inline-grid; grid-template-columns: auto auto; } }
.search-mode { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; min-height: 48px; padding: 8px 14px; background: transparent; color: var(--bone); border: 0; font-family: var(--label); font-weight: 600; font-size: .95rem; letter-spacing: .06em; cursor: pointer; }
.search-mode + .search-mode { border-left: 1px solid var(--steel); }
.search-mode.is-on { background: var(--gunmetal); box-shadow: inset 0 -3px 0 var(--rust); }
.search-mode[aria-disabled="true"] { color: var(--steel); cursor: not-allowed; }
.search-mode .soon { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--steel); border-radius: 2px; padding: 0 6px; color: var(--steel); }
.search-ask-note { color: var(--steel); font-size: .92rem; margin: 0 0 22px; }
.search-box { margin: 0 0 6px; }
.search-label { display: block; font-family: var(--label); font-weight: 600; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bone); margin-bottom: 6px; }
.search-input { display: block; width: 100%; font-family: var(--sans); font-size: 1.15rem; line-height: 1.4; color: var(--bone); background: var(--gunmetal); border: 2px solid var(--steel); border-radius: var(--radius); padding: 12px 14px; -webkit-appearance: none; appearance: none; }
.search-input:focus { border-color: var(--bone); }
.search-input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.search-input:disabled { opacity: .6; }
.search-input::placeholder { color: var(--steel); }
.search-help { margin: 8px 0 0; }
.search-status { color: var(--bone); margin: 18px 0 0; font-size: .97rem; }
.search-results { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 14px; }
.search-result a { padding: 18px 20px; }
.search-result .search-title { font-size: 1.45rem; margin: .3em 0 .35em; }
.search-result p { color: var(--bone); }
.search-result mark { background: transparent; color: var(--bone); font-weight: 600; text-decoration: underline; text-decoration-color: var(--rust); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.search-result .search-title mark { font-weight: inherit; }
@media (min-width: 960px) and (max-width: 1159px) { .site-nav a { padding: 8px 8px; letter-spacing: .1em; } .nav-first-page { margin-left: 6px; padding-left: 6px; } }
