/* ==========================================================================
   Slow Food Cymru Wales
   Design system + site styles
   Palette carried over from the previous site: coral #ff6e4a, gold #edb059
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --coral:        #ff6e4a;
  --coral-deep:   #c4462a;   /* AA-safe behind white text */
  --coral-tint:   #ffeee8;
  --gold:         #edb059;
  --gold-deep:    #9a6b1e;
  --gold-tint:    #fdf3e2;

  /* Neutrals (warm) */
  --ink:          #1f1d1a;
  --ink-2:        #3d3833;
  --ink-3:        #6b635a;
  --line:         #e4dcd0;
  --cream:        #faf7f2;
  --cream-2:      #f3ece1;
  --white:        #ffffff;

  /* Deep ground — the hills */
  --slate:        #2b3a35;
  --slate-2:      #1e2a26;

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Scale */
  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.12rem);
  --step-1:  clamp(1.20rem, 1.12rem + 0.40vw, 1.45rem);
  --step-2:  clamp(1.50rem, 1.35rem + 0.75vw, 2.00rem);
  --step-3:  clamp(1.90rem, 1.62rem + 1.40vw, 2.90rem);
  --step-4:  clamp(2.35rem, 1.85rem + 2.50vw, 4.20rem);
  --step-5:  clamp(2.55rem, 1.90rem + 3.10vw, 4.40rem);

  /* Space */
  --gutter: clamp(1.15rem, 0.7rem + 2vw, 2.5rem);
  --section: clamp(3.5rem, 2rem + 6vw, 7rem);
  --radius: 3px;
  --radius-lg: 6px;

  --shadow-sm: 0 1px 2px rgba(31,29,26,.06), 0 3px 10px rgba(31,29,26,.05);
  --shadow-md: 0 2px 6px rgba(31,29,26,.07), 0 14px 38px rgba(31,29,26,.09);

  --maxw: 1240px;
  --measure: 68ch;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 600;
  margin: 0 0 .5em;
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1.1em; }
a { color: var(--coral-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
:focus-visible { outline: 3px solid var(--coral-deep); outline-offset: 3px; border-radius: 2px; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - (var(--gutter) * 2), var(--maxw)); margin-inline: auto; }
.wrap-narrow { width: min(100% - (var(--gutter) * 2), 840px); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .62); }
.measure { max-width: var(--measure); }
.center { text-align: center; }
.center .measure { margin-inline: auto; }
.stack > * + * { margin-top: 1.1em; }
.visually-hidden {
  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: -100px; z-index: 200;
  background: var(--ink); color: var(--white); padding: .7rem 1.1rem;
  border-radius: var(--radius); font-weight: 700; text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 1rem; color: var(--white); }

/* ---------- Eyebrow / section headings ---------- */
.eyebrow {
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin: 0 0 .9rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px; flex: none;
  background: var(--coral);
}
.center .eyebrow { justify-content: center; }
.on-dark .eyebrow { color: var(--gold); }
.on-dark .eyebrow::before { background: var(--gold); }

.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); }
.on-dark .lede { color: rgba(255,255,255,.86); }

/* Welsh-language grace note */
.cy {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--coral-deep);
  /* WONK off: the italic swash forms distort Welsh letterforms */
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
.on-dark .cy { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--body); font-weight: 700;
  font-size: var(--step-0);
  line-height: 1;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--coral-deep); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--ink); color: var(--white); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.on-dark .btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.on-dark .btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--gold); color: var(--ink); }
.btn--sm { padding: .65rem 1.15rem; font-size: var(--step--1); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.center .btn-row { justify-content: center; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; text-decoration: none;
  color: var(--coral-deep);
  border-bottom: 2px solid var(--coral);
  padding-bottom: 2px;
  transition: gap .15s ease, color .15s ease, border-color .15s ease;
}
.arrow-link::after { content: "\2192"; transition: transform .15s ease; }
.arrow-link:hover { gap: .7rem; color: var(--ink); border-color: var(--ink); }
.on-dark .arrow-link { color: var(--gold); border-color: var(--gold); }
.on-dark .arrow-link:hover { color: var(--white); border-color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,242,.92);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 74px;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--display); font-weight: 600;
  font-size: 1.16rem; letter-spacing: -.01em; color: var(--ink);
}
.brand__tag {
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 700; margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav__list { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__list a {
  text-decoration: none; color: var(--ink-2); font-weight: 600;
  font-size: .95rem; padding: .35rem 0; position: relative; white-space: nowrap;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--coral); transform: scaleX(0);
  transform-origin: left; transition: transform .2s ease;
}
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--ink); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: .5rem; color: var(--ink); border-radius: var(--radius);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 74px 0 auto 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 1rem var(--gutter) 1.6rem;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__list a::after { display: none; }
  .nav .btn { margin-top: 1rem; justify-content: center; }
}

/* ---------- Hero (split) ---------- */
.hero { background: var(--cream); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch;
  gap: 0;
}
.hero__text {
  padding: clamp(2.5rem, 1.5rem + 3.2vw, 4.25rem) clamp(1.15rem, .5rem + 3vw, 4rem)
           clamp(2.5rem, 1.5rem + 3.2vw, 4.25rem) 0;
  display: flex; flex-direction: column; justify-content: center;
}
.hero__title { font-size: var(--step-5); margin-bottom: .35em; }
.hero__title .cy { display: block; font-size: .46em; margin-bottom: .3em; letter-spacing: 0; }
.hero__media { position: relative; min-height: 340px; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--cream) 0%, rgba(250,247,242,.45) 14%, rgba(250,247,242,0) 38%);
}
.hero__badge {
  position: absolute; z-index: 2; right: clamp(1rem, 2vw, 2rem); bottom: clamp(1rem, 2vw, 2rem);
  background: rgba(31,29,26,.82); color: var(--white);
  backdrop-filter: blur(6px);
  padding: .7rem 1.05rem; border-radius: var(--radius-lg);
  font-size: var(--step--1); line-height: 1.35; max-width: 250px;
}
.hero__badge strong { color: var(--gold); display: block; font-size: 1.05em; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__text { padding: clamp(2.5rem,8vw,3.5rem) 0; order: 2; }
  .hero__media { order: 1; min-height: 300px; height: 46vw; max-height: 420px; }
  .hero__media::after { background: linear-gradient(180deg, rgba(250,247,242,0) 55%, rgba(250,247,242,.35) 100%); }
}

/* ---------- Page header (inner pages) ---------- */
.page-head {
  position: relative; color: var(--white);
  background: var(--slate);
  padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem);
  overflow: hidden;
}
.page-head__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .34;
}
.page-head::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,42,38,.72), rgba(30,42,38,.9));
}
.page-head .wrap { position: relative; z-index: 2; }
.page-head h1 { color: var(--white); margin-bottom: .3em; }
.page-head h1 .cy { display: block; font-size: .42em; margin-bottom: .35em; color: var(--gold); }
.page-head p { color: rgba(255,255,255,.85); max-width: 62ch; margin-bottom: 0; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: var(--step--1); color: rgba(255,255,255,.7); margin-bottom: 1.1rem; }
.crumbs a { color: rgba(255,255,255,.9); }
.crumbs span { padding: 0 .45rem; opacity: .6; }

/* ---------- Principles (Good / Clean / Fair) ---------- */
.principles { background: var(--white); border-bottom: 1px solid var(--line); }
.principles__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
.principle {
  padding: clamp(1.8rem, 1rem + 2.5vw, 3rem) clamp(1.1rem, .6rem + 1.5vw, 2.2rem);
  border-right: 1px solid var(--line);
}
.principle:last-child { border-right: 0; }
.principle__no {
  font-family: var(--display); font-size: 1.05rem; color: var(--coral);
  display: block; margin-bottom: .8rem; font-weight: 600;
}
.principle h3 { margin-bottom: .35em; font-size: var(--step-2); }
.principle h3 .cy { font-size: .5em; display: block; margin-top: .3em; }
.principle p { margin: 0; font-size: var(--step--1); color: var(--ink-3); }
@media (max-width: 760px) {
  .principles__grid { grid-template-columns: 1fr; }
  .principle { border-right: 0; border-bottom: 1px solid var(--line); }
  .principle:last-child { border-bottom: 0; }
}

/* ---------- Split feature blocks ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.split__media--stack { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.split__media--stack img:first-child { margin-top: 2.2rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* ---------- Dark band ---------- */
.band-dark {
  background: var(--slate); color: rgba(255,255,255,.82);
  position: relative; overflow: hidden;
}
.band-dark h2, .band-dark h3 { color: var(--white); }
.band-dark a:not(.btn) { color: var(--gold); }
.band-dark a:not(.btn):hover { color: var(--white); }

/* Light cards sitting inside a dark band keep their own light-card colours.
   Without this the .band-dark / .on-dark text rules win and headings go
   white-on-white. */
.band-dark .ark-card,
.band-dark .card,
.band-dark .supporter,
.band-dark .tier { color: var(--ink-2); }

.band-dark .ark-card h2, .band-dark .ark-card h3,
.band-dark .card h2,     .band-dark .card h3,
.band-dark .supporter h3,
.band-dark .tier h3 { color: var(--ink); }

.band-dark .ark-card p,
.band-dark .card__body p,
.band-dark .supporter p { color: var(--ink-3); }

.band-dark .ark-card__cy,
.band-dark .supporter__where { color: var(--coral-deep); }

.band-dark .ark-card a:not(.btn),
.band-dark .card a:not(.btn),
.band-dark .supporter a:not(.btn) { color: var(--coral-deep); }
.band-dark .ark-card .arrow-link,
.band-dark .card .arrow-link,
.band-dark .supporter .arrow-link { border-color: var(--coral); }
.band-dark .ark-card .arrow-link:hover,
.band-dark .card .arrow-link:hover,
.band-dark .supporter .arrow-link:hover { color: var(--ink); border-color: var(--ink); }

.band-dark .ark-card__tag { color: var(--gold-deep); background: var(--gold-tint); }

/* ---------- Ark of Taste product cards ---------- */
.ark-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
}
.ark-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.ark-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ark-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.ark-card__img img { width: 100%; height: 100%; object-fit: cover; }
.ark-card__body { padding: 1.25rem 1.3rem 1.45rem; flex: 1; display: flex; flex-direction: column; }
.ark-card h3 { font-size: var(--step-1); margin-bottom: .2em; }
.ark-card__cy {
  font-family: var(--display); font-style: italic; color: var(--coral-deep);
  font-size: .95rem; margin-bottom: .7rem; display: block;
}
.ark-card p { font-size: var(--step--1); color: var(--ink-3); margin-bottom: 0; }
.ark-card__tag {
  margin-top: 1rem; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; color: var(--gold-deep); background: var(--gold-tint);
  align-self: flex-start; padding: .32rem .7rem; border-radius: 999px;
}

/* ---------- Supporter logo wall ---------- */
.logo-wall {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.logo-wall__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  padding: 1.5rem 1.75rem;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  position: relative;
}
.logo-wall__item:hover {
  border-color: var(--coral);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.logo-wall__item img, .logo-wall__item svg {
  max-height: 58px; max-width: 100%; width: auto;
  object-fit: contain;
  filter: saturate(.25) opacity(.72);
  transition: filter .2s ease;
}
.logo-wall__item:hover img, .logo-wall__item:hover svg { filter: saturate(1) opacity(1); }
.logo-wall__name {
  font-family: var(--display); font-size: 1.22rem; color: var(--ink);
  text-align: center; line-height: 1.2;
}
.logo-wall__name small {
  display: block; font-family: var(--body); font-size: .66rem;
  letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3);
  margin-top: .5rem; font-weight: 700;
}
@media (max-width: 560px) {
  .logo-wall { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .logo-wall__item { padding: 1rem .9rem; }
  .logo-wall__item img, .logo-wall__item svg { max-height: 44px; }
  .logo-wall__name { font-size: 1rem; }
}

/* ---------- Supporter detail cards ---------- */
.supporter-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.supporter {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.7rem 1.6rem 1.8rem;
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.supporter:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--coral); }
.supporter__logo {
  height: 66px; margin-bottom: 1.3rem;
  display: flex; align-items: center;
}
.supporter__logo img, .supporter__logo svg { max-height: 66px; max-width: 195px; width: auto; object-fit: contain; }
.supporter__logo--type {
  font-family: var(--display); font-size: 1.55rem; color: var(--ink); line-height: 1.1;
}
.supporter h3 { font-size: var(--step-1); margin-bottom: .25em; }
.supporter__where {
  font-size: .68rem; letter-spacing: .13em; text-transform: uppercase;
  font-weight: 700; color: var(--coral-deep); margin-bottom: .9rem;
}
.supporter p { font-size: var(--step--1); color: var(--ink-3); flex: 1; }
.supporter .arrow-link { align-self: flex-start; margin-top: .6rem; font-size: var(--step--1); }

/* ---------- Generic cards ---------- */
.card-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.4rem 1.45rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: .3em; }
.card__body p { font-size: var(--step--1); color: var(--ink-3); flex: 1; }
.card__body .arrow-link { align-self: flex-start; font-size: var(--step--1); margin-top: .5rem; }

/* ---------- Membership tiers ---------- */
.tiers {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.tier {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.8rem 1.6rem;
  display: flex; flex-direction: column; position: relative;
}
.tier--featured { border-color: var(--coral); border-width: 2px; box-shadow: var(--shadow-md); }
.tier__flag {
  position: absolute; top: -13px; left: 1.6rem;
  background: var(--coral-deep); color: var(--white);
  font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 700;
  padding: .35rem .8rem; border-radius: 999px;
}
.tier h3 { font-size: var(--step-1); margin-bottom: .1em; }
.tier__price {
  font-family: var(--display); font-size: var(--step-3);
  color: var(--ink); line-height: 1; margin: .6rem 0 .15rem;
}
.tier__price small { font-family: var(--body); font-size: .85rem; color: var(--ink-3); font-weight: 600; }
.tier__alt { font-size: var(--step--1); color: var(--ink-3); margin-bottom: 1.1rem; }
.tier ul { list-style: none; padding: 0; margin: 0 0 1.4rem; flex: 1; }
.tier li {
  font-size: var(--step--1); color: var(--ink-3);
  padding-left: 1.5rem; position: relative; margin-bottom: .55em;
}
.tier li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--coral-deep); font-weight: 700;
}
.tier .btn { justify-content: center; }

/* ---------- Benefit list ---------- */
.benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.benefit {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem;
  align-items: start; margin: 0;
}
.benefit__mark {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  background: var(--coral-tint); color: var(--coral-deep);
  display: grid; place-items: center; font-weight: 700; font-size: .85rem;
  font-family: var(--display);
}
.on-dark .benefit__mark { background: rgba(237,176,89,.16); color: var(--gold); }
.benefit p { margin: 0; font-size: var(--step--1); }

/* ---------- Pull quote ---------- */
.pullquote {
  border-left: 3px solid var(--coral);
  padding: .3rem 0 .3rem 1.6rem;
  margin: 2rem 0;
  font-family: var(--display);
  font-size: var(--step-2);
  line-height: 1.32;
  color: var(--ink);
  font-style: italic;
}
.pullquote cite {
  display: block; font-family: var(--body); font-style: normal;
  font-size: .9rem; font-weight: 700; color: var(--ink-3);
  letter-spacing: .05em; margin-top: .9rem;
}

/* ---------- Join CTA band ---------- */
.join-band { position: relative; overflow: hidden; background: var(--slate-2); color: var(--white); }
.join-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.join-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 20% 30%, rgba(30,42,38,.62), rgba(30,42,38,.93));
}
.join-band .wrap { position: relative; z-index: 2; }
.join-band h2 { color: var(--white); font-size: var(--step-4); }
.join-band h2 .cy { display: block; font-size: .42em; margin-bottom: .3em; color: var(--gold); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); }
@media (max-width: 860px) { .form-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-size: var(--step--1); font-weight: 700;
  color: var(--ink-2); margin-bottom: .4rem;
}
.field input, .field textarea {
  width: 100%; font-family: var(--body); font-size: var(--step-0);
  padding: .8rem .95rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255,110,74,.18);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form-note {
  font-size: .78rem; color: var(--ink-3); margin-top: .9rem; line-height: 1.5;
}

/* Placeholder banner for unconfigured form endpoints */
.setup-note {
  background: var(--gold-tint); border: 1px dashed var(--gold-deep);
  border-radius: var(--radius); padding: .8rem 1rem;
  font-size: .78rem; color: var(--gold-deep); margin-bottom: 1.2rem;
  line-height: 1.5;
}
.setup-note strong { display: block; margin-bottom: .2rem; }

/* ---------- Contact panel ---------- */
.contact-panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 1rem + 2vw, 2.6rem);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.66); padding-block: clamp(3rem,2rem+3vw,4.5rem) 0; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.8rem, 1rem + 3vw, 3.5rem);
  padding-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: var(--white); font-family: var(--body); font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .6em; font-size: var(--step--1); }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.footer-brand img { width: 46px; }
.footer-brand span { font-family: var(--display); font-size: 1.2rem; color: var(--white); }
.footer-about { font-size: var(--step--1); line-height: 1.6; max-width: 34ch; }
.socials { display: flex; gap: .7rem; margin-top: 1.2rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: grid; place-items: center;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.socials a:hover { background: var(--coral-deep); border-color: var(--coral-deep); color: var(--white); text-decoration: none; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 1.6rem;
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem;
  justify-content: space-between; align-items: center;
  font-size: .78rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Prose (long-form pages) ---------- */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose img { border-radius: var(--radius-lg); margin: 2rem 0; box-shadow: var(--shadow-md); }
.prose figure { margin: 2.2rem 0; }
.prose figcaption { font-size: .8rem; color: var(--ink-3); margin-top: .7rem; text-align: center; }
