:root {
  --kelly-950: #0a2410;
  --kelly-900: #123a1a;
  --kelly-800: #1c5226;
  --kelly-700: #2f7d3a;
  --kelly-500: #4cbb17;
  --gold-600: #b8912e;
  --gold-500: #c9a227;
  --gold-300: #e8c766;
  --gold-100: #f4e7c1;
  --cream: #f8f5ee;
  --paper: #fffdf8;
  --ink: #1a2018;
  --ink-soft: #4b5546;
  --rule: rgba(26, 32, 24, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.01em;
}

a {
  text-decoration: none;
}

::selection {
  background: var(--gold-300);
  color: var(--kelly-950);
}

/* ---------- Ribbon divider (signature element) ---------- */
.ribbon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2.75rem;
}

.ribbon-wrap::before,
.ribbon-wrap::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}

.ribbon-wrap::after {
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

.ribbon {
  position: relative;
  margin: 0 18px;
  padding: 0.55rem 3rem;
  background: var(--kelly-800);
  color: var(--gold-300);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%);
  white-space: nowrap;
}

.ribbon i {
  color: var(--gold-500);
  margin-right: 8px;
}

/* ---------- Navbar ---------- */
.navbar-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-300), var(--gold-600) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kelly-950);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 0 0 3px var(--kelly-800);
}

.navbar {
  background: rgba(10, 36, 16, 0.92);
  backdrop-filter: blur(10px);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  transition: all .3s ease;
}

.navbar .brand-text {
  font-family: 'Playfair Display', serif;
  color: var(--paper);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.navbar .brand-text small {
  display: block;
  font-family: 'Inter', sans-serif;
  color: var(--gold-300);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.nav-link {
  color: rgba(248, 245, 238, 0.82) !important;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  margin: 0 0.35rem;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width .25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--gold-300) !important;
}

.nav-fb {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--kelly-950) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.4rem;
}

.nav-fb:hover {
  background: var(--gold-300);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--kelly-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: top;
  background-image: url('../../img/hero-banner-covers.jpg');
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, .15);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 5rem;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 162, 39, 0.14);
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: var(--gold-300);
  padding: 0.4rem 1rem;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--paper);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 600;
  line-height: 1.02;
  margin: 1.1rem 0 1rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-300);
}

.hero p.lead {
  color: rgba(248, 245, 238, 0.82);
  font-size: 1.15rem;
}

.pillar-chip {
  background: rgba(0, 0, 0, 0.25);
  padding: 0.9rem 1.1rem;
  color: var(--paper);
  height: 100%;
  text-align: center;
}

.pillar-chip .pillar-label {
  color: var(--gold-300);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 5px;
}

.pillar-chip .pillar-desc {
  font-size: 0.86rem;
  color: rgba(248, 245, 238, 0.78);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-300), var(--gold-600));
  border: none;
  color: var(--kelly-950);
  font-weight: 700;
  padding: 0.75rem 1.7rem;
  border-radius: 8px;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px -6px rgba(201, 162, 39, 0.55);
}

.btn-gold:hover {
  color: var(--kelly-950);
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-outline-cream {
  border: 1.5px solid rgba(248, 245, 238, 0.55);
  color: var(--paper);
  padding: 0.72rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
}

.btn-outline-cream:hover {
  background: rgba(248, 245, 238, 0.1);
  color: var(--paper);
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  right: 38px;
  z-index: 3;
  color: rgba(248, 245, 238, 0.6);
  font-size: 1.4rem;
}

/* ---------- Sections ---------- */
section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  color: var(--kelly-900);
  font-weight: 600;
}

.text-gold {
  color: var(--gold-600) !important;
}

.bg-kelly {
  background: var(--kelly-900);
}

.bg-kelly-950 {
  background: var(--kelly-950);
}

.card-quiet {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 16px;
}

/* Intro / portrait */
.portrait-frame {
  position: relative;
  border-radius: 0px;
  overflow: hidden;
  border: 10px solid var(--paper);
  box-shadow: 0 24px 50px -20px rgba(10, 36, 16, 0.35);
}

/* Profile sheet (About section) */
.profile-sheet {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
}

.profile-row {
  display: flex;
  gap: 2.2rem;
  padding: 1.7rem 2.2rem;
  border-bottom: 1px solid var(--rule);
}

.profile-row:last-child {
  border-bottom: none;
}

.profile-label {
  flex: 0 0 130px;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--kelly-900);
  font-size: 1.02rem;
}

.profile-label i {
  color: var(--gold-600);
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

.profile-value {
  flex: 1;
  min-width: 0;
}

.profile-value ul {
  margin: 0;
  padding-left: 1.15rem;
}

.profile-value ul ul {
  margin-top: 0.4rem;
  padding-left: 1.2rem;
}

.profile-value li {
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.profile-value li:last-child {
  margin-bottom: 0;
}

.profile-value li strong {
  color: var(--ink);
}

.profile-value li::marker {
  color: var(--gold-600);
}

@media (max-width:767px) {
  .profile-row {
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.4rem 1.3rem;
  }

  .profile-label {
    flex: none;
  }
}

/* Priorities cards */
.priority-card {
  background: var(--paper);
  border-radius: 18px;
  padding: 2.1rem 1.8rem;
  border: 1px solid var(--rule);
  height: 100%;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}

.priority-num {
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  color: var(--kelly-900);
  text-align: center;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.priority-card h4 {
  color: var(--kelly-900);
}

/* Results / stats */
.stat-box {
  text-align: center;
  padding: 1.6rem 1rem;
}

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.1rem, 4vw, 3rem);
  color: var(--gold-300);
  font-weight: 700;
  line-height: 1;
}

.stat-lbl {
  color: rgba(248, 245, 238, 0.75);
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

.result-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(248, 245, 238, 0.1);
  gap: 0.7rem;
  color: rgba(248, 245, 238, 0.88);
}

.result-list li i {
  color: var(--gold-400, var(--gold-300));
  margin-top: 0.25rem;
  margin-right: 5px;
}

.result-list li:last-child {
  border-bottom: none;
}

/* Endorsements */
.endorse-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  height: 100%;
  color: var(--paper);
}

.endorse-card h5,
.endorse-card h3 {
  color: var(--kelly-900);
}

.endorse-card p {
  color: var(--ink-soft);
}

.endorse-card .badge-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--kelly-800);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* News */
.news-panel {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
}

.news-col {
  padding: 0;
}

.news-row {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  position: relative;
}

.news-col .news-row:last-child {
  border-bottom: none;
}

.news-row .news-title {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  transition: color .2s ease;
  display: flex;
}

.news-row .news-arrow {
  flex: 0 0 auto;
  font-size: 0.8rem;
  color: var(--gold-600);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .2s ease, transform .2s ease;
}

.news-row:hover .news-title {
  color: var(--gold-600);
}

.news-row:hover .news-arrow {
  opacity: 1;
  transform: translateX(0);
}

.news-row:hover {
  background: var(--cream);
}

/* Get involved / form */
.involve-card {
  background: var(--paper);
  border-radius: 20px;
  border: 1px solid var(--rule);
  padding: 2.6rem;
}

.form-control,
.form-select {
  border-radius: 8px;
  border: 1px solid var(--rule);
  padding: 0.65rem 0.9rem;
  background: var(--cream);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
  background: var(--paper);
}

.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--kelly-900);
}

.mail-card {
  background: var(--kelly-800);
  color: var(--paper);
  border-radius: 20px;
  padding: 2.6rem;
}

.mail-card .addr {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  line-height: 1.6;
}

/* Footer */
footer {
  background: var(--kelly-950);
  color: rgba(248, 245, 238, 0.75);
  padding-top: 4rem;
}

footer h6 {
  color: var(--gold-300);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

footer a {
  color: rgba(248, 245, 238, 0.75);
}

footer a:hover {
  color: var(--gold-300);
}

.footer-bottom {
  border-top: 1px solid rgba(248, 245, 238, 0.12);
  margin-top: 2.5rem;
  padding: 1.4rem 0;
  font-size: 0.8rem;
}

.social-round {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(248, 245, 238, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300) !important;
}

.social-round:hover {
  background: var(--gold-500);
  color: var(--kelly-950) !important;
}

@media (max-width:767px) {
  section {
    padding: 4rem 0;
  }

  .hero {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

  .hero-bg {
    background-image: url('../../img/hero-banner-covers-sm.jpg');
  }

  .hero-content {
    position: relative;
    z-index: 2;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Scroll-triggered entrance animations: elements sit hidden as .will-animate
   until they scroll into view, at which point JS adds the matching
   animate__animated + animate__<name> classes (from data-anim) to play it. */
.will-animate {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .will-animate {
    opacity: 1;
  }
}

/* Owl Carousel theming (What's Next / Voter Info image carousels) */
.results-carousel .item img, .next-carousel .item img, .faq-carousel .item img {
  border-radius: 0;
  width: 100%;
  border: 10px solid #fff;
	  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

	.serving-carousel .item img, .news-carousel .item img {
  border-radius: 0;
  width: 100%;
  border: 10px solid #f2f2f2;
}

.owl-carousel.owl-theme {
  position: relative;
  padding: 0 62px;
}

.owl-theme .owl-nav {
  margin-top: 0;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
  z-index: 5;
  pointer-events: none;
}

.owl-theme .owl-nav [class*="owl-"] {
  border: none;
  font: inherit;
  padding: 0 3px 3px;
  pointer-events: auto;
  background: var(--kelly-800);
  color: #fff;
  width: 45px;
  height: 45px;
  line-height: 45px;
  border-radius: 50%;
  font-size: 1.5rem;
  margin: 0;
  transition: background .2s ease;
  flex: 0 0 auto;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel button.owl-dot {
  background: var(--kelly-800);
  color: #fff;
}

.owl-theme .owl-nav [class*="owl-"]:hover {
  background: var(--kelly-700);
  color: #fff;
}

.faq-carousel.owl-theme .owl-nav [class*="owl-"] {
  color: var(--paper);
}

@media (max-width:575.98px) {
  .owl-carousel.owl-theme {
    padding: 0 46px;
  }

  .owl-theme .owl-nav [class*="owl-"] {
    width: 38px;
    height: 38px;
    line-height: 38px;
    font-size: 1.1rem;
  }
}

