/* Living Free Society — site styles
   Identity: birds in open sky at sunrise. Deep teal, sunrise coral, peach.
   Bitter slab headings, Karla body, soft horizon curves. */
:root {
  --teal: #0E5E6F;
  --teal-deep: #0B4C5A;
  --teal-ink: #12303A;
  --coral: #F28F6B;
  --coral-dark: #C9603C;
  --peach: #FFF1EA;
  --peach-2: #FFE3D3;
  --white: #FFFFFF;
  --text: #12303A;
  --soft: #4B6670;
  --line: rgba(14, 94, 111, .16);
  --slab: "Bitter", Rockwell, "Roboto Slab", Georgia, serif;
  --body: "Karla", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--body); font-size: 17.5px; line-height: 1.65; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--slab); font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; }
p, ul, dl, dd { margin: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.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 { position: absolute; left: 1rem; top: -5rem; z-index: 100; background: var(--coral); color: var(--teal-ink); padding: .7rem 1.2rem; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 1rem; }

.k { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.band { padding: 4.5rem 0; }
@media (min-width: 820px) { .band { padding: 6.5rem 0; } }
.b-peach { background: var(--peach); }
.b-teal { background: var(--teal); color: var(--white); }
.soft { color: var(--soft); }
.b-teal .soft { color: #CDE3E8; }
.read { max-width: 64ch; }
.t-xl { font-size: clamp(2.1rem, 4.8vw, 3.4rem); color: var(--teal); }
.b-teal .t-xl { color: var(--white); }
.t-md { font-size: clamp(1.5rem, 2.6vw, 1.95rem); color: var(--teal); }
.u1 { margin-top: .75rem; } .u2 { margin-top: 1.4rem; } .u3 { margin-top: 2.25rem; } .u4 { margin-top: 3.25rem; }

/* Fill-in boxes: content the organisation must supply */
.fill { border: 2px dashed var(--coral); background: var(--peach); border-radius: 14px; padding: 1.25rem 1.4rem; color: var(--teal-ink); }
.fill .lbl { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--coral-dark); }
.fill p { margin-top: .4rem; color: var(--soft); }
.b-teal .fill { background: rgba(255,255,255,.08); border-color: var(--peach-2); }
.b-teal .fill .lbl { color: var(--peach-2); }
.b-teal .fill p { color: #E3EFF2; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.6rem; border-radius: 10px 10px 10px 2px; border: 2px solid transparent; font-family: var(--body); font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn-c { background: var(--coral); color: var(--teal-ink); }
.btn-c:hover { background: var(--coral-dark); color: var(--white); }
.btn-t { background: var(--teal); color: var(--white); }
.btn-t:hover { background: var(--teal-ink); }
.btn-o { border-color: var(--teal); color: var(--teal); }
.btn-o:hover { background: var(--teal); color: var(--white); }
.btn-ow { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ow:hover { border-color: var(--coral); color: var(--coral); }
.btn-w { background: var(--white); color: var(--teal); }
.btn-w:hover { background: var(--peach-2); }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.al { font-weight: 700; color: var(--teal); text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.al:hover { color: var(--coral-dark); }

/* Header */
.hdr { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.hdr-r { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; height: 74px; }
.lg-mark { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.lg-mark img { width: 44px; height: 44px; }
.lg-mark span { font-family: var(--slab); font-weight: 700; font-size: 1.25rem; color: var(--teal); line-height: 1.05; }
.lg-mark small { display: block; font-family: var(--body); font-weight: 500; font-size: .78rem; color: var(--soft); }
.nav { display: none; }
.nav ul { list-style: none; padding: 0; display: flex; gap: 1.75rem; }
.nav a { font-weight: 600; text-decoration: none; color: var(--soft); padding: .3rem 0; }
.nav a:hover { color: var(--teal); }
.nav a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -3px 0 var(--coral); }
.hdr-cta { display: none; padding: .65rem 1.2rem; }
.tog { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 10px 10px 10px 2px; border: 0; background: var(--teal); color: var(--white); cursor: pointer; }
.dr { background: var(--teal); color: var(--white); padding: .5rem 1.25rem 1.75rem; }
.dr[hidden] { display: none; }
.dr ul { list-style: none; padding: 0; }
.dr a.dl { display: block; padding: .8rem 0; font-family: var(--slab); font-weight: 700; font-size: 1.55rem; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.18); }
.dr a.dl[aria-current="page"] { color: var(--coral); }
.dr .btn { width: 100%; margin-top: 1.25rem; }
@media (min-width: 920px) { .nav { display: block; } .tog, .dr { display: none !important; } }
@media (min-width: 1120px) { .hdr-cta { display: inline-flex; } }

/* Hero: sunrise and birds */
.hero { position: relative; overflow: hidden; background: var(--teal); color: var(--white); }
.hero .sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .sun { fill: var(--coral); }
.hero .hill { fill: var(--teal-deep); }
.hero .bird { fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; animation: fly 3.2s cubic-bezier(.25,.7,.3,1) both; }
@keyframes fly { from { transform: translate(-140px, 60px); opacity: 0; } 25% { opacity: 1; } to { transform: none; opacity: 1; } }
.hero-c { position: relative; padding-top: 4.5rem; padding-bottom: 12rem; }
@media (min-width: 820px) { .hero-c { padding-top: 6rem; padding-bottom: 14rem; } }
.hero h1 { font-size: clamp(3rem, 8vw, 6rem); max-width: 10ch; }
.hero p { margin-top: 1.5rem; font-size: 1.15rem; max-width: 40ch; color: #E3EFF2; }
.hero .btns { margin-top: 2.25rem; }

/* Mission/vision */
.mv { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .mv { grid-template-columns: 1fr 1fr; } }
.mv h2 { font-size: 1.5rem; color: var(--teal); }
.mv .fill { margin-top: 1rem; }

/* Work cards */
.cards { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 820px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { border-radius: 18px 18px 18px 4px; background: var(--white); border: 1px solid var(--line); padding: 1.75rem; }
.card .num { font-family: var(--slab); font-weight: 700; font-size: 1rem; color: var(--coral-dark); }
.card h3 { margin-top: .5rem; font-size: 1.35rem; color: var(--teal); }
.card .fill { margin-top: 1rem; }

/* Help rows */
.help { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 820px) { .help { grid-template-columns: repeat(3, 1fr); } }
.help > div { border-radius: 18px 18px 18px 4px; background: var(--teal-deep); padding: 2rem; display: flex; flex-direction: column; }
.help h3 { font-size: 1.6rem; color: var(--coral); }
.help p { margin-top: .6rem; flex: 1; color: #CDE3E8; }
.help .btn { margin-top: 1.75rem; align-self: flex-start; }

/* FAQ */
.fqg { display: grid; gap: 2.5rem; }
@media (min-width: 820px) { .fqg { grid-template-columns: 1fr 1.8fr; gap: 4rem; } }
.fqs details { border-bottom: 1px solid var(--line); }
.fqs details:first-child { border-top: 1px solid var(--line); }
.fqs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-family: var(--slab); font-weight: 700; font-size: 1.12rem; color: var(--teal); }
.fqs summary::-webkit-details-marker { display: none; }
.fqs .ch { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--peach-2); display: flex; align-items: center; justify-content: center; color: var(--teal); transition: transform .2s; }
.fqs details[open] .ch { transform: rotate(180deg); background: var(--coral); }
.fqs details p { padding-bottom: 1.3rem; color: var(--soft); max-width: 62ch; }

/* Contact strip */
.cst { display: grid; gap: 1.25rem; padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 820px) { .cst { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.cst h3 { font-family: var(--body); font-size: .9rem; font-weight: 700; color: var(--coral-dark); letter-spacing: 0; }
.cst a, .cst p { display: block; margin-top: .3rem; font-family: var(--slab); font-weight: 700; font-size: 1.15rem; text-decoration: none; word-break: break-word; color: var(--teal-ink); }
.cst a:hover { color: var(--coral-dark); }

/* Page head */
.phd { position: relative; overflow: hidden; background: var(--teal); color: var(--white); }
.phd .sky { position: absolute; right: 0; bottom: 0; width: 60%; height: 100%; }
.phd .sun { fill: var(--coral); opacity: .9; }
.phd .bird { fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; }
.phd .k { position: relative; padding-top: 3.75rem; padding-bottom: 4rem; }
@media (min-width: 820px) { .phd .k { padding-top: 5rem; padding-bottom: 5.5rem; } }
.phd h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); max-width: 14ch; }
.phd p { margin-top: 1.1rem; max-width: 50ch; font-size: 1.12rem; color: #E3EFF2; }

/* Layout */
.two { display: grid; gap: 2.5rem; }
@media (min-width: 820px) { .two { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.tw { display: grid; gap: 2.5rem; }
@media (min-width: 880px) { .tw { grid-template-columns: 1fr 1.45fr; gap: 4rem; } }

/* Table */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.tbl th { width: 11rem; padding-right: 1.25rem; font-weight: 700; color: var(--teal); }
.tbl td { word-break: break-word; }

/* Contact */
.cli > div { padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.cli > div:first-child { padding-top: 0; }
.cli h2 { font-family: var(--body); font-size: .9rem; font-weight: 700; color: var(--coral-dark); letter-spacing: 0; }
.cli a, .cli address { display: block; margin-top: .3rem; font-family: var(--slab); font-weight: 700; font-size: 1.15rem; font-style: normal; text-decoration: none; word-break: break-all; color: var(--teal-ink); }
.cli address { word-break: normal; line-height: 1.5; }
.cli a:hover { color: var(--coral-dark); }
.fbx { background: var(--peach); border-radius: 22px 22px 22px 6px; padding: 1.5rem; }
@media (min-width: 640px) { .fbx { padding: 2.5rem; } }
.mapf { border-radius: 22px 22px 22px 6px; overflow: hidden; border: 1px solid var(--line); }
.mapf iframe { width: 100%; height: 380px; border: 0; }
@media (min-width: 820px) { .mapf iframe { height: 450px; } }
.safe { border-radius: 18px 18px 18px 4px; background: var(--teal-deep); padding: 2rem; }
.safe h3 { font-size: 1.5rem; color: var(--coral); }
.safe ul { margin-top: 1rem; padding-left: 1.2rem; color: #E3EFF2; }
.safe li + li { margin-top: .6rem; }

/* Forms */
.form { display: grid; gap: 1.15rem; }
.form .rw { display: grid; gap: 1.15rem; }
@media (min-width: 620px) { .form .rw { grid-template-columns: 1fr 1fr; } }
.form .fl { font-weight: 700; }
.form .op { font-weight: 400; color: var(--soft); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea { display: block; width: 100%; margin-top: .45rem; padding: .85rem 1rem; font: inherit; font-size: 1rem; color: var(--text); background: var(--white); border: 1.5px solid var(--line); border-radius: 10px 10px 10px 2px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(242,143,107,.35); }
.form [aria-invalid="true"] { border-color: #B8352A !important; }
.form .err { margin-top: .3rem; font-size: .9rem; font-weight: 700; color: #A52E24; }
.form .ag { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; line-height: 1.5; }
.form .ag input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; accent-color: var(--teal); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.alert { border-radius: 10px; padding: 1rem; font-size: .95rem; background: #FDEEEC; border: 1.5px solid #B8352A; }
.alert strong { display: block; color: #A52E24; }
.success { border-radius: 18px 18px 18px 4px; padding: 2rem; background: var(--white); border: 2px solid var(--teal); }
.success h3 { font-size: 1.7rem; color: var(--teal); }
.success button { margin-top: 1.25rem; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--teal); text-decoration: underline; cursor: pointer; }

/* Legal */
.law { max-width: 46rem; margin: 0 auto; padding: 4rem 1.25rem; }
@media (min-width: 820px) { .law { padding: 5.5rem 1.25rem; } }
.law h1 { font-size: clamp(2.3rem, 5vw, 3.3rem); color: var(--teal); }
.law h2 { font-size: 1.45rem; color: var(--teal); margin-top: 2.5rem; }
.law p, .law ul { margin-top: .75rem; }
.law ul { padding-left: 1.4rem; }
.law li + li { margin-top: .45rem; }

/* Footer */
.fo { background: var(--teal-ink); color: #C4D8DD; }
.fo-g { display: grid; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 2.5rem; }
@media (min-width: 820px) { .fo-g { grid-template-columns: 1.6fr 1fr 1.4fr; } }
.fo .lg-mark span { color: var(--white); font-size: 1.4rem; }
.fo .lg-mark small { color: var(--coral); }
.fo h2 { font-family: var(--body); font-size: .92rem; font-weight: 700; color: var(--coral); letter-spacing: 0; }
.fo ul { list-style: none; padding: 0; margin-top: .9rem; }
.fo li + li { margin-top: .5rem; }
.fo a { text-decoration: none; }
.fo a:hover { color: var(--white); text-decoration: underline; }
.fo address { font-style: normal; margin-top: .9rem; }
.fo address p + p { margin-top: .5rem; }
.fo-soc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.fo-soc a { border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: .3rem .75rem; font-size: .9rem; }
.fo-e { border-top: 1px solid rgba(255,255,255,.12); }
.fo-e p { padding-top: 1.2rem; padding-bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px)); font-size: .9rem; }

/* Back to top */
.btt { position: fixed; right: 1.1rem; bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px)); z-index: 30; width: 50px; height: 50px; border-radius: 14px 14px 14px 3px; border: 0; background: var(--coral); color: var(--teal-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 18px rgba(18,48,58,.3); }
.btt[hidden] { display: none; }
.btt:hover { background: var(--teal); color: var(--white); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .bird { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Mission text, intro lead, polished fill boxes */
.mvt { margin-top: 1rem; font-family: var(--slab); font-weight: 600; font-size: clamp(1.25rem, 2.1vw, 1.55rem); line-height: 1.45; color: var(--teal-ink); }
.mv > div { background: var(--white); border-radius: 22px 22px 22px 6px; padding: 2rem; border-top: 5px solid var(--teal); }
.mv > div + div { border-top-color: var(--coral); }
@media (min-width: 820px) { .mv > div { padding: 2.5rem; } }
.lead { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.6; }
.fill { position: relative; padding-left: 3.1rem; }
.fill::before { content: "✎"; position: absolute; left: 1.1rem; top: 1.15rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--coral); color: var(--white); font-size: .8rem; line-height: 1.4rem; text-align: center; }
.fill .ex { margin-top: .7rem; padding-top: .7rem; border-top: 1px dashed rgba(201,96,60,.4); font-style: italic; color: var(--teal-ink); }
.fill .ex span { font-style: normal; font-weight: 700; color: var(--coral-dark); }

/* Programmes */
.cards4 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cards4 { grid-template-columns: repeat(4, 1fr); } }
.cards2 { grid-template-columns: 1fr; }
@media (min-width: 820px) { .cards2 { grid-template-columns: 1fr 1fr; } }
.pcard { display: block; text-decoration: none; transition: border-color .2s, background-color .2s; }
.pcard:hover { border-color: var(--teal); background: var(--peach); }
.pcard p { margin-top: .5rem; }
.pic { display: inline-flex; width: 52px; height: 52px; border-radius: 14px 14px 14px 3px; align-items: center; justify-content: center; background: var(--teal); color: var(--peach-2); margin-bottom: 1rem; }
.prog { scroll-margin-top: 6rem; padding: 2rem; }
.prog h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); color: var(--teal); }
.prog .lead2 { margin-top: .75rem; font-weight: 600; color: var(--teal-ink); }

/* Privacy policy extras */
.psum { margin-top: 2rem; background: var(--peach); border-left: 5px solid var(--coral); border-radius: 0 14px 14px 0; padding: 1.25rem 1.5rem; }
.psum h2 { margin-top: 0 !important; font-size: 1.25rem; }
.psum ul { margin-top: .6rem; }
.ptoc { margin-top: 2rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: 14px; }
.ptoc h2 { margin-top: 0 !important; font-size: 1.1rem; }
.ptoc ol { margin: .6rem 0 0; padding-left: 1.4rem; columns: 2 14rem; }
.ptoc li { margin-bottom: .3rem; }
.ptoc a { color: var(--teal); font-weight: 600; text-decoration: none; }
.ptoc a:hover { text-decoration: underline; }
.law h2[id] { scroll-margin-top: 6rem; }
.paddr { margin-top: .75rem; font-style: normal; line-height: 1.7; }
