/* Foreground text system and content-led section spacing. */
:root{
 --text-primary:#F4F7F8;
 --text-body:#D3DDE1;
 --text-secondary:#B3C2C9;
 --text-accent:#9BD0C5;
 --text-accent-hover:#C3EBE2;
 --focus-ring:#C3EBE2;
 color:var(--text-primary);
}
p{font-size:1.125rem;line-height:1.65;color:var(--text-body);letter-spacing:normal;margin-bottom:1.5rem}
h1,h2,h3{color:var(--text-primary)}
h1{font-size:clamp(4rem,6.1vw,5.5rem);line-height:1.10;letter-spacing:-.035em}
h2{font-size:clamp(2.75rem,4.2vw,3.75rem);line-height:1.16;letter-spacing:-.025em}
h3{font-weight:500;font-size:clamp(1.5rem,2vw,1.75rem);line-height:1.28;letter-spacing:-.015em}
a:focus-visible,button:focus-visible,summary:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--focus-ring);outline-offset:5px}
.site-header nav a{font-size:.9375rem;font-weight:500;line-height:1.4;color:var(--text-secondary)}
.site-header nav a:hover,.site-header nav a[aria-current]{color:var(--text-primary);border-color:var(--text-accent)}
.header-cta{font-size:.9375rem;font-weight:500;line-height:1.4;color:var(--text-accent);white-space:normal;text-align:center}
.header-cta:hover{color:var(--text-accent-hover)}
.hero-lead,.section-lead{font-size:clamp(1.4375rem,1.8vw,1.625rem);line-height:1.5;max-width:55ch;color:var(--text-primary)}
.hero-lead{margin:2rem 0 1.5rem}
.service-statement{font-size:1.125rem;line-height:1.65;max-width:60ch;color:var(--text-body)}
.hero-bottom p{font-size:1rem;line-height:1.6;color:var(--text-secondary);margin-bottom:.5rem}
.text-link,.inline-link{font-size:1rem;font-weight:500;line-height:1.4;color:var(--text-accent)}
.text-link{gap:2rem;max-width:100%;min-width:0;flex-shrink:1}
.text-link:after{color:var(--text-accent);flex-shrink:0}
.inline-link{text-decoration-color:currentColor}
.text-link:hover,.inline-link:hover{color:var(--text-accent-hover)}
.section-number,.step-number{font-family:'DM Sans',sans-serif;font-size:.8125rem;font-weight:500;line-height:1.4;letter-spacing:.06em}
.section-number{color:var(--text-accent)}
.step-number{color:var(--text-secondary)}
.project-journey h3{font-size:clamp(1.5rem,2vw,1.75rem);margin-bottom:1rem}
.project-journey p{font-size:1.125rem;line-height:1.65;color:var(--text-body)}
.sector-tabs button{font-size:.9375rem;font-weight:500;line-height:1.4;color:var(--text-secondary)}
.sector-tabs button[aria-selected=true]{color:var(--text-accent)}
.sector-tabs button:hover{color:var(--text-primary)}
.example-panels h3{font-size:clamp(2rem,2.8vw,2.5rem);font-weight:500;line-height:1.22;letter-spacing:-.02em;margin-bottom:1.5rem}
.example-workflow{gap:1rem}
.example-workflow dt,.sector-picker label{font-family:'DM Sans',sans-serif;font-size:.875rem;font-weight:500;line-height:1.4;letter-spacing:normal;color:var(--text-primary);margin-bottom:.5rem}
.example-workflow dd{font-family:'DM Sans',sans-serif;font-size:1.125rem;line-height:1.65;color:var(--text-body);max-width:65ch}
.example-lead{font-size:1.4375rem;line-height:1.5;color:var(--text-body);max-width:55ch}
.example-panels summary{font-size:.9375rem;font-weight:500;line-height:1.4;color:var(--text-accent)}
.example-panels summary:hover{color:var(--text-accent-hover)}
.example-detail p{font-size:1.125rem;line-height:1.65;max-width:65ch;color:var(--text-body)}
.prices dt{font-family:'DM Sans',sans-serif;font-size:.875rem;font-weight:500;line-height:1.45;letter-spacing:.04em;color:var(--text-body);max-width:none}
.prices dd{font-family:'Manrope',sans-serif;font-size:clamp(2.5rem,3.3vw,3rem);font-weight:500;line-height:1.2;letter-spacing:-.025em;color:var(--text-primary);white-space:normal;overflow-wrap:anywhere;margin-top:.75rem}
.pricing-notes p{font-size:1rem;line-height:1.6;color:var(--text-body);margin-bottom:.5rem}
.together-copy{max-width:60ch}
.together-copy p{font-size:1.125rem;line-height:1.65;color:var(--text-body)}
.together-copy p:first-child{font-size:clamp(1.4375rem,1.8vw,1.625rem);line-height:1.5;color:var(--text-primary);max-width:55ch}

.contact-option h3{font-size:clamp(1.5rem,2vw,1.75rem);font-weight:500;line-height:1.28;letter-spacing:-.015em}
.contact-option h3 span{color:var(--text-accent);font-size:1.625rem}
.contact-option p{font-size:1.125rem;line-height:1.65;color:var(--text-body);max-width:60ch}
.contact-option:hover h3{color:var(--text-accent)}
.footer-top p{font-size:1rem;line-height:1.6;color:var(--text-secondary)}
.footer-links a{font-size:.875rem;line-height:1.5;color:var(--text-secondary)}
.footer-links a:hover,.footer-bottom a:hover{color:var(--text-accent-hover);text-decoration:underline;text-underline-offset:4px}
.footer-bottom p,.footer-bottom a{font-size:.8125rem;line-height:1.5;color:var(--text-secondary)}
.section-heading h2,.example-panels,.project-journey li,.prices>div,.contact-option>*{min-width:0;overflow-wrap:break-word}
@media(max-width:1050px){
 .site-header nav a{font-size:.875rem}
 .site-header nav{gap:1rem}
}
@media(max-width:760px){
 h1{font-size:clamp(2.5rem,10.5vw,3rem)}
 h2{font-size:clamp(2rem,8.8vw,2.375rem)}
 p,.service-statement,.project-journey p,.example-workflow dd,.example-detail p,.contact-option p,.together-copy p{font-size:1.0625rem;line-height:1.65}
 .hero-lead,.section-lead,.example-lead,.together-copy p:first-child{font-size:clamp(1.25rem,5.4vw,1.375rem);line-height:1.5}
 .hero-lead{margin:1.5rem 0}
 .hero-bottom p,.pricing-notes p,.footer-top p{font-size:1rem;line-height:1.6}
 .site-header nav a{font-size:.875rem;line-height:1.4}
 .header-cta{font-size:.875rem}
 .project-journey h3,.contact-option h3{font-size:clamp(1.375rem,6vw,1.625rem)}
 .example-panels h3{font-size:clamp(1.75rem,7.6vw,2rem)}
 .sector-picker select{font-size:1rem;font-weight:500;line-height:1.4;color:var(--text-accent)}
 .sector-picker label{font-size:.875rem;margin:0}
 .prices>div{flex-wrap:wrap;gap:.75rem 1.5rem;align-items:baseline}
 .prices dt{font-size:.875rem;flex:1 1 9rem}
 .prices dd{font-size:clamp(1.875rem,8vw,2.25rem);margin:0;flex:0 1 auto}
 .footer-links{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:360px){
 .site-header{column-gap:.5rem}
 .header-cta{padding:.5rem}
 .project-journey{grid-template-columns:1fr}
}
@media(max-width:760px){
 .site-header nav{grid-template-columns:repeat(auto-fit,minmax(4.5rem,1fr));gap:.5rem}
 .site-header nav a{min-width:0;overflow-wrap:break-word}
 .hero{padding-top:max(190px,12rem)}
}
@media(max-width:760px){html{scroll-padding-top:max(155px,12rem)}}

/* Project gallery and a dedicated, centred story reader. */
.examples .section-heading{margin-bottom:3rem}
.story-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(2rem,6vw,5rem)}
.story-card{display:flex;flex-direction:column;align-items:flex-start;padding:2rem clamp(1.25rem,2.2vw,2rem) 2.25rem;border-top:1px solid var(--line);min-width:0;transition:background-color .18s,border-color .18s}
.story-sector{display:block;font-size:.875rem;line-height:1.5;color:var(--text-accent);margin-bottom:.875rem}
.story-card h3{font-size:clamp(1.5rem,2.4vw,2rem);line-height:1.3;margin-bottom:1rem;text-wrap:pretty}
.story-card p{font-size:1.0625rem;line-height:1.65;margin-bottom:1.5rem;max-width:55ch}
.story-action{display:flex;gap:1.5rem;align-items:center;font-size:.9375rem;font-weight:500;line-height:1.5;color:var(--text-accent);margin-top:auto}
.story-action span{transition:transform .18s}
.story-card:hover{border-color:var(--text-accent);background:rgba(155,208,197,.035)}
.story-card:hover h3{color:var(--text-accent-hover)}
.story-card:hover .story-action span{transform:translateX(5px)}
.story-reader{position:relative;isolation:isolate;animation:story-enter .2s ease-out}
.story-reader:before{content:'';position:absolute;z-index:-1;inset:-1rem calc(-1 * var(--gutter)) -3rem;background:rgba(8,17,24,.88);pointer-events:none}
.story-toolbar{position:sticky;top:var(--story-nav-top,100px);z-index:3;display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4rem;padding-inline:clamp(1.25rem,2.2vw,2rem);background:#0a151d;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:3rem}
.story-back{display:inline-flex;align-items:center;min-height:3.5rem;font-size:1rem;font-weight:500;color:var(--text-accent)}
.story-back:hover{color:var(--text-accent-hover);text-decoration:underline;text-underline-offset:5px}
.story-position{font-size:.875rem;font-variant-numeric:tabular-nums;color:var(--text-secondary)}
.project-story{max-width:46rem;margin:0 auto;animation:story-enter .2s ease-out}
.story-intro h3{font-size:clamp(2rem,3.5vw,3rem);line-height:1.2;margin-bottom:1.5rem;overflow-wrap:break-word;text-wrap:pretty}
.story-intro .story-subtitle{font-size:clamp(1.25rem,2vw,1.5rem);line-height:1.6;color:var(--text-primary);margin:0}
.story-intro{padding-bottom:2.5rem;margin-bottom:2.5rem;border-bottom:1px solid var(--line)}
.story-body p{font-size:1.125rem;line-height:1.8;margin-bottom:1.5rem}
.story-pagination{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;border-top:1px solid var(--line);margin-top:3rem;padding-top:1.75rem}
.story-pagination a{display:flex;flex-direction:column;gap:.75rem;padding:.25rem 0;min-width:0}
.story-pagination a:last-child{text-align:right}
.story-pagination span{font-size:.875rem;color:var(--text-accent)}
.story-pagination strong{font-size:1rem;font-weight:500;line-height:1.5;overflow-wrap:break-word}
.story-pagination a:hover strong{color:var(--text-accent-hover)}
@keyframes story-enter{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:760px){
 .story-gallery{grid-template-columns:1fr}
 .examples .section-heading{margin-bottom:2rem}
 .story-card{padding:1.5rem 1.25rem 1.75rem}
 .story-card h3{font-size:1.625rem}
 .story-card p{margin-bottom:1.25rem}
 .story-toolbar{margin-bottom:2rem}
 .story-intro{padding-bottom:1.75rem;margin-bottom:1.75rem}
 .story-body p{font-size:1.0625rem;line-height:1.75}
 .story-pagination{gap:1.25rem;margin-top:2rem}
}
@media(prefers-reduced-motion:reduce){.story-reader,.project-story{animation:none}.story-card,.story-action span{transition:none}}

body:has(.examples.is-reading) .site-header{background:#081119}

/* Give the introduction and narrative their own columns on wide screens. */
@media(min-width:1000px){
 .project-story{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr);gap:0 clamp(3rem,6vw,5.5rem);max-width:none;padding-inline:clamp(1.25rem,2.2vw,2rem);align-items:start}
 .story-intro{border-bottom:0;margin:0;padding:0}
 .story-intro h3{font-size:clamp(2rem,3vw,2.75rem)}
 .story-intro .story-subtitle{font-size:1.25rem}
 .story-body{min-width:0}
 .story-body p:first-child{margin-top:0}
 .story-pagination{grid-column:1/-1}
}

/* One compact spacing rhythm across the complete landing page. */
:root{--section-space:clamp(3rem,4vw,4rem);--heading-space:2rem}
html{scroll-padding-top:calc(var(--header-height,104px) + 16px)}
.site-header.is-scrolled{background:#081119}
main>.section{scroll-margin-top:0;min-height:0}
main>.section:not(.hero){padding-block:var(--section-space)}
main>.hero{
 padding-top:calc(var(--header-height,104px) + var(--section-space));
 padding-bottom:var(--section-space);
 gap:2.5rem;
 justify-content:flex-start;
}
.hero-main>p:last-child,.hero-bottom p:last-child{margin-bottom:0}
.hero-lead{margin-block:1.5rem 1rem}
.hero-bottom{gap:2rem}
.hero-bottom .text-link{flex-shrink:0;white-space:nowrap}
main>.section .section-heading{margin-bottom:var(--heading-space)}
#service .project-journey{margin-top:0;gap:2rem}
.project-journey li{padding-top:1.25rem}
.step-number{margin-bottom:1.5rem}
.project-journey h3{margin-bottom:.75rem}
.project-journey p{margin-bottom:0}
.story-gallery{column-gap:2rem}
.story-card{padding:1.5rem clamp(1rem,2vw,1.5rem)}
.story-sector{margin-bottom:.625rem}
.story-card h3{margin-bottom:.75rem}
.story-card p{margin-bottom:1rem}
.story-toolbar{min-height:3.5rem;margin-bottom:2rem}
.story-back{min-height:3rem}
.story-intro h3{margin-bottom:1rem}
.story-body p{margin-bottom:1.25rem}
.story-body p:last-child{margin-bottom:0}
.story-pagination{margin-top:2rem;padding-top:1.25rem}
.pricing .prices{margin-block:2rem;gap:1.5rem}
.prices>div{padding-top:1.25rem}
.prices dt{min-height:0}
.pricing-bottom{gap:2rem}
.pricing-notes .inline-link{margin-top:.5rem}
.together-copy p:last-child{margin-bottom:0}
.contact .contact-options{margin-top:2rem}
.contact-option{padding-block:1.5rem;gap:2rem}
.site-footer{padding-block:var(--section-space) 1.5rem}
.footer-top{gap:1.5rem}
.footer-top p{margin-block:1rem 0}
.footer-links{margin-block:2rem;gap:1rem 1.5rem}
.footer-bottom{padding-top:1.25rem}
@media(max-width:760px){
 :root{--section-space:2.5rem;--heading-space:1.5rem}
 html{scroll-padding-top:calc(var(--header-height,155px) + 16px)}
 main>.hero{padding-top:calc(var(--header-height,155px) + 2rem);gap:2rem}
 .hero-bottom .text-link{margin-top:1rem}
 #service .project-journey{gap:1.5rem}
 .step-number{margin-bottom:1rem}
 .story-card{padding:1.25rem 1rem}
 .story-toolbar{margin-bottom:1.5rem}
 .story-intro{padding-bottom:1.5rem;margin-bottom:1.5rem}
 .pricing .prices{margin-block:1.5rem;gap:1.25rem}
 .pricing-bottom>.text-link{margin-top:1rem}
 .contact .contact-options{margin-top:1.5rem}
 .contact-option{gap:.75rem;padding-block:1.25rem}
 .footer-top{gap:1rem}
 .footer-links{margin-block:1.5rem;gap:.875rem 1.25rem}
}

@media(max-width:360px){.site-header nav{grid-template-columns:repeat(2,minmax(0,1fr))}}
