/*
Theme Name: PCS School
Theme URI: https://plettcs.co.za
Author: PCS Website Team
Description: Lightweight custom theme for Plettenberg Bay Christian School.
Version: 1.2.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: pcs-school
*/

:root{--navy:#071f52;--navy-deep:#05163a;--gold:#e4aa25;--cream:#f6f2e8;--paper:#fffdf8;--ink:#17253d;--muted:#5d6878;--line:#dcd6ca;--radius:10px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--cream);font-family:Arial,Helvetica,sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}h1,h2,h3{margin-top:0;font-family:Georgia,'Times New Roman',serif;line-height:1.08}.screen-reader-text{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:focus{position:fixed;z-index:1000;top:12px;left:12px;width:auto;height:auto;margin:0;padding:10px 14px;clip:auto;background:white;color:var(--navy)}
.site-header{min-height:82px;padding:0 max(5vw,24px);display:flex;align-items:center;justify-content:space-between;gap:28px;background:rgba(255,253,248,.97);border-bottom:1px solid rgba(7,31,82,.1)}.brand{display:flex;align-items:center;gap:12px;min-width:max-content}.brand img{width:45px;height:56px;object-fit:contain}.brand-copy{display:flex;flex-direction:column;text-transform:uppercase;line-height:1.05;letter-spacing:.05em}.brand-copy strong{font-size:13px}.brand-copy small{margin-top:4px;color:#59677b;font-size:11px;letter-spacing:.12em}.primary-menu{display:flex;align-items:center;gap:clamp(17px,2.1vw,34px);margin:0;padding:0;list-style:none;font-size:14px;font-weight:700}.primary-menu a{display:block;padding:28px 0}.primary-menu .menu-cta a{padding:13px 18px;border-radius:6px;color:white;background:var(--navy)}.mobile-menu{display:none;position:relative}.mobile-menu summary{padding:10px;cursor:pointer;font-weight:800}.mobile-menu nav{position:absolute;z-index:50;right:0;top:48px;min-width:230px;padding:10px;display:grid;background:white;border:1px solid var(--line);box-shadow:0 18px 50px rgba(7,31,82,.16)}.mobile-menu a{padding:11px 13px;font-weight:700}
.hero{position:relative;min-height:720px;display:flex;align-items:center;overflow:hidden;color:white;background:var(--navy-deep)}.hero-media{position:absolute;inset:0;background:center 35%/cover no-repeat}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,19,53,.96),rgba(3,19,53,.72) 48%,rgba(3,19,53,.12))}.hero-inner{position:relative;z-index:2;width:min(820px,92vw);padding:100px 0 90px max(6vw,28px)}.eyebrow{margin-bottom:18px;color:#a26a00;font-size:12px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}.eyebrow-light{color:#f2c657}.hero h1,.page-hero h1{font-size:clamp(49px,6vw,86px);letter-spacing:-.045em}.hero h1 em{color:#f2c657;font-weight:400}.hero p{max-width:650px;color:#eef1f8;font-size:20px}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:13px;margin-top:32px}.button{min-height:50px;padding:0 22px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:6px;font-weight:800}.button-gold{color:var(--navy-deep);background:var(--gold)}.button-navy{color:white;background:var(--navy)}.button-outline{color:white;border:1px solid rgba(255,255,255,.5);background:rgba(255,255,255,.08)}
.section{padding:100px max(6vw,28px)}.section-inner{width:min(1380px,100%);margin:auto}.section-heading{max-width:780px}.section-heading h2,.feature-copy h2,.empty-state h2{font-size:clamp(40px,5vw,68px);letter-spacing:-.035em}.lead{color:var(--navy);font-family:Georgia,'Times New Roman',serif;font-size:clamp(24px,2.6vw,34px);line-height:1.45}.muted{color:var(--muted)}.intro-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:clamp(48px,9vw,140px)}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:54px}.card{padding:34px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius)}.card h3{margin:20px 0 10px;font-size:26px}.card p{color:var(--muted)}.card-meta{color:#956000;font-size:13px;font-weight:800;letter-spacing:.04em}.text-link{display:inline-flex;margin-top:12px;padding-bottom:4px;color:var(--navy);border-bottom:1px solid var(--gold);font-size:14px;font-weight:800}.dark-section{color:white;background:var(--navy)}.dark-section .muted{color:#c3ccdc}.gold-section{background:var(--gold)}
.page-hero{padding:95px max(6vw,28px);color:white;background:var(--navy)}.page-hero .section-inner{display:grid;grid-template-columns:1fr .85fr;gap:60px;align-items:center}.page-hero p:last-child{color:#c9d2e2;font-size:19px}.page-hero img{width:100%;height:410px;object-fit:cover;border-radius:var(--radius)}.content{font-size:17px}.content>*{max-width:850px}.content h2{margin-top:45px;font-size:38px}.content a{text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:3px}.content a.button{text-decoration:none}
.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.archive-card{overflow:hidden;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius)}.archive-card img{width:100%;height:230px;object-fit:cover}.archive-card-body{padding:28px}.archive-card h2{font-size:28px}.empty-state{padding:50px;background:var(--paper);border-left:4px solid var(--gold);border-radius:var(--radius)}.resource-list{display:grid;gap:14px}.resource-item{padding:24px;display:flex;justify-content:space-between;align-items:center;gap:20px;background:var(--paper);border:1px solid var(--line);border-radius:8px}.resource-item h3{margin:0 0 5px;font-size:22px}.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.team-card{overflow:hidden;background:var(--paper);border-radius:var(--radius)}.team-card img{width:100%;aspect-ratio:4/5;object-fit:cover}.team-card-body{padding:24px}.team-card h3{margin-bottom:4px;font-size:24px}
.site-footer{padding:72px max(6vw,28px) 26px;color:white;background:var(--navy-deep)}.footer-grid{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:40px}.footer-brand{display:flex;gap:18px;max-width:410px}.footer-brand img{width:60px;height:74px;object-fit:contain}.footer-title{font-weight:800}.site-footer p,.site-footer a{color:#bec8da}.footer-links{display:grid;gap:5px}.site-footer small{color:#efbd4e;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.copyright{margin-top:40px;padding-top:22px;border-top:1px solid rgba(255,255,255,.14);color:#8996aa;font-size:12px}
.not-found{min-height:620px;display:grid;place-items:center;text-align:center}.not-found img{width:110px;margin:0 auto 28px}.not-found h1{font-size:clamp(46px,6vw,82px)}
.form-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:clamp(48px,8vw,110px);align-items:start}.form-aside{position:sticky;top:28px;padding:42px;color:white;background:var(--navy);border-radius:var(--radius)}.form-aside h2{font-size:42px}.form-aside p{color:#c7d0df}.form-aside a{color:white;text-decoration:underline;text-decoration-color:var(--gold)}.pcs-form{max-width:880px}.pcs-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.pcs-form label{display:grid;gap:7px;color:var(--ink);font-size:14px;font-weight:800}.dark-section .pcs-form label{color:white}.pcs-form .full{grid-column:1/-1}.pcs-form input,.pcs-form textarea,.pcs-form select{width:100%;min-height:50px;padding:12px 14px;color:var(--ink);background:var(--paper);border:1px solid #bfc6c1;border-radius:6px;font:inherit}.pcs-form textarea{line-height:1.5;resize:vertical}.pcs-form input:focus,.pcs-form textarea:focus,.pcs-form select:focus{outline:3px solid rgba(228,170,37,.3);border-color:#a06a00}.pcs-form fieldset{margin:0 0 38px;padding:0 0 38px;border:0;border-bottom:1px solid var(--line)}.pcs-form legend{width:100%;margin-bottom:24px;color:var(--navy);font-family:Georgia,'Times New Roman',serif;font-size:28px;font-weight:700}.pcs-consent{display:flex!important;grid-template-columns:20px 1fr;align-items:start;margin:18px 0;font-weight:400!important;line-height:1.5}.pcs-consent input{width:18px;height:18px;min-height:0;margin-top:2px}.pcs-honeypot{position:absolute!important;left:-9999px}.pcs-form-notice{margin-bottom:24px;padding:16px;border-left:4px solid}.pcs-form-notice.success{background:#e6f2ea;border-color:#2f765c}.pcs-form-notice.error{background:#fff0ed;border-color:#a53525}.dark-section .pcs-form-notice{color:var(--ink)}
@media(max-width:980px){.desktop-menu{display:none}.mobile-menu{display:block}.intro-grid,.page-hero .section-inner,.form-layout{grid-template-columns:1fr}.form-aside{position:static}.feature-grid,.archive-grid{grid-template-columns:1fr 1fr}.team-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.site-header{min-height:72px}.brand img{width:38px;height:48px}.brand-copy strong{font-size:11px}.brand-copy small{font-size:10px}.hero{min-height:700px;align-items:flex-end}.hero-overlay{background:linear-gradient(0deg,rgba(3,19,53,.98),rgba(3,19,53,.75) 65%,rgba(3,19,53,.25))}.hero-inner{padding:110px 24px 55px}.hero h1{font-size:clamp(44px,14vw,61px)}.hero p{font-size:18px}.actions .button{width:100%}.section{padding:78px 24px}.feature-grid,.archive-grid,.team-grid,.footer-grid,.pcs-form-grid{grid-template-columns:1fr}.pcs-form .full{grid-column:auto}.page-hero{padding:70px 24px}.page-hero img{height:300px}.resource-item{align-items:flex-start;flex-direction:column}}
