/* Peter Clarke – standalone responsive website. Shared design tokens. */
@font-face{font-family:'Maven Pro';src:url('fonts/mavenpro-regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Maven Pro';src:url('fonts/mavenpro-medium.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Maven Pro';src:url('fonts/mavenpro-bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
:root{--sidebar-width:300px;--green:#006548;--red:#a81010;--text:#666;--border:#e1e1e1;--white:#fff;--body-size:15px;--content-padding:50px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--white);color:var(--text);font:400 var(--body-size)/1.65 'Maven Pro',Helvetica,Arial,sans-serif}a{color:var(--red);text-decoration:none}a:hover{text-decoration:underline}img{display:block;max-width:100%;height:auto}button{font:inherit;cursor:pointer}a:focus-visible,button:focus-visible{outline:3px solid #b88a3c;outline-offset:5px}p{margin:0 0 20px}h1,h2,h3,h4{font-weight:400;color:#444;line-height:1.25;margin:0 0 15px}ul{padding-left:20px}li{margin-bottom:8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:315px;top:-60px;z-index:100;padding:10px 15px;background:#fff}.skip-link:focus{top:10px}
/* Original left-hand navigation and logo proportions. */
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);overflow-y:auto;background:#fff;border-right:1px solid var(--border);z-index:20}.brand{display:block;padding:40px;border-bottom:1px solid var(--border)}.brand img{width:220px;height:auto}.primary-nav{padding:20px 40px;border-bottom:1px solid var(--border)}.primary-nav a{display:block;padding:15px 0;color:#777;font-size:13px;line-height:1.3;text-decoration:none}.primary-nav a+a{border-top:1px solid var(--border)}.primary-nav a span{display:block;color:var(--green);font-size:12px;margin-top:4px;font-weight:400}.primary-nav a[aria-current=page],.primary-nav a:hover{color:var(--red)}.sidebar-copyright{padding:86px 40px 52px;border-bottom:1px solid var(--border);font-size:12px;line-height:1.8;color:var(--green)}.sidebar-copyright p{margin:0}.menu-toggle{display:none}.page-shell{margin-left:var(--sidebar-width)}
/* Homepage: original full-height photograph, dark overlay and centred notice. */
.home-hero{min-height:100vh;min-height:100svh;position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;text-align:center;background:#48504f}.home-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;z-index:-2}.home-hero::after{content:'';position:absolute;inset:0;background:rgba(0,0,0,.5);z-index:-1}.home-notice{padding:70px var(--content-padding);width:100%;max-width:1450px;color:#fff;font-size:22px;line-height:1.3}.home-notice p{margin:0 0 18px}.home-notice .profile-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:16px;padding:9px 16px;border:2px solid #fff;border-radius:2px;color:#fff;font-size:12px;font-weight:700;text-transform:uppercase;transition:background .2s,color .2s}.profile-button:hover{background:#fff;color:#444;text-decoration:none}
/* Shared page banners and profile content. */
.page-banner{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;text-align:center;background:#777;color:#fff;overflow:hidden}.page-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.page-banner::after{content:'';position:absolute;inset:0;background:#0008;z-index:-1}.profile-banner{aspect-ratio:1500/630}.profile-banner::after{background:#0006}.legal-banner{min-height:50vh}.page-banner h1{color:#fff;font-size:35px;font-weight:500;text-transform:uppercase;margin:0 0 20px}.section-marker{display:flex;align-items:center;justify-content:center;gap:14px}.section-marker::before,.section-marker::after{content:'';width:100px;height:1px;background:#ffffffaa}.section-marker span{width:10px;height:10px;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(45deg);margin-top:-6px}
.content-wrap{padding:60px var(--content-padding);max-width:1500px;margin:auto}.profile-intro{display:grid;grid-template-columns:58% 29.33%;gap:6%}.profile-photo{padding-top:10px}.profile-photo img{width:100%;height:auto}.profile-details{display:grid;grid-template-columns:47% 47%;gap:6%;margin-top:70px}.profile-details h2{font-size:20px}.credentials{font-size:13px}.credentials a{color:#930}.web-links h2{font-size:24px;margin-bottom:20px}.web-links ul{list-style:none;padding:0;margin:0}.web-links li{margin:0;padding:7px 0;line-height:1.45}.web-links a{display:flex;align-items:flex-start;gap:13px}.link-icon{font-size:18px;line-height:1.2;flex:none}.charity{text-align:center;margin-top:50px}.charity h2{font-size:24px;line-height:1.25;margin:0 0 12px}.charity p{margin:0 0 45px}.charity img{width:100%;max-width:1033px;margin:auto}.legal-content p{text-align:justify}.legal-content h2,.legal-content h3,.legal-content h4{font-size:18px;font-weight:500;margin-top:25px}.legal-content h2:first-child,.legal-content h3:first-child,.legal-content h4:first-child{margin-top:0}.legal-content ul{margin:0 0 20px}.legal-content a{overflow-wrap:anywhere}
/* Footer and original cookie notice. */
.site-footer{padding:18px var(--content-padding);border-top:1px solid var(--border);font-size:11px;line-height:1.6;display:flex;align-items:center;justify-content:space-between;gap:15px}.site-footer p{margin:0}.site-footer nav{display:flex;gap:13px;flex-wrap:wrap}.site-footer a{color:#555}.cookie-notice{position:fixed;right:30px;bottom:30px;width:314px;max-width:calc(100vw - 30px);background:rgba(0,0,0,.87);color:#fff;z-index:50;padding:18px 22px 22px;text-align:center;font-size:12px;line-height:2}.cookie-notice[hidden]{display:none}.cookie-notice p{margin:0 0 8px}.cookie-actions{display:flex;gap:12px;justify-content:center}.cookie-actions button,.cookie-actions a{min-height:42px;padding:9px 16px;border:1px solid #fff;border-radius:2px;font-size:12px;line-height:22px;color:#fff;background:transparent}.cookie-actions button{background:#fff;color:#444}.cookie-actions a:hover{text-decoration:none;background:#fff2}.back-to-top{position:fixed;right:50px;bottom:50px;display:flex;align-items:center;justify-content:center;width:50px;height:50px;border:1px solid #fff6;border-radius:2px;background:#777b;color:#fff;font-size:22px;z-index:15}.back-to-top[hidden]{display:none}.back-to-top:hover{text-decoration:none;background:#444}
@media(max-width:989px) and (min-width:768px){:root{--sidebar-width:250px;--content-padding:30px}.brand{padding:25px}.primary-nav{padding:20px 30px}.sidebar-copyright{padding:65px 30px 40px}.home-notice{font-size:20px}.profile-intro{grid-template-columns:60% 34%;gap:6%}.site-footer{align-items:flex-start;flex-direction:column}}
@media(max-width:767px){:root{--sidebar-width:0px;--content-padding:25px}.sidebar{position:relative;width:100%;overflow:visible;border-right:0}.brand{height:110px;padding:10px 25px;border-bottom:1px solid var(--border)}.brand img{width:auto;height:90px}.menu-toggle{display:flex;position:absolute;right:25px;top:35px;align-items:center;justify-content:center;width:42px;height:42px;border:0;background:transparent;color:#555}.menu-lines,.menu-lines::before,.menu-lines::after{display:block;width:24px;height:2px;background:currentColor;position:relative}.menu-lines::before,.menu-lines::after{content:'';position:absolute;left:0}.menu-lines::before{top:-7px}.menu-lines::after{top:7px}.menu-toggle[aria-expanded=true] .menu-lines{background:transparent}.menu-toggle[aria-expanded=true] .menu-lines::before{top:0;transform:rotate(45deg)}.menu-toggle[aria-expanded=true] .menu-lines::after{top:0;transform:rotate(-45deg)}.primary-nav{padding:10px 25px}.js .primary-nav{display:none}.js .primary-nav.is-open{display:block}.sidebar-copyright{display:none}.home-hero{min-height:calc(100svh - 110px)}.home-notice{font-size:18px;line-height:1.45;padding:65px 25px}.home-hero>img{object-position:65% center}.profile-banner{aspect-ratio:1500/630;min-height:220px}.legal-banner{min-height:250px}.page-banner h1{font-size:28px}.section-marker::before,.section-marker::after{width:65px}.content-wrap{padding:35px 25px}.profile-intro,.profile-details{display:block}.profile-photo{max-width:495px;margin:25px auto 0}.profile-details{margin-top:40px}.web-links{margin-top:35px}.charity{margin-top:40px}.charity h2{font-size:22px}.charity p{margin-bottom:30px}.site-footer{flex-direction:column;align-items:flex-start;font-size:12px;padding:22px 25px}.cookie-notice{right:15px;bottom:15px}.back-to-top{right:25px;bottom:25px}.skip-link{left:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Preserve the original contact colour after removing the email link. */
.credentials .email-address { color: #930; }
/* Keep the Profile caption centred within the available page width. */
.profile-banner {
  width: 100%;
  min-width: 0;
}
.profile-banner > div {
  width: 100%;
  min-width: 0;
  padding-inline: 20px;
}
@media (max-width: 767px) {
  /* A minimum height plus aspect ratio otherwise forces a wider mobile banner. */
  .profile-banner {
    aspect-ratio: auto;
    height: 220px;
    min-height: 220px;
  }
}
/* Deliberate, more visible Profile entrance with a short arrival pause. */
.profile-banner h1 {
  animation: profile-caption-top 1.1s ease-out .2s both;
}
.profile-banner .section-marker {
  animation: profile-caption-bottom 1.1s ease-out .35s both;
}
@keyframes profile-caption-top {
  from { transform: translateY(-70px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes profile-caption-bottom {
  from { transform: translateY(45px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-banner h1,
  .profile-banner .section-marker { animation: none; }
}
