/* ================================================================
   LES PETITS CUISINIERS DE LIMOGES — Warm & Human Community
   ================================================================ */

:root {
  --terracotta:      #D4522A;
  --terracotta-lt:   #E8876A;
  --terracotta-pale: #F5C4AE;
  --terracotta-bg:   #FBE9DF;
  --cream:           #FFF3E0;
  --cream-dk:        #F7EDD8;
  --cream-mid:       #FDFAF5;
  --brown-deep:      #2D1A0E;
  --brown-mid:       #5C3317;
  --brown-warm:      #8B5A2B;
  --white:           #FFFFFF;

  --r-sm: 12px;
  --r-md: 24px;
  --r-lg: 40px;
  --r-xl: 60px;

  --sh-sm: 0 2px 10px rgba(45,26,14,.10);
  --sh-md: 0 6px 26px rgba(45,26,14,.14);
  --sh-lg: 0 14px 52px rgba(45,26,14,.18);
  --sh-pol: 3px 8px 28px rgba(45,26,14,.22);
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: var(--cream-mid);
  color: var(--brown-deep);
  line-height: 1.8;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Typography ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--brown-deep);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

.label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--terracotta);
  margin-bottom: .6rem;
}

/* ── Layout ─────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.section       { padding: 88px 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--bg    { background: var(--terracotta-bg); }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  font-weight: 800;
  font-size: 1.02rem;
  padding: 14px 34px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(212,82,42,.32);
  transition: transform .18s, box-shadow .18s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,82,42,.42); color: var(--white); text-decoration: none; }

.btn--white {
  background: var(--white);
  color: var(--terracotta);
  box-shadow: 0 4px 18px rgba(45,26,14,.14);
}
.btn--white:hover { color: var(--terracotta); box-shadow: 0 8px 28px rgba(45,26,14,.22); }

/* ── HEADER / NAV ─────────────────────────────── */
.site-header {
  background: var(--cream);
  border-bottom: 2px dotted var(--terracotta-pale);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-lockup:hover { text-decoration: none; }
.brand-logo    { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.brand-wordmark { height: 30px; width: auto; object-fit: contain; }

.site-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.site-nav a {
  font-weight: 700;
  font-size: .9rem;
  color: var(--brown-deep);
  padding: 7px 14px;
  border-radius: 999px;
  transition: background .18s, color .18s;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a.active {
  background: var(--terracotta);
  color: var(--white);
  text-decoration: none;
}
.nav-cta {
  background: var(--terracotta) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
}
.nav-cta:hover { background: var(--brown-mid) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--terracotta);
  border-radius: var(--r-sm);
  padding: 6px 10px;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--terracotta);
  line-height: 1;
}

/* ── FOOTER ─────────────────────────────────── */
.site-footer {
  background: var(--brown-deep);
  color: var(--cream);
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}
.footer-brand .brand-logo    { filter: brightness(0) invert(1); }
.footer-brand .brand-wordmark { filter: invert(1) brightness(2); }
.footer-brand p {
  font-size: .9rem;
  color: var(--terracotta-pale);
  margin-top: 16px;
  line-height: 1.7;
}
.footer-col h4 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--terracotta-pale);
  margin-bottom: 14px;
  color: var(--terracotta-lt);
}
.footer-col a {
  display: block;
  color: rgba(255,243,224,.82);
  font-size: .9rem;
  margin-bottom: 9px;
  text-decoration: none;
}
.footer-col a:hover { color: var(--cream); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,243,224,.12);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .8rem;
  color: var(--terracotta-pale);
  opacity: .85;
}
.footer-emails a { color: var(--terracotta-lt); }
.footer-emails a:hover { text-decoration: underline; }

/* ── SQUIGGLE DIVIDERS ───────────────────────── */
.squiggle {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  height: 44px;
}
.squiggle svg { display: block; width: 100%; height: 44px; }

/* ── STAMP BADGE ─────────────────────────────── */
.stamp {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 3px dashed var(--terracotta);
  background: var(--cream);
  color: var(--terracotta);
  font-weight: 800;
  font-size: .72rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.3;
  padding: 14px;
  box-shadow: var(--sh-sm);
  flex-shrink: 0;
}
.stamp .stamp-n { font-size: 1.9rem; line-height: 1; display: block; }
.stamp--rotate  { transform: rotate(-9deg); }

/* ── POLAROID ─────────────────────────────────── */
.polaroid {
  background: var(--white);
  padding: 10px 10px 30px 10px;
  border-radius: 3px;
  box-shadow: var(--sh-pol);
  display: inline-block;
}
.polaroid img      { width: 100%; border-radius: 2px; display: block; }
.polaroid .caption { font-size: .8rem; font-weight: 700; color: var(--brown-warm); text-align: center; margin-top: 10px; font-style: italic; }
.pol-left    { transform: rotate(-3.5deg); }
.pol-right   { transform: rotate(2.5deg); }
.pol-slight  { transform: rotate(1deg); }

/* ── HERO ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 700px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(45,26,14,.38) 0%,
    rgba(45,26,14,.12) 45%,
    rgba(45,26,14,.6)  100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 28px 220px;
  width: 100%;
}
.hero-tagline {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  max-width: 700px;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 14px rgba(45,26,14,.45);
}
.hero-sub {
  color: rgba(255,243,224,.93);
  font-size: clamp(.95rem, 2vw, 1.15rem);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 34px;
  text-shadow: 0 1px 8px rgba(45,26,14,.35);
}

/* Hero overlap */
.hero-overlap {
  position: relative;
  z-index: 4;
  margin-top: -150px;
  padding-bottom: 0;
}
.overlap-card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 48px 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
  border: 2px solid var(--cream-dk);
  position: relative;
}
.stamp-anchor {
  position: absolute;
  top: -20px;
  right: -24px;
}
.stat-item { text-align: center; }
.stat-n {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-l {
  font-size: .88rem;
  color: var(--brown-mid);
  font-weight: 600;
  line-height: 1.4;
}

/* ── PAGE HERO (inner pages) ─────────────────── */
.page-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.page-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(45,26,14,.3), rgba(45,26,14,.65));
  display: flex;
  align-items: flex-end;
  padding-bottom: 52px;
}
.page-hero-text {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
}
.page-hero-text h1 { color: var(--white); text-shadow: 0 2px 14px rgba(45,26,14,.45); }
.page-hero-text p  { color: rgba(255,243,224,.9); max-width: 560px; font-size: 1.05rem; margin-top: 10px; }

/* ── INTRO SPLIT ─────────────────────────────── */
.intro-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 72px;
  align-items: center;
}
.intro-text h2   { margin-bottom: 24px; }
.intro-text p    { color: var(--brown-mid); font-size: 1.01rem; line-height: 1.88; }

.photo-stack {
  position: relative;
  height: 420px;
}
.photo-stack .polaroid {
  position: absolute;
  width: 76%;
}
.photo-stack .polaroid:first-child { top: 0; left: 0; z-index: 2; }
.photo-stack .polaroid.back        { bottom: 0; right: -12px; z-index: 1; transform: rotate(5deg); opacity: .92; }

/* ── HIGHLIGHTS ──────────────────────────────── */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.highlight-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 36px 30px;
  box-shadow: var(--sh-md);
  border: 2px dotted var(--terracotta-pale);
  transition: transform .18s, box-shadow .18s;
}
.highlight-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.highlight-card:nth-child(2) { margin-top: 40px; }
.hi-icon   { font-size: 2.2rem; margin-bottom: 16px; display: block; }
.highlight-card h3 { font-size: 1.22rem; margin-bottom: 12px; }
.highlight-card p  { color: var(--brown-mid); font-size: .93rem; line-height: 1.78; margin: 0; }

/* ── FULL-BLEED PHOTO STRIP ──────────────────── */
.photo-strip {
  width: 100%;
  overflow: hidden;
}
.photo-strip img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--r-md);
  display: block;
}

/* ── BLOG CARDS ──────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.blog-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-md);
  transition: transform .18s, box-shadow .18s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.blog-card:nth-child(2) { margin-top: 40px; }
.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.blog-card-body { padding: 26px 22px 28px; }
.blog-card h3   { font-size: 1.07rem; margin-bottom: 10px; line-height: 1.38; }
.blog-card p    { font-size: .88rem; color: var(--brown-mid); line-height: 1.65; margin-bottom: 16px; }
.read-more {
  font-size: .86rem;
  font-weight: 700;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.read-more:hover { text-decoration: underline; }

/* ── PROGRAMMES ──────────────────────────────── */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: start;
}
.prog-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 36px 32px;
  box-shadow: var(--sh-md);
  border-left: 5px solid var(--terracotta);
  transition: transform .18s;
}
.prog-card:hover    { transform: translateY(-3px); }
.prog-card:nth-child(even) { margin-top: 32px; }
.prog-icon { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.prog-card h3      { margin-bottom: 10px; }
.prog-card .blurb  { color: var(--brown-mid); font-size: .93rem; margin-bottom: 14px; }
.prog-card .detail {
  color: var(--brown-warm);
  font-size: .86rem;
  line-height: 1.72;
  border-top: 1.5px dashed var(--terracotta-pale);
  padding-top: 14px;
  margin-top: 14px;
}

/* ── WAYS ─────────────────────────────────────── */
.ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.way-card {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 42px 30px;
  text-align: center;
  border: 2px solid var(--terracotta-pale);
  box-shadow: var(--sh-sm);
  transition: transform .18s, box-shadow .18s;
}
.way-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.way-card:nth-child(2) {
  margin-top: 36px;
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}
.way-card:nth-child(2) h3,
.way-card:nth-child(2) p  { color: var(--white); }
.way-icon  { font-size: 2.6rem; margin-bottom: 18px; display: block; }
.way-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.way-card p  { font-size: .91rem; line-height: 1.75; margin: 0; color: var(--brown-mid); }

/* ── TRUSTEES ─────────────────────────────────── */
.trustees-row {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}
.trustee-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 32px 36px;
  text-align: center;
  box-shadow: var(--sh-md);
  border-top: 4px solid var(--terracotta);
  min-width: 190px;
}
.trustee-avatar {
  width: 66px; height: 66px;
  border-radius: 50%;
  background: var(--terracotta-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 14px;
}
.trustee-name { font-weight: 800; font-size: 1rem; color: var(--brown-deep); margin-bottom: 4px; }
.trustee-role { font-size: .84rem; color: var(--terracotta); font-weight: 600; }

/* ── CTA BAND ─────────────────────────────────── */
.cta-band {
  background: var(--terracotta);
  padding: 88px 0;
  text-align: center;
}
.cta-band h2     { color: var(--white); margin-bottom: 28px; }
.cta-band p      { color: rgba(255,255,255,.88); max-width: 560px; margin: 0 auto 32px; font-size: 1.02rem; line-height: 1.72; }

/* ── STORY / MISSION ─────────────────────────── */
.prose-block {
  max-width: 800px;
  margin: 0 auto;
}
.prose-block h2   { margin-bottom: 28px; }
.prose-block p    { color: var(--brown-mid); font-size: 1.02rem; line-height: 1.9; }

.mission-box {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 52px 56px;
  border-left: 6px solid var(--terracotta);
  box-shadow: var(--sh-md);
  max-width: 860px;
  margin: 0 auto;
}
.mission-box p {
  font-size: 1.06rem;
  line-height: 1.9;
  color: var(--brown-mid);
  font-style: italic;
}

/* ── SPLIT PHOTO SECTION ─────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.flip { direction: rtl; }
.split.flip > * { direction: ltr; }
.split-photo { position: relative; }
.split-photo img {
  width: 100%;
  border-radius: var(--r-md);
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--sh-md);
}
.split-deco {
  position: absolute;
  bottom: -22px; right: -22px;
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 2.5px dashed var(--terracotta);
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  box-shadow: var(--sh-sm);
}
.split-text h2    { margin-bottom: 22px; }
.split-text p     { color: var(--brown-mid); font-size: 1rem; line-height: 1.88; }

/* ── CONTACT ─────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 72px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 18px; }
.contact-info p  { color: var(--brown-mid); font-size: .97rem; line-height: 1.8; margin-bottom: 24px; }
.contact-item {
  display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start;
}
.contact-item-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contact-item-txt  { font-size: .94rem; color: var(--brown-mid); line-height: 1.65; }
.contact-item-txt a { color: var(--terracotta); }
.contact-item-txt a:hover { text-decoration: underline; }

.form-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 52px 48px;
  box-shadow: var(--sh-lg);
  border: 2px dotted var(--terracotta-pale);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group       { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: 7px;
  color: var(--brown-deep);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--cream-dk);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--brown-deep);
  background: var(--cream-mid);
  outline: none;
  transition: border-color .18s, background .18s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--terracotta);
  background: var(--white);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* ── ARTICLE ─────────────────────────────────── */
.article-cover {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.article-header {
  max-width: 780px;
  margin: 52px auto 0;
  padding: 0 28px;
}
.article-header h1 { margin-bottom: 20px; }
.article-dek {
  font-size: 1.12rem;
  color: var(--brown-mid);
  line-height: 1.72;
  font-style: italic;
  border-left: 4px solid var(--terracotta);
  padding-left: 22px;
  margin-bottom: 8px;
}
.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 44px 28px 90px;
}
.article-body p {
  margin-bottom: 1.55em;
  font-size: 1.04rem;
  line-height: 1.9;
  color: var(--brown-deep);
}
.article-back {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 28px 40px;
}
.article-back a {
  font-weight: 700;
  color: var(--terracotta);
  font-size: .9rem;
}

/* ── BREADCRUMB / UTILS ──────────────────────── */
.text-center { text-align: center; }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 960px) {
  .intro-split        { grid-template-columns: 1fr; gap: 36px; }
  .photo-stack        { display: none; }
  .highlight-grid     { grid-template-columns: 1fr; }
  .highlight-card:nth-child(2) { margin-top: 0; }
  .blog-grid          { grid-template-columns: 1fr; }
  .blog-card:nth-child(2) { margin-top: 0; }
  .ways-grid          { grid-template-columns: 1fr; }
  .way-card:nth-child(2) { margin-top: 0; }
  .prog-grid          { grid-template-columns: 1fr; }
  .prog-card:nth-child(even) { margin-top: 0; }
  .split              { grid-template-columns: 1fr; gap: 36px; }
  .split.flip         { direction: ltr; }
  .contact-grid       { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .overlap-card       { grid-template-columns: 1fr; max-width: 360px; padding: 36px 28px; }
  .hero-inner         { padding-bottom: 180px; }
  .hero-overlap       { margin-top: -110px; }
  .mission-box        { padding: 36px 28px; }
}

@media (max-width: 640px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 16px 24px 20px;
    border-top: 1px solid var(--cream-dk);
    box-shadow: var(--sh-md);
    z-index: 200;
  }
  .site-nav.open    { display: flex; }
  .site-nav a       { padding: 10px 14px; width: 100%; }
  .nav-toggle       { display: block; }

  .footer-grid      { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom    { flex-direction: column; align-items: flex-start; }

  .hero-inner       { padding: 70px 20px 160px; }
  .hero-overlap     { margin-top: -90px; }
  .page-hero        { height: 300px; }
  .section          { padding: 60px 0; }
  .form-row         { grid-template-columns: 1fr; }
  .form-card        { padding: 32px 20px; }
  .trustees-row     { flex-direction: column; align-items: center; }
  .article-cover    { max-height: 280px; }
}
