/* Navy & Gold theme: overrides the default (ember) palette. Layout and type are unchanged. */
:root {
  --chalk: #FAF8F4;
  --paper: #FFFFFF;
  --mist: #F0EDE6;
  --rule: #E3DED4;
  --ink: #0F2847;
  --body: #1C1917;
  --ink-soft: #3D3835;
  --ink-mute: #6B655F;
  --ember: #C9993A;
  --ember-ink: #8A6420;
  --night: #0F2847;
  --night-soft: #C3CCDB;
  --head-bg: rgba(250,248,244,.92);
  --shade: 15,40,71;
  --tag-bg: #F5EDD8;
  --foot-small: #93A0B8;
}
.btn-primary:hover { background: var(--ember-ink); border-color: var(--ember-ink); }
.btn-light:hover { background: var(--ember); border-color: var(--ember); color: var(--night); }
.raise-bar .a { background: var(--ember); color: var(--night); }
::selection { background: var(--ember); color: var(--night); }

/* ---------- Brand iconography (decorative only) ----------
   The EP glyph and the therefore sign (∴) are accents, never a stand-in for the logo. */

/* Section marker: the gold therefore sign replaces the plain bar */
.mark { width: 26px; height: 24px; background: url("/assets/img/brand/therefore-gold.svg") no-repeat left center / contain; border-radius: 0; }

/* Navy sections carry the brand pattern */
.closer, .site-foot { position: relative; isolation: isolate; }
.closer::before, .site-foot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("/assets/img/brand/pattern-on-dark.svg") repeat; background-size: 48px auto; opacity: .55;
}

/* A faint EP glyph watermarks the top of inner pages */
.page-hero { position: relative; overflow: hidden; isolation: isolate; }
.page-hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: max(4vw, calc((100vw - 1200px) / 2)); top: 50%; transform: translateY(-50%);
  width: clamp(260px, 30vw, 420px); aspect-ratio: 1;
  background: url("/assets/img/brand/ep-glyph-deep.svg") no-repeat center / contain; opacity: .05;
}
.page-hero:has(img)::after { display: none; }
@media (max-width: 760px) { .page-hero::after { display: none; } }

/* Testimonial cards carry a faint gold therefore sign */
.quote { position: relative; overflow: hidden; }
.quote::after {
  content: ""; position: absolute; right: 22px; bottom: 20px; width: 34px; height: 31px; pointer-events: none;
  background: url("/assets/img/brand/therefore-gold.svg") no-repeat center / contain; opacity: .18;
}
