/* PGDip Advanced Musculoskeletal Physiotherapy – landing page
   Colours: maroon #7A2E2F, navy #313579, ink #1E2040, cream #FAF7F4 */
:root{
  --maroon:#7A2E2F; --maroon-dark:#5C2122; --navy:#313579; --ink:#1E2040;
  --cream:#FAF7F4; --sand:#F3EEE9; --line:#E6E0DA; --line-2:#D9CFC6;
  --muted:#6B6577; --body:#4A4658; --blush:#F0DCDC;
  --serif:'Cinzel',Georgia,serif; --script:'Pinyon Script',cursive; --sans:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
}
*{box-sizing:border-box}
[hidden]{display:none !important}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}
img,video{max-width:100%}
a{color:var(--maroon)} a:hover{color:var(--maroon-dark)}
h1,h2,h3,p{margin:0}
.wrap{max-width:1200px;margin:0 auto}
.section{padding:96px 24px}
.stack{display:flex;flex-direction:column}
.eyebrow{font-family:var(--script);font-size:30px;color:var(--maroon)}
.on-dark .eyebrow{color:var(--blush)}
.h2{font-family:var(--serif);font-weight:600;font-size:38px;line-height:1.2;color:var(--navy)}
.on-dark .h2{color:#fff}
.lead{font-size:17px;line-height:1.65;color:var(--body)}
.label{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:600}
.head{display:flex;flex-direction:column;gap:14px;max-width:760px}
.head.center{text-align:center;align-items:center;margin:0 auto}
.on-dark{background:var(--navy);color:#fff}
.bg-white{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.bg-sand{background:var(--sand)}
.tick{flex:none;margin-top:2px}
.tick-row{display:flex;gap:12px;align-items:flex-start;font-size:16px;line-height:1.55}

/* Buttons */
.btn{display:inline-block;padding:16px 30px;border-radius:4px;font-weight:600;font-size:16px;text-decoration:none;font-family:var(--sans);cursor:pointer;transition:background .15s}
.btn-primary{background:var(--maroon);color:#fff;border:none}
.btn-primary:hover{background:var(--maroon-dark);color:#fff}
.btn-outline{border:1.5px solid #fff;color:#fff;padding:14.5px 28px}
.btn-outline:hover{background:rgba(255,255,255,.12);color:#fff}
.btn-navy{border:1.5px solid var(--navy);color:var(--navy);padding:14px 26px;font-size:15px}
.btn-navy:hover{background:#EEF0F8;color:var(--navy)}
.btn-white{background:#fff;color:var(--maroon)}
.btn-white:hover{background:var(--blush);color:var(--maroon)}
.btn-sm{padding:12px 22px;font-size:14px}
.btn-navy.btn-sm{padding:11px 18px}
.btn-row{display:flex;gap:14px;flex-wrap:wrap}

/* Announcement + nav */
.announce{background:var(--maroon);color:#fff;font-size:14px;padding:10px 24px;display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap;text-align:center}
.announce a{color:#fff;font-weight:600}
.nav{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line)}
.nav .wrap{padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none}
.brand img{height:52px;width:auto}
.brand .rule{width:1px;height:44px;background:var(--maroon)}
.wordmark{display:flex;flex-direction:column;line-height:1.1;color:var(--navy)}
.wordmark .w1{font-family:var(--serif);font-weight:600;font-size:15px;letter-spacing:.12em}
.wordmark .w2{font-family:var(--serif);font-size:10.5px;letter-spacing:.1em}
.wordmark .w3{font-family:var(--script);font-size:18px;color:var(--maroon)}
.navlinks{display:flex;gap:28px;font-size:15px;font-weight:500}
.navlinks a{color:var(--navy);text-decoration:none}
.navlinks a:hover{color:var(--maroon)}
.nav-cta{display:flex;gap:12px;align-items:center}

/* Hero */
.hero{position:relative;overflow:hidden}
.hero-crest{position:absolute;right:-80px;top:-40px;width:560px;opacity:.06;pointer-events:none}
.hero .inner{padding:72px 24px 56px;display:flex;flex-wrap:wrap;gap:56px;align-items:center;position:relative}
.hero .copy{flex:1 1 480px;min-width:0;display:flex;flex-direction:column;gap:22px}
.hero h1{font-family:var(--serif);font-weight:600;font-size:50px;line-height:1.12;letter-spacing:.01em}
.hero p{font-size:19px;line-height:1.6;color:rgba(255,255,255,.86);max-width:560px}
.hero .media{flex:1 1 440px;min-width:0}
.hero video,.video-ph{display:block;width:100%;aspect-ratio:16/9;border-radius:8px;background:var(--ink);box-shadow:0 20px 48px rgba(10,12,40,.35)}
.facts{background:#fff;color:var(--ink)}
.facts .wrap{padding:0 24px;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
.fact{padding:24px 20px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:6px}
.fact:last-child{border-right:none}
.fact .v{font-family:var(--serif);font-weight:600;font-size:20px;color:var(--navy)}

/* Trust band */
.trust{background:var(--sand);border-bottom:1px solid var(--line)}
.trust .wrap{padding:40px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:32px}
.trust .left{display:flex;flex-wrap:wrap;gap:40px;align-items:center;flex:1 1 460px;min-width:0}
.big-num{font-family:var(--serif);font-size:40px;font-weight:600;color:var(--navy)}
.trust small{font-size:14px;color:var(--body)}
.vrule{width:1px;height:56px;background:var(--line-2)}
.flags{display:flex;flex-wrap:wrap;gap:18px}
.flag{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;color:var(--body)}
.flag img{width:42px;height:28px;object-fit:cover;border-radius:3px;border:1px solid var(--line-2)}

/* Cards */
.grid{display:grid;gap:24px}
.cards{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:32px;display:flex;flex-direction:column;gap:14px}
.card h3{font-size:20px}
.card p{font-size:16px;line-height:1.6;color:var(--body)}

/* Numbers */
.numbers{padding:56px 24px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:32px;text-align:center}
.numbers .n{font-family:var(--serif);font-size:52px;font-weight:600;color:var(--maroon);display:block}
.numbers span:last-child{font-size:15px;color:var(--body)}

/* Faculty */
.faculty-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px}
.faculty{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:28px}
.person{display:flex;flex-direction:column;gap:12px}
.portrait{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center top;border-radius:8px;background:#EDE7E1;display:block}
.initials{width:100%;aspect-ratio:4/5;border-radius:8px;background:var(--navy);display:flex;align-items:center;justify-content:center;font-family:var(--serif);font-size:64px;font-weight:600;color:var(--blush);letter-spacing:.06em}
.person .meta{display:flex;flex-direction:column;gap:4px;padding-bottom:8px}
.role{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--maroon);font-weight:600}
.name-row{display:flex;align-items:center;gap:10px}
.name-row img{width:27px;height:18px;object-fit:cover;border-radius:2px;border:1px solid var(--line-2)}
.name-row .nm{font-size:19px;font-weight:600}
.creds{font-size:13px;letter-spacing:.04em;color:var(--navy);font-weight:600}
.person .line{font-size:15px;line-height:1.5;color:var(--body)}
.linkbtn{all:unset;box-sizing:border-box;cursor:pointer;min-height:48px;padding:14px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1.5px solid var(--line-2);color:var(--maroon);font-family:var(--sans);font-size:15px;font-weight:600}
.linkbtn:hover{border-bottom-color:var(--maroon)}
.linkbtn:focus-visible,.acc-btn:focus-visible,.tab:focus-visible,.modal-close:focus-visible{outline:2px solid var(--maroon);outline-offset:2px}
.person .linkbtn{margin-top:auto;width:100%}

/* How you learn */
.rhythm{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:2px;background:rgba(255,255,255,.2);border-radius:8px;overflow:hidden}
.rhythm > div{background:var(--navy);padding:32px;display:flex;flex-direction:column;gap:10px}
.rhythm .when{font-family:var(--serif);font-size:15px;color:var(--blush)}
.rhythm .what{font-size:20px;font-weight:600}
.rhythm p{font-size:15px;line-height:1.6;color:rgba(255,255,255,.82)}

/* Split */
.split{display:flex;flex-wrap:wrap;gap:56px;align-items:center}
.split > img,.split > .img-ph{flex:1 1 460px;min-width:0;width:100%;object-fit:cover;border-radius:8px;display:block}
.split .text{flex:1 1 460px;min-width:0;display:flex;flex-direction:column;gap:20px}
.h2.sm{font-size:36px}

/* Curriculum */
.tabs{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.tab{all:unset;box-sizing:border-box;cursor:pointer;padding:12px 24px;border-radius:999px;font-size:15px;font-weight:600;background:#fff;color:var(--navy);border:1.5px solid #C9C3D9}
.tab[aria-selected="true"]{background:var(--navy);color:#fff;border-color:var(--navy)}
.acc{border-top:1px solid var(--line)}
.acc-item{border-bottom:1px solid var(--line)}
.acc-btn{all:unset;box-sizing:border-box;cursor:pointer;width:100%;padding:24px 16px;display:flex;align-items:center;gap:20px}
.acc-btn:hover{background:var(--sand)}
.acc-btn .code{font-family:var(--serif);font-size:14px;font-weight:600;color:var(--maroon);width:90px;flex:none}
.acc-btn .t{flex:1;font-size:19px;font-weight:600;color:var(--ink)}
.acc-btn .cr{font-size:14px;color:var(--muted)}
.acc-btn .ic{font-size:26px;color:var(--navy);width:24px;text-align:center}
.acc-panel{padding:0 16px 28px 126px;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:28px}
.acc-panel .col{display:flex;flex-direction:column;gap:8px}
.acc-panel .col span:last-child{font-size:16px;line-height:1.6;color:var(--body)}
.faq .acc-btn{padding:22px 12px;gap:16px}
.faq .acc-btn .t{font-size:18px}
.faq .acc-btn .ic{color:var(--maroon)}
.faq .acc-panel{display:block;padding:0 52px 24px 12px;font-size:16px;line-height:1.65;color:var(--body)}

/* Timeline */
.timeline{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.tl{display:flex;flex-direction:column;gap:12px;padding-right:16px;padding-bottom:24px}
.tl .dot-row{display:flex;align-items:center}
.tl .dot{width:16px;height:16px;border-radius:50%;background:var(--maroon);border:3px solid var(--blush);flex:none}
.tl .bar{flex:1;height:2px;background:var(--line-2)}
.tl .d{font-family:var(--serif);font-size:18px;font-weight:600;color:var(--navy)}
.tl .l{font-size:15px;line-height:1.5;color:var(--body)}

/* Who for */
.who{display:flex;flex-wrap:wrap;gap:56px}
.who .text{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:14px}
.reqs{flex:1 1 520px;min-width:0;background:#fff;border-radius:8px;padding:36px;display:flex;flex-direction:column;gap:18px}
.reqs .tick-row{padding-bottom:16px;border-bottom:1px solid #EEE8E2}
.reqs .tick-row:last-child{border-bottom:none;padding-bottom:0}

/* Fees */
.fees{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.fee{border-radius:8px;padding:32px;display:flex;flex-direction:column;gap:12px}
.fee .fl{font-size:13px;letter-spacing:.12em;text-transform:uppercase;font-weight:600}
.fee .price{font-family:var(--serif);font-size:44px;font-weight:600}
.fee .note{font-size:15px;line-height:1.55}
.fee.intl{background:var(--navy);color:#fff}
.fee.intl .fl{color:var(--blush)} .fee.intl .note{color:rgba(255,255,255,.85)}
.fee.pk{background:#fff;color:var(--navy);border:1px solid var(--line)}
.fee.pk .fl{color:var(--maroon)} .fee.pk .note{color:var(--body)}
.included{background:#fff;border:1px solid var(--line);border-radius:8px;padding:32px;display:flex;flex-wrap:wrap;gap:32px;align-items:center;justify-content:space-between}
.included .list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px 24px;font-size:15px;line-height:1.5}
.fine{font-size:14px;color:var(--muted);text-align:center}

/* Apply */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}
.step{border-top:2px solid var(--blush);padding-top:20px;display:flex;flex-direction:column;gap:10px}
.step .n{font-family:var(--serif);font-size:34px;font-weight:600;color:var(--blush)}
.step .t{font-size:18px;font-weight:600}
.step p{font-size:15px;line-height:1.55;color:rgba(255,255,255,.82)}
.docs-link{color:#fff;border-bottom-color:var(--blush);font-size:17px;align-self:flex-start;justify-content:flex-start}
.docs-link:hover{border-bottom-color:#fff}

/* Register */
.register{padding:96px 24px 0}
.reg-card{max-width:1100px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:8px;padding:48px;display:flex;flex-wrap:wrap;gap:48px}
.reg-card .text{flex:1 1 340px;min-width:0;display:flex;flex-direction:column;gap:14px}
.reg-card form{flex:1 1 420px;min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;align-content:start}
.reg-card label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}
.reg-card input{height:48px;border:1px solid #C9C1B9;border-radius:4px;padding:0 14px;font-size:16px;font-family:var(--sans);background:#fff;color:var(--ink)}
.reg-card input:focus{outline:2px solid var(--navy);outline-offset:1px;border-color:var(--navy)}
.reg-card button[type=submit]{grid-column:1/-1;height:52px;border:none;border-radius:4px;font-size:16px}
.reg-card button[disabled]{opacity:.6;cursor:wait}
.form-msg{grid-column:1/-1;font-size:15px;line-height:1.5;margin:0}
.form-msg.ok{color:#1F6B3A} .form-msg.err{color:var(--maroon)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Final CTA + footer */
.final{background:var(--maroon);color:#fff;padding:80px 24px}
.final .wrap{max-width:1000px;display:flex;flex-direction:column;align-items:center;gap:22px;text-align:center}
.final img{width:120px;height:auto}
.final p{font-size:18px;line-height:1.6;color:rgba(255,255,255,.88);max-width:620px}
.footer{background:var(--ink);color:rgba(255,255,255,.8);padding:56px 24px 32px}
.footer .top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:32px}
.footer .wordmark{color:#fff;line-height:1.15}
.footer .wordmark .w3{color:var(--blush)}
.footer .brand img{height:56px}
.footer .col{display:flex;flex-direction:column;gap:8px;font-size:15px}
.footer .col strong{color:#fff}
.footer a{color:rgba(255,255,255,.85)} .footer a:hover{color:#fff}
.footer .bottom{border-top:1px solid rgba(255,255,255,.15);padding-top:20px;margin-top:36px;font-size:13px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}

/* Modals */
.modal{position:fixed;inset:0;z-index:60;background:rgba(20,22,52,.72);display:flex;align-items:center;justify-content:center;padding:20px}
.modal[hidden]{display:none}
.modal-box{position:relative;width:100%;max-width:620px;max-height:90vh;overflow-y:auto;background:#fff;border-radius:12px;padding:40px 36px 36px;box-shadow:0 30px 80px rgba(10,12,40,.45);display:flex;flex-direction:column;gap:14px}
.modal-close{all:unset;position:absolute;top:16px;right:16px;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer}
.modal-close:hover{background:var(--sand)}
.modal .kicker{font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--maroon);font-weight:700}
.modal .mt{font-family:var(--serif);font-size:30px;font-weight:600;line-height:1.2;color:var(--navy)}
.modal .sub{font-size:17px;font-weight:600;line-height:1.45;color:var(--maroon)}
.modal .bio{font-size:17px;line-height:1.75;color:#3A3648}
.modal .portrait,.modal .initials{width:150px;font-size:44px}
.doc-row{display:flex;gap:14px;align-items:flex-start;padding:14px 0;border-bottom:1px solid #EEE8E2}
.doc-row strong{font-size:17px;display:block;margin-bottom:4px}
.doc-row span{font-size:15px;line-height:1.6;color:var(--body)}
body.modal-open{overflow:hidden}

/* Missing-image placeholder (shown until real files are added) */
.img-ph{display:flex;align-items:center;justify-content:center;text-align:center;padding:16px;background:repeating-linear-gradient(45deg,#EDE7E1,#EDE7E1 12px,#E6DED6 12px,#E6DED6 24px);color:var(--muted);font-size:13px;font-family:ui-monospace,Menlo,monospace;border-radius:8px;word-break:break-all}
.on-dark .img-ph,.video-ph{background:repeating-linear-gradient(45deg,#2A2E6B,#2A2E6B 12px,#262A62 12px,#262A62 24px);color:rgba(255,255,255,.6)}

@media (max-width:900px){
  .navlinks,.hide-sm{display:none !important}
  .hero h1{font-size:34px}
  .h2,.h2.sm{font-size:28px}
  .section{padding:64px 20px}
  .fact{border-right:none;border-bottom:1px solid var(--line)}
  .acc-panel{padding:0 16px 24px 16px}
  .acc-btn .code{width:auto}
  .reg-card{padding:28px}
  .wordmark .w2{display:none}
  .brand img{height:44px}
}
@media (max-width:520px){
  .nav .wrap{padding:10px 16px;gap:12px}
  .brand{gap:10px} .brand .rule{display:none} .brand img{height:38px}
  .wordmark .w1{font-size:11px;letter-spacing:.08em} .wordmark .w3{font-size:15px}
  .nav .btn-sm{padding:10px 14px;font-size:13px}
  .hero .inner{padding:48px 20px 40px;gap:32px}
  .hero .copy,.hero .media,.split > img,.split .text,.split > .img-ph,.who .text,.reqs,.reg-card .text,.reg-card form,.trust .left{flex-basis:100%}
  .acc-btn{flex-wrap:wrap;gap:8px 16px}
  .acc-btn .code{width:100%}
  .fee .price{font-size:36px}
  .vrule{display:none}
}
