/*
Theme Name: TPLC — Tout Pour Les Caméras
Theme URI: https://assotplc.fr
Author: Tout Pour Les Caméras
Description: Thème éditorial style zine pour l'association Tout Pour Les Caméras. Tous les textes, images, vidéos et couleurs sont modifiables via Apparence → Personnaliser.
Version: 1.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tplc
*/

:root {
  --paper: #ece6d8;
  --ink: #14130f;
  --orange: #ff4d1e;
  --gray: #5c594f;
  --soft: #d8d1bf;

  --f-display: 'Anybody', 'Impact', sans-serif;
  --f-body: 'Familjen Grotesk', system-ui, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--orange); color: var(--paper); }

/* Mode maquette : rien n'est cliquable, le scroll reste actif */
.no-click a,
.no-click button,
.no-click form {
  pointer-events: none;
  cursor: default;
}

/* =========================
   NAV
   ========================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.nav-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 110, 'wght' 800;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.brand img {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  padding: 4px;
  background: var(--paper);
  object-fit: contain;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
}
.nav-menu a:hover { background: var(--ink); color: var(--paper); }
.nav-menu .btn {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  margin-left: 8px;
  font-weight: 600;
}
.nav-menu .btn:hover { background: var(--orange); color: var(--paper); }

/* =========================
   HERO (text only)
   ========================= */
.hero {
  padding: 80px 32px 60px;
  border-bottom: 2px solid var(--ink);
  position: relative;
}
.hero-inner { max-width: 1500px; margin: 0 auto; }
.hero-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  background: var(--orange);
  color: var(--paper);
  border-radius: 2px;
  margin-bottom: 30px;
}
.hero-title {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 105, 'wght' 850;
  font-size: clamp(64px, 14vw, 220px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.hero-title .dot { color: var(--orange); }
.hero-bottom {
  padding-top: 34px;
  border-top: 1px solid var(--ink);
}
.hero-lede {
  font-size: clamp(26px, 3.6vw, 54px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.hero-lede strong {
  background: var(--orange);
  color: var(--paper);
  padding: 0 8px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* =========================
   FEATURED VIDEO
   ========================= */
.featured {
  padding: 60px 32px;
  border-bottom: 2px solid var(--ink);
}
.featured-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}
.featured-sidebar {
  position: sticky;
  top: 100px;
}
.featured-num {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 100, 'wght' 800;
  font-size: 90px;
  line-height: 0.85;
  margin-bottom: 16px;
  color: var(--orange);
}
.featured-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.featured-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray);
}
.video-frame {
  border: 2px solid var(--ink);
  background: var(--ink);
  position: relative;
}
.video-frame video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.video-caption {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
}

/* =========================
   SECTION BASE
   ========================= */
section { position: relative; }
.wrap {
  max-width: 1500px;
  margin: 0 auto;
  padding: 100px 32px;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 70px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--ink);
}
.section-num {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 80, 'wght' 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 14px;
  display: block;
}
.section-title {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 105, 'wght' 850;
  font-size: clamp(44px, 8vw, 120px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.section-intro {
  font-size: 17px;
  line-height: 1.55;
  max-width: 480px;
  justify-self: end;
  color: var(--gray);
  font-weight: 500;
}
.section-intro strong { color: var(--ink); font-weight: 600; }

/* =========================
   MISSION
   ========================= */
.mission .wrap { padding-bottom: 60px; }
.mission-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
}
.mission-photo {
  border: 2px solid var(--ink);
  background: var(--soft);
  aspect-ratio: 4/5;
  overflow: hidden;
}
.mission-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mission-content { padding-top: 6px; }
.mission-content h3 {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 105, 'wght' 800;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.mission-content h3 strong {
  background: var(--orange);
  color: var(--paper);
  padding: 0 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-weight: inherit;
}
.mission-blocks {
  display: grid;
  gap: 0;
}
.mission-block {
  padding: 28px 0;
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
}
.mission-block:last-child { border-bottom: 1px solid var(--ink); }
.mission-block-n {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 100, 'wght' 800;
  font-size: 26px;
  line-height: 1;
  padding-top: 2px;
}
.mission-block h4 {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 100, 'wght' 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.mission-block p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--gray);
  font-weight: 500;
}

/* =========================
   PROGRAMMES (INVERTED — black)
   ========================= */
.programmes {
  background: var(--ink);
  color: var(--paper);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.programmes .section-head { border-bottom-color: var(--paper); }
.programmes .section-num { color: var(--orange); }
.programmes .section-intro { color: var(--soft); }
.programmes .section-intro strong { color: var(--paper); }

.prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
}
.prog {
  border-right: 2px solid var(--paper);
  padding: 36px 28px 40px;
}
.prog:last-child { border-right: none; }
.prog-img {
  aspect-ratio: 4/3;
  margin: 0 -28px 28px -28px;
  margin-top: -36px;
  overflow: hidden;
  border-bottom: 2px solid var(--paper);
  background: var(--gray);
  position: relative;
}
.prog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.05);
  transition: filter 0.4s ease;
}
.prog:hover .prog-img img { filter: grayscale(0) contrast(1); }
.prog-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--paper);
  color: var(--ink);
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
}
.prog h3 {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 95, 'wght' 800;
  font-size: clamp(19px, 1.8vw, 26px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.prog p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--soft);
  margin-bottom: 22px;
}
.prog ul {
  list-style: none;
  padding-top: 20px;
  border-top: 1px solid var(--gray);
}
.prog li {
  padding: 7px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.prog li::before {
  content: "+";
  color: var(--orange);
  font-weight: 800;
}

/* =========================
   CHIFFRES (ORANGE)
   ========================= */
.chiffres {
  background: var(--orange);
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
}
.chiffres .section-head { border-bottom-color: var(--ink); }
.chiffres .section-num { color: var(--ink); }
.chiffres .section-intro { color: var(--ink); opacity: 0.85; }
.chiffres .section-intro strong { color: var(--ink); }
/* Titre sur une seule ligne par segment */
.chiffres .section-title {
  font-size: clamp(30px, 5.5vw, 92px);
  white-space: nowrap;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}
.stat-cell {
  padding: 50px 32px 50px 0;
  border-right: 2px solid var(--ink);
}
.stat-cell:not(:first-child) { padding-left: 32px; }
.stat-cell:last-child { border-right: none; padding-right: 0; }
.stat-num {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 100, 'wght' 850;
  font-size: clamp(80px, 14vw, 200px);
  line-height: 0.82;
  letter-spacing: -0.05em;
  display: flex;
  align-items: baseline;
}
.stat-num sup {
  font-size: 0.35em;
  vertical-align: top;
  margin-top: 0.2em;
  font-weight: 700;
}
.stat-text {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-transform: uppercase;
  max-width: 220px;
}

/* =========================
   GALERIE
   ========================= */
.galerie .wrap { padding-bottom: 120px; }
.gal-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.gal {
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--soft);
  position: relative;
}
.gal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gal:hover img { transform: scale(1.04); }
.gal-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.gal:hover .gal-cap { transform: translateY(0); }
.gal-1 { grid-column: span 7; aspect-ratio: 7/5; }
.gal-2 { grid-column: span 5; aspect-ratio: 5/5; }
.gal-3 { grid-column: span 4; aspect-ratio: 4/4; }
.gal-4 { grid-column: span 4; aspect-ratio: 4/4; }
.gal-5 { grid-column: span 4; aspect-ratio: 4/4; }
.gal-6 { grid-column: span 6; aspect-ratio: 6/4; }
.gal-7 { grid-column: span 6; aspect-ratio: 6/4; }

/* =========================
   PARTENAIRES — logos N&B lisibles
   ========================= */
.partners {
  background: var(--ink);
  color: var(--paper);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.partners .section-head { border-bottom-color: var(--paper); }
.partners .section-num { color: var(--orange); }
.partners .section-intro { color: var(--soft); }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  background: var(--ink);
  border: 2px solid var(--paper);
}
.partner {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: var(--paper);
}
.partner img {
  max-width: 100%;
  max-height: 72%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: multiply;
}

/* =========================
   SDT (Studio block)
   ========================= */
.sdt .wrap { padding-bottom: 80px; }
.sdt-block {
  border: 2px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.sdt-img {
  background: var(--soft);
  aspect-ratio: 4/3;
  overflow: hidden;
  border-right: 2px solid var(--ink);
}
.sdt-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sdt-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  background: var(--paper);
}
.sdt-overhead {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}
.sdt-title {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 105, 'wght' 850;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: -0.035em;
}
.sdt-text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--gray);
  font-weight: 500;
}
.sdt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sdt-tags span {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border: 1.5px solid var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sdt-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--paper);
  width: fit-content;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.sdt-link:hover { background: var(--orange); }
.sdt-link::after {
  content: "→";
  font-weight: 700;
}

/* =========================
   ÉQUIPE
   ========================= */
.equipe { background: var(--paper); }
.equipe-lede {
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.25;
  font-weight: 500;
  max-width: 880px;
  margin-bottom: 80px;
}
.equipe-lede strong {
  background: var(--orange);
  color: var(--paper);
  padding: 0 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--ink);
}
.pillar {
  padding: 36px 28px 36px 0;
  border-right: 2px solid var(--ink);
}
.pillar:not(:first-child) { padding-left: 28px; }
.pillar:last-child { border-right: none; padding-right: 0; }
.pillar-n {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 100, 'wght' 800;
  font-size: 48px;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 18px;
}
.pillar h4 {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 105, 'wght' 800;
  font-size: 24px;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.pillar p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--gray);
  font-weight: 500;
}
.equipe-note {
  margin-top: 60px;
  padding: 24px;
  background: var(--soft);
  border: 2px solid var(--ink);
  display: flex;
  gap: 18px;
  align-items: start;
}
.equipe-note-tag {
  background: var(--ink);
  color: var(--paper);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
  border-radius: 2px;
}
.equipe-note p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}
.equipe-note strong { font-weight: 700; }

/* =========================
   CONTACT (INVERTED — black)
   ========================= */
.contact {
  background: var(--ink);
  color: var(--paper);
  border-top: 2px solid var(--ink);
}
.contact .section-head { border-bottom-color: var(--paper); }
.contact .section-num { color: var(--orange); }
.contact .section-intro { color: var(--soft); }
.contact-grid {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 60px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.ci-block {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--gray);
}
.ci-block-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.ci-block-val {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 105, 'wght' 700;
  font-size: 26px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.ci-block-val a:hover { color: var(--orange); }
.ci-sub {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--soft);
  margin-top: 6px;
}
.ci-social {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.ci-social a {
  padding: 10px 14px;
  border: 1.5px solid var(--paper);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}
.ci-social a:hover { background: var(--orange); border-color: var(--orange); }

/* Form */
.form {
  background: var(--paper);
  color: var(--ink);
  padding: 36px;
  border: 2px solid var(--paper);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.field label .req { color: var(--orange); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 500;
  border-radius: 0;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--orange);
  outline-offset: -1px;
}
.field textarea { min-height: 130px; resize: vertical; }
.form-check {
  display: flex;
  gap: 10px;
  align-items: start;
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
  line-height: 1.5;
  margin: 18px 0 24px;
}
.form-check input {
  margin-top: 3px;
  accent-color: var(--orange);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.form-check a { color: var(--ink); text-decoration: underline; }
.submit {
  width: 100%;
  padding: 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background 0.2s ease;
}
.submit:hover { background: var(--orange); }

/* =========================
   FOOTER
   ========================= */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 0 32px 30px;
  border-top: 2px solid var(--paper);
}
.footer-inner { max-width: 1500px; margin: 0 auto; }
.footer-mast {
  font-family: var(--f-display);
  font-variation-settings: 'wdth' 105, 'wght' 850;
  font-size: clamp(64px, 14vw, 220px);
  line-height: 0.84;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  padding: 60px 0 50px;
  border-bottom: 2px solid var(--paper);
}
.footer-mast .dot { color: var(--orange); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 50px 0;
}
.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.footer-col p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--soft);
  font-weight: 500;
  margin-bottom: 14px;
  max-width: 320px;
}
.footer-col ul { list-style: none; }
.footer-col li { padding: 5px 0; }
.footer-col a {
  font-size: 14px;
  color: var(--soft);
  font-weight: 500;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--gray);
  font-size: 12px;
  font-weight: 500;
  color: var(--soft);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1080px) {
  .featured-inner { grid-template-columns: 1fr; gap: 24px; }
  .featured-sidebar { position: static; }
  .featured-num { font-size: 60px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .section-intro { justify-self: start; }
  .mission-grid { grid-template-columns: 1fr; gap: 40px; }
  .mission-photo { aspect-ratio: 4/3; max-height: 460px; }
  .prog-grid { grid-template-columns: 1fr; }
  .prog { border-right: none; border-bottom: 2px solid var(--paper); }
  .prog:last-child { border-bottom: none; }
  .prog-img { margin: -36px -28px 28px -28px; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-cell { padding: 30px 0; border-right: none; border-bottom: 2px solid var(--ink); }
  .stat-cell:not(:first-child) { padding-left: 0; }
  .stat-cell:last-child { border-bottom: none; padding-bottom: 0; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .sdt-block { grid-template-columns: 1fr; }
  .sdt-img { border-right: none; border-bottom: 2px solid var(--ink); aspect-ratio: 16/10; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 2px solid var(--ink); padding: 28px 0; }
  .pillar:not(:first-child) { padding-left: 0; }
  .pillar:last-child { border-bottom: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gal-1, .gal-2, .gal-3, .gal-4, .gal-5, .gal-6, .gal-7 { grid-column: span 6; aspect-ratio: 6/5; }
}

@media (max-width: 640px) {
  .nav-inner { padding: 12px 20px; }
  .nav-menu a:not(.btn) { display: none; }
  .brand img { width: 30px; height: 30px; }
  .brand { font-size: 14px; }
  .hero { padding: 60px 20px 50px; }
  .featured { padding: 50px 20px; }
  .wrap { padding: 70px 20px; }
  .footer { padding: 0 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .sdt-body { padding: 28px; }
}
