/* ============================================================
   HOLISTIC RADAR — theme stylesheet v2 "Paper Radar"
   Light editorial: warm ivory paper, charcoal ink, terracotta
   signal, steel-blue secondary. No green anywhere.
   Type: Schibsted Grotesk (display) · Source Serif 4 (serif accents)
         IBM Plex Sans (body) · IBM Plex Mono (data)
   ============================================================ */

:root {
  --hr-bg: #F4F0E7;
  --hr-bg2: #EDE7DA;
  --hr-panel: #FBF9F3;
  --hr-panel-2: #F1ECE0;
  --hr-line: rgba(31, 27, 22, .12);
  --hr-line-strong: rgba(31, 27, 22, .22);
  --hr-ink: #1F1B16;
  --hr-muted: #6F665A;
  --hr-accent: #C6613F;
  --hr-accent-hover: #B4502F;
  --hr-accent-dim: rgba(198, 97, 63, .1);
  --hr-accent-ink: #FFF6F1;
  --hr-blue: #59729B;
  --hr-blue-dim: rgba(89, 114, 155, .12);
  --hr-display: "Schibsted Grotesk", sans-serif;
  --hr-serif: "Source Serif 4", Georgia, serif;
  --hr-body: "IBM Plex Sans", sans-serif;
  --hr-mono: "IBM Plex Mono", monospace;
  --hr-wrap: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--hr-bg);
  color: var(--hr-ink);
  font-family: var(--hr-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--hr-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.hr-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--hr-accent); color: var(--hr-accent-ink); padding: 8px 16px; z-index: 99;
}
.hr-skip:focus { left: 0; }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--rd, 0s),
                transform .7s cubic-bezier(.2,.7,.2,1) var(--rd, 0s);
  }
  .reveal.is-in { opacity: 1; transform: none; }
  .reveal.is-instant { transition: none; }
}

/* ---------- nav ---------- */
.hr-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 240, 231, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hr-line);
}
.hr-nav-inner {
  max-width: var(--hr-wrap); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 40px; height: 70px;
}
.hr-logo {
  font-family: var(--hr-display); font-weight: 700; font-size: 20px;
  color: var(--hr-ink); letter-spacing: -.02em;
  display: inline-flex; align-items: center; gap: 9px;
}
.hr-logo::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--hr-accent); flex-shrink: 0;
}
.hr-logo em { color: var(--hr-accent); font-style: italic; font-family: var(--hr-serif); font-weight: 600; }
.hr-logo:hover { text-decoration: none; }
.hr-nav-links { display: flex; gap: 28px; margin-left: auto; }
.hr-nav-links a {
  font-family: var(--hr-mono); font-size: 12.5px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--hr-muted);
}
.hr-nav-links a:hover { color: var(--hr-accent); text-decoration: none; }
.hr-nav-cta { white-space: nowrap; }

/* ---------- buttons (pill) ---------- */
.hr-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--hr-mono); font-size: 13px; letter-spacing: .05em;
  text-transform: uppercase; font-weight: 500;
  background: var(--hr-ink); color: var(--hr-bg);
  border: 1px solid var(--hr-ink); border-radius: 999px;
  padding: 14px 28px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.hr-btn:hover { background: var(--hr-accent); border-color: var(--hr-accent); color: var(--hr-accent-ink); text-decoration: none; transform: translateY(-1px); }
.hr-btn-accent { background: var(--hr-accent); border-color: var(--hr-accent); color: var(--hr-accent-ink); }
.hr-btn-accent:hover { background: var(--hr-accent-hover); border-color: var(--hr-accent-hover); }
.hr-btn-ghost { background: transparent; color: var(--hr-ink); border-color: var(--hr-line-strong); }
.hr-btn-ghost:hover { background: var(--hr-panel); color: var(--hr-ink); border-color: var(--hr-ink); }
.hr-btn-full { width: 100%; }

/* ---------- sticky CTA pill ---------- */
.hr-sticky-cta {
  position: fixed; bottom: 26px; right: 26px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--hr-ink); color: var(--hr-bg);
  font-family: var(--hr-mono); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase;
  border-radius: 999px; padding: 14px 24px;
  box-shadow: 0 8px 30px rgba(31, 27, 22, .25);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .35s, transform .35s, background .2s;
}
.hr-sticky-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.hr-sticky-cta:hover { background: var(--hr-accent); color: var(--hr-accent-ink); text-decoration: none; }
.hr-sticky-cta .hr-dot { background: var(--hr-accent); }
.hr-sticky-cta:hover .hr-dot { background: var(--hr-accent-ink); }

/* ---------- type ---------- */
.hr-kicker {
  font-family: var(--hr-mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--hr-muted); margin-bottom: 20px;
  display: flex; align-items: center; gap: 9px;
}
.hr-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hr-accent); flex-shrink: 0; }
h1, .hr-h2, h3 { font-family: var(--hr-display); letter-spacing: -.02em; }
h1 {
  font-size: clamp(42px, 4.8vw, 68px); line-height: 1.04; font-weight: 700;
  margin-bottom: 26px;
}
h1 em, .hr-h2 em {
  font-family: var(--hr-serif); font-style: italic; font-weight: 500;
  color: var(--hr-accent); letter-spacing: 0;
}
.hr-h2 {
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; font-weight: 700;
  margin-bottom: 18px; max-width: 20em;
}
.hr-lede { font-size: 18px; color: var(--hr-muted); max-width: 56ch; margin-bottom: 32px; }
.hr-lede strong { color: var(--hr-ink); }
.hr-section-lede { color: var(--hr-muted); max-width: 62ch; margin-bottom: 48px; }

/* ---------- hero ---------- */
.hr-hero { padding: 60px 0 96px; border-bottom: 1px solid var(--hr-line); position: relative; overflow: hidden; }
.hr-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(31,27,22,.04) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(31,27,22,.04) 1px, transparent 1px) 0 0 / 56px 100%;
  mask-image: radial-gradient(70% 70% at 70% 30%, #000 0%, transparent 100%);
}
.hr-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 64px; align-items: center; position: relative;
}
.hr-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hr-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 36px; }
.hr-stat dt {
  font-family: var(--hr-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--hr-muted); margin-bottom: 4px;
}
.hr-stat dd { font-family: var(--hr-display); font-size: 26px; font-weight: 700; color: var(--hr-ink); }

/* ---------- radar ---------- */
.hr-hero-radar { position: relative; }
.hr-radar { position: relative; aspect-ratio: 1; }
.hr-radar svg { width: 100%; height: 100%; }

@media (prefers-reduced-motion: no-preference) {
  .hr-sweep { transform-origin: 280px 280px; animation: hr-sweep 7s linear infinite; }
  .hr-blip { animation: hr-blip 7s ease-out infinite; animation-delay: var(--bd, 0s); }
  .hr-pulse { animation: hr-pulse 2.4s ease-out infinite; transform-origin: 280px 280px; }
}
@keyframes hr-sweep { to { transform: rotate(360deg); } }
@keyframes hr-blip {
  0%, 6% { opacity: 0; }
  8% { opacity: 1; }
  40% { opacity: .85; }
  70%, 100% { opacity: 0; }
}
.hr-blip { fill: var(--hr-accent); opacity: 0; }
@keyframes hr-pulse {
  0% { transform: scale(.4); opacity: .9; }
  100% { transform: scale(3.4); opacity: 0; }
}

.hr-readout {
  position: absolute; font-family: var(--hr-mono); font-size: 10.5px;
  letter-spacing: .1em; color: var(--hr-muted);
  display: flex; align-items: center; gap: 7px;
}
.hr-readout-tl { top: 2px; left: 2px; color: var(--hr-accent); }
.hr-readout-tr { top: 2px; right: 2px; color: var(--hr-blue); }
.hr-readout-bl { bottom: 2px; left: 2px; }
.hr-readout-br { bottom: 2px; right: 2px; }
.hr-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hr-accent); }
@media (prefers-reduced-motion: no-preference) {
  .hr-dot { animation: hr-dotblink 1.4s steps(2, start) infinite; }
}
@keyframes hr-dotblink { 50% { opacity: .25; } }

.hr-radar-caption {
  font-family: var(--hr-mono); font-size: 10.5px; letter-spacing: .1em;
  color: var(--hr-muted); margin-top: 14px; text-align: center;
}

/* ---------- sections ---------- */
.hr-section { padding: 104px 0; border-bottom: 1px solid var(--hr-line); }
.hr-section-alt { background: var(--hr-bg2); }

/* ---------- cards ---------- */
.hr-card {
  background: var(--hr-panel);
  border: 1px solid var(--hr-line);
  border-radius: 12px;
  padding: 28px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.hr-card:hover { border-color: var(--hr-line-strong); box-shadow: 0 10px 32px rgba(31,27,22,.07); }
.hr-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--hr-mono); font-size: 11px; letter-spacing: .1em;
  color: var(--hr-muted); margin-bottom: 18px;
}
.hr-tag {
  font-family: var(--hr-mono); font-size: 10px; letter-spacing: .1em;
  border: 1px solid var(--hr-line-strong); border-radius: 999px;
  padding: 4px 10px; color: var(--hr-muted);
}
.hr-tag-accent { color: var(--hr-accent); border-color: rgba(198,97,63,.4); background: var(--hr-accent-dim); }
.hr-tag-blue { color: var(--hr-blue); border-color: rgba(89,114,155,.4); background: var(--hr-blue-dim); }
.hr-card h3 { font-size: 21px; margin-bottom: 6px; }
.hr-card-sub { font-family: var(--hr-mono); font-size: 12px; color: var(--hr-muted); margin-bottom: 14px; }
.hr-card p { color: var(--hr-muted); font-size: 15.5px; }
.hr-card p.hr-card-meta { color: var(--hr-muted); }
.hr-card-link { font-family: var(--hr-mono); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; }

/* ---------- work ---------- */
.hr-work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
.hr-work-card { display: flex; flex-direction: column; gap: 0; }
.hr-work-card > p:not(.hr-card-meta):not(.hr-card-sub) { margin-bottom: 20px; }
.hr-card-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  border-top: 1px solid var(--hr-line); padding-top: 18px; margin: auto 0 18px;
}
.hr-card-stats dt {
  font-family: var(--hr-mono); font-size: 10px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--hr-muted); margin-bottom: 2px;
}
.hr-card-stats dd { font-family: var(--hr-display); font-size: 20px; font-weight: 700; color: var(--hr-accent); }

.hr-roster {
  font-family: var(--hr-mono); font-size: 13px; line-height: 2.1;
  color: var(--hr-muted); border: 1px dashed var(--hr-line-strong);
  border-radius: 12px; padding: 22px 26px; margin-bottom: 40px;
  background: var(--hr-panel);
}
.hr-roster-label {
  display: block; font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--hr-accent); margin-bottom: 8px;
}
.hr-roster-more { color: var(--hr-blue); }

.hr-pullquote {
  border-left: 3px solid var(--hr-accent); padding: 6px 0 6px 28px; max-width: 760px;
}
.hr-pullquote p {
  font-family: var(--hr-serif); font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.4; margin-bottom: 12px; color: var(--hr-ink);
}
.hr-pullquote em { font-style: italic; color: var(--hr-accent); }

/* ---------- engine ---------- */
.hr-engine-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.hr-engine-wide { grid-column: 1 / -1; }
.hr-engine-card h3 { margin-bottom: 8px; }
.hr-engine-def { margin-bottom: 22px; max-width: 60ch; }

/* shared instrument stage */
.hr-stage {
  background: var(--hr-bg); border: 1px solid var(--hr-line);
  border-radius: 8px; padding: 26px;
}

/* entities */
.hr-entity-stage { min-height: 150px; display: flex; align-items: center; }
.hr-entity-line { font-family: var(--hr-mono); font-size: 15px; line-height: 2.4; color: var(--hr-muted); }
.hr-ent { position: relative; color: var(--hr-ink); padding: 2px 4px; border-radius: 3px; transition: background .4s, box-shadow .4s; }
.hr-ent::after {
  content: attr(data-ent);
  position: absolute; top: -16px; left: 0;
  font-size: 8.5px; letter-spacing: .12em; color: var(--hr-blue);
  opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s;
}
.hr-ent.is-lit { background: var(--hr-accent-dim); box-shadow: inset 0 0 0 1px rgba(198,97,63,.5); }
.hr-ent.is-lit::after { opacity: 1; transform: none; }
.hr-ent[data-ent="ORG"].is-lit { background: var(--hr-blue-dim); box-shadow: inset 0 0 0 1px rgba(89,114,155,.5); }
.hr-ent[data-ent="ORG"]::after { color: var(--hr-accent); }

/* n-grams */
.hr-ngram-stage { min-height: 150px; }
.hr-ngram-label { font-family: var(--hr-mono); font-size: 10.5px; letter-spacing: .12em; color: var(--hr-muted); margin-bottom: 16px; }
.hr-ngram-n { color: var(--hr-accent); }
.hr-ngram-line { position: relative; display: flex; gap: 8px; flex-wrap: wrap; padding: 6px 0; }
.hr-tok {
  font-family: var(--hr-mono); font-size: 14px; color: var(--hr-muted);
  border: 1px solid var(--hr-line); border-radius: 6px; padding: 5px 9px;
  background: var(--hr-panel);
  transition: color .3s, border-color .3s, background .3s;
}
.hr-tok.is-win { color: var(--hr-ink); border-color: rgba(198,97,63,.6); background: var(--hr-accent-dim); }
.hr-ngram-out { font-family: var(--hr-mono); font-size: 13px; color: var(--hr-muted); margin-top: 16px; }
.hr-ngram-current { color: var(--hr-accent); }

/* tf-idf */
.hr-tfidf-stage { display: grid; gap: 12px; }
.hr-tfidf-row { display: grid; grid-template-columns: 88px 1fr 44px; gap: 14px; align-items: center; }
.hr-tfidf-term { font-family: var(--hr-mono); font-size: 13px; color: var(--hr-ink); }
.hr-tfidf-bar { height: 10px; background: rgba(31,27,22,.08); border-radius: 999px; overflow: hidden; }
.hr-tfidf-bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, rgba(198,97,63,.55), var(--hr-accent));
  border-radius: 999px;
  transition: width 1.2s cubic-bezier(.2,.7,.2,1);
}
.is-in .hr-tfidf-bar i, .hr-tfidf-stage.is-in .hr-tfidf-bar i { width: var(--w); }
.hr-tfidf-val { font-family: var(--hr-mono); font-size: 12px; color: var(--hr-muted); text-align: right; }
.hr-tfidf-stop .hr-tfidf-term { color: var(--hr-muted); text-decoration: line-through; }
.hr-tfidf-stop .hr-tfidf-bar i { background: rgba(31,27,22,.25); }

/* topical map */
.hr-topical-stage { padding: 14px; }
.hr-topical-stage svg { width: 100%; height: auto; }
.hr-tm-edge { stroke-dasharray: 200; stroke-dashoffset: 200; }
.is-in .hr-tm-edge { animation: hr-draw 1.2s cubic-bezier(.2,.7,.2,1) forwards; }
.hr-tm-edge:nth-child(2) { animation-delay: .15s; }
.hr-tm-edge:nth-child(3) { animation-delay: .3s; }
.hr-tm-edge:nth-child(4) { animation-delay: .45s; }
.hr-tm-edge:nth-child(5) { animation-delay: .6s; }
.hr-tm-edge:nth-child(6) { animation-delay: .9s; }
.hr-tm-edge:nth-child(7) { animation-delay: 1.05s; }
.hr-tm-edge:nth-child(8) { animation-delay: 1.2s; }
.hr-tm-edge:nth-child(9) { animation-delay: 1.35s; }
@keyframes hr-draw { to { stroke-dashoffset: 0; } }
.hr-tm-node { fill: var(--hr-bg); stroke: var(--hr-accent); stroke-width: 1.5; opacity: 0; }
.is-in .hr-tm-node { animation: hr-node-in .5s ease-out forwards; animation-delay: var(--nd, 0s); }
.hr-tm-core { fill: var(--hr-accent); }
.hr-tm-outer { stroke: var(--hr-blue); }
@keyframes hr-node-in { from { opacity: 0; r: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .is-in .hr-tm-core { animation: hr-node-in .5s ease-out forwards, hr-corepulse 3s ease-in-out 1s infinite; }
}
@keyframes hr-corepulse { 50% { fill: #E08A66; } }

/* query networks */
.hr-q-toggle { display: flex; gap: 10px; margin-bottom: 20px; }
.hr-q-btn {
  font-family: var(--hr-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  background: transparent; color: var(--hr-muted);
  border: 1px solid var(--hr-line-strong); border-radius: 999px;
  padding: 9px 18px; cursor: pointer; transition: all .2s;
}
.hr-q-btn:hover { color: var(--hr-ink); }
.hr-q-btn.is-active { background: var(--hr-accent); color: var(--hr-accent-ink); border-color: var(--hr-accent); }
.hr-q-stage {
  background: var(--hr-bg); border: 1px solid var(--hr-line);
  border-radius: 8px; padding: 16px; position: relative;
}
.hr-q-svg { width: 100%; height: auto; display: none; }
.hr-q-svg.is-active { display: block; }

@media (prefers-reduced-motion: no-preference) {
  .hr-q-svg.is-active .hr-q-node { animation: hr-q-pulse 2.2s ease-in-out infinite; }
  .hr-q-svg.is-active .hr-q-hub { animation: hr-q-pulse 2.2s ease-in-out infinite; animation-delay: .2s; }
  .hr-q-svg.is-active .hr-q-edge { stroke-dasharray: 6 5; animation: hr-q-march 1.2s linear infinite; }
}
.hr-q-node { fill: var(--hr-bg); stroke: var(--hr-accent); stroke-width: 1.5; }
.hr-q-hub { fill: var(--hr-accent); }
@keyframes hr-q-pulse { 50% { stroke: #E08A66; } }
@keyframes hr-q-march { to { stroke-dashoffset: -11; } }

.hr-q-seq-node { fill: var(--hr-bg); stroke: rgba(31,27,22,.4); stroke-width: 1.5; }
.hr-q-seq-edge { stroke-dasharray: 200; stroke-dashoffset: 200; }
.hr-q-svg.is-active .hr-q-seq-node { animation: hr-seq-node 4.5s ease-in-out infinite; animation-delay: var(--qd, 0s); }
.hr-q-svg.is-active .hr-q-seq-edge { animation: hr-seq-edge 4.5s cubic-bezier(.2,.7,.2,1) infinite; animation-delay: var(--qd, 0s); }
@keyframes hr-seq-node {
  0%, 4% { fill: var(--hr-bg); stroke: rgba(31,27,22,.4); }
  10%, 70% { fill: var(--hr-accent); stroke: var(--hr-accent); }
  85%, 100% { fill: var(--hr-bg); stroke: rgba(31,27,22,.4); }
}
@keyframes hr-seq-edge {
  0% { stroke-dashoffset: 200; }
  18%, 70% { stroke-dashoffset: 0; }
  85%, 100% { stroke-dashoffset: 200; }
}

.hr-q-walker { offset-path: path("M60 170 C 160 40, 280 40, 360 110 S 560 190, 660 60"); }
@media (prefers-reduced-motion: no-preference) {
  .hr-q-svg.is-active .hr-q-walker { animation: hr-walk 6s cubic-bezier(.45,.05,.55,.95) infinite; }
  .hr-q-svg.is-active .hr-q-path { stroke-dasharray: 900; stroke-dashoffset: 900; animation: hr-pathdraw 6s cubic-bezier(.45,.05,.55,.95) infinite; }
}
@keyframes hr-walk { 0% { offset-distance: 0%; } 90%, 100% { offset-distance: 100%; } }
@keyframes hr-pathdraw { 0% { stroke-dashoffset: 900; } 90%, 100% { stroke-dashoffset: 0; } }

/* ---------- pyramid ---------- */
.hr-pyramid-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px; align-items: center;
}
.hr-pyramid-fig svg { width: 100%; height: auto; }
.hr-py-layer { opacity: 0; transform: translateY(14px); cursor: pointer; }
.is-in .hr-py-layer {
  animation: hr-py-in .6s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: var(--pd, 0s);
}
@keyframes hr-py-in { to { opacity: 1; transform: none; } }
.hr-py-layer path { transition: fill .25s, filter .25s; }
.hr-py-layer.is-hot path { fill: rgba(198,97,63,.3); filter: drop-shadow(0 0 10px rgba(198,97,63,.3)); }
.hr-py-layer[data-layer="6"].is-hot path { fill: rgba(89,114,155,.32); filter: drop-shadow(0 0 10px rgba(89,114,155,.3)); }

.hr-py-list { list-style: none; display: grid; gap: 4px; }
.hr-py-item {
  border: 1px solid transparent; border-radius: 10px;
  padding: 16px 18px; transition: background .25s, border-color .25s; cursor: pointer;
}
.hr-py-item:hover, .hr-py-item.is-hot { background: var(--hr-panel); border-color: var(--hr-line); }
.hr-py-item h3 { font-size: 17px; margin-bottom: 4px; display: flex; align-items: baseline; gap: 12px; }
.hr-py-num { font-family: var(--hr-mono); font-size: 12px; color: var(--hr-accent); }
.hr-py-item[data-layer="6"] .hr-py-num { color: var(--hr-blue); }
.hr-py-item p { color: var(--hr-muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- cialdini ---------- */
.hr-cialdini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hr-ci-card { display: flex; flex-direction: column; padding: 24px; }
.hr-ci-num { font-family: var(--hr-mono); font-size: 12px; color: var(--hr-blue); margin-bottom: 14px; }
.hr-ci-card h3 { font-size: 18px; margin-bottom: 8px; }
.hr-ci-card > p:nth-of-type(2) { font-size: 14px; margin-bottom: 18px; }
.hr-ci-here {
  margin-top: auto; border-top: 1px solid var(--hr-line); padding-top: 14px;
  font-size: 13px !important; color: var(--hr-ink) !important; line-height: 1.5;
}
.hr-ci-here span {
  display: block; font-family: var(--hr-mono); font-size: 9.5px;
  letter-spacing: .14em; color: var(--hr-accent); margin-bottom: 5px;
}
.hr-ci-unity { border-color: rgba(89,114,155,.4); }

/* ---------- availability ---------- */
.hr-avail {
  background: var(--hr-panel); border: 1px solid var(--hr-line); border-radius: 12px;
  padding: 26px 28px; margin-bottom: 48px;
  display: grid; gap: 18px;
}
.hr-avail-head {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-family: var(--hr-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--hr-muted);
}
.hr-avail-head strong { color: var(--hr-accent); font-weight: 500; }
.hr-avail-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; }
.hr-avail-slot {
  border-radius: 8px; padding: 12px 0 10px; text-align: center;
  font-family: var(--hr-mono); font-size: 13px;
  background: var(--hr-panel-2); color: var(--hr-muted);
  border: 1px solid var(--hr-line);
}
.hr-avail-slot span { display: block; font-size: 8px; letter-spacing: .14em; margin-top: 3px; }
.hr-avail-slot.is-open {
  background: transparent; color: var(--hr-accent); border-color: var(--hr-accent);
}
@media (prefers-reduced-motion: no-preference) {
  .hr-avail-slot.is-open { animation: hr-slotglow 2.6s ease-in-out infinite; }
}
@keyframes hr-slotglow { 50% { box-shadow: 0 0 0 4px rgba(198,97,63,.12); } }

/* ---------- offers ---------- */
.hr-offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.hr-offer { display: flex; flex-direction: column; }
.hr-offer-price { font-family: var(--hr-display); font-size: 26px; font-weight: 700; color: var(--hr-ink) !important; margin-bottom: 14px; }
.hr-offer-price span { font-family: var(--hr-mono); font-size: 12px; font-weight: 400; color: var(--hr-muted); }
.hr-offer-featured { border-color: rgba(198,97,63,.5); background: var(--hr-panel); box-shadow: 0 14px 44px rgba(198,97,63,.1); }
.hr-offer-list { list-style: none; margin: 18px 0 26px; display: grid; gap: 8px; }
.hr-offer-list li {
  font-size: 14.5px; color: var(--hr-muted); padding-left: 22px; position: relative;
}
.hr-offer-list li::before { content: "→"; position: absolute; left: 0; color: var(--hr-accent); font-family: var(--hr-mono); }
.hr-offer .hr-btn { margin-top: auto; }

/* ---------- process ---------- */
.hr-process {
  list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  margin-top: 40px;
}
.hr-proc-step { border-top: 2px solid var(--hr-line-strong); padding-top: 20px; position: relative; }
.hr-proc-step::before {
  content: ""; position: absolute; top: -2px; left: 0; width: 36px; height: 2px;
  background: var(--hr-accent);
}
.hr-proc-num { font-family: var(--hr-mono); font-size: 12px; color: var(--hr-accent); margin-bottom: 10px; }
.hr-proc-step h3 { font-size: 19px; margin-bottom: 8px; }
.hr-proc-step p { font-size: 14px; color: var(--hr-muted); line-height: 1.55; }

/* ---------- about / team ---------- */
.hr-about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.hr-about-copy p { color: var(--hr-muted); margin-bottom: 18px; max-width: 60ch; }
.hr-about-copy p strong { color: var(--hr-ink); }
.hr-about-creds { list-style: none; display: grid; gap: 10px; margin-top: 28px; }
.hr-about-creds li {
  font-family: var(--hr-mono); font-size: 13.5px; color: var(--hr-muted);
  border: 1px solid var(--hr-line); border-radius: 8px; padding: 12px 16px;
  background: var(--hr-panel);
}
.hr-about-creds strong { color: var(--hr-accent); }
.hr-about-fig { max-width: 460px; justify-self: end; width: 100%; }
.hr-about-fig image-slot, .hr-about-fig .hr-portrait-img, .hr-about-fig .hr-portrait-ph {
  display: block; width: 100%; min-height: 420px; aspect-ratio: 4 / 5;
  border-radius: 12px; object-fit: cover;
}
.hr-portrait-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: var(--hr-panel-2); border: 1px dashed var(--hr-line-strong);
  text-align: center; padding: 24px;
}
.hr-portrait-ph span { font-family: var(--hr-display); font-weight: 600; font-size: 17px; color: var(--hr-muted); }
.hr-portrait-ph small { font-family: var(--hr-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--hr-muted); opacity: .75; }

.hr-team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 48px; }
.hr-person { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start; }
.hr-person h3 { font-size: 20px; margin-bottom: 2px; }
.hr-person-role { font-family: var(--hr-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--hr-accent); margin-bottom: 10px; }
.hr-person p:not(.hr-person-role) { font-size: 14.5px; }
.hr-person .hr-person-photo { width: 120px; }

/* ---------- faq ---------- */
.hr-faq-wrap { max-width: 880px; }
.hr-faq { display: grid; gap: 10px; margin-top: 40px; }
.hr-faq details {
  background: var(--hr-panel); border: 1px solid var(--hr-line); border-radius: 12px;
}
.hr-faq summary {
  font-family: var(--hr-display); font-size: 17.5px; font-weight: 600;
  padding: 20px 24px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.hr-faq summary::-webkit-details-marker { display: none; }
.hr-faq summary::after {
  content: "+"; font-family: var(--hr-mono); color: var(--hr-accent); font-size: 20px; flex-shrink: 0;
}
.hr-faq details[open] summary::after { content: "−"; }
.hr-faq details p { padding: 0 24px 22px; color: var(--hr-muted); font-size: 15.5px; max-width: 70ch; }

/* ---------- contact ---------- */
.hr-contact { border-bottom: none; }
.hr-contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; }
.hr-contact-alt { color: var(--hr-muted); font-size: 15px; line-height: 2; }
.hr-contact-channels { list-style: none; display: grid; gap: 10px; margin-top: 24px; }
.hr-contact-channels li {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--hr-mono); font-size: 13.5px;
  border: 1px solid var(--hr-line); border-radius: 999px; padding: 12px 20px;
  background: var(--hr-panel); color: var(--hr-muted);
}
.hr-contact-channels li span { color: var(--hr-accent); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; width: 84px; flex-shrink: 0; }
.hr-form { display: grid; gap: 18px; padding: 32px; }
.hr-field { display: grid; gap: 7px; }
.hr-field label {
  font-family: var(--hr-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--hr-muted);
}
.hr-field input, .hr-field textarea {
  background: var(--hr-bg); border: 1px solid var(--hr-line-strong); border-radius: 8px;
  color: var(--hr-ink); font-family: var(--hr-body); font-size: 15.5px;
  padding: 13px 14px; width: 100%; resize: vertical;
}
.hr-field input:focus, .hr-field textarea:focus {
  outline: none; border-color: var(--hr-accent); box-shadow: 0 0 0 3px rgba(198,97,63,.15);
}
.hr-form-note { font-family: var(--hr-mono); font-size: 11.5px; color: var(--hr-muted); text-align: center; }

/* ---------- footer ---------- */
.hr-footer { border-top: 1px solid var(--hr-line); background: var(--hr-bg2); padding: 56px 0; }
.hr-footer-inner { display: grid; gap: 24px; }
.hr-footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.hr-footer-links a {
  font-family: var(--hr-mono); font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--hr-muted);
}
.hr-footer-links a:hover { color: var(--hr-accent); }
.hr-footer-meta { font-size: 13px; color: var(--hr-muted); line-height: 1.9; }
.hr-footer-meta span { font-family: var(--hr-mono); font-size: 11.5px; opacity: .8; }

/* ============================================================
   ARTICLE (single.php) + PAGE (page.php)
   ============================================================ */
.hr-article-wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.hr-breadcrumbs {
  font-family: var(--hr-mono); font-size: 11.5px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--hr-muted);
  display: flex; gap: 10px; flex-wrap: wrap; padding: 28px 0 0;
}
.hr-breadcrumbs a { color: var(--hr-muted); }
.hr-breadcrumbs a:hover { color: var(--hr-accent); }
.hr-breadcrumbs li { list-style: none; display: flex; gap: 10px; }
.hr-breadcrumbs li + li::before { content: "/"; color: var(--hr-line-strong); }

.hr-article-header { padding: 40px 0 36px; border-bottom: 1px solid var(--hr-line); }
.hr-article-header h1 { font-size: clamp(34px, 4vw, 54px); max-width: 22em; }
.hr-article-meta {
  display: flex; gap: 22px; flex-wrap: wrap; align-items: center;
  font-family: var(--hr-mono); font-size: 12px; color: var(--hr-muted);
}
.hr-article-meta strong { color: var(--hr-ink); font-weight: 500; }

.hr-review-banner {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--hr-blue-dim); border: 1px solid rgba(89,114,155,.35);
  border-radius: 12px; padding: 16px 20px; margin: 28px 0 0;
  font-size: 14px; color: var(--hr-ink);
}
.hr-review-banner::before {
  content: "✓"; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--hr-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; margin-top: 2px;
}
.hr-review-banner strong { font-weight: 600; }
.hr-review-banner p { margin: 0; line-height: 1.55; }
.hr-review-banner .hr-review-date { font-family: var(--hr-mono); font-size: 11px; color: var(--hr-muted); display: block; margin-top: 4px; }

.hr-article-grid {
  display: grid; grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px; padding: 48px 0 88px; align-items: start;
}
.hr-toc {
  position: sticky; top: 96px;
  border: 1px solid var(--hr-line); border-radius: 12px; padding: 20px 22px;
  background: var(--hr-panel);
}
.hr-toc-label { font-family: var(--hr-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--hr-muted); margin-bottom: 12px; }
.hr-toc ol { list-style: none; display: grid; gap: 8px; }
.hr-toc a { font-size: 13.5px; color: var(--hr-muted); line-height: 1.4; display: block; }
.hr-toc a:hover, .hr-toc a.is-current { color: var(--hr-accent); text-decoration: none; }

.hr-article-body { font-family: var(--hr-serif); font-size: 18px; line-height: 1.75; color: var(--hr-ink); }
.hr-article-body > * + * { margin-top: 1.15em; }
.hr-article-body h2 {
  font-family: var(--hr-display); font-size: 28px; letter-spacing: -.015em;
  margin-top: 1.8em; padding-top: .4em;
}
.hr-article-body h3 { font-family: var(--hr-display); font-size: 21px; margin-top: 1.5em; }
.hr-article-body strong { font-weight: 600; }
.hr-article-body a { text-decoration: underline; text-decoration-color: rgba(198,97,63,.4); text-underline-offset: 3px; }
.hr-article-body ul, .hr-article-body ol { padding-left: 1.3em; }
.hr-article-body li + li { margin-top: .4em; }
.hr-article-body blockquote {
  border-left: 3px solid var(--hr-accent); padding-left: 22px;
  font-style: italic; color: var(--hr-muted);
}
.hr-article-body table { width: 100%; border-collapse: collapse; font-family: var(--hr-body); font-size: 15px; }
.hr-article-body th, .hr-article-body td { border: 1px solid var(--hr-line); padding: 10px 14px; text-align: left; }
.hr-article-body th { font-family: var(--hr-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; background: var(--hr-panel); }

.hr-takeaways {
  background: var(--hr-panel); border: 1px solid var(--hr-line);
  border-radius: 12px; padding: 24px 28px;
  font-family: var(--hr-body);
}
.hr-takeaways-label { font-family: var(--hr-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--hr-accent); margin-bottom: 14px; }
.hr-takeaways ul { list-style: none; display: grid; gap: 10px; padding: 0; }
.hr-takeaways li { font-size: 15.5px; padding-left: 24px; position: relative; line-height: 1.55; }
.hr-takeaways li::before { content: "→"; position: absolute; left: 0; color: var(--hr-accent); font-family: var(--hr-mono); }

.hr-author-box {
  display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start;
  border: 1px solid var(--hr-line); border-radius: 12px; padding: 26px;
  background: var(--hr-panel); font-family: var(--hr-body); margin-top: 3em;
}
.hr-author-box h3 { font-size: 18px; margin-bottom: 2px; }
.hr-author-box .hr-person-role { margin-bottom: 8px; }
.hr-author-box p { font-size: 14.5px; color: var(--hr-muted); line-height: 1.6; }

.hr-references { font-family: var(--hr-body); font-size: 14px; color: var(--hr-muted); }
.hr-references h2 { font-family: var(--hr-display); font-size: 22px; }
.hr-references ol { padding-left: 1.4em; display: grid; gap: 8px; }

/* page.php */
.hr-page-header { padding: 72px 0 48px; border-bottom: 1px solid var(--hr-line); }
.hr-page-header h1 { font-size: clamp(36px, 4.4vw, 58px); }
.hr-page-body { max-width: 760px; padding: 56px 0 96px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hr-hero-grid, .hr-pyramid-grid, .hr-about-grid, .hr-contact-grid { grid-template-columns: 1fr; }
  .hr-hero-radar { max-width: 560px; margin: 0 auto; }
  .hr-work-grid, .hr-offer-grid { grid-template-columns: 1fr 1fr; }
  .hr-cialdini-grid { grid-template-columns: 1fr 1fr; }
  .hr-process { grid-template-columns: 1fr 1fr; }
  .hr-engine-grid { grid-template-columns: 1fr; }
  .hr-about-fig { justify-self: start; }
  .hr-nav-links { display: none; }
  .hr-team-grid { grid-template-columns: 1fr; }
  .hr-avail-grid { grid-template-columns: repeat(6, 1fr); }
  .hr-article-grid { grid-template-columns: 1fr; }
  .hr-toc { position: static; }
}
@media (max-width: 640px) {
  .hr-work-grid, .hr-offer-grid, .hr-cialdini-grid, .hr-process { grid-template-columns: 1fr; }
  .hr-stats { grid-template-columns: 1fr 1fr; gap: 22px; }
  .hr-section { padding: 72px 0; }
  .hr-wrap { padding: 0 20px; }
  .hr-avail-grid { grid-template-columns: repeat(4, 1fr); }
  .hr-person { grid-template-columns: 1fr; }
  .hr-author-box { grid-template-columns: 1fr; }
}


/* ============================================================
   v2.1 additions: work feature images, extractive summary,
   blog cards, archive, medical page, socials, article CTA
   ============================================================ */

/* work card feature images (minimalist line art) */
.hr-work-fig {
  margin: -28px -28px 22px;
  border-bottom: 1px solid var(--hr-line);
  border-radius: 12px 12px 0 0;
  background: var(--hr-bg);
  overflow: hidden;
}
.hr-work-fig svg { width: 100%; height: auto; display: block; }
.hr-work-fig path, .hr-work-fig rect, .hr-work-fig line { transition: stroke .3s; }
@media (prefers-reduced-motion: no-preference) {
  .hr-work-fig path[stroke="#C6613F"] {
    stroke-dasharray: 600; stroke-dashoffset: 600;
  }
  .is-in .hr-work-fig path[stroke="#C6613F"] {
    animation: hr-draw-long 1.6s cubic-bezier(.2,.7,.2,1) .2s forwards;
  }
}
@keyframes hr-draw-long { to { stroke-dashoffset: 0; } }

/* extractive summary (source context) */
.hr-summary {
  border: 1px solid var(--hr-line-strong);
  border-left: 3px solid var(--hr-accent);
  border-radius: 12px;
  background: var(--hr-panel);
  padding: 28px 32px;
  max-width: 820px;
}
.hr-summary-label {
  font-family: var(--hr-mono); font-size: 10.5px; letter-spacing: .14em;
  color: var(--hr-accent); margin-bottom: 16px;
}
.hr-summary ul { list-style: none; display: grid; gap: 10px; }
.hr-summary li {
  font-family: var(--hr-serif); font-size: 17.5px; line-height: 1.6;
  padding-left: 26px; position: relative;
}
.hr-summary li::before {
  content: "→"; position: absolute; left: 0;
  color: var(--hr-accent); font-family: var(--hr-mono); font-size: 14px;
}

/* blog cards */
.hr-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 36px; }
.hr-post-card { display: flex; flex-direction: column; }
.hr-post-card h2 a, .hr-post-card h3 a { color: var(--hr-ink); }
.hr-post-card h2 a:hover, .hr-post-card h3 a:hover { color: var(--hr-accent); text-decoration: none; }
.hr-post-card h2 { font-size: 21px; margin-bottom: 10px; }
.hr-post-card h3 { margin-bottom: 10px; }
.hr-post-card > p:not(.hr-card-meta):not(.hr-post-card-foot) { margin-bottom: 20px; }
.hr-post-card-foot {
  margin-top: auto; display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--hr-line); padding-top: 16px;
  font-family: var(--hr-mono); font-size: 12px; color: var(--hr-muted);
}

/* archive */
.hr-archive h1 { margin-bottom: 18px; }
.hr-pagination { display: flex; justify-content: center; }
.hr-pagination .nav-links { display: flex; gap: 10px; font-family: var(--hr-mono); font-size: 13px; }
.hr-pagination a, .hr-pagination span.current {
  border: 1px solid var(--hr-line-strong); border-radius: 999px; padding: 8px 16px;
}
.hr-pagination span.current { background: var(--hr-ink); color: var(--hr-bg); border-color: var(--hr-ink); }

/* socials */
.hr-about-social { display: flex; gap: 12px; margin-top: 26px; }
.hr-about-social a {
  font-family: var(--hr-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--hr-line-strong); border-radius: 999px; padding: 9px 18px;
  color: var(--hr-ink);
}
.hr-about-social a:hover { border-color: var(--hr-accent); color: var(--hr-accent); text-decoration: none; }

/* capabilities */
.hr-cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.hr-cap-col h3 { font-size: 22px; margin-bottom: 18px; }
.hr-cap-list { list-style: none; display: grid; gap: 11px; }
.hr-cap-list li {
  font-size: 15.5px; color: var(--hr-muted); padding-left: 26px; position: relative; line-height: 1.5;
}
.hr-cap-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 9px; height: 9px; border-radius: 2px;
  border: 1.5px solid var(--hr-accent); transform: rotate(45deg);
}
.hr-cap-col:nth-child(2) .hr-cap-list li::before { border-color: var(--hr-blue); }
.hr-cap-note { font-family: var(--hr-mono); font-size: 13.5px; color: var(--hr-muted); margin-top: 32px; text-align: center; }

/* end-of-article CTA */
.hr-article-cta {
  margin-top: 3em; border: 1px dashed var(--hr-line-strong); border-radius: 12px;
  padding: 30px; text-align: left; font-family: var(--hr-body);
  background: var(--hr-panel);
}
.hr-article-cta-line { font-family: var(--hr-display); font-size: 22px; font-weight: 700; margin: 6px 0 18px; }

@media (max-width: 1080px) {
  .hr-blog-grid { grid-template-columns: 1fr 1fr; }
  .hr-cap-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hr-blog-grid { grid-template-columns: 1fr; }
  .hr-work-fig { margin: -28px -28px 18px; }
}
