/* ==========================================================================
   The Hwb Torfaen — site stylesheet
   Palette drawn from the HWB handprint mark: ink navy brush lettering,
   leaf-to-lime greens and cerulean blues from the watercolour hand.
   ========================================================================== */

:root {
  --ink: #12354e;
  --ink-deep: #0b2638;
  --ink-soft: #3d5a70;
  --green: #55a02c;
  --green-bright: #8dc63f;
  --green-deep: #3f7d1f;
  --blue: #1786c2;
  --blue-deep: #0e6da3;
  --teal: #64aaad;
  --paper: #f8fafb;
  --white: #ffffff;
  --line: #dce5eb;
  --grad: linear-gradient(90deg, var(--green-bright), var(--blue));
  --shadow-sm: 0 1px 3px rgba(18, 53, 78, 0.08), 0 4px 14px rgba(18, 53, 78, 0.06);
  --shadow-md: 0 2px 6px rgba(18, 53, 78, 0.08), 0 12px 32px rgba(18, 53, 78, 0.12);
  --shadow-lg: 0 6px 18px rgba(11, 38, 56, 0.16), 0 24px 60px rgba(11, 38, 56, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", Arial, sans-serif;
  --container: 1180px;
  --nav-surface: var(--ink);
  --nav-text: #f7fafc;
  --nav-muted: #bfd0da;
  --nav-line: #547183;
  --nav-hover: #24485f;
  --nav-accent: #b7db68;
  --nav-marker: #6ec3d1;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 112px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: #fbfdf9;
  -webkit-font-smoothing: antialiased;
}
/* User-approved brand background: preserve the washes and faint handprints. */
.canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }

a { color: var(--blue-deep); }
a:hover { color: #0b5a86; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; text-wrap: balance; }
h3 { font-size: 1.25rem; font-weight: 700; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 4vw, 2rem);
}

/* Accessibility ---------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.2rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Shared bits ------------------------------------------------------------ */

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin: 0 0 0.9rem;
}
.eyebrow .dot { color: var(--blue); padding: 0 0.35em; }

.swoosh {
  display: block;
  width: 76px;
  height: 5px;
  border-radius: 99px;
  background: var(--grad);
  margin: 1.1rem 0 1.4rem;
}
.swoosh.center { margin-left: auto; margin-right: auto; }

.section { padding: clamp(3.4rem, 7vw, 5.5rem) 0; }
.section.tinted { background: rgba(255, 255, 255, 0.45); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lede { font-size: 1.14rem; color: var(--ink-soft); }

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.85rem 1.7rem;
  border-radius: 99px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-deep); color: #fff; }
.btn-navy { background: var(--ink); color: #fff; }
.btn-navy:hover { background: var(--ink-deep); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.75); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.24); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* Hwb navigation: a quiet masthead and a full-height side drawer -------- */
[hidden] { display: none !important; }
a, button { -webkit-tap-highlight-color: transparent; }
.header-wrap { position: sticky; top: 0; z-index: 100; }
.site-header { position: relative; background: #fff; border-bottom: 1px solid var(--line); }
html:not(.js) .header-wrap { position: relative; }
.header-inner { max-width: 1320px; height: 82px; padding: 0 32px; margin: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; border-radius: 4px; }
.brand img { display: block; width: 104px; height: 55px; object-fit: contain; }
.header-place { margin: 0; font-size: .72rem; letter-spacing: .04em; color: #536b7b; }
.header-place span { margin: 0 10px; color: #a5b6c2; }
.header-controls { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.header-booking { display: inline-flex; align-items: center; gap: 22px; min-height: 44px; padding: 10px 17px; background: var(--ink); border: 0; border-radius: 5px; font-size: .8rem; font-weight: 600; box-shadow: none; }
.header-booking:hover { background: var(--ink-deep); transform: none; box-shadow: none; }
.header-booking span { color: var(--nav-accent); font-size: 1.2rem; line-height: 1; }
.nav-toggle { display: none; align-items: center; justify-content: center; gap: 15px; min-height: 44px; padding: 8px 0 8px 4px; border: 0; background: transparent; color: var(--ink); font-family: var(--font-head); font-size: .78rem; font-weight: 600; cursor: pointer; }
.js .nav-toggle { display: inline-flex; }
.menu-icon { display: grid; gap: 6px; width: 24px; }
.menu-icon i { display: block; height: 2px; width: 24px; background: currentColor; }
.menu-icon i:last-child { width: 16px; margin-left: auto; }
.nav-toggle:hover .menu-icon i:last-child { width: 24px; }
.brand:focus-visible, .nav-toggle:focus-visible, .header-booking:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.site-nav { background: var(--nav-surface); color: var(--nav-text); padding: 28px 36px; }
.js .site-nav { display: none; position: fixed; z-index: 3; inset: 0 0 0 auto; width: min(420px,100vw); height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; flex-direction: column; box-shadow: -12px 0 60px rgba(11,30,43,.14); }
.js .nav-open .site-nav { display: flex; animation: drawer-enter .25s ease both; }
@keyframes drawer-enter { from { transform: translateX(36px); opacity: .3; } to { transform: translateX(0); opacity: 1; } }
.drawer-top { position: sticky; top: 0; z-index: 1; background: var(--nav-surface); display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.drawer-top, .menu-links, .menu-footer { flex-shrink: 0; }
.drawer-top p { margin: 0; font-family: var(--font-head); font-size: .72rem; letter-spacing: .12em; font-weight: 600; text-transform: uppercase; }
.menu-close { display: none; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid var(--nav-line); border-radius: 50%; background: none; color: var(--nav-text); font: 300 30px/1 Arial,sans-serif; cursor: pointer; }
.js .menu-close { display: inline-grid; place-items: center; }
.menu-close:hover { background: var(--nav-hover); }
.menu-links { display: flex; flex-direction: column; gap: 17px; }
.menu-heading { margin: 0 0 5px; color: var(--nav-muted); font-family: var(--font-head); font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 600; }
.menu-group a { display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding: 5px 0; color: var(--nav-text); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 18px; line-height: 1.3; }
.menu-group a span { opacity: 0; color: var(--nav-accent); font-size: 20px; }
.menu-group a:hover { color: #bfe9ee; }
.menu-group a[aria-current=page] { color: #fff; background: var(--nav-hover); box-shadow: inset 3px 0 var(--nav-marker); padding-left: 12px; padding-right: 12px; margin-left: -12px; margin-right: -12px; border-radius: 3px; }
.menu-group a:hover span, .menu-group a[aria-current=page] span { opacity: 1; }
.site-nav a:focus-visible, .menu-close:focus-visible { outline: 2px solid var(--nav-accent); outline-offset: 4px; border-radius: 2px; }
.menu-footer { margin-top: auto; padding-top: 26px; }
.menu-donate { border-top: 1px solid var(--nav-line); padding: 17px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; color: var(--nav-text); font-size: .78rem; }
.menu-donate span { color: var(--nav-accent); font-weight: 700; white-space: nowrap; }
.menu-donate:hover { color: var(--nav-accent); }
.menu-footer > p { margin: 4px 0 0; color: var(--nav-muted); font-size: .68rem; line-height: 1.7; }
.nav-shade { display: none; }
.js .nav-open .nav-shade { display: block; position: fixed; z-index: 2; inset: 0; background: rgba(11,30,43,.35); backdrop-filter: blur(2px); }
@media (max-width: 760px) { .header-place { display: none; } }
@media (max-width: 600px) {
  .header-inner { height: 72px; padding: 0 20px; gap: 12px; }
  .brand img { width: 86px; height: 46px; }
  .header-controls { gap: 18px; }
  .header-booking { min-height: 42px; padding: 10px 13px; font-size: .72rem; gap: 12px; }
  .header-booking span { display: none; }
  .menu-label { display: none; }
  .nav-toggle { min-width: 32px; }
  .js .site-nav { width: min(390px, 100vw); padding: 24px 28px; }
}
@media (max-height: 760px) { .drawer-top { margin-bottom: 16px; } .menu-links { gap: 13px; } .menu-footer { padding-top: 18px; } }
@media (prefers-reduced-motion: reduce) { .js .nav-open .site-nav { animation: none; } }

/* Page intro — headline on paper, art presented clean below --------------- */

.page-intro {
  position: relative;
  overflow: hidden;
  background: transparent;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.4rem, 4vw, 3.2rem);
  text-align: center;
}
.page-intro .container { position: relative; z-index: 1; }
.page-intro h1 { font-weight: 700; max-width: 1000px; margin-left: auto; margin-right: auto; }
.page-intro h1 { margin-bottom: 0.35em; text-wrap: balance; }
.page-intro .swoosh { margin: 0 auto 1.3rem; }
.page-intro .lede {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 0 auto;
}
.page-intro .btn-row { justify-content: center; margin-top: 1.9rem; }

.page-art {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: clamp(2.2rem, 4vw, 3rem) auto 0;
  padding: 0 clamp(1.1rem, 4vw, 2rem);
}
.page-art img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  box-shadow: 0 6px 16px rgba(18, 53, 78, 0.1), 0 30px 70px rgba(18, 53, 78, 0.2);
}
@media (max-width: 700px) {
  .page-art img { aspect-ratio: 16 / 10; border-radius: 16px; }
}

/* Split feature rows ----------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split + .split { margin-top: clamp(3rem, 6vw, 5rem); }
.split-media { position: relative; }
.split-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split-media.natural img { aspect-ratio: auto; }
.split.flip .split-media { order: 2; }
.split .lede { color: var(--ink-soft); }

.float-chip {
  position: absolute;
  bottom: -1.1rem;
  right: 1.2rem;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 0.8rem 1.2rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  border-left: 5px solid;
  border-image: var(--grad) 1;
}
.float-chip strong { display: block; font-size: 1.3rem; color: var(--green-deep); }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.flip .split-media { order: 0; }
}

/* Feature list (ticks) --------------------------------------------------- */

.ticks { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.ticks li { position: relative; padding-left: 2rem; margin-bottom: 0.55rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1.05em;
  height: 1.05em;
  border-radius: 50%;
  background: var(--grad);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 0.28em;
  top: 0.56em;
  width: 0.5em;
  height: 0.26em;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
}

/* Stats band ------------------------------------------------------------- */

.stats-band {
  background: var(--ink-deep);
  color: #fff;
  position: relative;
  padding: clamp(3rem, 6vw, 4.4rem) 0;
}
.stats-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--grad);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 2rem 1.4rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  font-weight: 800;
  color: var(--green-bright);
  line-height: 1.1;
}
.stat-num .unit { font-size: 0.6em; }
.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.35rem;
}

/* Card grids ------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.7rem;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card img { transition: transform 0.5s ease; }
.card:hover img { transform: scale(1.045); }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 0.4rem; }
.card-body p { color: var(--ink-soft); font-size: 0.99rem; flex: 1; }
.card-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--green-deep);
  margin-top: 1rem;
}
.card-link:hover { color: var(--blue-deep); }
.card-link::after { content: " \2192"; }

.card-tag {
  align-self: flex-start;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: #e8f4fb;
  border-radius: 99px;
  padding: 0.28em 0.95em;
  margin-bottom: 0.7rem;
}
.card-tag.green { color: var(--green-deep); background: #eef6e4; }

/* Impact quotes ---------------------------------------------------------- */

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.impact-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 1.7rem 1.6rem 1.5rem;
  border-top: 6px solid;
  border-image: var(--grad) 1;
}
.impact-num {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  background: linear-gradient(100deg, var(--green-deep), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.impact-card p { color: var(--ink-soft); font-size: 0.98rem; margin-top: 0.6rem; }

/* Price / hire cards ----------------------------------------------------- */

.price-note {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--green-deep);
}
.price-note span { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }

.info-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.info-strip.five { grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); }
.info-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.6rem 1.5rem;
}
.info-tile h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.08rem; }
.info-tile .ico {
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grad);
  color: #fff;
}
.info-tile .ico svg { width: 1.3rem; height: 1.3rem; }
.info-tile p { color: var(--ink-soft); font-size: 0.98rem; }

/* CTA banner ------------------------------------------------------------- */

.cta-banner {
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: clamp(3.4rem, 7vw, 5.2rem) 0;
  background: linear-gradient(115deg, #0b2638 0%, #103449 55%, #0e3c58 100%);
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--grad);
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(42vmax 42vmax at 92% 130%, rgba(23, 134, 194, 0.35), transparent 62%),
    radial-gradient(34vmax 34vmax at -4% -50%, rgba(141, 198, 63, 0.22), transparent 60%);
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255, 255, 255, 0.9); max-width: 40em; }
.cta-banner .eyebrow { color: var(--green-bright); }

/* Logos row -------------------------------------------------------------- */

.brand-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.7rem;
}
.brand-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 1.8rem 1.6rem;
  text-align: center;
}
.brand-card img { max-height: 110px; width: auto; margin: 0 auto 1rem; }
.brand-card p { color: var(--ink-soft); font-size: 0.97rem; }

/* Hours table ------------------------------------------------------------ */

.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { text-align: left; padding: 0.65rem 0.4rem; border-bottom: 1px solid var(--line); }
.hours th { font-family: var(--font-head); font-weight: 700; }
.hours td:last-child { text-align: right; color: var(--ink-soft); }

.addr { font-style: normal; line-height: 1.8; }

/* Footer ----------------------------------------------------------------- */

.site-footer {
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  margin-top: 0;
}
.site-footer::before {
  content: "";
  display: block;
  height: 6px;
  background: var(--grad);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  gap: 2.6rem;
  padding: 3.4rem 0 2.6rem;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  display: inline-block;
  margin-bottom: 1.1rem;
}
.footer-logo img { height: 58px; width: auto; }

.site-footer h2 {
  font-weight: 700;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-footer a:hover { color: var(--green-bright); }
.site-footer .addr { color: rgba(255, 255, 255, 0.82); }

.footer-tagline {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--green-bright);
  margin-bottom: 0.9rem;
}
.footer-tagline .dot { color: #6fc3ef; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.3rem 0 1.6rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  justify-content: space-between;
}

/* Landing page ----------------------------------------------------------- */

.landing-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(6.5rem, 14vh, 9rem) 1.4rem 4rem;
  overflow: hidden;
  background: transparent;
}

/* watercolour washes */
.wash { position: absolute; border-radius: 50%; pointer-events: none; mix-blend-mode: multiply; }
.wash-green {
  width: 74vmax; height: 74vmax; top: -30vmax; left: -26vmax;
  background: radial-gradient(circle at 40% 42%, rgba(141, 198, 63, 0.34) 0%, rgba(85, 160, 44, 0.14) 42%, transparent 68%);
  animation: drift-a 70s ease-in-out infinite alternate;
}
.wash-blue {
  width: 84vmax; height: 84vmax; bottom: -38vmax; right: -32vmax;
  background: radial-gradient(circle at 58% 55%, rgba(23, 134, 194, 0.32) 0%, rgba(23, 134, 194, 0.12) 44%, transparent 70%);
  animation: drift-b 90s ease-in-out infinite alternate;
}
.wash-teal {
  width: 48vmax; height: 48vmax; top: 12%; right: -16vmax;
  background: radial-gradient(circle, rgba(100, 170, 173, 0.26) 0%, transparent 62%);
  animation: drift-c 80s ease-in-out infinite alternate;
}
.wash-crown {
  width: 100%;
  height: 34vmax;
  top: -16vmax;
  left: 0;
  border-radius: 0;
  background:
    radial-gradient(50vmax 18vmax at 36% 0%, rgba(141, 198, 63, 0.16), transparent 62%),
    radial-gradient(50vmax 18vmax at 68% 2%, rgba(23, 134, 194, 0.15), transparent 62%),
    radial-gradient(32vmax 13vmax at 52% 0%, rgba(100, 170, 173, 0.13), transparent 60%);
  animation: drift-c 85s ease-in-out infinite alternate-reverse;
}
.wash-lime {
  width: 40vmax; height: 40vmax; bottom: -8vmax; left: -6vmax;
  background: radial-gradient(circle, rgba(141, 198, 63, 0.20) 0%, transparent 60%);
  animation: drift-b 75s ease-in-out infinite alternate-reverse;
}
@keyframes drift-a { to { transform: translate(7vmax, 5vmax) scale(1.1) rotate(4deg); } }
@keyframes drift-b { to { transform: translate(-6vmax, -4vmax) scale(1.06); } }
@keyframes drift-c { to { transform: translate(-3vmax, 6vmax) scale(1.12); } }

/* ghosted handprints */
.hand-mark {
  position: absolute;
  width: min(58vmin, 560px);
  right: 3vw;
  bottom: -4vmin;
  opacity: 0.1;
  mix-blend-mode: multiply;
  transform: rotate(9deg);
  pointer-events: none;
  filter: blur(1px);
}
.hand-mark.alt {
  width: min(34vmin, 320px);
  left: 2vw; right: auto; top: 7vh; bottom: auto;
  transform: rotate(-14deg) scaleX(-1);
  opacity: 0.06;
}
@media (max-width: 700px) {
  .hand-mark.alt { display: none; }
  .hand-mark { opacity: 0.07; }
  .landing-tagline { font-size: 0.78rem; letter-spacing: 0.24em; text-indent: 0.24em; }
}

.landing-inner { position: relative; z-index: 2; max-width: 880px; }
.landing-logo {
  width: min(600px, 86vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 14px 34px rgba(18, 53, 78, 0.14));
}
.landing-tagline {
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.1vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 2.3rem 0 0;
}
.landing-tagline .dot-g { color: var(--green); }
.landing-tagline .dot-b { color: var(--blue); }
.landing-lede {
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 1.4rem auto 2.6rem;
}
.landing-hero .btn-row { justify-content: center; gap: 1rem; }
.landing-hero .btn { padding: 1rem 2.2rem; font-size: 1.05rem; }
.landing-hero .btn-primary { box-shadow: var(--shadow-sm); }
.landing-hero .btn-navy { box-shadow: 0 12px 28px rgba(18, 53, 78, 0.28); }
.landing-alt {
  margin-top: 1.9rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
}
.landing-alt a { color: var(--blue-deep); text-decoration: none; border-bottom: 2px solid rgba(23, 134, 194, 0.35); padding-bottom: 1px; }
.landing-alt a:hover { color: var(--green-deep); border-bottom-color: rgba(85, 160, 44, 0.45); }

/* full-viewport aerial photo landing */
.landing-photo {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.landing-photo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}
/* Landscape screens get the wide full-scene photograph (see the <picture>
   source in index.html): full viewport, positioned to keep the hills and
   the building both in frame. */
@media (min-aspect-ratio: 6/5) {
  .landing-photo-img { object-position: 50% 40%; }
}
.landing-band {
  padding: 3rem 1.4rem 3.4rem;
  text-align: center;
}
.landing-band .landing-tagline { margin: 0; }

/* stats ribbon */
.hero-ribbon {
  position: relative;
  z-index: 2;
  margin: 3.2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(18, 53, 78, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(18, 53, 78, 0.12);
  overflow: hidden;
}
.hero-ribbon::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--grad);
}
.hero-ribbon > div { padding: 1.25rem 1.6rem 1.05rem; flex: 1 1 auto; }
.hero-ribbon strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(100deg, var(--green-deep), var(--blue-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-ribbon span { font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; white-space: nowrap; }

.landing-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--ink-soft);
  text-decoration: none;
  line-height: 1;
}
.landing-cue svg { width: 26px; height: 26px; display: block; }
.landing-cue:hover { color: var(--blue-deep); }

@keyframes landing-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes cue-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}
.landing-inner > * { animation: landing-rise 0.7s ease both; }
.landing-inner > *:nth-child(2) { animation-delay: 0.12s; }
.landing-inner > *:nth-child(3) { animation-delay: 0.22s; }
.landing-inner > *:nth-child(4) { animation-delay: 0.32s; }
.landing-inner > *:nth-child(5) { animation-delay: 0.42s; }
.landing-inner > *:nth-child(6) { animation-delay: 0.55s; }
.landing-cue { animation: cue-bob 2.6s ease-in-out 1.2s infinite; }

/* Aerial showcase band --------------------------------------------------- */

.showcase {
  position: relative;
  height: clamp(380px, 60vh, 620px);
  overflow: hidden;
  background: var(--paper);
}
.showcase-img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, #fbfdf9 0%, rgba(251, 253, 249, 0) 26%, rgba(246, 249, 245, 0) 70%, var(--paper) 100%);
}
.showcase-caption {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(1rem, 4vh, 2.4rem);
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 4vw, 2rem);
}
.showcase-caption span {
  display: inline-block;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  border-radius: 99px;
  padding: 0.55em 1.3em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.showcase-caption .dot { color: var(--green); padding: 0 0.4em; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Destination grid (landing) */
.dest-card { text-decoration: none; color: inherit; }
.dest-card .card-body h3::after {
  content: " \2192";
  font-weight: 800;
  background: linear-gradient(100deg, var(--green-deep), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dest-card p { color: var(--ink-soft); }

/* Timeline (about) ------------------------------------------------------- */

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.timeline li {
  position: relative;
  padding-left: 2.2rem;
  border-left: 3px solid;
  border-image: var(--grad) 1;
  padding-bottom: 0.2rem;
}
.timeline .when {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--blue-deep);
  display: block;
  margin-bottom: 0.15rem;
}
.timeline p { color: var(--ink-soft); font-size: 1rem; }

/* Reveal animation ------------------------------------------------------- */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
  .landing-inner > *, .landing-cue, .wash { animation: none; }
  .card img { transition: none; }
  .card:hover img { transform: none; }
}

/* Map -------------------------------------------------------------------- */

.map-frame {
  border: 0;
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: block;
}

/* Utility ---------------------------------------------------------------- */

.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.muted { color: var(--ink-soft); }

/* The Lab and role paintings sit on white, so give them a frame rather than bleeding to the edge. */
.split-media.natural img { background: #fff; }

/* Get-the-app band, shared by every page that offers it ------------------------------ */
.app-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
  box-shadow: var(--shadow-md);
}
.app-band::after {
  content: "";
  position: absolute;
  left: 22px; right: 22px; top: 0;
  height: 4px;
  border-radius: 0 0 99px 99px;
  background: var(--grad);
}
.app-band h2 { color: #fff; margin-bottom: 0.5rem; }
.app-band p { color: rgba(255, 255, 255, 0.9); max-width: 46em; }
.app-band .eyebrow { color: var(--green-bright); }
.app-band .btn-row { margin-top: 1.2rem; }
.app-band-qr {
  width: 148px;
  height: 148px;
  border-radius: 18px;
  background: #fff;
  padding: 10px;
  flex: none;
}
@media (max-width: 720px) {
  .app-band { grid-template-columns: 1fr; }
  .app-band-qr { display: none; }
}

/* Café menu columns -------------------------------------------------------------- */
.menu-list { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.menu-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.98rem;
}
.menu-list li:last-child { border-bottom: 0; }
.menu-list b { font-family: var(--font-head); font-variant-numeric: tabular-nums; }

/* Painted banners are shown whole on a white ground, not cropped to the photo ratio. */
.page-art.natural img {
  aspect-ratio: 3 / 1.45;
  object-fit: cover;
  object-position: 50% 45%;
  background: #fff;
}
@media (max-width: 700px) {
  .page-art.natural img { aspect-ratio: 3 / 2; }
}

/* Condensed pages ------------------------------------------------------------------- */
.container.narrow { max-width: 760px; }
.btn-row.center-row { justify-content: center; margin-top: 1.6rem; }
.role-card .card-body { display: flex; flex-direction: column; }
.role-card .ticks { margin-bottom: 1.2rem; }
.role-card .ticks li { font-size: 0.95rem; }
.role-card .btn { margin-top: auto; align-self: flex-start; }
.contact-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem; }

/* Information generated from the app's shared public content. */
[hidden] { display: none !important; }
.programme-list { list-style: none; padding: 0; margin: 0; }
.programme-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.programme-list li:last-child { border-bottom: 0; }
.programme-list strong, .programme-time, .programme-note { display: block; }
.programme-time { color: var(--green-deep); font-weight: 700; margin-top: 3px; }
.programme-note { color: var(--ink-soft); font-size: .93rem; margin-top: 3px; }
.foodshare-steps { padding-left: 1.4rem; }
.foodshare-steps li { margin-bottom: 12px; }
.party-form, .party-review { padding: clamp(20px, 4vw, 32px); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.party-form label { display: block; margin-bottom: 18px; font-weight: 700; }
.party-form input, .party-form textarea { display: block; width: 100%; min-width: 0; min-height: 48px; margin-top: 7px; padding: 12px 14px; border: 1px solid #c8d6cc; border-radius: 12px; background: #fdfefc; color: var(--ink); font: inherit; }
.party-form input:focus, .party-form textarea:focus { outline: 2px solid var(--green); outline-offset: 2px; }
.party-form label .muted { display: block; margin-top: 5px; font-size: .9rem; font-weight: 400; }
.party-preview { padding: 16px; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--paper); border-radius: 12px; font: inherit; }
.party-form button[type=submit] { display: none; }
.js .party-form button[type=submit] { display: inline-flex; }
.js .party-nojs { display: none; }

/* Shared actions, objectives and enquiry form from the October website feedback. */
.objective-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.objective-grid .info-tile:last-child { grid-column: 1 / -1; }
.objective-grid h3 { line-height: 1.4; }
.funder-band { padding: 26px 0; border-top: 1px solid rgba(255,255,255,.25); margin-top: 28px; }
.funder-band h2 { font-size: 1.1rem; margin-bottom: 20px; }
.funder-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; gap: 24px; }
.funder-logos span { font-weight: 700; line-height: 1.5; }
.funder-logos img { display: block; width: 100%; height: 172px; object-fit: contain; background: #fff; padding: 16px; border-radius: 12px; }
.programme-logo { display: block; width: min(220px, 100%); height: auto; margin: 24px auto; }
.food-support-logo { margin-left: 0; }
.support-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: start; gap: 28px; margin: 24px auto 40px; }
.support-logos figure { margin: 0; width: min(280px, 100%); text-align: center; }
.support-logos img { display: block; width: 100%; height: 156px; object-fit: contain; padding: 12px; background: #fff; border-radius: 12px; }
.support-logos figcaption { margin-top: 12px; font-size: .92rem; font-weight: 700; }
.site-footer a { overflow-wrap: anywhere; }
.footer-grid > * { min-width: 0; }
.site-footer nav a { display: inline-block; min-height: 28px; line-height: 1.6; padding: 3px 0; }
.sunday-programme, .contact-cards { margin-top: 24px; }
.booking-form, .booking-review { padding: clamp(20px, 4vw, 32px); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.booking-form label { display: block; margin-bottom: 18px; font-weight: 700; }
.booking-form input, .booking-form textarea, .booking-form select { display: block; width: 100%; min-width: 0; min-height: 48px; margin-top: 7px; padding: 12px 14px; border: 1px solid #c8d6cc; border-radius: 12px; background: #fdfefc; color: var(--ink); font: inherit; }
.booking-form input:focus, .booking-form textarea:focus, .booking-form select:focus { outline: 2px solid var(--green); outline-offset: 2px; }
.booking-preview { padding: 16px; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--paper); border-radius: 12px; font: inherit; }
.booking-form button[type=submit] { display: none; }
.js .booking-form button[type=submit] { display: inline-flex; }
.js .booking-nojs { display: none; }
@media (max-width: 700px) {
  .objective-grid { grid-template-columns: 1fr; }
  .funder-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
