/* ============================================================
   PETITS CUISINIERS DE REIMS — Design System
   Archetype: Warm & Human Community / Scrapbook
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: #D4522A; text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ---------- Variables ---------- */
:root {
  --tc:       #D4522A;
  --tc-lit:   #E8855A;
  --tc-pale:  #FDDCCC;
  --cream:    #FFF3E0;
  --cream-2:  #F5E2CA;
  --cream-3:  #E8D0AF;
  --brown:    #2C1810;
  --brown-m:  #5C3010;
  --white:    #FFFFFF;
  --shad:     0 4px 20px rgba(44,24,16,.10);
  --shad-c:   0 8px 32px rgba(44,24,16,.18);
  --shad-d:   0 16px 48px rgba(44,24,16,.22);
  --r-xl:     24px;
  --r-lg:     16px;
  --r-md:     10px;
  --r-sm:     6px;
}

/* ---------- Base Typography ---------- */
body {
  font-family: ui-rounded, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  background: var(--cream);
  color: var(--brown);
  line-height: 1.8;
  font-size: 1rem;
}

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--brown);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.55rem); }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { color: var(--tc); }

/* ---------- Layout ---------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.two-col.flip > :first-child { order: 2; }
.two-col.flip > :last-child  { order: 1; }

/* ---------- Section title ---------- */
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--tc);
  background: var(--tc-pale);
  border-radius: 999px;
  padding: .3em 1em;
  margin-bottom: .9rem;
}

.section-title { margin-bottom: 3rem; }
.section-title h2 { margin-bottom: .7rem; }
.section-title p { color: var(--brown-m); font-size: 1.05rem; max-width: 620px; }
.section-title.center { text-align: center; }
.section-title.center p { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .85em 2em;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
  border: none;
  text-decoration: none;
  line-height: 1.3;
}

.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn-primary {
  background: var(--tc);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(212,82,42,.35);
}
.btn-primary:hover { background: #b84120; box-shadow: 0 8px 24px rgba(212,82,42,.45); }

.btn-outline {
  background: transparent;
  color: var(--tc);
  border: 2.5px solid var(--tc);
}
.btn-outline:hover { background: var(--tc-pale); }

.btn-white {
  background: var(--white);
  color: var(--tc);
  box-shadow: 0 4px 16px rgba(44,24,16,.2);
}
.btn-white:hover { background: var(--cream); }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 2px dotted var(--cream-3);
  position: sticky;
  top: 0;
  z-index: 200;
  padding: .65rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-lockup .logo-icon  { height: 44px; width: auto; }
.brand-lockup .wordmark   { height: 30px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(.3rem, 1.5vw, 1.1rem);
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--brown-m);
  font-weight: 700;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .3em .6em;
  border-radius: var(--r-sm);
  transition: background .15s, color .15s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--tc-pale);
  color: var(--tc);
  text-decoration: none;
}

.nav-cta {
  background: var(--tc) !important;
  color: var(--white) !important;
  padding: .4em 1.1em !important;
  border-radius: 999px !important;
}
.nav-cta:hover { background: #b84120 !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--cream-3);
  border-radius: var(--r-sm);
  padding: .45rem .6rem;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brown);
  color: #E8D5C4;
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 1.5rem;
}

.footer-brand .logo-icon  { height: 44px; filter: brightness(0) invert(1); margin-bottom: .6rem; }
.footer-brand .wordmark   { height: 28px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-brand p { font-size: .86rem; opacity: .7; line-height: 1.65; }

.footer-col h4 {
  color: var(--white);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .85rem;
}

.footer-col li { margin-bottom: .35rem; }
.footer-col a { color: #E8D5C4; font-size: .88rem; opacity: .75; transition: opacity .15s; }
.footer-col a:hover { opacity: 1; text-decoration: none; }

.footer-emails a {
  display: block;
  color: var(--tc-pale);
  font-size: .83rem;
  word-break: break-word;
  margin-bottom: .4rem;
  font-weight: 600;
}
.footer-emails a:hover { opacity: 1; text-decoration: underline; }

.footer-bottom { text-align: center; font-size: .78rem; opacity: .5; }

/* ---------- Hero (Homepage) ---------- */
.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  filter: brightness(.68) saturate(1.1);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(44,24,16,.6) 0%, rgba(212,82,42,.22) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  color: var(--white);
  padding: 8rem 0 11rem;
}

.hero-eyebrow {
  font-style: italic;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tc-pale);
  margin-bottom: .8rem;
  opacity: .9;
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
  max-width: 680px;
}

.hero-content .hero-sub {
  font-size: clamp(.98rem, 1.8vw, 1.18rem);
  line-height: 1.75;
  opacity: .92;
  margin-bottom: 2.2rem;
  max-width: 600px;
}

/* ---------- Pull-Up Card (overlap hero) ---------- */
.pullup-wrap {
  background: var(--cream);
  position: relative;
}

.pullup-card {
  position: relative;
  z-index: 10;
  margin-top: -110px;
  max-width: 440px;
  margin-left: auto;
  margin-right: clamp(1rem, 6vw, 6rem);
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2rem 2.2rem;
  box-shadow: var(--shad-d);
  transform: rotate(1.4deg);
  border-top: 5px solid var(--tc);
}

.pullup-card h3 {
  color: var(--tc);
  font-size: 1.2rem;
  margin-bottom: .7rem;
}

.pullup-card p {
  font-size: .95rem;
  color: var(--brown-m);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

/* ---------- Squiggle Dividers ---------- */
.squiggle-wrap {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  margin: 1.5rem 0;
}
.squiggle-wrap svg { display: block; width: 100%; }
.squiggle-center {
  display: flex;
  justify-content: center;
  margin: 1.5rem auto;
}
.squiggle-center svg { width: 220px; }

/* ---------- Dot Row Decoration ---------- */
.dot-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin: 1.5rem 0;
}
.dot-row span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cream-3);
}
.dot-row span.big {
  width: 11px;
  height: 11px;
  background: var(--tc);
}

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: var(--tc);
  padding: 3.5rem 0;
}

.stats-grid {
  display: flex;
  gap: 2rem;
  justify-content: space-around;
  flex-wrap: wrap;
}

.stat-item { text-align: center; color: var(--white); }

.stat-item .stat-number {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1;
  display: block;
}

.stat-item .stat-label {
  font-size: .95rem;
  font-weight: 600;
  opacity: .82;
  max-width: 190px;
  display: block;
  margin: .35rem auto 0;
}

/* ---------- Highlight Cards ---------- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.highlight-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2rem;
  border: 2px dotted var(--cream-3);
  box-shadow: var(--shad);
  transition: transform .2s, box-shadow .2s;
}

.highlight-card:nth-child(2) { margin-top: 2.5rem; }
.highlight-card:nth-child(3) { margin-top: .8rem; }

.highlight-card:hover { transform: translateY(-5px); box-shadow: var(--shad-c); }

.highlight-icon { font-size: 2.2rem; display: block; margin-bottom: .9rem; }

.highlight-card h3 {
  font-size: 1.1rem;
  margin-bottom: .65rem;
  color: var(--tc);
}

.highlight-card p {
  font-size: .93rem;
  color: var(--brown-m);
  line-height: 1.75;
}

/* ---------- Polaroid Cards ---------- */
.polaroid {
  background: var(--white);
  padding: 12px 12px 42px;
  border-radius: 4px;
  box-shadow: var(--shad-d);
  transform: rotate(-2.2deg);
  display: inline-block;
}
.polaroid:nth-child(2n) { transform: rotate(1.8deg); }
.polaroid:nth-child(3n) { transform: rotate(-.9deg); }
.polaroid:nth-child(4n) { transform: rotate(2.5deg); }

.polaroid img {
  width: 100%;
  display: block;
  border-radius: 2px;
}

.polaroid figcaption {
  margin-top: .85rem;
  text-align: center;
  font-size: .85rem;
  color: var(--brown-m);
  font-style: italic;
  font-weight: 600;
}

/* ---------- Gallery Strip ---------- */
.gallery-strip {
  background: var(--cream-2);
  padding: 4rem 0;
  overflow: hidden;
}

.gallery-inner {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: .5rem 1rem 1.5rem;
}

.gallery-inner figure.polaroid { max-width: 260px; flex-shrink: 0; }

.gallery-inner figure.polaroid img {
  height: 200px;
  object-fit: cover;
  width: 100%;
  border-radius: var(--r-md);
}

/* ---------- Stamp Badge ---------- */
.stamp-badge {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  border: 3px dashed var(--tc);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  background: var(--cream);
  padding: 1rem;
  position: relative;
  flex-shrink: 0;
}
.stamp-badge::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1.5px dashed var(--tc-lit);
}

.stamp-text {
  font-size: .65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--tc);
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

/* ---------- Programme Cards ---------- */
.programme-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2rem 2.2rem;
  box-shadow: var(--shad);
  border-left: 5px solid var(--tc);
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  align-items: start;
  transition: box-shadow .2s;
}
.programme-card:hover { box-shadow: var(--shad-c); }

.programme-icon { font-size: 2rem; padding-top: .15rem; }
.programme-card h3 { color: var(--tc); margin-bottom: .4rem; font-size: 1.2rem; }
.programme-card .blurb { font-weight: 600; color: var(--brown-m); margin-bottom: .65rem; }
.programme-card .detail { font-size: .95rem; color: var(--brown-m); }

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--tc);
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  right: -120px;
  top: -180px;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  left: -80px;
  bottom: -120px;
}

.cta-section h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255,255,255,.88);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: var(--cream-2);
  padding: 0;
  overflow: hidden;
  position: relative;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  min-height: 380px;
  align-items: stretch;
}

.page-hero-text {
  padding: 4.5rem clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-hero-text h1 { margin-bottom: .75rem; }

.page-hero-text .lead {
  font-size: 1.1rem;
  max-width: 540px;
  color: var(--brown-m);
  line-height: 1.75;
}

.page-hero-photo {
  overflow: hidden;
  position: relative;
}

.page-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-xl) 0 0 var(--r-xl);
}

/* ---------- About page photo block ---------- */
.about-photo-block {
  position: relative;
  padding: 1rem;
}

.about-photo-block img {
  border-radius: var(--r-xl);
  width: 100%;
  box-shadow: var(--shad-d);
}

.about-photo-block .stamp-float {
  position: absolute;
  bottom: -20px;
  left: -20px;
}

/* ---------- Blog Cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shad);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shad-d); }

.blog-card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
  color: var(--brown);
  line-height: 1.45;
}

.blog-card-body .dek {
  font-size: .9rem;
  color: var(--brown-m);
  flex: 1;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.blog-card-body a.read-more {
  color: var(--tc);
  font-weight: 700;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

/* ---------- Article Page ---------- */
.article-banner {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.article-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.article-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(44,24,16,.15), rgba(44,24,16,.6));
}

.article-header {
  background: var(--cream-2);
  padding: 3.5rem 0 2.5rem;
  border-bottom: 2px dotted var(--cream-3);
}

.article-header h1 {
  max-width: 780px;
  margin-bottom: .9rem;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.article-header .dek {
  font-size: 1.1rem;
  max-width: 660px;
  color: var(--brown-m);
  font-style: italic;
  line-height: 1.7;
}

.article-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 3.5rem clamp(1rem, 4vw, 2.5rem);
  font-size: 1.05rem;
  line-height: 1.9;
}

.article-body p { margin-bottom: 1.5rem; }
.article-body p:last-child { margin-bottom: 0; }
.article-body strong { color: var(--tc); }

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info h3 { color: var(--tc); margin-bottom: .75rem; }
.contact-info p { color: var(--brown-m); }

.contact-info .email-block {
  margin-top: 1.5rem;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 1.4rem 1.8rem;
  border: 2px dotted var(--cream-3);
  box-shadow: var(--shad);
}

.contact-info .email-block h4 { margin-bottom: .6rem; }
.contact-info .email-block a {
  display: block;
  color: var(--tc);
  font-weight: 700;
  font-size: .9rem;
  word-break: break-word;
  margin-bottom: .3rem;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shad-c);
  border: 2px dotted var(--cream-3);
}

.contact-form-wrap h3 { margin-bottom: 1.5rem; color: var(--tc); }

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-weight: 700;
  font-size: .88rem;
  color: var(--brown-m);
  margin-bottom: .38rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .72em 1.1em;
  border: 2px solid var(--cream-3);
  border-radius: var(--r-lg);
  background: var(--cream);
  font-family: inherit;
  font-size: .97rem;
  color: var(--brown);
  transition: border-color .15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--tc);
  background: var(--white);
}

.form-group textarea { min-height: 130px; resize: vertical; }

/* ---------- Team Grid ---------- */
.trustees-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.trustee-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 1.4rem 1.8rem;
  border: 2px dotted var(--cream-3);
  box-shadow: var(--shad);
  min-width: 200px;
  flex: 1;
  text-align: center;
}

.trustee-card .t-name { font-weight: 900; font-size: 1rem; color: var(--brown); margin-bottom: .2rem; }
.trustee-card .t-role { font-size: .88rem; color: var(--tc); font-weight: 700; }

/* ---------- Intro text block ---------- */
.intro-block {
  max-width: 820px;
  font-size: 1.07rem;
  color: var(--brown-m);
  line-height: 1.85;
  border-left: 4px solid var(--tc-pale);
  padding-left: 1.8rem;
}

/* ---------- Ways cards (Get involved) ---------- */
.ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.way-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shad);
  border-top: 5px solid var(--tc);
  transition: transform .2s, box-shadow .2s;
}
.way-card:hover { transform: translateY(-4px); box-shadow: var(--shad-c); }
.way-card:nth-child(2) { margin-top: 2rem; }

.way-icon { font-size: 2.4rem; display: block; margin-bottom: .8rem; }
.way-card h3 { color: var(--tc); font-size: 1.1rem; margin-bottom: .6rem; }
.way-card p { font-size: .93rem; color: var(--brown-m); line-height: 1.75; }

/* ---------- Dotted background texture ---------- */
.dotted-bg {
  background-image: radial-gradient(var(--cream-3) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

/* ---------- Pull-quote / story box ---------- */
.story-box {
  background: var(--tc-pale);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  border-left: 5px solid var(--tc);
  font-size: 1rem;
  color: var(--brown);
  line-height: 1.85;
}

.story-box p { margin-bottom: 1rem; }
.story-box p:last-child { margin-bottom: 0; }

/* ---------- Mission box ---------- */
.mission-box {
  background: var(--brown);
  color: #E8D5C4;
  border-radius: var(--r-xl);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.mission-box::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 60px solid rgba(255,255,255,.04);
  right: -80px;
  top: -80px;
}

.mission-box h3 {
  color: var(--tc-pale);
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
  position: relative;
  z-index: 1;
}

.mission-box p {
  opacity: .85;
  line-height: 1.85;
  position: relative;
  z-index: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .highlights-grid { grid-template-columns: 1fr; }
  .highlight-card:nth-child(2),
  .highlight-card:nth-child(3) { margin-top: 0; }

  .ways-grid { grid-template-columns: 1fr 1fr; }
  .way-card:nth-child(2) { margin-top: 0; }

  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.flip > :first-child { order: 0; }
  .two-col.flip > :last-child  { order: 0; }

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

  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-photo { min-height: 280px; }
  .page-hero-photo img { border-radius: var(--r-xl) var(--r-xl) 0 0; }

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

  .pullup-card { margin-right: auto; transform: none; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 2px dotted var(--cream-3);
    padding: .75rem;
    gap: .1rem;
    box-shadow: 0 8px 24px rgba(44,24,16,.15);
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: .65em .9em; display: block; }

  .hero-content { padding-top: 5rem; padding-bottom: 8rem; }
  .pullup-card { margin-top: -70px; margin-right: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .ways-grid { grid-template-columns: 1fr; }
  .way-card:nth-child(2) { margin-top: 0; }

  .programme-card { grid-template-columns: 1fr; }
  .stats-grid { flex-direction: column; align-items: center; gap: 1.5rem; }

  .gallery-inner figure.polaroid { max-width: 200px; }
  .gallery-inner figure.polaroid img { height: 150px; }

  .article-banner { height: 240px; }
}
