/* v3 (Phase 1, 19 Nov 2026): additions for the two front doors. Loaded after site.css and pages.css. */

/* Items still to confirm: visible on the test site, must be gone before launch */
.chk{background:#FFF4CC;color:var(--navy);border:1.5px dashed #B08800;border-radius:6px;padding:1px 6px;font:600 15px/1.5 var(--fb);white-space:normal}

/* Page hero: one sentence and one button under the headline */
.phero .sub{margin:16px 0 0;max-width:640px;font:400 21px/1.45 var(--fb);color:var(--white)}
.phero .pill{margin-top:24px}

/* Header extras: family link, Welsh switch, Login */
.top .cta{align-items:center;gap:14px}
.family{color:var(--navy);text-decoration:none;font:400 15px/1.25 var(--fb);max-width:190px}
.family b{color:var(--blue)}
.family:hover{text-decoration:underline}
.lang{color:var(--navy);font:700 16px/1 var(--fb);text-decoration:underline;text-underline-offset:3px}
.menu a{font-size:17px}
/* 30 Nov 2026: the family link stays on laptops (it used to vanish at 1280px and below, with no other link to it until the phone menu).
   Narrower screens show just the name; the full "Part of the Trinity family" wording is in its accessible name. */
@media (max-width:1280px){ .top .cta .family .fam-pre{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap} .top .cta .family{white-space:nowrap} }
@media (max-width:1180px){ .top .cta .pill-navy{display:inline-flex} }
@media (max-width:860px){
  .menu .mcta .family,.menu .mcta .lang{padding:12px 4px;border:0}
}

/* Home: three service cards */
.areas.three{grid-template-columns:repeat(3,1fr)}
.areas h3 a{color:inherit;text-decoration:none}
.areas h3 a:hover{text-decoration:underline}
@media (max-width:1180px){ .areas.three{grid-template-columns:repeat(2,1fr)} }
@media (max-width:860px){ .areas.three{grid-template-columns:1fr} }
.proof{padding-bottom:48px}

/* Foundation side: same colours as Trinity (T1-B1, Amanda 19 Nov). Told apart by its logo. */

/* "If you need help today" box */
.helpbox{margin:40px 0 0;background:var(--white);border-left:6px solid var(--blue);border-radius:var(--r);box-shadow:var(--shadow);padding:24px 28px}
.helpbox h2{margin:0 0 8px;font:700 24px/1.2 var(--fh)}
.helpbox ul{margin:0;padding-left:20px}
.helpbox li{margin:6px 0}

/* Who we support: one section per group */
.groups{display:grid;gap:18px;padding-top:24px;padding-bottom:64px}
.grp{background:var(--white);border-radius:var(--r);padding:24px 28px;box-shadow:var(--shadow);scroll-margin-top:96px}
.grp h2{margin:0 0 8px;font:400 30px/1.15 var(--fh);color:var(--blue)}
.grp p{margin:8px 0}

/* Funder line */
.funder{background:var(--white)}
.funder .wrap,.lottery{display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding-top:24px;padding-bottom:24px}
.funder p,.lottery p{margin:0;flex:1;min-width:240px}
.lottery{padding-bottom:64px}

/* Footer legal lines */
.site-foot .legal p{margin:0;padding:6px 0;font-size:16px;opacity:.95}
.site-foot .legal .wrap{display:block;padding-top:18px;padding-bottom:22px}
.site-foot .chk{font-size:13px}

/* Forms: enquiry type */
.form select{font:400 18px/1.4 var(--fb);color:var(--navy);border:1.5px solid #b9c6d8;border-radius:var(--r-sm);padding:14px 16px;background:var(--sky)}
.form select:focus{outline:3px solid var(--gold);outline-offset:2px}
.talk .side p{margin:0 0 14px}

/* Holding and policy pages */
.login-hold,.policy{padding-top:72px;padding-bottom:96px;max-width:760px}
.ncard h2 a{color:inherit;text-decoration:none}
.ncard h2 a:hover{text-decoration:underline}
.subnav{flex-wrap:wrap}
[id]{scroll-margin-top:96px}

/* T1-B3 anonymous story or quote */
.story{margin:32px 0 0;background:var(--white);border-radius:var(--r);box-shadow:var(--shadow);padding:28px 32px;border-left:6px solid var(--gold)}
.story blockquote{margin:0}
.story p{margin:0;font:600 24px/1.4 var(--fh);color:var(--navy)}
.story figcaption{margin-top:12px;font-size:16px;color:var(--navy);opacity:.85}
.form .hint{margin:-6px 0 6px;font-size:16px}
/* T20-B 2 (28 Nov 2026): the invitation to scroll at the bottom centre of the Home hero. A real link with a
   spoken label; it moves gently only when the visitor has not asked for less motion (site.css turns it off). */
.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.home .hero .foot{padding-bottom:88px}
.home .hero .down{background:rgba(19,41,75,.35)}
.home .hero .down:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.home .hero .copy .lede{font-weight:600;margin-bottom:12px}
#why:focus{outline:none}
/* T20: the longer Home hero copy sits higher, so the shade starts higher on wide screens to keep the words readable. */
@media (min-width:861px){ .home .hero:after{background:linear-gradient(180deg,rgba(19,41,75,.55) 0%,rgba(19,41,75,.08) 28%,rgba(19,41,75,.6) 52%,rgba(19,41,75,.92) 100%)} }
