/* Palette and type. Change colours here and the whole site follows. */
:root {
  --mulberry: #7D2638;
  --mulberry-dk: #66192B;
  --wine: #4A1420;
  --terracotta: #C8664A;
  --honey: #E0A458;
  --sage: #8FA58A;
  --sage-dk: #5E7559;
  --blush: #F2D4CC;
  --blush-lt: #F8E6E0;
  --cream: #FBF4EC;
  --paper: #FFFCF8;
  --cocoa: #3B2A2A;
  --cocoa-soft: #6B5552;
  --line: #EADBCF;

  --f-display: "Fraunces", Georgia, serif;
  --f-serif: "EB Garamond", Garamond, Georgia, serif;
  --f-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --bubble: 26px 26px 26px 8px;
  --shadow: 0 18px 40px -22px rgba(74, 20, 32, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--f-sans);
  font-size: 17px;
  color: var(--cocoa);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--mulberry); }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 100;
  color: var(--wine);
  line-height: 1.2;
  font-weight: 500;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 6px; }

/* Top colour stripe (nod to the template's brick bar) */
.stripe {
  height: 8px;
  background: linear-gradient(90deg, var(--mulberry) 0 42%, var(--terracotta) 42% 66%, var(--honey) 66% 84%, var(--sage) 84% 100%);
}

/* Header */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 244, 236, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
nav.main { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--wine); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand b { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: 1.35rem; display: block; line-height: 1.1; }
.brand small { display: block; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--cocoa-soft); }
nav.main ul { display: flex; gap: 26px; list-style: none; }
nav.main ul a { color: var(--cocoa); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
nav.main ul a:hover { color: var(--mulberry); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; width: 44px; height: 44px; cursor: pointer; color: var(--wine); }
.menu-btn svg { margin: auto; width: 22px; height: 22px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--mulberry); color: var(--cream);
  padding: 13px 26px; border-radius: 999px; border: 2px solid var(--mulberry);
  font-family: var(--f-sans); font-weight: 600; font-size: 0.98rem;
  text-decoration: none; cursor: pointer; transition: background 0.15s, transform 0.15s, color 0.15s;
}
.btn:hover { background: var(--mulberry-dk); border-color: var(--mulberry-dk); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--mulberry); }
.btn.ghost:hover { background: var(--blush-lt); }
.btn.wine { background: var(--wine); border-color: var(--wine); }
.btn.honey { background: var(--honey); border-color: var(--honey); color: var(--wine); }
.btn.honey:hover { background: #d4923f; border-color: #d4923f; }
.btn.small { padding: 9px 18px; font-size: 0.9rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* Section scaffolding */
section { padding: 96px 0; }
.eyebrow {
  display: inline-block; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 14px; }
.section-head p { color: var(--cocoa-soft); font-size: 1.05rem; }
.dots { display: flex; gap: 7px; justify-content: center; margin: 0 auto 18px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--honey); }
.dots i:nth-child(2) { background: var(--terracotta); }
.dots i:nth-child(3) { background: var(--sage); }

/* Hero */
.hero { text-align: center; padding: 84px 0 0; overflow: hidden; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blush); color: var(--wine); border-radius: 999px;
  padding: 7px 16px; font-size: 0.85rem; font-weight: 500; margin-bottom: 26px;
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); max-width: 19ch; margin: 0 auto 22px; font-weight: 450; letter-spacing: -0.01em; }
.hero h1 em { font-style: italic; color: var(--mulberry); }
.hero .lede { font-size: 1.15rem; color: var(--cocoa-soft); max-width: 58ch; margin: 0 auto 34px; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-art {
  margin: 60px auto 0; max-width: 980px;
  border-radius: 40px 40px 0 0; overflow: hidden;
  background: var(--blush);
}
.hero-art svg { width: 100%; height: auto; }

/* About */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
.about-grid h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); margin-bottom: 20px; }
.about-grid p { margin-bottom: 16px; }
.about-grid .pull {
  font-family: var(--f-serif); font-style: italic; font-size: 1.45rem; line-height: 1.45;
  color: var(--mulberry); border-left: 3px solid var(--honey); padding-left: 20px; margin: 28px 0;
}
.beliefs { background: var(--cream); border-radius: var(--bubble); padding: 34px 34px 26px; border: 1px solid var(--line); }
.beliefs h3 { font-size: 1.35rem; margin-bottom: 16px; }
.beliefs ul { list-style: none; }
.beliefs li { position: relative; padding: 11px 0 11px 34px; border-bottom: 1px dashed var(--line); }
.beliefs li:last-child { border-bottom: 0; }
.beliefs li::before {
  content: ""; position: absolute; left: 0; top: 17px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBF4EC' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat;
}
.partners-note { margin-top: 22px; font-size: 0.92rem; color: var(--cocoa-soft); }
.partners-note b { color: var(--wine); }

/* Pathway */
.pathway { margin-top: 76px; }
.pathway h3 { text-align: center; font-size: 1.5rem; margin-bottom: 34px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 25px; left: 10%; right: 10%; border-top: 2px dashed var(--blush); }
.steps li { position: relative; text-align: center; counter-increment: step; }
.steps li::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--mulberry); color: var(--mulberry);
  font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; position: relative;
}
.steps li:nth-child(2)::before { border-color: var(--terracotta); color: var(--terracotta); }
.steps li:nth-child(3)::before { border-color: var(--honey); color: #A86C1F; }
.steps li:nth-child(4)::before { border-color: var(--sage); color: var(--sage-dk); }
.steps li:nth-child(5)::before { background: var(--mulberry); color: var(--cream); }
.steps b { display: block; font-family: var(--f-display); font-weight: 500; color: var(--wine); font-size: 1.1rem; }
.steps span { font-size: 0.9rem; color: var(--cocoa-soft); }

/* Sponsored treatment (dark band, like the template's dark section) */
.sponsored { background: var(--wine); color: var(--blush); position: relative; overflow: hidden; }
.sponsored::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  right: -140px; top: -160px; background: var(--mulberry); opacity: 0.55;
}
.sponsored .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.sponsored .eyebrow { color: var(--honey); }
.sponsored h2 { color: var(--cream); font-size: clamp(1.9rem, 3.6vw, 2.5rem); margin-bottom: 18px; }
.sponsored p { margin-bottom: 14px; color: #EBCFC7; }
.formula {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 26px 0 30px;
  font-family: var(--f-display); color: var(--cream); font-size: 1.05rem;
}
.formula span { background: rgba(251, 244, 236, 0.1); border: 1px solid rgba(251, 244, 236, 0.22); border-radius: 999px; padding: 6px 14px; }
.formula b { color: var(--honey); font-weight: 400; }
.formula span.out { background: var(--honey); color: var(--wine); border-color: var(--honey); }
.journey { list-style: none; counter-reset: j; background: rgba(251, 244, 236, 0.06); border: 1px solid rgba(251, 244, 236, 0.16); border-radius: var(--bubble); padding: 16px 28px; }
.journey li { counter-increment: j; position: relative; padding: 15px 0 15px 46px; border-bottom: 1px solid rgba(251, 244, 236, 0.12); color: var(--cream); }
.journey li:last-child { border-bottom: 0; }
.journey li::before {
  content: counter(j); position: absolute; left: 0; top: 14px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--honey); color: var(--wine); font-weight: 600; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
}
.journey small { display: block; color: #D9B8AF; font-size: 0.88rem; }

/* Programmes */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon {
  width: 54px; height: 54px; border-radius: 18px 18px 18px 6px; display: flex; align-items: center; justify-content: center;
  background: var(--blush); color: var(--mulberry); margin-bottom: 18px;
}
.card:nth-child(3n+2) .icon { background: #F6E3C6; color: #A0621A; }
.card:nth-child(3n) .icon { background: #DFE7DC; color: var(--sage-dk); }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { font-size: 0.96rem; color: var(--cocoa-soft); }

/* Events */
.events { background: var(--paper); }
.event-list { display: grid; gap: 20px; }
.event {
  display: grid; grid-template-columns: 112px 1fr auto; gap: 28px; align-items: center;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.event-date {
  background: var(--mulberry); color: var(--cream); border-radius: 20px 20px 20px 6px;
  text-align: center; padding: 14px 8px; line-height: 1.15;
}
.event-date .m { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blush); }
.event-date .d { font-family: var(--f-display); font-size: 2.4rem; font-weight: 500; display: block; margin: 2px 0; }
.event-date .w { font-size: 0.78rem; color: var(--blush); }
.event h3 { font-size: 1.35rem; margin-bottom: 6px; }
.event-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.88rem; color: var(--cocoa-soft); margin-bottom: 10px; }
.event-meta span { display: inline-flex; align-items: center; gap: 6px; }
.event-meta svg { width: 15px; height: 15px; color: var(--terracotta); }
.event p { font-size: 0.96rem; }
.event .speakers { font-size: 0.86rem; color: var(--cocoa-soft); margin-top: 8px; }
.event-actions { display: flex; flex-direction: column; gap: 10px; min-width: 190px; }
.spots { font-size: 0.8rem; color: var(--sage-dk); text-align: center; }
.spots.low { color: var(--terracotta); }
.empty-state { text-align: center; background: var(--cream); border: 1px dashed var(--line); border-radius: var(--radius); padding: 48px 24px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--cocoa-soft); margin-bottom: 18px; }
.format-pill { display: inline-block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: #DFE7DC; color: var(--sage-dk); margin-bottom: 8px; }
.format-pill.inperson { background: #F6E3C6; color: #8A5414; }

/* Ask anonymously */
.ask { background: var(--blush); }
.ask .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start; }
.ask h2 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 18px; }
.ask .intro { font-size: 1.08rem; margin-bottom: 22px; }
.promises { list-style: none; margin-bottom: 26px; }
.promises li { display: flex; gap: 12px; padding: 8px 0; font-size: 0.97rem; }
.promises svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--mulberry); }
.crisis {
  background: var(--paper); border-radius: 16px; padding: 16px 18px; font-size: 0.92rem;
  border-left: 4px solid var(--terracotta);
}
.crisis b { color: var(--wine); }
.ask-card { background: var(--paper); border-radius: var(--bubble); padding: 32px; box-shadow: var(--shadow); }
.ask-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.ask-card .hint { font-size: 0.9rem; color: var(--cocoa-soft); margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; border: 0; }
.chips legend { font-size: 0.85rem; font-weight: 600; margin-bottom: 10px; width: 100%; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label {
  padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--cream);
  font-size: 0.9rem; cursor: pointer; transition: all 0.15s;
}
.chips label:hover { border-color: var(--mulberry); }
.chips input:checked + label { background: var(--mulberry); border-color: var(--mulberry); color: var(--cream); }
.chips input:focus-visible + label { outline: 3px solid var(--honey); outline-offset: 2px; }
.ask-card textarea { min-height: 150px; }
.counter { font-size: 0.78rem; color: var(--cocoa-soft); text-align: right; margin-top: 4px; }
.ask-card .btn { width: 100%; margin-top: 16px; background: #1F7A4D; border-color: #1F7A4D; }
.ask-card .btn:hover { background: #18633E; border-color: #18633E; }
.ask-card .alt { font-size: 0.85rem; text-align: center; color: var(--cocoa-soft); margin-top: 12px; }

/* Forms (shared) */
.field { margin-bottom: 16px; }
.field label, .field .label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--cocoa); }
.field label small, .field .label small { font-weight: 400; color: var(--cocoa-soft); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="password"], .field select, .field textarea, textarea, input.input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px;
  font-family: var(--f-sans); font-size: 0.97rem; background: var(--cream); color: var(--cocoa); outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, textarea:focus, input.input:focus { border-color: var(--mulberry); box-shadow: 0 0 0 4px rgba(125, 38, 56, 0.14); background: var(--paper); }
textarea { resize: vertical; min-height: 100px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; margin-bottom: 10px; cursor: pointer; }
.check input { margin-top: 5px; accent-color: var(--mulberry); width: 16px; height: 16px; flex: none; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; }
.error-msg { color: #A3262F; font-size: 0.82rem; margin-top: 5px; display: none; }
.field.invalid .error-msg { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #C2414B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 15px; border-radius: 14px; margin-bottom: 16px; font-size: 0.92rem; display: none; }
.alert.ok { display: block; background: #E3EDE0; color: #2F4A2B; border: 1px solid #B9CDB4; }
.alert.err { display: block; background: #F9E0DD; color: #7A1E28; border: 1px solid #EDB7B0; }

/* Stories / blog cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card .top { height: 10px; background: var(--mulberry); }
.post-card .body { padding: 26px 26px 24px; display: flex; flex-direction: column; flex: 1; }
.tag { display: inline-block; align-self: flex-start; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 10px; }
.post-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.post-card p { font-family: var(--f-serif); font-size: 1.12rem; line-height: 1.5; color: var(--cocoa-soft); flex: 1; }
.post-card .meta { font-size: 0.82rem; color: var(--cocoa-soft); margin-top: 16px; }
.center { text-align: center; }
.share-story {
  margin-top: 48px; display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--bubble); padding: 28px 32px;
}
.share-story svg.q { width: 46px; height: 46px; color: var(--honey); }
.share-story h3 { font-size: 1.3rem; margin-bottom: 4px; }
.share-story p { color: var(--cocoa-soft); font-size: 0.97rem; }

/* FAQ */
.faq { background: var(--paper); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: 1.2rem; color: var(--wine); font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237D2638' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer { padding: 0 48px 24px 0; color: var(--cocoa-soft); }

/* Get involved */
.involve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
.involve {
  border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 10px;
  background: var(--paper); border: 1px solid var(--line);
}
.involve.feature { background: var(--mulberry); border-color: var(--mulberry); color: var(--blush); }
.involve.feature h3 { color: var(--cream); }
.involve h3 { font-size: 1.35rem; }
.involve p { font-size: 0.96rem; flex: 1; }
.involve .btn { align-self: flex-start; margin-top: 8px; }
.letter {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center;
  background: #DFE7DC; border-radius: var(--bubble); padding: 32px 36px;
}
.letter h3 { font-size: 1.4rem; margin-bottom: 4px; }
.letter p { color: #4C5E48; font-size: 0.96rem; }
.letter form { display: flex; gap: 10px; flex-wrap: wrap; }
.letter input.input { flex: 1; min-width: 200px; background: var(--paper); }
.letter .alert { width: 100%; margin: 8px 0 0; }

/* Footer */
footer.site { background: var(--cocoa); color: #DCCBC4; padding: 64px 0 28px; font-size: 0.93rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 44px; }
footer.site .brand { color: var(--cream); margin-bottom: 14px; }
footer.site .brand small { color: #BFA9A1; }
footer.site h4 { color: var(--cream); font-size: 1.05rem; margin-bottom: 14px; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 8px; }
footer.site a { color: #F2D4CC; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
.socials { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.socials a { border: 1px solid rgba(242, 212, 204, 0.3); border-radius: 999px; padding: 5px 12px; font-size: 0.82rem; }
.emergency { background: rgba(224, 164, 88, 0.12); border: 1px solid rgba(224, 164, 88, 0.35); border-radius: 14px; padding: 14px 16px; color: #F3DDBB; }
.emergency b { color: var(--honey); }
.foot-bottom { border-top: 1px solid rgba(242, 212, 204, 0.15); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: #A99089; }
.foot-bottom a { color: #D9B8AF; }

/* Floating "Talk to someone" button */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--mulberry); color: var(--cream); border: 0; cursor: pointer;
  padding: 15px 22px; border-radius: 999px 999px 999px 10px;
  font-family: var(--f-sans); font-weight: 600; font-size: 0.98rem; text-decoration: none;
  box-shadow: 0 14px 30px rgba(74, 20, 32, 0.35); transition: transform 0.15s, background 0.15s;
}
.fab:hover { background: var(--mulberry-dk); transform: translateY(-2px); }
.fab svg { width: 20px; height: 20px; }

/* Registration modal */
.overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(59, 42, 42, 0.55); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.overlay.open { display: flex; }
.modal {
  background: var(--paper); width: 100%; max-width: 540px; max-height: 92vh; overflow: auto;
  border-radius: 28px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.modal-head { background: var(--mulberry); color: var(--cream); padding: 26px 30px 0; border-radius: 28px 28px 0 0; position: relative; }
.modal-head h3 { color: var(--cream); font-size: 1.45rem; padding-right: 40px; }
.modal-head p { color: var(--blush); font-size: 0.9rem; margin: 4px 0 18px; }
.close {
  position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: rgba(251, 244, 236, 0.18); color: var(--cream); font-size: 1.3rem; cursor: pointer; line-height: 1;
}
.close:hover { background: rgba(251, 244, 236, 0.32); }
.tabs { display: flex; gap: 6px; }
.tabs button {
  border: 0; background: transparent; color: var(--blush); padding: 11px 18px; border-radius: 16px 16px 0 0;
  font-family: var(--f-sans); font-weight: 600; font-size: 0.93rem; cursor: pointer;
}
.tabs button[aria-selected="true"] { background: var(--paper); color: var(--mulberry); }
.modal-body { padding: 26px 30px 30px; }
.modal-body .reassure { font-size: 0.87rem; background: var(--blush-lt); border-radius: 12px; padding: 10px 14px; margin-bottom: 18px; color: var(--wine); }
.modal-body .btn { width: 100%; margin-top: 8px; }
.success { text-align: center; padding: 10px 0; }
.success svg { width: 60px; height: 60px; margin: 0 auto 14px; color: var(--sage-dk); }
.success h4 { font-size: 1.4rem; margin-bottom: 8px; }
.success p { color: var(--cocoa-soft); margin-bottom: 18px; }

/* Blog pages */
.page-head { padding: 72px 0 40px; text-align: center; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); margin-bottom: 12px; }
.page-head p { color: var(--cocoa-soft); max-width: 56ch; margin: 0 auto; font-size: 1.08rem; }
.article { padding: 64px 0 40px; }
.article .back { font-size: 0.9rem; text-decoration: none; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; margin-bottom: 26px; }
.article h1 { font-size: clamp(2.2rem, 5vw, 3.3rem); margin-bottom: 16px; font-weight: 450; }
.article .meta { color: var(--cocoa-soft); font-size: 0.92rem; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.content-note { background: var(--blush-lt); border-radius: 14px; padding: 12px 16px; font-size: 0.92rem; margin-bottom: 28px; color: var(--wine); }
.prose { font-family: var(--f-serif); font-size: 1.28rem; line-height: 1.7; color: var(--cocoa); }
.prose p, .prose ul, .prose ol, .prose blockquote { margin-bottom: 1.15em; }
.prose h2 { font-size: 1.75rem; margin: 1.6em 0 0.6em; }
.prose h3 { font-size: 1.4rem; margin: 1.4em 0 0.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--terracotta); }
.prose blockquote { border-left: 3px solid var(--honey); padding: 4px 0 4px 22px; font-style: italic; color: var(--mulberry); font-size: 1.4rem; }
.after-post { margin: 48px 0 0; background: var(--blush); border-radius: var(--bubble); padding: 30px 32px; }
.after-post h3 { font-size: 1.35rem; margin-bottom: 6px; }
.after-post p { margin-bottom: 16px; }
.after-post .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.more { padding: 40px 0 96px; }
.more h2 { font-size: 1.6rem; margin-bottom: 22px; }

/* Admin */
.admin { padding: 60px 0 100px; }
.admin table { width: 100%; border-collapse: collapse; font-size: 0.93rem; background: var(--paper); border-radius: 16px; overflow: hidden; }
.admin th, .admin td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.admin th { background: var(--blush-lt); color: var(--wine); font-weight: 600; }
.admin .panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 24px; }
.admin .btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Responsive */
@media (max-width: 980px) {
  .cards, .posts, .involve-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .sponsored .wrap, .ask .wrap, .letter { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 460px; margin: 0 auto; }
  .steps::before { top: 26px; bottom: 26px; left: 25px; right: auto; border-top: 0; border-left: 2px dashed var(--blush); }
  .steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; text-align: left; padding-bottom: 20px; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .event { grid-template-columns: 92px 1fr; }
  .event-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .event-actions .btn { flex: 1 1 auto; white-space: nowrap; }
  .event-actions .spots { width: 100%; }
}
@media (max-width: 760px) {
  nav.main { height: 68px; }
  nav.main ul {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 24px 18px;
  }
  nav.main ul.open { display: flex; }
  nav.main ul a { display: block; padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  nav.main .btn { display: none; }
  .menu-btn { display: flex; }
  section { padding: 72px 0; }
  .cards, .posts, .involve-grid, .foot-grid { grid-template-columns: 1fr; }
  .row-2, .role-grid { grid-template-columns: 1fr; }
  .share-story { grid-template-columns: 1fr; text-align: left; }
  .event { grid-template-columns: 1fr; }
  .event-date { display: flex; align-items: baseline; gap: 10px; justify-content: flex-start; padding: 10px 16px; width: fit-content; }
  .event-date .d { font-size: 1.5rem; margin: 0; }
  .ask-card, .beliefs { padding: 24px; }
  .hero { padding-top: 56px; }
  .hero-art { border-radius: 28px 28px 0 0; margin-top: 44px; }
  .fab { right: 16px; bottom: 16px; padding: 15px; }
  .fab .label { display: none; }
  .prose { font-size: 1.18rem; }
  .modal-head, .modal-body { padding-left: 22px; padding-right: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Voices: format filters, media players, card colours by type */
.filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.filter { text-decoration: none; color: var(--cocoa); border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 18px; font-weight: 500; font-size: 0.95rem; }
.filter span { color: var(--cocoa-soft); font-size: 0.82rem; margin-left: 4px; }
.filter:hover { border-color: var(--mulberry); }
.filter.active { background: var(--mulberry); border-color: var(--mulberry); color: var(--cream); }
.filter.active span { color: var(--blush); }
.post-card.type-read .top { background: var(--mulberry); }
.post-card.type-listen .top { background: var(--terracotta); }
.post-card.type-watch .top { background: var(--sage); }
.media-meta { display: inline-flex; align-items: center; gap: 7px; }
.media-meta svg { width: 16px; height: 16px; color: var(--terracotta); }
.media { margin: 0 0 34px; border-radius: var(--radius); overflow: hidden; background: var(--blush-lt); }
.media.video { aspect-ratio: 16 / 9; }
.media.video iframe, .media.video video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.media.audio-embed iframe { width: 100%; height: 232px; border: 0; display: block; }
.media.audio { padding: 22px; }
.media.audio audio { width: 100%; }
.media-link { margin: 0 0 34px; }
.socials a { display: inline-flex; align-items: center; gap: 6px; }
.socials svg { width: 15px; height: 15px; }
