/* Shared editorial system for the seven public routes. */
body[data-route]{--reading:#42546a;--edge:#becbd0;--page-gutter:clamp(22px,6vw,96px);font-family:'DM Sans',sans-serif;font-size:16px;line-height:1.6;background-size:64px 64px}
body[data-route] .site-header{height:auto;min-height:86px;padding:18px var(--page-gutter);gap:28px;z-index:60}
body[data-route] .site-header .brand{flex-shrink:0;font-family:'Fraunces',Georgia,serif;font-size:26px;line-height:.95}
body[data-route] .site-header>nav{gap:clamp(14px,1.8vw,28px);align-items:center}
body[data-route] .site-header .nav-link{font:500 14px/1.4 'DM Mono',monospace;letter-spacing:-.035em;padding:12px 0;white-space:nowrap}
body[data-route] .nav-link[aria-current=page]:after{transform:scaleX(1)}
body[data-route] .nav-flyout{top:100%;padding:10px;background:#fffdf7;box-shadow:0 16px 40px #11233a20;border-top:3px solid var(--orange)}
body[data-route] .nav-flyout:before{content:'';position:absolute;inset:-12px 0 auto;height:12px}
body[data-route] .nav-flyout a{font:500 14px/1.5 'DM Sans',sans-serif;gap:20px}
body[data-route=home] .site-header nav .nav-flyout a{color:#11233a}
body[data-route] :is(button,input,select,textarea){font-family:'DM Sans',sans-serif}
body[data-route] :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #ee6f19;outline-offset:4px}
body[data-route] main>.section,body[data-route] main>.testimonials--full{padding:clamp(56px,6vw,88px) var(--page-gutter)}
body[data-route] main :is(h1,h2,h3,h4){text-wrap:balance}
body[data-route] main>.section>h2,body[data-route] .finder-heading h2,body[data-route] .testimonials--full h1{font-size:clamp(40px,5vw,72px);line-height:1.04;letter-spacing:-.055em;margin:0 0 24px;max-width:16ch}
body[data-route] main .eyebrow{font:500 12px/1.6 'DM Mono',monospace;letter-spacing:.16em;margin-bottom:20px}
body[data-route] main .intro,body[data-route] main .finder-heading>p{font:500 clamp(18px,1.55vw,22px)/1.55 'DM Sans',sans-serif!important;letter-spacing:-.015em;max-width:58ch;margin:0 0 32px;color:var(--reading)}
body[data-route] main :is(h3,h4){line-height:1.15;letter-spacing:-.035em}
body[data-route] :is(.service-grid,.tutor-grid,.about-grid,.story-grid,.boundary-grid,.path-grid){gap:24px;margin-top:36px}
body[data-route] :is(.service-grid article,.service-grid aside,.tutor-grid article,.topics,.boundary-grid article){padding:clamp(24px,3vw,40px);border-width:1px;box-shadow:0 8px 28px #11233a08}
body[data-route] :is(.service-grid p,.service-grid li,.tutor-grid p,.about-grid p,.story p,.topics span){font:400 17px/1.7 'DM Sans',sans-serif;letter-spacing:-.01em}
body[data-route] .button{min-height:48px;padding:13px 20px;font:500 15px/1.45 'DM Sans',sans-serif;letter-spacing:-.01em;display:inline-flex;align-items:center;justify-content:center;gap:14px}
body[data-route] .button b{margin:0;font:400 25px/1 'DM Sans',sans-serif}
body[data-route] .button:hover{transform:translateY(-2px);box-shadow:0 5px 0 #ee6f192e}
body[data-route] main :is(.chips,.catalogue-filters) button{min-height:42px;font-size:14px;line-height:1.4}
body[data-route] .path-grid article{min-height:340px;padding:30px 30px 82px;box-shadow:0 8px 28px #11233a0b}
body[data-route] .path-grid article h3{font-size:clamp(27px,2.6vw,36px);line-height:1.08;margin-top:30px}
body[data-route] .path-grid article p:not(.eyebrow){font-size:17px;line-height:1.6}
body[data-route] .path-grid article a{left:30px;bottom:28px}
body[data-route] .pathways:before,body[data-route] .student-toolkit:before{font-size:clamp(90px,10vw,150px);top:45px}
/* Retain the photographic hero and its light-on-dark text. */
body[data-route=home] .hero .lede{font:500 clamp(18px,1.6vw,24px)/1.5 'DM Sans',sans-serif;letter-spacing:-.02em}
body[data-route=home] .real-work{padding:clamp(64px,7vw,100px) var(--page-gutter)}
body[data-route=home] .real-work-heading{gap:32px;margin-bottom:36px}
body[data-route=home] .real-work-heading>p{font-size:19px;line-height:1.6}
body[data-route=home] .real-work-card figcaption{padding-top:22px}
/* Engineering: make the working panels feel like one composed tool. */
body[data-route=engineering] .finder-heading{align-items:center;gap:40px;padding-bottom:28px}
body[data-route=engineering] .finder-heading>p{padding:12px 0 12px 24px;margin:0}
body[data-route=engineering] .finder-grid{margin-top:32px;box-shadow:6px 6px 0 #11233a12}
body[data-route=engineering] .form-panel{padding:32px}
body[data-route=engineering] .form-panel h3{margin-top:0}
body[data-route=engineering] .results{padding:32px!important}
body[data-route=engineering] .results .disclaimer{color:#d8e5ef!important;font-size:14px;line-height:1.6}
body[data-route=engineering] :is(input,select){max-width:100%;min-width:0;border-radius:3px}
body[data-route=engineering] .catalogue-toolbar:hover{transform:none}
/* Watch: readable introduction, compact guidance, consistent video framing. */
body[data-route=watch] .watch-heading-row{align-items:center}
body[data-route=watch] .watch-themes{display:grid;grid-template-columns:150px 1fr;gap:24px;max-width:100%;margin:28px 0;padding:24px 28px;box-shadow:none;background:#fffdf8}
body[data-route=watch] .watch-themes .eyebrow{margin:0;max-width:14ch}
body[data-route=watch] .watch-themes p:not(.eyebrow){font:400 16px/1.65 'DM Sans',sans-serif!important;letter-spacing:0;color:var(--reading)}
body[data-route=watch] .watch-themes:hover{transform:none;box-shadow:none}
body[data-route=watch] .watch .filters{padding:20px 0;margin:8px 0 24px;border-block:1px solid var(--edge)}
body[data-route=watch] .video-grid{gap:24px;align-items:start}
body[data-route=watch] .video-card{min-width:0;border:1px solid var(--edge);background:#fff;box-shadow:0 8px 28px #11233a0b}
body[data-route=watch] .watch-return-panel{max-width:none;background:#11233a;color:#fff;box-shadow:none;padding:32px}
body[data-route=watch] .watch-return-panel h2{font-size:clamp(28px,3vw,40px);letter-spacing:-.04em}
body[data-route=watch] .watch-return-panel h2:after{display:none}
body[data-route=watch] .watch-return-panel p:last-child{color:#d4dfe7}
body[data-route=watch] .watch-return-panel .eyebrow{color:#ffab6c}
body[data-route=watch] .watch-return-panel .button{background:#f8f5eb;color:#11233a}
/* Services and story retain the contrast of their original dark sections. */
body[data-route] main .boundaries{background:#11233a}
body[data-route] main .boundaries>.intro{color:#d8e5ef}
body[data-route] main .boundary-grid article p{color:#d8e5ef}
body[data-route] .service-grid{box-shadow:none}
body[data-route] .service-grid h3{margin-top:0;font-size:30px}
body[data-route] .price{font-size:clamp(52px,5vw,72px);line-height:1.1;padding-block:16px}
body[data-route] .topics{padding:0;overflow:hidden}
body[data-route] .topics span{padding:20px 24px}
body[data-route] .about-grid{align-items:start;gap:clamp(28px,5vw,64px)}
body[data-route] .about article{padding-top:0}
body[data-route] .about h3{font-size:clamp(32px,4vw,50px);margin-top:0}
body[data-route] .story-grid article,body[data-route] .story-grid aside{padding:clamp(24px,3.4vw,48px)}
body[data-route] .story blockquote{font-family:'Fraunces',Georgia,serif;line-height:1.2}
body[data-route] .faq-list{margin-top:32px;max-width:none;border-top:0}
body[data-route] .faq-list details{margin-bottom:12px;background:#fffdf8}
body[data-route] .faq-list summary{font-family:'Fraunces',Georgia,serif;font-size:22px;line-height:1.3;padding:24px 60px 24px 24px}
body[data-route] .testimonials--full{min-height:65vh;background:#e8eef0;border-bottom:1px solid var(--edge)}
body[data-route] .testimonials--full h1{max-width:14ch}
body[data-route] .testimonials--full #hall-mount{margin-top:40px}
body[data-route] .testimonials--full .testimonial-rail{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));width:100%;gap:24px;animation:none}
body[data-route] .testimonials--full .testimonial-card{width:auto;transform:none;box-shadow:0 8px 28px #11233a0b}
body[data-route] .testimonial-card blockquote{font-family:'Fraunces',Georgia,serif;font-size:24px}
body[data-route] .testimonial-card footer{padding:20px 0 0;background:transparent;color:#11233a}
body[data-route]>footer{gap:28px;padding:40px var(--page-gutter);font-size:14px;line-height:1.6}
body[data-route]>footer .brand{font-family:'Fraunces',Georgia,serif}
body[data-route] #route-menu{max-height:calc(100dvh - 32px);overflow-y:auto}
body[data-route] #route-menu a{font-family:'DM Mono',monospace;text-decoration:none;color:var(--ink)}
body[data-route] #route-menu a[aria-current=page]{color:#b64d0b}
@media(max-width:1150px){body[data-route] .site-header>nav{display:none}body[data-route] .route-menu-button{display:block;min-height:44px;padding:10px 18px;border:1px solid var(--ink);background:var(--ink);color:#fff;font:500 15px 'DM Mono',monospace}}
@media(max-width:850px){body[data-route] .site-header{min-height:76px;padding:16px 22px;gap:14px}body[data-route] .site-header .brand{font-size:23px}body[data-route] main>.section{padding-block:52px}body[data-route] main :is(.intro,.finder-heading>p){font-size:18px!important;line-height:1.55!important}body[data-route] main>.section>h2{font-size:clamp(36px,9vw,52px);letter-spacing:-.05em;margin-bottom:22px}body[data-route] .path-grid article{min-height:280px}body[data-route] .watch-themes{grid-template-columns:1fr;gap:8px;padding:22px}body[data-route=watch] .watch-themes .eyebrow{max-width:none}body[data-route] .watch-return-panel{padding:24px}body[data-route] .finder-heading>p{border-left:0;padding-left:0!important}body[data-route] .real-work-heading>p{font-size:18px}body[data-route] .live-strip{line-height:1.7}body[data-route] .story-heading{gap:24px}body[data-route] .faq-list summary{font-size:20px}body[data-route] main .eyebrow{letter-spacing:.12em}body[data-route] .nav-flyout{display:none}}
@media(max-width:480px){body[data-route] .subject{grid-template-columns:minmax(0,1fr) 76px}body[data-route] .subject>:last-child{grid-column:1/-1}body[data-route] .form-panel,body[data-route] .results{padding:24px 18px!important}body[data-route] .hero .actions{gap:12px}body[data-route] .hero .actions .button{width:100%;min-width:0}body[data-route] .watch-back{font-size:12px}body[data-route] .path-grid article{padding-inline:24px}body[data-route] .path-grid article a{left:24px}}
@media(prefers-reduced-motion:reduce){body[data-route] *,body[data-route] *:before,body[data-route] *:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
