/**
 * Base Styles — Doghouse Agency Dark Theme
 * CSS reset, element defaults, utility classes
 * Mobile-first, all values via CSS custom properties
 */

@import 'tokens.css';

/* ============================================
   CSS RESET & NORMALIZATION
   ============================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* ============================================
   BODY & PAGE DEFAULTS
   ============================================ */

body {
  background-color: var(--site-color-bg-primary);
  color: var(--site-color-text-body);
  font-family: var(--site-font-sans);
  font-size: var(--site-body-font-size);
  font-weight: var(--site-body-font-weight);
  line-height: var(--site-body-line-height);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color var(--site-transition-base);
}

/* ============================================
   HEADINGS (H1–H6)
   ============================================ */

h1,
.h1 {
  color: var(--site-color-text-heading);
  font-family: var(--site-font-sans);
  font-size: var(--site-h1-font-size);
  font-weight: var(--site-h1-font-weight);
  letter-spacing: var(--site-h1-letter-spacing);
  line-height: var(--site-h1-line-height);
  margin-bottom: var(--site-space-md);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h2,
.h2 {
  color: var(--site-color-text-heading);
  font-family: var(--site-font-sans);
  font-size: var(--site-h2-font-size);
  font-weight: var(--site-h2-font-weight);
  line-height: var(--site-h2-line-height);
  margin-bottom: var(--site-space-md);
}

h3,
.h3 {
  color: var(--site-color-text-heading);
  font-family: var(--site-font-sans);
  font-size: var(--site-h3-font-size);
  font-weight: var(--site-h3-font-weight);
  line-height: var(--site-h3-line-height);
  margin-bottom: var(--site-space-base);
}

h4,
.h4 {
  color: var(--site-color-text-heading);
  font-family: var(--site-font-sans);
  font-size: var(--site-h4-font-size);
  font-weight: var(--site-h4-font-weight);
  line-height: var(--site-h4-line-height);
  margin-bottom: var(--site-space-base);
}

h5,
.h5 {
  color: var(--site-color-text-heading);
  font-family: var(--site-font-sans);
  font-size: var(--site-h5-font-size);
  font-weight: var(--site-h5-font-weight);
  line-height: var(--site-h5-line-height);
  margin-bottom: var(--site-space-sm);
}

h6,
.h6 {
  color: var(--site-color-text-heading);
  font-family: var(--site-font-sans);
  font-size: var(--site-h6-font-size);
  font-weight: var(--site-h6-font-weight);
  line-height: var(--site-h6-line-height);
  margin-bottom: var(--site-space-sm);
}

/* ============================================
   PARAGRAPH & TEXT ELEMENTS
   ============================================ */

p {
  color: var(--site-color-text-body);
  margin-bottom: var(--site-space-base);
}

p:last-child {
  margin-bottom: 0;
}

/* Lead text for intro paragraphs, key callouts */
.lead,
p.lead {
  color: var(--site-color-text-lead);
  font-size: var(--site-lead-font-size);
  font-weight: var(--site-lead-font-weight);
  line-height: var(--site-lead-line-height);
}

/* Secondary/muted text */
small,
.small {
  color: var(--site-color-text-label);
  font-size: var(--site-label-font-size);
  line-height: var(--site-label-line-height);
}

/* Section heading — shared style for component section titles
   (feature-grid, accordion, team-grid, client-logos, resources, etc.). */
.dh-section-heading {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: var(--site-fw-extrabold);
  line-height: var(--site-h1-line-height);
  color: var(--site-color-text-heading);
  margin: 0;
}

/* Section eyebrow — shared style for the small pre-heading label that
   appears above section titles (eyebrow / badge / label across components). */
.dh-section-eyebrow {
  font-family: var(--site-font-mono);
  font-size: 0.65rem;
  font-weight: var(--site-fw-semibold);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--dh-accent, var(--site-color-coral));
}

/* ============================================
   INLINE TEXT ELEMENTS
   ============================================ */

strong,
b {
  font-weight: var(--site-fw-bold);
  color: var(--site-color-text-heading);
}

em,
i {
  font-style: italic;
}

mark {
  background-color: rgba(251, 146, 60, 0.2);
  color: var(--site-color-amber);
  padding: var(--site-space-xs) var(--site-space-sm);
  border-radius: var(--site-radius-base);
}

code {
  background-color: var(--site-color-bg-surface);
  color: var(--site-color-secondary);
  font-family: var(--site-font-mono);
  font-size: 0.875em;
  padding: var(--site-space-xs) var(--site-space-sm);
  border-radius: var(--site-radius-sm);
  border: 1px solid var(--site-color-border-subtle);
}

pre {
  background-color: var(--site-color-bg-surface-card);
  color: var(--site-color-text-body);
  border: 1px solid var(--site-color-border);
  border-radius: var(--site-radius-base);
  font-family: var(--site-font-mono);
  font-size: 0.875rem;
  line-height: 1.5;
  overflow-x: auto;
  padding: var(--site-space-base);
  margin-bottom: var(--site-space-base);
}

pre code {
  background: none;
  border: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}

/* ============================================
   LINKS
   ============================================ */

a {
  color: var(--site-color-primary);
  text-decoration: none;
  transition: color var(--site-transition-base);
  cursor: pointer;
}


a:hover {
  color: var(--site-color-primary-hover);
  text-decoration: underline;
}

a:active {
  color: var(--site-color-primary-active);
}

a:focus-visible {
  outline: 2px solid var(--site-color-primary);
  outline-offset: 2px;
  border-radius: var(--site-radius-sm);
}

/* Remove link underlines from images */
a img {
  display: block;
}

/* ============================================
   LISTS
   ============================================ */

ul,
ol {
  margin-bottom: var(--site-space-base);
  padding-left: var(--site-space-lg);
}

ul ul,
ul ol,
ol ul,
ol ol {
  margin-bottom: 0;
  margin-top: var(--site-space-sm);
}

li {
  margin-bottom: var(--site-space-sm);
}

li:last-child {
  margin-bottom: 0;
}

/* Definition lists */
dl {
  margin-bottom: var(--site-space-base);
}

dt {
  color: var(--site-color-text-heading);
  font-weight: var(--site-fw-bold);
  margin-top: var(--site-space-base);
}

dd {
  margin-bottom: var(--site-space-sm);
  margin-left: var(--site-space-lg);
}

/* ============================================
   BLOCKQUOTE
   ============================================ */

blockquote {
  border-left: 4px solid var(--site-color-primary);
  color: var(--site-color-text-lead);
  font-size: var(--site-lead-font-size);
  font-style: italic;
  line-height: var(--site-lead-line-height);
  margin-bottom: var(--site-space-base);
  padding-left: var(--site-space-lg);
}

blockquote p:last-child {
  margin-bottom: 0;
}

blockquote cite {
  display: block;
  color: var(--site-color-text-body);
  font-size: var(--site-body-font-size);
  font-style: normal;
  font-weight: var(--site-fw-semibold);
  margin-top: var(--site-space-base);
}

/* ============================================
   IMAGES
   ============================================ */

img {
  display: block;
  height: auto;
  max-width: 100%;
  border-radius: var(--site-radius-base);
}

/* Responsive images in paragraphs */
p img {
  margin-bottom: var(--site-space-base);
}

/* ============================================
   HORIZONTAL RULE
   ============================================ */

hr {
  border: none;
  border-top: 1px solid var(--site-color-border);
  margin: var(--site-space-lg) 0;
}

/* ============================================
   TABLES
   ============================================ */

table {
  border-collapse: collapse;
  border: 1px solid var(--site-color-border);
  font-size: var(--site-body-font-size);
  margin-bottom: var(--site-space-base);
  width: 100%;
}

thead {
  background-color: var(--site-color-bg-surface);
  border-bottom: 2px solid var(--site-color-border-bright);
}

thead th {
  color: var(--site-color-text-heading);
  font-weight: var(--site-fw-bold);
  padding: var(--site-space-base);
  text-align: left;
}

tbody tr:nth-child(odd) {
  background-color: rgba(26, 27, 46, 0.5);
}

td {
  border-bottom: 1px solid var(--site-color-border-subtle);
  color: var(--site-color-text-body);
  padding: var(--site-space-base);
}

/* ============================================
   FORM ELEMENTS
   ============================================ */

button,
input[type='button'],
input[type='submit'],
input[type='reset'] {
  background-color: var(--site-color-primary);
  border: 1px solid transparent;
  border-radius: var(--site-radius-base);
  color: var(--site-color-bg-primary);
  cursor: pointer;
  font-family: var(--site-font-sans);
  font-size: var(--site-body-font-size);
  font-weight: var(--site-fw-semibold);
  padding: var(--site-space-base) var(--site-space-lg);
  transition: background-color var(--site-transition-base), color var(--site-transition-base);
}

button:hover,
input[type='button']:hover,
input[type='submit']:hover,
input[type='reset']:hover {
  background-color: var(--site-color-primary-hover);
}

button:active,
input[type='button']:active,
input[type='submit']:active,
input[type='reset']:active {
  background-color: var(--site-color-primary-active);
}

button:focus-visible,
input[type='button']:focus-visible,
input[type='submit']:focus-visible,
input[type='reset']:focus-visible {
  outline: 2px solid var(--site-color-primary);
  outline-offset: 2px;
}

button:disabled,
input[type='button']:disabled,
input[type='submit']:disabled,
input[type='reset']:disabled {
  background-color: var(--site-color-border);
  cursor: not-allowed;
  opacity: 0.5;
}

/* Secondary button style */
button.secondary,
input[type='button'].secondary,
input[type='submit'].secondary,
input[type='reset'].secondary {
  background-color: transparent;
  border: 1px solid var(--site-color-border-bright);
  color: var(--site-color-text-heading);
}

button.secondary:hover,
input[type='button'].secondary:hover,
input[type='submit'].secondary:hover,
input[type='reset'].secondary:hover {
  background-color: var(--site-color-bg-surface);
  border-color: var(--site-color-primary);
}

/* Input fields */
input[type='text'],
input[type='email'],
input[type='password'],
input[type='number'],
input[type='tel'],
input[type='url'],
input[type='search'],
input[type='date'],
input[type='time'],
input[type='datetime-local'],
input[type='month'],
input[type='week'],
textarea,
select {
  background-color: var(--site-color-bg-surface);
  border: 1px solid var(--site-color-border);
  border-radius: var(--site-radius-base);
  color: var(--site-color-text-body);
  font-family: var(--site-font-sans);
  font-size: var(--site-body-font-size);
  line-height: var(--site-body-line-height);
  padding: var(--site-space-base) var(--site-space-md);
  transition: border-color var(--site-transition-base), box-shadow var(--site-transition-base);
  width: 100%;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='password']:focus,
input[type='number']:focus,
input[type='tel']:focus,
input[type='url']:focus,
input[type='search']:focus,
input[type='date']:focus,
input[type='time']:focus,
input[type='datetime-local']:focus,
input[type='month']:focus,
input[type='week']:focus,
textarea:focus,
select:focus {
  border-color: var(--site-color-primary);
  box-shadow: 0 0 0 3px rgba(24, 175, 173, 0.1);
  outline: none;
}

input[type='text']:disabled,
input[type='email']:disabled,
input[type='password']:disabled,
input[type='number']:disabled,
input[type='tel']:disabled,
input[type='url']:disabled,
input[type='search']:disabled,
input[type='date']:disabled,
input[type='time']:disabled,
input[type='datetime-local']:disabled,
input[type='month']:disabled,
input[type='week']:disabled,
textarea:disabled,
select:disabled {
  background-color: var(--site-color-bg-primary);
  color: var(--site-color-text-label);
  cursor: not-allowed;
  opacity: 0.6;
}

input::placeholder,
textarea::placeholder {
  color: var(--site-color-text-label);
  opacity: 0.7;
}

/* Checkbox and radio */
input[type='checkbox'],
input[type='radio'] {
  accent-color: var(--site-color-primary);
  cursor: pointer;
  margin-right: var(--site-space-sm);
}

input[type='checkbox']:focus-visible,
input[type='radio']:focus-visible {
  outline: 2px solid var(--site-color-primary);
  outline-offset: 2px;
}

/* ============================================
   LABEL
   ============================================ */

label {
  color: var(--site-color-text-label);
  display: block;
  font-size: var(--site-label-font-size);
  font-weight: var(--site-fw-semibold);
  margin-bottom: var(--site-space-sm);
  transition: color var(--site-transition-base);
}

input:focus ~ label,
textarea:focus ~ label {
  color: var(--site-color-text-heading);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Container — centered max-width */
.container {
  margin: 0 auto;
  max-width: var(--site-container-max-width);
  padding: 0 var(--site-container-padding);
  width: 100%;
}

/* Screen reader only — hide visually but keep accessible */
.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

/* Visually hidden but still accessible */
.visually-hidden {
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* Clear floats */
.clearfix::after {
  clear: both;
  content: '';
  display: table;
}

/* Truncate text with ellipsis */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Line clamp (2 lines) */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* Line clamp (3 lines) */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* Flex utilities */
.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-col {
  flex-direction: column;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-base {
  gap: var(--site-space-base);
}

.gap-md {
  gap: var(--site-space-md);
}

.gap-lg {
  gap: var(--site-space-lg);
}

/* Grid utilities */
.grid {
  display: grid;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Display utilities */
.hidden {
  display: none !important;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline {
  display: inline;
}

/* Opacity utilities */
.opacity-50 {
  opacity: 0.5;
}

.opacity-75 {
  opacity: 0.75;
}

/* Text utilities */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-white {
  color: var(--site-color-text-white);
}

.text-muted {
  color: var(--site-color-text-label);
}

.text-primary {
  color: var(--site-color-primary);
}

.text-secondary {
  color: var(--site-color-secondary);
}

.text-error {
  color: var(--site-color-error);
}

.text-success {
  color: var(--site-color-success);
}

.text-warning {
  color: var(--site-color-warning);
}

/* Background utilities */
.bg-primary {
  background-color: var(--site-color-primary);
}

.bg-secondary {
  background-color: var(--site-color-secondary);
}

.bg-surface {
  background-color: var(--site-color-bg-surface);
}

.bg-surface-card {
  background-color: var(--site-color-bg-surface-card);
}

.bg-error {
  background-color: var(--site-color-error);
}

.bg-success {
  background-color: var(--site-color-success);
}

.bg-warning {
  background-color: var(--site-color-warning);
}

/* Border utilities */
.border {
  border: 1px solid var(--site-color-border);
}

.border-top {
  border-top: 1px solid var(--site-color-border);
}

.border-bottom {
  border-bottom: 1px solid var(--site-color-border);
}

.border-primary {
  border-color: var(--site-color-primary);
}

/* Padding utilities */
.p-base {
  padding: var(--site-space-base);
}

.p-md {
  padding: var(--site-space-md);
}

.p-lg {
  padding: var(--site-space-lg);
}

.px-base {
  padding-left: var(--site-space-base);
  padding-right: var(--site-space-base);
}

.px-md {
  padding-left: var(--site-space-md);
  padding-right: var(--site-space-md);
}

.py-base {
  padding-top: var(--site-space-base);
  padding-bottom: var(--site-space-base);
}

.py-md {
  padding-top: var(--site-space-md);
  padding-bottom: var(--site-space-md);
}

.py-lg {
  padding-top: var(--site-space-lg);
  padding-bottom: var(--site-space-lg);
}

/* Margin utilities */
.m-base {
  margin: var(--site-space-base);
}

.m-md {
  margin: var(--site-space-md);
}

.m-lg {
  margin: var(--site-space-lg);
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-base {
  margin-bottom: var(--site-space-base);
}

.mb-md {
  margin-bottom: var(--site-space-md);
}

.mb-lg {
  margin-bottom: var(--site-space-lg);
}

.mt-base {
  margin-top: var(--site-space-base);
}

.mt-md {
  margin-top: var(--site-space-md);
}

.mt-lg {
  margin-top: var(--site-space-lg);
}

/* Width utilities */
.w-full {
  width: 100%;
}

.w-1\/2 {
  width: 50%;
}

.w-1\/3 {
  width: 33.333%;
}

.w-2\/3 {
  width: 66.666%;
}

.w-1\/4 {
  width: 25%;
}

.w-3\/4 {
  width: 75%;
}

.max-w-full {
  max-width: 100%;
}

/* Responsive display utilities */
@media (max-width: 767px) {
  .hidden-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hidden-tablet-up {
    display: none !important;
  }
}

/* Accessibility: focus visible ring */
:focus-visible {
  outline: 2px solid var(--site-color-primary);
  outline-offset: 2px;
}

/* Skip to main content link */
.skip-to-main {
  background-color: var(--site-color-primary);
  color: var(--site-color-bg-primary);
  left: -9999px;
  padding: var(--site-space-base) var(--site-space-md);
  position: fixed;
  text-decoration: none;
  top: 0;
  z-index: var(--site-z-modal);
}

.skip-to-main:focus-visible {
  left: 0;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

.dh-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.dh-reveal.dh-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.dh-reveal[data-stagger] > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.dh-reveal.dh-visible[data-stagger] > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.dh-reveal.dh-visible[data-stagger] > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.dh-reveal.dh-visible[data-stagger] > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.dh-reveal.dh-visible[data-stagger] > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.dh-reveal.dh-visible[data-stagger] > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }
.dh-reveal.dh-visible[data-stagger] > *:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .dh-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .dh-reveal[data-stagger] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================
   GLOW LINE DIVIDERS
   ============================================ */

.dh-glow-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--site-color-primary) 50%, transparent 100%);
  box-shadow: 0 0 12px 1px rgba(24, 175, 173, 0.35);
  border: none;
  margin: 0;
}

.dh-glow-line--red {
  background: linear-gradient(90deg, transparent 0%, var(--site-color-coral) 50%, transparent 100%);
  box-shadow: 0 0 12px 1px rgba(254, 74, 73, 0.35);
}

.dh-divider {
  width: 100%;
  height: 1px;
  background: var(--site-color-border);
}

/* ============================================
   LABEL / EYEBROW SYSTEM
   ============================================ */

.dh-label {
  font-family: var(--site-font-mono);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--site-color-text-label);
}

.dh-label--teal {
  color: var(--site-color-primary);
}

.dh-label--coral {
  color: var(--site-color-coral);
}

.dh-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--site-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--site-color-primary);
}

.dh-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--site-color-primary);
  animation: dh-pulse-teal 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dh-pulse-teal {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(24, 175, 173, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(24, 175, 173, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .dh-status__dot {
    animation: none;
  }
}

/* ============================================
   ADDITIONAL ANIMATION KEYFRAMES
   ============================================ */

@keyframes dh-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dh-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes dh-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes dh-pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(24, 175, 173, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(24, 175, 173, 0); }
}

/* Utility animation classes */
.dh-animate-float { animation: dh-float 6s ease-in-out infinite; }
.dh-animate-pulse-glow { animation: dh-pulse-glow 3s ease-in-out infinite; }
.dh-animate-fade-up { animation: dh-fade-up 0.5s ease forwards; }
.dh-animate-fade-in { animation: dh-fade-in 0.5s ease forwards; }

@media (prefers-reduced-motion: reduce) {
  .dh-animate-float,
  .dh-animate-pulse-glow,
  .dh-animate-fade-up,
  .dh-animate-fade-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   NODE ACCENT COLOR
   Set by field_accent_color on page / case_study.
   Components consume --dh-accent (with their own fallback).
   ============================================ */

/* --dh-accent-contrast picks dark or white text based on which one passes
   WCAG AA against the accent fill. Teal #18AFAD vs white = 2.6:1 (fails);
   vs --site-color-bg-primary = 8.0:1 (passes), so teal needs dark text. */
.doghouse-node--accent-amber  { --dh-accent: var(--site-color-amber);     --dh-accent-contrast: var(--site-color-bg-primary); }
.doghouse-node--accent-coral  { --dh-accent: var(--site-color-coral);     --dh-accent-contrast: var(--site-color-text-white); }
.doghouse-node--accent-pink   { --dh-accent: var(--site-color-pink);      --dh-accent-contrast: var(--site-color-bg-primary); }
.doghouse-node--accent-teal   { --dh-accent: var(--site-color-primary);   --dh-accent-contrast: var(--site-color-bg-primary); }
.doghouse-node--accent-purple { --dh-accent: var(--site-color-secondary); --dh-accent-contrast: var(--site-color-text-white); }

/* Paragraph-scope accent (lets individual cards in the same grid tint differently). */
.doghouse-card--accent-amber         { --dh-accent: var(--site-color-amber);     --dh-accent-contrast: var(--site-color-bg-primary); }
.doghouse-card--accent-coral         { --dh-accent: var(--site-color-coral);     --dh-accent-contrast: var(--site-color-text-white); }
.doghouse-card--accent-pink          { --dh-accent: var(--site-color-pink);      --dh-accent-contrast: var(--site-color-bg-primary); }
.doghouse-card--accent-teal          { --dh-accent: var(--site-color-primary);   --dh-accent-contrast: var(--site-color-bg-primary); }
.doghouse-card--accent-purple        { --dh-accent: var(--site-color-secondary); --dh-accent-contrast: var(--site-color-text-white); }
.doghouse-card--accent-amber_glow    { --dh-accent: var(--site-color-amber);     --dh-accent-contrast: var(--site-color-bg-primary); }
.doghouse-card--accent-coral_to_pink { --dh-accent: var(--site-color-coral);     --dh-accent-contrast: var(--site-color-text-white); }
.doghouse-card--accent-teal_to_sky   { --dh-accent: var(--site-color-primary);   --dh-accent-contrast: var(--site-color-bg-primary); }
