/*
 * Hermes Warm Editorial mockup
 * Artwork language: Nous/Hermes editorial engraving and geometric linework
 * Palette: Josh's Claude Code TUI/Desktop theme
 */

body.theme-hermes-warm {
  --bg-deep: #1A1A18;
  --bg-primary: #262624;
  --bg-card: #2E2E2C;
  --bg-card-hover: #353531;
  --surface-soft: rgba(255, 241, 224, 0.045);
  --surface-strong: rgba(255, 241, 224, 0.085);
  --border-subtle: rgba(244, 132, 95, 0.58);
  --border-dim: rgba(232, 228, 220, 0.2);

  --teal: #F4845F;
  --teal-bright: #F4C5B1;
  --teal-dim: rgba(244, 132, 95, 0.14);
  --teal-glow: rgba(244, 132, 95, 0.24);
  --amber: #E8C47C;
  --amber-dim: rgba(232, 196, 124, 0.14);
  --red-alert: #F28B82;

  --text-primary: #E8E4DC;
  --text-secondary: #B8B0A2;
  --text-dim: #867F75;

  --font-display: 'Bodoni Moda', 'Times New Roman', serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius: 0;
  --radius-lg: 0;
  --radius-pill: 0;
  --transition: 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  --max-width: 1380px;

  background-color: var(--bg-deep);
  background-image:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(232, 228, 220, 0.035) 50%, transparent calc(50% + 0.5px)),
    radial-gradient(ellipse 80% 34% at 74% 2%, rgba(244, 132, 95, 0.08), transparent 72%),
    linear-gradient(180deg, #1A1A18 0%, #22221F 46%, #1A1A18 100%);
  background-attachment: fixed;
  color: var(--text-primary);
}

body.theme-hermes-warm::before {
  display: block;
  z-index: 0;
  opacity: 0.17;
  background:
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(232, 228, 220, 0.025) 39px 40px),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(232, 228, 220, 0.018) 39px 40px);
}

.theme-hermes-warm .noise-overlay {
  z-index: 0;
  opacity: 0.055;
  mix-blend-mode: soft-light;
}

.theme-hermes-warm .glitch-overlay {
  z-index: 0;
  opacity: 0.38;
  mix-blend-mode: normal;
}

.theme-hermes-warm .glitch-overlay::before {
  background: rgba(244, 132, 95, 0.22) !important;
}

.theme-hermes-warm .glitch-overlay::after {
  background: rgba(232, 196, 124, 0.16) !important;
}

.theme-hermes-warm .dot-wave-bg {
  top: 94px;
  height: calc(100vh - 94px);
  opacity: 0.86;
  filter: saturate(0.88);
}

.theme-hermes-warm.page-index .dot-wave-bg,
.theme-hermes-warm.page-threat-intelligence .dot-wave-bg {
  opacity: 0.98;
  filter: saturate(0.96) brightness(1.1);
}

@supports (height: 100dvh) {
  .theme-hermes-warm .dot-wave-bg { height: calc(100dvh - 94px); }
}

.theme-hermes-warm a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.theme-hermes-warm a:hover { color: var(--teal-bright); }

.theme-hermes-warm ::selection {
  background: var(--teal);
  color: #1A1A18;
}

.theme-hermes-warm :focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

.theme-hermes-warm .container {
  padding-left: clamp(1.25rem, 4vw, 4rem);
  padding-right: clamp(1.25rem, 4vw, 4rem);
}

.theme-hermes-warm .section {
  padding: clamp(5.5rem, 9vw, 9rem) 0;
  border-top: 1px solid rgba(232, 228, 220, 0.12);
}

.theme-hermes-warm .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.4rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.17em;
}

.theme-hermes-warm .section-label::before {
  content: '';
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: currentColor;
  font-size: 0.88rem;
}

.theme-hermes-warm .section-title,
.theme-hermes-warm .page-header h1,
.theme-hermes-warm .ti-page-header h1 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.theme-hermes-warm .section-title {
  max-width: 900px;
  font-size: clamp(3rem, 6vw, 5.5rem);
  margin-bottom: 2rem;
}

.theme-hermes-warm .text-teal { color: var(--teal); }
.theme-hermes-warm .text-amber { color: var(--amber); }

/* Navigation */
.theme-hermes-warm .nav {
  background: rgba(26, 26, 24, 0.9);
  border-bottom: 1px solid rgba(232, 228, 220, 0.25);
  backdrop-filter: blur(18px) saturate(0.75);
  -webkit-backdrop-filter: blur(18px) saturate(0.75);
  box-shadow: none;
}

.theme-hermes-warm .nav.scrolled {
  background: rgba(26, 26, 24, 0.98);
}

.theme-hermes-warm .nav-inner {
  height: 94px;
  padding-left: clamp(1.25rem, 4vw, 4rem);
  padding-right: clamp(1.25rem, 4vw, 4rem);
}

.theme-hermes-warm .nav-brand {
  position: relative;
  min-width: 150px;
  padding: 0 0 1.05rem 2rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.theme-hermes-warm .nav-brand::after {
  content: 'STRICKLAND / THREAT HUNTER';
  position: absolute;
  left: 2rem;
  bottom: 0;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.48rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.theme-hermes-warm .nav-brand .brand-dot {
  position: absolute;
  left: 0;
  top: -0.08rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0;
  background: none;
  animation: editorial-spin 14s linear infinite;
}

.theme-hermes-warm .nav-brand .brand-dot::before {
  content: '';
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  line-height: 1;
}

@keyframes editorial-spin {
  to { transform: rotate(360deg); }
}

.theme-hermes-warm .nav-links {
  gap: 0;
  border-left: 1px solid rgba(232, 228, 220, 0.18);
}

.theme-hermes-warm .nav-links li {
  border-right: 1px solid rgba(232, 228, 220, 0.18);
}

.theme-hermes-warm .nav-links a {
  display: block;
  padding: 0.78rem 0.86rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme-hermes-warm .nav-links a::after { display: none; }

.theme-hermes-warm .nav-links a:hover,
.theme-hermes-warm .nav-links a.active {
  background: var(--teal);
  color: #1A1A18;
}

.theme-hermes-warm .nav-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-dim);
  border-radius: 0;
  align-items: center;
  justify-content: center;
}

.theme-hermes-warm .nav-toggle span {
  width: 22px;
  height: 1px;
  border-radius: 0;
  background: var(--text-primary);
}

/* Homepage hero */
.theme-hermes-warm.page-index .hero {
  min-height: min(930px, calc(100svh - 20px));
  padding-top: 150px;
  padding-bottom: 6rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(232, 228, 220, 0.2);
  isolation: isolate;
}

.theme-hermes-warm.page-index .hero::before {
  inset: auto -8% 5% auto;
  width: min(58vw, 860px);
  height: min(58vw, 860px);
  background:
    repeating-conic-gradient(from 222deg at 50% 50%, rgba(244, 132, 95, 0.2) 0 0.45deg, transparent 0.45deg 4deg);
  -webkit-mask-image: radial-gradient(circle, transparent 0 22%, black 22.5% 62%, transparent 63%);
  mask-image: radial-gradient(circle, transparent 0 22%, black 22.5% 62%, transparent 63%);
  opacity: 0.58;
}

.theme-hermes-warm.page-index .hero::after {
  display: block;
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal) 18%, var(--teal) 82%, transparent);
  opacity: 0.35;
}

.theme-hermes-warm .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 510px);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.theme-hermes-warm .hero-content::before {
  content: 'FIELD NOTES / 01 / THREAT HUNTING';
  display: block;
  margin-bottom: 1.8rem;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.17em;
}

.theme-hermes-warm .hero-name-row {
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.theme-hermes-warm .hero-name {
  padding-right: 1rem;
  border-right: 1px solid var(--border-dim);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.theme-hermes-warm .hero-name::after { display: none; }

.theme-hermes-warm .hero-tag {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text-dim);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}

.theme-hermes-warm .hero-tag .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 0;
  background: var(--teal);
}

.theme-hermes-warm .hero h1 {
  max-width: 860px;
  margin-bottom: 2rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(4.9rem, 8.2vw, 8.6rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.theme-hermes-warm .hero h1 .text-teal {
  color: var(--teal);
  font-style: italic;
}

.theme-hermes-warm .hero-subtitle {
  max-width: 650px;
  margin-bottom: 2.4rem;
  padding-left: 1.2rem;
  border-left: 1px solid var(--teal);
  color: var(--text-secondary);
  font-size: 1.04rem;
  line-height: 1.7;
}

.theme-hermes-warm .hero-actions { gap: 0.65rem; }

.theme-hermes-warm .hero-pfp {
  position: relative;
  justify-content: flex-end;
}

.theme-hermes-warm .hero-pfp::before {
  content: '';
  position: absolute;
  inset: -10% -14% -8% -10%;
  z-index: -1;
  border: 1px solid rgba(244, 132, 95, 0.34);
  background:
    radial-gradient(circle at 50% 50%, transparent 0 22%, rgba(244, 132, 95, 0.34) 22.25% 22.55%, transparent 22.8% 38%, rgba(232, 196, 124, 0.22) 38.2% 38.45%, transparent 38.7%),
    repeating-conic-gradient(from -28deg, rgba(244, 132, 95, 0.24) 0 0.5deg, transparent 0.5deg 8deg);
  clip-path: polygon(10% 0, 100% 0, 100% 92%, 0 92%, 0 10%);
  opacity: 0.68;
}

.theme-hermes-warm .hero-pfp::after {
  content: 'PORTRAIT / SIGNAL STUDY 01';
  position: absolute;
  right: 0;
  bottom: -2rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.13em;
}

.theme-hermes-warm .hero-pfp .pfp-ring {
  width: min(34vw, 470px);
  height: min(43vw, 590px);
  padding: 0;
  border: 1px solid var(--teal);
  border-radius: 0;
  background-color: #1A1A18;
  background-image: none;
  background-position: center;
  background-size: cover;
  box-shadow: 18px 18px 0 rgba(244, 132, 95, 0.12);
  overflow: hidden;
}

.theme-hermes-warm .hero-pfp .pfp-ring::after {
  inset: 14px;
  border: 1px solid rgba(255, 241, 224, 0.36);
  border-radius: 0;
  pointer-events: none;
}

.theme-hermes-warm .hero-pfp .pfp-ring img {
  opacity: 0;
}

/* Buttons */
.theme-hermes-warm .btn {
  min-height: 48px;
  padding: 0.82rem 1.35rem;
  border: 1px solid var(--teal);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: none;
}

.theme-hermes-warm .btn-primary {
  background: var(--teal);
  color: #1A1A18;
  border-color: var(--teal);
  box-shadow: none;
}

.theme-hermes-warm .btn-primary:hover {
  background: var(--text-primary);
  color: #1A1A18;
  border-color: var(--text-primary);
  box-shadow: 7px 7px 0 rgba(244, 132, 95, 0.25);
  transform: translate(-2px, -2px);
}

.theme-hermes-warm .btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(232, 228, 220, 0.44);
}

.theme-hermes-warm .btn-ghost:hover {
  background: var(--text-primary);
  color: #1A1A18;
  border-color: var(--text-primary);
  transform: translate(-2px, -2px);
}

/* Homepage editorial blocks */
.theme-hermes-warm.page-index .stats-section {
  padding: 0;
  border-top: 0;
  background: #E8E4DC;
  color: #2B2926;
}

.theme-hermes-warm.page-index .stats-section .container {
  max-width: none;
  padding: 0;
}

.theme-hermes-warm .stats-bar {
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.theme-hermes-warm.page-index .stats-bar {
  --text-primary: #2B2926;
  --text-secondary: #6F665C;
  --text-dim: #6F665C;
}

.theme-hermes-warm .stat {
  position: relative;
  min-height: 190px;
  padding: 3.2rem clamp(2rem, 5vw, 5rem);
  border-right: 1px solid rgba(43, 41, 38, 0.3);
  text-align: left;
}

.theme-hermes-warm .stat:last-child { border-right: 0; }

.theme-hermes-warm .stat::before {
  content: '#0' counter(editorial-stat);
  counter-increment: editorial-stat;
  display: block;
  margin-bottom: 1.2rem;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.theme-hermes-warm .stats-bar { counter-reset: editorial-stat; }

.theme-hermes-warm .stat-number {
  color: #2B2926;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5.8rem);
  font-weight: 400;
  line-height: 0.85;
}

.theme-hermes-warm .stat-label {
  margin-top: 1rem;
  color: #6F665C;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.theme-hermes-warm.page-index .practice-section {
  --bg-card: #F8F3EA;
  --bg-card-hover: #FFFDF7;
  --text-primary: #2B2926;
  --text-secondary: #5E574F;
  --text-dim: #756C62;
  --border-dim: rgba(43, 41, 38, 0.28);
  --border-subtle: rgba(43, 41, 38, 0.58);
  background: #E8E4DC;
  color: #2B2926;
  border-color: rgba(43, 41, 38, 0.3);
}

.theme-hermes-warm.page-index .practice-section .text-teal { color: #B85C38; }
.theme-hermes-warm.page-index .practice-section .section-label { color: #B85C38; }

.theme-hermes-warm.page-index .findings-section {
  background:
    linear-gradient(90deg, transparent 0 4rem, rgba(244, 132, 95, 0.1) 4rem calc(4rem + 1px), transparent calc(4rem + 1px)),
    #1A1A18;
}

.theme-hermes-warm.page-index .tools-section {
  --text-primary: #1A1A18;
  --text-secondary: #3B332D;
  --text-dim: #574839;
  --border-dim: rgba(26, 26, 24, 0.28);
  background: var(--teal);
  color: #1A1A18;
  border-color: rgba(26, 26, 24, 0.45);
}

.theme-hermes-warm.page-index .tools-section .text-teal,
.theme-hermes-warm.page-index .tools-section .section-label { color: #FFF1E0; }

.theme-hermes-warm.page-index .tools-section .tool-tag {
  background: rgba(255, 241, 224, 0.16);
  border-color: #1A1A18;
  color: #1A1A18;
}

.theme-hermes-warm.page-index .tools-section .tool-tag:hover {
  background: #1A1A18;
  border-color: #1A1A18;
  color: #FFF1E0;
}

/* Cards and grids */
.theme-hermes-warm .grid-2,
.theme-hermes-warm .grid-3 { gap: 0; }

.theme-hermes-warm .grid-2 > *,
.theme-hermes-warm .grid-3 > * { margin: -1px 0 0 -1px; }

.theme-hermes-warm .card,
.theme-hermes-warm .blog-card,
.theme-hermes-warm .detection-card,
.theme-hermes-warm .cert-badge,
.theme-hermes-warm .comment-form,
.theme-hermes-warm .comment-item,
.theme-hermes-warm .hunt-history,
.theme-hermes-warm .hearth-note {
  position: relative;
  border: 1px solid var(--border-dim);
  border-radius: 0;
  background: var(--bg-card);
  box-shadow: none;
}

.theme-hermes-warm .card {
  min-height: 270px;
  padding: clamp(1.8rem, 3vw, 3rem);
  overflow: hidden;
}

.theme-hermes-warm .card::after,
.theme-hermes-warm .blog-card::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34px;
  height: 34px;
  border-left: 1px solid var(--border-dim);
  border-top: 1px solid var(--border-dim);
  background: repeating-linear-gradient(135deg, transparent 0 4px, var(--teal-dim) 4px 5px);
  pointer-events: none;
}

.theme-hermes-warm .card:hover,
.theme-hermes-warm .blog-card:hover {
  z-index: 2;
  border-color: var(--teal);
  background: var(--bg-card-hover);
  color: inherit;
  box-shadow: 8px 8px 0 rgba(244, 132, 95, 0.18);
  transform: translate(-3px, -3px);
}

.theme-hermes-warm .card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 2rem;
  border: 1px solid var(--teal);
  border-radius: 0;
  background: transparent;
  color: var(--teal);
  font-size: 1rem;
}

.theme-hermes-warm .card-icon.amber {
  border-color: var(--amber);
  background: transparent;
  color: var(--amber);
}

.theme-hermes-warm .card h3,
.theme-hermes-warm .blog-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.theme-hermes-warm .card p,
.theme-hermes-warm .blog-card-body p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
}

.theme-hermes-warm .blog-card-body { padding: clamp(1.8rem, 3vw, 3rem); }
.theme-hermes-warm .blog-card-tag { color: var(--teal); font-size: 0.65rem; letter-spacing: 0.14em; }

.theme-hermes-warm .blog-card-footer {
  padding: 1rem clamp(1.8rem, 3vw, 3rem);
  border-top: 1px solid var(--border-dim);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme-hermes-warm .tool-tag,
.theme-hermes-warm .detection-tag,
.theme-hermes-warm .mitre-tag {
  border-radius: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.theme-hermes-warm .tool-tag {
  padding: 0.6rem 0.8rem;
  background: transparent;
  border-color: var(--border-dim);
}

.theme-hermes-warm .detection-tag.sigma {
  background: rgba(232, 196, 124, 0.13);
  color: var(--amber);
}

.theme-hermes-warm .mitre-tag {
  background: rgba(242, 139, 130, 0.1);
  color: var(--red-alert);
}

/* Page headers */
.theme-hermes-warm .page-header {
  min-height: 520px;
  padding: 11.5rem 0 5rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid #1A1A18;
  background: var(--teal);
  color: #1A1A18;
}

.theme-hermes-warm .page-header::before {
  content: '';
  position: absolute;
  inset: 0 0 0 auto;
  width: min(50vw, 760px);
  height: 100%;
  background: radial-gradient(circle, rgba(244, 132, 95, 0.12) 1px, transparent 1.4px);
  filter: grayscale(1) contrast(1.45);
  mix-blend-mode: multiply;
  opacity: 0.22;
  pointer-events: none;
}

.theme-hermes-warm .page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-conic-gradient(from 198deg at 84% 52%, rgba(26, 26, 24, 0.42) 0 0.42deg, transparent 0.42deg 6deg);
  -webkit-mask-image: radial-gradient(circle at 84% 52%, transparent 0 12%, black 12.5% 44%, transparent 45%);
  mask-image: radial-gradient(circle at 84% 52%, transparent 0 12%, black 12.5% 44%, transparent 45%);
  opacity: 0.5;
  pointer-events: none;
}

.theme-hermes-warm .page-header .container { position: relative; z-index: 2; width: 100%; }

.theme-hermes-warm .page-header .section-label {
  color: #1A1A18;
}

.theme-hermes-warm .page-header h1 {
  max-width: 880px;
  margin-bottom: 1.4rem;
  color: #1A1A18;
  font-size: clamp(4.5rem, 9vw, 8.2rem);
}

.theme-hermes-warm .page-header h1 .text-teal { color: #FFF1E0; }

.theme-hermes-warm .page-header p {
  max-width: 670px;
  color: #3B332D;
  font-size: 1.04rem;
  line-height: 1.6;
}

.theme-hermes-warm .page-header.title-banner {
  min-height: 500px;
  padding-top: 10rem;
  background: #E8E4DC;
  color: #2B2926;
  border-bottom-color: rgba(43, 41, 38, 0.35);
}

.theme-hermes-warm .page-header.title-banner::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 82% 45%, rgba(244, 132, 95, 0.22), transparent 0 17%, rgba(244, 132, 95, 0.12) 17.3% 17.6%, transparent 17.9%),
    radial-gradient(circle, rgba(43, 41, 38, 0.14) 1px, transparent 1.2px);
  background-size: auto, 17px 17px;
  filter: none;
  mix-blend-mode: normal;
  opacity: 0.52;
  -webkit-mask-image: linear-gradient(90deg, transparent 15%, black 100%);
  mask-image: linear-gradient(90deg, transparent 15%, black 100%);
}

.theme-hermes-warm .page-header.title-banner::after {
  left: 0;
  right: auto;
  top: auto;
  bottom: 0;
  width: 38%;
  height: 5px;
  background: var(--teal);
  -webkit-mask-image: none;
  mask-image: none;
  opacity: 1;
}

.theme-hermes-warm .page-header.title-banner h1 {
  color: #2B2926;
  font-size: clamp(3rem, 6vw, 5.8rem) !important;
}

.theme-hermes-warm .page-header.title-banner h1 .text-teal,
.theme-hermes-warm .page-header.title-banner [style*='#A855F7'] {
  color: #B85C38 !important;
}

.theme-hermes-warm .page-header.title-banner .blog-card-tag {
  padding: 0;
  border: 0;
  background: transparent;
  color: #B85C38;
}

/* About and timeline */
.theme-hermes-warm .about-grid {
  grid-template-columns: 390px minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.theme-hermes-warm .about-card {
  --text-primary: #2B2926;
  --text-secondary: #5E574F;
  --text-dim: #756C62;
  padding: 0 2rem 2rem;
  border: 1px solid rgba(43, 41, 38, 0.5);
  border-top: 0;
  border-radius: 0;
  background: #E8E4DC;
  color: #2B2926;
  box-shadow: 12px 12px 0 rgba(244, 132, 95, 0.18);
}

.theme-hermes-warm .about-card .pfp-ring {
  width: calc(100% + 4rem);
  height: 430px;
  margin: 0 -2rem 2rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(43, 41, 38, 0.5);
  border-radius: 0;
  background: #1A1A18;
  box-shadow: none;
}

.theme-hermes-warm .about-card .pfp-ring::after { display: none; }
.theme-hermes-warm .about-card .pfp-ring img { opacity: 0; }

.theme-hermes-warm .about-info-list { border-color: rgba(43, 41, 38, 0.22); }
.theme-hermes-warm .about-info-row { border-color: rgba(43, 41, 38, 0.12); }
.theme-hermes-warm .about-info-row span:last-child { color: #2B2926; }

.theme-hermes-warm .timeline {
  max-width: 980px !important;
  padding-left: 5rem;
  counter-reset: editorial-timeline;
}

.theme-hermes-warm .timeline::before {
  width: 1px;
  background: rgba(244, 132, 95, 0.5);
}

.theme-hermes-warm .timeline-item {
  counter-increment: editorial-timeline;
  margin-bottom: 0;
  padding: 0 0 4rem 2rem;
  border-bottom: 0;
}

.theme-hermes-warm .timeline-item::before {
  content: counter(editorial-timeline, decimal-leading-zero);
  left: -5rem;
  top: 0;
  width: 3.3rem;
  height: 2rem;
  border: 1px solid var(--teal);
  border-radius: 0;
  background: #1A1A18;
  box-shadow: none;
  transform: translateX(-50%);
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  line-height: 2rem;
  text-align: center;
}

.theme-hermes-warm .timeline-role {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
}

.theme-hermes-warm .timeline-date { color: var(--teal); font-size: 0.68rem; }
.theme-hermes-warm .company-logo,
.theme-hermes-warm .timeline-company-row.logo-missing::before { border-radius: 0; }

.theme-hermes-warm .cert-badge { padding: 1.4rem; }
.theme-hermes-warm .cert-badge .cert-icon { border: 1px solid var(--teal); border-radius: 0; background: transparent; }

/* Hunt board and detections */
.theme-hermes-warm .daily-hunts {
  border-top-color: var(--teal);
}

.theme-hermes-warm .hearth-note {
  background: var(--bg-card);
}

.theme-hermes-warm .hunt-hypothesis-card::before {
  height: 2px;
  background: var(--teal);
}

.theme-hermes-warm .hunt-history {
  background: #22221F;
}

.theme-hermes-warm .hunt-history__control select,
.theme-hermes-warm .form-group input,
.theme-hermes-warm .form-group textarea,
.theme-hermes-warm .form-group select {
  border-radius: 0;
  background: #1A1A18;
}

.theme-hermes-warm .detection-card { overflow: hidden; }
.theme-hermes-warm .detection-card:hover { border-color: var(--teal); }
.theme-hermes-warm .detection-header { padding: 1.4rem 1.6rem; }
.theme-hermes-warm .detection-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; }
.theme-hermes-warm .detection-tabs { background: #1A1A18; }
.theme-hermes-warm .detection-tab.active { background: var(--teal-dim); }
.theme-hermes-warm .detection-code { background: #1A1A18; }
.theme-hermes-warm .detection-code .string { color: var(--amber); }

/* Article reading surface */
.theme-hermes-warm.content-article .page-header + .section {
  padding-top: 4rem !important;
  background: #1A1A18;
}

.theme-hermes-warm.content-article .page-header + .section .post-content {
  --bg-deep: #F2EDE4;
  --bg-card: #E8E0D4;
  --bg-card-hover: #F7F2EA;
  --text-primary: #2B2926;
  --text-secondary: #514B44;
  --text-dim: #756C62;
  --border-dim: rgba(43, 41, 38, 0.25);
  --border-subtle: rgba(184, 92, 56, 0.55);
  --teal: #B85C38;
  --teal-bright: #7A3B24;
  --teal-dim: rgba(184, 92, 56, 0.1);
  --amber: #8A5D1B;
  --amber-dim: rgba(138, 93, 27, 0.1);
  --red-alert: #A63E35;

  max-width: 940px;
  padding: clamp(2rem, 6vw, 6rem);
  border: 1px solid rgba(43, 41, 38, 0.25);
  background:
    linear-gradient(90deg, transparent 0 27px, rgba(184, 92, 56, 0.12) 27px 28px, transparent 28px),
    #F2EDE4;
  color: #2B2926;
  box-shadow: 18px 18px 0 rgba(244, 132, 95, 0.12);
}

.theme-hermes-warm .post-content h2,
.theme-hermes-warm .post-content h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.theme-hermes-warm.content-article .page-header + .section .post-content h2 {
  margin-top: 4.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(43, 41, 38, 0.26);
  color: #2B2926;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}

.theme-hermes-warm.content-article .page-header + .section .post-content h2::before {
  content: '';
  display: block;
  margin-bottom: 0.75rem;
  color: #B85C38;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.theme-hermes-warm.content-article .page-header + .section .post-content h3 {
  color: #2B2926;
  font-size: 1.85rem;
}

.theme-hermes-warm.content-article .page-header + .section .post-content p,
.theme-hermes-warm.content-article .page-header + .section .post-content li,
.theme-hermes-warm.content-article .page-header + .section .post-content blockquote {
  color: #514B44;
  font-size: 1.04rem;
  line-height: 1.82;
}

.theme-hermes-warm .post-content code {
  border-radius: 0;
  background: #E4DACD;
  color: #8F472E;
}

.theme-hermes-warm .post-content pre {
  border-color: rgba(244, 132, 95, 0.48);
  border-radius: 0;
  background: #1A1A18;
  box-shadow: 8px 8px 0 rgba(184, 92, 56, 0.16);
}

.theme-hermes-warm .post-content pre code { color: #E8E4DC; }

.theme-hermes-warm .post-content blockquote {
  border-left-color: #B85C38;
  border-radius: 0;
  background: rgba(184, 92, 56, 0.09);
}

.theme-hermes-warm .post-content img {
  border-radius: 0;
  border-color: rgba(43, 41, 38, 0.36);
}

.theme-hermes-warm .post-content [style*='rgba(56, 189, 248'] {
  border-color: rgba(184, 92, 56, 0.38) !important;
  background: rgba(184, 92, 56, 0.08) !important;
}

.theme-hermes-warm .post-content svg .hp-llm {
  fill: rgba(184, 92, 56, 0.1) !important;
  stroke: #B85C38 !important;
}

.theme-hermes-warm .post-content svg .hp-det {
  fill: rgba(138, 93, 27, 0.1) !important;
  stroke: #8A5D1B !important;
}

.theme-hermes-warm .post-content svg .hp-title { fill: #2B2926 !important; }
.theme-hermes-warm .post-content svg .hp-sub,
.theme-hermes-warm .post-content svg .hp-tag { fill: #756C62 !important; }

.theme-hermes-warm .post-engagement { border-top-color: rgba(43, 41, 38, 0.28); }
.theme-hermes-warm .like-btn { border-radius: 0; }
.theme-hermes-warm .comment-form,
.theme-hermes-warm .comment-item { background: #E8E0D4; }

/* CTA */
.theme-hermes-warm .cta-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 3rem;
  padding: clamp(2.5rem, 6vw, 5rem);
  border: 1px solid #2B2926;
  border-radius: 0;
  background: #E8E4DC;
  color: #2B2926;
  text-align: left;
}

.theme-hermes-warm .cta-banner::before {
  top: auto;
  right: 0;
  bottom: 0;
  left: auto;
  width: 42%;
  height: 100%;
  transform: none;
  background: repeating-conic-gradient(from 215deg at 100% 100%, rgba(184, 92, 56, 0.34) 0 0.55deg, transparent 0.55deg 6deg);
  -webkit-mask-image: radial-gradient(circle at 100% 100%, transparent 0 12%, black 12.5% 75%, transparent 76%);
  mask-image: radial-gradient(circle at 100% 100%, transparent 0 12%, black 12.5% 75%, transparent 76%);
}

.theme-hermes-warm .cta-banner h2 {
  color: #2B2926;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.theme-hermes-warm .cta-banner p { color: #5E574F; }
.theme-hermes-warm .cta-banner .btn { position: relative; grid-column: 2; grid-row: 1 / span 2; }

/* Threat intelligence dashboard */
.theme-hermes-warm .ti-shell { padding-top: 9rem; }

.theme-hermes-warm .ti-page-header {
  padding: 2.5rem;
  border: 1px solid var(--border-dim);
  background:
    repeating-linear-gradient(135deg, rgba(244, 132, 95, 0.055) 0 1px, transparent 1px 12px),
    #22221F;
}

.theme-hermes-warm .ti-page-header h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.theme-hermes-warm .ti-tabs {
  top: 94px;
  gap: 0;
  padding: 0;
  border: 1px solid var(--border-dim);
  background: rgba(26, 26, 24, 0.97);
}

.theme-hermes-warm .ti-tab {
  margin: -1px 0 -1px -1px;
  padding: 0.8rem 1rem;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.theme-hermes-warm .ti-tab.is-active {
  background: var(--teal);
  color: #1A1A18;
  box-shadow: none;
}

.theme-hermes-warm .ti-section__header h2::before { content: ''; }

.theme-hermes-warm .ti-grid { gap: 0; }

.theme-hermes-warm .ti-widget,
.theme-hermes-warm .ti-news-card,
.theme-hermes-warm .ti-ip-lookup,
.theme-hermes-warm .ti-ip-result,
.theme-hermes-warm .ti-ip-pill,
.theme-hermes-warm .ti-ip-field {
  border-radius: 0;
  box-shadow: none;
}

.theme-hermes-warm .ti-widget {
  margin: -1px 0 0 -1px;
  background: #262624;
}

.theme-hermes-warm .ti-widget:hover,
.theme-hermes-warm .ti-news-card:hover {
  border-color: var(--teal);
  box-shadow: none;
  transform: none;
}

.theme-hermes-warm .ti-widget--feature {
  border-color: var(--teal);
  background: linear-gradient(180deg, rgba(244, 132, 95, 0.08), #262624);
  box-shadow: none;
}

.theme-hermes-warm .ti-widget__header,
.theme-hermes-warm .ti-widget--feature .ti-widget__header {
  background: rgba(244, 132, 95, 0.07);
}

.theme-hermes-warm .ti-filter__search,
.theme-hermes-warm .ti-filter__chip,
.theme-hermes-warm .ti-ip-lookup__field input,
.theme-hermes-warm .ti-ip-lookup__field select,
.theme-hermes-warm .ti-ip-lookup__submit {
  border-radius: 0;
}

.theme-hermes-warm .ti-news-card__media {
  background: linear-gradient(135deg, rgba(244, 132, 95, 0.16), rgba(232, 196, 124, 0.07));
}

.theme-hermes-warm .ti-news-card__media img {
  filter: saturate(0.78) contrast(1.04);
}

.theme-hermes-warm .ti-link:hover,
.theme-hermes-warm .ti-rss-item:hover { background: rgba(244, 132, 95, 0.07); }

.theme-hermes-warm .ti-ip-result__status,
.theme-hermes-warm .ti-ip-result__summary { background: rgba(244, 132, 95, 0.07); }

.theme-hermes-warm .ti-bar-row__bar {
  border-radius: 0;
  background: linear-gradient(90deg, rgba(244, 132, 95, 0.14), rgba(244, 132, 95, 0.5));
  box-shadow: none;
}

/* Footer */
.theme-hermes-warm .footer {
  padding: 5.5rem 0 2rem;
  overflow: hidden;
  border-top: 1px solid rgba(232, 228, 220, 0.25);
  background: #1A1A18;
}

.theme-hermes-warm .footer-grid {
  margin-bottom: 4rem;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.theme-hermes-warm .footer-brand {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
}

.theme-hermes-warm .footer-brand span {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: none !important;
}

.theme-hermes-warm .footer-brand span::before {
  content: '';
  color: var(--teal);
}

.theme-hermes-warm .footer h4 {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.theme-hermes-warm .footer-links a {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.theme-hermes-warm .footer-wordmark {
  position: relative;
  height: clamp(130px, 21vw, 300px);
  margin: 0 calc(clamp(1.25rem, 4vw, 4rem) * -1) 2rem;
  border-top: 1px solid rgba(232, 228, 220, 0.18);
  border-bottom: 1px solid rgba(232, 228, 220, 0.18);
  overflow: hidden;
}

.theme-hermes-warm .footer-wordmark::before {
  content: 'STRICKLAND';
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  color: #E8E4DC;
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 400;
  line-height: 0.75;
  letter-spacing: -0.085em;
  white-space: nowrap;
}

.theme-hermes-warm .footer-bottom {
  border-top-color: rgba(232, 228, 220, 0.18);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.theme-hermes-warm .footer-social a {
  border-radius: 0;
  background: transparent;
}

/* Responsive */
@media (max-width: 1100px) {
  .theme-hermes-warm .nav-links a { padding-inline: 0.62rem; font-size: 0.58rem; }
  .theme-hermes-warm .hero-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 3rem; }
  .theme-hermes-warm .hero-pfp .pfp-ring { width: 360px; height: 470px; }
  .theme-hermes-warm .about-grid { grid-template-columns: 330px minmax(0, 1fr); gap: 3rem; }
}

@media (max-width: 900px) {
  .theme-hermes-warm .nav-inner { height: 82px; }
  .theme-hermes-warm .dot-wave-bg { top: 82px; height: calc(100vh - 82px); }
  .theme-hermes-warm .nav-links {
    top: 82px;
    left: 0;
    right: 0;
    padding: 0;
    border: 1px solid var(--border-dim);
    background: rgba(26, 26, 24, 0.99);
  }
  .theme-hermes-warm .nav-links li { width: 100%; border: 0; border-bottom: 1px solid var(--border-dim); }
  .theme-hermes-warm .nav-links a { padding: 1rem 1.25rem; }
  .theme-hermes-warm .nav-toggle { display: flex; }
  .theme-hermes-warm.page-index .hero { padding-top: 7.5rem; }
  .theme-hermes-warm .hero-grid { grid-template-columns: 1fr; gap: 4.5rem; text-align: left; }
  .theme-hermes-warm .hero-pfp { order: -1; justify-content: flex-start; }
  .theme-hermes-warm .hero-pfp .pfp-ring { width: min(72vw, 480px); height: min(90vw, 600px); }
  .theme-hermes-warm .hero-name-row { justify-content: flex-start; }
  .theme-hermes-warm .hero-name { text-align: left; }
  .theme-hermes-warm .hero-content .hero-tag { margin: 0; }
  .theme-hermes-warm .hero-subtitle { margin-left: 0; }
  .theme-hermes-warm .hero-actions { justify-content: flex-start; }
  .theme-hermes-warm .about-grid { grid-template-columns: 1fr; }
  .theme-hermes-warm .about-sidebar { max-width: 440px; margin: 0; }
  .theme-hermes-warm .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .theme-hermes-warm .section { padding: 5rem 0; }
  .theme-hermes-warm .section-title { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .theme-hermes-warm .hero h1 { font-size: clamp(4rem, 19vw, 6.2rem); }
  .theme-hermes-warm .hero-pfp::after { right: auto; left: 0; }
  .theme-hermes-warm .page-header { min-height: 460px; padding: 9rem 0 4rem; }
  .theme-hermes-warm .page-header h1 { font-size: clamp(3.8rem, 17vw, 6rem); }
  .theme-hermes-warm .page-header::before { width: 82%; opacity: 0.15; }
  .theme-hermes-warm .page-header.title-banner h1 { font-size: clamp(2.7rem, 13vw, 4.5rem) !important; }
  .theme-hermes-warm .stat { min-height: 160px; padding: 2.4rem 1.4rem; }
  .theme-hermes-warm .stat + .stat { border-left: 0; }
  .theme-hermes-warm .stats-bar .stat:nth-child(even) { border-left: 1px solid rgba(43, 41, 38, 0.3); }
  .theme-hermes-warm.content-article .page-header + .section { padding-top: 0 !important; }
  .theme-hermes-warm.content-article .page-header + .section > .container { padding: 0; }
  .theme-hermes-warm.content-article .page-header + .section .post-content {
    padding: 3rem 1.25rem;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
    background: #F2EDE4;
  }
  .theme-hermes-warm.content-article .page-header + .section .post-content h2 { margin-top: 3.4rem; }
  .theme-hermes-warm .cta-banner { display: block; text-align: left; }
  .theme-hermes-warm .cta-banner p { margin: 0 0 1.75rem; }
  .theme-hermes-warm .cta-banner .btn { width: auto; }
  .theme-hermes-warm .ti-tabs { top: 82px; overflow-x: auto; flex-wrap: nowrap; }
}

@media (max-width: 520px) {
  .theme-hermes-warm .container,
  .theme-hermes-warm .nav-inner { padding-left: 1rem; padding-right: 1rem; }
  .theme-hermes-warm .nav-brand { min-width: 0; font-size: 1.35rem; }
  .theme-hermes-warm .nav-brand::after { font-size: 0.42rem; }
  .theme-hermes-warm .hero-content::before { font-size: 0.57rem; }
  .theme-hermes-warm .hero-name { width: 100%; padding: 0 0 0.7rem; border: 0; border-bottom: 1px solid var(--border-dim); }
  .theme-hermes-warm .hero-tag { max-width: 260px; align-items: flex-start; }
  .theme-hermes-warm .hero-pfp .pfp-ring { width: calc(100vw - 3rem); height: calc((100vw - 3rem) * 1.24); }
  .theme-hermes-warm .hero-actions { flex-direction: column; }
  .theme-hermes-warm .hero-actions .btn { width: 100%; }
  .theme-hermes-warm .stats-bar { grid-template-columns: 1fr !important; }
  .theme-hermes-warm .stats-bar .stat,
  .theme-hermes-warm .stats-bar .stat:nth-child(even) { border-left: 0; border-right: 0; border-bottom: 1px solid rgba(43, 41, 38, 0.3); }
  .theme-hermes-warm .stats-bar .stat:last-child { border-bottom: 0; }
  .theme-hermes-warm .about-sidebar { max-width: 100%; }
  .theme-hermes-warm .about-card .pfp-ring { height: 360px; }
  .theme-hermes-warm .timeline { padding-left: 3.25rem; }
  .theme-hermes-warm .timeline-item { padding-left: 1rem; }
  .theme-hermes-warm .timeline-item::before { left: -3.25rem; width: 2.6rem; }
  .theme-hermes-warm .footer-grid { grid-template-columns: 1fr; }
  .theme-hermes-warm .footer-wordmark { margin-inline: -1rem; }
  .theme-hermes-warm .cta-banner .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .theme-hermes-warm .nav-brand .brand-dot { animation: none; }
}

/*
 * Restrained editorial pass
 * Keep the warm palette and linework without turning the interface into artwork.
 */
body.theme-hermes-warm {
  --font-display: 'Outfit', system-ui, sans-serif;
  background-image:
    radial-gradient(ellipse 60% 28% at 78% 0%, rgba(244, 132, 95, 0.055), transparent 72%),
    linear-gradient(180deg, #1A1A18 0%, #20201E 52%, #1A1A18 100%);
}

body.theme-hermes-warm::before {
  opacity: 0.08;
  background:
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(232, 228, 220, 0.02) 79px 80px);
}

.theme-hermes-warm .glitch-overlay { opacity: 0.12; }
.theme-hermes-warm .dot-wave-bg { top: 82px; height: calc(100vh - 82px); opacity: 0.42; }

.theme-hermes-warm .section { padding: clamp(4.5rem, 7vw, 7rem) 0; }

.theme-hermes-warm .section-label {
  gap: 0.7rem;
  font-size: 0.67rem;
  letter-spacing: 0.14em;
}

.theme-hermes-warm .section-label::before {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
}

.theme-hermes-warm .section-title,
.theme-hermes-warm .page-header h1,
.theme-hermes-warm .ti-page-header h1 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-transform: none;
}

.theme-hermes-warm .section-title {
  max-width: 760px;
  font-size: clamp(2.25rem, 4.4vw, 4rem);
}

/* Calm navigation without a logo-like mark or boxed menu. */
.theme-hermes-warm .nav-inner { height: 82px; }

.theme-hermes-warm .nav-brand {
  min-width: 120px;
  padding: 0 0 0.85rem 1.25rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.theme-hermes-warm .nav-brand::after {
  left: 1.25rem;
  font-size: 0.43rem;
}

.theme-hermes-warm .nav-brand .brand-dot {
  top: 0.25rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: none;
}

.theme-hermes-warm .nav-brand .brand-dot::before { content: none; }

.theme-hermes-warm .nav-links {
  gap: 1.35rem;
  border-left: 0;
}

.theme-hermes-warm .nav-links li { border-right: 0; }

.theme-hermes-warm .nav-links a {
  padding: 0.5rem 0;
  background: transparent;
  font-size: 0.62rem;
}

.theme-hermes-warm .nav-links a:hover,
.theme-hermes-warm .nav-links a.active {
  background: transparent;
  color: var(--teal);
}

/* Smaller, quieter hero using the existing portrait. */
.theme-hermes-warm.page-index .hero {
  min-height: 760px;
  padding-top: 126px;
  padding-bottom: 5rem;
}

.theme-hermes-warm.page-index .hero::before {
  inset: 18% 2% auto auto;
  width: min(38vw, 520px);
  height: min(38vw, 520px);
  background: radial-gradient(circle, rgba(244, 132, 95, 0.09) 0 1px, transparent 1.5px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(circle, black, transparent 70%);
  mask-image: radial-gradient(circle, black, transparent 70%);
  opacity: 0.45;
}

.theme-hermes-warm.page-index .hero::after { display: none; }

.theme-hermes-warm .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(3rem, 7vw, 7rem);
}

.theme-hermes-warm .hero-content::before {
  margin-bottom: 1.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.theme-hermes-warm .hero h1 {
  max-width: 720px;
  margin-bottom: 1.7rem;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 6vw, 5.25rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: none;
}

.theme-hermes-warm .hero h1 .text-teal { font-style: normal; }

.theme-hermes-warm .hero-subtitle {
  max-width: 620px;
  font-size: 1rem;
  line-height: 1.68;
}

.theme-hermes-warm .hero-pfp::before,
.theme-hermes-warm .hero-pfp::after { display: none; }

.theme-hermes-warm .hero-pfp .pfp-ring {
  width: min(27vw, 340px);
  height: min(31vw, 390px);
  border: 1px solid rgba(244, 132, 95, 0.68);
  border-radius: 2px;
  background: #262624;
  box-shadow: 12px 12px 0 rgba(244, 132, 95, 0.08);
}

.theme-hermes-warm .hero-pfp .pfp-ring::after {
  inset: 10px;
  border-color: rgba(232, 228, 220, 0.18);
}

.theme-hermes-warm .hero-pfp .pfp-ring img {
  opacity: 1;
  border-radius: 0;
  filter: grayscale(0.2) sepia(0.12) saturate(0.82) contrast(1.04);
}

/* Keep the layout graphic, but make the typography practical. */
.theme-hermes-warm .stat { min-height: 160px; padding-block: 2.5rem; }

.theme-hermes-warm .stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 4vw, 4rem);
  font-weight: 600;
}

.theme-hermes-warm .card { min-height: 245px; padding: clamp(1.6rem, 2.5vw, 2.4rem); }

.theme-hermes-warm .card::after,
.theme-hermes-warm .blog-card::after { display: none; }

.theme-hermes-warm .card h3,
.theme-hermes-warm .blog-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.theme-hermes-warm.page-index .tools-section {
  --text-primary: #E8E4DC;
  --text-secondary: #B8B0A2;
  --text-dim: #867F75;
  --border-dim: rgba(232, 228, 220, 0.2);
  background: #262624;
  color: var(--text-primary);
  border-color: rgba(232, 228, 220, 0.14);
}

.theme-hermes-warm.page-index .tools-section .text-teal,
.theme-hermes-warm.page-index .tools-section .section-label { color: var(--teal); }

.theme-hermes-warm.page-index .tools-section .tool-tag {
  background: transparent;
  border-color: rgba(232, 228, 220, 0.28);
  color: var(--text-secondary);
}

.theme-hermes-warm.page-index .tools-section .tool-tag:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #1A1A18;
}

/* Page banners use abstract linework instead of a portrait. */
.theme-hermes-warm .page-header {
  min-height: 370px;
  padding: 9.5rem 0 4rem;
  background: #262624;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(244, 132, 95, 0.58);
}

.theme-hermes-warm .page-header::before {
  inset: 0 0 0 auto;
  width: min(46vw, 660px);
  height: 100%;
  background:
    linear-gradient(90deg, #262624, transparent 45%),
    radial-gradient(circle, rgba(244, 132, 95, 0.17) 1px, transparent 1.4px);
  background-size: auto, 18px 18px;
  filter: none;
  mix-blend-mode: normal;
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(90deg, transparent, black);
  mask-image: linear-gradient(90deg, transparent, black);
}

.theme-hermes-warm .page-header::after {
  inset: auto auto 0 0;
  width: min(180px, 28vw);
  height: 3px;
  background: var(--teal);
  -webkit-mask-image: none;
  mask-image: none;
  opacity: 1;
}

.theme-hermes-warm .page-header .section-label { color: var(--teal); }

.theme-hermes-warm .page-header h1 {
  max-width: 780px;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: clamp(2.75rem, 5vw, 4.5rem);
}

.theme-hermes-warm .page-header h1 .text-teal { color: var(--teal); }
.theme-hermes-warm .page-header p { color: var(--text-secondary); }

.theme-hermes-warm .page-header.title-banner {
  --text-primary: #2B2926;
  --text-secondary: #5E574F;
  --text-dim: #756C62;
  --border-dim: rgba(43, 41, 38, 0.25);
  min-height: 390px;
  padding-top: 9rem;
}

.theme-hermes-warm .page-header.title-banner h1 {
  font-size: clamp(2.4rem, 4.6vw, 4rem) !important;
}

/* The about page keeps the normal photo and a simple information card. */
.theme-hermes-warm .about-card {
  box-shadow: 8px 8px 0 rgba(244, 132, 95, 0.1);
}

.theme-hermes-warm .about-card .pfp-ring {
  height: 360px;
  background: #262624;
}

.theme-hermes-warm .about-card .pfp-ring img {
  opacity: 1;
  border-radius: 0;
  filter: grayscale(0.2) sepia(0.1) saturate(0.84);
}

.theme-hermes-warm .timeline-role {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}

/* Readable article scale with the same warm paper surface. */
.theme-hermes-warm .post-content h2,
.theme-hermes-warm .post-content h3 { font-family: var(--font-display); }

.theme-hermes-warm.content-article .page-header + .section .post-content h2 {
  margin-top: 3.5rem;
  font-size: clamp(1.8rem, 3.4vw, 2.65rem);
  line-height: 1.12;
}

.theme-hermes-warm.content-article .page-header + .section .post-content h2::before { content: none; }

.theme-hermes-warm.content-article .page-header + .section .post-content h3 {
  font-size: 1.45rem;
}

.theme-hermes-warm.content-article .page-header + .section .post-content p,
.theme-hermes-warm.content-article .page-header + .section .post-content li,
.theme-hermes-warm.content-article .page-header + .section .post-content blockquote {
  font-size: 1rem;
  line-height: 1.75;
}

.theme-hermes-warm .cta-banner::before { opacity: 0.28; }

.theme-hermes-warm .cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.05;
  text-transform: none;
}

.theme-hermes-warm .ti-page-header h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
.theme-hermes-warm .ti-section__header h2::before { content: none; }

/* A conventional footer leaves the content, not a wordmark, as the focal point. */
.theme-hermes-warm .footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.theme-hermes-warm .footer-brand span {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: var(--teal) !important;
}

.theme-hermes-warm .footer-brand span::before { content: none; }
.theme-hermes-warm .footer-wordmark { display: none; }

@supports (height: 100dvh) {
  .theme-hermes-warm .dot-wave-bg { height: calc(100dvh - 82px); }
}

@media (max-width: 1100px) {
  .theme-hermes-warm .nav-links { gap: 0.8rem; }
  .theme-hermes-warm .hero-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .theme-hermes-warm .hero-pfp .pfp-ring { width: 300px; height: 345px; }
}

@media (max-width: 900px) {
  .theme-hermes-warm .nav-links { gap: 0; }
  .theme-hermes-warm .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .theme-hermes-warm .hero-pfp { order: 0; }
  .theme-hermes-warm .hero-pfp .pfp-ring { width: min(72vw, 360px); height: min(82vw, 410px); }
}

@media (max-width: 768px) {
  .theme-hermes-warm .section { padding: 4.25rem 0; }
  .theme-hermes-warm .section-title { font-size: clamp(2.15rem, 10vw, 3.1rem); }
  .theme-hermes-warm .hero h1 { font-size: clamp(2.9rem, 13vw, 4.2rem); }
  .theme-hermes-warm .page-header { min-height: 330px; padding: 8rem 0 3rem; }
  .theme-hermes-warm .page-header h1 { font-size: clamp(2.5rem, 11vw, 3.5rem); }
  .theme-hermes-warm .page-header.title-banner h1 { font-size: clamp(2.2rem, 9.5vw, 3rem) !important; }
  .theme-hermes-warm .cta-banner h2 { font-size: 2.15rem; }
}

@media (max-width: 520px) {
  .theme-hermes-warm.page-index .hero { min-height: auto; padding-top: 7rem; }
  .theme-hermes-warm .hero-name-row { display: block; }
  .theme-hermes-warm .hero-name { width: auto; padding: 0; border: 0; }
  .theme-hermes-warm .hero-tag { margin-top: 0.65rem; }
  .theme-hermes-warm .hero-pfp .pfp-ring { width: min(100%, 320px); height: 365px; }
  .theme-hermes-warm .about-card .pfp-ring { height: 320px; }
}

/*
 * Signal cartography direction
 * Dark throughout, original portrait treatment, visible glitch lines,
 * and custom technical artwork influenced by Hermes without copying its mark.
 */
.theme-hermes-warm .glitch-overlay {
  z-index: 2;
  opacity: 0.5;
  mix-blend-mode: screen;
}

.theme-hermes-warm .glitch-overlay::before {
  background: rgba(244, 132, 95, 0.34) !important;
  box-shadow: 0 0 18px rgba(244, 132, 95, 0.16);
}

.theme-hermes-warm .glitch-overlay::after {
  background: rgba(232, 196, 124, 0.24) !important;
  box-shadow: 0 0 14px rgba(232, 196, 124, 0.1);
}

.theme-hermes-warm.page-index .glitch-overlay,
.theme-hermes-warm.page-about .glitch-overlay { opacity: 0.26; }
.theme-hermes-warm.page-index .glitch-overlay.g4,
.theme-hermes-warm.page-index .glitch-overlay.g5,
.theme-hermes-warm.page-about .glitch-overlay.g4,
.theme-hermes-warm.page-about .glitch-overlay.g5 { display: none; }

/* Restore the live site's profile treatment and put the artwork behind it. */
.theme-hermes-warm .hero-pfp {
  position: relative;
  justify-content: center;
  isolation: isolate;
}

.theme-hermes-warm .hero-pfp::before {
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  inset: -130px -150px;
  background: url('/images/signal-cartography-motion.svg') center / contain no-repeat;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(circle, black 0 48%, rgba(0, 0, 0, 0.82) 60%, transparent 79%);
  mask-image: radial-gradient(circle, black 0 48%, rgba(0, 0, 0, 0.82) 60%, transparent 79%);
  pointer-events: none;
}

.theme-hermes-warm .hero-pfp::after { display: none; }

.theme-hermes-warm .hero-pfp .pfp-ring {
  width: 320px;
  height: 320px;
  padding: 4px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), rgba(244, 132, 95, 0.42), var(--amber));
  box-shadow: 0 0 40px rgba(244, 132, 95, 0.15), 0 0 80px rgba(232, 196, 124, 0.05);
  overflow: visible;
}

.theme-hermes-warm .hero-pfp .pfp-ring img {
  opacity: 1;
  border: 4px solid var(--bg-deep);
  border-radius: 50%;
  object-position: 50% 15%;
  filter: none;
}

.theme-hermes-warm .hero-pfp .pfp-ring::after {
  display: block;
  inset: -12px;
  border: 1px solid rgba(244, 132, 95, 0.24);
  border-radius: 50%;
  animation: hermes-profile-pulse 5s ease-in-out infinite;
}

@keyframes hermes-profile-pulse {
  0%, 100% { opacity: 0.42; transform: scale(0.985); }
  50% { opacity: 0.9; transform: scale(1.025); }
}

/* Dark section rhythm. No white or paper-color bands. */
.theme-hermes-warm.page-index .stats-section {
  background: #22221F;
  color: var(--text-primary);
  border-top: 1px solid rgba(244, 132, 95, 0.28);
  border-bottom: 1px solid rgba(232, 228, 220, 0.12);
}

.theme-hermes-warm.page-index .stats-bar {
  --text-primary: #E8E4DC;
  --text-secondary: #B8B0A2;
  --text-dim: #867F75;
}

.theme-hermes-warm.page-index .stat {
  border-color: rgba(232, 228, 220, 0.14);
}

.theme-hermes-warm.page-index .stat-number { color: var(--text-primary); }
.theme-hermes-warm.page-index .stat-label { color: var(--text-secondary); }

.theme-hermes-warm.page-index .practice-section {
  --bg-card: #262624;
  --bg-card-hover: #2E2E2C;
  --text-primary: #E8E4DC;
  --text-secondary: #B8B0A2;
  --text-dim: #867F75;
  --border-dim: rgba(232, 228, 220, 0.17);
  --border-subtle: rgba(244, 132, 95, 0.46);
  position: relative;
  overflow: hidden;
  background: #1D1D1B;
  color: var(--text-primary);
  border-color: rgba(232, 228, 220, 0.12);
}

.theme-hermes-warm.page-index .practice-section::after {
  content: '';
  position: absolute;
  right: -170px;
  top: -140px;
  width: 680px;
  height: 760px;
  background: url('/images/signal-cartography.svg') center / contain no-repeat;
  opacity: 0.09;
  pointer-events: none;
}

.theme-hermes-warm.page-index .practice-section .container {
  position: relative;
  z-index: 1;
}

.theme-hermes-warm.page-index .practice-section .text-teal,
.theme-hermes-warm.page-index .practice-section .section-label { color: var(--teal); }

.theme-hermes-warm.page-index .findings-section {
  background:
    linear-gradient(90deg, transparent 0 4rem, rgba(244, 132, 95, 0.08) 4rem calc(4rem + 1px), transparent calc(4rem + 1px)),
    #1A1A18;
}

.theme-hermes-warm.page-index .tools-section { background: #22221F; }
.theme-hermes-warm.page-index .cta-section { background: #1A1A18; }

.theme-hermes-warm .cta-banner {
  --text-primary: #E8E4DC;
  --text-secondary: #B8B0A2;
  --text-dim: #867F75;
  border-color: rgba(244, 132, 95, 0.44);
  background: #262624;
  color: var(--text-primary);
}

.theme-hermes-warm .cta-banner::before {
  width: 44%;
  background: url('/images/signal-cartography.svg') 66% 50% / 390px auto no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, black);
  mask-image: linear-gradient(90deg, transparent, black);
  opacity: 0.28;
}

.theme-hermes-warm .cta-banner h2 { color: var(--text-primary); }
.theme-hermes-warm .cta-banner p { color: var(--text-secondary); }

/* Shared page banner: Josh's signal artwork with slow, restrained movement. */
.theme-hermes-warm .page-header {
  min-height: 330px;
  padding: 8.25rem 0 2.75rem;
  overflow: hidden;
  isolation: isolate;
  background-color: #151311;
}

.theme-hermes-warm .page-header:not(.title-banner) {
  height: 340px;
  min-height: 340px;
  padding: 7rem 0 2rem;
  align-items: flex-start;
}

.theme-hermes-warm .page-header.title-banner {
  min-height: 350px;
  padding: 8rem 0 2.5rem;
}

.theme-hermes-warm .page-header::before,
.theme-hermes-warm .page-header.title-banner::before {
  inset: 0;
  width: auto;
  height: auto;
  background:
    linear-gradient(90deg, #151311 0%, rgba(21, 19, 17, 0.96) 28%, rgba(21, 19, 17, 0.52) 52%, rgba(21, 19, 17, 0.08) 72%, transparent 86%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 38%, rgba(0, 0, 0, 0.14) 100%),
    url('/images/page-banner-signal.webp') right center / auto 90% no-repeat;
  background-color: #151311;
  filter: none;
  mix-blend-mode: normal;
  opacity: 0.86;
  z-index: 0;
  -webkit-mask-image: none;
  mask-image: none;
}

.theme-hermes-warm .page-header::after,
.theme-hermes-warm .page-header.title-banner::after {
  content: '';
  position: absolute;
  inset: auto auto 0 0;
  width: min(180px, 28vw);
  height: 3px;
  z-index: 1;
  background: var(--teal);
  opacity: 1;
  pointer-events: none;
}

.theme-hermes-warm .page-banner-orbits {
  position: absolute;
  top: calc(50% - 150px);
  right: 215px;
  width: 430px;
  height: 300px;
  z-index: 1;
  pointer-events: none;
}

.theme-hermes-warm .page-banner-dot-wave {
  position: absolute;
  inset: 82px 0 0;
  width: 100%;
  height: calc(100% - 82px);
  z-index: 1;
  opacity: 0.82;
  pointer-events: none;
  contain: strict;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.68) 12%, #000 30%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.68) 12%, #000 30%, #000 100%);
}

.theme-hermes-warm .page-banner-orbit {
  position: absolute;
  border-radius: 50%;
  transform-origin: center;
}

.theme-hermes-warm .page-banner-orbit--a {
  left: 20px;
  top: 55px;
  width: 390px;
  height: 190px;
  border: 1px solid rgba(244, 132, 95, 0.42);
  transform: rotate(-12deg);
  --orbit-duration: 40s;
  --orbit-direction: normal;
  --orbit-rest: 8%;
}

.theme-hermes-warm .page-banner-orbit--b {
  left: 50px;
  top: 25px;
  width: 330px;
  height: 250px;
  border: 1px dashed rgba(232, 196, 124, 0.3);
  transform: rotate(31deg);
  --orbit-duration: 54s;
  --orbit-direction: reverse;
  --orbit-rest: 44%;
}

.theme-hermes-warm .page-banner-orbit--c {
  left: 80px;
  top: 78px;
  width: 270px;
  height: 145px;
  border: 1px dotted rgba(244, 132, 95, 0.34);
  transform: rotate(-46deg);
  --orbit-duration: 36s;
  --orbit-direction: normal;
  --orbit-rest: 72%;
}

.theme-hermes-warm .page-banner-orbit__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F4845F;
  box-shadow: 0 0 9px rgba(244, 132, 95, 0.56);
  opacity: 0.86;
  offset-rotate: 0deg;
  animation-name: hermes-page-banner-dot;
  animation-duration: var(--orbit-duration);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: var(--orbit-direction);
  will-change: offset-distance;
}

.theme-hermes-warm .page-banner-orbit--a .page-banner-orbit__dot {
  offset-path: path('M 390 95 A 195 95 0 1 1 0 95 A 195 95 0 1 1 390 95');
}

.theme-hermes-warm .page-banner-orbit--a .page-banner-orbit__dot:nth-child(1) { animation-delay: -3s; }
.theme-hermes-warm .page-banner-orbit--a .page-banner-orbit__dot:nth-child(2) {
  width: 4px;
  height: 4px;
  opacity: 0.62;
  animation-delay: -13.7s;
}
.theme-hermes-warm .page-banner-orbit--a .page-banner-orbit__dot:nth-child(3) {
  width: 3px;
  height: 3px;
  opacity: 0.46;
  box-shadow: 0 0 6px rgba(244, 132, 95, 0.4);
  animation-delay: -24.3s;
}

.theme-hermes-warm .page-banner-orbit--b .page-banner-orbit__dot {
  width: 5px;
  height: 5px;
  background: #E8C47C;
  box-shadow: 0 0 8px rgba(232, 196, 124, 0.5);
  offset-path: path('M 330 125 A 165 125 0 1 1 0 125 A 165 125 0 1 1 330 125');
}

.theme-hermes-warm .page-banner-orbit--b .page-banner-orbit__dot:nth-child(1) { animation-delay: -7s; }
.theme-hermes-warm .page-banner-orbit--b .page-banner-orbit__dot:nth-child(2) {
  width: 3px;
  height: 3px;
  opacity: 0.52;
  animation-delay: -28s;
}

.theme-hermes-warm .page-banner-orbit--c .page-banner-orbit__dot {
  width: 4px;
  height: 4px;
  offset-path: path('M 270 72.5 A 135 72.5 0 1 1 0 72.5 A 135 72.5 0 1 1 270 72.5');
}

.theme-hermes-warm .page-banner-orbit--c .page-banner-orbit__dot:nth-child(1) { animation-delay: -4s; }
.theme-hermes-warm .page-banner-orbit--c .page-banner-orbit__dot:nth-child(2) {
  width: 3px;
  height: 3px;
  opacity: 0.5;
  animation-delay: -18s;
}

@keyframes hermes-page-banner-dot {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .theme-hermes-warm .page-banner-orbit__dot {
    animation: none;
    offset-distance: var(--orbit-rest);
    will-change: auto;
  }
}

.theme-hermes-warm .page-header.title-banner {
  --text-primary: #E8E4DC;
  --text-secondary: #B8B0A2;
  --text-dim: #867F75;
  --border-dim: rgba(232, 228, 220, 0.2);
  background: #151311;
  color: var(--text-primary);
  border-bottom-color: rgba(244, 132, 95, 0.58);
}

/* Blog and hunt headers keep separate static artwork. */
.theme-hermes-warm.section-blog .page-header::before,
.theme-hermes-warm.section-blog .page-header.title-banner::before {
  background:
    linear-gradient(90deg, #151311 0%, rgba(21, 19, 17, 0.98) 34%, rgba(21, 19, 17, 0.68) 52%, transparent 76%),
    url('/images/page-banner-blog.svg') right center / auto 100% no-repeat;
  background-color: #151311;
  opacity: 1;
}

.theme-hermes-warm.section-hunts .page-header::before,
.theme-hermes-warm.section-hunts .page-header.title-banner::before {
  background:
    linear-gradient(90deg, #151311 0%, rgba(21, 19, 17, 0.98) 34%, rgba(21, 19, 17, 0.68) 52%, transparent 76%),
    url('/images/page-banner-hunts.svg') right center / auto 100% no-repeat;
  background-color: #151311;
  opacity: 1;
}

.theme-hermes-warm.section-blog.content-article .page-header::before,
.theme-hermes-warm.section-blog.content-article .page-header.title-banner::before {
  background:
    linear-gradient(90deg, #151311 0%, #151311 72%, rgba(21, 19, 17, 0.96) 86%, rgba(21, 19, 17, 0.78) 100%),
    url('/images/page-banner-blog.svg') right center / auto 82% no-repeat;
  background-color: #151311;
}

.theme-hermes-warm.section-hunts.content-article .page-header::before,
.theme-hermes-warm.section-hunts.content-article .page-header.title-banner::before {
  background:
    linear-gradient(90deg, #151311 0%, #151311 72%, rgba(21, 19, 17, 0.96) 86%, rgba(21, 19, 17, 0.78) 100%),
    url('/images/page-banner-hunts.svg') right center / auto 82% no-repeat;
  background-color: #151311;
}

.theme-hermes-warm.section-blog .page-banner-dot-wave,
.theme-hermes-warm.section-blog .page-banner-orbits,
.theme-hermes-warm.section-hunts .page-banner-dot-wave,
.theme-hermes-warm.section-hunts .page-banner-orbits {
  display: none;
}

.theme-hermes-warm .page-header.title-banner h1,
.theme-hermes-warm .page-header.title-banner h1 .text-teal {
  color: var(--text-primary);
}

.theme-hermes-warm .page-header.title-banner h1 .text-teal,
.theme-hermes-warm .page-header.title-banner [style*='#A855F7'] {
  color: var(--teal) !important;
}

.theme-hermes-warm .page-header.title-banner .blog-card-tag { color: var(--teal); }

/* About returns to the compact live card rather than a portrait panel. */
.theme-hermes-warm .about-grid {
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 5rem);
}

.theme-hermes-warm .about-card {
  --text-primary: #E8E4DC;
  --text-secondary: #B8B0A2;
  --text-dim: #867F75;
  padding: 2rem;
  border: 1px solid rgba(232, 228, 220, 0.12);
  border-top: 2px solid var(--teal);
  background: #262624;
  color: var(--text-primary);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.36);
}

.theme-hermes-warm .about-card .pfp-ring {
  width: 180px;
  height: 180px;
  margin: 0 auto 1.5rem;
  padding: 4px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), rgba(244, 132, 95, 0.42), var(--amber));
  box-shadow: 0 0 34px rgba(244, 132, 95, 0.12);
  overflow: visible;
}

.theme-hermes-warm .about-card .pfp-ring img {
  opacity: 1;
  border: 4px solid var(--bg-deep);
  border-radius: 50%;
  filter: none;
}

.theme-hermes-warm .about-card .pfp-ring::after {
  display: block;
  inset: -10px;
  border: 1px solid rgba(244, 132, 95, 0.2);
  border-radius: 50%;
}

.theme-hermes-warm .about-info-list,
.theme-hermes-warm .about-info-row { border-color: rgba(232, 228, 220, 0.12); }
.theme-hermes-warm .about-info-row span:last-child { color: var(--text-primary); }

/* Long-form pages stay dark while retaining a distinct reading surface. */
.theme-hermes-warm.content-article .page-header + .section { background: #1A1A18; }

.theme-hermes-warm.content-article .page-header + .section .post-content {
  --bg-deep: #1D1D1B;
  --bg-card: #2E2E2C;
  --bg-card-hover: #353531;
  --text-primary: #E8E4DC;
  --text-secondary: #C2BAAE;
  --text-dim: #91897E;
  --border-dim: rgba(232, 228, 220, 0.18);
  --border-subtle: rgba(244, 132, 95, 0.52);
  --teal: #F4845F;
  --teal-bright: #F4C5B1;
  --teal-dim: rgba(244, 132, 95, 0.12);
  --amber: #E8C47C;
  --amber-dim: rgba(232, 196, 124, 0.12);
  --red-alert: #F28B82;
  border-color: rgba(232, 228, 220, 0.14);
  background:
    linear-gradient(90deg, transparent 0 27px, rgba(244, 132, 95, 0.14) 27px 28px, transparent 28px),
    #22221F;
  color: var(--text-primary);
  box-shadow: 14px 14px 0 rgba(244, 132, 95, 0.07);
}

.theme-hermes-warm.content-article .page-header + .section .post-content h2,
.theme-hermes-warm.content-article .page-header + .section .post-content h3 {
  color: var(--text-primary);
  border-color: rgba(232, 228, 220, 0.16);
}

.theme-hermes-warm.content-article .page-header + .section .post-content p,
.theme-hermes-warm.content-article .page-header + .section .post-content li,
.theme-hermes-warm.content-article .page-header + .section .post-content blockquote {
  color: var(--text-secondary);
}

.theme-hermes-warm .post-content code {
  background: #171715;
  color: #F4C5B1;
}

.theme-hermes-warm .post-content pre {
  border-color: rgba(244, 132, 95, 0.44);
  background: #141412;
}

.theme-hermes-warm .post-content blockquote {
  color: var(--text-secondary);
  background: rgba(244, 132, 95, 0.07);
}

.theme-hermes-warm .post-content img { border-color: rgba(232, 228, 220, 0.18); }
.theme-hermes-warm .post-content svg .hp-title { fill: #E8E4DC !important; }
.theme-hermes-warm .post-content svg .hp-sub,
.theme-hermes-warm .post-content svg .hp-tag { fill: #91897E !important; }

.theme-hermes-warm .comment-form,
.theme-hermes-warm .comment-item { background: #2E2E2C; }

.theme-hermes-warm .form-group input,
.theme-hermes-warm .form-group textarea,
.theme-hermes-warm .form-group select { color: var(--text-primary); }

.theme-hermes-warm,
.theme-hermes-warm.page-index .stats-bar,
.theme-hermes-warm.page-index .practice-section,
.theme-hermes-warm .cta-banner,
.theme-hermes-warm .page-header.title-banner,
.theme-hermes-warm .about-card {
  --text-dim: #91897E;
}

.theme-hermes-warm .stat-number { color: var(--text-primary); }
.theme-hermes-warm .stat-label { color: var(--text-secondary); }

@media (max-width: 900px) {
  .theme-hermes-warm .hero-pfp::before { inset: -110px; opacity: 0.5; }
  .theme-hermes-warm .hero-pfp .pfp-ring { width: 280px; height: 280px; }
  .theme-hermes-warm .about-grid { grid-template-columns: 1fr; }
  .theme-hermes-warm .about-sidebar { max-width: 340px; }
}

@media (max-width: 768px) {
  .theme-hermes-warm .page-header {
    min-height: 300px;
    padding: 7rem 0 2.25rem;
  }

  .theme-hermes-warm .page-header:not(.title-banner) {
    height: 340px;
    min-height: 340px;
    padding: 6.25rem 0 1.75rem;
  }

  .theme-hermes-warm .page-header.title-banner {
    min-height: 340px;
    padding: 7rem 0 1.75rem;
  }

  .theme-hermes-warm .nav-links {
    padding: 0.35rem 1rem 0.75rem;
    background: #1A1A18;
  }

  .theme-hermes-warm .nav-links a { padding: 0.7rem 0; }

  .theme-hermes-warm .page-header::before,
  .theme-hermes-warm .page-header.title-banner::before {
    width: auto;
    opacity: 0.68;
    background-size: 100% 100%, 100% 100%, auto 82%;
    background-position: center, center, 60% center;
  }

  .theme-hermes-warm .page-banner-orbits {
    top: calc(50% - 150px);
    right: -113px;
    opacity: 0.62;
    transform: scale(0.78);
  }

  .theme-hermes-warm .page-banner-dot-wave {
    opacity: 0.82;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.7), #000 35%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.7), #000 35%);
  }

  .theme-hermes-warm.content-article .page-header + .section .post-content {
    background: #22221F;
  }

  .theme-hermes-warm.section-blog.content-article .page-header::before,
  .theme-hermes-warm.section-blog.content-article .page-header.title-banner::before {
    background: linear-gradient(135deg, #151311 0%, #151311 72%, rgba(232, 196, 124, 0.04) 100%);
    opacity: 1;
  }

  .theme-hermes-warm.section-hunts.content-article .page-header::before,
  .theme-hermes-warm.section-hunts.content-article .page-header.title-banner::before {
    background: linear-gradient(135deg, #151311 0%, #151311 72%, rgba(244, 132, 95, 0.04) 100%);
    opacity: 1;
  }
}

@media (max-width: 520px) {
  .theme-hermes-warm .hero-pfp { margin-top: 0.5rem; }
  .theme-hermes-warm .hero-pfp::before { inset: -85px; opacity: 0.44; }
  .theme-hermes-warm .hero-pfp .pfp-ring { width: 240px; height: 240px; }
  .theme-hermes-warm .about-card .pfp-ring { width: 160px; height: 160px; }
}
