/* Hive Directory. Colours and fonts are tokens set per site from hd_config (functions.php prints them on :root).
   Every page is a run of bands (hero, white, tint, dark, accent) with a rule where two meet, so a long directory
   page reads as sections, not one sheet (tools/wordpress/section-library/README.md, the band rule). */

:root {
	--hd-font: system-ui, sans-serif;
	--hd-display: var(--hd-font);
	--hd-mono: ui-monospace, monospace;
	--hd-ink: #161616;
	--hd-body: #30333d;
	--hd-muted: #5d6170;
	--hd-line: #e3e5ec;
	--hd-tint: #f4f5f9;
	--hd-tint-2: #eceefe;
	--hd-dark: #161616;
	--hd-dark-2: #202022;
	--hd-on-dark: #f4f5f7;
	--hd-on-dark-muted: #b8bcc8;
	--hd-accent: #ddf760;
	--hd-accent-hover: #c6dd56;
	--hd-on-accent: #161616;
	--hd-link: #3346e8;
	--hd-radius: 10px;
	--hd-hero: #161616;
	--hd-header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd-header-h) + 12px); }
body { margin: 0; background: #fff; color: var(--hd-body); font: 400 17px/1.65 var(--hd-font); overflow-wrap: break-word; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--hd-link); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4, h5, h6 { color: var(--hd-ink); font-family: var(--hd-display); line-height: 1.2; letter-spacing: -.012em; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--hd-link); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hd-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--hd-ink); padding: 8px 14px; border-radius: 6px; }
.hd-skip:focus { left: 8px; }

.hd-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hd-wrap--text { max-width: 780px; }
@media (max-width: 600px) { .hd-wrap { padding: 0 16px; } }

/* ------------------------------------------------------------------ header */
.hd-header { position: sticky; top: 0; z-index: 50; background: var(--hd-dark); color: var(--hd-on-dark); border-bottom: 1px solid rgba(255,255,255,.08); }
.hd-header__bar { display: flex; align-items: center; gap: 20px; min-height: var(--hd-header-h); }
.hd-brand { display: inline-flex; align-items: center; color: inherit; text-decoration: none; flex: 0 0 auto; }
.hd-brand img { display: block; height: 40px; width: auto; max-width: 220px; object-fit: contain; }
.hd-brand__name { font: 800 1.15rem/1 var(--hd-display); }
.hd-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hd-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.hd-nav__item { position: relative; }
.hd-nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px; color: var(--hd-on-dark); text-decoration: none; font: 600 .95rem/1.2 var(--hd-font); background: none; border: 0; cursor: pointer; }
.hd-nav__link:hover, .hd-nav__link[aria-current="page"] { background: rgba(255,255,255,.08); }
.hd-nav__sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; background: #fff; border: 1px solid var(--hd-line); border-radius: var(--hd-radius); box-shadow: 0 18px 40px rgba(10,12,20,.18); display: none; }
.hd-nav__sub a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--hd-ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.hd-nav__sub a:hover { background: var(--hd-tint); }
.has-sub.is-open .hd-nav__sub { display: block; }
.hd-nav__cta { margin-left: 8px; }
.hd-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: none; padding: 11px 10px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.hd-burger span:not(.screen-reader-text) { display: block; height: 2px; background: var(--hd-on-dark); border-radius: 2px; }
@media (max-width: 1023px) {
	.hd-burger { display: flex; }
	.hd-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--hd-dark); padding: 12px 16px 20px; flex-direction: column; align-items: stretch; border-bottom: 1px solid rgba(255,255,255,.1); max-height: calc(100vh - var(--hd-header-h)); overflow-y: auto; }
	.hd-header.is-open .hd-nav { display: flex; }
	.hd-nav__list { flex-direction: column; align-items: stretch; }
	.hd-nav__link { width: 100%; justify-content: space-between; padding: 12px; }
	.hd-nav__sub { position: static; box-shadow: none; min-width: 0; margin: 4px 0 8px; }
	.hd-nav__cta { margin: 8px 0 0; text-align: center; }
}

/* ------------------------------------------------------------------ buttons */
.hd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; font: 700 .95rem/1.2 var(--hd-font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.hd-btn--solid { background: var(--hd-accent); color: var(--hd-on-accent); }
.hd-btn--solid:hover { background: var(--hd-accent-hover); }
.hd-btn--ghost { background: transparent; color: var(--hd-ink); border-color: var(--hd-line); }
.hd-btn--ghost:hover { border-color: var(--hd-ink); }
.hd-band--hero .hd-btn--ghost, .hd-band--dark .hd-btn--ghost { color: var(--hd-on-dark); border-color: rgba(255,255,255,.3); }
.hd-band--hero .hd-btn--ghost:hover, .hd-band--dark .hd-btn--ghost:hover { border-color: var(--hd-accent); color: var(--hd-accent); }
.hd-band--accent .hd-btn--solid { background: var(--hd-ink); color: #fff; }
.hd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ------------------------------------------------------------------ bands */
.hd-s { position: relative; padding: 72px 0; }
.hd-s + .hd-s { border-top: 1px solid var(--hd-line); }
@media (max-width: 700px) { .hd-s { padding: 48px 0; } }
.hd-band--white { background: #fff; }
.hd-band--tint { background: var(--hd-tint); }
.hd-band--tools { background: #fff; padding-top: 32px; }
.hd-band--hero { background: var(--hd-hero); color: var(--hd-on-dark-muted); border-top: 0 !important; }
.hd-band--dark { background: var(--hd-dark-2); color: var(--hd-on-dark-muted); }
.hd-band--accent { background: var(--hd-accent); color: var(--hd-on-accent); }
.hd-band--hero h1, .hd-band--hero h2, .hd-band--hero h3, .hd-band--dark h1, .hd-band--dark h2, .hd-band--dark h3 { color: var(--hd-on-dark); }
.hd-band--accent h2, .hd-band--accent h3 { color: var(--hd-on-accent); }
.hd-band--hero a:not(.hd-btn), .hd-band--dark a:not(.hd-btn) { color: var(--hd-on-dark); }
.hd-band--hero + .hd-s, .hd-band--dark + .hd-s, .hd-s + .hd-band--dark, .hd-s + .hd-band--accent { border-top: 0; }
.hd-band--hero { padding: 80px 0 72px; }
.hd-band--hero .hd-title { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; letter-spacing: -.025em; max-width: 22ch; }
.hd-band--hero .hd-lede { font-size: 1.1rem; max-width: 70ch; color: var(--hd-on-dark-muted); }
.hd-band--hero .hd-lede p { margin-bottom: .6em; }
.hd-hero__text { max-width: 900px; }
.hd-anchor { display: block; position: relative; top: calc(-1 * var(--hd-header-h)); }

.hd-title { font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 800; }
.hd-badge { display: block; width: fit-content; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px; background: var(--hd-accent); color: var(--hd-on-accent); font: 700 .8rem/1.2 var(--hd-font); letter-spacing: .02em; }
.hd-subhead { font-weight: 600; color: var(--hd-muted); }
.hd-lede { color: var(--hd-muted); max-width: 72ch; }
.hd-lede > :last-child { margin-bottom: 0; }
.hd-h3 { font-size: 1.25rem; font-weight: 750; margin-top: 1.4em; }
.hd-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font: 600 .85rem/1.4 var(--hd-mono); color: var(--hd-on-dark-muted); }
.hd-crumbs a { color: var(--hd-on-dark-muted) !important; text-decoration: none; }
.hd-crumbs a:hover { color: var(--hd-accent) !important; }

/* split header sections (About the creator) */
.hd-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hd-figure { display: grid; gap: 16px; }
.hd-figure__img { width: 100%; border-radius: var(--hd-radius); object-fit: cover; }
.hd-split .hd-figure { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
@media (max-width: 860px) { .hd-split { grid-template-columns: 1fr; gap: 28px; } }

/* long-form sections (topic pages) */
.hd-prose { max-width: 820px; margin: 0 auto; }
.hd-prose__item { margin-top: 8px; }
.hd-prose .hd-lede, .hd-tool .hd-lede { color: var(--hd-body); max-width: none; }
.hd-prose ul, .hd-prose ol { padding-left: 1.3em; }
.hd-prose li { margin-bottom: .35em; }

/* tool rows (features/06): image and text, one card each */
.hd-band--tools .hd-wrap { display: grid; gap: 20px; max-width: 980px; }
.hd-tool { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; background: #fff; border: 1px solid var(--hd-line); border-radius: calc(var(--hd-radius) + 4px); padding: 24px; }
.hd-tool:not(:has(.hd-tool__media)) { grid-template-columns: 1fr; }
.hd-tool__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--hd-radius); border: 1px solid var(--hd-line); background: var(--hd-tint); }
.hd-tool__title { font-size: 1.45rem; font-weight: 800; }
.hd-tool__title a { color: inherit; }
.hd-tool__text > :last-child { margin-bottom: 0; }
@media (max-width: 760px) { .hd-tool { grid-template-columns: 1fr; padding: 18px; } }

/* feature cards (features/09 and listing features) */
.hd-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 24px; }
.hd-card { position: relative; background: #fff; border: 1px solid var(--hd-line); border-radius: calc(var(--hd-radius) + 2px); padding: 24px; }
.hd-band--white .hd-card { background: var(--hd-tint); }
.hd-card__title { font-size: 1.15rem; font-weight: 750; margin-bottom: .45em; }
.hd-card__kicker { font-weight: 700; color: var(--hd-ink); }
.hd-card__flag { position: absolute; top: -10px; right: 16px; background: var(--hd-accent); color: var(--hd-on-accent); font: 800 .72rem/1 var(--hd-font); padding: 6px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.hd-card__link { font-weight: 700; }
.hd-card p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ listing grid */
.hd-grid { margin-top: 24px; }
.hd-grid__tools { display: grid; gap: 14px; margin-bottom: 22px; }
.hd-search input { width: 100%; max-width: 520px; min-height: 48px; padding: 10px 16px; border: 1px solid var(--hd-line); border-radius: 999px; font: inherit; background: #fff; }
.hd-facets { display: flex; flex-wrap: wrap; gap: 8px; }
.hd-facet { border: 1px solid var(--hd-line); background: #fff; color: var(--hd-ink); border-radius: 999px; padding: 7px 14px; font: 600 .88rem/1.2 var(--hd-font); cursor: pointer; min-height: 36px; }
.hd-facet span { color: var(--hd-muted); font-weight: 500; margin-left: 2px; }
.hd-facet.is-on { background: var(--hd-ink); border-color: var(--hd-ink); color: #fff; }
.hd-facet.is-on span { color: rgba(255,255,255,.7); }
@media (max-width: 700px) { .hd-facets { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; } .hd-facets::-webkit-scrollbar { display: none; } .hd-facet { flex: 0 0 auto; } }
.hd-lcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.hd-lcard { position: relative; background: #fff; border: 1px solid var(--hd-line); border-radius: calc(var(--hd-radius) + 2px); transition: border-color .15s, box-shadow .15s, transform .15s; }
.hd-lcard:hover { border-color: var(--hd-ink); box-shadow: 0 10px 24px rgba(15,18,30,.08); transform: translateY(-1px); }
.hd-lcard.is-more, .hd-lcard.is-bm-hidden, .hd-lcard[hidden] { display: none; }
.hd-grid.is-all .hd-lcard.is-more { display: block; }
.hd-grid.is-filtering .hd-lcard.is-more:not([hidden]) { display: block; }
.hd-lcard__link { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 20px 20px 18px; color: inherit; text-decoration: none; }
.hd-lcard__top { display: flex; align-items: center; gap: 12px; padding-right: 30px; }
.hd-lcard__logo, .hd-listing__logo { flex: 0 0 auto; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; border: 1px solid var(--hd-line); background: #fff; overflow: hidden; }
.hd-lcard__logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.hd-lcard__logo.is-light, .hd-listing__logo.is-light { background: var(--hd-dark); border-color: var(--hd-dark); }
.hd-listing__logo.is-light { background: var(--hd-dark-2); box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 10px 30px rgba(0,0,0,.25); }
.hd-lcard__logo.is-initial, .hd-listing__logo.is-initial { background: var(--hd-tint-2); color: var(--hd-ink); font: 800 1.2rem/1 var(--hd-display); }
.hd-lcard__title { font-size: 1.08rem; font-weight: 750; margin: 0; }
.hd-lcard__rank { margin-left: auto; font: 700 .78rem/1 var(--hd-mono); color: var(--hd-muted); background: var(--hd-tint); border-radius: 6px; padding: 5px 7px; }
.hd-lcard__text { margin: 0; font-size: .93rem; line-height: 1.55; color: var(--hd-muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.hd-lcard__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.hd-chip { font: 600 .74rem/1.2 var(--hd-font); background: var(--hd-tint); color: var(--hd-ink); border-radius: 6px; padding: 4px 8px; }
.hd-bm { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--hd-line); background: #fff; color: #b5b9c6; cursor: pointer; }
.hd-bm[aria-pressed="true"] { color: var(--hd-ink); background: var(--hd-accent); border-color: var(--hd-accent); }
.hd-bm--wide { position: static; width: auto; height: auto; min-height: 44px; padding: 8px 16px; gap: 8px; display: inline-flex; align-items: center; border-radius: 999px; background: transparent; color: var(--hd-on-dark); border-color: rgba(255,255,255,.3); font: 700 .95rem/1.2 var(--hd-font); }
.hd-grid__more { text-align: center; margin: 28px 0 0; }
.hd-grid.is-all .hd-grid__more, .hd-grid.is-filtering .hd-grid__more { display: none; }
.hd-grid__empty { display: none; color: var(--hd-muted); }
.hd-grid.is-bm-empty .hd-grid__empty { display: block; }

/* ------------------------------------------------------------------ post cards */
.hd-pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; }
.hd-pcard { background: #fff; border: 1px solid var(--hd-line); border-radius: calc(var(--hd-radius) + 2px); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.hd-pcard:hover { border-color: var(--hd-ink); box-shadow: 0 10px 24px rgba(15,18,30,.08); }
.hd-pcard__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.hd-pcard__media { display: block; aspect-ratio: 3 / 2; background: var(--hd-tint); overflow: hidden; }
.hd-pcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hd-pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.hd-pcard__date { font: 600 .78rem/1.2 var(--hd-mono); color: var(--hd-muted); }
.hd-pcard__title { font-size: 1.1rem; font-weight: 750; margin: 0; }
.hd-pcard__text { font-size: .93rem; color: var(--hd-muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hd-pcards--index { margin-top: 32px; }
.hd-pager { margin-top: 36px; }
.hd-pager ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.hd-pager a, .hd-pager span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--hd-line); border-radius: 10px; text-decoration: none; color: var(--hd-ink); font-weight: 700; background: #fff; }
.hd-pager .current { background: var(--hd-ink); color: #fff; border-color: var(--hd-ink); }

/* ------------------------------------------------------------------ article (posts) */
.hd-article__title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.025em; }
.hd-article__meta { font: 600 .88rem/1.4 var(--hd-mono); color: var(--hd-on-dark-muted); margin: 0; }
.hd-body { font-size: 1.08rem; line-height: 1.75; color: var(--hd-body); }
.hd-body h2 { font-size: 1.65rem; font-weight: 800; margin: 2.2em 0 .7em; padding-top: .9em; border-top: 1px solid var(--hd-line); }
.hd-body h3 { font-size: 1.3rem; font-weight: 750; margin: 1.8em 0 .6em; }
.hd-body h4 { font-size: 1.1rem; margin: 1.6em 0 .5em; }
.hd-body > :first-child { margin-top: 0; }
.hd-body ul, .hd-body ol { padding-left: 1.4em; }
.hd-body li { margin-bottom: .45em; }
.hd-body blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--hd-accent); background: var(--hd-tint); border-radius: 0 var(--hd-radius) var(--hd-radius) 0; color: var(--hd-ink); }
.hd-body blockquote p:last-child { margin-bottom: 0; }
.hd-body figure { margin: 1.8em 0; }
.hd-body figure img, .hd-body > p img { border-radius: var(--hd-radius); display: block; }
.hd-body figcaption { font-size: .88rem; color: var(--hd-muted); margin-top: 8px; }
.hd-body iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--hd-radius); margin: 1.6em 0; }
.hd-body pre { overflow-x: auto; background: #0f1220; color: #e9ecf5; padding: 16px 18px; border-radius: var(--hd-radius); font-size: .9rem; }
.hd-body code { font-family: var(--hd-mono); font-size: .92em; background: var(--hd-tint); padding: .1em .35em; border-radius: 4px; }
.hd-body pre code { background: none; padding: 0; }
.hd-body sup { font-size: .72em; }
.hd-body sup a { text-decoration: none; }
.hd-body a { word-break: break-word; }
.hd-table { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--hd-line); border-radius: var(--hd-radius); -webkit-overflow-scrolling: touch; }
.hd-body table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.hd-body > table { display: block; overflow-x: auto; }
.hd-body th, .hd-body td { padding: 11px 14px; border-bottom: 1px solid var(--hd-line); text-align: left; vertical-align: top; }
.hd-body thead th, .hd-body thead td { background: var(--hd-dark); color: #fff; font-weight: 700; font-size: .85rem; }
.hd-body tbody tr:nth-child(even) { background: var(--hd-tint); }
.hd-body tr:last-child td { border-bottom: 0; }
.hd-body h2[id], .hd-body h3[id] { scroll-margin-top: calc(var(--hd-header-h) + 16px); }

/* ------------------------------------------------------------------ listing page */
.hd-listing__cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.hd-glance { background: #fff; color: var(--hd-body); border-radius: calc(var(--hd-radius) + 2px); padding: 20px 22px; font-size: .92rem; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.hd-glance__k { font: 700 .78rem/1.2 var(--hd-mono); color: var(--hd-muted); margin: 0 0 12px; }
.hd-glance dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 14px; }
.hd-glance dt { color: var(--hd-muted); }
.hd-glance dd { margin: 0; font-weight: 700; color: var(--hd-ink); }
.hd-band--hero .hd-glance a { color: var(--hd-link) !important; }
.hd-glance__jump { font-weight: 700; padding-top: 12px; border-top: 1px solid var(--hd-line); display: block; }
.hd-kicker { font: 700 .8rem/1.2 var(--hd-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--hd-muted); margin: 0 0 10px; }
.hd-hubs { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hd-hubs a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--hd-line); border-radius: 999px; background: #fff; color: var(--hd-ink); font-weight: 700; text-decoration: none; }
.hd-hubs a:hover { border-color: var(--hd-ink); }
@media (max-width: 960px) { .hd-listing__cols { grid-template-columns: 1fr; gap: 24px; } .hd-glance { max-width: 520px; } }
.hd-listing__hero { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.hd-listing__logo { width: 112px; height: 112px; border-radius: 18px; border: 0; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hd-listing__logo img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.hd-listing__logo.is-initial { font-size: 2.6rem; }
.hd-listing__cats { font: 600 .9rem/1.5 var(--hd-mono); color: var(--hd-accent); }
.hd-listing__intro .hd-lede strong, .hd-listing__intro .hd-listing__cats strong { color: var(--hd-on-dark); }
@media (max-width: 640px) { .hd-listing__hero { grid-template-columns: 1fr; gap: 18px; } .hd-listing__logo { width: 84px; height: 84px; } }

/* ------------------------------------------------------------------ FAQ, links, network, logos, forms */
.hd-faq { display: grid; gap: 12px; margin-top: 24px; max-width: 880px; }
.hd-faq__item { background: #fff; border: 1px solid var(--hd-line); border-radius: var(--hd-radius); }
.hd-band--white .hd-faq__item { background: var(--hd-tint); }
.hd-faq__item summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font: 700 1.05rem/1.4 var(--hd-display); color: var(--hd-ink); position: relative; }
.hd-faq__item summary::-webkit-details-marker { display: none; }
.hd-faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 500; }
.hd-faq__item[open] summary::after { content: "-"; }
.hd-faq__a { padding: 0 20px 18px; }
.hd-faq__a > :last-child { margin-bottom: 0; }
.hd-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-top: 20px; }
.hd-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hd-links a { font-weight: 600; text-decoration: none; }
.hd-links a:hover { text-decoration: underline; }
.hd-links .hd-h3 { margin-top: 0; font-size: 1.05rem; }
.hd-nets, .hd-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-top: 24px; }
.hd-net { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--hd-line); border-radius: calc(var(--hd-radius) + 2px); padding: 20px; color: inherit; text-decoration: none; }
.hd-net:hover { border-color: var(--hd-ink); }
.hd-net__img { width: 56px; height: 56px; object-fit: contain; }
.hd-net__title { font-size: 1.05rem; font-weight: 750; margin: 0; }
.hd-net p { margin: 0; font-size: .92rem; color: var(--hd-muted); }
.hd-post { background: #fff; border: 1px solid var(--hd-line); border-radius: calc(var(--hd-radius) + 2px); padding: 0 0 20px; overflow: hidden; }
.hd-post > :not(img) { margin-left: 20px; margin-right: 20px; }
.hd-post__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 16px; }
.hd-post__title { font-size: 1.05rem; font-weight: 750; }
.hd-post__title a { color: inherit; text-decoration: none; }
.hd-post p { font-size: .92rem; color: var(--hd-muted); }
.hd-logos { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; margin-top: 12px; }
.hd-logo__img { height: 44px; width: auto; }
.hd-formbox { max-width: 860px; }
.hd-form { margin-top: 18px; }
.hd-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hd-form__wide { grid-column: 1 / -1; }
.hd-form label { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; color: inherit; }
.hd-form input, .hd-form textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid rgba(0,0,0,.18); border-radius: 10px; font: inherit; background: #fff; color: var(--hd-ink); }
.hd-form__inline { display: flex; gap: 10px; flex-wrap: wrap; max-width: 560px; }
.hd-form__inline label { flex: 1 1 240px; }
.hd-form__ok { font-weight: 700; padding: 12px 16px; border-radius: 10px; background: rgba(255,255,255,.14); }
.hd-band--accent .hd-form__ok { background: rgba(0,0,0,.08); }
.hd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .hd-form__grid { grid-template-columns: 1fr; } }

/* article call to action */
.hd-cta__inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.hd-cta__inner .hd-title { margin-bottom: .3em; }

/* ------------------------------------------------------------------ footer */
.hd-footer { background: var(--hd-dark); color: var(--hd-on-dark-muted); padding: 64px 0 28px; font-size: .95rem; }
.hd-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(auto-fit, minmax(180px, 1fr)); gap: 36px; }
.hd-footer__brand img { height: 48px; width: auto; max-width: 220px; object-fit: contain; }
.hd-footer__name { font: 800 1.2rem/1.2 var(--hd-display); color: var(--hd-on-dark); }
.hd-footer__text { margin-top: 12px; }
.hd-footer__h { font: 700 .82rem/1.2 var(--hd-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--hd-on-dark); margin-bottom: 14px; }
.hd-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hd-footer a { color: var(--hd-on-dark-muted); text-decoration: none; }
.hd-footer a:hover { color: var(--hd-accent); }
.hd-social { display: flex; gap: 10px; margin-top: 16px; }
.hd-social__a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); }
.hd-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.hd-footer__base p { margin: 0; }
.hd-footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 760px) { .hd-footer__grid { grid-template-columns: 1fr 1fr; } .hd-footer__brand { grid-column: 1 / -1; } }

.hd-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--hd-ink); color: #fff; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.hd-top:not([hidden]) { display: grid; place-items: center; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
