/* The Mary Calvert Project CIC — community charity layout */

:root {
  --cream: #faf7f2;
  --cream-deep: #f3eee4;
  --lilac: #f3ecf6;
  --lavender-pale: #efe7f3;
  --sage-pale: #e7ebe3;
  --sage: #8f9a7f;
  --sage-deep: #6f7a62;
  --sage-soft: #a8b29c;
  --lavender: #a88bb5;
  --lavender-deep: #8d6f99;
  --lavender-ink: #5f446c;
  --ink: #3a342f;
  --ink-soft: #5a524b;
  --line: #d9d0e0;
  --white: #ffffff;
  --focus: #1a5fb4;
  --off-white: var(--cream);

  --font-display: "Fraunces", Georgia, serif;
  --font-script: "Great Vibes", "Segoe Script", cursive;
  --font-sans: "Nunito Sans", "Segoe UI", Tahoma, sans-serif;

  --page-gutter: clamp(1.25rem, 2.5vw, 1.5rem); /* ~20–24px each side */
  --page: min(78rem, calc(100% - (var(--page-gutter) * 2)));
  --header-height: 4.25rem;
  --radius: 0.1rem;
  --btn-radius: 999px;
  --section-tight: 2rem;
  --section-mid: 3.15rem;
  --section-roomy: 4rem;

  --text-eyebrow: 0.78rem;
  --text-h1: clamp(1.65rem, 2.75vw, 2.35rem);
  --text-h2: clamp(1.3rem, 2.15vw, 1.8rem);
  --text-h3: 1.05rem;
  --text-lead: 1.06rem;
  --text-body: 1.0625rem;

  --btn-height: 2.75rem;
  --btn-pad-x: 1.35rem;
  --btn-font: 0.94rem;
}

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

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

main,
.shell,
.wrap,
.page,
.header-inner,
.footer-shell {
  min-width: 0;
}

a {
  color: var(--lavender-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--sage-deep);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.site-nav a:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  background: var(--sage-deep);
  color: var(--white);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--lilac);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: var(--page);
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
  padding: 0.35rem 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-nav {
  width: 3.35rem;
  height: 3.35rem;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.15rem 0.7rem;
  justify-content: flex-end;
  min-width: 0;
  max-width: 100%;
}

.site-nav a {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0.1rem;
  white-space: nowrap;
  line-height: 1.25;
}

.site-nav a:hover {
  color: var(--sage-deep);
  text-decoration: underline;
}

.site-nav a.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.25rem;
  min-height: var(--btn-height);
  padding: 0.55rem 1.15rem;
  border-radius: var(--btn-radius);
  background: var(--sage);
  color: var(--white);
  font-weight: 700;
  font-size: var(--btn-font);
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
}

.site-nav a.nav-cta:hover {
  background: var(--sage-deep);
  color: var(--white);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: var(--btn-radius);
  background: var(--lilac);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
}

body.nav-open .nav-toggle span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

body.nav-open .nav-toggle span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* Type utilities */

.display-accent {
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.script-accent {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--lavender);
  line-height: 1.25;
}

/* Layout — wider shell, left-anchored rails */

main {
  outline: none;
}

.shell,
.wrap {
  width: var(--page);
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}

/* Full-bleed page so alternating section tints can run edge-to-edge */
.page {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 0 3.25rem;
  text-align: left;
}

.section {
  position: relative;
  padding: var(--section-mid) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

/* Inner pages: gentle lavender rhythm without cards */
.page > .section:nth-of-type(even) {
  background: var(--lilac);
}

.page > .section:nth-of-type(odd) {
  background: var(--cream);
}

.page > .section:first-child {
  padding-top: clamp(2.25rem, 4vw, 3rem);
}

/* Keep non-rail section children aligned to the shell */
.page > .section > .eyebrow,
.page > .section > h1,
.page > .section > h2,
.page > .section > h3,
.page > .section > .lead,
.page > .section > .detail-list,
.page > .section > .faq,
.page > .section > .form,
.page > .section > .cta-row,
.page > .section > .prose,
.page > .section > .info-panel,
.page > .section > .plain-list,
.page > .section > .contact-details {
  width: var(--page);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Reading-width blocks stay left-aligned to the shell, not centred */
.page > .section > .prose,
.page > .section > .lead {
  width: min(42rem, var(--page));
  margin-left: calc((100% - var(--page)) / 2);
  margin-right: auto;
}

/* Asymmetric rail: ~36% title / ~64% content */

.rail,
.split {
  width: var(--page);
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  gap: 1.5rem clamp(1.5rem, 3.5vw, 3.25rem);
  align-items: start;
  text-align: left;
  position: relative;
  z-index: 1;
}

.rail--compact,
.split--flip {
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 0.68fr);
}

.rail-lead,
.split-lead {
  text-align: left;
}

.rail-lead h1,
.rail-lead h2,
.split-lead h1,
.split-lead h2 {
  max-width: 16em;
  text-align: left;
}

.rail-body,
.split-body {
  text-align: left;
}

.rail-body .prose,
.rail-body .lead,
.rail-body .form,
.rail-body .faq,
.split-body .prose,
.split-body .lead,
.split-body .form,
.split-body .faq {
  max-width: none;
}

.rail-body .cta-row,
.split-body .cta-row {
  margin-top: 1.25rem;
}

.mission-script,
.page-script {
  margin: 0.75rem 0 0;
  font-size: 1.5rem;
}

.section-edge {
  position: relative;
  overflow: hidden;
}

.edge-sprig {
  display: none;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lavender-deep);
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--lavender-ink);
  text-decoration: none;
}

.text-link:hover {
  color: var(--sage-deep);
  text-decoration: underline;
}

.accent-line {
  display: block;
  width: 3.25rem;
  height: 2px;
  margin: 0.15rem 0 0.95rem;
  background: var(--lavender);
}

.mary-story-sub {
  margin: -0.1rem 0 1rem;
  font-size: 1.55rem;
}

h1,
h2,
h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--lavender-ink);
  line-height: 1.25;
  text-wrap: balance;
  text-align: left;
}

h1 {
  font-size: var(--text-h1);
  margin: 0 0 0.75rem;
  font-style: normal;
}

h2 {
  font-size: var(--text-h2);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: var(--text-h3);
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

.lead {
  font-size: var(--text-lead);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 40rem;
  margin: 0 0 1.15rem;
}

.prose {
  max-width: 42rem;
}

.prose p {
  margin: 0 0 0.95rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.prose p:last-child {
  margin-bottom: 0;
}

.plain-list {
  margin: 0 0 1.25rem;
  padding: 0 0 0 1.1rem;
  color: var(--ink-soft);
}

.plain-list li {
  margin: 0 0 0.35rem;
}

.plain-list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.plain-list--inline li {
  margin: 0;
  padding: 0 0 0 0.85rem;
  border-left: 3px solid var(--lavender);
}

.info-panel {
  margin: 1.35rem 0 0;
  padding: 1rem 0 1rem 1.1rem;
  border-left: 4px solid var(--lavender);
  background: transparent;
  max-width: 28rem;
}

.info-panel h3 {
  margin-bottom: 0.65rem;
  color: var(--lavender-ink);
}

.info-panel .plain-list {
  margin-bottom: 0;
}

/* Full-width bands with internal shell */

.band {
  width: 100%;
  border-top: 1px solid var(--line);
  padding: var(--section-mid) 0;
  position: relative;
}

.band--cream {
  background: var(--cream);
}

.band--lilac {
  background: var(--lilac);
}

.band--white {
  background: var(--white);
}

.band--lavender {
  background: var(--lavender-pale);
}

.band--sage {
  background: var(--sage-pale);
}

.band--tight {
  padding: var(--section-tight) 0;
}

.band--roomy {
  padding: var(--section-roomy) 0;
}

.band--action {
  background: var(--cream-deep);
  border-top: 4px solid var(--sage);
  padding: var(--section-mid) 0;
}

.action-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.75rem clamp(1.5rem, 4vw, 3.25rem);
}

.action-block {
  padding: 0.2rem 0 0.2rem 1.1rem;
  border-left: 4px solid var(--lavender);
}

.action-block h2 {
  margin-bottom: 0.5rem;
}

.action-block p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  max-width: 28rem;
}

/* Buttons — consistent rectangular sage blocks */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-start;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 100%;
  min-height: var(--btn-height);
  padding: 0.65rem var(--btn-pad-x);
  border-radius: var(--btn-radius);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--btn-font);
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}

.btn-primary:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--sage);
}

.btn-secondary:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}

/* Homepage hero — asymmetric, abstract lilac (no florals) */

.hero {
  position: relative;
  background:
    linear-gradient(180deg, var(--lilac) 0%, var(--cream) 52%, var(--cream) 100%);
  border-bottom: 1px solid var(--line);
  padding: 2.25rem 0 2.75rem;
  overflow: hidden;
  text-align: center;
}

.hero > .shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-welcome {
  position: relative;
  z-index: 1;
  margin: 0 0 1.75rem;
  text-align: center;
}

.hero-welcome-text {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--lavender-ink);
}

.hero-logo {
  display: block;
  width: min(16.5rem, 78%);
  height: auto;
  margin-inline: auto;
}

.hero-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: 40rem;
  margin-inline: auto;
  padding-inline: 0.5rem;
  text-align: center;
}

.hero-label,
.hero-title,
.hero-lead,
.hero h1 {
  text-align: center;
}

.hero-label {
  margin: 0 0 0.7rem;
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lavender-deep);
}

.hero-title {
  margin: 0 auto 0.95rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--lavender-ink);
}

.hero-lead {
  margin: 0 auto 1.35rem;
  max-width: 34rem;
  font-size: var(--text-lead);
  line-height: 1.7;
  color: var(--ink-soft);
}

.hero-copy .cta-row {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-leaf {
  position: absolute;
  z-index: 0;
  width: clamp(3.5rem, 7vw, 5.5rem);
  height: clamp(6rem, 12vw, 9.5rem);
  background: url("../images/logo-leaves.svg") center / contain no-repeat;
  opacity: 0.55;
  pointer-events: none;
}

.hero-leaf--left {
  left: clamp(0.5rem, 3vw, 2.5rem);
  top: 18%;
  transform: rotate(-12deg);
}

.hero-leaf--right {
  right: clamp(0.5rem, 3vw, 2.5rem);
  top: 22%;
  transform: scaleX(-1) rotate(-8deg);
}

.section-leaf {
  position: absolute;
  z-index: 0;
  width: clamp(2.75rem, 5vw, 4.25rem);
  height: clamp(4.75rem, 9vw, 7.5rem);
  background: url("../images/logo-leaves.svg") center / contain no-repeat;
  opacity: 0.38;
  pointer-events: none;
}

.section-leaf--tr {
  top: 1.25rem;
  right: clamp(0.75rem, 4vw, 2.5rem);
  transform: scaleX(-1) rotate(6deg);
}

.section-leaf--bl {
  left: clamp(0.75rem, 3vw, 2rem);
  bottom: 1.5rem;
  transform: rotate(-18deg);
}

.section-leaf--br {
  right: clamp(0.75rem, 3vw, 2rem);
  bottom: 1.75rem;
  transform: scaleX(-1) rotate(10deg);
}

/* National Lottery funding strip */

.fund-bar {
  background: var(--sage-pale);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.35rem 0;
}

.fund-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  text-align: left;
}

.fund-bar-logo-link {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}

.fund-bar-logo {
  display: block;
  width: min(10.5rem, 42vw);
  height: auto;
}

.fund-bar-copy {
  min-width: 0;
  flex: 1 1 16rem;
}

.fund-bar-title {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.fund-bar-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* How we can help */

.help-section {
  position: relative;
  overflow: hidden;
  background: var(--lilac);
  border-bottom: 1px solid var(--line);
  padding: var(--section-roomy) 0;
}

.help-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.22fr);
  gap: 2rem clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
}

.help-intro {
  min-width: 0;
  max-width: 26rem;
  text-align: left;
  padding-top: 0.15rem;
}

.help-intro h2 {
  margin-bottom: 0.85rem;
}

.help-intro p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.help-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
  padding: 0.35rem 0 0.15rem;
}

.help-point {
  padding: 0.1rem 1.1rem;
  border-left: 1px solid var(--line);
  text-align: left;
}

.help-point:first-child {
  border-left: 0;
  padding-left: 0;
}

.help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: rgba(168, 139, 181, 0.22);
  color: var(--lavender-ink);
}

.help-icon--sage {
  background: rgba(143, 154, 127, 0.28);
  color: var(--sage-deep);
}

.help-point h3 {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.help-point p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Areas we cover */

.areas-section {
  position: relative;
  overflow: hidden;
  background: var(--lavender-pale);
  border-bottom: 1px solid var(--line);
  padding: var(--section-roomy) 0;
}

.areas-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
  gap: 1.75rem clamp(1.5rem, 3.5vw, 2.5rem);
  align-items: center;
}

.areas-map {
  margin: 0;
  min-width: 0;
  width: 100%;
  max-width: 32rem;
  justify-self: end;
}

.areas-map-frame {
  background: var(--cream);
  border: 1px solid var(--line);
  overflow: hidden;
}

.areas-map-graphic {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.areas-copy {
  min-width: 0;
}

.areas-copy .eyebrow {
  margin-bottom: 0.45rem;
}

.areas-copy h2 {
  margin-bottom: 0.35rem;
}

.areas-lead {
  margin: 0 0 1.15rem;
  max-width: 40rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.areas-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.areas-list li {
  margin: 0;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--lavender-ink);
  font-weight: 600;
  line-height: 1.4;
}

.areas-note {
  margin: 1.35rem 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* Counselling rooms */

.rooms-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--cream) 0%, var(--lavender-pale) 100%);
  border-bottom: 1px solid var(--line);
  padding: var(--section-roomy) 0;
}

.rooms-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.78fr);
  gap: 2rem clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.rooms-visual {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.52fr);
  gap: 0.9rem 1rem;
  align-items: end;
}

.rooms-main {
  margin: 0;
  grid-column: 1;
  grid-row: 1;
}

.rooms-secondary {
  margin: 0 0 1.25rem;
  grid-column: 2;
  grid-row: 1;
}

.rooms-main img,
.rooms-secondary img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.rooms-copy {
  min-width: 0;
  max-width: 24rem;
  text-align: left;
  justify-self: start;
}

.rooms-lead {
  margin: 0;
  font-size: var(--text-lead);
  line-height: 1.7;
  color: var(--ink-soft);
}

/* CTA strip */

.cta-strip {
  background: var(--lilac);
  border-bottom: 1px solid var(--line);
  padding: var(--section-mid) 0;
}

.cta-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem 2rem;
  text-align: left;
}

.cta-strip-copy {
  max-width: 36rem;
}

.cta-strip-copy h2 {
  margin: 0 0 0.3rem;
}

.cta-strip-copy p {
  margin: 0;
  font-size: var(--text-lead);
  color: var(--ink-soft);
}

/* Remembering Mary */

.remember-band {
  position: relative;
  overflow: hidden;
  background: var(--lavender-pale);
  border-bottom: 1px solid var(--line);
  padding: var(--section-roomy) 0;
}

.remember-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: 1.75rem clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.remember-photo {
  margin: 0;
  min-width: 0;
  max-width: 20rem;
  justify-self: start;
}

.remember-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.remember-copy {
  position: relative;
  min-width: 0;
  max-width: 34rem;
  padding-left: 1.35rem;
  text-align: left;
  justify-self: start;
}

.remember-rule {
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 3px;
  background: var(--sage);
}

.remember-copy p {
  margin: 0 0 0.35rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.remember-copy .text-link {
  margin-top: 1rem;
}

/* Our space (legacy helpers still used on questions page) */

.space-layout {
  display: grid;
  gap: 1.5rem 2rem;
}

.space-copy {
  max-width: 36rem;
}

.space-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.space-feature {
  margin: 0;
  max-width: none;
}

.space-feature img,
.space-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.space-feature figcaption,
.space-shot figcaption {
  margin-top: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.space-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.25rem 1.5rem;
  align-items: end;
}

.space-shot {
  margin: 0;
}

.space-shot--offset {
  margin-bottom: 1.5rem;
}

.space-band,
.space-band--compact {
  width: auto;
  padding: 0;
  margin: 1.5rem 0 0;
}

.space-band--compact .space-pair {
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.space-band--compact .space-shot--offset {
  margin-bottom: 0;
}

/* How we can help type */

.how-help-display {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  color: var(--ink);
  line-height: 1.05;
}

.how-help-sub {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Legacy band aliases used on older markup */

.band-lavender {
  background: var(--lavender-pale);
}

.band-sage {
  background: var(--sage);
  color: var(--white);
}

.band-cream {
  background: var(--cream);
}

/* Inner page shared */

.page-header {
  margin-bottom: 1.25rem;
}

.mary-portrait {
  margin: 1.15rem 0 0;
  max-width: 17.5rem;
}

.mary-portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.mary-portrait figcaption {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

blockquote,
.pull-quote {
  position: relative;
  margin: 0;
  padding: 0;
  border-left: 0;
  background: transparent;
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  color: var(--lavender);
  max-width: 36rem;
  line-height: 1.35;
}

blockquote::before,
.pull-quote::before {
  display: none;
}

blockquote p,
.pull-quote p {
  margin: 0 0 0.95rem;
  font-family: var(--font-script);
  font-size: 1.55rem;
  line-height: 1.35;
  color: var(--lavender);
}

blockquote cite,
.pull-quote cite {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
  font-style: normal;
}

.detail-list {
  list-style: none;
  margin: 1.65rem 0 0;
  padding: 0.35rem 0 0.35rem 1.15rem;
  max-width: 40rem;
  background: transparent;
  border: 0;
  border-left: 4px solid var(--lavender);
  border-radius: 0;
}

/* Bank details sit under the split, left-aligned to the shell */
.page > .section > .detail-list {
  width: min(40rem, var(--page));
  max-width: 100%;
  margin-left: calc((100% - var(--page)) / 2);
  margin-right: auto;
}

.detail-list li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.detail-list li:last-child {
  border-bottom: 0;
}

.detail-list strong {
  color: var(--ink);
}

.faq {
  margin-top: 2rem;
  max-width: 52rem;
}

.faq details {
  max-width: none;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--sage-deep);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

.contact-details {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  max-width: 36rem;
}

.contact-details li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-details li:last-child {
  border-bottom: 0;
}

.contact-details strong {
  min-width: 6.5rem;
  color: var(--ink);
}

/* Forms */

.form {
  max-width: 38rem;
  display: grid;
  gap: 1.1rem;
}

.split-body .form {
  max-width: none;
  width: 100%;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form label {
  font-weight: 700;
  font-size: 0.95rem;
}

.form .hint {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 400;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--sage);
}

.form textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.checkbox-row input {
  width: auto;
  margin-top: 0.3rem;
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}

.form-status {
  min-height: 1.4rem;
  font-size: 0.95rem;
}

.form-status.is-success {
  color: var(--sage-deep);
}

.form-status.is-error {
  color: #9b2c2c;
}

/* Footer */

.site-footer {
  background: var(--lilac);
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.85rem;
}

.footer-shell {
  width: var(--page);
  max-width: 100%;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem clamp(3.5rem, 5vw, 5rem);
  align-items: start;
  text-align: left;
}

.footer-col {
  min-width: 0;
}

.footer-logo {
  width: min(8.5rem, 50vw);
  margin: 0 0 1rem;
}

.footer-intro {
  margin: 0;
  max-width: 22rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.footer-heading {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lavender-ink);
}

.footer-contact-list {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
}

.footer-email:hover {
  color: var(--sage-deep);
}

.footer-address {
  display: block;
  color: var(--ink-soft);
  line-height: 1.5;
}

.social-icon {
  flex-shrink: 0;
}

.footer-cta {
  margin-top: 0.25rem;
}

.footer-base {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 1.15rem 1.75rem;
  align-items: center;
  margin-top: 2.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  text-align: left;
}

.footer-meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer-funder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  justify-self: center;
}

.footer-funder-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.footer-funder-link {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.footer-funder-logo {
  display: block;
  width: min(9.5rem, 55vw);
  height: auto;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  justify-self: end;
}

.footer-legal a {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--sage-deep);
  text-decoration: underline;
}

.footer-crisis {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.reveal {
  opacity: 1;
  transform: none;
}

/* Decorative line accents (no floral graphics) */

.heading-lineart {
  display: block;
  width: 3.25rem;
  height: 2px;
  margin: 0.15rem 0 1rem;
  background: var(--lavender);
  opacity: 1;
}

.botanical-divider,
.sprig,
.sprig--corner,
.sprig--edge,
.footer-sprig,
.page-header--botanical::after {
  display: none;
}

/* Responsive */

@media (max-width: 1280px) and (min-width: 1101px) {
  .site-nav {
    gap: 0.1rem 0.45rem;
  }

  .site-nav a {
    font-size: 0.8rem;
  }

  .site-nav a.nav-cta {
    padding: 0.5rem 0.8rem;
  }
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 100%;
    padding: 0.5rem var(--page-gutter) 1rem;
    background: var(--lilac);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(58, 52, 47, 0.08);
    overflow-x: clip;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    white-space: normal;
    line-height: 1.35;
    text-wrap: balance;
  }

  .site-nav a.nav-cta {
    margin: 0.85rem 0 0;
    justify-content: center;
    border-bottom: 0;
    white-space: nowrap;
    width: 100%;
    max-width: 18rem;
    align-self: flex-start;
  }

  .logo-nav {
    width: 3rem;
    height: 3rem;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .rail,
  .rail--compact,
  .split,
  .split--flip,
  .action-grid,
  .help-grid,
  .remember-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .remember-photo {
    justify-self: center;
    margin-inline: auto;
  }

  .mary-portrait {
    margin-inline: auto;
    text-align: center;
  }

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

  .footer-base {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    justify-items: start;
  }

  .footer-funder,
  .footer-legal {
    justify-self: start;
  }

  .hero {
    padding: 2rem 0 2.35rem;
  }

  .hero-welcome {
    margin-bottom: 1.35rem;
  }

  .hero-logo {
    width: min(14.5rem, 70%);
  }

  .hero-leaf {
    width: 3rem;
    height: 5.25rem;
    opacity: 0.35;
  }

  .hero-title {
    font-size: clamp(1.85rem, 4vw, 2.5rem);
  }

  .help-points {
    grid-template-columns: 1fr;
  }

  .help-point {
    padding: 1.05rem 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .help-point:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .rooms-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
    gap: 1.65rem;
  }

  .rooms-band,
  .help-section,
  .areas-section,
  .remember-band {
    padding: var(--section-mid) 0;
  }

  .areas-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.75rem;
  }

  .cta-strip {
    padding: var(--section-mid) 0;
  }

  .space-pair {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .space-shot--offset {
    margin-bottom: 0;
  }

  .space-band--compact .space-pair {
    grid-template-columns: 1fr 1fr;
  }

  .band--roomy {
    padding: var(--section-mid) 0;
  }
}

/* Phones / small tablets — intentional mobile layout (covers 320–430px+) */
@media (max-width: 860px) {
  :root {
    --page-gutter: 1.35rem;
    --header-height: 3.85rem;
    --section-mid: 3.75rem;
    --section-roomy: 4.25rem;
    --section-tight: 2.5rem;
    --text-h1: clamp(1.55rem, 6.2vw, 1.95rem);
    --text-h2: clamp(1.3rem, 5vw, 1.6rem);
    --text-h3: 1.02rem;
    --text-lead: 1.02rem;
    --text-body: 1.02rem;
    --btn-height: 2.85rem;
    --btn-pad-x: 1.25rem;
    --btn-font: 0.92rem;
  }

  body {
    font-size: var(--text-body);
    line-height: 1.65;
  }

  .header-inner {
    min-height: var(--header-height);
    padding: 0.3rem 0;
    gap: 0.65rem;
  }

  .logo-nav {
    width: 2.75rem;
    height: 2.75rem;
  }

  .nav-toggle {
    width: 2.5rem;
    height: 2.5rem;
  }

  .site-nav {
    inset: var(--header-height) 0 auto 0;
    padding: 0.35rem var(--page-gutter) 1.1rem;
  }

  .site-nav a {
    padding: 0.9rem 0.15rem;
    font-size: 0.98rem;
  }

  .site-nav a.nav-cta {
    max-width: 100%;
    width: 100%;
  }

  .hero {
    padding: 1.75rem 0 2.15rem;
  }

  .hero-welcome {
    margin: 0 0 1.15rem;
    width: 100%;
  }

  .hero-welcome-text {
    font-size: clamp(1.55rem, 6.5vw, 1.9rem);
    margin-bottom: 0.55rem;
    line-height: 1.15;
  }

  .hero-logo {
    width: min(11.5rem, 58vw);
  }

  .hero-leaf,
  .section-leaf {
    display: none;
  }

  .hero-copy {
    max-width: none;
    padding-inline: 0;
  }

  .hero-label {
    margin: 0 0 0.65rem;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .hero-title {
    margin: 0 auto 1rem;
    font-size: clamp(1.7rem, 7.2vw, 2.05rem);
    line-height: 1.15;
    max-width: none;
  }

  .hero-lead {
    margin: 0 auto 1.5rem;
    font-size: 1.02rem;
    line-height: 1.6;
    max-width: none;
  }

  .hero-copy .cta-row {
    margin-top: 0;
  }

  .hero-copy .btn {
    width: auto;
    max-width: 100%;
  }

  .help-section,
  .areas-section {
    padding: var(--section-roomy) 0;
  }

  .areas-layout {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 1.35rem;
  }

  .areas-map {
    max-width: none;
    justify-self: stretch;
  }

  .areas-list {
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
  }

  .areas-lead,
  .areas-note {
    max-width: none;
  }

  .help-grid {
    gap: 1.65rem;
  }

  .help-intro {
    max-width: none;
    padding-top: 0;
  }

  .help-intro h2 {
    margin-bottom: 0.85rem;
  }

  .help-intro p {
    line-height: 1.6;
  }

  .help-intro .text-link {
    margin-top: 0.9rem;
  }

  .help-points {
    padding: 0;
  }

  .help-point {
    padding: 1rem 0;
  }

  .help-point:first-child {
    padding-top: 0.15rem;
  }

  .help-icon {
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 0.55rem;
  }

  .help-point h3 {
    margin-bottom: 0.3rem;
  }

  .help-point p {
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .rooms-band {
    padding: var(--section-roomy) 0;
  }

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

  .rooms-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    order: 1;
    width: 100%;
  }

  .rooms-main,
  .rooms-secondary {
    margin: 0;
    width: 100%;
    max-width: none;
  }

  .rooms-main img,
  .rooms-secondary img {
    width: 100%;
    height: auto;
  }

  .rooms-copy {
    order: 2;
    max-width: none;
    width: 100%;
  }

  .rooms-copy .eyebrow {
    margin-bottom: 0.45rem;
  }

  .rooms-copy h2 {
    margin-bottom: 0.35rem;
  }

  .rooms-lead {
    line-height: 1.6;
  }

  .rooms-copy .text-link {
    margin-top: 0.95rem;
  }

  .cta-strip {
    padding: var(--section-mid) 0;
  }

  .cta-strip-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }

  .cta-strip-copy {
    max-width: 22rem;
  }

  .cta-strip-copy h2 {
    margin: 0 0 0.4rem;
    text-align: center;
  }

  .cta-strip-copy p {
    text-align: center;
  }

  .cta-strip .btn {
    min-width: 11.5rem;
    width: auto;
    max-width: 100%;
  }

  .remember-band {
    padding: var(--section-roomy) 0;
  }

  .remember-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    justify-items: stretch;
  }

  .remember-photo {
    order: 1;
    max-width: min(15.5rem, 72%);
    width: 100%;
    justify-self: center;
    margin-inline: auto;
  }

  .remember-copy {
    order: 2;
    padding-left: 0;
    max-width: none;
    width: 100%;
  }

  .remember-rule {
    display: none;
  }

  .remember-copy h2 {
    margin-bottom: 0.7rem;
  }

  .remember-copy p {
    line-height: 1.65;
  }

  .page {
    padding: 0 0 3rem;
  }

  .page > .section:first-child {
    padding-top: 2.5rem;
  }

  .section,
  .band,
  .band--roomy,
  .band--action {
    padding: var(--section-mid) 0;
  }

  .page > .section > .prose,
  .page > .section > .lead,
  .page > .section > .detail-list {
    width: var(--page);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .rail,
  .split,
  .help-grid,
  .remember-grid,
  .action-grid {
    gap: 1.35rem;
  }

  .rail-lead h1,
  .rail-lead h2,
  .split-lead h1,
  .split-lead h2 {
    max-width: none;
  }

  .lead {
    margin-bottom: 1rem;
    line-height: 1.6;
  }

  .eyebrow {
    margin-bottom: 0.45rem;
  }

  h1 {
    margin-bottom: 0.85rem;
    line-height: 1.2;
  }

  h2 {
    margin-bottom: 0.7rem;
    line-height: 1.22;
  }

  .cta-row {
    gap: 0.65rem;
    margin-top: 0.35rem;
  }

  .cta-row .btn {
    flex: 0 1 auto;
  }

  .detail-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding: 0.7rem 0;
  }

  .contact-details li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.7rem 0;
  }

  .contact-details strong {
    min-width: 0;
  }

  .contact-details a,
  .contact-details span {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .faq {
    max-width: none;
    margin-top: 1.35rem;
  }

  .faq summary {
    padding-right: 1.5rem;
    line-height: 1.4;
  }

  .form {
    max-width: none;
    width: 100%;
    gap: 1rem;
  }

  .form input,
  .form select,
  .form textarea {
    font-size: 1rem;
  }

  .mary-portrait {
    max-width: min(14.5rem, 70%);
    margin-inline: auto;
    text-align: center;
  }

  .mission-script,
  .page-script,
  .mary-story-sub {
    font-size: clamp(1.25rem, 5.5vw, 1.45rem);
  }

  blockquote p,
  .pull-quote p {
    font-size: clamp(1.3rem, 5.5vw, 1.45rem);
  }

  .info-panel {
    max-width: none;
    margin-top: 1.15rem;
    padding: 0.85rem 0 0.85rem 1rem;
  }

  .action-block {
    padding-left: 1rem;
  }

  .action-block p {
    max-width: none;
  }

  .space-band--compact .space-pair {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 2.85rem 0 1.85rem;
  }

  .footer-main {
    gap: 1.85rem;
    justify-items: start;
    text-align: left;
  }

  .footer-logo {
    width: min(7.5rem, 46vw);
  }

  .footer-intro {
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .footer-heading {
    margin-bottom: 0.85rem;
  }

  .footer-contact-list {
    gap: 0.85rem;
  }

  .footer-email,
  .footer-address {
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.45;
  }

  .footer-cta {
    margin-top: 0.35rem;
    width: auto;
    max-width: 100%;
  }

  .footer-base {
    margin-top: 1.85rem;
    padding-top: 1.25rem;
    gap: 1.15rem;
    justify-items: start;
    text-align: left;
  }

  .footer-funder,
  .footer-legal {
    justify-self: start;
    justify-content: flex-start;
  }

  .footer-funder-logo {
    width: min(8rem, 50vw);
  }

  .footer-legal {
    gap: 0.85rem 1.25rem;
  }

  .footer-legal a {
    padding: 0.25rem 0;
  }

  .plain-list--inline {
    flex-direction: column;
    gap: 0.45rem;
  }

  .btn,
  .site-nav a.nav-cta {
    min-height: var(--btn-height);
  }
}

@media (max-width: 360px) {
  :root {
    --page-gutter: 1.25rem;
  }

  .hero-logo {
    width: min(10.5rem, 56vw);
  }

  .hero-title {
    font-size: clamp(1.55rem, 7.8vw, 1.85rem);
    max-width: none;
  }

  .hero-label {
    letter-spacing: 0.06em;
  }

  .remember-photo {
    max-width: min(14rem, 78%);
    justify-self: center;
    margin-inline: auto;
  }

  .cta-strip .btn,
  .hero-copy .btn {
    width: 100%;
  }

  .areas-list {
    grid-template-columns: 1fr;
  }
}

/* National Lottery fund bar — compact mobile banner only (<768px) */
@media (max-width: 767px) {
  .fund-bar {
    padding: 1.25rem 0;
  }

  .fund-bar-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
  }

  .fund-bar-logo-link {
    flex-shrink: 0;
  }

  .fund-bar-logo {
    width: 6.5rem;
  }

  .fund-bar-copy {
    flex: 1 1 auto;
    min-width: 0;
  }

  .fund-bar-title {
    margin: 0 0 0.1rem;
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .fund-bar-text {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.35;
  }
}

@media (max-width: 389px) {
  .fund-bar {
    padding: 1.25rem 0;
  }

  .fund-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
  }

  .fund-bar-logo {
    width: 6.25rem;
  }

  .fund-bar-copy {
    flex: 1 1 auto;
  }
}
