@font-face {
  font-family: 'Isidora';
  src: url('assets/fonts/Isidora-Medium.woff2') format('woff2'),
       url('assets/fonts/Isidora-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Isidora';
  src: url('assets/fonts/isidora-bold.woff2') format('woff2'),
       url('assets/fonts/isidora-bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Handyman';
  src: url('assets/fonts/HandyMan.woff2') format('woff2'),
       url('assets/fonts/HandyMan.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --coral: #de505f;
  --orange: #ce6c1f;
  --green: #60ad8f;
  --blue: #184880;
  --blue-dark: #0f3058;
  --violet: #595ea6;
  --white: #ffffff;
  --body-text: #1a1a1a;
  --muted: #5a5a66;
  --border: rgba(24, 72, 128, 0.14);
  --light-bg: #f7f5f2;
  --linen: #f5f1eb;
  --linen-deep: #ebe4d8;
  /* legacy token aliases used across stylesheet */
  --purple: #595ea6;
  --purple-deep: #184880;
  --purple-darkest: #0f3058;
  --mint: #60ad8f;
  --sky: #60ad8f;
  --yellow: #ce6c1f;
  --lavender: #595ea6;
}

html { font-family: 'Isidora', system-ui, sans-serif; font-weight: 500; scroll-behavior: smooth; }
body { background: var(--white); color: var(--body-text); overflow-x: hidden; }

/* Inline SVG clip defs sit before fixed nav; without this they reserve a line box and push #hero down,
   leaving a strip of hero-band white padding visible between nav and hero. */
.svg-clip-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  display: block;
  pointer-events: none;
}

h1, h2, h3, h4 { font-family: 'Isidora', system-ui, sans-serif; font-weight: 700; }
p { font-family: 'Isidora', system-ui, sans-serif; font-weight: 500; line-height: 1.7; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

.section-label {
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 14px;
  text-align: center;
}
#letter .section-label { color: var(--violet); }
#templates-posts .section-label { color: var(--coral); }
#templates-stories .section-label { color: var(--violet); }
#messages .section-label { color: var(--orange); }
#data .section-label { color: var(--green); }
#actions .section-label { color: var(--coral); }

.section-heading {
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  color: var(--body-text);
  margin-bottom: 20px;
  text-align: center;
}

.section-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 48px;
  line-height: 1.65;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-light {
  background: var(--light-bg);
  padding: 100px 0;
}

.section-deep {
  background: var(--purple-deep);
  padding: 100px 0 0;
  color: rgba(255,255,255,0.92);
}
.section-deep .section-label { color: var(--mint); }
.section-deep .section-heading { color: var(--white); }
.section-deep .section-sub { color: rgba(255,255,255,0.78); }
.section-deep h3 { color: var(--white); }

.inline-code {
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
  background: rgba(24, 72, 128, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 16px 40px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Isidora', system-ui, sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s, background 0.2s, color 0.2s;
  border: none;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); opacity: 0.92; }
.btn-primary { background: var(--coral); color: var(--white); }
.btn-secondary { background: transparent; border: 2px solid var(--orange); color: var(--blue); }
.btn-sm { padding: 10px 22px; font-size: 13px; }

/* ——— NAV ——— */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  background: var(--white);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s, background 0.3s;
}
nav.scrolled { box-shadow: 0 4px 20px rgba(24, 72, 128, 0.1); }
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 80px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.5vw, 24px);
}
html[lang="en"] .nav-inner {
  gap: clamp(20px, 2.2vw, 36px);
}
.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: clamp(16px, 1.65vw, 28px);
  list-style: none;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}
.nav-links li {
  flex-shrink: 0;
}
.nav-links a {
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(15px, 0.85vw + 0.48rem, 18px);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
html[lang="fr"] .nav-links,
html[lang="es"] .nav-links {
  gap: clamp(8px, 1vw, 20px);
}
html[lang="fr"] .nav-links a,
html[lang="es"] .nav-links a {
  font-size: clamp(12px, 0.65vw + 0.38rem, 15.5px);
  letter-spacing: 0;
}
.nav-links li:nth-child(5n+1) a { color: var(--blue); }
.nav-links li:nth-child(5n+2) a { color: var(--violet); }
.nav-links li:nth-child(5n+3) a { color: var(--coral); }
.nav-links li:nth-child(5n+4) a { color: var(--orange); }
.nav-links li:nth-child(5n) a { color: var(--green); }
.nav-links a:hover { color: var(--body-text); text-decoration: underline; text-underline-offset: 4px; }
.nav-links a:active { opacity: 0.85; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple-deep);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--white);
  padding: 24px 24px 32px;
  z-index: 999;
  border-top: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(24, 72, 128, 0.12);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-family: 'Isidora', system-ui, sans-serif;
}
.mobile-menu a:nth-child(5n+1) { color: var(--blue); }
.mobile-menu a:nth-child(5n+2) { color: var(--violet); }
.mobile-menu a:nth-child(5n+3) { color: var(--coral); }
.mobile-menu a:nth-child(5n+4) { color: var(--orange); }
.mobile-menu a:nth-child(5n) { color: var(--green); }
.mobile-menu a:hover { color: var(--body-text); }

/* ——— HERO ——— */
.hero-band {
  position: relative;
  padding-top: 72px;
  /* Top band matches fixed nav so clearance is not violet (#595ea6) */
  background: linear-gradient(to bottom, var(--white) 0, var(--white) 72px, var(--violet) 72px);
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(360px, 52vh, 540px);
  max-height: 560px;
  position: relative;
  isolation: isolate;
  align-items: stretch;
}
.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 0;
}
/* Crescent: SVG clipPath (objectBoundingBox) — % in path() often fails → looks like 90° */
.hero-panel--left {
  z-index: 2;
  margin-right: min(-11vw, -72px);
  clip-path: url(#hero-left-curve);
  -webkit-clip-path: url(#hero-left-curve);
  background: transparent;
}
.hero-panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
}
.hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 32px 10% 32px 12%;
  max-width: 540px;
}
.hero-title {
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.1;
  color: var(--green);
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.9),
    0 2px 20px rgba(0, 0, 0, 0.75),
    0 0 48px rgba(0, 0, 0, 0.35);
}
.hero-date {
  font-family: 'Handyman', cursive, serif;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--white);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.85), 0 0 2px rgba(0, 0, 0, 0.9);
}
.hero-lead {
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.55;
  color: var(--white);
  max-width: 42ch;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.82), 0 0 2px rgba(0, 0, 0, 0.85);
}
.hero-panel--right {
  z-index: 1;
  margin-left: min(-10vw, -64px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: #e6cd20;
}
.hero-right-frame {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: clamp(16px, 4vw, 40px) clamp(12px, 3vw, 28px) clamp(16px, 4vw, 40px) clamp(8px, 2vw, 20px);
}
.hero-right-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: 92% center;
  display: block;
  transform: translateX(4%);
}
.hero-lang {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  padding: 20px 16px 24px;
  background: var(--white);
}
.hero-lang::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--coral), var(--orange), var(--green));
}
.lang-btn {
  font-family: 'Handyman', cursive, serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  color: var(--white);
  background: var(--blue);
  transform: skewX(-12deg);
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  display: inline-block;
}
.lang-btn:nth-child(2):not(.is-active) { background: var(--violet); }
.lang-btn:nth-child(3):not(.is-active) { background: var(--green); }
.lang-btn-inner {
  display: inline-block;
  transform: skewX(12deg);
}
.lang-btn.is-active {
  background: var(--coral);
  color: var(--white);
}
.lang-btn:hover:not(.is-active) {
  opacity: 0.92;
  filter: brightness(1.08);
}

/* ——— Letter ——— */
.letter-sheet {
  max-width: none;
  width: 100%;
  margin: 0;
  background: var(--white);
  color: var(--body-text);
  border-radius: 4px;
  padding: 48px 56px 56px;
  box-shadow:
    0 1px 0 rgba(24, 72, 128, 0.06),
    0 24px 60px rgba(24, 72, 128, 0.1);
  border: 1px solid var(--border);
  position: relative;
}
.letter-sheet::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
}
.letter-dear {
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 24px;
  color: var(--purple-deep);
}
.letter-body p + p { margin-top: 1rem; }
.letter-close {
  margin-top: 32px;
  font-style: italic;
  color: var(--muted);
}
.letter-sig {
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--blue);
  margin-top: 8px;
}
.prose { font-size: 17px; line-height: 1.75; color: var(--body-text); }
.prose p + p { margin-top: 1rem; }
.letter-sheet .letter-body.prose,
.letter-sheet .letter-body.prose p {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  line-height: 1.72;
  font-weight: 600;
}
.letter-sheet .letter-body.prose strong {
  font-weight: 700;
}

/* ——— Toolkit guide (five steps) ——— */
#toolkit-guide.toolkit-guide-section,
#toolkit-guide {
  background: #e6f2e9;
  padding: 100px 0 0;
}
.toolkit-steps-kicker {
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
  text-align: center;
  margin-bottom: 12px;
}
.toolkit-steps-title {
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.125rem, 4.2vw, 3rem);
  line-height: 1.12;
  color: var(--blue);
  text-align: center;
  margin: 0 auto 56px;
  max-width: 44rem;
}
.toolkit-rail {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 12px;
}
.toolkit-rail-track {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 34px;
  height: 5px;
  display: flex;
  border-radius: 4px;
  overflow: hidden;
  z-index: 0;
}
.toolkit-rail-seg {
  flex: 1;
  height: 100%;
}
.toolkit-rail-seg--orange { background: var(--orange); }
.toolkit-rail-seg--green { background: var(--green); }
.toolkit-rail-seg--coral { background: var(--coral); }
.toolkit-rail-seg--maroon { background: #722f37; }
.toolkit-rail-seg--violet { background: var(--violet); }
.toolkit-rail-steps {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.toolkit-step {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.toolkit-node {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 2px 12px rgba(24, 72, 128, 0.1);
  border: 4px solid var(--orange);
}
.toolkit-node--orange { border-color: var(--orange); }
.toolkit-node--green { border-color: var(--green); }
.toolkit-node--coral { border-color: var(--coral); }
.toolkit-node--maroon { border-color: #722f37; }
.toolkit-node--violet { border-color: var(--violet); }
.toolkit-num {
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--blue);
}
.toolkit-card {
  width: 100%;
  background: var(--linen);
  border-radius: 16px;
  padding: 24px 16px 26px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  border: 3px solid #0f0f0f;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}
.toolkit-card-title {
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 14px;
  line-height: 1.35;
}
.toolkit-card-text {
  font-size: 16px;
  line-height: 1.58;
  color: var(--blue);
  margin: 0;
  flex: 1;
}
.toolkit-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}
.toolkit-pill {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid #0f0f0f;
  padding: 8px 12px;
  border-radius: 999px;
}
.wave-to-deep { line-height: 0; margin-top: 56px; }
.toolkit-toc--compact { gap: 12px; font-size: 16px; }

/* ——— Campaign ——— */
#campaign.campaign-section,
#campaign {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(222, 80, 95, 0.22) 0%, transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(24, 72, 128, 0.35) 0%, transparent 50%),
    var(--violet);
  padding: 100px 0 0;
  position: relative;
}
.campaign-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding-bottom: 8px;
}
.campaign-header {
  text-align: left;
  max-width: 34rem;
  padding-top: 8px;
  border-left: 5px solid var(--green);
  padding-left: clamp(18px, 2.5vw, 28px);
}
.campaign-eyebrow {
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 12px;
}
.campaign-display {
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  line-height: 1.08;
  color: var(--white);
  margin: 0 0 18px;
}
.campaign-intro-text {
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 22px;
  font-weight: 500;
}
.campaign-means {
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0;
}
.campaign-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.campaign-card {
  position: relative;
  border-radius: 16px;
  padding: 20px 20px 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  border-top: 5px solid var(--coral);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.campaign-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.28);
}
.campaign-card--coral { border-top-color: var(--coral); }
.campaign-card--orange { border-top-color: var(--orange); }
.campaign-card--green { border-top-color: var(--green); }
.campaign-card--blue { border-top-color: var(--blue); }
.campaign-card--violet { border-top-color: var(--violet); }
.campaign-card--maroon { border-top-color: #722f37; }
.campaign-card-label {
  display: block;
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(0.84rem, 0.76rem + 0.35vw, 0.98rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 12px;
}
.campaign-card-body {
  margin: 0;
  font-size: clamp(1.02rem, 0.94rem + 0.4vw, 1.18rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}
.campaign-wave-out { line-height: 0; margin-top: 56px; }

/* ——— Posts & stories downloads ——— */
#templates-posts,
#templates-stories {
  background: var(--light-bg);
  padding: 100px 0;
}
#templates-stories.media-download-section--stories {
  padding-top: 72px;
}
.media-download-section .section-sub {
  margin-bottom: 36px;
}
.media-download-canva--en-only {
  margin: -12px 0 28px;
}
.media-download-canva-line {
  margin: 0;
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.125rem);
  line-height: 1.55;
  color: var(--body-text);
  font-weight: 500;
}
.media-download-canva-line strong {
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 700;
  color: var(--violet);
  margin-right: 0.35em;
}
.media-download-canva-link {
  color: var(--coral);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}
.media-download-canva-link:hover {
  color: var(--blue);
}
html[lang="fr"] .media-download-canva--en-only,
html[lang="es"] .media-download-canva--en-only {
  display: none;
}
.media-download-placeholder {
  display: none;
  text-align: center;
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1.375rem);
  font-weight: 600;
  font-style: italic;
  color: var(--body-text);
  opacity: 0.88;
  margin: -20px 0 40px;
  padding: clamp(40px, 8vw, 72px) 24px;
  border-radius: 14px;
  background: rgba(89, 94, 166, 0.08);
  border: 1px dashed rgba(89, 94, 166, 0.35);
}
html[lang="fr"] #templates-posts .media-download-grid,
html[lang="es"] #templates-posts .media-download-grid,
html[lang="fr"] #templates-stories .media-download-grid,
html[lang="es"] #templates-stories .media-download-grid {
  display: none;
}
html[lang="fr"] #templates-posts .media-download-placeholder,
html[lang="es"] #templates-posts .media-download-placeholder,
html[lang="fr"] #templates-stories .media-download-placeholder,
html[lang="es"] #templates-stories .media-download-placeholder {
  display: block;
}
.media-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 36px 28px;
  align-items: start;
}
.media-download-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: none;
  border: none;
  padding: 0;
  box-shadow: none;
}
.media-download-img {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.media-download-img--story {
  max-width: 320px;
  margin: 0 auto;
  width: 100%;
}
.media-download-btn {
  align-self: center;
}
/* ——— Key messages ——— */
#messages {
  background: var(--linen);
  padding: 100px 0;
}
.messages-lead {
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1.375rem);
  font-weight: 600;
  color: var(--body-text);
  line-height: 1.72;
  margin-bottom: 40px;
  max-width: none;
  text-align: left;
}
.messages-subheading {
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: var(--violet);
  margin-bottom: 20px;
  text-align: left;
}
.core-messages-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.core-messages-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.22rem);
  font-weight: 600;
  line-height: 1.68;
  color: var(--body-text);
  border-left: 6px solid var(--coral);
  box-shadow: 0 2px 14px rgba(24, 72, 128, 0.06);
}
.core-messages-list li:nth-child(5n+1) { border-left-color: var(--coral); }
.core-messages-list li:nth-child(5n+2) { border-left-color: var(--orange); }
.core-messages-list li:nth-child(5n+3) { border-left-color: var(--green); }
.core-messages-list li:nth-child(5n+4) { border-left-color: var(--blue); }
.core-messages-list li:nth-child(5n) { border-left-color: var(--violet); }
.messages-accordion {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
#messages .accordion-item {
  border-radius: 14px;
  overflow: hidden;
  border: 4px solid #0a0a0a;
  background: var(--white);
  margin-bottom: 0;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
}
#messages .accordion-item.active {
  border-color: #0a0a0a;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18);
}
#messages .accordion-trigger {
  background: var(--white);
  padding: 20px 24px;
}
#messages .accordion-trigger:hover { background: rgba(96, 173, 143, 0.12); }
#messages .accordion-title { color: var(--body-text); font-size: 17px; font-weight: 700; }
#messages .accordion-icon {
  border: 3px solid #0a0a0a;
  color: #0a0a0a;
}
#messages .accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  color: var(--white);
  border-color: #0a0a0a;
  background: var(--coral);
}
#messages .accordion-body-inner {
  padding: 0 24px 24px;
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.75;
  background: var(--linen-deep);
}
#messages .accordion-item.active .accordion-trigger {
  border-bottom: 3px solid #0a0a0a;
}
.accordion-bullets {
  list-style: none;
  margin: 0;
  padding: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.accordion-bullets li {
  padding-left: 1.1em;
  position: relative;
}
.accordion-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.accordion-trigger {
  width: 100%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.2s;
  text-align: left;
}
.accordion-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 3px solid #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.2s, border-color 0.2s, color 0.2s;
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1);
}

/* ——— Data (dashboard) ——— */
#data.section-deep {
  background: linear-gradient(165deg, #1f2d50 0%, #3a2850 38%, #4a3018 100%);
  padding: 100px 0 0;
}
#data .section-label,
#data .section-heading,
#data .section-sub {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
#data .section-heading {
  color: var(--white);
}
#data .section-sub {
  color: rgba(255, 255, 255, 0.82);
  max-width: 52rem;
}
.data-intro {
  margin-bottom: 40px;
}
.data-board {
  margin-bottom: 40px;
}
.data-board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.data-board-title {
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  text-align: left;
  margin: 0;
}
.data-board-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  border: 2px solid rgba(255, 255, 255, 0.35);
  padding: 6px 12px;
  border-radius: 999px;
}
.data-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.data-tiles--dense {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.data-tile {
  text-align: left;
  border-radius: 14px;
  padding: 18px 18px 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  border-top: 6px solid var(--coral);
}
.data-tile--coral { border-top-color: var(--coral); }
.data-tile--orange { border-top-color: var(--orange); }
.data-tile--green { border-top-color: var(--green); }
.data-tile--blue { border-top-color: var(--blue); }
.data-tile--violet { border-top-color: var(--violet); }
.data-tile-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.data-tile-stat {
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1;
  color: var(--body-text);
  margin-bottom: 10px;
}
.data-tile-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--body-text);
  margin: 0;
}
.data-how-dash {
  margin-top: 8px;
  margin-bottom: 64px;
  background: rgba(0, 0, 0, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 28px 28px 32px;
}
.data-how-title {
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.28rem, 1.12rem + 0.55vw, 1.55rem);
  color: var(--white);
  margin: 0 0 20px;
  text-align: left;
}
.data-how-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.data-how-card {
  border-radius: 12px;
  padding: 20px 22px;
  text-align: left;
  font-size: clamp(1.02rem, 0.94rem + 0.38vw, 1.14rem);
  line-height: 1.62;
  color: var(--body-text);
  background: var(--white);
  border-left: 6px solid var(--blue);
}
.data-how-card--blue { border-left-color: var(--blue); }
.data-how-card--violet { border-left-color: var(--violet); }
.data-how-lead {
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.08rem, 0.98rem + 0.45vw, 1.22rem);
  margin-bottom: 10px;
  color: var(--blue);
  line-height: 1.35;
}
.data-how-card--violet .data-how-lead { color: var(--violet); }

.data-wave-out { line-height: 0; margin-top: 0; }

/* ——— Actions ——— */
#actions {
  background: var(--white);
  padding: 0 0 100px;
}
.action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.action-card {
  background: var(--white);
  border: 1px solid rgba(26, 26, 46, 0.22);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 14px rgba(26, 26, 46, 0.06);
}
.action-card--mint { border-top: 4px solid var(--green); }
.action-card--sky { border-top: 4px solid var(--violet); }
.action-card--yellow { border-top: 4px solid var(--orange); }
.action-card-time { font-family: 'Isidora', system-ui, sans-serif; font-weight: 700; font-size: 22px; color: var(--body-text); margin-bottom: 20px; text-align: center; }
.action-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.action-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; color: var(--body-text); line-height: 1.6; }
.action-check { color: var(--coral); font-weight: 700; flex-shrink: 0; margin-top: 2px; font-size: 18px; }

/* ——— Footer ——— */
#contact {
  background: linear-gradient(125deg, #c94755 0%, #b05912 48%, #7a3d10 100%);
  padding: 0;
}
.contact-block {
  padding: 64px 0 56px;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 42%);
  gap: 40px 48px;
  align-items: start;
}
.contact-main {
  min-width: 0;
  max-width: 640px;
  text-align: left;
  margin-top: clamp(20px, 2.8vw, 40px);
  margin-left: 0;
  margin-right: auto;
  justify-self: start;
}
.contact-section-label {
  color: var(--blue) !important;
  text-align: left !important;
}
.contact-aside {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 4px;
}
.footer-side-img {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
  object-fit: contain;
  object-position: top right;
  margin-left: auto;
}
.contact-heading {
  font-family: 'Isidora', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 36px;
  text-align: left;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.25);
}
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 720px;
  width: 100%;
  text-align: left;
  margin: 8px 0 0;
  padding: 0;
}
.contact-list li {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}
.contact-coord-li {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}
.contact-coord-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.contact-label {
  display: block;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
  font-size: clamp(1.08rem, 0.98rem + 0.5vw, 1.38rem);
  letter-spacing: 0.03em;
  line-height: 1.35;
}
.contact-coord-stack .contact-link {
  margin-left: 14px;
  font-size: clamp(1.02rem, 0.94rem + 0.38vw, 1.14rem);
  line-height: 1.55;
}
.contact-link {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
  transition: color 0.2s, border-color 0.2s;
}
.contact-link:hover {
  color: #fffde7;
  border-bottom-color: var(--violet);
}

.footer-strip {
  background: linear-gradient(180deg, #1a2f4d 0%, #0f1f33 100%);
  padding: 40px 0 44px;
  border-top: 3px solid rgba(222, 80, 95, 0.45);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.footer-brand { display: inline-block; line-height: 0; }
.footer-logo-img { height: 48px; width: auto; object-fit: contain; opacity: 0.95; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; justify-content: center; }
.footer-links a {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: #f4d88a; }
.footer-copy {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  width: 100%;
  letter-spacing: 0.02em;
}

/* ——— Scroll animations ——— */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

@media (max-width: 1100px) {
  html[lang="en"] .nav-links {
    gap: clamp(12px, 1.25vw, 22px);
  }
  html[lang="en"] .nav-links a {
    font-size: clamp(14px, 0.72vw + 0.42rem, 17px);
  }
  html[lang="fr"] .nav-links,
  html[lang="es"] .nav-links {
    gap: clamp(6px, 0.9vw, 12px);
  }
  html[lang="fr"] .nav-links a,
  html[lang="es"] .nav-links a {
    font-size: clamp(11.5px, 0.6vw + 0.36rem, 14.5px);
  }
  .nav-logo-img { height: 40px; }
}

/* Long FR/ES labels: keep one row between hamburger (768) and ~1100 */
@media (max-width: 920px) and (min-width: 769px) {
  html[lang="fr"] .nav-links,
  html[lang="es"] .nav-links {
    gap: 5px;
  }
  html[lang="fr"] .nav-links a,
  html[lang="es"] .nav-links a {
    font-size: 11px;
    letter-spacing: -0.02em;
  }
  html[lang="en"] .nav-links {
    gap: clamp(10px, 1.1vw, 16px);
  }
  html[lang="en"] .nav-links a {
    font-size: clamp(13px, 0.65vw + 0.38rem, 16px);
    letter-spacing: 0;
  }
  .nav-logo-img { height: 36px; }
}

@media (max-width: 1024px) {
  .container { padding: 0 40px; }
  .nav-inner { padding: 0 40px; }
  .footer-inner { padding: 0 40px; }
  .action-grid { grid-template-columns: repeat(2, 1fr); }
  .data-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .campaign-shell {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .campaign-header {
    max-width: none;
  }
}

@media (max-width: 960px) {
  .toolkit-rail-track {
    display: none;
  }
  .toolkit-rail-steps {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .toolkit-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 18px;
  }
  .toolkit-node {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .toolkit-card {
    min-height: 0;
    text-align: left;
    align-items: flex-start;
  }
  .toolkit-card-title,
  .toolkit-card-text {
    text-align: left;
  }
  .toolkit-card-tags {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    max-height: none;
  }
  .hero-panel--left {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    margin-right: 0;
    min-height: 280px;
  }
  .hero-panel--right {
    margin-left: 0;
    min-height: 220px;
    max-height: 340px;
  }
  .hero-right-frame {
    justify-content: center;
    padding: clamp(16px, 4vw, 32px);
  }
  .hero-right-img {
    transform: none;
    object-position: center;
  }
  .hero-copy {
    max-width: none;
    padding: 28px 24px 36px;
  }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .footer-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .letter-sheet { padding: 32px 24px 40px; }

  #letter-heading.section-heading {
    font-size: clamp(28px, 7vw, 40px);
  }

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

  .data-tiles,
  .data-tiles--dense {
    grid-template-columns: 1fr;
  }
  .data-how-grid {
    grid-template-columns: 1fr;
  }
  .campaign-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-aside {
    justify-content: flex-end;
    align-self: stretch;
    padding-top: 0;
  }
  .footer-side-img {
    max-width: min(480px, 100%);
    margin-left: auto;
    margin-right: 0;
  }
  .contact-main { max-width: none; margin-left: 0; margin-top: clamp(12px, 2.5vw, 28px); }

  #letter, #toolkit-guide, #campaign, #templates-posts, #templates-stories, #messages, #data, #actions, .contact-block { padding-top: 72px; padding-bottom: 72px; }
  #campaign { padding-bottom: 0; }
  #toolkit-guide { padding-bottom: 0; }
}
