/* Through You serve list. Full Circle brand, TRUST quadrant, light only.
   Phone first: correct at 375px, 16px gutters, nothing scrolls sideways.
   Tokens follow _SHARE/FULL CIRCLE/BRAND/fullcircle-tokens.css. */

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 800; font-display: swap;
  src: url(assets/fonts/archivo-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 800; font-display: swap;
  src: url(assets/fonts/archivo-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(assets/fonts/dm-sans-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(assets/fonts/dm-sans-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(assets/fonts/dm-sans-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(assets/fonts/dm-sans-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(assets/fonts/dm-sans-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(assets/fonts/dm-sans-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #FAFAF6;
  --surface: #FFFFFF;
  --surface-2: #F3F4EC;
  --ink: #17211A;
  --muted: #5C6A59;
  --line: #E5E7DD;
  --line-strong: #CFD4C7;
  --q: #3E7C8C;            /* BUILD TRUST teal: the one colour on this page */
  --q-soft: #E6F0F2;
  --q-ink: #2F6270;        /* teal for text on bone */
  --q-trust: #3E7C8C; --q-guide: #5E9633; --q-engage: #E08A2B; --q-develop: #C0483D;
  --danger: #C0483D; --danger-soft: #F8E9E7;
  --ok-soft: #EAF4E6; --ok-ink: #177016;
  --display: 'Archivo', system-ui, sans-serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --r-pill: 999px; --r-card: 20px; --r-input: 12px;
  --shadow: 0 1px 2px rgba(23,33,26,.04), 0 8px 24px rgba(23,33,26,.06);
  --shadow-lift: 0 4px 8px rgba(23,33,26,.10), 0 20px 40px rgba(23,33,26,.12);
  --gutter: 16px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; overflow-x: hidden; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  min-height: 100vh; display: flex; flex-direction: column;
}
body.sheet-open { overflow: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
p { margin: 0; }
.wrap { width: 100%; max-width: 680px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Header ---- */
.masthead { padding: 28px 0 0; text-align: center; }
.ty-logo { width: min(320px, 82%); margin: 0 auto 14px; color: var(--ink); }
.tagline {
  font-family: var(--display); font-weight: 800; letter-spacing: -.015em;
  font-size: clamp(28px, 7.4vw, 40px); line-height: 1.05; margin: 0 0 14px;
}
/* The counter: the same dark block as the church web page. */
.counter { background: var(--ink); border-radius: 20px; padding: 30px 22px 26px; margin: 4px 0 20px; text-align: center; }
.counter[hidden] { display: none; }
.counter p { margin: 0; }
.counter-label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8EC4D0; margin-bottom: 12px !important; }
.counter-num { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 13vw, 72px); line-height: 1; letter-spacing: -.03em; color: #fff; }
.counter-num small { font-weight: 700; font-size: .3em; letter-spacing: .06em; color: rgba(255,255,255,.55); margin-left: 10px; }
.track { height: 12px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; margin: 20px auto 12px; max-width: 460px; }
.track span { display: block; height: 100%; min-width: 12px; border-radius: 99px; background: linear-gradient(90deg, var(--q-trust), var(--q-guide), var(--q-engage), var(--q-develop)); transition: width 1.2s cubic-bezier(.4,0,.2,1); }
.counter-foot { font-size: 14.5px; color: rgba(255,255,255,.62); }
.what-counts { color: var(--muted); max-width: 30em; margin: 0 auto 22px; }
.spectrum { display: flex; height: 6px; border-radius: var(--r-pill); overflow: hidden; }
.spectrum i { flex: 1; display: block; }
.spectrum i:nth-child(1) { background: var(--q-trust); }
.spectrum i:nth-child(2) { background: var(--q-guide); }
.spectrum i:nth-child(3) { background: var(--q-engage); }
.spectrum i:nth-child(4) { background: var(--q-develop); }

/* The one line set apart. */
.open-line { margin: 24px 0 8px; }
.open-line .wrap { display: block; }
.open-line span::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--q); margin-bottom: 10px; }
.open-line span {
  font-family: var(--display); font-weight: 800; letter-spacing: -.01em;
  font-size: clamp(21px, 5.6vw, 26px); line-height: 1.2; color: var(--q-ink);
}

/* ---- Partner sections ---- */
main { flex: 1; }
main.wrap { padding-bottom: 44px; }  /* the page ends here; there is no footer. main.wrap, because .wrap sets padding */
.partner { padding: 22px 0 6px; scroll-margin-top: 12px; }
/* The partner's own card. Dark strip (the counter's ink), four-color line on
   top, the logo tile straddling the strip's lower edge, name below on white. */
.partner-card {
  position: relative; overflow: hidden; background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); margin-bottom: 14px;
}
.partner-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 7px; background: linear-gradient(90deg, var(--q-trust), var(--q-guide), var(--q-engage), var(--q-develop)); }
.partner-head {
  display: flex; align-items: flex-start; gap: 14px; padding: 23px 20px 0;
  background: linear-gradient(to bottom, var(--ink) 0, var(--ink) 66px, transparent 66px);
}
.partner-logo {
  flex: 0 0 auto; width: 96px; height: 76px; border-radius: 16px;
  background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; padding: 10px; overflow: hidden;
}
.partner-logo img { display: block; max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.partner-name { min-width: 0; }
.partner-area {
  font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #8EC4D0;
  white-space: nowrap; line-height: 1; height: 43px; padding-top: 12px; margin: 0 0 10px;
}
.partner-head h2 {
  font-family: var(--display); font-weight: 800; letter-spacing: -.015em;
  font-size: clamp(20px, 5.4vw, 24px); line-height: 1.12; margin: 0;
}
.partner-body { padding: 16px 20px 20px; }
.partner-about { color: var(--muted); font-size: 16px; margin: 0; }
.partner-empty {
  background: var(--surface-2); border-radius: 14px; padding: 14px 16px;
  color: var(--muted); font-size: 16px; margin: 16px 0 0;
}
.skeleton .partner-head { background: linear-gradient(to bottom, var(--surface-2) 0, var(--surface-2) 66px, transparent 66px); }
.skeleton .partner-card::before { background: var(--line); }
@media (min-width: 700px) {
  .partner-head { gap: 18px; padding: 25px 28px 0; background: linear-gradient(to bottom, var(--ink) 0, var(--ink) 72px, transparent 72px); }
  .skeleton .partner-head { background: linear-gradient(to bottom, var(--surface-2) 0, var(--surface-2) 72px, transparent 72px); }
  .partner-logo { width: 112px; height: 84px; }
  .partner-area { font-size: 11.5px; letter-spacing: .12em; height: 47px; padding-top: 14px; margin-bottom: 12px; }
  .partner-body { padding: 18px 28px 24px; }
}

/* ---- Cards ---- */
.cards { display: grid; gap: 14px; margin-bottom: 12px; }
.card {
  position: relative; overflow: hidden; text-align: left; width: 100%;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-card);
  padding: 26px 20px 20px; cursor: pointer;
  box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 7px; background: var(--q); }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.card:focus-visible { outline: 3px solid var(--q); outline-offset: 2px; }
.card h3 {
  font-family: var(--display); font-weight: 800; letter-spacing: -.015em;
  font-size: 21px; line-height: 1.15; margin: 0 0 6px;
}
.card .when { color: var(--ink); font-weight: 500; font-size: 16px; margin: 0 0 14px; }
.card .row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 13.5px; font-weight: 500; line-height: 1;
  padding: 8px 12px; border-radius: var(--r-pill);
  background: var(--q-soft); color: var(--q-ink);
}
.chip.mode { background: var(--ink); color: #fff; }
.chip.mode.showup { background: var(--surface-2); color: var(--ink); border: 1.5px solid var(--line-strong); }
.chip.spots { background: transparent; color: var(--muted); border: 1.5px solid var(--line-strong); }
.chip.spots.full { color: var(--danger); border-color: var(--danger); }
.chip.spots.low { color: var(--q-ink); border-color: var(--q); }
.card .go { margin-left: auto; color: var(--q-ink); font-weight: 700; font-size: 15px; }

/* ---- Skeleton, empty, error ---- */
.skeleton .card { pointer-events: none; }
.skel { display: block; background: linear-gradient(90deg, var(--surface-2) 25%, #ECEDE4 50%, var(--surface-2) 75%);
  background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 8px; }
.skel.t { height: 22px; width: 70%; margin-bottom: 10px; }
.skel.w { height: 16px; width: 50%; margin-bottom: 16px; }
.skel.c { height: 30px; width: 90px; display: inline-block; margin-right: 8px; border-radius: 999px; }
.skel.h { height: 26px; width: 55%; margin-bottom: 8px; }
.skel.p { height: 16px; width: 85%; margin-bottom: 18px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } .card, .btn { transition: none; } }

.notice {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-card);
  padding: 22px 20px; margin: 24px 0; text-align: center;
}
.notice.error { border-color: var(--danger); background: var(--danger-soft); }
.notice p { margin-bottom: 14px; }
.notice p:last-child { margin-bottom: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 16px; font-weight: 500;
  padding: 15px 26px; border-radius: var(--r-pill); border: none; cursor: pointer;
  text-decoration: none; white-space: nowrap; max-width: 100%;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--q); transform: translateY(-1px); }
.btn-primary:disabled { background: rgba(23,33,26,.15); color: rgba(23,33,26,.4); cursor: not-allowed; transform: none; }
.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-teal { background: var(--q); color: #fff; }
.btn-teal:hover { background: var(--q-ink); transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn:focus-visible { outline: 3px solid var(--q); outline-offset: 2px; }

/* ---- Bottom sheet ---- */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(23,33,26,.45); z-index: 40; opacity: 0; transition: opacity .25s ease; }
.sheet-backdrop.show { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  max-height: 92vh; max-height: 92dvh; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: var(--surface); border-radius: 24px 24px 0 0;
  box-shadow: 0 -8px 40px rgba(23,33,26,.18);
  transform: translateY(100%); transition: transform .32s var(--ease);
  padding: 10px var(--gutter) calc(28px + env(safe-area-inset-bottom));
}
.sheet::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 7px; background: var(--q); border-radius: 24px 24px 0 0; }
.sheet.show { transform: translateY(0); }
.sheet:focus { outline: none; }
@media (min-width: 720px) {
  .sheet { left: 50%; right: auto; width: 640px; transform: translate(-50%, 100%); }
  .sheet.show { transform: translate(-50%, 0); }
}
.sheet-grip { width: 40px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 10px auto 6px; }
.sheet-close {
  position: absolute; top: 14px; right: 12px; width: 40px; height: 40px; border-radius: 50%;
  border: none; background: var(--surface-2); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer;
}
.sheet-close:focus-visible { outline: 3px solid var(--q); }
.sheet-body { padding-top: 6px; }
.sheet .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--q-ink); margin: 0 0 6px; padding-right: 48px; }
.sheet h2 {
  font-family: var(--display); font-weight: 800; letter-spacing: -.015em;
  font-size: clamp(24px, 6.4vw, 30px); line-height: 1.1; margin: 0 0 12px; padding-right: 48px;
}
.sheet .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.sheet .desc { margin: 0 0 20px; white-space: pre-line; }
.facts { display: grid; gap: 12px; margin: 0 0 22px; padding: 0; list-style: none; }
.facts li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: start; }
.facts .k { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.facts .v { font-size: 16.5px; }
.facts .v a { color: var(--q-ink); font-weight: 500; text-decoration: none; border-bottom: 1.5px solid var(--q-soft); }
.facts .v a:hover { border-color: var(--q); }
.facts .v .sub { display: block; color: var(--muted); font-size: 15px; }
.sheet .actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 22px; }
.share { background: transparent; border: 1.5px solid var(--line-strong); color: var(--ink); }

/* ---- Form ---- */
.form-title { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.01em; margin: 0 0 14px; padding-top: 18px; border-top: 1.5px solid var(--line); }
.field { display: block; margin: 0 0 14px; }
.field span { display: block; font-size: 14px; font-weight: 500; margin: 0 0 6px; }
.field input, .field select {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-input);
  background: var(--surface); appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2317211A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--q); box-shadow: 0 0 0 3px var(--q-soft); }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }
.form-note { color: var(--muted); font-size: 14.5px; margin: 10px 0 0; }
.form-error { background: var(--danger-soft); color: var(--danger); border-radius: var(--r-input); padding: 12px 14px; margin: 0 0 14px; font-size: 15.5px; }
.success { background: var(--ok-soft); border-radius: var(--r-card); padding: 20px 18px; margin-top: 18px; }
.success h3 { font-family: var(--display); font-weight: 800; font-size: 22px; margin: 0 0 6px; color: var(--ok-ink); }
.success p { margin: 0 0 14px; }
.success p:last-child { margin: 0; }

/* Show-up items */
.justgo { padding-top: 18px; border-top: 1.5px solid var(--line); }
.justgo .big { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.015em; margin: 0 0 6px; }
.justgo .small { color: var(--muted); font-size: 15px; margin: 0 0 12px; }

/* ---- Footer, toast ---- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 500; box-shadow: var(--shadow-lift); max-width: calc(100% - 32px); text-align: center;
}
