/* CebuPrime heritage-luxury theme v5.9.5
   Dark-academia palette: forest + oxblood, separated by parchment and aged brass.
   This file intentionally changes color tokens only; it does not rebuild page layout. */
:root {
  --cp-forest-950: #0F1F1A;
  --cp-forest-900: #183127;
  --cp-forest-800: #223B31;
  --cp-forest-muted: #2B3932;

  --cp-oxblood-900: #3C1820;
  --cp-oxblood-800: #5A1F2A;
  --cp-oxblood-700: #71303C;

  --cp-brass: #B08A57;
  --cp-antique-gold: #C3A06D;

  --cp-parchment: #F2EBDD;
  --cp-ivory: #E8DFCF;
  --cp-porcelain: #F5F1E8;

  --cp-text-dark: #1B1C1A;
  --cp-text-muted: #56514B;
  --cp-text-light-muted: #C9C1B3;

  --cp-border-dark: #39463D;
  --cp-border-light: #CFC3B0;

  /* Compatibility aliases used by the existing CebuPrime/CEBOOM shell. */
  --teal: var(--cp-forest-900);
  --teal2: var(--cp-forest-800);
  --abyss: var(--cp-forest-950);
  --brass: var(--cp-brass);
  --coral: var(--cp-oxblood-800);
  --sand: var(--cp-parchment);
  --cream: var(--cp-ivory);
  --white: #FFFFFF;
  --ink: var(--cp-text-dark);
  --ink-soft: var(--cp-text-muted);
  --muted: var(--cp-text-muted);
  --border: var(--cp-border-light);
}

html { color-scheme: light; }
body { accent-color: var(--cp-oxblood-800); }
::selection { background: var(--cp-oxblood-800); color: var(--cp-porcelain); }

/* Accessible focus treatment without changing component geometry. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--cp-antique-gold);
  outline-offset: 3px;
}

/* Common shell elements use the heritage palette where class names are shared. */
header,
.site-header,
.topbar,
.main-header {
  --teal: var(--cp-forest-900);
  --abyss: var(--cp-forest-950);
}

footer,
.site-footer {
  --teal: var(--cp-forest-900);
  --abyss: var(--cp-forest-950);
  --ink-soft: var(--cp-text-light-muted);
}

/* Preserve status semantics while removing bright holiday/SaaS colors. */
.status-preselling,
.badge-preselling,
.tag-preselling {
  background: #E4D7BC !important;
  color: #5A4528 !important;
}
.status-rfo,
.badge-rfo,
.tag-rfo,
.status-ready {
  background: #D7E0D7 !important;
  color: #244132 !important;
}
.status-construction,
.badge-construction,
.tag-construction {
  background: #D9D0C3 !important;
  color: #51483D !important;
}
.status-guide,
.badge-guide,
.tag-guide {
  background: #E5D6D8 !important;
  color: var(--cp-oxblood-800) !important;
}
