/* ---------- Design Tokens ---------- */
:root{
  --navy: #0F172A;
  --navy-deep: #020617;
  --navy-darkest: #000000;
  --red: #E11D48;
  --red-hover: #BE123C;
  --orange: #EA580C;
  --cream: #F8FAFC;
  --cream-alt: #F1F5F9;
  --cream-card: #FFFFFF;
  --ink: #1E293B;
  --gray: #475569;
  --gray-light: #94A3B8;
  --white: #ffffff;
  --border: #E2E8F0;
  --border-subtle: #F1F5F9;
  --border-dark: rgba(255, 255, 255, 0.12);

  --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script: 'Caveat', cursive;

  --wrap: 1220px;
  --section-pad: clamp(2rem, 4vw, 3rem);
  --radius-img: 20px;
  --radius-card: 18px;
  --radius-btn: 6px;
}

*{ box-sizing: border-box; margin:0; padding:0; }

html{
  scroll-behavior: smooth;
  scroll-padding-top: 76px; /* JS (syncScrollPad) overrides with the live nav height */
}

body{
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4{
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.eyebrow{
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  display: inline-block;
}
.eyebrow-light{ color: var(--orange); }
.eyebrow-white{ color: #F0A99E; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); }

.btn-primary{
  background: var(--red);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.25);
}
.btn-primary:hover{
  background: var(--red-hover);
  box-shadow: 0 6px 14px rgba(225, 29, 72, 0.35);
}

.btn-outline{
  background: var(--white);
  border-color: #cbd5e1;
  color: var(--navy);
}
.btn-outline:hover{
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-small{
  padding: 9px 20px;
  font-size: 0.88rem;
  border-radius: 5px;
}

/* ---------- Top Bar ---------- */
.topbar{
  background: var(--navy-deep);
  color: var(--white);
  font-size: 0.82rem;
}
.topbar-inner{
  display: flex;
  justify-content: flex-end;
  padding-top: 7px;
  padding-bottom: 7px;
}
.topbar-email{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  font-size: 0.8rem;
  transition: color 0.2s ease;
}
.topbar-email:hover{ color: var(--white); }

/* ---------- Navigation ---------- */
.nav{
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.nav.scrolled{
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.9);
}
.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo-link{
  display: flex;
  align-items: center;
}
.site-logo-img{
  height: 30px;
  width: auto;
  max-width: 62vw;
  object-fit: contain;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a:not(.btn){
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:not(.btn):hover{ color: var(--red); }

.nav-links a.active-nav{
  color: var(--navy);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.nav-links a.active-nav::after{
  content: '';
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--red);
  border-radius: 2px;
  margin-top: 2px;
}
.nav-icon-home{
  color: var(--navy);
  margin-bottom: -2px;
}

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span{
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------- HERO SECTION ---------- */
.hero{
  background: var(--navy);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero::before{
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('assets/theLake.webp') center / cover no-repeat;
  opacity: 0.16;
  mix-blend-mode: screen;
}
.hero::after{
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.55) 100%);
}
.hero-layout{
  display: grid;
  grid-template-columns: auto minmax(0, 420px);
  grid-template-areas:
    "copy photo"
    "actions photo";
  justify-content: center;
  justify-items: start;
  align-items: center;
  column-gap: clamp(1.5rem, 3vw, 2.5rem);
  row-gap: 0;
  position: relative;
  z-index: 1;
}
.hero-copy{
  grid-area: copy;
  max-width: 600px;
}
.hero-photo{ grid-area: photo; }
.hero-actions{ grid-area: actions; }
.hero-title{
  font-size: clamp(3rem, 5.2vw, 4.4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  color: var(--white);
}
.hero-title-red{
  color: var(--red);
}
.hero-title-accent{
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 6px;
  text-underline-offset: 10px;
}
.hero-lede{
  font-size: 1.05rem;
  color: var(--white);
  max-width: 46ch;
  margin-bottom: 30px;
  line-height: 1.4;
}
.hero-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-photo{
  position: relative;
  border-radius: var(--radius-img);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px rgba(2, 6, 23, 0.45);
}
.hero-photo img{
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
}
.hero-photo::after{
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 38%;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.5) 0%, rgba(2, 6, 23, 0) 100%);
  pointer-events: none;
}
.hero-photo-script{
  position: absolute;
  right: 22px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  user-select: none;
  z-index: 1;
}
.hero-photo-script .script-line-1,
.hero-photo-script .script-line-2{
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 0.95;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}

/* ---------- COMMUNITY ISSUES TICKER (HORIZONTAL SCROLL) ---------- */
.ticker-section{
  background: var(--cream-alt);
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.ticker-header{
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.ticker-eyebrow{
  margin-bottom: 6px;
}
.ticker-title{
  font-size: clamp(1.65rem, 2.7vw, 2.3rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.ticker-sub{
  color: #4a5a6b;
  font-size: 0.95rem;
  max-width: 40ch;
  line-height: 1.4;
}

.marquee-wrapper{
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  padding: 6px 0;
}
.marquee-track{
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scrollMarquee 38s linear infinite;
  will-change: transform;
}
.marquee-wrapper:hover .marquee-track{
  animation-play-state: paused;
}

@keyframes scrollMarquee{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

.topic-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-card);
  width: 175px;
  height: 155px;
  padding: 20px 16px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
  user-select: none;
  flex-shrink: 0;
}
.topic-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  border-color: rgba(225, 29, 72, 0.4);
}
.topic-card-icon{
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 12px;
}
.topic-card-text{
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* ---------- DECADES OF COMMITMENT (EXPERIENCE SECTION) ---------- */
.experience-section{
  background: var(--white);
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--border-subtle);
}
.experience-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: stretch;
}
.experience-media{
  border-radius: var(--radius-img);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(13, 40, 71, 0.08);
  min-height: 0;
}
.experience-img{
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}
.experience-copy .eyebrow{
  margin-bottom: 10px;
}
.experience-title{
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
  color: var(--navy);
}
.experience-text{
  font-size: 0.98rem;
  color: #4b5563;
  line-height: 1.4;
  margin-bottom: 26px;
}
.experience-actions{
  display: flex;
}

/* ---------- QUOTE & 40+ STAT STRIP (DARK BLUE ROW) ---------- */
.banner-stat-quote{
  background: var(--navy);
  color: var(--white);
  padding: var(--section-pad) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-quote-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.stat-quote-statement{
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex: 1;
}
.stat-quote-mark{
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0.7;
  color: rgba(255, 255, 255, 0.22);
  margin-top: 8px;
}
.stat-quote-content{
  max-width: 48ch;
}
.stat-quote-text{
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.28rem;
  line-height: 1.4;
  color: #ffffff;
  font-style: italic;
  margin-bottom: 10px;
}
.stat-quote-author{
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
}

.stat-quote-divider{
  width: 1px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
}

.stat-quote-number-block{
  padding-left: 20px;
  min-width: 250px;
}
.stat-big-number{
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 8px;
}
.stat-big-label{
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  max-width: 24ch;
  line-height: 1.4;
}

.script-red-bar{
  width: 36px;
  height: 3px;
  background: var(--red);
  margin-top: 8px;
  border-radius: 2px;
}

/* ---------- CONTACT US ---------- */
.contact{
  background: var(--cream);
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--border);
}
.contact-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.contact-intro h2{
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  color: var(--navy);
}
.contact-lede{
  color: var(--gray);
  font-size: 1.02rem;
  line-height: 1.4;
  max-width: 42ch;
  margin-bottom: 32px;
}
.contact-details{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.contact-details li{
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex: 1 1 160px;
}
.contact-label{
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.contact-value{
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  transition: color 0.2s ease;
}
a.contact-value:hover{ color: var(--red); }

.contact-form{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form .field{
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-form .field-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label{
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.contact-form label .optional{
  font-weight: 400;
  color: var(--gray);
}
.contact-form input,
.contact-form textarea{
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.contact-form textarea{
  resize: vertical;
  min-height: 120px;
  line-height: 1.4;
}
.contact-form input:focus,
.contact-form textarea:focus{
  outline: none;
  background: var(--white);
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
}
.contact-form .btn-primary{
  align-self: flex-start;
  margin-top: 4px;
}
.form-note{
  font-size: 0.82rem;
  color: var(--gray);
}
.form-note.is-success{ color: #15803D; font-weight: 700; }
.form-note.is-error{ color: var(--red); font-weight: 700; }
.field-hp{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form .btn-primary:disabled{
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ---------- PRIORITIES ---------- */
.priorities{ padding: var(--section-pad) 0; background: var(--white); }
.priorities h2{
  font-size: clamp(2.3rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
  max-width: 22ch;
  margin-bottom: 16px;
}
.section-lede{
  color: var(--gray);
  max-width: 58ch;
  margin-bottom: 48px;
  font-size: 1.02rem;
  line-height: 1.4;
}
.priority-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.priority-card{
  background: var(--white);
  padding: 42px 36px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  box-shadow: 0 4px 6px rgba(15, 23, 42, 0.02);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  display: flex;
  flex-direction: column;
}
.priority-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
  border-color: rgba(225, 29, 72, 0.3);
}

@media (min-width: 768px) {
  .priority-grid{
    grid-template-columns: 1fr 1fr;
  }
}
.priority-card h3{
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.priority-card h3::before{
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin-bottom: 18px;
}
.priority-card p{
  color: var(--gray);
  font-size: 0.94rem;
  line-height: 1.4;
}

/* ---------- RESULTS ---------- */
.results{
  background: var(--navy);
  color: var(--white);
  padding: var(--section-pad) 0;
}
.results-head{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}
.results h2{
  color: var(--white);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.results-lede{
  color: var(--white);
  font-size: 1.02rem;
  line-height: 1.4;
}
.results-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.result-item{
  padding: 22px 0;
  border-top: 1px solid var(--border-dark);
}
.result-item h4{
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.result-item p{
  color: var(--white);
  font-size: 0.92rem;
  line-height: 1.4;
}

/* ---------- RECORD PANEL (row style on white) ---------- */
.record-panel{ background: var(--white); padding: var(--section-pad) 0; }
.record-panel h2{ color: var(--navy); }
.record-panel .results-lede{ color: var(--gray); }
.record-panel .result-item{ border-top-color: var(--border); }
.record-panel .result-item h4{ color: var(--navy); }
.record-panel .result-item p{ color: var(--gray); }
.text-red{ color: var(--red); }
.result-check{ display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.result-check h4{ margin-bottom: 0; }
.check-icon{ flex-shrink: 0; }

/* ---------- PRIORITIES PANEL (card style on navy) ---------- */
.priorities-panel{ background: var(--navy); padding: var(--section-pad) 0; }
.priorities-panel h2{ color: var(--white); }
.priorities-panel .section-lede{ color: var(--white); }

/* ---------- PARTNERSHIP ---------- */
.partnership{
  background: var(--cream);
  padding: var(--section-pad) 0;
}
.partnership-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.partnership-photo{
  position: relative;
  border-radius: var(--radius-img);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  transition: transform 0.4s ease;
}
.partnership-photo:hover{
  transform: scale(1.01);
}
.partnership-photo img{
  width: 100%;
  height: auto;
  display: block;
}
.partnership-copy h2{
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}
.partnership-copy p{
  color: var(--gray);
  font-size: 0.98rem;
  line-height: 1.4;
  margin-bottom: 18px;
}
.partnership-copy hr{
  border: none;
  border-top: 1px solid var(--border);
  margin: 22px 0;
}
.attribution{
  font-weight: 700;
  color: var(--navy) !important;
}

/* ---------- FOOTER ---------- */
.site-footer{
  background: var(--navy-deep);
  color: var(--white);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 0.8rem;
}
.footer-left{
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-div{
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.28);
}
.site-footer a:hover{ color: var(--red); }

/* ---------- RESPONSIVE BREAKPOINTS ---------- */
@media (max-width: 1024px){
  .hero-layout{
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "photo"
      "actions";
    row-gap: 28px;
    justify-items: stretch;
  }
  .hero-copy{ justify-self: start; }
  .hero-photo{
    max-width: 420px;
    margin-left: 0;
    justify-self: start;
  }
  .hero-lede{ margin-bottom: 0; }
  .stat-quote-inner{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 26px;
  }
  .stat-quote-statement{
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .stat-quote-mark{ display: none; }
  .stat-quote-content{ max-width: 34ch; }
  .stat-quote-divider{
    width: 56px;
    height: 2px;
  }
  .stat-quote-number-block{
    padding-left: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .stat-big-label{ max-width: 28ch; }
}

@media (max-width: 860px){
  .nav-links{
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 24px;
    display: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  }
  .nav-links.open{ display: flex; }
  .nav-links a:not(.btn){
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid #eef1f5;
  }
  .nav-links a.active-nav{
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .nav-links a.active-nav::after{ display: none; }
  .nav-links .btn{ margin-top: 16px; width: 100%; }
  .nav-toggle{ display: flex; }

  .experience-grid, .partnership-grid, .results-head, .contact-grid{
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .experience-img{ height: clamp(200px, 46vw, 260px); min-height: 0; }
  .results-grid{ grid-template-columns: 1fr; }
  .priority-grid{ grid-template-columns: 1fr; }
  .ticker-header{ flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 980px){
  .footer-inner{ flex-direction: column; gap: 10px; text-align: center; }
  .footer-left{ flex-direction: column; gap: 6px; }
  .footer-div{ display: none; }
}

@media (max-width: 480px){
  .contact-form .field-row{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .hero-title{ font-size: 2.7rem; }
  .hero-actions{ flex-direction: column; }
  .hero-actions .btn{ width: 100%; }
  .topbar-inner{ justify-content: center; }
}

/* ---------- Back to Top Button ---------- */
.back-to-top{
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 18px rgba(14, 27, 45, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease;
  z-index: 99;
}
.back-to-top.visible{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover{
  background: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(225, 29, 72, 0.35);
}
.back-to-top:active{
  transform: translateY(0);
}
@media (max-width: 600px){
  .back-to-top{
    bottom: 20px;
    right: 20px;
    width: 42px;
  }
}

/* ---------- Animations (progressive enhancement) ---------- */
.fade-in{
  opacity: 1;
  transform: none;
}
.js .fade-in{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .fade-in.visible{
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee-track{ animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track [aria-hidden="true"]{ display: none; }
  .marquee-wrapper{ mask-image: none; -webkit-mask-image: none; }
  .js .fade-in{ opacity: 1; transform: none; }
}

/* ---------- Form Toast ---------- */
.toast{
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(90vw, 420px);
  padding: 14px 20px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 200;
}
.toast.visible{
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.toast.is-success{ background: #15803D; }
.toast.is-error{ background: var(--red); }
.toast-icon{
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  line-height: 1;
}
@media (max-width: 560px){
  .toast{ bottom: 16px; }
}
