/* ============================================================
   FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');


/* ============================================================
   DESIGN TOKENS — LICA Editorial Quiet
   ============================================================ */
:root {
  /* Colors */
  --paper:      #F5F2EA;
  --cream:      #FAF7EE;
  --ink:        #1A1D17;
  --soft:       #6B7061;
  --rule:       #CDC7B8;
  --green:      #2F4A2B;
  --green-soft: #A8B59A;
  --accent:     #C4A647;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing scale */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-6:  24px;
  --space-8:  32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-30: 120px;

  /* Layout */
  --max-width: 1100px;
  --narrow:    680px;
  --pad-x:     64px;

  --transition: 0.2s ease;
}


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

html { scroll-behavior: smooth; }

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }


/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.h2-section{
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: -1.3px;
}

.h3-section{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.6px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--soft);
}

.eyebrow::before { content: '\25C6\00a0\00a0'; }


/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.container--narrow {
  max-width: var(--narrow);
}


/* ============================================================
   NAV
   ============================================================ */
.top-header{
  background-color: var(--green);
  color: var(--cream);
  display: flex;
  justify-content: space-between;
  padding: 6px 12px;
  font-family: var(--font-mono);
  align-items: center;
}

.site-header {
  background: rgba(245, 242, 234, 0.93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}

/* Using fetch() to bring in header*/
#header-placeholder {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: transform 0.3s ease;
}

.social-icons{
  display: flex;
  gap: 12px;
  font-size: 24px;
}

.nav {
  margin-inline: auto;
  padding: var(--space-4) var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: var(--space-8);
  align-items: center;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--green);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.nav-active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--green);
  text-decoration: none; /* remove the old underline */
}

.nav-links a.nav-active {
  color: var(--green) !important;
  text-decoration: none;
}

/* ============================================================
   MOBILE HEADER
   ============================================================ */

   /* Mobile header */
.nav-links { display: none; }

/* WITH this: */
@media (max-width: 767px) {
  .nav-links { display: none; }
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 36px;
  height: 36px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: #1a3a2a; /* match your brand color */
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  transition: max-height .3s ease;
}

.nav-drawer.open {
  max-height: 300px;
  border-top: 1px solid #e8e8e8;
}

.nav-drawer ul { list-style: none; padding: 8px 0 16px; }

.nav-drawer ul li a {
  display: block;
  padding: 13px 20px;
  font-size: 15px;
  color: #1a3a2a;
  text-decoration: none;
  border-bottom: 1px solid #f2f2f2;
  font-weight: 500;
}

.nav-drawer .btn-wrap { padding: 16px 20px 4px; }
.nav-drawer .btn { width: 100%; }

.nav-links a.nav-active {
  color: var(--green) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-drawer ul a.nav-active {
  color: var(--green) !important;
  font-weight: 700;
}

@media (min-width: 768px) {
  .hamburger { display: none; }
  .nav-links { display: flex; } /* restore desktop */
  .nav-drawer { display: none; }
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: flex;
  align-items: center;
  padding: var(--space-30) var(--pad-x);
  border-bottom: 1px solid var(--rule);
}

.hero-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: var(--space-6);
}

.hero-eyebrow::before { content: '\25C6\00a0\00a0'; }

.hero-name {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: var(--space-6);
}

.hero-stylized{
  color: var(--green);
  font-style: italic;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 18px);
  line-height: 1.55;
  color: var(--soft);
  margin-bottom: var(--space-12);
}



/* Video column */
.hero-video-col {
  width: 100%;
}

.hero-video-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 4px; /* match your site's radius if any */
}

.hero-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.mobile-hero{
  display: none !important;
}

.test {
  position: relative;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  display: flex;
  justify-content: center;
}

/* NEW: the card wrapper */
.hero-video-card {
  position: relative;
  width: 100%;
  min-height: 70svh;
  overflow: hidden;

  display: flex;
  align-items: center;
}

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

.test--video .hero-video-overlay {
   position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    var(--paper) 0%,
    var(--paper) 45%,
    rgba(245, 242, 234, 0.75) 65%,
    rgba(245, 242, 234, 0) 85%
  );
}

.test--video .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: var(--space-30) var(--space-30);
}

.blog-post{
  display: flex;
  padding: var(--space-30) var(--pad-x);
  border-bottom: 1px solid var(--rule);
  display: flex; 
  flex-direction: column; 
  justify-content: center;
  align-items: center;
}

.blog-post-container{
  display: flex;
  flex-direction: column;
  max-width: var(--max-width);
}

.author-details{
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.article-layout{
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 56px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 24px;;
}



/* Stack on mobile */
@media (max-width: 767px) {
  section.about.about--split.mobile-hero {
    grid-template-columns: 1fr !important;
    gap: 2rem;
    padding: var(--space-16) var(--pad-x);
  }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about {
  display: flex;
  align-items: center;
  padding: var(--space-30) var(--pad-x);
  border-bottom: 1px solid var(--rule);
  display: flex; flex-direction: row; justify-content: space-between;
}

.about .container{
  display: flex;
  flex-direction: row;
}

.section-header-container{
  display: flex; flex-direction: row; justify-content: space-between; align-items: center;
}

.stats-section {
  padding: var(--space-12) var(--pad-x);
  border-bottom: 1px solid var(--rule);
}

.stats-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  gap: 0;
}

.stats-container hr {
  width: 1px;
  height: 48px;
  border: none;
  border-left: 1px solid var(--rule);
  margin: 0;
}

.stats {
  text-align: left;
  flex: 1;
  padding: var(--space-4) var(--space-8);
}

.stats-header {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.stats-description {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--soft);
  margin-top: 4px;
}

@media (max-width: 600px) {
  
}

.swiper-section{
  padding: var(--space-30) var(--pad-x);
  border-bottom: 1px solid var(--rule);
}

.swiper {
  width: 90%;
  border-radius: 6px;
}

.swiper-slide {
  max-height: 600px;
}

.manu-slide{
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  align-self: center;
}

.manu-slide img{
  max-height: 64px;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* or contain — see below */
  object-position: bottom;
  display: block;           /* removes phantom bottom gap */
}
.swiper-button-next,
.swiper-button-prev {
  color: var(--ink) !important;
}

.news {
  padding: var(--space-24) var(--pad-x);
  border-bottom: 1px solid var(--rule);
}

.news-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.news-header-row .h3-section {
  max-width: 60ch;
}

/* Grid: featured left, secondary stack right */
.news-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: stretch;
}

/* Featured card */
.news-item--featured {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: none;
  box-shadow: none;
}

.news-item--featured .news-item-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: var(--space-6);
}

.news-item--featured .news-item-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-item-label {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(26, 29, 23, 0.55);
  padding: 4px 8px;
  z-index: 1;
}

/* Secondary cards */
.news-secondary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.news-item--secondary {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--rule);
  border-bottom: none;
  border-left: none;
  border-right: none;
  box-shadow: none;
  border-radius: 0;
  flex: 1; /* each card takes equal share of the column height */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Shared content styles */
.news-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: 0;
}

.news-subdetails {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  padding: 6px 0px;
}

.news-header {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: var(--ink);
}

.news-item--secondary .news-header {
  font-size: 19px;
}

.news-description {
  font-size: 14px;
  color: var(--soft);
  line-height: 1.55;
}

.news-read-more {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: var(--space-2);
  transition: color var(--transition);
}

.news-read-more:hover {
  color: var(--green);
}

.news-item--featured,
.news-item--secondary {
  cursor: pointer;
  transition: opacity var(--transition);
}

.news-item--featured:hover,
.news-item--secondary:hover {
  opacity: 0.8;
}

.news-item--featured:hover .news-read-more,
.news-item--secondary:hover .news-read-more {
  color: var(--green);
}

.news-view-all {
  flex-shrink: 0;
  align-self: center;
  white-space: nowrap;
  background: transparent !important;
  color: var(--ink) !important;
  border: 1px solid var(--ink);
}

.news-view-all:hover {
  background: var(--ink) !important;
  color: var(--accent) !important;
}

.news-view-all-mobile {
  display: none !important;
}

.members{
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: var(--space-30) var(--pad-x);
  border-bottom: 1px solid var(--rule);
}

.membership-options{
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.contractor{
  background-color: var(--ink);
  color: white;
  padding: 24px;
}

.associate{
  color: var(--ink);
  padding: 24px;
  border: var(--rule) 1px solid;
  background-color: var(--cream);
}

.most-common{
  font-family: var(--font-mono);
  color: var(--accent);
  text-transform: uppercase;
}

.option-header{
  font-family: var(--font-display);
  font-size: 24px;
}

.price-container{
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}

.frequency{
  font-family: var(--font-mono);
  font-size: 14px;
}

.price{
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
}

.option-list{
  list-style: disc;
  list-style-type: disc;
  list-style-position: inside;
  padding-bottom: 24px;
}

.option-list li{
  padding: 6px;
}

.option-list li::marker{
  color: var(--accent);
}

.input-container{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-container{
  justify-content: center;
  border: var(--green-soft) 1px solid;
  background-color: var(--cream);
  padding: 48px;
  width: 100%; 
  height: 100%;
}

.membership-application{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.membership-application p{
  font-family: var(--font-mono);
  color: var(--green)
}

.membership-application label{
  font-family: var(--font-mono);
  color: var(--soft)
}

.membership-application input{
  padding: 10px;
  color: var(--soft);
}

.form-option{
  color: var(--green);
  font-family: var(--font-mono);
  text-align: center;
}

/* ============================================================
   WORK
   ============================================================ */

.membership-section {
  background-color: var(--ink);
}

.membership-container {
  max-width: var(--max-width);
  margin-inline: auto;
  width: 100%;
  display: flex;
  gap: 80px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.ms-left {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.ms-actions {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.trust-step-container {
  flex: 1;
  min-width: 360px;
  display: flex;
  flex-direction: column;
}

.trust-step {
  display: flex;
  flex-direction: column;
  color: white;
  padding: 22px 0;
}

.trust-step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: white;
  margin-bottom: 6px;
}

.trust-step-text {
  font-size: 14px;
  color: rgba(245, 240, 224, 0.65);
  line-height: 1.6;
}

.trust-step-container hr {
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin: 0;
}

.ms-mobile-cta {
  display: none !important;
}



/* ============================================================
   MEMBERSHIP SECTION ANIMATIONS
   ============================================================ */

.membership-section .ms-left > *,
.membership-section .trust-step {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

/* ms-left children stagger */
.membership-section .ms-left > *:nth-child(1) { animation-delay: 0.1s; }  /* eyebrow */
.membership-section .ms-left > *:nth-child(2) { animation-delay: 0.25s; } /* headline */
.membership-section .ms-left > *:nth-child(3) { animation-delay: 0.4s; }  /* buttons */

/* trust steps stagger after the left column */
.membership-section .trust-step:nth-child(1) { animation-delay: 0.2s; }
.membership-section .trust-step:nth-child(3) { animation-delay: 0.35s; }
.membership-section .trust-step:nth-child(5) { animation-delay: 0.5s; }
.membership-section .trust-step:nth-child(7) { animation-delay: 0.65s; }

.membership-section .ms-left > *,
.membership-section .trust-step,
.membership-section .ms-mobile-cta {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}
.membership-section .ms-mobile-cta { animation-delay: 0.8s; }

/* Below 1200px — swap them */
@media (max-width: 1200px) {
  .test {
    display: none !important;
  }

  /* Override the grid !important with equal specificity */
  section.about.about--split.mobile-hero {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
  }
}

@media (max-width: 680px) {
  .membership-container {
    flex-direction: column;
    gap: 32px;
  }

  .ms-left {
    max-width: 100%;
    gap: 24px;
  }

  .ms-actions {
    display: none;
  }

  .ms-mobile-cta {
    display: block !important;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}


/* ============================================================
   BUTTON
   ============================================================ */



.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--green);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 0;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}

.white-btn{
  background-color: var(--cream);
  color: var(--ink);
}

.link-btn{
  background-color: var(--ink);
  color: var(--cream);
  text-decoration: underline;
}

.btn:hover {
  background: var(--ink);
  color: var(--accent);
}


/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: var(--space-24) var(--pad-x);
  border-bottom: 1px solid var(--rule);
}

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

.section-label {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 64px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -1.3px;
  color: var(--ink);
  margin-bottom: var(--space-16);
}


/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--space-16);
  align-items: start;
}

.about-text p {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 60ch;
  margin-bottom: var(--space-4);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--rule);
}

.meta-item:last-child { border-bottom: 1px solid var(--rule); }

.meta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--soft);
}

.meta-value {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink);
}

.meta-value a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.meta-value a:hover { color: var(--ink); }

.timeline-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 200px 1fr;
  gap: 0 36px;
  align-items: baseline;
  padding: 32px 0;
  border-bottom: 1px solid var(--green-soft);
}

.timeline-content {
  display: contents;
}

.timeline-year{
  font-family: var(--font-display);
  color: var(--green);
  font-size: 32px;
  font-weight: 600;
}

.timeline-title{
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  font-size: 20px;
}


/* ============================================================
   CHAPTER MAP SECTION
   ============================================================ */
.chapter-section {
  padding: var(--space-24) var(--pad-x);
  border-bottom: 1px solid var(--rule);
}

.chapter-header {
  max-width: var(--max-width);
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.chapter-intro {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.55;
  color: var(--soft);
  max-width: 52ch;
  margin-top: var(--space-4);
}


.leaflet-tile-pane {
  filter: saturate(0.5) sepia(0.1) brightness(1.03);
}

/* Popup refinements */
.leaflet-popup-content-wrapper {
  border-radius: 2px !important;   /* flatter, matches your 0-radius cards */
  box-shadow: 0 4px 20px rgba(26, 29, 23, 0.14) !important;
  border: 1px solid var(--rule) !important;
}

.leaflet-popup-tip {
  background: #fff !important;
}

.popup-inner {
  font-family: var(--font-body);
}

.popup-state {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--space-2);
}

.popup-director {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink);
  margin-bottom: var(--space-3);
}

.popup-btn-primary {
  background: var(--green) !important;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 0 !important;
}

.popup-btn-secondary {
  background: var(--paper) !important;
  color: var(--soft) !important;
  border: 1px solid var(--rule) !important;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 0 !important;
}

/* Leaflet attribution — subdued */
.leaflet-control-attribution {
  font-family: var(--font-mono);
  font-size: 10px;
  background: rgba(245, 242, 234, 0.85) !important;
  color: var(--soft) !important;
}

.leaflet-control-attribution a {
  color: var(--green) !important;
}

/* Zoom controls */
.leaflet-control-zoom a {
  font-family: var(--font-body) !important;
  color: var(--ink) !important;
  background: var(--cream) !important;
  border-color: var(--rule) !important;
}

.leaflet-control-zoom a:hover {
  background: var(--paper) !important;
  color: var(--green) !important;
}


/* Replace the first .chapter-map-wrap block with this: */
.chapter-map-wrap {
  max-width: var(--max-width);
  margin-inline: auto;
  border: 1px solid var(--rule);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(26, 29, 23, 0.07);
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: row;
  width: 100%;
}

#map {
  flex: 1;
  min-width: 0;
  height: 540px;
  z-index: 0;
}

.chapter-detail {
  width: 280px;
  flex-shrink: 0;
  border-left: 1px solid var(--rule);
  background: var(--cream);
  padding: 28px 24px;
  overflow-y: auto;
  height: 540px;
  display: flex;
  flex-direction: column;
}

.chapter-detail-empty {
  margin: auto;
  text-align: center;
  color: var(--soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chapter-detail-empty span {
  font-size: 20px;
  color: var(--green-soft);
}

.chapter-detail-state {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}

.chapter-detail-director {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}

.chapter-detail-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 14px;
}

.chapter-detail-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--soft);
}

.chapter-detail-value {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.45;
}

.chapter-detail-value a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.chapter-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}

/* ============================================================
   TRUST
   ============================================================ */

   .section--trust{
    background-color: var(--ink);
   }

   .trust-step{
    display: flex;
    flex-direction: column;
    color: white;
    border-top: white !important;
    padding-top: 24px;
   }

   .trust-step-number{
      font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-6);
   }

   .trust-step-title{
    font-size: 22px;
    letter-spacing: -0.3px;
    font-weight: 500;
   }

/* ============================================================
   WORK
   ============================================================ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-8);
}

.work-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.section--alt .work-card { background: var(--cream); }

.work-card:hover {
  box-shadow: 0 8px 32px rgba(26, 29, 23, 0.10);
}

.work-card-img-wrap {
  aspect-ratio: 16 / 9;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.work-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-card:hover .work-card-img-wrap img {
  transform: scale(1.03);
}

.work-card-body {
  padding: var(--space-8);
}

.work-card-body .eyebrow {
  margin-bottom: var(--space-3);
}

.work-card-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin-bottom: var(--space-3);
}

.work-card-body p {
  font-size: 13.5px;
  color: var(--soft);
  line-height: 1.55;
  margin-bottom: var(--space-6);
}

.work-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  transition: color var(--transition);
}

.work-link:hover { color: var(--ink); }

/* ============================================================
   MEMBERS
   ============================================================ */

   .member-card{
    border-bottom: #CDC7B8 1px solid;
    padding: 12px;
   }

   .member-card-img-wrap {
  position: relative;
}

.member-eyebrow {
  position: absolute;
  top: 12px; /* or top: 0, adjust to taste */
  left: 12px;
  z-index: 1;
  color: var(--green);
}

   .member-title{
    text-transform: uppercase;
    color: #2F4A2B;
    font-size: 12px;
    font-family: var(--font-display);
   }

   .member-card-img-wrap img {
  width: 100%;
  height: 250px; /* adjust to whatever height works for your layout */
  object-fit: cover;
  display: block;
  object-position: top;
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact-intro {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.55;
  color: var(--soft);
  margin-bottom: var(--space-8);
  max-width: 50ch;
}

.social-links {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--rule);
}

.social-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--soft);
  transition: color var(--transition);
}

.social-links a:hover { color: var(--green); }

/* ============================================================
   CONTACT
   ============================================================ */

.testimonial-section{
  background-color: var(--green);
  padding: var(--space-30) var(--pad-x);
}

.quote-symbol{
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 32px;
}

.testimonial-text{
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 32px;
}

.testimonial-name{
  font-family: var(--font-mono);
  color: var(--green-soft);
}


.site-footer {
  background-color: var(--green);
  color: var(--cream);
  display: flex;
  flex-direction: column;
}

.footer-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-16);
  padding: var(--space-16) var(--pad-x);
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  flex: 1;
  max-width: 280px;
}

.footer-address {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green-soft);
  line-height: 1.7;
}

.footer-brand .h3-section {
  color: var(--cream);
  font-size: 24px;
}

.footer-nav-grid {
  display: flex;
  flex-direction: row;
  gap: var(--space-16);
  flex: 2;
  justify-content: flex-end;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--cream);
  font-weight: 500;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--pad-x);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
}

.footer-col-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-soft);
  margin-bottom: var(--space-4);
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green-soft);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.footer-bottom-links a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green-soft);
  transition: color var(--transition);
}

.footer-bottom-links a + a::before {
  content: '·';
  margin-right: var(--space-3);
  color: var(--green-soft);
}

.footer-bottom-links a:hover {
  color: var(--cream);
}

/* Mobile */
@media (max-width: 680px) {
  .footer-container {
    flex-direction: column;
    gap: var(--space-8);
    padding: var(--space-8) var(--pad-x);
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    width: 100%;
    justify-content: unset;
  }

  .footer-bottom {
    padding: var(--space-4) var(--pad-x);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
  .stats-section {
    padding: var(--space-8) var(--pad-x);
  }

  .stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .stats-container hr {
    display: none;
  }

  .stats {
    padding: var(--space-6) var(--space-4);
    border: 1px solid var(--rule);
    margin: -1px 0 0 -1px;
  }

  .stats-header {
    font-size: 28px; /* slightly smaller so numbers breathe */
  }

  .stats-description {
    font-size: 10px; /* tighter so labels don't wrap */
    letter-spacing: 1px;
  }
}

/* ============================================================
   Hero animations
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-inner > * {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.hero-inner > *:nth-child(1) { animation-delay: 0.1s; } /* eyebrow */
.hero-inner > *:nth-child(2) { animation-delay: 0.25s; } /* h1 */
.hero-inner > *:nth-child(3) { animation-delay: 0.4s; }  /* tagline */
.hero-inner > *:nth-child(4) { animation-delay: 0.55s; } /* button */

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -10%;
  background-image: url(/siteart/billy-freeman-tWptj-b6IqM-unsplash.jpg);
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: heroZoom 8s ease forwards;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

@keyframes heroZoom {
  from { transform: scale(.9); }
  to   { transform: scale(1.1); }
}

/* Animation */
.stats-section .stats {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
  animation-play-state: paused;
}

.stats-section .stats:nth-child(1) { animation-delay: 0.0s; }
.stats-section .stats:nth-child(3) { animation-delay: 0.1s; }
.stats-section .stats:nth-child(5) { animation-delay: 0.2s; }
.stats-section .stats:nth-child(7) { animation-delay: 0.3s; }

/* News animations */
.news-header-row > *,
.news-item--featured,
.news-secondary,
.news-view-all-mobile {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-play-state: paused;
}

.news-header-row > *:nth-child(1) { animation-delay: 0.1s; }
.news-header-row > *:nth-child(2) { animation-delay: 0.2s; }
.news-item--featured              { animation-delay: 0.3s; }
.news-secondary                   { animation-delay: 0.45s; }
.news-view-all-mobile             { animation-delay: 0.6s; }

/* Hero split animations */
.hero-video-col,
.about--split .hero-inner > * {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-play-state: paused;
}

.hero-video-col                        { animation-delay: 0.1s; }
.about--split .hero-inner > *:nth-child(1) { animation-delay: 0.25s; }
.about--split .hero-inner > *:nth-child(2) { animation-delay: 0.4s; }
.about--split .hero-inner > *:nth-child(3) { animation-delay: 0.55s; }
.about--split .hero-inner > *:nth-child(4) { animation-delay: 0.7s; }

/* Map section animations */
.map-heading,
.chapter-map-wrap {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-play-state: paused;
}

.map-heading       { animation-delay: 0.1s; }
.chapter-map-wrap  { animation-delay: 0.25s; }

/* Board member animations */
.section--alt .hero-eyebrow,
.section--alt .section-label,
.section--alt .member-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-play-state: paused;
}

.section--alt .hero-eyebrow  { animation-delay: 0.1s; }
.section--alt .section-label { animation-delay: 0.25s; }
.section--alt .member-card:nth-child(1) { animation-delay: 0.3s; }
.section--alt .member-card:nth-child(2) { animation-delay: 0.4s; }
.section--alt .member-card:nth-child(3) { animation-delay: 0.5s; }
.section--alt .member-card:nth-child(4) { animation-delay: 0.6s; }
.section--alt .member-card:nth-child(5) { animation-delay: 0.7s; }
.section--alt .member-card:nth-child(6) { animation-delay: 0.8s; }

/* Timeline animations */
.timeline-section .timeline-item {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-play-state: paused;
}

.timeline-section .timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-section .timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-section .timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-section .timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-section .timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-section .timeline-item:nth-child(6) { animation-delay: 0.6s; }

/* Sponsor slider animation */
.membership-section .h3-section,
.membership-section .swiper {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-play-state: paused;
}

.membership-section .h3-section { animation-delay: 0.1s; }
.membership-section .swiper     { animation-delay: 0.25s; }

/* Membership page animations */
.membership-page-hero .hero-inner > *,
.section-header-container > *,
.membership-options .contractor,
.membership-options .associate,
.testimonial-section .swiper,
.membership-apply .hero-inner > *,
.form-container {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-play-state: paused;
}

.section-header-container > *:nth-child(1) { animation-delay: 0.1s; }
.section-header-container > *:nth-child(2) { animation-delay: 0.2s; }
.section-header-container > *:nth-child(3) { animation-delay: 0.3s; }

.membership-options .contractor   { animation-delay: 0.2s; }
.membership-options .associate:nth-child(2) { animation-delay: 0.35s; }
.membership-options .associate:nth-child(3) { animation-delay: 0.5s; }

.testimonial-section .swiper { animation-delay: 0.15s; }

.form-container { animation-delay: 0.3s; }

/* ============================================================
   CHAPTER MAP — MOBILE
   ============================================================ */


@media (max-width: 900px) {
  #map { height: 420px; }
}

@media (max-width: 600px) {
  #map { height: 320px; }

  .timeline-item{
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
}
   .trust-step-container{
    display: flex;
    flex-direction: column;
    gap: 12px;
   }
}

@media (max-width: 767px) {
  .chapter-map-wrap {
    flex-direction: column;
  }

  #map {
    height: 360px;
    flex: none;
    width: 100%;
  }

  .chapter-detail {
    width: 100%;
    height: auto;
    min-height: 220px;
    border-left: none;
    border-top: 1px solid var(--rule);
  }

  .chapter-detail-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .chapter-detail-actions .btn {
    flex: 1;
    text-align: center;
  }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  :root { --pad-x: 32px; }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .news-header-row {
    flex-direction: column;
    gap: var(--space-6);
  }

  .news-container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .news-item--featured {
    margin-bottom: var(--space-4);
  }

  .news-item--secondary {
    padding: var(--space-5) 0;
  }

  .news-item--secondary .news-description {
    display: none;
  }

  .news-view-all {
    display: none;
  }

  .news-view-all-mobile {
    display: block !important;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    margin-top: var(--space-8);
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
  }

  .news-view-all-mobile:hover {
    background: var(--ink);
    color: var(--accent);
  }
}

@media (max-width: 600px) {

  :root { --pad-x: 24px; }

  .hero { padding-top: 24px; min-height: auto; padding: 12px;}

  .nav-links { gap: var(--space-6); }

  .social-links { flex-direction: column; gap: var(--space-4); }

  .membership-options{
    flex-direction: column;
  }

  .hero-name{
    font-size: 36px;
  }

  .h2-section{
    font-size: 32px;
    line-height: 1;
  }

  .h3-section{
    font-size: 28px;
    line-height: 1;
  }

  .about{
    padding: var(--space-16) var(--pad-x);
  }

  .about .container{
    display: flex;
    flex-direction: column;
  }

  #map { height: 320px; }

  .timeline-item{
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
}
   .trust-step-container{
    display: flex;
    flex-direction: column;
    gap: 12px;
   }

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr; /* year | content block */
  gap: 0 24px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--green-soft);
}

.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-title {
  font-size: 18px;
}

.timeline-description {
  font-size: 15px;
  line-height: 1.5;
}

.top-header-text{
  display: none;
}

.top-header{
  justify-content: end;
}

.social-icons i{
  font-size: 24px;
}

.section-header-container{
  flex-direction: column;
  justify-content: flex-start;
  align-items: self-start;
  gap: 24px;
}

.membership-container {
    flex-direction: column;
    gap: 40px;
  }

  /* Hide desktop CTAs, show mobile one */
  .ms-actions {
    display: none;
  }

  .ms-mobile-cta {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .form-container{
    padding: 24px 24px;
  }

  .testimonial-section{
    padding: 24px 24px;
  }

  .membership-options {
  flex-direction: column;
  gap: 0;
}

.contractor,
.associate {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--rule);
  background: var(--cream);
  color: var(--ink);
}

.contractor {
  background: var(--ink);
  color: var(--cream);
}

/* Hide the decorative bits on mobile to keep it tight */
.contractor .most-common,
.associate .most-common,
.contractor .option-list,
.associate .option-list,
.contractor .option-description,
.associate .option-description,
.contractor .btn,
.associate .btn {
  display: none;
}

/* Price row: name left, price right */
.contractor .option-header,
.associate .option-header {
  font-size: 20px;
}

.price-container {
  flex-direction: row;
  justify-content: flex-start;
  align-items: baseline;
  gap: 6px;
}

.price {
  font-size: 24px;
}

.contractor .price-container,
.associate .price-container {
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
}

.contractor .price,
.associate .price {
  font-size: 32px;
  font-weight: 700;
}

.contractor .frequency,
.associate .frequency {
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--soft);
}

.nav-logo {
  width: 36px;
}


}
