/* ==========================================================================
   PROGRAMME PAGES — premium layouts for the "Our Work" sub pages
   Education, Healthcare, Disability, Disaster Management, Livelihood,
   Miscellaneous Causes and Environment each have their own visual theme.
   All colours come from the design tokens in style.css or the theme
   variables defined below.
   ========================================================================== */

/* ---------- Theme variables ---------- */
.pg {
  --pg-deep: var(--navy-deep);
  --pg-ink: var(--navy);
  --pg-accent: var(--gold);
  --pg-accent-2: var(--forest);
  --pg-soft: var(--gold-soft);
  --pg-paper: var(--surface);
  --pg-line: var(--border);
  --pg-radius: 1.75rem;
  overflow-x: clip;
}
.pg--education {
  --pg-paper: oklch(97.6% 0.016 85);
  --pg-soft: oklch(94.5% 0.04 85);
}
.pg--healthcare {
  --pg-deep: oklch(24% 0.05 190);
  --pg-ink: oklch(27% 0.05 200);
  --pg-accent: oklch(62% 0.11 172);
  --pg-accent-2: var(--gold);
  --pg-soft: oklch(95.6% 0.028 172);
  --pg-paper: oklch(98.4% 0.008 172);
}
.pg--disability {
  --pg-deep: oklch(21% 0.055 268);
  --pg-ink: oklch(25% 0.06 268);
  --pg-accent: var(--gold);
  --pg-accent-2: oklch(67% 0.13 28);
  --pg-soft: oklch(96% 0.02 60);
  --pg-paper: oklch(98% 0.01 70);
}
.pg--disaster {
  --pg-deep: oklch(17.5% 0.025 250);
  --pg-ink: oklch(22% 0.03 250);
  --pg-accent: oklch(74% 0.15 62);
  --pg-accent-2: var(--forest);
  --pg-soft: oklch(96% 0.03 70);
  --pg-paper: oklch(97.6% 0.006 250);
}
.pg--livelihood {
  --pg-deep: oklch(25% 0.05 155);
  --pg-ink: oklch(27% 0.05 155);
  --pg-accent: var(--gold);
  --pg-accent-2: oklch(60% 0.12 45);
  --pg-soft: oklch(95.5% 0.03 80);
  --pg-paper: oklch(97.4% 0.018 82);
}
.pg--misc {
  --pg-deep: var(--navy-deep);
  --pg-ink: var(--navy);
  --pg-accent: var(--gold);
  --pg-accent-2: oklch(64% 0.13 30);
  --pg-accent-3: var(--forest);
  --pg-soft: oklch(96% 0.018 250);
  --pg-paper: oklch(98% 0.006 250);
}
.pg--environment {
  --pg-deep: oklch(22% 0.055 152);
  --pg-ink: oklch(26% 0.06 152);
  --pg-accent: oklch(78% 0.15 128);
  --pg-accent-2: var(--gold);
  --pg-soft: oklch(95.5% 0.035 135);
  --pg-paper: oklch(97.8% 0.015 120);
}

/* ---------- Shared building blocks ---------- */
.pg-section { padding-block: clamp(4.5rem, 9vw, 7.5rem); position: relative; }
.pg-section--paper { background: var(--pg-paper); }
.pg-section--soft { background: var(--pg-soft); }
.pg-section--deep { background: var(--pg-deep); color: var(--on-dark-muted); }

.pg-kicker {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--pg-accent-2);
}
.pg-kicker::before { content: ""; width: 2rem; height: 1px; background: currentColor; }
.pg-section--deep .pg-kicker, .pg-on-dark .pg-kicker { color: var(--pg-accent); }

.pg-h1 {
  font-family: var(--font-display); font-weight: 500; color: var(--on-dark);
  font-size: clamp(2.75rem, 7vw, 5.75rem); line-height: 0.98; letter-spacing: -0.025em;
}
.pg-h1 em { font-style: italic; font-weight: 400; color: var(--pg-accent); }
.pg-h2 {
  font-family: var(--font-display); font-weight: 500; color: var(--pg-ink);
  font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.06; letter-spacing: -0.02em;
  margin-top: 1rem;
}
.pg-h2 em { font-style: italic; font-weight: 400; color: var(--pg-accent); }
.pg--healthcare .pg-h2 em, .pg--environment .pg-section:not(.pg-section--deep) .pg-h2 em { color: var(--pg-accent-2); }
.pg-section--deep .pg-h2 { color: var(--on-dark); }
.pg-h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; line-height: 1.2; color: var(--pg-ink); }
.pg-section--deep .pg-h3 { color: var(--on-dark); }
.pg-lead { font-size: 1.125rem; line-height: 1.75; color: var(--muted-foreground); }
.pg-section--deep .pg-lead { color: var(--on-dark-muted); }
.pg-muted { color: var(--muted-foreground); }

.pg-hero-lead { margin-top: 1.5rem; max-width: 36rem; font-size: 1.125rem; line-height: 1.75; color: var(--on-dark-muted); }
.pg-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.pg-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pg-icon svg { width: 1.5rem; height: 1.5rem; }

.pg-btn-line {
  display: inline-flex; align-items: center; gap: 0.5rem; height: 3rem; padding-inline: 1.75rem;
  border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid color-mix(in oklab, var(--on-dark) 35%, transparent);
  color: var(--on-dark); transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.pg-btn-line:hover { background: var(--on-dark); color: var(--pg-deep); }
.pg-btn-line svg { width: 1rem; height: 1rem; }

.pg-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pg-chip {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem;
  border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  background: var(--background); color: var(--pg-ink);
  border: 1px solid var(--pg-line);
}
.pg-chip svg { width: 1rem; height: 1rem; color: var(--pg-accent-2); }

.pg-frame { position: relative; overflow: hidden; }
.pg-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.pg-frame:hover img { transform: scale(1.05); }

/* Placeholder for photographs still to be supplied */
.pg-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.85rem;
  min-height: 15rem; padding: 2rem; text-align: center; border-radius: var(--pg-radius);
  background:
    radial-gradient(circle at 30% 20%, color-mix(in oklab, var(--pg-accent) 18%, transparent), transparent 55%),
    repeating-linear-gradient(135deg, color-mix(in oklab, var(--pg-ink) 4%, transparent) 0 1px, transparent 1px 14px),
    var(--pg-paper);
  border: 1px solid var(--pg-line);
  color: var(--muted-foreground);
}
.pg-placeholder .pg-icon { width: 3.25rem; height: 3.25rem; border-radius: 999px; background: var(--background); color: var(--pg-accent-2); box-shadow: var(--shadow-soft-v); }
.pg-placeholder .pg-icon svg { width: 1.3rem; height: 1.3rem; }
.pg-placeholder p { max-width: 15rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.pg-section--deep .pg-placeholder {
  background:
    radial-gradient(circle at 30% 20%, color-mix(in oklab, var(--pg-accent) 22%, transparent), transparent 55%),
    repeating-linear-gradient(135deg, color-mix(in oklab, var(--on-dark) 5%, transparent) 0 1px, transparent 1px 14px),
    color-mix(in oklab, var(--on-dark) 4%, transparent);
  border-color: color-mix(in oklab, var(--on-dark) 12%, transparent);
  color: var(--on-dark-muted);
}
.pg-section--deep .pg-placeholder .pg-icon { background: color-mix(in oklab, var(--on-dark) 10%, transparent); color: var(--pg-accent); box-shadow: none; }

/* "Coming soon" information notes */
.pg-notes { display: grid; gap: 1.25rem; margin-top: 3.5rem; }
@media (width >= 48rem) { .pg-notes { grid-template-columns: 1fr 1fr; } }
.pg-note {
  display: flex; gap: 1.1rem; padding: 1.6rem 1.75rem; border-radius: 1.25rem;
  background: var(--background); border: 1px solid var(--pg-line);
  box-shadow: var(--shadow-soft-v);
}
.pg-note .pg-icon { width: 2.6rem; height: 2.6rem; border-radius: 0.9rem; background: var(--pg-soft); color: var(--pg-accent-2); }
.pg-note .pg-icon svg { width: 1.15rem; height: 1.15rem; }
.pg-note h3 { font-family: var(--font-sans); font-weight: 700; font-size: 0.98rem; color: var(--pg-ink); letter-spacing: 0; }
.pg-note p { margin-top: 0.35rem; font-size: 0.9rem; line-height: 1.65; color: var(--muted-foreground); }
.pg-section--deep .pg-note { background: color-mix(in oklab, var(--on-dark) 5%, transparent); border-color: color-mix(in oklab, var(--on-dark) 12%, transparent); box-shadow: none; }
.pg-section--deep .pg-note h3 { color: var(--on-dark); }
.pg-section--deep .pg-note p { color: var(--on-dark-muted); }
.pg-section--deep .pg-note .pg-icon { background: color-mix(in oklab, var(--pg-accent) 16%, transparent); color: var(--pg-accent); }

/* Related programmes */
.pg-related { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (width >= 48rem) { .pg-related { grid-template-columns: repeat(var(--pg-related-cols, 2), 1fr); } }
.pg-related a {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.6rem;
  min-height: 15rem; padding: 2rem; border-radius: var(--pg-radius); overflow: hidden; isolation: isolate;
  background: var(--pg-deep); color: var(--on-dark-muted);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.5s;
}
.pg-related a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift-v); }
.pg-related img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transition: transform 1.2s, opacity 0.6s; }
.pg-related a:hover img { transform: scale(1.06); opacity: 0.62; }
.pg-related a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 10%, color-mix(in oklab, var(--pg-deep) 92%, transparent) 95%); }
.pg-related .pg-icon { width: 2.75rem; height: 2.75rem; border-radius: 0.9rem; background: var(--pg-accent); color: var(--pg-deep); margin-bottom: auto; }
.pg-related .pg-icon svg { width: 1.25rem; height: 1.25rem; }
.pg-related h3 { font-family: var(--font-display); font-size: 1.65rem; font-weight: 500; color: var(--on-dark); }
.pg-related p { font-size: 0.92rem; line-height: 1.6; max-width: 30rem; }
.pg-related .pg-more { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.9rem; color: var(--pg-accent); }
.pg-related .pg-more svg { width: 1rem; height: 1rem; transition: transform 0.3s; }
.pg-related a:hover .pg-more svg { transform: translateX(4px); }

/* Closing call to action */
.pg-cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 2rem;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 6vw, 4.5rem);
  background: var(--pg-deep); color: var(--on-dark-muted);
  display: grid; gap: 2.5rem; align-items: center;
}
@media (width >= 48rem) { .pg-cta { grid-template-columns: 1.4fr 1fr; } }
.pg-cta::before, .pg-cta::after { content: ""; position: absolute; z-index: -1; border-radius: 999px; filter: blur(70px); }
.pg-cta::before { width: 22rem; height: 22rem; top: -8rem; right: -6rem; background: color-mix(in oklab, var(--pg-accent) 30%, transparent); }
.pg-cta::after { width: 20rem; height: 20rem; bottom: -9rem; left: -5rem; background: color-mix(in oklab, var(--pg-accent-2) 32%, transparent); }
.pg-cta h2 { font-family: var(--font-display); font-weight: 500; color: var(--on-dark); font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.08; margin-top: 1rem; }
.pg-cta h2 em { font-style: italic; font-weight: 400; color: var(--pg-accent); }
.pg-cta p { margin-top: 1.25rem; max-width: 34rem; }
.pg-cta-actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (width >= 48rem) { .pg-cta-actions { align-items: flex-end; } }

/* Hero shared */
.pg-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--pg-deep); color: var(--on-dark-muted); }
.pg-hero .container-site { position: relative; padding-top: 9rem; padding-bottom: 5rem; }
@media (width >= 48rem) { .pg-hero .container-site { padding-top: 11rem; padding-bottom: 7rem; } }
.pg-hero .pg-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pg-accent); margin-bottom: 1.25rem; }

/* ==========================================================================
   1. EDUCATION — "The Notebook": arched portrait, ruled paper, lesson path,
      polaroid gallery
   ========================================================================== */
.pg--education .pg-hero {
  background:
    linear-gradient(color-mix(in oklab, var(--on-dark) 4%, transparent) 1px, transparent 1px) 0 0 / 100% 2.25rem,
    linear-gradient(90deg, color-mix(in oklab, var(--on-dark) 4%, transparent) 1px, transparent 1px) 0 0 / 2.25rem 100%,
    var(--pg-deep);
}
.edu-hero-grid { display: grid; gap: 3.5rem; align-items: center; }
@media (width >= 64rem) { .edu-hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; } }
.edu-arch { position: relative; max-width: 28rem; margin-inline: auto; width: 100%; }
.edu-arch .pg-frame { aspect-ratio: 4 / 5; border-radius: 999px 999px 1.75rem 1.75rem; box-shadow: var(--shadow-lift-v); }
.edu-arch::before {
  content: ""; position: absolute; inset: -1rem 1rem 1rem -1rem; z-index: -1;
  border: 1px solid var(--pg-accent); border-radius: 999px 999px 1.75rem 1.75rem;
}
.edu-badge {
  position: absolute; left: -1.25rem; bottom: 2rem; width: min(17rem, 80%);
  padding: 1.1rem 1.25rem; border-radius: 1.25rem; background: var(--background); color: var(--navy);
  box-shadow: var(--shadow-lift-v);
}
.edu-badge p { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--forest); }
.edu-badge ul { margin-top: 0.6rem; display: grid; gap: 0.45rem; font-size: 0.86rem; font-weight: 600; }
.edu-badge li { display: flex; align-items: center; gap: 0.55rem; }
.edu-badge li span { width: 0.45rem; height: 0.45rem; border-radius: 99px; background: var(--gold); }
.edu-hero-grid .pg-h1 { font-size: clamp(3rem, 8vw, 6.5rem); }

.edu-intro { display: grid; gap: 3.5rem; }
@media (width >= 64rem) { .edu-intro { grid-template-columns: 1.25fr 1fr; gap: 5rem; align-items: start; } }
.edu-statement { margin-top: 2rem; font-family: var(--font-display); font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.4; color: var(--pg-ink); }
.edu-statement::first-letter {
  float: left; font-size: 4.6em; line-height: 0.82; padding: 0.06em 0.12em 0 0; color: var(--gold); font-weight: 500;
}
.edu-ruled {
  position: relative; padding: 2.25rem 2rem 2.25rem 3.25rem; border-radius: 0.5rem 1.5rem 1.5rem 0.5rem;
  background:
    linear-gradient(90deg, transparent 2.1rem, color-mix(in oklab, var(--gold) 70%, transparent) 2.1rem 2.2rem, transparent 2.2rem),
    repeating-linear-gradient(transparent 0 2.45rem, color-mix(in oklab, var(--navy) 10%, transparent) 2.45rem 2.5rem),
    var(--background);
  box-shadow: var(--shadow-lift-v);
  transform: rotate(-1deg);
}
.edu-ruled h3 { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--forest); line-height: 2.5rem; }
.edu-ruled li { display: flex; gap: 0.85rem; line-height: 2.5rem; font-size: 0.98rem; color: var(--pg-ink); }
.edu-ruled li b { font-family: var(--font-display); font-weight: 500; color: var(--gold); }
.edu-ruled li span { line-height: 1.6; padding-block: 0.45rem; }
.edu-pin { position: absolute; top: -0.7rem; left: 50%; width: 1.4rem; height: 1.4rem; border-radius: 99px; background: var(--gold-gradient, var(--gold)); background-image: var(--gradient-gold); box-shadow: var(--shadow-gold-v); }

.edu-path { position: relative; display: grid; gap: 2.5rem; margin-top: 4rem; }
@media (width >= 48rem) {
  .edu-path { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .edu-path::before {
    content: ""; position: absolute; top: 2.25rem; left: 12%; right: 12%; height: 0;
    border-top: 2px dashed color-mix(in oklab, var(--gold) 70%, transparent);
  }
}
.edu-step { position: relative; text-align: center; padding: 0 0.75rem; }
.edu-step .pg-icon {
  position: relative; width: 4.5rem; height: 4.5rem; border-radius: 999px; margin-inline: auto;
  background: var(--navy); color: var(--gold); box-shadow: 0 0 0 8px var(--pg-paper), var(--shadow-soft-v);
}
.edu-step small { display: block; margin-top: 1.5rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--forest); }
.edu-step h3 { margin-top: 0.5rem; }
.edu-step p { margin: 0.75rem auto 0; max-width: 18rem; font-size: 0.95rem; line-height: 1.65; color: var(--muted-foreground); }
.edu-tags { justify-content: center; margin-top: 3.5rem; }

.edu-polaroids { display: grid; gap: 1.75rem; margin-top: 3.5rem; grid-template-columns: repeat(2, 1fr); }
@media (width >= 64rem) { .edu-polaroids { grid-template-columns: repeat(6, 1fr); } }
.edu-polaroid { background: var(--background); padding: 0.75rem 0.75rem 1rem; border-radius: 0.4rem; box-shadow: var(--shadow-lift-v); transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.edu-polaroid .pg-frame { aspect-ratio: 4 / 3; border-radius: 0.2rem; }
.edu-polaroid figcaption { margin-top: 0.85rem; text-align: center; font-family: var(--font-display); font-style: italic; color: var(--navy); font-size: 1rem; }
.edu-polaroid:hover { transform: rotate(0deg) translateY(-6px) !important; }
.edu-polaroids > :nth-child(1) { grid-column: span 2; }
.edu-polaroids > :nth-child(1) .edu-polaroid { transform: rotate(-1.5deg); }
.edu-polaroids > :nth-child(2) .edu-polaroid { transform: rotate(2deg); }
.edu-polaroids > :nth-child(3) .edu-polaroid { transform: rotate(-2deg); }
.edu-polaroids > :nth-child(4) .edu-polaroid { transform: rotate(1.5deg); }
.edu-polaroids > :nth-child(5) .edu-polaroid { transform: rotate(-1deg); }
@media (width >= 64rem) {
  .edu-polaroids > :nth-child(1) { grid-column: 1 / span 3; grid-row: span 2; }
  .edu-polaroids > :nth-child(1) .pg-frame { aspect-ratio: 4 / 3.6; }
  .edu-polaroids > :nth-child(2), .edu-polaroids > :nth-child(3) { grid-column: span 3; }
  .edu-polaroids > :nth-child(2) .pg-frame, .edu-polaroids > :nth-child(3) .pg-frame { aspect-ratio: 16 / 7; }
  .edu-polaroids > :nth-child(4), .edu-polaroids > :nth-child(5) { grid-column: span 3; }
  .edu-polaroids > :nth-child(4) .pg-frame, .edu-polaroids > :nth-child(5) .pg-frame { aspect-ratio: 16 / 7; }
}
@media (width < 64rem) {
  .edu-polaroids > :nth-child(5) { grid-column: span 2; }
}

/* ==========================================================================
   2. HEALTHCARE — "Care Pathway": cinematic image, heartbeat line, glass
      card, vertical care pathway
   ========================================================================== */
.hc-hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.pg--healthcare .pg-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, color-mix(in oklab, var(--pg-deep) 96%, transparent) 0%, color-mix(in oklab, var(--pg-deep) 78%, transparent) 50%, color-mix(in oklab, var(--pg-deep) 25%, transparent) 100%);
}
.hc-hero-grid { display: grid; gap: 3rem; align-items: end; }
@media (width >= 64rem) { .hc-hero-grid { grid-template-columns: 1.3fr 0.8fr; } }
.hc-glass {
  padding: 1.75rem; border-radius: 1.5rem;
  background: color-mix(in oklab, var(--on-dark) 10%, transparent);
  border: 1px solid color-mix(in oklab, var(--on-dark) 20%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.hc-glass > p { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.hc-glass ul { margin-top: 1.1rem; display: grid; gap: 0.9rem; }
.hc-glass li { display: flex; align-items: center; gap: 0.85rem; color: var(--on-dark); font-weight: 600; }
.hc-glass .pg-icon { width: 2.4rem; height: 2.4rem; border-radius: 0.8rem; background: var(--pg-accent); color: var(--pg-deep); }
.hc-glass .pg-icon svg { width: 1.1rem; height: 1.1rem; }
.hc-pulse { position: absolute; left: 0; right: 0; bottom: 1.5rem; height: 60px; color: var(--pg-accent); opacity: 0.55; pointer-events: none; }
.hc-pulse path { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: hc-draw 4.5s ease-out 0.4s forwards; }
@keyframes hc-draw { to { stroke-dashoffset: 0; } }

.hc-centre { max-width: 52rem; margin-inline: auto; text-align: center; }
.hc-centre .pg-kicker { justify-content: center; }
.hc-heart { width: 4.5rem; height: 4.5rem; margin: 0 auto 2rem; border-radius: 999px; background: var(--pg-soft); color: var(--pg-accent); box-shadow: 0 0 0 10px color-mix(in oklab, var(--pg-soft) 50%, transparent); }
.hc-heart svg { width: 1.9rem; height: 1.9rem; }
.hc-quote { margin-top: 1.75rem; font-family: var(--font-display); font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.3; color: var(--pg-ink); }
.hc-quote + p { margin: 1.5rem auto 0; max-width: 40rem; }
.hc-challenges { display: grid; gap: 1.25rem; margin-top: 4rem; }
@media (width >= 48rem) { .hc-challenges { grid-template-columns: repeat(3, 1fr); } }
.hc-challenge { padding: 2rem; border-radius: 1.5rem; background: var(--pg-paper); border: 1px solid var(--pg-line); text-align: left; transition: border-color 0.3s, transform 0.4s; }
.hc-challenge:hover { border-color: var(--pg-accent); transform: translateY(-3px); }
.hc-challenge .pg-icon { width: 3rem; height: 3rem; border-radius: 1rem; background: var(--background); color: var(--pg-accent); box-shadow: var(--shadow-soft-v); }
.hc-challenge small { display: block; margin-top: 1.5rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--pg-accent); }
.hc-challenge p { margin-top: 0.5rem; color: var(--pg-ink); font-weight: 500; line-height: 1.6; }

.hc-pathway { display: grid; gap: 3rem; }
@media (width >= 64rem) { .hc-pathway { grid-template-columns: 0.9fr 1.1fr; gap: 5rem; } .hc-sticky { position: sticky; top: 8rem; align-self: start; } }
.hc-steps { position: relative; display: grid; gap: 1.25rem; }
.hc-steps::before { content: ""; position: absolute; left: 2.25rem; top: 2rem; bottom: 2rem; width: 2px; background: linear-gradient(var(--pg-accent), color-mix(in oklab, var(--pg-accent) 10%, transparent)); }
.hc-step { position: relative; display: flex; gap: 1.5rem; padding: 1.75rem; border-radius: 1.5rem; background: var(--background); box-shadow: var(--shadow-soft-v); }
.hc-step .pg-icon { width: 3rem; height: 3rem; border-radius: 999px; background: var(--pg-accent); color: var(--background); box-shadow: 0 0 0 6px var(--pg-soft); }
.hc-step .pg-icon svg { width: 1.25rem; height: 1.25rem; }
.hc-step small { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--pg-accent); }
.hc-step h3 { margin-top: 0.3rem; }
.hc-step p { margin-top: 0.5rem; font-size: 0.95rem; line-height: 1.65; color: var(--muted-foreground); }
.hc-chips { margin-top: 2rem; }
.hc-chips .pg-chip svg { color: var(--pg-accent); }

.hc-gallery { display: grid; gap: 1.25rem; margin-top: 3.5rem; }
@media (width >= 48rem) { .hc-gallery { grid-template-columns: 1.35fr 1fr; grid-template-rows: 16rem 16rem; } .hc-gallery > :first-child { grid-row: span 2; } }
.hc-gallery figure { border-radius: 1.75rem; min-height: 15rem; }
.hc-gallery figcaption {
  position: absolute; left: 1rem; bottom: 1rem; padding: 0.5rem 1rem; border-radius: 999px;
  background: color-mix(in oklab, var(--background) 88%, transparent); backdrop-filter: blur(8px);
  font-size: 0.82rem; font-weight: 600; color: var(--pg-ink);
}

/* ==========================================================================
   3. DISABILITY — "Belonging": typographic hero with overlapping circles,
      word marquee, pillars
   ========================================================================== */
.ds-hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (width >= 64rem) { .ds-hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.ds-values { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.75rem; }
.ds-values span { padding: 0.45rem 1rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid color-mix(in oklab, var(--on-dark) 22%, transparent); color: var(--on-dark); }
.ds-values span:nth-child(1) { border-color: var(--pg-accent); color: var(--pg-accent); }
.ds-values span:nth-child(3) { border-color: var(--pg-accent-2); color: var(--pg-accent-2); }
.ds-rings { position: relative; width: min(26rem, 100%); aspect-ratio: 1; margin-inline: auto; }
.ds-rings span { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 999px; mix-blend-mode: screen; animation: ds-float 9s ease-in-out infinite; }
.ds-rings span:nth-child(1) { top: 0; left: 21%; background: color-mix(in oklab, var(--pg-accent) 55%, transparent); }
.ds-rings span:nth-child(2) { bottom: 4%; left: 0; background: color-mix(in oklab, var(--pg-accent-2) 55%, transparent); animation-delay: -3s; }
.ds-rings span:nth-child(3) { bottom: 4%; right: 0; background: color-mix(in oklab, var(--forest) 60%, transparent); animation-delay: -6s; }
.ds-rings i { position: absolute; inset: 28% 28%; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--pg-deep); color: var(--on-dark); box-shadow: 0 0 0 1px color-mix(in oklab, var(--on-dark) 25%, transparent); z-index: 2; }
.ds-rings i svg { width: 42%; height: 42%; }
@keyframes ds-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(0, -10px); } }

.ds-marquee { overflow: hidden; background: var(--pg-accent); color: var(--pg-deep); padding-block: 1.1rem; }
.ds-marquee-track { display: flex; width: max-content; gap: 3rem; animation: ds-scroll 28s linear infinite; }
.ds-marquee-track span { display: inline-flex; align-items: center; gap: 3rem; font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); font-style: italic; white-space: nowrap; }
.ds-marquee-track span::after { content: "✦"; font-style: normal; font-size: 0.8em; }
@keyframes ds-scroll { to { transform: translateX(-50%); } }

.ds-intro { display: grid; gap: 3rem; }
@media (width >= 64rem) { .ds-intro { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: end; } }
.ds-big { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.3; color: var(--pg-ink); }
.ds-big::before { content: "“"; display: block; font-size: 4rem; line-height: 0.6; color: var(--pg-accent-2); margin-bottom: 0.5rem; }

.ds-barriers { display: grid; gap: 0; margin-top: 3.5rem; border-top: 1px solid color-mix(in oklab, var(--on-dark) 14%, transparent); }
@media (width >= 48rem) { .ds-barriers { grid-template-columns: repeat(3, 1fr); } }
.ds-barrier { padding: 2.25rem 2rem 0.5rem 0; }
@media (width >= 48rem) { .ds-barrier + .ds-barrier { padding-left: 2rem; border-left: 1px solid color-mix(in oklab, var(--on-dark) 14%, transparent); } }
.ds-barrier b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 3.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--pg-accent); }
.ds-barrier p { margin-top: 1.25rem; font-size: 1.05rem; line-height: 1.65; color: var(--on-dark); }

.ds-pillars { display: grid; gap: 1.25rem; margin-top: 3.5rem; }
@media (width >= 48rem) { .ds-pillars { grid-template-columns: repeat(3, 1fr); } }
.ds-pillar { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 22rem; padding: 2.25rem; border-radius: 2rem; background: var(--background); border: 1px solid var(--pg-line); transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.5s; }
.ds-pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift-v); }
.ds-pillar::before { content: ""; position: absolute; right: -4rem; top: -4rem; width: 11rem; height: 11rem; border-radius: 999px; background: var(--ds-c); opacity: 0.16; transition: transform 0.6s; }
.ds-pillar:hover::before { transform: scale(1.25); }
.ds-pillars > :nth-child(1) .ds-pillar { --ds-c: var(--pg-accent); }
.ds-pillars > :nth-child(2) .ds-pillar { --ds-c: var(--pg-accent-2); }
.ds-pillars > :nth-child(3) .ds-pillar { --ds-c: var(--forest); }
.ds-pillar .pg-icon { width: 3.5rem; height: 3.5rem; border-radius: 1.1rem; background: var(--ds-c); color: var(--background); }
.ds-pillar small { margin-top: auto; padding-top: 3rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); }
.ds-pillar h3 { margin-top: 0.5rem; font-size: 1.6rem; }
.ds-pillar p { margin-top: 0.75rem; font-size: 0.95rem; line-height: 1.65; color: var(--muted-foreground); }
.ds-photos { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (width >= 48rem) { .ds-photos { grid-template-columns: 1.4fr 1fr 1fr; } .ds-photos .pg-placeholder { min-height: 18rem; } }

/* ==========================================================================
   4. DISASTER MANAGEMENT — "Response Plan": contour map, phase bar,
      alert cards
   ========================================================================== */
.dm-contours { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; color: color-mix(in oklab, var(--on-dark) 9%, transparent); }
.pg--disaster .pg-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 80% 30%, color-mix(in oklab, var(--pg-accent) 18%, transparent), transparent 45%); }
.dm-status { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.45rem 1rem 0.45rem 0.75rem; border-radius: 999px; margin-bottom: 1.5rem; background: color-mix(in oklab, var(--pg-accent) 14%, transparent); color: var(--pg-accent); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.dm-status i { width: 0.55rem; height: 0.55rem; border-radius: 99px; background: var(--pg-accent); box-shadow: 0 0 0 0 var(--pg-accent); animation: dm-ping 2s infinite; }
@keyframes dm-ping { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--pg-accent) 60%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
.dm-phases { display: grid; margin-top: 4.5rem; border-radius: 1.5rem; overflow: hidden; border: 1px solid color-mix(in oklab, var(--on-dark) 14%, transparent); background: color-mix(in oklab, var(--on-dark) 4%, transparent); backdrop-filter: blur(6px); }
@media (width >= 48rem) { .dm-phases { grid-template-columns: repeat(3, 1fr); } }
.dm-phase { position: relative; padding: 1.5rem 1.75rem; display: flex; align-items: center; gap: 1rem; }
.dm-phase + .dm-phase { border-top: 1px solid color-mix(in oklab, var(--on-dark) 14%, transparent); }
@media (width >= 48rem) { .dm-phase + .dm-phase { border-top: 0; border-left: 1px solid color-mix(in oklab, var(--on-dark) 14%, transparent); } }
.dm-phase b { font-family: var(--font-display); font-weight: 400; font-size: 2.25rem; color: var(--pg-accent); line-height: 1; }
.dm-phase span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted); }
.dm-phase strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; color: var(--on-dark); letter-spacing: 0; text-transform: none; }
.dm-phase::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--pg-accent); animation: dm-fill 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.dm-phase:nth-child(1)::after { animation-delay: 0.4s; }
.dm-phase:nth-child(2)::after { animation-delay: 1s; }
.dm-phase:nth-child(3)::after { animation-delay: 1.6s; }
@keyframes dm-fill { to { width: 100%; } }

.dm-intro { display: grid; gap: 3rem; }
@media (width >= 64rem) { .dm-intro { grid-template-columns: 1.1fr 0.9fr; gap: 5rem; } }
.dm-headline { margin-top: 1.5rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.15; color: var(--pg-ink); letter-spacing: -0.02em; }
.dm-headline mark { background: linear-gradient(transparent 62%, color-mix(in oklab, var(--pg-accent) 45%, transparent) 62%); color: inherit; }
.dm-alerts { display: grid; gap: 1rem; }
.dm-alerts h3 { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 0.25rem; }
.dm-alert { display: flex; gap: 1rem; padding: 1.35rem 1.5rem; border-radius: 1rem; background: var(--background); border: 1px solid var(--pg-line); border-left: 4px solid var(--pg-accent); box-shadow: var(--shadow-soft-v); }
.dm-alert .pg-icon { width: 2.4rem; height: 2.4rem; border-radius: 0.75rem; background: var(--pg-soft); color: oklch(55% 0.15 55); }
.dm-alert .pg-icon svg { width: 1.15rem; height: 1.15rem; }
.dm-alert p { color: var(--pg-ink); line-height: 1.6; font-weight: 500; }

.dm-timeline { display: grid; gap: 1.25rem; margin-top: 3.5rem; counter-reset: dm; }
@media (width >= 64rem) { .dm-timeline { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.dm-card { position: relative; padding: 2.5rem 2.25rem; border-radius: 1.75rem; background: color-mix(in oklab, var(--on-dark) 5%, transparent); border: 1px solid color-mix(in oklab, var(--on-dark) 12%, transparent); }
@media (width >= 64rem) {
  .dm-card { border-radius: 0; }
  .dm-timeline > :first-child .dm-card { border-radius: 1.75rem 0 0 1.75rem; }
  .dm-timeline > :last-child .dm-card { border-radius: 0 1.75rem 1.75rem 0; }
  .dm-timeline > * + * .dm-card { border-left: 0; }
  .dm-timeline > :not(:last-child) .dm-card::after { content: "→"; position: absolute; top: 50%; right: -1.1rem; z-index: 2; width: 2.2rem; height: 2.2rem; display: flex; align-items: center; justify-content: center; transform: translateY(-50%); border-radius: 999px; background: var(--pg-accent); color: var(--pg-deep); font-weight: 700; box-shadow: 0 0 0 6px var(--pg-deep); }
}
.dm-card b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 4.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px color-mix(in oklab, var(--pg-accent) 80%, transparent); }
.dm-card .pg-icon { position: absolute; top: 2.5rem; right: 2.25rem; width: 3rem; height: 3rem; border-radius: 1rem; background: var(--pg-accent); color: var(--pg-deep); }
.dm-card .pg-icon svg { width: 1.3rem; height: 1.3rem; }
.dm-card h3 { margin-top: 1.75rem; }
.dm-card p { margin-top: 0.75rem; line-height: 1.65; color: var(--on-dark-muted); }
.dm-card .dm-tag { display: inline-block; margin-top: 1.5rem; padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; background: color-mix(in oklab, var(--pg-accent) 16%, transparent); color: var(--pg-accent); }
.dm-photos { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (width >= 48rem) { .dm-photos { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   5. LIVELIHOOD — "Growth": staggered photo mosaic, sand tones,
      image-led steps, masonry gallery
   ========================================================================== */
.pg--livelihood .pg-hero { background: radial-gradient(circle at 15% 90%, color-mix(in oklab, var(--pg-accent) 16%, transparent), transparent 40%), var(--pg-deep); }
.lv-hero-grid { display: grid; gap: 3.5rem; align-items: center; }
@media (width >= 64rem) { .lv-hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.lv-mosaic { display: grid; grid-template-columns: 1.1fr 0.9fr; grid-template-rows: 11rem 11rem 7rem; gap: 0.9rem; }
@media (width >= 48rem) { .lv-mosaic { grid-template-rows: 13rem 13rem 8rem; } }
.lv-mosaic .pg-frame { border-radius: 1.5rem; }
.lv-mosaic > :nth-child(1) { grid-row: 1 / span 2; border-radius: 999px 999px 1.5rem 1.5rem; }
.lv-mosaic > :nth-child(2) { grid-row: 1 / span 1; margin-top: 2.5rem; }
.lv-mosaic > :nth-child(3) { grid-row: 2 / span 2; }
.lv-mosaic-note { grid-column: 1; grid-row: 3; display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.25rem; border-radius: 1.5rem; background: var(--pg-accent); color: var(--pg-deep); }
.lv-mosaic-note .pg-icon svg { width: 1.6rem; height: 1.6rem; }
.lv-mosaic-note p { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; }

.lv-intro { display: grid; gap: 3rem; }
@media (width >= 64rem) { .lv-intro { grid-template-columns: 1.2fr 0.8fr; gap: 5rem; align-items: center; } }
.lv-quote { position: relative; margin-top: 2rem; padding-left: 2rem; border-left: 3px solid var(--pg-accent); font-family: var(--font-display); font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.4; color: var(--pg-ink); }
.lv-card { padding: 2.25rem; border-radius: 2rem; background: var(--background); box-shadow: var(--shadow-lift-v); }
.lv-card h3 { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pg-accent-2); }
.lv-card ul { margin-top: 1.5rem; display: grid; gap: 1.25rem; }
.lv-card li { display: flex; gap: 1rem; line-height: 1.6; color: var(--pg-ink); }
.lv-card li .pg-icon { width: 2.25rem; height: 2.25rem; border-radius: 999px; background: var(--pg-soft); color: var(--forest); }
.lv-card li .pg-icon svg { width: 1rem; height: 1rem; }

.lv-steps { display: grid; gap: 1.5rem; margin-top: 3.5rem; }
@media (width >= 64rem) { .lv-steps { grid-template-columns: repeat(3, 1fr); } .lv-steps > :nth-child(2) { margin-top: 3rem; } }
.lv-step { overflow: hidden; border-radius: 2rem; background: var(--background); box-shadow: var(--shadow-soft-v); transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.5s; }
.lv-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift-v); }
.lv-step .pg-frame { aspect-ratio: 16 / 11; }
.lv-step-body { position: relative; padding: 2rem 1.9rem 2.1rem; }
.lv-step-body b { position: absolute; top: -1.6rem; right: 1.75rem; width: 3.2rem; height: 3.2rem; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--pg-accent); color: var(--pg-deep); font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; box-shadow: var(--shadow-gold-v); }
.lv-step-body p { margin-top: 0.7rem; font-size: 0.95rem; line-height: 1.65; color: var(--muted-foreground); }
.lv-chips { margin-top: 3rem; }
.lv-chips .pg-chip { background: var(--pg-deep); color: var(--on-dark); border-color: transparent; }
.lv-chips .pg-chip svg { color: var(--pg-accent); }

.lv-masonry { margin-top: 3.5rem; columns: 1; column-gap: 1.25rem; }
@media (width >= 40rem) { .lv-masonry { columns: 2; } }
@media (width >= 64rem) { .lv-masonry { columns: 3; } }
.lv-masonry figure { break-inside: avoid; margin-bottom: 1.25rem; border-radius: 1.5rem; }
.lv-masonry figure img { height: auto; display: block; }
.lv-masonry figcaption { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1.25rem 1.1rem; background: linear-gradient(transparent, color-mix(in oklab, var(--pg-deep) 88%, transparent)); color: var(--on-dark); font-size: 0.88rem; font-weight: 600; }

/* ==========================================================================
   6. MISCELLANEOUS CAUSES — "Community Mosaic": orbit hero, bento grid,
      film strip
   ========================================================================== */
.ms-hero { text-align: center; }
.ms-hero .pg-hero-lead { margin-inline: auto; }
.ms-hero .pg-actions { justify-content: center; }
.ms-hero nav[aria-label="Breadcrumb"] { justify-content: center; }
.pg--misc .pg-hero { background: radial-gradient(ellipse at 50% 120%, color-mix(in oklab, var(--pg-accent) 22%, transparent), transparent 55%), var(--pg-deep); }
.ms-orbit { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: clamp(0.75rem, 2vw, 1.5rem); margin-top: 4rem; }
.ms-orbit .pg-frame { border-radius: 999px; border: 4px solid color-mix(in oklab, var(--on-dark) 14%, transparent); box-shadow: var(--shadow-lift-v); }
.ms-orbit > :nth-child(1), .ms-orbit > :nth-child(3) { width: clamp(6.5rem, 18vw, 13rem); aspect-ratio: 1; }
.ms-orbit > :nth-child(2) { width: clamp(9rem, 26vw, 19rem); aspect-ratio: 1; margin-bottom: 1.5rem; }
.ms-orbit > :nth-child(1) { transform: translateY(-1rem); }

.ms-bento { display: grid; gap: 1.25rem; margin-top: 3.5rem; }
@media (width >= 64rem) { .ms-bento { grid-template-columns: repeat(6, 1fr); } }
.ms-tile { position: relative; overflow: hidden; padding: 2.25rem; border-radius: 2rem; background: var(--background); border: 1px solid var(--pg-line); }
.ms-tile--lead { background: var(--pg-soft); border-color: transparent; }
.ms-tile--lead p { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.4; color: var(--pg-ink); }
.ms-tile--env { display: flex; flex-direction: column; justify-content: flex-end; min-height: 20rem; color: var(--on-dark-muted); background: var(--pg-deep); border-color: transparent; isolation: isolate; }
.ms-tile--env img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: transform 1.2s; }
.ms-tile--env:hover img { transform: scale(1.05); }
.ms-tile--env::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 0%, color-mix(in oklab, var(--pg-deep) 92%, transparent) 85%); }
.ms-tile--env .pg-kicker { color: var(--pg-accent); }
.ms-tile--env p { margin-top: 0.75rem; color: var(--on-dark); font-size: 1.05rem; line-height: 1.6; }
.ms-tile--env .pg-more { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--pg-accent); }
.ms-tile--env .pg-more svg { width: 1rem; height: 1rem; transition: transform 0.3s; }
.ms-tile--env:hover .pg-more svg { transform: translateX(4px); }
.ms-tile--dark { background: var(--pg-ink); color: var(--on-dark-muted); border-color: transparent; }
.ms-tile--dark h3 { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pg-accent); }
.ms-tile--dark ul { margin-top: 1.5rem; display: grid; gap: 1.1rem; }
.ms-tile--dark li { display: flex; gap: 0.85rem; line-height: 1.6; }
.ms-tile--dark li span { margin-top: 0.55rem; width: 0.5rem; height: 0.5rem; flex-shrink: 0; border-radius: 99px; background: var(--pg-accent); }
@media (width >= 64rem) {
  .ms-span-lead { grid-column: span 4; }
  .ms-span-env { grid-column: span 2; grid-row: span 2; }
  .ms-span-dark { grid-column: span 4; }
}
.ms-cards { display: grid; gap: 1.25rem; margin-top: 3.5rem; }
@media (width >= 48rem) { .ms-cards { grid-template-columns: repeat(3, 1fr); } }
.ms-card { position: relative; padding: 2.25rem; border-radius: 2rem; background: var(--background); box-shadow: var(--shadow-soft-v); border-top: 4px solid var(--ms-c); transition: transform 0.5s, box-shadow 0.5s; }
.ms-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift-v); }
.ms-cards > :nth-child(1) .ms-card { --ms-c: var(--pg-accent); }
.ms-cards > :nth-child(2) .ms-card { --ms-c: var(--pg-accent-2); }
.ms-cards > :nth-child(3) .ms-card { --ms-c: var(--pg-accent-3); }
.ms-card .pg-icon { width: 3.25rem; height: 3.25rem; border-radius: 1rem; background: color-mix(in oklab, var(--ms-c) 16%, transparent); color: var(--ms-c); }
.ms-card .pg-icon svg { width: 1.4rem; height: 1.4rem; }
.ms-card small { display: block; margin-top: 1.75rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); }
.ms-card h3 { margin-top: 0.4rem; }
.ms-card p { margin-top: 0.7rem; font-size: 0.95rem; line-height: 1.65; color: var(--muted-foreground); }
.ms-chips { margin-top: 2.5rem; }
.ms-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(16rem, 1fr); gap: 1.25rem; margin-top: 3.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
.ms-strip figure { scroll-snap-align: start; border-radius: 1.75rem; aspect-ratio: 4 / 5; }
.ms-strip figcaption { z-index: 1; position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; display: flex; align-items: center; gap: 0.6rem; color: var(--on-dark); font-weight: 600; font-size: 0.92rem; }
.ms-strip figcaption::before { content: ""; width: 1.5rem; height: 2px; background: var(--pg-accent); }
.ms-strip figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, color-mix(in oklab, var(--pg-deep) 85%, transparent)); pointer-events: none; }

/* ==========================================================================
   7. ENVIRONMENT — "Living Canopy": full-height image, leaf cards,
      organic shapes
   ========================================================================== */
.en-hero { min-height: min(100svh, 56rem); display: flex; align-items: flex-end; }
.en-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.en-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, color-mix(in oklab, var(--pg-deep) 88%, transparent) 0%, color-mix(in oklab, var(--pg-deep) 55%, transparent) 50%, transparent 80%),
  linear-gradient(180deg, color-mix(in oklab, var(--pg-deep) 75%, transparent) 0%, color-mix(in oklab, var(--pg-deep) 20%, transparent) 30%, color-mix(in oklab, var(--pg-deep) 96%, transparent) 92%); }
.en-hero .container-site { width: 100%; }
.en-hero-grid { display: grid; gap: 2.5rem; align-items: end; }
@media (width >= 64rem) { .en-hero-grid { grid-template-columns: 1.4fr 0.6fr; } }
.en-hero .pg-h1 { font-size: clamp(3.25rem, 10vw, 8rem); }
.en-leaf-badge { display: flex; gap: 1rem; align-items: center; padding: 1.25rem 1.5rem; border-radius: 2rem 0.5rem 2rem 0.5rem; background: color-mix(in oklab, var(--pg-accent) 90%, transparent); color: var(--pg-deep); }
.en-leaf-badge .pg-icon svg { width: 2rem; height: 2rem; }
.en-leaf-badge p { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.35; }

.en-intro { display: grid; gap: 3rem; }
@media (width >= 64rem) { .en-intro { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; } }
.en-blob { position: relative; aspect-ratio: 1; max-width: 30rem; width: 100%; margin-inline: auto; }
.en-blob .pg-frame { position: absolute; inset: 0; border-radius: 62% 38% 46% 54% / 55% 45% 55% 45%; box-shadow: var(--shadow-lift-v); }
.en-blob::before { content: ""; position: absolute; inset: -1.25rem; border-radius: 45% 55% 60% 40% / 50% 60% 40% 50%; border: 1px dashed color-mix(in oklab, var(--forest) 60%, transparent); animation: en-spin 40s linear infinite; }
@keyframes en-spin { to { transform: rotate(360deg); } }
.en-challenges { margin-top: 2.25rem; display: grid; gap: 1rem; }
.en-challenges li { display: flex; gap: 1rem; padding: 1.25rem 1.4rem; border-radius: 1.5rem 0.4rem 1.5rem 0.4rem; background: var(--pg-soft); color: var(--pg-ink); line-height: 1.6; font-weight: 500; }
.en-challenges .pg-icon { width: 2.25rem; height: 2.25rem; border-radius: 999px; background: var(--background); color: var(--forest); }
.en-challenges .pg-icon svg { width: 1rem; height: 1rem; }

.pg--environment .pg-section--deep { background: radial-gradient(circle at 85% 10%, color-mix(in oklab, var(--pg-accent) 14%, transparent), transparent 45%), var(--pg-deep); }
.en-leaves { display: grid; gap: 1.5rem; margin-top: 3.5rem; }
@media (width >= 48rem) { .en-leaves { grid-template-columns: repeat(3, 1fr); } }
.en-leaf { position: relative; padding: 2.5rem 2.25rem; border-radius: 3.5rem 0.75rem 3.5rem 0.75rem; background: color-mix(in oklab, var(--on-dark) 6%, transparent); border: 1px solid color-mix(in oklab, var(--on-dark) 12%, transparent); transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.5s; }
.en-leaf:hover { transform: translateY(-6px); background: color-mix(in oklab, var(--on-dark) 10%, transparent); }
.en-leaf .pg-icon { width: 3.5rem; height: 3.5rem; border-radius: 1.5rem 0.4rem 1.5rem 0.4rem; background: var(--pg-accent); color: var(--pg-deep); }
.en-leaf b { position: absolute; top: 2.25rem; right: 2.25rem; font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; color: var(--pg-accent); }
.en-leaf h3 { margin-top: 2rem; }
.en-leaf p { margin-top: 0.75rem; line-height: 1.65; color: var(--on-dark-muted); }
.en-chips { margin-top: 3rem; }
.en-chips .pg-chip { background: transparent; color: var(--on-dark); border-color: color-mix(in oklab, var(--on-dark) 25%, transparent); }
.en-chips .pg-chip svg { color: var(--pg-accent); }

.en-gallery { display: grid; gap: 1.25rem; margin-top: 3.5rem; }
@media (width >= 48rem) { .en-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 15rem 15rem; } .en-gallery > :first-child { grid-row: span 2; } }
.en-gallery figure { min-height: 15rem; border-radius: 2.5rem 0.75rem 2.5rem 0.75rem; }
.en-gallery > :nth-child(2) figure { border-radius: 0.75rem 2.5rem 0.75rem 2.5rem; }
.en-gallery figcaption { position: absolute; left: 1.25rem; bottom: 1.25rem; padding: 0.5rem 1rem; border-radius: 999px; background: color-mix(in oklab, var(--pg-deep) 75%, transparent); backdrop-filter: blur(8px); color: var(--on-dark); font-size: 0.82rem; font-weight: 600; }

/* Inner element fills its animated wrapper */
.pg-fill { height: 100%; }

/* Section heading row (heading + side text) */
.pg-head-row { display: grid; gap: 1.5rem; align-items: end; }
@media (width >= 64rem) { .pg-head-row { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; } }

@media (prefers-reduced-motion: reduce) {
  .ds-marquee-track, .ds-rings span, .en-blob::before, .dm-status i { animation: none; }
  .hc-pulse path { animation: none; stroke-dashoffset: 0; }
  .dm-phase::after { animation: none; width: 100%; }
}
