/* Momentum Recovery Coaching
   Brand: Brand and Style Guide (Aug 2026) plus the web addendum in claude/style-guide-web-review.md
   Colour roles: Navy carries the brand, Slate supporting text (white backgrounds only),
   Teal the only accent, Ink body text. On Navy, text is white only. */

@font-face{font-family:"Montserrat";font-weight:600;font-style:normal;font-display:swap;src:url(fonts/montserrat-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Montserrat";font-weight:700;font-style:normal;font-display:swap;src:url(fonts/montserrat-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-weight:400;font-style:normal;font-display:swap;src:url(fonts/source-sans-3-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-weight:400;font-style:italic;font-display:swap;src:url(fonts/source-sans-3-latin-400-italic.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-weight:600;font-style:normal;font-display:swap;src:url(fonts/source-sans-3-latin-600-normal.woff2) format("woff2")}

:root{
  --navy:#0A2540; --slate:#60718A; --teal:#2C7C8A; --ink:#20262E;
  --wash:#F2F5F8; --rule:#DCE3EB; --paper:#FFFFFF;
  --display:"Montserrat",system-ui,sans-serif;
  --body:"Source Sans 3","Segoe UI",system-ui,sans-serif;
  --measure:68ch;
  --wrap:72rem;
  --gutter:clamp(1rem,4vw,2.5rem);
  --space:clamp(3rem,7vw,5.5rem);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:1.125rem;line-height:1.6}
img{max-width:100%;height:auto;display:block}

/* Type */
h1,h2,h3,h4{font-family:var(--display);color:var(--navy);line-height:1.15;margin:0 0 .6em;text-wrap:balance}
h1{font-size:clamp(2rem,1.3rem + 3vw,3.1rem);font-weight:700;letter-spacing:-.02em}
h2{font-size:clamp(1.5rem,1.2rem + 1.2vw,1.95rem);font-weight:600;letter-spacing:-.01em}
h3{font-size:1.25rem;font-weight:600}
p,ul,ol,dl,table{margin:0 0 1.1em}
p,li,dd{max-width:var(--measure)}
li{margin-bottom:.45em}
strong{font-weight:600}
em{font-style:italic}

/* Links: always underlined in body text (WCAG 1.4.1) */
a{color:var(--teal);text-decoration:none;text-decoration-thickness:.08em;text-underline-offset:.18em}
/* Underline only where a link sits inside running text, so colour is not the only cue (WCAG 1.4.1).
   Links that stand alone (lists of links, tables, breadcrumbs, menus) are not underlined. */
main p a:not(.btn),main li a,.helpbar p a,.site-footer .foot-contact a{text-decoration:underline}
.contact-list a,.sources a,.toc a,td a,.breadcrumb a,.site-footer .foot-links a{text-decoration:none}
a:hover{color:var(--navy);text-decoration:underline;text-decoration-thickness:.14em}
.btn:hover,.nav a:hover{text-decoration:none}
:focus-visible{outline:3px solid var(--teal);outline-offset:3px;border-radius:2px}
.on-navy :focus-visible{outline-color:#fff}

.eyebrow{font-family:var(--display);font-weight:600;font-size:.875rem;letter-spacing:.16em;text-transform:uppercase;color:var(--teal);margin:0 0 .9rem}
.standfirst{font-size:1.3rem;line-height:1.5;color:var(--slate);max-width:56ch}
.small{font-size:1rem}
.muted{color:var(--slate)}

/* Layout */
.wrap{width:min(100% - 2*var(--gutter),var(--wrap));margin-inline:auto}
.section{padding-block:var(--space)}
.section + .section{border-top:1px solid var(--rule)}
.section--wash{background:var(--wash);border-top:0}
.section--wash + .section{border-top:0}
.prose{max-width:var(--measure)}
.prose h2{margin-top:2.2em;padding-top:.9rem;border-top:2px solid var(--navy)}
.prose h2:first-child{margin-top:0}
.prose h3{margin-top:1.8em}

.skip{position:absolute;left:1rem;top:-10rem;background:var(--navy);color:#fff;padding:.75rem 1rem;z-index:10;font-weight:600}
.skip:focus{top:1rem}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Help bar: always one tap from crisis numbers */
.helpbar{background:var(--navy);color:#fff;font-size:1rem}
.helpbar .wrap{display:flex;flex-wrap:wrap;gap:.25rem 1.5rem;justify-content:space-between;padding-block:.5rem}
.helpbar a{color:#fff;white-space:nowrap}
a[href^="tel:"]{white-space:nowrap}
.helpbar p{margin:0;max-width:none}

/* Header */
.site-header{border-bottom:1px solid var(--rule)}
.site-header .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 2rem;padding-block:1rem}
.brand{display:block;line-height:0;padding:.25rem}
.brand img{width:132px}
.nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.25rem .5rem}
.nav li{margin:0}
.nav a{display:inline-flex;align-items:center;min-height:44px;padding:.25rem .75rem;font-family:var(--display);font-weight:600;font-size:1rem;color:var(--navy);text-decoration:none;border-bottom:3px solid transparent}
.nav a:hover{border-bottom-color:var(--rule)}
.nav a[aria-current="page"]{border-bottom-color:var(--teal)}
.nav .nav-cta{background:var(--navy);color:#fff;border-radius:4px;border-bottom:0;margin-left:.25rem}
.nav .nav-cta:hover{background:var(--teal)}

/* Buttons: 44px minimum target */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.7rem 1.4rem;border-radius:4px;font-family:var(--display);font-weight:600;font-size:1rem;text-decoration:none;border:2px solid var(--navy);background:var(--navy);color:#fff}
.btn:hover{background:var(--teal);border-color:var(--teal);color:#fff}
.btn--ghost{background:transparent;color:var(--navy)}
.btn--ghost:hover{background:var(--wash);color:var(--navy);border-color:var(--navy)}
.actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.75rem}

/* Hero with the momentum line */
.hero{padding-block:clamp(2.5rem,6vw,4.5rem) clamp(2rem,5vw,3.5rem)}
.hero .wrap{display:grid;gap:2rem;align-items:center}
@media (min-width:56rem){.hero .wrap{grid-template-columns:1.15fr .85fr}}
.hero h1{max-width:16ch}
.line-figure{margin:0}
.line-figure svg{width:100%;height:auto;overflow:visible}
.line-figure figcaption{font-size:1rem;color:var(--slate);max-width:38ch;margin-top:.5rem;border-left:3px solid var(--teal);padding-left:.75rem}
.momentum-path{fill:none;stroke:var(--teal);stroke-width:5;stroke-linecap:round;stroke-linejoin:round}
.momentum-ghost{fill:none;stroke:var(--rule);stroke-width:2;stroke-dasharray:2 8;stroke-linecap:round}
.momentum-head{fill:var(--navy)}
.momentum-label{font-family:var(--display);font-weight:600;font-size:15px;fill:var(--slate)}
@media (prefers-reduced-motion:no-preference){
  .momentum-path{stroke-dasharray:1400;stroke-dashoffset:1400;animation:draw 2.6s cubic-bezier(.45,.05,.3,1) .3s forwards}
  .momentum-head{opacity:0;animation:appear .4s ease-out 2.7s forwards}
  @keyframes draw{to{stroke-dashoffset:0}}
  @keyframes appear{to{opacity:1}}
}

/* Cards and grids */
.grid{display:grid;gap:1.5rem}
@media (min-width:48rem){.grid--2{grid-template-columns:repeat(2,1fr)}.grid--3{grid-template-columns:repeat(3,1fr)}}
.card{border:1px solid var(--rule);border-top:3px solid var(--navy);padding:1.5rem 1.5rem 1.25rem;background:#fff}
.card h3{margin-bottom:.4em}
.card p:last-child{margin-bottom:0}

/* Callout (guide: wash, 3px teal bar) */
.callout{background:var(--wash);border-left:3px solid var(--teal);padding:1.1rem 1.25rem;margin:1.5rem 0;max-width:var(--measure)}
.callout > :last-child{margin-bottom:0}
/* Teal fails AA on Wash (4.40:1): links on Wash backgrounds use Navy */
.callout a,.section--wash a:not(.btn){color:var(--navy)}
.callout .label{font-family:var(--display);font-weight:600;font-size:.875rem;letter-spacing:.14em;text-transform:uppercase;color:var(--navy);margin-bottom:.4rem}

/* Steps: real sequence */
.steps{list-style:none;padding:0;counter-reset:step;max-width:var(--measure)}
.steps > li{counter-increment:step;position:relative;padding:0 0 1.5rem 3.5rem;border-left:2px solid var(--rule);margin-left:1.1rem}
.steps > li:last-child{border-left-color:transparent}
.steps > li::before{content:counter(step);position:absolute;left:-1.15rem;top:-.1rem;width:2.3rem;height:2.3rem;border-radius:50%;background:var(--navy);color:#fff;font-family:var(--display);font-weight:700;display:grid;place-items:center;font-size:1rem}
.steps h3{margin-bottom:.3em;padding-top:.2rem}

/* Tables */
.table-wrap{overflow-x:auto;margin-bottom:1.5rem;max-width:100%}
table{border-collapse:collapse;width:100%;font-size:1rem}
.table-wrap--wide table{min-width:36rem}
caption{text-align:left;font-weight:600;color:var(--navy);padding-bottom:.5rem}
th,td{text-align:left;vertical-align:top;padding:.7rem .8rem;border-bottom:1px solid var(--rule)}
thead th{background:var(--navy);color:#fff;font-family:var(--display);font-weight:600;font-size:.9375rem}
tbody th{font-weight:600;color:var(--navy);width:32%}

/* FAQ */
.faq details{border-bottom:1px solid var(--rule);max-width:var(--measure)}
.faq summary{cursor:pointer;min-height:44px;padding:1rem 2rem 1rem 0;font-family:var(--display);font-weight:600;color:var(--navy);font-size:1.125rem;list-style:none;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:.25rem;top:.85rem;font-size:1.4rem;color:var(--teal)}
.faq details[open] summary::after{content:"\2212"}
.faq details > div{padding-bottom:1rem}

/* Contact list */
.contact-list{list-style:none;padding:0}
.contact-list li{display:flex;flex-wrap:wrap;gap:.25rem 1rem;padding:.6rem 0;border-bottom:1px solid var(--rule);margin:0}
.contact-list .k{min-width:11rem;font-weight:600;color:var(--navy)}

.page-head{padding-block:clamp(2.5rem,6vw,4rem) 1.5rem}
.breadcrumb ol{list-style:none;padding:0;margin:0 0 1rem;display:flex;flex-wrap:wrap;gap:.5rem;font-size:1rem}
.breadcrumb li{margin:0}
.breadcrumb li + li::before{content:"/";color:var(--slate);margin-right:.5rem}
.meta{font-size:1rem;color:var(--slate);margin-top:1.25rem}

.sources{font-size:1rem}
.sources li{margin-bottom:.6em}

/* Easy Read */
.easy{max-width:46rem}
.easy-row{display:grid;grid-template-columns:4.5rem 1fr;gap:1.25rem;align-items:start;padding:1.25rem 0;border-bottom:1px solid var(--rule)}
.easy-row svg{width:4.5rem;height:4.5rem}
.easy-row p{font-size:1.3rem;line-height:1.55;margin:0 0 .5rem;overflow-wrap:anywhere}
.easy-row strong{color:var(--navy)}

/* Footer */
.site-footer{background:var(--navy);color:#fff;padding-block:3rem 2rem;font-size:1rem}
.site-footer a{color:#fff}
.site-footer h2{color:#fff;font-size:1rem;letter-spacing:.14em;text-transform:uppercase;margin-bottom:.8rem;border:0;padding:0}
.site-footer .cols{display:grid;gap:2rem}
@media (min-width:48rem){.site-footer .cols{grid-template-columns:1.2fr 1fr 1fr}}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin-bottom:.35rem}
.site-footer li a{display:inline-block;padding:.35rem 0}
.site-footer .legal{border-top:1px solid rgba(255,255,255,.35);margin-top:2.5rem;padding-top:1.25rem}
.site-footer .legal p{max-width:none}
.site-footer .brand-foot img{width:150px;margin-bottom:1rem}

@media print{.helpbar,.nav,.skip,.actions{display:none}a{color:var(--ink)}}

/* Small screens: keep the first screen for content, not chrome */
@media (max-width:40rem){
  .brand img{width:100px}
  .site-header .wrap{padding-block:.75rem;gap:.5rem 1rem}
  .nav a{padding:.25rem .5rem;font-size:.9375rem}
  .helpbar{font-size:.9375rem}
}

/* Keep text pages left-aligned with the page heading */
.wrap.prose{max-width:none}
.wrap.prose > *:not(.table-wrap){max-width:var(--measure)}

/* First section under a page heading (replaces inline styles so a strict CSP can apply) */
.section.section--follow{padding-top:1rem}

/* Enquiry form (brand guide fields + web addendum: Slate borders 4.97:1, 48px targets) */
.form{max-width:var(--measure);margin-top:1.5rem}
.field{margin-bottom:1.4rem}
.field label,.field legend{display:block;font-weight:600;color:var(--navy);margin-bottom:.35rem}
.field .hint{display:block;font-size:1rem;color:var(--slate);margin:-.15rem 0 .45rem}
.field input[type=text],.field input[type=tel],.field input[type=email],.field textarea{width:100%;min-height:48px;padding:.6rem .75rem;font:inherit;color:var(--ink);background:#fff;border:1px solid var(--slate);border-radius:4px}
.field textarea{min-height:8rem;resize:vertical}
.field input:focus,.field textarea:focus{background:var(--wash)}
fieldset.field{border:0;padding:0;margin:0 0 1.4rem}
.choice{display:flex;align-items:center;gap:.6rem;min-height:44px}
.choice input{width:1.3rem;height:1.3rem;accent-color:var(--teal);margin:0;flex:none}
.choice label{font-weight:400;color:var(--ink);margin:0}
.req{font-weight:400;color:var(--slate)}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
fieldset.field legend{padding:0}
