/* nourishthechildren.co.uk - shared stylesheet. No external fonts, scripts or images. */
:root {
  --bg: #fffaf2;
  --bg-alt: #f6efe3;
  --panel: #ffffff;
  --line: #e3d9c7;
  --text: #1f2a24;
  --muted: #4f5d54;
  --green: #1f5a41;
  --green-dark: #153f2d;
  --accent: #b34a10;
  --accent-dark: #8f3a0b;
  --soft: #fde9d4;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; }

/* Top disclosure strip */
.strip { background: var(--green-dark); color: #f3ece0; font-size: .85rem; text-align: center; padding: .45rem 1rem; }
.strip a { color: #fff; }

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.25rem; padding-top: .9rem; padding-bottom: .9rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--green-dark); font-weight: 800; letter-spacing: -0.01em; font-size: 1.2rem; text-decoration: none; line-height: 1.1; }
.brand svg { flex: none; }
.brand small { display: block; font-weight: 500; font-size: .75rem; color: var(--muted); letter-spacing: 0; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.2rem; font-size: .95rem; }
.nav a { color: var(--text); text-decoration: none; padding: .35rem 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 6px; }
.nav .btn { color: #fff; padding: .5rem 1.1rem; font-size: .92rem; text-decoration: none; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid var(--accent); cursor: pointer; font-size: 1rem; font-family: inherit; transition: background .15s ease; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn-ghost:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--soft), var(--bg)); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: 4rem; padding-bottom: 3.5rem; }
.hero-copy { max-width: 720px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-dark); background: #fff; border: 1px solid var(--line); padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1.1rem; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .75rem; color: var(--green-dark); }
h1 { font-size: clamp(2rem, 5.2vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.05rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
.lead { font-size: 1.2rem; color: #33403a; max-width: 62ch; }
.small { font-size: .9rem; color: var(--muted); }
.fine { font-size: .85rem; color: var(--muted); margin-top: 1rem; }

/* Sections */
section { padding: 3.75rem 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 2rem; }
.section-head p { color: var(--muted); margin: 0; }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0 0 .75rem; color: #34423a; }
.card p:last-child { margin-bottom: 0; }

.stats { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 0; padding: 0; list-style: none; }
.stats li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.stats strong { display: block; font-size: 2.1rem; line-height: 1.1; color: var(--accent-dark); font-weight: 800; }
.stats span { color: var(--muted); font-size: .95rem; }

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.steps li { counter-increment: step; position: relative; padding: 1.2rem 1.25rem 1.2rem 4.25rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); position: absolute; left: 1.25rem; top: 1.1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps h3 { margin-bottom: .25rem; }
.steps p { margin: 0; color: #34423a; }

.callout { border-left: 5px solid var(--accent); background: #fff3e4; padding: 1.1rem 1.4rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0; }
.callout p { margin: 0 0 .6rem; }
.callout p:last-child { margin-bottom: 0; }
.callout.green { border-left-color: var(--green); background: #eaf3ee; }

ul.ticks { list-style: none; padding: 0; margin: 1rem 0; }
ul.ticks li { position: relative; padding-left: 1.8rem; margin: .5rem 0; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: .9rem; height: .5rem; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg) translateY(-50%); }

.split { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; } }

/* Table */
.table-wrap { overflow-x: auto; }
table.facts { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts th, .facts td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.facts thead th { background: var(--green); color: #fff; }
.facts tbody th { font-weight: 700; color: var(--green-dark); }

/* FAQ */
details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin: .75rem 0; }
summary { cursor: pointer; padding: 1.05rem 1.4rem; font-weight: 700; color: var(--green-dark); list-style: none; position: relative; padding-right: 3rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.5rem; font-weight: 400; }
details[open] summary::after { content: "\2212"; }
details .answer { padding: 0 1.4rem 1.2rem; color: #34423a; }
details .answer p:first-child { margin-top: 0; }

/* Page text */
.page-title { padding: 3rem 0 1.5rem; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-title p { color: var(--muted); max-width: 60ch; margin: 0; font-size: 1.1rem; }
.page-title h1 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); }
.prose { padding: 2.5rem 0 3.5rem; }
.prose h2 { margin-top: 2.25rem; }
.prose h3 { margin-top: 1.5rem; }
.prose .src { font-size: .92rem; color: var(--muted); }

/* Form */
form.enquiry { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: 1.1rem; }
form.enquiry label { font-weight: 700; display: block; margin-bottom: .3rem; color: var(--green-dark); }
form.enquiry .opt { font-weight: 400; color: var(--muted); }
form.enquiry input[type=text], form.enquiry input[type=email], form.enquiry input[type=tel], form.enquiry select, form.enquiry textarea {
  width: 100%; font: inherit; padding: .7rem .85rem; border: 1px solid #b9ad97; border-radius: 10px; background: #fff; color: var(--text); }
form.enquiry textarea { min-height: 9rem; resize: vertical; }
form.enquiry .check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; color: var(--text); }
form.enquiry .check input { margin-top: .35rem; width: 1.1rem; height: 1.1rem; flex: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

.cta-band { text-align: center; background: var(--green-dark); color: #f3ece0; }
.cta-band h2 { color: #fff; }
.cta-band .lead { margin-left: auto; margin-right: auto; color: #e9e0d0; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-ghost { color: #fff; border-color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--green-dark); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #f0e8d8; padding: 3rem 0 2.5rem; font-size: .92rem; color: #3d4a42; }
.site-footer .cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 2rem; }
.site-footer h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .35rem 0; }
.site-footer a { color: var(--green-dark); }
.disclosure { border-top: 1px solid var(--line); padding-top: 1.5rem; font-size: .85rem; line-height: 1.6; }
.disclosure p { margin: 0 0 .75rem; }

@media (max-width: 640px) {
  section { padding: 2.75rem 0; }
  .hero .wrap { padding-top: 2.5rem; padding-bottom: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Cookie consent */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: #fff; border-top: 3px solid var(--green); box-shadow: 0 -6px 24px rgba(0,0,0,.15); padding: 1rem 0; }
.consent .wrap { display: grid; gap: .75rem 1.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 820px) { .consent .wrap { grid-template-columns: 1fr auto; } }
.consent p { margin: 0; font-size: .92rem; }
.consent .btn-row { margin: 0; }
.consent .btn { padding: .6rem 1.1rem; font-size: .92rem; }

/* Photos */
img { max-width: 100%; height: auto; display: block; }
.hero-grid { display: grid; gap: 2rem 3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero-img img { width: 100%; border-radius: 22px; box-shadow: 0 18px 40px rgba(31,42,36,.18); aspect-ratio: 4 / 3; object-fit: cover; }
.photo-band { width: 100%; line-height: 0; }
.photo-band img { width: 100%; height: clamp(180px, 28vw, 380px); object-fit: cover; object-position: center 40%; }
.steps li .step-img { margin-top: .9rem; width: 100%; max-width: 420px; }
.step-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.card-img { width: calc(100% + 3rem); max-width: none; margin: -1.5rem -1.5rem 1.1rem; }
.card-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; border-radius: 12px; }
.photo-row { display: grid; gap: .75rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
@media (min-width: 700px) { .photo-row { grid-template-columns: repeat(3, 1fr); } }
.photo-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.banner { margin-bottom: 2rem; }
.banner img { width: 100%; height: clamp(180px, 30vw, 340px); object-fit: cover; border-radius: var(--radius); }
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } }
.aside-img img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.cta-photo { background-image: linear-gradient(rgba(21,63,45,.84), rgba(21,63,45,.84)), url(/img/cta.jpg); background-size: cover; background-position: center; }
.site-footer .credit { margin: 0 0 .75rem; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .steps li { display: flex; flex-direction: column; }
  .steps li .step-img { margin-top: auto; padding-top: .9rem; flex: 1 1 auto; display: flex; min-height: 340px; }
  .step-img img { flex: 1 1 auto; height: auto; min-height: 0; aspect-ratio: auto; object-position: center 12%; }
  .step-img .credit-tag { bottom: .5rem; }
  .steps li { padding: 4.2rem 1.25rem 1.25rem; }
  .steps li::before { top: 1.1rem; }
  .steps li .step-img { max-width: none; }
}

/* Photo credits */
.ph { display: block; position: relative; line-height: 0; }
.ph img { display: block; }
.credit-tag { position: absolute; left: 50%; transform: translateX(-50%); bottom: .5rem; white-space: nowrap; font: 500 .68rem/1.2 system-ui, sans-serif; letter-spacing: .01em; color: #fff; background: rgba(20,28,24,.62); padding: .22rem .5rem; border-radius: 999px; text-decoration: none; }
.credit-tag:hover, .credit-tag:focus-visible { background: rgba(20,28,24,.9); text-decoration: underline; }
.cta-photo { position: relative; }
.photo-band { position: relative; }

.inline-pic { margin: 1.75rem 0 2rem; }
.inline-pic img { width: 100%; height: auto; max-height: 440px; object-fit: cover; border-radius: var(--radius); }

.step-tall img { object-position: center 12%; }
@media (max-width: 899px) { .step-tall img { aspect-ratio: 4 / 5; } }
