/* Dignity Partnership — visual system from dignity_partnership_redesign.html
   Scoped: nav.dip-nav, footer.dip-footer to avoid Bootstrap conflicts */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --ink: #0d0d0d;
  --cream: #deb1ff;
  --accent: #c8622a;
  --accent2: #2a6e5c;
  --mid: #6b6b6b;
  --white: #ffffff;
  --card-bg: #f0ece5;
  --border: rgba(0, 0, 0, 0.08);
  /* Aliases for legacy templates / blocks */
  --font-display: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
  --font-accent: "Playfair Display", serif;
  --primary-gradient: linear-gradient(135deg, #c8622a 0%, #2a6e5c 100%);
  --secondary-gradient: linear-gradient(135deg, #c8622a 0%, #a84e20 100%);
  --accent-gradient: linear-gradient(135deg, #2a6e5c 0%, #1d4d3f 100%);
  --dark-gradient: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 12px 40px rgba(0, 0, 0, 0.1);
  --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.12);
}

html {
  scroll-behavior: smooth;
  background-color: var(--cream);
}

body.dip-site {
  font-family: "Inter", sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

body.dip-site #main {
  min-height: 40vh;
}

body.dip-site #preloader {
  background: var(--cream);
}

body.dip-inner-page #main {
  padding-top: 5.5rem;
}

/* ─── NAV ─── */
nav.dip-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5%;
  background: rgba(222, 177, 255, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(13, 13, 13, 0.12);
  transition: box-shadow 0.3s;
}

.dip-nav .nav-logo {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: 0.6rem;
}

.dip-nav .nav-logo span {
  color: var(--accent);
}

.dip-nav .nav-logo img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.dip-nav .nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.dip-nav .nav-links a {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.25s;
}

.dip-nav .nav-links a:hover,
.dip-nav .nav-links a.active {
  color: var(--accent);
}

@media (max-width: 1150px) and (min-width: 768px) {
  .dip-nav .nav-links a {
    font-size: 0.7rem;
  }
}

@media (max-width: 900px) {
  .dip-nav .nav-logo {
    font-size: 1.05rem;
    gap: 0.45rem;
  }

  .dip-nav .nav-logo img {
    width: 28px;
    height: 28px;
  }

  .dip-nav .nav-cta {
    font-size: 0.76rem;
    padding: 0.48rem 1.05rem;
  }
}

.dip-nav .nav-cta {
  background: var(--accent);
  color: var(--white);
  border: none;
  margin-left: 0.75rem;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.25s,
    transform 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.dip-nav .nav-cta:hover {
  background: #a84e20;
  transform: scale(1.03);
  color: var(--white);
}

@media (max-width: 900px) {
  .dip-nav .nav-cta {
    font-size: 0.72rem;
    padding: 0.4rem 0.9rem;
  }
}

.dip-nav .hamburger {
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .dip-nav .hamburger {
    display: none !important;
  }
}

.dip-nav .hamburger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  align-items: start;
  padding: 8rem 5% 4rem;
  gap: 4rem;
}

.hero-text {
  grid-column: 1;
  grid-row: 1;
  max-width: 560px;
  align-self: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1.4rem;
}

.hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.dip-site h1.hero-title,
#hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

#hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--mid);
  margin-bottom: 2.5rem;
  max-width: 460px;
}

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

.btn-primary.dip-btn,
a.btn-primary.dip-btn {
  background: var(--ink);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.25s,
    transform 0.2s;
  border: none;
}

.btn-primary.dip-btn:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline.dip-btn,
a.btn-outline.dip-btn {
  background: transparent;
  color: var(--ink);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  transition: all 0.25s;
}

.btn-outline.dip-btn:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  height: 580px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.hero-img-main {
  position: relative;
  width: 78%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  margin-left: auto;
  background:
    linear-gradient(135deg, #c8622a22, #2a6e5c33),
    linear-gradient(180deg, #d4c9b8 0%, #b5a898 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
}

.hero-img-main .dip-hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img-main .dip-hero-carousel .carousel-inner,
.hero-img-main .dip-hero-carousel .carousel-item {
  height: 100%;
}

.hero-img-main .hero-bg-slide {
  min-height: 100%;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.img-placeholder-label {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.hero-badge {
  position: absolute;
  bottom: 60px;
  left: 0;
  background: var(--white);
  border-radius: 20px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 3;
}

.hero-badge-num {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.hero-badge-text {
  font-size: 0.78rem;
  color: var(--mid);
  margin-top: 0.3rem;
}

.hero-float {
  position: absolute;
  top: 40px;
  right: -20px;
  background: var(--accent2);
  color: var(--white);
  border-radius: 16px;
  padding: 1rem 1.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  max-width: 160px;
  line-height: 1.4;
  box-shadow: 0 16px 40px rgba(42, 110, 92, 0.3);
  z-index: 3;
}

/* Hero inline video strip (under actions on desktop — left column) */
.hero-videos-inline {
  grid-column: 1;
  grid-row: 2;
  margin-top: 0;
  width: 100%;
  max-width: 520px;
  align-self: end;
}

.hero-videos-inline h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mid);
  margin-bottom: 1rem;
}

.hero-videos-grid-dip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.hero-video-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.5rem;
  transition:
    box-shadow 0.25s,
    transform 0.2s;
  cursor: pointer;
}

.hero-video-item:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.hero-video-thumbnail {
  position: relative;
  width: 100%;
  height: 88px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink);
}

.hero-video-thumbnail img,
.hero-video-thumb-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.hero-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}

.hero-video-item:hover .hero-play-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.hero-play-button {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  transition: transform 0.25s;
}

.hero-video-item:hover .hero-play-button {
  transform: scale(1.08);
}

.hero-video-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 0.5rem;
  text-align: center;
  line-height: 1.3;
}

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--ink);
  color: var(--white);
  padding: 3rem 5%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── SECTION SHARED ─── */
.dip-section {
  padding: 7rem 5%;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent2);
  margin-bottom: 1rem;
}

.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent2);
}

.dip-section h2,
.dip-section .dip-h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: var(--ink);
}

.dip-section h2 em {
  color: var(--accent);
  font-style: normal;
}

.section-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--mid);
  max-width: 560px;
}

/* ─── ABOUT ─── */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img {
  width: 100%;
  height: 520px;
  border-radius: 24px;
  background:
    linear-gradient(160deg, #2a6e5c22 0%, #c8622a22 100%),
    linear-gradient(180deg, #cfc4b4, #b0a090);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-accent-box {
  position: absolute;
  right: -24px;
  bottom: 60px;
  background: var(--accent);
  color: var(--white);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  box-shadow: 0 20px 50px rgba(200, 98, 42, 0.3);
  z-index: 2;
}

.about-accent-box strong {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  display: block;
  line-height: 1;
}

.about-accent-box span {
  font-size: 0.78rem;
  opacity: 0.8;
}

.about-features {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.2rem;
}

.about-feat {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.5rem;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}

.about-feat:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
  transform: translateX(4px);
}

.feat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feat-icon.orange {
  background: #c8622a1a;
}
.feat-icon.green {
  background: #2a6e5c1a;
}

.feat-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--ink);
}
.feat-desc {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.6;
}

/* ─── PROGRAMMES ─── */
#programmes {
  background: var(--ink);
  color: var(--white);
}

#programmes .section-eyebrow {
  color: var(--accent);
}
#programmes .section-eyebrow::before {
  background: var(--accent);
}
#programmes h2 {
  color: var(--white);
}
#programmes .section-desc {
  color: rgba(255, 255, 255, 0.78);
}

.programmes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.prog-card {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.3s,
    background 0.3s;
}

.prog-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
}

.prog-img {
  height: 200px;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  background-size: cover;
  background-position: center;
}

.prog-img.c1 {
  background-image:
    linear-gradient(180deg, #2a6e5c55, #2a6e5c99),
    linear-gradient(135deg, #4a8e7c, #2a5e4c);
}

.prog-img.c2 {
  background-image:
    linear-gradient(180deg, #c8622a55, #c8622a99),
    linear-gradient(135deg, #e07848, #a84e20);
}

.prog-img.c3 {
  background-image:
    linear-gradient(180deg, #5a4a9055, #5a4a9099),
    linear-gradient(135deg, #7a6ab0, #4a3a70);
}

.prog-img.has-photo {
  background-image: linear-gradient(
    180deg,
    rgba(13, 13, 13, 0.02),
    rgba(13, 13, 13, 0.28)
  );
}

.prog-tag {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prog-body {
  padding: 1.5rem;
}

.prog-title {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: var(--white);
}

.prog-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.prog-body ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.prog-body ul li {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.35rem;
  padding-left: 1.2rem;
  position: relative;
}

.prog-body ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent2);
  font-size: 0.75rem;
}

/* ─── STORIES ─── */
#stories {
  background: var(--cream);
}

.stories-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

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

.story-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.story-img {
  height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  position: relative;
  background-size: cover;
  background-position: center;
}

.story-img.s1 {
  background-image:
    linear-gradient(180deg, transparent 40%, #0d0d0d88),
    linear-gradient(135deg, #c0a888, #907058);
}

.story-img.s2 {
  background-image:
    linear-gradient(180deg, transparent 40%, #0d0d0d88),
    linear-gradient(135deg, #88a8c0, #506880);
}

.story-img.s3 {
  background-image:
    linear-gradient(180deg, transparent 40%, #0d0d0d88),
    linear-gradient(135deg, #a8c088, #607040);
}

.story-quote-icon {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  font-size: 2.5rem;
  color: var(--white);
  opacity: 0.5;
  line-height: 1;
  font-family: "Playfair Display", serif;
}

.story-name {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}
.story-role {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
}

.story-body {
  padding: 1.5rem;
}

.story-text {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--mid);
  font-style: italic;
  margin-bottom: 1rem;
}

.story-origin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.story-origin::before {
  content: "📍";
  font-style: normal;
}

/* ─── VIDEO SECTION ─── */
#video-section {
  background: var(--accent2);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

#video-section .section-eyebrow {
  color: rgba(255, 255, 255, 0.7);
}
#video-section .section-eyebrow::before {
  background: rgba(255, 255, 255, 0.7);
}
#video-section h2 {
  color: var(--white);
}
#video-section .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  cursor: pointer;
}

.video-placeholder .video-thumb-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder.has-thumb .video-thumb-bg {
  background-size: cover;
  background-position: center;
}

.play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition:
    transform 0.25s,
    background 0.25s;
}

.play-btn:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.25);
}

.play-btn svg {
  width: 28px;
  height: 28px;
  fill: white;
  margin-left: 4px;
}

.video-label {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  z-index: 2;
}

/* ─── PARTNERS ─── */
#partners {
  padding: 5rem 5%;
  text-align: center;
  background: var(--cream);
}

#partners .partners-intro {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mid);
  margin-bottom: 2.5rem;
}

.partners-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.partner-logo {
  height: 48px;
  border-radius: 8px;
  background: var(--white);
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mid);
  min-width: 110px;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  opacity: 0.85;
  transition: opacity 0.25s;
  text-decoration: none;
}

.partner-logo:hover {
  opacity: 1;
}

.partner-logo img {
  max-height: 36px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
}

/* ─── GET INVOLVED ─── */
#get-involved {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 8rem 5%;
}

#get-involved .section-eyebrow--center,
.section-eyebrow.section-eyebrow--center {
  justify-content: center;
  width: 100%;
  color: var(--accent);
}

#get-involved .section-eyebrow--center::before,
.section-eyebrow.section-eyebrow--center::before {
  background: var(--accent);
}

.dip-star-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

@media (max-width: 992px) {
  .dip-star-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .dip-star-grid {
    grid-template-columns: 1fr;
  }
}

#get-involved h2 {
  color: var(--white);
  margin: 0 auto 1.2rem;
  max-width: 600px;
}

#get-involved .section-desc {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 auto 3rem;
  text-align: center;
  max-width: 520px;
}

.involved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 3.5rem;
}

.involved-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition:
    background 0.25s,
    transform 0.25s;
}

.involved-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-4px);
}

.involved-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

.involved-title {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
  color: var(--white);
}

.involved-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}

.cta-row {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-light,
a.btn-light {
  background: var(--white);
  color: var(--ink);
  padding: 0.9rem 2.2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.25s,
    transform 0.2s;
  border: none;
  display: inline-block;
}

.btn-light:hover {
  background: var(--cream);
  transform: translateY(-2px);
  color: var(--ink);
}

.btn-ghost,
a.btn-ghost {
  background: transparent;
  color: var(--white);
  padding: 0.9rem 2.2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition:
    border-color 0.25s,
    transform 0.2s;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: var(--white);
  transform: translateY(-2px);
  color: var(--white);
}

/* ─── AWARDS (homepage extra) ─── */
#awards.dip-section {
  background: var(--cream);
}

#awards.awards-with-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 3.5rem;
  align-items: center;
}

.awards-visual {
  position: relative;
}

.awards-side-img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  display: block;
}

.awards-copy .section-desc {
  max-width: none;
}

.awards-grid-dip {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  max-width: none;
}

.award-row-dip {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition:
    box-shadow 0.25s,
    transform 0.2s;
}

.award-row-dip:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transform: translateX(4px);
}

.award-row-dip .bi {
  font-size: 1.5rem;
  color: var(--accent);
}

/* ─── GALLERY STRIP ─── */
#snapshots,
#gallery {
  background: var(--white);
}

.snapshots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.snapshot-item {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.snapshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.snapshot-item:hover img {
  transform: scale(1.05);
}

.snapshots-actions {
  margin-top: 2.5rem;
  text-align: center;
}

/* ─── FOOTER ─── */
footer.dip-footer {
  background: #080808;
  color: rgba(255, 255, 255, 0.4);
  padding: 5rem 5% 2.5rem;
}

.dip-footer .footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.dip-footer .footer-brand .nav-logo {
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  color: var(--white);
}

.dip-footer .footer-brand .nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.dip-footer .footer-brand p {
  font-size: 0.85rem;
  line-height: 1.75;
  max-width: 280px;
}

.dip-footer .footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.dip-footer .footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
}

.dip-footer .footer-col ul a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.dip-footer .footer-col ul a:hover {
  color: var(--white);
}

.dip-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
}

.dip-footer .footer-socials {
  display: flex;
  gap: 1rem;
}

.dip-footer .social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  transition:
    background 0.25s,
    color 0.25s;
}

.dip-footer .social-icon:hover {
  background: var(--accent);
  color: var(--white);
}

/* ─── DONATE MODAL ─── */
.donate-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10002;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.donate-modal.active {
  display: flex;
}

.donate-modal-content {
  position: relative;
  width: min(680px, 100%);
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.donate-modal-content h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.donate-subtext {
  color: var(--mid);
  margin-bottom: 1.25rem;
}

.donate-method {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.85rem;
}

.donate-method h4 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.donate-method p {
  margin-bottom: 0.35rem;
  color: #303030;
  font-size: 0.92rem;
}

.donate-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f3f3f3;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.donate-close:hover {
  background: #e8e8e8;
}

/* ─── VIDEO MODAL (existing behaviour) ─── */
.video-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.video-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.16);
}

.video-modal video,
.video-modal iframe {
  width: 100%;
  height: 450px;
  border: none;
}

.video-modal-header {
  padding: 1rem 1.5rem;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.video-modal-title {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.25s;
  z-index: 10001;
  color: var(--ink);
}

.close-modal:hover {
  transform: scale(1.08);
}

/* Scroll to top — match redesign */
.dip-site a.scroll-top {
  background: var(--accent);
  color: var(--white);
}

.dip-site a.scroll-top:hover {
  background: #a84e20;
  color: var(--white);
}

/* Inner pages: gradient hero (Video Stories, Team, …) */
.video-hero {
  background: var(--primary-gradient);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.video-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.video-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.video-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.breadcrumb-modern a {
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.breadcrumb-modern a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Inner pages: soften legacy breadcrumbs from main.css */
body.dip-inner-page .breadcrumbs {
  margin-top: 0;
}

/* ─── MOBILE ─── */
@media (max-width: 1024px) {
  .programmes-grid {
    grid-template-columns: 1fr 1fr;
  }
  #video-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .dip-footer .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .snapshots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #awards.awards-with-visual {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .awards-side-img {
    max-height: 420px;
  }
}

@media (max-width: 767.98px) {
  #hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 6rem 5% 4rem;
    gap: 3rem;
    min-height: unset;
  }
  .hero-text {
    grid-column: 1;
    grid-row: 1;
    align-self: stretch;
  }
  /* Hero ends after CTAs: no slideshow, badge strip, or inline videos on phones */
  .hero-visual {
    display: none !important;
  }
  .hero-videos-inline {
    display: none !important;
  }
  #about {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-accent-box {
    right: 0;
  }
  .programmes-grid {
    grid-template-columns: 1fr;
  }
  .stories-grid {
    grid-template-columns: 1fr;
  }
  .involved-grid {
    grid-template-columns: 1fr;
  }
  .dip-nav .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--cream);
    padding: 1.5rem 5%;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  }
  .dip-nav .nav-links.is-open {
    display: flex;
  }
  .dip-nav .hamburger {
    display: flex !important;
  }
  .dip-footer .footer-top {
    grid-template-columns: 1fr;
  }
  .stories-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .video-modal video,
  .video-modal iframe {
    height: 300px;
  }
  .video-modal-content {
    width: 95%;
    margin: 1rem;
  }
}
