/* The formal system, loaded last on every page (home, walk, inner pages).
   Type: STIX Two Text (headings, reading) + Poppins (labels, buttons, small text). Scale ratio 1.25, reading size 18px.
   One accent (#c4135f), black ink, hairline rules. No glows, no drop shadows, no text effects. */
:root{
 --f-serif:Stix,Georgia,"Times New Roman",serif;--f-sans:Poppins,Arial,sans-serif;
 --ink:#111;--txt:#2b2b2b;--mute:#5c5c5c;--faint:#767676;--rule:#e3e3e0;--paper2:#f6f6f4;--acc:#c4135f;
 --t-h1:clamp(2.4rem,2.4vw + 1.4rem,4rem);--t-h2:clamp(1.75rem,1.1vw + 1.3rem,2.5rem);--t-h3:clamp(1.35rem,.6vw + 1.15rem,1.75rem);
 --t-lead:clamp(1.15rem,.4vw + 1.05rem,1.35rem);--t-body:1.125rem;--t-ui:.9375rem;--t-small:.8125rem;--t-label:.75rem}

/* 1. no glows or shadows anywhere */
*,*::before,*::after{text-shadow:none!important}
:is(.btn,.btn-w,.xh-menu,.xh-search,.walk-link a,.cta,.wt,.ntc,.stop,.wrail button,.wrail button::after,.stop::after,.ctc i,.endlogo,.flogo,.xf-brand img,.bl span,.bl::before,.level,.card,.qcard,.gcard,.rcard,.pcard2,.scard,.subj2,.bstep,.rf,.divmini a,.progress i,.foot,.xf,.lede,.lead,.dek){box-shadow:none!important;filter:none!important}
.stop.on::after,.paper .way .stop.on::after{box-shadow:0 0 0 2px var(--acc)!important}
.wrail button.on::after{box-shadow:0 0 0 2px var(--acc)!important}

/* 2. type */
body{font-family:var(--f-serif);color:var(--txt);font-variant-numeric:lining-nums;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,h4{font-family:var(--f-serif)!important;font-weight:500!important;color:var(--ink)!important;text-wrap:balance}
p,li,dd{text-wrap:pretty}
.page-head h1,.paper-head h1,.bs.hero h1,.paper .bs.hero h1{font-size:var(--t-h1)!important;line-height:1.06!important;letter-spacing:-.02em!important}
.section h2,.essay h2,.sec h2,.closing h2,.bs h2,.bs>div>h2,.wt h1,.wt h2{font-size:var(--t-h2)!important;line-height:1.12!important;letter-spacing:-.015em!important}
.bs h3,.section h3,.essay h3,.bs.end h3{font-size:var(--t-h3)!important;line-height:1.2!important;letter-spacing:-.01em!important}
.bs.end h3{font-size:var(--t-h2)!important}
.page-head .lede,.page-head .lead,.paper-head .dek,.bs.hero .lede{font-family:var(--f-serif)!important;font-size:var(--t-lead)!important;line-height:1.5!important;color:var(--txt)!important}
.essay p,.essay li,.section p,.rows p{font-size:var(--t-body);line-height:1.65}
.bs p,.wt p{font-size:1.0625rem!important;line-height:1.6!important}
.bs .sm,.wt .ws,figcaption,.cap,.meta,.meta-row,.paper-facts,.crumbs{font-family:var(--f-sans)!important;font-size:var(--t-small)!important;line-height:1.5!important;color:var(--mute)!important}
/* small labels: one style */
.kick,.xm-k,.six p,.pcontents p,.wn,.xf-cols h2,.series,.k,.rowx .k,.cta .kick,.wt .kick{font-family:var(--f-sans)!important;font-size:var(--t-label)!important;font-weight:500!important;letter-spacing:.07em!important;text-transform:uppercase!important;color:var(--faint)!important;line-height:1.4!important}
.rowx .k{color:var(--ink)!important}
.cta .kick,.wt .kick{color:var(--acc)!important}

/* 3. links and buttons */
main :is(p,li,dd,td,figcaption,.crumbs) a:not(.btn):not(.btn-w),.go,.bs .go,.wl a,.place-link{color:var(--ink)!important;text-decoration:underline!important;text-decoration-color:var(--acc)!important;text-decoration-thickness:1px!important;text-underline-offset:.28em!important}
main :is(p,li,dd,td,figcaption,.crumbs) a:not(.btn):not(.btn-w):hover,.go:hover,.place-link:hover{color:var(--acc)!important}
.go,.bs .go,.wl a,.place-link{font-family:var(--f-sans)!important;font-size:var(--t-ui)!important;font-weight:500!important}
.btn,.btn--primary,.btn--navy,.btn--mint,.btn-w,.walk-link a,.page-head .btn--primary,.closing .btn--primary,.closing .btn--navy{font-family:var(--f-sans)!important;font-size:var(--t-ui)!important;font-weight:500!important;letter-spacing:0!important;background:var(--ink)!important;border:1px solid var(--ink)!important;color:#fff!important;border-radius:2px!important;padding:.85em 1.35em!important;text-decoration:none!important;transition:background .2s,border-color .2s}
.btn:hover,.btn--primary:hover,.btn-w:hover,.walk-link a:hover{background:var(--acc)!important;border-color:var(--acc)!important;color:#fff!important}
.btn--line,.btn--ghost,.page-head .btn--line,.closing .btn--line{font-family:var(--f-sans)!important;font-size:var(--t-ui)!important;font-weight:500!important;background:transparent!important;color:var(--ink)!important;border:1px solid var(--ink)!important;border-radius:2px!important;padding:.85em 1.35em!important}
.btn--line:hover,.btn--ghost:hover{background:var(--ink)!important;color:#fff!important}
.xh-menu{border-radius:2px!important}.xh-search{border-radius:2px!important}

/* 4. one card: hairline border, accent edge, no shadow */
.cta,.paper .cta,.wt,.paper .wt,.page-head .lede,.page-head .lead,.paper-head .dek{background:#fff!important}
.cta,.paper .cta{border:1px solid var(--rule)!important;border-left:2px solid var(--acc)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
:is(.brief,.finding,.rfeature,.closing){border-left-color:var(--acc)!important}
.section h2:not(.sr-only)::before,.essay h2::before{background:var(--acc)!important;box-shadow:none!important;height:2px!important;width:28px!important}

/* 5. text that sits on the 3D drawing: on paper, only a quiet white edge on reading text, never on buttons or links */
@media(max-width:1080px){.brain .bs>div :is(h1,h2,h3,p,dt,dd,li){text-shadow:0 0 10px rgba(255,255,255,.95),0 0 2px #fff!important}}
.paper .wt :is(h1,h2,p){text-shadow:0 0 10px rgba(255,255,255,.95),0 0 2px #fff!important}
.paper .wt,.wt{background:none!important;border:0!important}

/* 6. accent colour in the parts that used the brighter pink */
.stop.past,.paper .way .stop.past::after,.wrail button.past::after,.wrail i,.progress i{background:var(--acc)!important}
.xh-links a[aria-current]{border-bottom-color:var(--acc)!important}.xh-menu:hover{background:var(--acc)!important;border-color:var(--acc)!important}

/* 7. page head: title, summary and buttons in one left column; the drawing stays on the right, nothing on top of it */
.page-head .lede,.page-head .lead,.paper-head .dek{background:none!important;border:0!important;padding:0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;max-width:31em!important}
.page-head .crumbs{margin-bottom:28px}
.page-head .place-link{order:9;margin-top:22px;display:inline-flex;align-items:center;gap:10px}
.page-head .place-link::before{background:var(--acc)!important;box-shadow:none!important}
@media(min-width:1001px){
 .page-head,.paper-head{min-height:clamp(560px,82vh,900px)!important;align-items:center!important}
 .page-head .wrap,.paper-head .wrap{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important;align-content:center!important;padding:132px 48px 72px!important}
 .page-head .wrap>*,.paper-head .wrap>*{grid-column:1!important;grid-row:auto!important;justify-self:start}
 .page-head h1,.paper-head h1{max-width:11em!important}
 .page-head .lede,.page-head .lead,.paper-head .dek{margin-top:26px!important}
 .page-head .actions,.page-head .walk-link{margin-top:34px!important}
 .page-head::after,.paper-head::after{background:linear-gradient(90deg,#fff 0,rgb(255 255 255/.92) 34%,rgb(255 255 255/0) 52%),linear-gradient(0deg,#fff 0,rgb(255 255 255/0) 22%)!important}}
@media(max-width:1000px){
 .page-head .wrap>*,.paper-head .wrap>*{grid-row:auto!important}
 .page-head .lede,.page-head .lead,.paper-head .dek{margin-top:18px!important;font-size:1.125rem!important}
 .page-head .actions{margin-top:24px!important}
 .page-head::after,.paper-head::after{background:linear-gradient(0deg,#fff 0,#fff 55%,rgb(255 255 255/.55) 75%,rgb(255 255 255/0) 100%)!important}}

/* 8. progress rails on the home page and the walk: small dots, plain label */
.way .stop.on::after,.paper .way .stop.on::after{width:11px!important;height:11px!important;margin:-5.5px 0 0 -5.5px!important;background:#fff!important;box-shadow:0 0 0 2px var(--acc)!important}
.way .stop.past::after,.paper .way .stop.past::after{background:var(--acc)!important}
.way .line{background:var(--rule)!important}
.way .now,.wrail .rn{background:none!important;border:0!important;border-radius:0!important;padding:0!important;font:500 var(--t-label)/1.3 var(--f-sans)!important;letter-spacing:.07em!important;text-transform:uppercase!important;color:var(--ink)!important;box-shadow:none!important}
.wrail .ln{background:var(--rule)!important;box-shadow:none!important;border-radius:0!important}
.wrail i{background:var(--acc)!important;box-shadow:none!important}
.wrail button::after{background:#c4c4c4!important}
.wrail button.past::after{background:var(--acc)!important}
.wrail button.on::after{width:11px!important;height:11px!important;margin:-5.5px 0 0 -5.5px!important;background:#fff!important}
.wrail button,.wrail button.past,.wrail button.on,.wrail button:hover{background:transparent!important;box-shadow:none!important}

/* 9. footer: one quiet line style for contacts, no coloured discs */
.xf .ctc i,.xf .ctc .c-wa i,.xf .ctc .c-call i{width:40px!important;height:40px!important;background:none!important;border:1px solid #3d3d3d!important;color:#e6e6e6!important}
.xf .ctc svg{width:19px!important;height:19px!important}
.xf .ctc b{font:400 clamp(18px,1.2vw,22px)/1.3 var(--f-serif)!important;letter-spacing:0!important}
.xf .ctc small{font:500 var(--t-label)/1.3 var(--f-sans)!important;letter-spacing:.07em!important;text-transform:uppercase!important;color:#8f8f8f!important;margin-bottom:3px!important}
.xf .ctc a:hover b{text-decoration-color:var(--acc)!important}
.xf-brand .xf-inv{color:#bdbdbd!important;font-weight:400!important}
.xf-cols a:hover,.xf-base a:hover{color:#fff!important;text-decoration:underline!important;text-decoration-color:var(--acc)!important;text-underline-offset:.25em}
.xf-cols h2{color:#8f8f8f!important}

/* 10. notices */
.ntc{box-shadow:0 0 0 1px var(--rule)!important;border-left:2px solid var(--acc)!important;border-radius:0!important}
.ntc b{font:500 1.125rem/1.3 var(--f-serif)!important}

/* 11. lists of links (contents, on-this-page): plain, underline on hover only */
.six a,.six a:hover,nav[aria-label="On this page"] a{text-decoration:none!important}
.six a:hover b,nav[aria-label="On this page"] a:hover{color:var(--acc)!important}
.six b{font-weight:500!important}
.bs.hero .lede{max-width:30em!important}

/* 12. the running dot on the home rail: a plain ring */
.rdot{width:13px!important;height:13px!important;margin:-6.5px 0 0 -6.5px!important;background:#fff!important;border:2px solid var(--acc)!important;box-shadow:none!important}

/* 13. contact rows everywhere (end of home page, contact page): outline icons, no coloured discs */
.ctc i,.ctc .c-wa i,.ctc .c-call i{width:40px!important;height:40px!important;background:none!important;border:1px solid #cfcfcb!important;color:var(--ink)!important}
.ctc svg{width:19px!important;height:19px!important}
.ctc b{font:400 1.125rem/1.3 var(--f-serif)!important;color:var(--ink)!important;letter-spacing:0!important}
.ctc small{font:500 var(--t-label)/1.3 var(--f-sans)!important;letter-spacing:.07em!important;text-transform:uppercase!important;color:var(--faint)!important}
.xf .ctc i{border-color:#3d3d3d!important;color:#e6e6e6!important}.xf .ctc b{color:#fff!important}.xf .ctc small{color:#8f8f8f!important}

/* 14. phone: the page-head picture is a plain picture above the title, not a faded background */
@media(max-width:1000px){
 .page-head,.paper-head{display:block!important;min-height:0!important}
 .page-head .hero-img,.paper-head .hero-img{position:relative!important;inset:auto!important;height:64vw!important;margin-top:64px;overflow:hidden;z-index:0}
 .page-head .hero-img img,.paper-head .hero-img img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:78% 50%!important}
 .page-head .hero-img img,.paper-head .hero-img img{height:120%!important;transform:translateY(-14%)!important}
 .page-head::after,.paper-head::after{display:none!important}
 .page-head .wrap,.paper-head .wrap{padding:22px 20px 36px!important}}

/* 15. the end of the home page: the principle over the drawing, then a closing section on paper */
.brain .bs.end>div{max-width:34rem}
.brain .bs.end h3{font-size:var(--t-h2)!important}
.close{background:#f9f9f9;border-top:1px solid var(--rule);position:relative;z-index:4}
.cl-in{max-width:1320px;margin:0 auto;padding:clamp(64px,9vw,128px) clamp(22px,4vw,48px) clamp(56px,7vw,96px);display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:28px clamp(32px,6vw,96px)}
.cl-head h2{font-size:var(--t-h1)!important;line-height:1.04!important;letter-spacing:-.02em!important;margin:10px 0 0}
.cl-body p{font:400 var(--t-lead)/1.55 var(--f-serif);color:var(--txt);margin:0 0 14px;max-width:34em}
.cl-body .cl-act{display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;margin-top:30px}
.cl-ctc{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:clamp(40px,5vw,72px) 0 0;border-top:2px solid var(--ink)}
.cl-ctc>div{padding:22px 24px 4px 0;border-right:1px solid var(--rule)}
.cl-ctc>div+div{padding-left:24px}.cl-ctc>div:last-child{border-right:0}
.cl-ctc dt{font:500 var(--t-label)/1.3 var(--f-sans);letter-spacing:.07em;text-transform:uppercase;color:var(--faint);margin:0 0 10px}
.cl-ctc dd{margin:0;font:400 clamp(1.2rem,.5vw + 1rem,1.45rem)/1.3 var(--f-serif)}
.close .cl-ctc dd a:not(.btn):not(.btn-w):not(.go){color:var(--ink)!important;text-decoration:none!important}
.close .cl-ctc dd a:not(.btn):not(.btn-w):not(.go):hover{color:var(--acc)!important;text-decoration:underline!important;text-decoration-color:var(--acc)!important;text-underline-offset:.25em}
body:has(.close) .xf-ctc,body:has(.close) .xf-inv{display:none!important}
body:has(.close) .xf-top{grid-template-columns:1fr!important}
@media(max-width:800px){.cl-in{grid-template-columns:1fr}.cl-ctc{grid-template-columns:1fr}.cl-ctc>div,.cl-ctc>div+div{padding:18px 0 16px;border-right:0;border-bottom:1px solid var(--rule)}}
.page-head .series,.paper-head .series{color:var(--faint)!important}
.close .kick,.cl-ctc dt{color:var(--mute)!important}
