/* Approved emerald / ivory editorial system.
   Load after style.css and course-pages.css. Existing routes and controls are retained. */
:root{
 --paper:#f5f1e7;
 --ink:#173d35;
 --green:#173d35;
 --muted:#5c6861;
 --gold:#b28a52;
 --line:#d8dace;
 --white:#fcfaf4;
 --editorial-soft:#e9eadd;
 --editorial-focus:#a56d26;
}
html{scroll-padding-top:112px;scroll-padding-bottom:calc(100px + env(safe-area-inset-bottom))}
body{background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--editorial-focus);outline-offset:5px}
.skip{left:16px;z-index:100;border:1px solid var(--line);background:var(--white);min-height:44px}
.skip:focus{top:12px}
.wrap{max-width:1440px;padding-left:6%;padding-right:6%}
.section{padding-top:80px;padding-bottom:80px}
.eyebrow,.section-kicker{color:var(--green);font-size:10px;letter-spacing:2px;line-height:1.7}
.eyebrow:before{width:34px;flex:none;background:var(--gold)}
.page-intro h1,.course-layout h1,h1.page-heading,.diagnostic h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(42px,5.1vw,70px);line-height:1.08;letter-spacing:-.045em}
.section-top h2,.two-col h2,.course-faq h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.045em;line-height:1.12}
.section-top p,.body-copy,.course-lead{color:var(--muted);line-height:1.85}
.btn{min-height:52px;max-width:100%;white-space:normal;justify-content:space-between;gap:24px;border:1px solid var(--ink);border-radius:3px;background:var(--ink);color:var(--white);padding:16px 22px;font-size:13px;line-height:1.5;box-shadow:none}
.btn:hover{background:#28594a;border-color:#28594a}
.btn.secondary{background:transparent;color:var(--ink)}
.btn.secondary:hover{background:#e9eadd;border-color:#aab5a8}
.text-link,.back-link,.diag-home-link{min-height:44px;line-height:1.7}
.text-link{border-bottom-color:#aab5a8}
/* Shared identity and navigation keep their current open/closed behavior. */
body>header{max-width:1440px;padding:24px 6%;gap:22px;background:var(--paper);border-bottom-color:var(--line)}
.brand{min-width:0;gap:11px;min-height:44px}
.brand .brand-avatar{width:42px;height:42px;object-position:50% 24%;border:1px solid #c7c6b9;box-shadow:none}
.brand .wordmark{width:132px;height:28px}
.brand small{color:var(--muted);font-size:8px;letter-spacing:.65px;line-height:1.45;margin-top:3px}
.lang{gap:4px;background:transparent;border-color:var(--line);border-radius:4px}
.lang button{min-width:44px;min-height:44px;color:var(--muted);font-size:11px;padding:10px 8px;border-radius:3px}
.lang button.active{color:var(--ink);background:#e5e8db;box-shadow:none}
.menu{min-height:44px;min-width:44px;color:var(--ink);border-color:var(--line);border-radius:3px}
#nav{background:var(--paper);border:1px solid var(--line);border-radius:7px;box-shadow:0 14px 40px #173d3518}
#nav a{min-height:48px;border-radius:3px;line-height:1.5}
#nav a:hover,#nav a.active{background:#e1e7da;color:var(--ink)}
#nav a span{color:#678071}
body>footer{max-width:1440px;gap:24px;padding:28px 6%;border-top:1px solid var(--line);color:var(--muted);background:var(--paper)}
.footer-brand{gap:5px;font:19px/1.5 Georgia,'Times New Roman',serif;color:var(--ink)}
.footer-brand span:last-child{font:9px/1.6 Arial,Helvetica,sans-serif;letter-spacing:1.2px;color:var(--muted)}
.footer-contacts{gap:12px 26px}
.footer-contacts a{min-height:48px;color:var(--ink)}
.footer-contacts strong{font-size:12px;font-weight:500}
/* Course catalogue and detail pages. */
.pathways{border-top:1px solid #acb6a6}
.path{border-bottom-color:var(--line);border-radius:3px;background:transparent;box-shadow:none}
.path:hover,.path:active{background:#e9eadd}
.path h3{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.035em}
.path .num{color:#617463;font-style:normal}
.path p{line-height:1.8}
.course-page{padding-top:28px;padding-bottom:80px}
.course-layout{gap:8%;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr)}
.course-layout>*{min-width:0}
.course-audience{border-left-color:#acb6a6}
.course-audience h2{font-family:Arial,Helvetica,sans-serif;letter-spacing:.02em}
.course-content{background:transparent;border:0;border-radius:3px;padding:10px 0 0;box-shadow:none}
.course-content h2{font-size:27px;line-height:1.25;letter-spacing:-.035em}
.course-point{border-color:var(--line)}
.course-point>span{color:#617463;flex:none}
.course-point p{color:var(--muted)}
.course-note{font-size:12px;line-height:1.85;color:var(--muted)}
.course-format{background:var(--editorial-soft);border:1px solid var(--line);border-radius:4px;padding:28px}
.course-format-mode{border-color:#b5c0ae;border-radius:3px;background:transparent}
.course-format h2{font-size:27px;letter-spacing:-.035em}
.course-format .course-format-session{font-family:Georgia,'Times New Roman',serif;font-size:27px;letter-spacing:-.025em}
.course-format .text-link{min-height:44px}
.course-registration h2{font-family:Georgia,'Times New Roman',serif;font-size:24px;line-height:1.3;letter-spacing:-.025em}
.course-registration a{min-height:56px;border-bottom-color:var(--line);line-height:1.7}
.course-registration small{white-space:normal}
.course-faq .section-top{gap:30px}
.course-faq summary{min-height:70px;font-weight:500}
.course-faq .faq-toggle{border-color:#aab8a4;border-radius:3px}
.course-faq details>p{font-size:14px;line-height:1.9}
/* Method, about, resources and contact. */
.dark{background:var(--ink);color:var(--paper)}
.dark .eyebrow{color:#b8cbb9}
.dark p{color:#d3ddd3}
.dark em,.dark i{color:#bfccb8}
.dark .num{color:#b8cbb9}
.dark .step{border-bottom-color:#738b7e}
.dark .steps summary{min-height:44px;padding:12px 0;cursor:pointer;line-height:1.7;color:var(--paper)}
.dark .steps details p{line-height:1.85}
.step h3{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.025em}
.about-portrait{border:1px solid #c7c6b9;border-radius:45% 45% 4px 4px;background:#aab6a5;box-shadow:none;overflow:hidden}
.about-portrait figcaption{background:var(--editorial-soft);color:var(--ink)}
.quote{color:#678071;font-family:Georgia,'Times New Roman',serif}
.resource-grid{gap:28px}
.resource{border:1px solid var(--line);border-radius:4px;background:var(--white);box-shadow:none}
.resource h3{font-size:30px;letter-spacing:-.035em}
.resource .sample{background:var(--editorial-soft);border-left-color:#678071;line-height:1.7}
.resource summary{min-height:44px;padding:10px 0;line-height:1.7}
.cta{background:var(--editorial-soft);border-radius:4px;border:1px solid var(--line)}
.cta h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(32px,3.8vw,48px);letter-spacing:-.045em}
.enquiry-form{border-top:1px solid #acb6a6;padding-top:32px}
.enquiry-form h2{font-size:34px;letter-spacing:-.035em;line-height:1.2}
.enquiry-form select,.enquiry-form input,.enquiry-form textarea,.email-copy input{min-height:48px;max-width:100%;min-width:0;border:1px solid #aab5a8;border-radius:3px;background:var(--white);color:var(--ink);font-size:16px;line-height:1.5}
.enquiry-form .btn{margin-top:18px}
.enquiry-form .fine{font-size:12px;line-height:1.85}
#detail{border-color:#b8c2af;border-radius:5px;background:var(--paper)}
#detail::backdrop{background:#102b24d9}
#detail .close{min-width:44px;min-height:44px;right:9px;top:8px}
.email-options h2{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.035em}
/* The diagnostic remains a readable workspace, including all existing controls. */
.diagnostic{max-width:1240px}
.diagnostic h1{max-width:900px}
.diag-test,.diag-results article{background:var(--white);border:1px solid var(--line);border-radius:4px;box-shadow:none}
.diag-test h2,.diag-results h2,.diag-assessment h2,.diag-placement h2{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.035em}
.diag-test:hover{background:#edf0e3;border-color:#7e947b}
.diag-test p,.diag-note,.diag-intro,.diag-assessment p{line-height:1.85}
.diag-top{flex-wrap:wrap;gap:8px 20px;line-height:1.65}
.diag-workspace>*{min-width:0}
.diag-stimulus{background:var(--editorial-soft);border:1px solid var(--line);border-radius:4px}
.diag-stimulus h2{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.025em}
.diag-passage{font-size:15px;line-height:1.95}
.diag-stimulus audio{max-width:100%}
.diag-option{min-height:56px;align-items:baseline;gap:12px;padding:16px;border:1px solid #bbc4b1;border-radius:4px;background:var(--white);font-size:15px;line-height:1.75}
.diag-option:has(:checked){background:#e1e7da;border-color:var(--ink)}
.diag-option:has(input:focus-visible){outline:3px solid var(--editorial-focus);outline-offset:3px}
.diag-option input{accent-color:var(--ink)}
.diag-controls{gap:12px;flex-wrap:wrap}
.diag-controls .btn{min-height:48px;max-width:100%}
.diag-placement{background:var(--editorial-soft);border-radius:0 4px 4px 0;border-left-color:#678071}
.diag-results strong{font-family:Georgia,'Times New Roman',serif;color:var(--ink)}
.diag-device-controls{border-top-color:#acb6a6}
.diag-device-controls summary{min-height:44px;padding:10px 0;line-height:1.7}
.diag-save-choice{min-height:44px;align-items:flex-start;line-height:1.8}
.diag-report-name input{min-height:48px;border-color:#aab5a8;border-radius:3px;background:var(--white);font-size:16px}
.diagnostic .diag-review{border-bottom-color:var(--line)}
.diagnostic details>summary{min-height:44px;padding-top:10px;padding-bottom:10px;line-height:1.7;cursor:pointer}
@media(max-width:1000px){
 .course-layout{gap:6%}
 .course-layout h1{font-size:49px}
 .course-content h2{font-size:25px}
 .two-col{gap:7%}
}
@media(max-width:760px){
 html{scroll-padding-top:100px}
 body{padding-bottom:calc(88px + env(safe-area-inset-bottom));background:var(--paper)}
 body>header{padding:calc(10px + env(safe-area-inset-top)) 5% 10px;gap:10px;position:sticky;top:0;z-index:30;flex-wrap:nowrap;background:rgba(245,241,231,.97);border-bottom:1px solid var(--line);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
 .brand{gap:9px;margin-right:auto;flex-shrink:1}
 .brand .brand-avatar{width:36px;height:36px;flex:none}
 .brand .wordmark{width:112px;height:24px}
 .brand small{max-width:120px;white-space:normal;font-size:7px;line-height:1.4;letter-spacing:.35px}
 .lang{padding:0;flex:none;gap:0;border:1px solid var(--line)}
 .lang button{min-width:44px;min-height:44px;padding:10px 7px;font-size:10px}
 .bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:rgba(245,241,231,.98);border-top-color:var(--line);box-shadow:0 -5px 25px #173d3508}
 .bottom-nav a,.bottom-nav button{min-width:0;min-height:54px;padding:7px 2px;border-radius:4px;color:var(--muted);font:10px/1.35 Arial,Helvetica,sans-serif;gap:5px;text-align:center}
 .bottom-nav [aria-current=page],.bottom-nav button[aria-expanded=true]{background:#e1e7da;color:var(--ink)}
 .bottom-nav svg{width:21px;height:21px;flex:none}
 .bottom-nav a:focus-visible,.bottom-nav button:focus-visible{outline-offset:-3px}
 #nav{bottom:calc(82px + env(safe-area-inset-bottom));left:12px;right:12px;top:auto;max-height:calc(100svh - 190px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto;padding:12px;border-radius:6px;background:var(--paper)}
 #nav a{min-height:48px;padding:14px;font-size:14px}
 .section{padding-top:44px;padding-bottom:44px}
 .wrap{padding-left:6%;padding-right:6%}
 .two-col{grid-template-columns:minmax(0,1fr);gap:32px}
 .section-top{gap:24px;margin-bottom:28px}
 .section-top p{font-size:13px;line-height:1.85;margin-top:20px}
 .section>.eyebrow,.course-layout .eyebrow{font-size:9px;letter-spacing:1.6px}
 .page-intro h1,.course-layout h1,h1.page-heading,.diagnostic h1{font-size:clamp(36px,10vw,45px);line-height:1.12;letter-spacing:-.045em}
 .section-top h2,.two-col h2,.course-faq h2{font-size:35px;letter-spacing:-.045em}
 .page-intro p,.body-copy,.course-lead{font-size:14px;line-height:1.85}
 .btn{font-size:12px;min-height:52px;padding:15px 19px;gap:18px}
 .pathways{gap:0;border-top:1px solid #acb6a6}
 .path{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:24px 0;background:transparent;grid-template-columns:23px minmax(0,1fr) 18px;gap:12px;min-height:106px}
 .path:hover{padding:24px 0;background:#e9eadd}
 .path h3{font-size:25px;line-height:1.2;margin-bottom:8px}
 .path p{font-size:12px;line-height:1.8}
 .path .num{font-size:11px}
 .course-page{padding-top:20px;padding-bottom:44px}
 .back-link{margin-bottom:24px}
 .course-layout{grid-template-columns:minmax(0,1fr);gap:38px}
 .course-lead{margin:20px 0 24px}
 .course-audience p{font-size:13px;line-height:1.85}
 .course-audience h2{font-size:12px}
 .course-content{padding:0;background:transparent;border:0;border-radius:0}
 .course-content h2{font-size:26px;line-height:1.25;margin-bottom:24px}
 .course-point{padding:21px 0;gap:16px}
 .course-point p{font-size:14px;line-height:1.85}
 .course-note{font-size:12px;line-height:1.85}
 .course-format{padding:24px 21px;border-radius:4px}
 .course-format h2{font-size:25px}
 .course-format p{font-size:13px;line-height:1.85}
 .course-format .course-format-session{font-size:26px;line-height:1.35}
 .course-format .course-format-weekly{font-size:12px}
 .course-format .text-link{font-size:12px}
 .course-registration-note{font-size:12px}
 .course-registration a{padding:17px 0;font-size:14px;gap:6px}
 .course-registration small{font-size:11px;line-height:1.7}
 .course-faq summary{min-height:68px;font-size:14px;gap:16px;line-height:1.7}
 .course-faq details>p{padding-right:8px;font-size:13px;line-height:1.9}
 .dark .section{padding-top:48px;padding-bottom:48px}
 .dark .two-col{gap:34px}
 .dark h1.page-heading,.dark h2{font-size:42px}
 .dark p{font-size:14px;line-height:1.9}
 .step h3{font-size:25px}
 .step p{font-size:13px}
 .about-portrait{max-width:370px;border-radius:45% 45% 4px 4px}
 .about-portrait figcaption{font-size:12px;line-height:1.7}
 .quote{font-size:26px;line-height:1.55}
 .resource-grid{gap:24px}
 .resource{padding:25px 21px;border-radius:4px}
 .resource h3{font-size:28px}
 .resource p,.resource li{font-size:13px;line-height:1.85}
 .resource .sample{padding:18px;font-size:18px;line-height:1.75}
 .cta{padding:28px 22px;border-radius:4px;gap:24px}
 .cta h2{font-size:34px;line-height:1.15}
 .cta p{font-size:13px;line-height:1.85}
 .enquiry-form{margin-top:34px;padding-top:28px}
 .enquiry-form h2{font-size:31px;line-height:1.2}
 .enquiry-form>p{font-size:14px;line-height:1.85}
 .enquiry-form select{width:100%;font-size:16px;padding:15px 12px}
 .enquiry-form .btn{width:100%}
 #detail{width:calc(100% - 28px);padding:48px 22px 28px}
 .email-options h2{font-size:32px;line-height:1.2}
 .diag-catalog{grid-template-columns:minmax(0,1fr);gap:16px}
 .diag-test{padding:24px 21px}
 .diag-test h2{font-size:29px;line-height:1.25}
 .diag-test p,.diag-note,.diag-intro{font-size:14px;line-height:1.85}
 .diag-workspace,.diag-workspace:has(.diag-stimulus){grid-template-columns:minmax(0,1fr);gap:25px}
 .diag-stimulus{padding:22px 19px}
 .diag-passage{font-size:14px;line-height:1.95}
 .diag-question legend{font-size:19px;line-height:1.65;margin-bottom:20px}
 .diag-option{font-size:14px;line-height:1.8;min-height:56px;padding:15px}
 .diag-controls{gap:10px}
 .diagnostic .diag-controls .btn{min-height:50px;padding:14px 17px;font-size:12px}
 .diag-results{grid-template-columns:minmax(0,1fr);gap:16px}
 .diag-results article{padding:24px 21px}
 .diag-results h2{font-size:26px;line-height:1.3}
 .diag-placement{padding:23px 20px}
 .diag-placement p,.diag-assessment p,.diag-review p{font-size:14px;line-height:1.9}
 .diag-device-controls{padding-top:22px;margin-bottom:32px;font-size:13px}
 .diag-device-controls .btn{margin:6px 8px 6px 0}
 .diag-save-choice{font-size:13px;gap:12px}
 body>footer{flex-direction:column;align-items:stretch;gap:14px;padding:24px 6% 28px}
 .footer-brand{width:100%;flex-direction:row;justify-content:space-between;align-items:center;font-size:17px;white-space:normal}
 .footer-contacts{width:100%;gap:12px}
 .footer-contacts a{flex:1 1 0;min-width:0;min-height:48px;gap:9px}
 .footer-contacts strong{font-size:12px;line-height:1.7}
 .footer-contacts svg{width:18px;height:18px;flex:none}
}
@media(max-width:360px){
 body>header{padding-left:5%;padding-right:5%;gap:8px}
 .brand{gap:7px}
 .brand .brand-avatar{width:34px;height:34px}
 .brand .wordmark{width:100px;height:22px}
 .brand small{max-width:105px;font-size:6.8px}
 .page-intro h1,.course-layout h1,h1.page-heading,.diagnostic h1{font-size:36px}
 .course-content h2{font-size:25px}
 .course-format{padding:22px 18px}
 .course-format .course-format-session{font-size:25px}
 .diag-controls .btn{flex:1 1 120px}
 .bottom-nav a,.bottom-nav button{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 *,*::before,*::after{animation:none!important;transition:none!important}
 .btn:hover,.btn:active{transform:none}
}
@media print{
 body{background:white;padding-bottom:0!important}
 .diagnostic{max-width:none;padding:0}
 .diag-results{display:block}
 .diag-results article{break-inside:avoid;background:white}
}
