:root {
  --qe-ink: #141a22;
  --qe-maroon: #155199;
  --qe-gold: #155199;
  --qe-sand: #f7f4ef;
  --qe-muted: #5f6772;
}
body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--qe-ink);
  background: var(--qe-sand);
}

.font-display,
h1, h2, h3, .display-hero {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.01em;
}

/* Classy top bar */
.top-strip {
  background: var(--qe-ink);
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  letter-spacing: .04em;
}

.navbar-qe {
  background: rgba(247, 244, 239, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20,26,34,.08);
}

.navbar-qe .nav-link {
  color: var(--qe-ink) !important;
  font-weight: 600;
  font-size: .92rem;
  padding: .55rem .9rem !important;
  position: relative;
}

.navbar-qe .nav-link.active,
.navbar-qe .nav-link:hover {
  color: var(--qe-maroon) !important;
}

.navbar-qe .nav-link.active::after {
  content: "";
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .2rem;
  height: 2px;
  background: var(--qe-gold);
}

.brand-logo {
  height: 42px;
  width: auto;
}

.btn-maroon {
  background: var(--qe-maroon);
  border-color: var(--qe-maroon);
  color: #fff;
  border-radius: .2rem;
  font-weight: 600;
  padding: .65rem 1.25rem;
}

.btn-maroon:hover {
  background: #44B388;
  border-color: #44B388;
  color: #fff;
}

.btn-outline-ink {
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
  border-radius: .2rem;
  font-weight: 600;
  padding: .65rem 1.25rem;
}

.btn-outline-ink:hover {
  background: #fff;
  color: var(--qe-ink);
}

/* Hero carousel — full bleed */
.hero-carousel .carousel-item {
  height: min(88vh, 760px);
}

.hero-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.78);
}

.hero-carousel .carousel-caption {
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  text-align: left;
  display: flex;
  align-items: flex-end;
  padding: 0;
  background: linear-gradient(90deg, rgba(20,26,34,.82) 0%, rgba(20,26,34,.35) 55%, rgba(20,26,34,.15) 100%);
}

.hero-caption-inner {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.5rem 0 3.5rem;
}

.display-hero {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: .95;
  font-weight: 600;
  color: #fff;
  max-width: 14ch;
}

.hero-kicker {
  color: var(--qe-gold);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 700;
}

.hero-sub {
  color: rgba(255,255,255,.86);
  max-width: 34rem;
  font-size: 1.1rem;
}

/* Alert */
.scam-alert {
  background: #fff8f4;
  border-left: 4px solid var(--qe-maroon);
}

/* Sections */
.section-pad { padding: 5rem 0; }

.eyebrow {
  color: var(--qe-maroon);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .75rem;
  font-weight: 700;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

.text-muted-qe { color: var(--qe-muted) !important; }

.pillar-card {
  border: 0;
  background: transparent;
  height: 100%;
}

.pillar-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  border-radius: .15rem;
}

.pillar-card .num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.4rem;
  color: #155199;
  line-height: 1;
}

.split-panel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.split-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-panel .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,26,34,.25), rgba(20,26,34,.78));
}

.split-panel .content {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  color: #fff;
}

.news-card {
  border: 0;
  background: #fff;
  border-radius: .15rem;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 30px rgba(20,26,34,.05);
  transition: transform .35s ease, box-shadow .35s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20,26,34,.1);
}

.news-card img {
  height: 190px;
  width: 100%;
  object-fit: cover;
}

.news-date {
  color: var(--qe-maroon);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.page-hero {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.7);
}

.page-hero .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,26,34,.85), rgba(20,26,34,.35));
}

.page-hero .inner {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0 3rem;
}

.benefit-item {
  background: #fff;
  border-top: 2px solid var(--qe-gold);
  padding: 1.1rem 1rem;
  height: 100%;
  font-weight: 600;
}

.site-footer {
  background: var(--qe-ink);
  color: rgba(255,255,255,.72);
}

.site-footer a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
}

.site-footer a:hover { color: var(--qe-gold); }

.footer-logo { height: 40px; width: auto; }

.gold-rule {
  width: 4rem;
  height: 2px;
  background: var(--qe-gold);
  border: 0;
  opacity: 1;
  margin: 1rem 0 1.25rem;
}

@media (max-width: 767.98px) {
  .hero-carousel .carousel-item { height: 78vh; }
  .display-hero { max-width: none; }
}
