/* =====================================================
   Hewett Will Do It 2026 — Campaign Website
   main.css — All styles
   ===================================================== */

/* --- CSS Variables ---------------------------------- */
:root {
  --navy:      #0B1F3A;
  --navy-soft: #102444;
  --green:     #2D6A4F;
  --cream:     #F5F0E8;
  --gold:      #C9883A;
  --white:     #FFFFFF;

  --font-display: 'Playfair Display', serif;
  --font-body:    'Inter', sans-serif;

  --max-width:  1200px;
  --nav-height: 72px;

  --shadow-sm: 0 2px 8px rgba(11, 31, 58, 0.07);
  --shadow-md: 0 6px 24px rgba(11, 31, 58, 0.12);
  --shadow-lg: 0 10px 36px rgba(11, 31, 58, 0.18);
  --radius:    8px;
  --transition: 0.2s ease;

  /* Parchment grain — aged paper on cream sections */
  --grain-cream: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23grain)' opacity='0.048'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Parchment grain layered over cream background */
body {
  font-family: var(--font-body);
  background-color: var(--cream);
  background-image: var(--grain-cream);
  background-repeat: repeat;
  background-size: 200px 200px;
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Site Header & Nav ------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  /* Slight transparency enables backdrop blur on modern browsers */
  background-color: rgba(11, 31, 58, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(11, 31, 58, 0.4);
}

.nav-container {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  background: transparent;
  background-color: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.025em;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

/* Gold underline slides in on hover */
.nav-link:hover {
  color: var(--white);
  border-bottom-color: rgba(201, 136, 58, 0.5);
}

.nav-link.active {
  color: var(--white);
  border-bottom-color: var(--gold);
}

.nav-link.nav-cta {
  background-color: var(--green);
  color: var(--white);
  padding: 0.5rem 1.35rem;
  border-radius: var(--radius);
  border-bottom: none;
  transition: background-color var(--transition), transform var(--transition);
}

.nav-link.nav-cta:hover {
  background-color: #3a8a65;
  transform: translateY(-1px);
  border-bottom-color: transparent;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero Section ----------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse at 75% 40%, rgba(45, 106, 79, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(201, 136, 58, 0.14) 0%, transparent 50%);
  color: var(--white);
  padding: 6rem 2rem 4.5rem;
  text-align: center;
}

/* Directional grain — horizontal striations like worn canvas or weathered wood */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='hg'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.018 0.6' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23hg)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 300px 300px;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

/* City seal watermark placeholder — replace background-image comment with real seal when ready */
.seal-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 2px solid var(--white);
  /* background-image: url('assets/images/city-seal.png');
     background-size: contain;
     background-repeat: no-repeat;
     background-position: center; */
  pointer-events: none;
  z-index: 0;
  opacity: 0.055;
}

.hero-content {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  z-index: 1;
}

.hero-election {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

/* Larger, more commanding name */
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 0;
  letter-spacing: -0.015em;
}

/* Thin gold horizontal rule between name and tagline */
.hero-rule {
  width: 60px;
  height: 2px;
  background-color: var(--gold);
  border: none;
  margin: 1rem auto;
  opacity: 0.75;
}

/* Slightly larger italic tagline */
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.1rem;
  font-style: italic;
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  max-width: 460px;
  margin: 0 auto 2.75rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Wave Divider — hero to platform transition ----- */
.hero-wave {
  display: block;
  width: 100%;
  line-height: 0;
  margin-top: -2px;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* --- Buttons ---------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.8rem 2.1rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--green);
  color: var(--white);
  border: 2px solid var(--green);
}

.btn-primary:hover {
  background-color: #3a8a65;
  border-color: #3a8a65;
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.08);
}

/* --- Platform Section ------------------------------- */
.platform-section {
  padding: 4rem 2rem 5.5rem;
}

.section-header {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.section-sub {
  font-size: 1rem;
  color: rgba(11, 31, 58, 0.55);
}

/* --- Footer ----------------------------------------- */
.site-footer {
  /* Warmer, slightly lighter than pure navy */
  background-color: var(--navy-soft);
  /* Gold top border — anchors the page visually */
  border-top: 3px solid var(--gold);
  color: rgba(255, 255, 255, 0.65);
  padding: 3.5rem 2rem 2.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem 3rem;
  align-items: start;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.footer-tagline {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.03em;
  text-align: center;
}

.footer-nav,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a,
.footer-social-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-nav a:hover,
.footer-social-link:hover {
  color: var(--white);
}

.footer-social-link--soon {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.footer-social-link--soon:hover {
  color: rgba(255, 255, 255, 0.6);
}

.footer-social-soon {
  font-size: 0.7rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.4);
  margin-left: 0.3rem;
}

.footer-legal {
  grid-column: 1 / -1;
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}

/* --- Shared: Photo Placeholder ---------------------- */
.photo-placeholder {
  background-color: rgba(11, 31, 58, 0.08);
  border: 2px dashed rgba(11, 31, 58, 0.18);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(11, 31, 58, 0.4);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --- Hero Short Variant (inner pages) --------------- */
.hero--short {
  padding: 4rem 2rem 3.5rem;
}

.hero--short .hero-name {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

/* --- Placeholder / Coming Soon Pages ---------------- */
.page-placeholder {
  padding: 4rem 2rem 5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.placeholder-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.placeholder-inner--wide {
  max-width: var(--max-width);
}

.placeholder-text {
  font-size: 1.05rem;
  color: rgba(11, 31, 58, 0.65);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.photo-placeholder--large {
  height: 320px;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.photo-placeholder--qr {
  height: 160px;
  width: 160px;
  margin: 1rem auto 0;
}

.placeholder-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.placeholder-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border: 1px solid rgba(11, 31, 58, 0.08);
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.placeholder-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}

.placeholder-card-text {
  font-size: 0.9rem;
  color: rgba(11, 31, 58, 0.6);
  line-height: 1.65;
}

.coming-soon-badge {
  display: inline-block;
  background-color: rgba(201, 136, 58, 0.13);
  color: #a46a22;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-top: 0.25rem;
}

.btn-green {
  display: inline-block;
  background-color: var(--green);
  color: var(--white);
  padding: 0.8rem 2.1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background-color var(--transition), transform var(--transition);
}

.btn-green:hover {
  background-color: #3a8a65;
  transform: translateY(-2px);
}

/* --- Responsive ------------------------------------- */

/* Tablet */
@media (max-width: 960px) {
  .ac-list {
    grid-template-columns: 1fr;
  }
  .cred-cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Carousel tablet (768px) — 2 visible cards */
@media (max-width: 768px) {
  .carousel-slide {
    flex: 0 0 50%;
    min-width: 50%;
  }
}

/* Carousel phone (480px) — single full-width card so content isn't cramped */
@media (max-width: 480px) {
  .carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background-color: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 2rem 1.5rem;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    width: 100%;
  }

  .nav-link.active {
    color: var(--gold);
    border-bottom: none;
  }

  .nav-link.nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border-radius: var(--radius);
    padding: 0.65rem 1rem;
  }

  .hero {
    padding: 4rem 1.5rem 3rem;
  }

  .hero-wave svg {
    height: 40px;
  }

  /* Carousel mobile — 1 visible card */
  .carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .carousel-prev,
  .carousel-next {
    width: 38px;
    height: 38px;
  }

  .feedback-section {
    padding: 4rem 1.5rem;
  }

  .placeholder-cards {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* =====================================================
   Footer Logo
   ===================================================== */

.footer-logo-img {
  width: clamp(180px, 25vw, 320px);
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 0.4rem;
  opacity: 0.88;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

/* =====================================================
   Hero Video Background
   ===================================================== */

/* Video hero — navy background only, no static image fallback */
.hero--video {
  background-color: var(--navy);
  min-height: 580px;
  height: 88vh;
  max-height: 860px;
  padding: 0;
}

.hero--video::before {
  display: none;
}

/* Flat overlay for video hero — subtle tint to let video breathe */
.hero--video .hero-overlay {
  background: rgba(11, 31, 58, 0.25);
}

.hero--video .seal-watermark { z-index: 2; }

.hero--video .hero-content {
  position: relative;
  z-index: 3;
  max-width: 58%;
  margin-left: 5%;
  margin-right: auto;
  text-align: left;
}

.hero--video .hero-rule {
  margin: 1rem 0;
}

.hero--video .hero-sub {
  margin: 0 0 2.75rem;
}

.hero--video .hero-actions {
  justify-content: flex-start;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: 0;
}

/* =====================================================
   Photo Background Helpers
   ===================================================== */

/* Full-bleed background image in any section */
.hero-bg-img,
.section-bg-img,
.gi-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Meet Seth hero — shift up to show raised-arm/crowd scene rather than waist crop */
.hero--photo .hero-bg-img {
  object-position: center 15%;
}

/* "Why Am I Running" section — shift up to show Seth's face/upper body rather than waist/legs */
.ms-section--photo .section-bg-img {
  object-position: center 20%;
}

/* Get Involved community banner — shift up to show faces/crowd rather than waist/legs */
.gi-banner-img {
  object-position: center 20%;
}

/* Dark overlay (with subtle radial gradients) over any bg photo */
.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 70% 40%, rgba(45, 106, 79, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(201, 136, 58, 0.08) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(11, 31, 58, 0.7), rgba(11, 31, 58, 0.85));
  z-index: 1;
}

.section-overlay,
.gi-banner-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(11, 31, 58, 0.68);
  z-index: 1;
}

/* Hero photo variant — suppress grain ::before (photo provides texture) */
.hero--photo::before {
  display: none;
}

/* Lift seal + content above the overlay layer */
.hero--photo .seal-watermark { z-index: 2; }
.hero--photo .hero-content   { z-index: 3; }

/* =====================================================
   Meet Seth Page Sections
   ===================================================== */

.ms-section {
  padding: 5rem 2rem;
}

.ms-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.ms-section-inner--narrow {
  max-width: 760px;
  margin: 0 auto;
}

.ms-section--cream {
  background-color: var(--cream);
}

.ms-section--navy {
  background-color: var(--navy);
  color: var(--white);
}

/* Full-bleed photo section with text overlay */
.ms-section--photo {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.ms-photo-overlay-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 5rem 2rem;
  color: var(--white);
  width: 100%;
}

/* Two-column layout: photo | text */
.ms-two-col {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Reverse order: text | photo */
.ms-two-col--reversed .ms-photo-col { order: 2; }
.ms-two-col--reversed .ms-text-col  { order: 1; }

.ms-section-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.ms-text-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ms-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.ms-section--cream .ms-section-title { color: var(--navy); }
.ms-section--navy  .ms-section-title { color: var(--white); }

/* Label style for the photo-overlay section heading */
.ms-section--photo .ms-section-title {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0;
}

.ms-section-title--centered {
  text-align: center;
  margin-bottom: 2.5rem;
}

.ms-section--cream p,
.ms-section--cream li {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(11, 31, 58, 0.78);
}

.ms-section--navy p,
.ms-section--navy li {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

/* Large italic pull-quote on photo overlay */
.ms-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-style: italic;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-top: 1.25rem;
  opacity: 0.96;
}

/* Work & Service three-photo grid */
.ms-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.ms-work-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.ms-work-caption {
  font-size: 0.82rem;
  color: rgba(11, 31, 58, 0.52);
  margin-top: 0.75rem;
  text-align: center;
  font-style: italic;
  line-height: 1.5;
  padding: 0 0.25rem;
}

/* Republican/Democrat text section paragraph spacing */
.ms-party-body {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* CTA section */
.ms-cta {
  text-align: center;
}

.ms-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.ms-cta-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.ms-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Placeholder block for sections awaiting copy */
.ms-placeholder-text {
  padding: 2.5rem;
  border: 2px dashed rgba(11, 31, 58, 0.15);
  border-radius: var(--radius);
  text-align: center;
  color: rgba(11, 31, 58, 0.38);
  font-style: italic;
  line-height: 1.7;
}

/* =====================================================
   Get Involved — Community Banner
   ===================================================== */

.gi-banner {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Fallback when IMG_5701.jpg is not yet present */
  background-color: var(--navy);
}

.gi-banner-text-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 2rem;
  max-width: 760px;
}

.gi-banner-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-style: italic;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}

/* QR code actual image */
.gi-qr-img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  display: block;
  margin: 1rem auto 0;
  border-radius: 4px;
  background-color: var(--white);
  padding: 8px;
}

/* =====================================================
   Campaign Launch Video Section (index.html)
   ===================================================== */

.launch-section {
  background-color: var(--navy);
  padding: 5rem 2rem;
  text-align: center;
}

.launch-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.launch-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1rem;
}

.launch-sub {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.72);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.launch-video-wrap {
  max-width: 800px;
  margin: 2rem auto;
  aspect-ratio: 16 / 9;
}

.launch-video-wrap iframe {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  display: block;
}

.launch-credentials {
  list-style: none;
  padding: 0;
  margin: 2rem auto 0;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.launch-credentials li {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
}

/* =====================================================
   Section Wave Dividers
   ===================================================== */

.section-wave {
  display: block;
  width: 100%;
  line-height: 0;
  margin-top: -2px;
  margin-bottom: -2px;
}

.section-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* =====================================================
   Platform Accordion Sections
   ===================================================== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes sweepUnderline {
  from { width: 0; }
  to   { width: 100%; }
}

.ac-section {
  background-color: var(--cream);
  padding: 5rem 2rem 6rem;
}

.ac-section--navy {
  background-color: var(--navy);
}

.ac-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.ac-section-header {
  text-align: center;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
}

.ac-section-header.is-visible {
  animation: fadeUp 0.6s ease forwards;
}

.ac-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  display: inline-block;
  position: relative;
}

.ac-section--navy .ac-heading {
  color: var(--cream);
}

/* Gold underline sweep on load */
.ac-heading::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 3px;
  width: 0;
  background-color: var(--gold);
  border-radius: 2px;
}

.ac-heading.underline-ready::after {
  animation: sweepUnderline 0.8s ease forwards;
  animation-delay: 0.4s;
}

.ac-sub {
  font-size: 1rem;
  color: rgba(11, 31, 58, 0.55);
  margin-top: 0.75rem;
}

.ac-section--navy .ac-sub {
  color: rgba(245, 240, 232, 0.6);
}

/* 2-col grid on desktop */
.ac-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
}

.ac-item {
  display: flex;
  flex-direction: column;
}

/* Clickable header row */
.ac-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background-color: var(--navy);
  color: var(--cream);
  border: none;
  cursor: pointer;
  text-align: left;
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ac-section--navy .ac-header {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ac-item.is-open .ac-header {
  border-radius: var(--radius) var(--radius) 0 0;
}

.ac-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.28);
}

.ac-icon {
  flex-shrink: 0;
  line-height: 0;
}

.ac-icon svg {
  display: block;
}

.ac-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
  flex: 1;
  line-height: 1.3;
}

/* "Tap to read" / "See the Plan" label — swaps on hover */
.ac-cta-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
}

.ac-cta-hover { display: none; }

.ac-header:hover .ac-cta-default { display: none; }
.ac-header:hover .ac-cta-hover   { display: inline; }

/* Rotating chevron */
.ac-chevron {
  flex-shrink: 0;
  color: var(--gold);
  line-height: 0;
  transition: transform 0.35s ease;
}

.ac-item.is-open .ac-chevron {
  transform: rotate(180deg);
}

/* Collapsible content panel */
.ac-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background-color: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
}

.ac-panel-inner {
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.ac-panel-inner p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(11, 31, 58, 0.82);
}

.ac-panel-inner ul {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ac-panel-inner ul li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(11, 31, 58, 0.82);
}

/* Bold emotional opener */
.ac-opener {
  font-weight: 600 !important;
  color: var(--gold) !important;
}

/* Italic stat / local fact line */
.ac-stat {
  font-style: italic;
  font-size: 0.88rem !important;
  color: rgba(11, 31, 58, 0.6) !important;
}

/* Bold closing line */
.ac-close {
  font-weight: 700 !important;
  color: var(--navy) !important;
}

/* =====================================================
   Credential Grid (launch section)
   ===================================================== */

.cred-block {
  max-width: 1000px;
  margin: 3.5rem auto 0;
}

.cred-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 3rem;
  margin-bottom: 2.5rem;
}

.cred-education {
  text-align: center;
}

.cred-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.4rem;
}

.cred-rule {
  width: 40px;
  height: 2px;
  background-color: var(--gold);
  margin: 0.5rem auto 1rem;
  opacity: 0.75;
}

.cred-list {
  list-style: none;
  padding: 0;
  text-align: center;
}

.cred-list li {
  margin-bottom: 1.25rem;
}

.cred-list li:last-child {
  margin-bottom: 0;
}

/* Private Sector — Blue/White Collar subsections */
.cred-subsections {
  text-align: center;
}

.cred-subsection-label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  margin-top: 1rem;
  letter-spacing: 0.02em;
}

.cred-subsection-label--second {
  margin-top: 1.4rem;
}

.cred-subsection-detail {
  display: block;
  font-style: italic;
  color: var(--gold);
  font-size: 0.78rem;
  line-height: 1.6;
  margin-top: 0.2rem;
}

/* Three-tier credential hierarchy */
.cred-org {
  display: block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.3;
}

.cred-role {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--gold);
  line-height: 1.4;
  margin-top: 0.15rem;
}

.cred-detail {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.55);
  line-height: 1.4;
  margin-top: 0.1rem;
}

/* Sector scroll dots — mobile only, hidden by default */
.cred-sector-dots { display: none; }

/* =====================================================
   Carousel
   ===================================================== */

.carousel {
  position: relative;
}

.carousel-nav-row {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
}

.carousel-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  list-style: none;
  padding: 0;
  margin: 0;
}

.carousel-slide {
  flex: 0 0 33.333%;
  min-width: 33.333%;
  padding: 0 0.375rem;
  box-sizing: border-box;
}

/* Arrow buttons */
.carousel-prev,
.carousel-next {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: #b87830;
  transform: scale(1.08);
}

.carousel-prev:disabled,
.carousel-next:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

/* Expanded content panel — appears below the carousel track */
.carousel-expanded-area {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  margin-top: 0.5rem;
}

.carousel-expanded-area .ac-panel-inner {
  background-color: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.carousel-expanded-area .ac-panel-inner p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(11, 31, 58, 0.82);
}

/* Dot navigation */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(11, 31, 58, 0.2);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.ac-section--navy .carousel-dot {
  background-color: rgba(245, 240, 232, 0.25);
}

.carousel-dot.is-active {
  background-color: var(--gold);
  transform: scale(1.2);
}

/* Card hover lift */
.carousel-slide .ac-header:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.3);
}

/* =====================================================
   Resident Feedback Portal Section
   ===================================================== */

.feedback-section {
  position: relative;
  background-color: var(--cream);
  padding: 6rem 2rem;
  text-align: center;
  overflow: hidden;
}

.feedback-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  z-index: 0;
}

.feedback-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(245, 240, 232, 0.88);
  z-index: 1;
}

.feedback-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.feedback-heading {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-bottom: 1.75rem;
}

.feedback-line1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.feedback-line2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  font-style: italic;
}

.feedback-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(11, 31, 58, 0.75);
  margin-bottom: 2.5rem;
}

.feedback-btn {
  display: inline-block;
  background-color: var(--green);
  color: var(--cream);
  padding: 1rem 3rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}

.feedback-btn:hover {
  background-color: #3a8a65;
  transform: scale(1.03);
  box-shadow: 0 0 0 3px rgba(201, 136, 58, 0.45);
}

.feedback-legal {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: rgba(11, 31, 58, 0.42);
  font-style: italic;
}

/* =====================================================
   Responsive — Meet Seth & Get Involved
   ===================================================== */

@media (max-width: 860px) {
  .ms-two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ms-two-col--reversed .ms-photo-col,
  .ms-two-col--reversed .ms-text-col {
    order: unset;
  }

  .ms-section-img {
    height: 280px;
  }

  .ms-work-grid {
    grid-template-columns: 1fr;
  }

  .ms-work-img {
    height: 240px;
  }

  .ms-section {
    padding: 3.5rem 1.5rem;
  }
}

/* =====================================================
   Hero Candidate Photo Cutout (index.html)
   ===================================================== */

.hero-candidate-photo {
  position: absolute;
  right: 2%;
  bottom: 0;
  height: 95%;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  z-index: 2;
  mix-blend-mode: normal;
  filter: drop-shadow(0px 8px 24px rgba(0, 0, 0, 0.5)) contrast(1.05) brightness(1.02);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 12%);
  mask-image: linear-gradient(to top, transparent 0%, black 12%);
}

/* =====================================================
   Hero — Absolute Position Layout (index.html)
   All elements are independently positioned, no flex columns
   ===================================================== */

/* Wrapper — fills the full hero, pointer-events off by default */
.hero-content-absolute {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

/* Element 1: Pointing photo — hover swap container, anchored bottom-left */
.candidate-swap {
  position: absolute;
  bottom: 0;
  left: 0;
  height: min(90%, 85vh);
  width: auto;
  z-index: 5;
  pointer-events: all;
  cursor: pointer;
  flex-shrink: 0;
  min-width: 0;
}

.candidate-casual,
.candidate-formal {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom left;
  display: block;
  filter: drop-shadow(4px 0px 12px rgba(0, 0, 0, 0.4));
  transition: opacity 0.5s ease;
}

.candidate-casual {
  position: relative;
  z-index: 2;
  opacity: 1;
}

.candidate-formal {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  opacity: 0;
}

.candidate-swap:hover .candidate-casual { opacity: 0; }
.candidate-swap:hover .candidate-formal { opacity: 1; }

/* Element 2a: Radial spotlight — centered, behind badge */
.badge-spotlight {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -45%);
  width: 500px;
  height: 500px;
  background: radial-gradient(
    ellipse at center,
    rgba(201, 136, 58, 0.13) 0%,
    rgba(11, 31, 58, 0) 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
}

/* Element 2b: Badge container — perspective parent, centered */
.hero-badge-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -40%);
  perspective: 1400px;
  z-index: 6;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(500px, 58vw, 820px);
  height: auto;
}

@keyframes badge-entrance {
  0% {
    transform: scale(0.3) rotateY(0deg);
    opacity: 0;
  }
  40% { opacity: 1; }
  75% {
    transform: scale(1.06) rotateY(200deg);
  }
  90% {
    transform: scale(0.97) rotateY(340deg);
  }
  100% {
    transform: scale(1) rotateY(360deg);
    opacity: 1;
  }
}

@keyframes badge-glow {
  0%, 100% {
    filter: drop-shadow(0px 10px 36px rgba(0, 0, 0, 0.65))
            drop-shadow(0 0 0px rgba(201, 136, 58, 0));
  }
  50% {
    filter: drop-shadow(0px 10px 36px rgba(0, 0, 0, 0.65))
            drop-shadow(0 0 64px rgba(201, 136, 58, 0.58));
  }
}

/* Proportionally scaled glow for the large fixed-size desktop badge */
@keyframes badge-glow-large {
  0%, 100% {
    filter: drop-shadow(0px 14px 50px rgba(0, 0, 0, 0.65))
            drop-shadow(0 0 0px rgba(201, 136, 58, 0));
  }
  50% {
    filter: drop-shadow(0px 14px 50px rgba(0, 0, 0, 0.65))
            drop-shadow(0 0 92px rgba(201, 136, 58, 0.58));
  }
}

@keyframes badge-click-spin {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

/* Badge spin wrapper — click target, sits between container and img */
.hero-badge-spin-wrapper {
  display: block;
  transform-style: preserve-3d;
  pointer-events: all;
  cursor: pointer;
}

.hero-badge-spin-wrapper.badge-spinning {
  animation: badge-click-spin 700ms ease-in-out;
}

/* Badge img */
.hero-badge-logo {
  width: clamp(500px, 58vw, 820px);
  height: auto;
  max-width: 90vw;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  pointer-events: none;
  transform-style: preserve-3d;
  transform-origin: center center;
  opacity: 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  image-rendering: high-quality;
  image-rendering: -webkit-optimize-contrast;
  will-change: transform, opacity;
  animation: badge-glow 3s ease-in-out 0.5s infinite;
}

/* Element 3: Top banner — name, tagline, buttons centered at top of hero */
.hero-top-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 6;
  pointer-events: none;
  text-align: center;
  padding: 2rem 2rem 1.5rem;
  background: linear-gradient(
    to bottom,
    rgba(11, 31, 58, 0.72) 0%,
    rgba(11, 31, 58, 0.0) 100%
  );
}

.hero-top-banner .hero-name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: #F5F0E8;
  line-height: 1.05;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.15rem;
}

.hero-top-banner .hero-tagline {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  letter-spacing: 0.04em;
  color: #C9883A;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.2rem;
}

/* Mobile-only buttons inside top banner — hidden on desktop */
.hero-top-banner .hero-actions--mobile {
  display: none;
  gap: 0.75rem;
  justify-content: center;
  pointer-events: all;
  margin-top: 0.25rem;
}

.hero-top-banner .hero-actions--mobile .btn {
  pointer-events: all;
}

/* CTA buttons — bottom center of hero on all screen sizes */
.hero-cta-bottom {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  gap: 1rem;
  z-index: 6;
  pointer-events: all;
}

.hero-cta-bottom .highway-btn {
  pointer-events: all;
}

/* Highway sign style CTA buttons */
.highway-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Highway Gothic', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  width: 264px;
  min-width: 264px;
}

.highway-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.highway-btn-primary {
  /* corner bolt dots + solid background */
  background:
    radial-gradient(circle 3px at 9px 9px, rgba(255,255,255,0.45) 100%, transparent 100%),
    radial-gradient(circle 3px at calc(100% - 9px) 9px, rgba(255,255,255,0.45) 100%, transparent 100%),
    radial-gradient(circle 3px at 9px calc(100% - 9px), rgba(255,255,255,0.45) 100%, transparent 100%),
    radial-gradient(circle 3px at calc(100% - 9px) calc(100% - 9px), rgba(255,255,255,0.45) 100%, transparent 100%),
    #2D6A4F;
  color: #ffffff;
  padding: 1.1rem 2.4rem;
  border-radius: 2px;
  border: 3px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.highway-btn-primary::before {
  content: "►";
  margin-right: 0.6rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.highway-btn-secondary {
  /* corner bolt dots + solid background */
  background:
    radial-gradient(circle 3px at 9px 9px, rgba(255,255,255,0.45) 100%, transparent 100%),
    radial-gradient(circle 3px at calc(100% - 9px) 9px, rgba(255,255,255,0.45) 100%, transparent 100%),
    radial-gradient(circle 3px at 9px calc(100% - 9px), rgba(255,255,255,0.45) 100%, transparent 100%),
    radial-gradient(circle 3px at calc(100% - 9px) calc(100% - 9px), rgba(255,255,255,0.45) 100%, transparent 100%),
    #1a3a6b;
  color: #ffffff;
  padding: 1.1rem 2.4rem;
  border-radius: 2px;
  border: 3px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.highway-btn-secondary::before {
  content: "ℹ";
  margin-right: 0.6rem;
  font-size: 1rem;
}

/* Sign post — extends from button base to hero bottom edge */
.highway-btn::after {
  content: '';
  position: absolute;
  top: calc(100% + 3px); /* +3px clears the button's bottom border */
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 1.75rem;
  background: linear-gradient(
    to right,
    #2a2a2a 0%,
    #565656 28%,
    #8a8a8a 45%,
    #9a9a9a 50%,
    #8a8a8a 55%,
    #565656 72%,
    #2a2a2a 100%
  );
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255,255,255,0.15);
  pointer-events: none;
}

/* Sign shake — click animation pivoting from post base */
@keyframes sign-shake {
  0%   { transform: rotate(0deg); }
  15%  { transform: rotate(-4deg); }
  35%  { transform: rotate(3.5deg); }
  55%  { transform: rotate(-2.5deg); }
  75%  { transform: rotate(2deg); }
  90%  { transform: rotate(-0.75deg); }
  100% { transform: rotate(0deg); }
}

.highway-btn.shake {
  animation: sign-shake 450ms ease-out;
  transform-origin: 50% calc(100% + 1.75rem); /* pivot at post base = hero floor */
}

/* Pulsing tap indicator — mobile carousel only, not used on desktop */
@keyframes mobile-tap-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.75; }
  50%       { transform: scale(1.6); opacity: 0.2;  }
}

/* Philosophy panel — right side of hero, desktop/tablet */
.hero-philosophy {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  pointer-events: all;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: clamp(280px, 26vw, 420px);
  background: rgba(11, 31, 58, 0.88);
  border-left: 5px solid #C9883A;
  box-shadow: -6px 0 32px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(201, 136, 58, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* "Campaign Pillars" header label */
.hero-philosophy::before {
  content: "Campaign Pillars";
  display: block;
  padding: 0.9rem 1.4rem 0.7rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.9rem, 1.3vw, 1.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #F5F0E8;
  border-bottom: 1px solid rgba(201, 136, 58, 0.35);
}

.philosophy-banner {
  display: block;
  width: 100%;
  padding: 0.8rem 1.4rem;
  cursor: default;
  overflow: hidden;
  transition: background 0.35s ease, padding 0.35s ease;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
}

.philosophy-banner:hover {
  background: rgba(201, 136, 58, 0.1);
  padding: 1.0rem 1.4rem 1.0rem 1.65rem;
}

.phil-title {
  font-family: Inter, sans-serif;
  font-size: clamp(0.82rem, 1.1vw, 1.05rem);
  font-weight: 700;
  color: #C9883A;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 0;
  transition: color 0.3s ease, margin-bottom 0.3s ease;
}

.philosophy-banner:hover .phil-title {
  color: #F5F0E8;
  margin-bottom: 0.35rem;
}

.phil-desc {
  font-family: Inter, sans-serif;
  font-size: clamp(0.82rem, 0.95vw, 0.95rem);
  font-weight: 400;
  color: #F5F0E8;
  line-height: 1.55;
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.3s ease;
  margin-top: 0;
}

.philosophy-banner:hover .phil-desc {
  max-height: 120px;
  opacity: 1;
  margin-top: 0.3rem;
}

.phil-chevron {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: clamp(0.62rem, 0.8vw, 0.78rem);
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.philosophy-banner:hover .phil-chevron {
  transform: rotate(90deg);
  opacity: 1;
}

/* Fixed large-desktop badge — overrides the clamp() ceiling above 1400px */
@media (min-width: 1400px) {
  .hero-badge-container {
    width: 840px;
    min-height: 420px;
  }
  .hero-badge-logo {
    width: 840px;
    max-width: none;
    animation: badge-glow-large 3s ease-in-out 0.5s infinite;
  }
}

@media (max-width: 1024px) {
  .hero--video          { height: 75vh; min-height: 520px; }
  .candidate-swap       { height: 75%; }
  .hero-badge-container { width: clamp(320px, 54vw, 560px); }
  .hero-badge-logo      { width: clamp(320px, 54vw, 560px); }
  .hero-philosophy      { width: clamp(220px, 24vw, 300px); }
  .phil-title           { font-size: clamp(0.72rem, 1vw, 0.88rem); }
  .phil-desc            { font-size: clamp(0.72rem, 0.9vw, 0.84rem); }
}

@media (max-width: 768px) {
  /* ── Hero layout ──────────────────────────────────────────────────────────
     Taller min-height to fit philosophy panel at the bottom of the hero.
     All four mobile fixes are scoped to this block. Desktop unaffected.
  ───────────────────────────────────────────────────────────────────────── */
  .hero--video { height: 75vh; min-height: 560px; }

  /* Candidate photo: lifted above the philosophy panel via bottom offset so
     the two elements occupy clean, non-overlapping vertical zones.
     bottom: 185px clears the ~181px panel; height 56% fills the space above.
     Badge (z-index 6) layers on top of candidate (z-index 5) as on desktop. */
  .candidate-swap {
    display: block;
    bottom: 185px;
    height: 56%;
    min-width: 60px;
    opacity: 0.88;
  }

  /* Badge shifted right of center: candidate (left) points toward badge (right).
     left: auto clears the desktop left: 50%; right: 0.75rem anchors it 12px
     from the viewport edge. transform drops the X component since we're no
     longer centering from a left anchor. Size increased to 65vw so it reads
     as a bold focal point in its own clear right-side zone.
     At 390px → 254px wide, right edge 12px from edge, left edge at ~124px.
     At 428px → 278px wide, right edge 12px from edge, left edge at ~138px.
     Badge bottom edge stays ~40px above the philosophy panel. */
  .hero-badge-container {
    left: auto;
    right: 0.75rem;
    top: 38%;
    transform: translateY(-50%);
    width: clamp(250px, 65vw, 320px);
  }
  .hero-badge-logo { width: clamp(250px, 65vw, 320px); }

  .hero-top-banner { padding: 1.25rem 1rem 1rem; }
  .hero-top-banner .hero-name    { font-size: 2rem; }
  .hero-top-banner .hero-tagline { font-size: 1.2rem; }

  /* FIX 2: Campaign pillars panel — full-width strip anchored to hero bottom.
     Repositioned from absolute right-side panel to full-width bottom strip.
     Descriptions hidden (no hover on touch); gold titles remain visible and
     readable as compact campaign bullet points. */
  .hero-philosophy {
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    transform: none;
    width: 100%;
    border-left: none;
    border-top: 3px solid var(--gold);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-philosophy::before {
    font-size: 0.68rem;
    padding: 0.55rem 1rem 0.45rem;
  }

  .hero-philosophy .philosophy-banner { padding: 0.45rem 1rem; }
  .hero-philosophy .phil-title        { font-size: 0.74rem; letter-spacing: 0.08em; }
  /* Chevron hidden on mobile; descriptions stay in flow so tap-expand can
     animate them via max-height transition (display:none kills transitions) */
  .hero-philosophy .phil-chevron      { display: none; }

  /* Road sign CTA buttons + posts hidden on mobile — candidate photo and
     badge carry the visual weight; buttons remain fully intact on desktop. */
  .hero-cta-bottom { display: none; }

  /* ── Credential block ─────────────────────────────────────────────────────
     Sector cards (Private / Nonprofit / Public) become a horizontally
     scrollable snap-row on mobile. Each card is 87% of the container so one
     card is clearly in focus and the next peeks in from the right.
     Education block is a sibling outside .cred-cols and stays full-width.
  ───────────────────────────────────────────────────────────────────────── */
  .cred-cols {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0.75rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.75rem;
    margin-bottom: 0;
  }

  .cred-cols::-webkit-scrollbar { display: none; }

  .cred-col {
    flex: 0 0 87%;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(201, 136, 58, 0.22);
    border-radius: 10px;
    padding: 1.75rem 1.25rem;
  }

  /* Scroll dot indicator — three gold dots matching site's carousel dot style */
  .cred-sector-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.5rem 0 1.5rem;
  }

  .cred-sector-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(245, 240, 232, 0.25);
    transition: background 0.3s ease;
  }

  .cred-sector-dot.is-active { background: var(--gold); }

  /* Education block retains card treatment and full-width stacked layout */
  .cred-education {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(201, 136, 58, 0.22);
    border-radius: 10px;
    padding: 1.75rem 1.25rem;
  }

  .cred-org  { font-size: 1.05rem; line-height: 1.4; }
  .cred-role { font-size: 0.85rem; line-height: 1.5; }
  .cred-detail { font-size: 0.8rem; line-height: 1.6; }
  .cred-list li { margin-bottom: 1.75rem; }

  .cred-subsection-label { margin-top: 1.5rem; font-size: 1.05rem; }
  .cred-subsection-label--second { margin-top: 2rem; }
  .cred-subsection-detail { font-size: 0.82rem; line-height: 1.7; margin-top: 0.35rem; }

  /* ── Carousel cards ───────────────────────────────────────────────────────
     FIX 5: "Tap to read" was clipping because the flex row couldn't fit
     icon + title + cta-label + chevron in the narrow mobile card width.
     Solution: wrap the header so cta-label gets its own full-width row,
     preventing any overflow clipping regardless of viewport size.
     Title gets overflow:hidden + ellipsis so long titles can't bleed over.
  ───────────────────────────────────────────────────────────────────────── */
  .ac-section { padding: 3rem 1rem 4rem; }

  .ac-header {
    flex-wrap: wrap;
    padding: 0.9rem 1rem;
    gap: 0.4rem;
    row-gap: 0;
  }

  .ac-title {
    font-size: 0.9rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Full-width centered row below icon+title+chevron — never clips */
  .ac-cta-label {
    order: 10;
    width: 100%;
    text-align: center;
    padding-top: 0.35rem;
    font-size: 0.7rem;
  }

  /* Pulsing tap indicator — centered on its own row */
  .ac-cta-label::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--gold);
    margin-right: 0.3rem;
    animation: mobile-tap-pulse 1.8s ease-in-out infinite;
    vertical-align: middle;
  }

  .ac-item.is-open .ac-cta-label::before { display: none; }

  /* ── Philosophy pillar tap-expand ────────────────────────────────────────
     Desktop uses :hover. On mobile the JS adds .is-expanded on tap.
     Higher specificity (0,3,0) overrides the default max-height: 0 rule.
  ───────────────────────────────────────────────────────────────────────── */
  .hero-philosophy .philosophy-banner.is-expanded .phil-desc {
    max-height: 120px;
    opacity: 1;
    margin-top: 0.3rem;
    font-size: 0.72rem;
  }

  .hero-philosophy .philosophy-banner.is-expanded .phil-title {
    color: #F5F0E8;
    margin-bottom: 0.35rem;
  }

  .hero-philosophy .philosophy-banner.is-expanded {
    background: rgba(201, 136, 58, 0.12);
  }
}

/* =====================================================
   Carousel Word Bank Chips
   ===================================================== */

.carousel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 0.9rem;
  padding: 0 0.5rem;
}

.carousel-chip {
  background-color: rgba(11, 31, 58, 0.1);
  color: rgba(11, 31, 58, 0.65);
  border: 1px solid rgba(11, 31, 58, 0.16);
  border-radius: 100px;
  padding: 0.28rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.carousel-chip:hover {
  background-color: rgba(201, 136, 58, 0.14);
  color: var(--navy);
  border-color: rgba(201, 136, 58, 0.38);
}

.carousel-chip.is-active {
  background-color: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.ac-section--navy .carousel-chip {
  background-color: rgba(245, 240, 232, 0.1);
  color: rgba(245, 240, 232, 0.6);
  border-color: rgba(245, 240, 232, 0.16);
}

.ac-section--navy .carousel-chip:hover {
  background-color: rgba(201, 136, 58, 0.2);
  color: var(--cream);
  border-color: rgba(201, 136, 58, 0.45);
}

.ac-section--navy .carousel-chip.is-active {
  background-color: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* =====================================================
   Feasibility Spectrum Bar (Innovation cards only)
   ===================================================== */

.feasibility-bar {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(11, 31, 58, 0.1);
}

.feasibility-track-wrap {
  position: relative;
  margin: 0.35rem 0;
}

.feasibility-track {
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, rgba(45, 106, 79, 0.45), rgba(201, 136, 58, 0.45));
  border-radius: 3px;
  position: relative;
}

.feasibility-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.feasibility-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.3rem;
}

.feasibility-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(11, 31, 58, 0.4);
}

.feasibility-note {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--green);
  text-align: center;
  margin-top: 0.45rem;
}

/* =====================================================
   Carousel Coverflow Scaling
   ===================================================== */

.carousel-slide .ac-item {
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
  transform-origin: center center;
}

/* =====================================================
   Implementation Indicators (Innovation card panels)
   ===================================================== */

/* --- TYPE A: Timeline Steps ----------------------- */

.impl-steps {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(11, 31, 58, 0.1);
  display: flex;
  align-items: flex-start;
}

.impl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.impl-step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(11, 31, 58, 0.08);
  border: 2px solid rgba(11, 31, 58, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(11, 31, 58, 0.38);
  flex-shrink: 0;
  margin-bottom: 0.4rem;
}

.impl-step--active .impl-step-circle {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.impl-step-connector {
  flex: 0 0 16px;
  height: 2px;
  background-color: var(--gold);
  margin-top: 13px;
  opacity: 0.45;
}

.impl-step-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(11, 31, 58, 0.38);
}

.impl-step--active .impl-step-label {
  color: var(--navy);
}

.impl-step-detail {
  font-family: var(--font-body);
  font-size: 0.63rem;
  color: rgba(11, 31, 58, 0.45);
  line-height: 1.3;
  margin-top: 0.2rem;
}

/* --- TYPE B: Action Badge ------------------------- */

.impl-badge {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(11, 31, 58, 0.1);
}

.impl-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(45, 106, 79, 0.12);
  border: 1.5px solid #2D6A4F;
  border-radius: 20px;
  padding: 0.4rem 1rem;
}

.impl-badge-icon {
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 700;
}

.impl-badge-text {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
}

.impl-badge-sub {
  font-size: 0.74rem !important;
  color: rgba(11, 31, 58, 0.5) !important;
  font-style: italic;
  margin-top: 0.5rem !important;
  line-height: 1.5 !important;
}

/* --- TYPE C: Partnership Layers ------------------- */

.impl-partners {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(11, 31, 58, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.impl-partner-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  background: rgba(201, 136, 58, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 0.45rem 0.7rem;
}

.impl-partner-icon {
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
  line-height: 1;
}

.impl-partner-info {
  display: flex;
  flex-direction: column;
}

.impl-partner-name {
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.impl-partner-role {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-style: italic;
  color: rgba(11, 31, 58, 0.5);
  line-height: 1.3;
  margin-top: 0.1rem;
}

/* --- TYPE D: Complexity Dots ---------------------- */

.impl-complexity {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(11, 31, 58, 0.1);
}

.impl-complexity-label {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.impl-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.impl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(11, 31, 58, 0.1);
  border: 1.5px solid rgba(11, 31, 58, 0.2);
  flex-shrink: 0;
}

.impl-dot--filled {
  background-color: var(--gold);
  border-color: var(--gold);
}

.impl-complexity-note {
  font-size: 0.74rem !important;
  font-style: italic;
  color: var(--green) !important;
  margin-top: 0.45rem !important;
  line-height: 1.5 !important;
}

/* =====================================================
   Navy Section Map Texture
   Bakersfield ward boundary + street grid — purely decorative
   ===================================================== */

.site-header,
.launch-section,
.ac-section--navy,
.site-footer {
  background-image: url('../assets/map-texture.svg');
  background-size: 600px 600px;
  background-repeat: repeat;
  background-position: center;
}

/* =====================================================
   Floating Share Button & Modal
   ===================================================== */

.share-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  background-color: var(--green);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 0.72rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.42);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.share-btn:hover {
  background-color: #3a8a65;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(45, 106, 79, 0.52);
}

.share-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(11, 31, 58, 0.52);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.share-backdrop.is-open {
  display: flex;
}

.share-modal {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  width: 100%;
  max-width: 380px;
  position: relative;
  box-shadow: 0 20px 60px rgba(11, 31, 58, 0.28);
}

.share-modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.share-modal-sub {
  font-size: 0.85rem;
  color: rgba(11, 31, 58, 0.52);
  margin-bottom: 1.5rem;
}

.share-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.share-action {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background-color: rgba(11, 31, 58, 0.04);
  border: 1px solid rgba(11, 31, 58, 0.1);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.share-action:hover {
  background-color: rgba(11, 31, 58, 0.08);
  border-color: rgba(11, 31, 58, 0.2);
}

.share-action-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
  line-height: 1;
}

.share-close {
  position: absolute;
  top: 0.7rem;
  right: 0.85rem;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(11, 31, 58, 0.38);
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.2rem 0.35rem;
  transition: color 0.2s ease;
}

.share-close:hover {
  color: var(--navy);
}

/* =====================================================
   Meet Seth — Section Text Styles
   ===================================================== */

/* Why Am I Running — body paragraphs in photo overlay */
.ms-why-body {
  max-width: 640px;
  margin: 1.5rem auto 0;
}

.ms-why-body p {
  font-size: 1.15rem;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.2rem;
}

/* Shared body text block — paragraph spacing */
.ms-body-text p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

/* Gold italic standalone emphasis line */
.ms-emphasis-line {
  font-style: italic;
  color: var(--gold) !important;
  font-weight: 600;
  margin-top: 1.8rem !important;
  margin-bottom: 1.8rem !important;
}

/* Bold opener paragraph */
.ms-opener-bold {
  font-weight: 600;
}

/* Inline phrase emphasis (cream sections — appears as navy bold or gold italic) */
.ms-phrase-bold {
  font-weight: 700;
  color: #0B1F3A;
}

.ms-phrase-gold {
  font-style: italic;
  color: #C9883A;
}

/* Closing strong statement */
.ms-closing-line {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy) !important;
  margin-top: 1.6rem !important;
  margin-bottom: 0 !important;
}

/* =====================================================
   Meet Seth — Work Experience Photo Carousel
   ===================================================== */

.ms-photo-carousel {
  position: relative;
  max-width: 920px;
  margin: 2rem auto 0;
}

.ms-photo-carousel-viewport {
  overflow: hidden;
}

.ms-photo-carousel-track {
  display: flex;
  transition: transform 0.75s ease-in-out;
  will-change: transform;
}

.ms-photo-carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  transition: transform 0.75s ease-in-out, opacity 0.75s ease-in-out;
  will-change: transform, opacity;
}

.ms-photo-carousel-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.ms-oc--top       { object-position: center top; }
.ms-oc--upper     { object-position: center 20%; }
.ms-oc--mid-upper { object-position: center 30%; }

.ms-photo-carousel-caption {
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(11, 31, 58, 0.55);
  text-align: center;
  margin-top: 0.75rem;
  line-height: 1.5;
}

.ms-photo-carousel-prev,
.ms-photo-carousel-next {
  position: absolute;
  top: calc(50% - 22px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  z-index: 2;
}

.ms-photo-carousel-prev { left: -22px; }
.ms-photo-carousel-next { right: -22px; }

.ms-photo-carousel-prev:hover,
.ms-photo-carousel-next:hover {
  background-color: #b87830;
}

.ms-photo-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

.ms-photo-carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(11, 31, 58, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease;
}

.ms-photo-carousel-dot.is-active {
  background-color: var(--gold);
}

.ms-photo-carousel-video {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  display: block;
  background-color: #000;
}

@media (max-width: 600px) {
  .ms-photo-carousel { margin: 1.5rem 1.5rem 0; }
  .ms-photo-carousel-prev { left: -14px; }
  .ms-photo-carousel-next { right: -14px; }
}

/* =====================================================
   Meet Seth — Text Scroll Panels
   ===================================================== */

.text-scroll-panel {
  max-height: 320px;
  overflow-y: auto;
  padding-right: 0.75rem;
  line-height: 1.85;
  scroll-behavior: smooth;
}

.text-scroll-panel p {
  margin-bottom: 1.4rem;
  line-height: 1.85;
}

.text-scroll-panel p:last-child {
  margin-bottom: 0;
}

.text-scroll-panel::-webkit-scrollbar {
  width: 4px;
}

.text-scroll-panel::-webkit-scrollbar-track {
  background: rgba(11, 31, 58, 0.08);
  border-radius: 2px;
}

.text-scroll-panel::-webkit-scrollbar-thumb {
  background: #C9883A;
  border-radius: 2px;
}

@keyframes gentle-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}

.scroll-hint {
  color: var(--gold);
  font-size: 0.7rem;
  opacity: 0.6;
  text-align: center;
  display: block;
  margin-top: 0.35rem;
  animation: gentle-bounce 1.6s ease-in-out infinite;
  transition: opacity 0.3s ease;
  user-select: none;
}

.scroll-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .text-scroll-panel {
    max-height: 320px;
  }
}

/* =====================================================
   Meet Seth — Animated Section Headings
   ===================================================== */

/* Animation 1: "Who am I?" — the letter I and ? grow + turn gold */
.grow-letter {
  display: inline-block;
  transform-origin: bottom center;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
              color 0.35s ease;
}

.grow-punct {
  display: inline-block;
  transform-origin: bottom center;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s,
              color 0.4s ease 0.15s;
}

.ms-section-title.animate .grow-letter {
  transform: scale(1.8) translateY(-3px);
  color: #C9883A;
}

.ms-section-title.animate .grow-punct {
  transform: scale(1.8) translateY(-4px);
  color: #C9883A;
}

/* Animation 2: "roots" — SVG paths draw downward */
.roots-word {
  position: relative;
  display: inline-block;
}

.roots-svg {
  position: absolute;
  bottom: -85px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 90px;
  pointer-events: none;
  overflow: visible;
}

/* Per-path stroke lengths (set via CSS so no inline styles needed) */
.roots-svg .root-path:nth-child(1) { stroke-dasharray: 95;  stroke-dashoffset: 95; }
.roots-svg .root-path:nth-child(2) { stroke-dasharray: 120; stroke-dashoffset: 120; }
.roots-svg .root-path:nth-child(3) { stroke-dasharray: 120; stroke-dashoffset: 120; }
.roots-svg .root-path:nth-child(4) { stroke-dasharray: 90;  stroke-dashoffset: 90; }
.roots-svg .root-path:nth-child(5) { stroke-dasharray: 90;  stroke-dashoffset: 90; }
.roots-svg .root-path:nth-child(6) { stroke-dasharray: 80;  stroke-dashoffset: 80; }
.roots-svg .root-path:nth-child(7) { stroke-dasharray: 80;  stroke-dashoffset: 80; }
.roots-svg .root-path:nth-child(8) { stroke-dasharray: 75;  stroke-dashoffset: 75; }
.roots-svg .root-path:nth-child(9) { stroke-dasharray: 75;  stroke-dashoffset: 75; }

@keyframes draw-root {
  to { stroke-dashoffset: 0; }
}

/* Staggered draw animation — each path fires in sequence */
.roots-svg.animate .root-path:nth-child(1) { animation: draw-root 0.7s  ease 0s   forwards; }
.roots-svg.animate .root-path:nth-child(2) { animation: draw-root 0.6s  ease 0.3s forwards; }
.roots-svg.animate .root-path:nth-child(3) { animation: draw-root 0.6s  ease 0.3s forwards; }
.roots-svg.animate .root-path:nth-child(4) { animation: draw-root 0.5s  ease 0.7s forwards; }
.roots-svg.animate .root-path:nth-child(5) { animation: draw-root 0.5s  ease 0.7s forwards; }
.roots-svg.animate .root-path:nth-child(6) { animation: draw-root 0.4s  ease 0.9s forwards; }
.roots-svg.animate .root-path:nth-child(7) { animation: draw-root 0.4s  ease 0.9s forwards; }
.roots-svg.animate .root-path:nth-child(8) { animation: draw-root 0.35s ease 1.1s forwards; }
.roots-svg.animate .root-path:nth-child(9) { animation: draw-root 0.35s ease 1.1s forwards; }

/* Fade-out after 3 seconds */
.roots-svg.fading .root-path {
  transition: opacity 0.8s ease;
  opacity: 0;
}

/* =====================================================
   Store Page
   ===================================================== */

.store-banner {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--navy);
  background-image: url('../assets/map-texture.svg');
  background-size: 600px 600px;
  background-repeat: repeat;
}

.store-banner-text-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3.5rem 2rem;
  max-width: 680px;
}

.store-banner-headline {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 2rem);
  font-style: italic;
  font-weight: 600;
  color: var(--white);
  line-height: 1.45;
}

.store-intro {
  font-size: 1.05rem;
  color: rgba(11, 31, 58, 0.62);
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.75;
  text-align: center;
}

.store-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.store-product-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 2rem;
  border: 1px solid rgba(11, 31, 58, 0.08);
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.store-product-img-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 2px dashed rgba(11, 31, 58, 0.14);
  border-radius: calc(var(--radius) - 2px);
  background-color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(11, 31, 58, 0.22);
}

.store-product-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.store-notify-section {
  background-color: var(--navy);
  background-image: url('../assets/map-texture.svg');
  background-size: 600px 600px;
  background-repeat: repeat;
  padding: 4.5rem 2rem;
  text-align: center;
}

.store-notify-inner {
  max-width: 560px;
  margin: 0 auto;
}

.store-notify-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.store-notify-sub {
  font-size: 0.95rem;
  color: rgba(245, 240, 232, 0.72);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.store-notify-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.store-notify-input {
  flex: 1 1 240px;
  padding: 0.75rem 1.1rem;
  border: 1.5px solid rgba(245, 240, 232, 0.22);
  border-radius: var(--radius);
  background-color: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition), background-color var(--transition);
}

.store-notify-input::placeholder {
  color: rgba(245, 240, 232, 0.38);
}

.store-notify-input:focus {
  border-color: var(--gold);
  background-color: rgba(255, 255, 255, 0.11);
}

.store-notify-btn {
  padding: 0.75rem 1.85rem;
  background-color: var(--gold);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background-color var(--transition), transform var(--transition);
}

.store-notify-btn:hover {
  background-color: #b87830;
  transform: translateY(-2px);
}

.store-notify-confirm {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--gold);
  min-height: 1.4em;
}

@media (max-width: 860px) {
  .store-product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .store-product-grid { grid-template-columns: 1fr; }
  .store-notify-form  { flex-direction: column; align-items: stretch; }
  .store-notify-input { flex: 1 1 auto; }
}

/* Animation 3: "community" — house silhouettes rise */
.community-word {
  position: relative;
  display: inline-block;
}

.houses-svg {
  position: absolute;
  top: -62px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 56px;
  pointer-events: none;
  overflow: visible;
}

.houses-svg .house {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-box: fill-box;
  transform-origin: center bottom;
}

.houses-svg.animate .house:nth-child(1) {
  opacity: 0.75;
  transform: translateY(0);
  transition-delay: 0s;
}

.houses-svg.animate .house:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}

.houses-svg.animate .house:nth-child(3) {
  opacity: 0.75;
  transform: translateY(0);
  transition-delay: 0.24s;
}
