/* ================================================================
   The Portland Foundation — theme.css
   e107 Theme Assets · Mobile-first · Bootstrap 5 augmented
================================================================ */

/* ---------------------------------------------------------------
   1. Design Tokens
--------------------------------------------------------------- */
:root {
  --green:      #0b5426;
  --green-deep: #173b15;
  --green-soft: #1e6a32;
  --gold:       #ffbf01;
  --gold-soft:  #ffe599;
  --cream:      #faf6ec;
  --paper:      #fffdf7;
  --ink:        #1c2418;
  --ink-soft:   #54604f;
  --rule:       rgba(28,36,24,0.12);
  --serif:      "Lora", Georgia, serif;
  --script:     "Caveat", cursive;
  --sans:       "Lato", -apple-system, system-ui, sans-serif;
}

/* ---------------------------------------------------------------
   2. Base
--------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}

.tpf-wrapper {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  overflow-x: hidden;
  background: var(--paper);
}

.tpf-wrapper a { text-decoration: none; }
img { display: block; }

/* ---------------------------------------------------------------
   3. Photo Slot — bg-cover placeholder
--------------------------------------------------------------- */
.photo-slot {
  width: 100%;
  background: #1f2a1d center / cover no-repeat;
}

/* ---------------------------------------------------------------
   4. Shared Atoms
--------------------------------------------------------------- */
.link-arrow {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
  white-space: nowrap;
}

.link-arrow:hover,
.link-arrow:active,
.link-arrow:focus {
  color: var(--gold);
}

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--green);
  padding: 12px 22px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-gold:hover,
.btn-gold:active,
.btn-gold:focus {
  color: var(--green);
  transform: translateY(-7px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* Page titles (full/sidebar layouts) */
.tpf-page-title {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--green-deep);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ---------------------------------------------------------------
   5. Utility Bar
--------------------------------------------------------------- */
.utility-bar {
  background: var(--green-deep);
  color: #cfe0c9;
  font-family: var(--sans);
  font-size: 12px;
  padding: 7px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 6px;
}
.utility-bar__left  { display: flex; gap: 16px; align-items: center; }
.utility-bar__right { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.utility-bar a       { color: #cfe0c9; }
.utility-bar a.gold  { color: var(--gold); }

/* ---------------------------------------------------------------
   6. Site Header / Bootstrap Navbar
--------------------------------------------------------------- */
.site-header {
  background: var(--paper) !important;
  border-bottom: 1px solid var(--rule);
  padding: 12px 20px !important;
}

/* Brand */
.site-header .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin-right: 0;
}
.brand-text { display: flex; flex-direction: column; justify-content: center; }
.brand-name {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--green-deep);
  font-weight: 600;
  line-height: 1.2;
}
.brand-tagline {
  font-family: var(--script);
  font-size: 15px;
  color: var(--green);
  margin-top: 3px;
  line-height: 1;
}

/* Toggler — uses FA icons, not the default BS sprite */
.site-header .navbar-toggler {
  border-color: var(--rule);
  padding: 6px 10px;
  color: var(--green-deep);
  font-size: 20px;
  line-height: 1;
}
.site-header .navbar-toggler:focus {
  box-shadow: 0 0 0 2px rgba(255,191,1,.5);
}
.nav-icon-open { display: none; }
.navbar-toggler[aria-expanded="true"] .nav-icon-closed { display: none; }
.navbar-toggler[aria-expanded="true"] .nav-icon-open   { display: inline-block; }

/* Collapsed nav panel */
.site-header .navbar-collapse {
  border-top: 1px solid var(--rule);
  margin-top: 10px;
  padding-top: 10px;
}

/* Nav links */
.site-header .navbar-nav { gap: 2px; }
.site-header .nav-link {
  color: var(--ink) !important;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 10px !important;
}
.site-header .nav-link:hover { color: var(--green) !important; }

/* Donate button — admin sets custom class "btn-donate-nav" on the nav item */
.site-header .nav-link.btn-donate-nav {
  background: var(--gold) !important;
  color: var(--green-deep) !important;
  padding: 9px 18px !important;
  border-radius: 2px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ---------------------------------------------------------------
   7. Hero Slider
--------------------------------------------------------------- */
.hero {
  position: relative;
  height: 480px;
  background: var(--green-deep);
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11,84,38,.90) 0%,
    rgba(11,84,38,.62) 50%,
    rgba(11,84,38,.18) 100%
  );
}
.hero-slide__content {
  position: absolute;
  inset: 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
}
.hero-slide__inner { max-width: 100%; color: #fff; }

.hero-slide__script {
  font-family: var(--script);
  font-size: 26px;
  color: var(--gold);
  transform: rotate(-2deg);
  display: inline-block;
  margin-bottom: 6px;
}
.hero-slide__heading {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.1;
  font-weight: 600;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.hero-slide__body {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 22px;
  max-width: 100%;
  opacity: .92;
}
.hero-slide__ctas { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-hero-primary {
  background: var(--gold);
  color: var(--green-deep);
  padding: 11px 20px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-block;
}
.btn-hero-secondary {
  background: transparent;
  color: #fff;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,.6);
  display: inline-block;
}

/* Controls — bottom right */
.hero-controls {
  position: absolute;
  bottom: 18px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  z-index: 10;
}
.hero-counter { font-family: var(--serif); font-size: 14px; }
.hero-progress-track { width: 90px; height: 2px; background: rgba(255,255,255,.25); }
.hero-progress-fill  { height: 100%; background: var(--gold); transition: width .4s ease; }
.hero-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,.5);
  color: #fff;
  width: 36px; height: 36px;
  font-size: 15px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-btn-next {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-deep);
  font-weight: 700;
}

/* Slide tabs — hidden on mobile */
.hero-tabs {
  position: absolute;
  bottom: 18px;
  left: 20px;
  display: none;
  gap: 18px;
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(255,255,255,.7);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 10;
}
.hero-tabs span { cursor: pointer; padding-bottom: 4px; transition: color .3s; }
.hero-tabs span.active { color: #fff; border-bottom: 2px solid var(--gold); }

/* ---------------------------------------------------------------
   8. Mission Strip  (rendered by tablestyle 'wmessage')
--------------------------------------------------------------- */
.mission-strip {
  background: var(--cream);
  padding: 56px 24px;
  text-align: center;
}
.mission-strip .container { max-width: 1100px; }
.mission-strip__script {
  font-family: var(--script);
  font-size: 26px;
  color: var(--green);
  margin-bottom: 12px;
  transform: rotate(-1.5deg);
  display: inline-block;
}
.mission-strip__heading {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.25;
  font-weight: 500;
  color: var(--green-deep);
  margin: 0 auto 24px;
  max-width: 980px;
  letter-spacing: -0.01em;
}
.mission-strip__heading em { color: var(--green); font-style: italic; }
.mission-strip__rule  { width: 60px; height: 2px; background: var(--gold); margin: 0 auto 20px; }
.mission-strip__body  {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 640px;
  line-height: 1.65;
}

/* ---------------------------------------------------------------
   9. What We Do
--------------------------------------------------------------- */
.what-we-do { padding: 56px 24px; background: var(--paper); }

.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.section-header__script {
  font-family: var(--script);
  font-size: 26px;
  color: var(--green);
}
.section-header__title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  color: var(--green-deep);
  letter-spacing: -0.01em;
}

/* Pillar Cards */
.pillar-card { background: var(--cream); border: 1px solid var(--rule); height: 100%; }
.pillar-card__body { padding: 28px 24px 32px; }
.pillar-card__tag {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.18em;
  margin-bottom: 6px;
  font-weight: 700;
}
.pillar-card__script {
  font-family: var(--script);
  font-size: 24px;
  color: var(--green);
  margin-bottom: 4px;
}
.pillar-card__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--green-deep);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.pillar-card__text {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.pillar-card__link {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--green-deep);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pillar-card__link:hover,
.pillar-card__link:active,
.pillar-card__link:focus {
  color: var(--gold);
}

/* ---------------------------------------------------------------
   10. Applications & Deadlines
--------------------------------------------------------------- */
.deadlines {
  background: var(--green);
  padding: 56px 24px;
  color: #fff;
}
.deadlines__script { font-family: var(--script); font-size: 26px; color: var(--gold); margin-bottom: 4px; }
.deadlines__title  { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 0 0 18px; letter-spacing: -0.01em; }
.deadlines__body   { font-family: var(--sans); font-size: 14px; line-height: 1.65; opacity: .85; margin: 0 0 26px; }
a.deadlines__email  { color: var(--gold); font-weight: 700; }
a.deadlines__email:hover,a.deadlines__email:active,a.deadlines__email:focus { color: #fff; }

.deadline-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  gap: 12px;
}
.deadline-item:last-child { border-bottom: none; }
.deadline-item__left { display: flex; align-items: flex-start; gap: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.dot--urgent { background: var(--gold); box-shadow: 0 0 0 4px rgba(255,191,1,.18); }
.dot--normal { background: rgba(255,255,255,.3); }
.deadline-item__name { font-family: var(--sans); font-size: 14px; line-height: 1.4; }
.deadline-item__date {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}
.deadline-item__date--urgent { color: var(--gold); }
.deadline-item__date--normal { color: rgba(255,255,255,.6); }

.deadline-item a {
    color:#fff;
}
.deadline-item a:hover,
.deadline-item a:focus,
.deadline-item a:active {
    color:var(--gold);
}

/* ---------------------------------------------------------------
   11. Impact Split
--------------------------------------------------------------- */
.impact-split { background: var(--paper); }

/* Photo fills its Bootstrap column */
.impact-photo { height: 280px; }

.impact-split__text {
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.impact-split__script { font-family: var(--script); font-size: 24px; color: var(--green); margin-bottom: 4px; }
.impact-split__title  { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--green-deep); margin: 0 0 28px; letter-spacing: -0.01em; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.stat-item   { border-top: 2px solid var(--gold); padding-top: 12px; }
.stat-number { font-family: var(--serif); font-size: 36px; font-weight: 600; color: var(--green-deep); line-height: 1; letter-spacing: -0.02em; }
.stat-label  { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); margin-top: 6px; line-height: 1.4; }
.stat-sublabel { font-family: var(--sans); font-size: 11px; color: var(--ink-soft); opacity: .6; margin-top: 2px; }

/* ---------------------------------------------------------------
   12. Resources & Reports
--------------------------------------------------------------- */
.resources { padding: 56px 24px; background: var(--cream); }
.resources-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.resources-header__title { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--green-deep); letter-spacing: -0.01em; }

/* CSS Grid — 5-col doesn't map cleanly to Bootstrap, so we own it */
.resources-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.resource-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 16px 14px;
  color: var(--green-deep);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  display: flex;
  align-items: flex-end;
  min-height: 90px;
  position: relative;
}
.resource-card:hover { background: var(--cream); }
.resource-card__badge { position: absolute; top: 12px; right: 12px; color: var(--green); font-size: 11px; }

/* ---------------------------------------------------------------
   13. Donate Band
--------------------------------------------------------------- */
.donate-band { position: relative; height: 380px; overflow: hidden; }
.donate-band__overlay { position: absolute; inset: 0; background: rgba(11,84,38,.85); z-index: 1; }
.donate-band__content {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
  padding: 0 24px;
  z-index: 2;
}
.donate-band__inner  { max-width: 780px; }
.donate-band__script { font-family: var(--script); font-size: 26px; color: var(--gold); margin-bottom: 4px; }
.donate-band__title  { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 0 0 16px; letter-spacing: -0.01em; line-height: 1.15; }
.donate-band__body   { font-family: var(--sans); font-size: 14px; line-height: 1.6; margin: 0 0 22px; opacity: .92; }
.donate-band__ctas   { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.btn-donate-gold {
  background: var(--gold); color: var(--green-deep);
  padding: 13px 22px; font-weight: 700; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase; display: inline-block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-donate-gold:hover,
.btn-donate-gold:active,
.btn-donate-gold:focus {
  color: var(--green-deep);
  transform: translateY(-7px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);  
}

.btn-donate-ghost {
  background: transparent; color: #fff;
  padding: 13px 22px; font-weight: 600; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,.6); display: inline-block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-donate-ghost:hover,
.btn-donate-ghost:active,
.btn-donate-ghost:focus {
  background: #fff; color: var(--green-deep);
  transform: translateY(-7px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);  
}

/* ---------------------------------------------------------------
   14. From the Field (News photo grid — re-uses instagram CSS classes)
--------------------------------------------------------------- */
.instagram { padding: 56px 24px; background: var(--paper); }
.instagram-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.instagram-header__script { font-family: var(--script); font-size: 24px; color: var(--green); }
.instagram-header__handle { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--green-deep); letter-spacing: -0.01em; }

/* Horizontal scroll strip on mobile */
.instagram-scroll {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  padding-bottom: 6px;
}
.instagram-scroll::-webkit-scrollbar { height: 4px; }
.instagram-scroll::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
.instagram-item {
  flex: 0 0 46vw;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.instagram-item .photo-slot { height: 100%; }
.instagram-footer { text-align: right; margin-top: 16px; }

/* ---------------------------------------------------------------
   15. Standards Band
--------------------------------------------------------------- */
.standards-band {
  padding: 40px 24px;
  background: var(--cream);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.accreditation-seal {
  width: 140px; height: 140px;
  border: 3px solid var(--green-deep);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--sans); color: var(--green-deep);
  padding: 14px;
}
.seal-community  { font-size: 8px;  letter-spacing: 0.2em;  font-weight: 700; }
.seal-accredited { font-size: 14px; letter-spacing: 0.12em; font-weight: 900; margin: 3px 0; }
.seal-foundation { font-size: 8px;  letter-spacing: 0.2em;  font-weight: 700; }
.seal-stars      { margin-top: 5px; font-size: 8px; opacity: .6; }

.standards-band__script { font-family: var(--script); font-size: 24px; color: var(--green); margin-bottom: 4px; }
.standards-band__title  { font-family: var(--serif); font-size: 22px; color: var(--green-deep); margin: 0 0 10px; font-weight: 500; letter-spacing: -0.01em; }
.standards-band__body   { font-family: var(--sans); font-size: 14px; line-height: 1.65; color: var(--ink-soft); margin: 0; }

/* ---------------------------------------------------------------
   16. Footer
--------------------------------------------------------------- */
.site-footer {
  background: var(--green-deep);
  color: #cfe0c9;
  padding: 48px 24px 32px;
  font-family: var(--sans);
}
.footer-brand      { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand-name { font-family: var(--serif); color: #fff; font-size: 19px; font-weight: 500; }
.footer-tagline    { font-family: var(--script); font-size: 20px; color: var(--gold); margin-bottom: 12px; }
.footer-desc       { font-size: 13px; line-height: 1.7; opacity: .75; }

.footer-col h4 { color: #fff; font-family: var(--serif); font-size: 15px; margin: 0 0 12px; font-weight: 500; }
.footer-col address { font-style: normal; font-size: 14px; line-height: 1.8; }
.footer-gold { color: var(--gold); }
.footer-gold:hover,.footer-gold:active,.footer-gold:focus { color: #fff; }
.footer-hours { font-size: 13px; opacity: .8; }

.footer-directions { display: flex; gap: 6px; margin-bottom: 10px; }
.footer-directions input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 13px;
  font-family: var(--sans);
  border-radius: 0;
  outline: none;
}
.footer-directions input::placeholder { color: rgba(255,255,255,.45); }
.footer-directions input:focus { border-color: var(--gold); }
.btn-footer-go {
  background: var(--gold); color: var(--green-deep); border: none;
  padding: 0 14px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; font-family: var(--sans);
  white-space: nowrap;
}
.footer-social { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-social a { color: var(--gold); font-size: 15px; }
.footer-social a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  opacity: .7;
}
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-bottom-links a { color: #cfe0c9; }

/* Sidebar menu blocks */
.tpf-menu-block { margin-bottom: 1.5rem; }
.tpf-menu-block__title { font-family: var(--serif); font-size: 17px; color: var(--green-deep); margin-bottom: 10px; }

/* ================================================================
   RESPONSIVE — Small ≥ 576px
================================================================ */
@media (min-width: 576px) {

  .utility-bar { padding: 7px 32px; }
  .site-header  { padding: 14px 32px !important; }
  .brand-name { font-size: 20px; }
  .brand-tagline { font-size: 17px; }

  .hero { height: 520px; }
  .hero-slide__script  { font-size: 30px; }
  .hero-slide__heading { font-size: 44px; }
  .hero-slide__body    { font-size: 15px; }
  .hero-slide__content { padding: 0 40px; }
  .hero-controls { right: 40px; bottom: 28px; }
  .hero-progress-track { width: 140px; }

  .instagram-item { flex: 0 0 30vw; }
}

/* ================================================================
   RESPONSIVE — Medium ≥ 768px
================================================================ */
@media (min-width: 768px) {

  .utility-bar { padding: 7px 48px; }
  .site-header  { padding: 16px 48px !important; }

  .hero { height: 600px; }
  .hero-slide__script  { font-size: 36px; }
  .hero-slide__heading { font-size: 54px; }
  .hero-slide__body    { font-size: 16px; }
  .hero-slide__content { padding: 0 56px; }
  .hero-slide__inner   { max-width: 680px; }
  .hero-tabs    { display: flex; bottom: 28px; left: 56px; }
  .hero-controls { right: 56px; bottom: 28px; gap: 12px; }
  .hero-progress-track { width: 180px; }
  .hero-btn  { width: 40px; height: 40px; }
  .hero-counter { font-size: 16px; }

  .mission-strip { padding: 72px 56px; }
  .mission-strip__script  { font-size: 30px; }
  .mission-strip__heading { font-size: 38px; }
  .mission-strip__body    { font-size: 15px; }

  .what-we-do { padding: 72px 48px; }
  .section-header {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 44px;
  }
  .section-header__script { font-size: 28px; }
  .section-header__title  { font-size: 36px; }

  .deadlines { padding: 72px 48px; }
  .deadlines__title { font-size: 36px; }
  .deadline-item__name { font-size: 15px; }
  .deadline-item__date { font-size: 13px; }

  .impact-photo { height: 100%; min-height: 380px; }
  .impact-split__text { padding: 56px 48px; }
  .impact-split__title { font-size: 34px; }
  .stat-number { font-size: 40px; }

  .resources { padding: 64px 48px; }
  .resources-header {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
  .resources-header__title { font-size: 28px; }
  .resources-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }

  .donate-band { height: 420px; }
  .donate-band__title  { font-size: 38px; }
  .donate-band__body   { font-size: 15px; }

  .instagram { padding: 64px 48px; }
  .instagram-header {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
  .instagram-item { flex: 0 0 20vw; }

  .standards-band { padding: 48px 48px; }
  .standards-band__title { font-size: 24px; }

  .site-footer { padding: 56px 48px 32px; }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* ================================================================
   RESPONSIVE — Large ≥ 992px   (full desktop layout)
================================================================ */
@media (min-width: 992px) {

  .utility-bar { padding: 8px 64px; }
  .site-header  { padding: 20px 64px !important; }
  .brand-name    { font-size: 24px; }
  .brand-tagline { font-size: 22px; }

  /* Remove mobile nav border when expanded inline */
  .site-header .navbar-collapse {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
  }
  .site-header .navbar-nav { gap: 6px; }
  .site-header .nav-link.btn-donate-nav { margin-top: 0; }

  .hero { height: 720px; }
  .hero-slide__script  { font-size: 44px; }
  .hero-slide__heading { font-size: 72px; }
  .hero-slide__body    { font-size: 19px; }
  .hero-slide__content { padding: 0 64px; }
  .hero-slide__inner   { max-width: 700px; }
  .hero-slide__body    { max-width: 560px; }
  .hero-slide__ctas    { flex-wrap: nowrap; }
  .btn-hero-primary, .btn-hero-secondary { padding: 14px 28px; font-size: 15px; }
  .hero-tabs    { display: flex; left: 64px; bottom: 36px; font-size: 12px; gap: 24px; }
  .hero-controls { right: 64px; bottom: 36px; gap: 16px; }
  .hero-progress-track { width: 220px; }
  .hero-counter { font-size: 18px; }
  .hero-btn { width: 44px; height: 44px; font-size: 18px; }

  .mission-strip { padding: 96px 64px; }
  .mission-strip__script  { font-size: 36px; }
  .mission-strip__heading { font-size: 52px; }
  .mission-strip__body    { font-size: 16px; }

  .what-we-do { padding: 96px 64px; }
  .section-header { margin-bottom: 56px; }
  .section-header__script { font-size: 32px; }
  .section-header__title  { font-size: 44px; }
  .pillar-card__body   { padding: 36px 32px 40px; }
  .pillar-card__script { font-size: 26px; }
  .pillar-card__title  { font-size: 28px; }
  .pillar-card__text   { font-size: 15px; }
  .pillar-card__link   { font-size: 13px; }

  .deadlines { padding: 96px 64px; }
  .deadlines__title { font-size: 44px; }
  .deadline-item { padding: 22px 0; }
  .deadline-item__name { font-size: 17px; }

  .impact-photo { min-height: 560px; }
  .impact-split__text { padding: 80px 64px; }
  .impact-split__script { font-size: 28px; }
  .impact-split__title  { font-size: 40px; margin-bottom: 36px; }
  .stats-grid { gap: 32px; margin-bottom: 36px; }
  .stat-number { font-size: 44px; }
  .stat-label  { font-size: 13px; }

  .resources { padding: 80px 64px; }
  .resources-header__title { font-size: 32px; }
  .resources-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .resource-card { padding: 20px 18px; min-height: 110px; font-size: 14px; }
  .resource-card__badge { font-size: 12px; }

  .donate-band { height: 440px; }
  .donate-band__script { font-size: 36px; }
  .donate-band__title  { font-size: 52px; }
  .donate-band__body   { font-size: 17px; margin-bottom: 32px; }
  .btn-donate-gold, .btn-donate-ghost { padding: 16px 32px; font-size: 14px; }

  .instagram { padding: 80px 64px; }
  .instagram-header__script { font-size: 28px; }
  .instagram-header__handle { font-size: 32px; }
  /* Switch from horizontal scroll to 6-column grid at desktop */
  .instagram-scroll {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    overflow-x: visible;
    padding-bottom: 0;
    scrollbar-width: auto;
  }
  .instagram-item {
    flex: none;
    aspect-ratio: 1 / 1;
  }
  .instagram-item .photo-slot { height: 100%; min-height: 130px; }

  .standards-band { padding: 64px 64px; }
  .accreditation-seal { width: 160px; height: 160px; padding: 16px; }
  .seal-community  { font-size: 9px; }
  .seal-accredited { font-size: 16px; }
  .seal-foundation { font-size: 9px; }
  .standards-band__script { font-size: 26px; }
  .standards-band__title  { font-size: 26px; }
  .standards-band__body   { font-size: 15px; }

  .site-footer { padding: 72px 64px 36px; }
  .footer-brand-name { font-size: 22px; }
  .footer-tagline    { font-size: 22px; }
  .footer-desc       { max-width: 340px; }
}

/* ================================================================
   RESPONSIVE — X-Large ≥ 1200px
================================================================ */
@media (min-width: 1200px) {
  .site-header .nav-link { font-size: 15px; }
  .tpf-page-title { font-size: 40px; }
}
