/*
Theme Name: The Pestle Weed School
Theme URI: https://thepestleweedschool.in
Author: The Pestle Weed School
Description: A modern nature-inspired WordPress theme for The Pestle Weed School, Dehradun.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: pestle-weed-school
*/
:root{--navy:#0b2b49;--deep:#071f36;--green:#1f6140;--gold:#edbd4f;--ink:#10243f;--paper:#f6f8f2;--line:#dce2d8;--muted:#607083}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 Arial,sans-serif}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}.shell{width:min(1180px,calc(100% - 40px));margin:auto}.notice{padding:9px 16px;background:var(--deep);color:#fff;text-align:center;font-size:13px}.notice a{color:var(--gold);font-weight:800}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid rgba(16,36,63,.1);backdrop-filter:blur(14px)}.header-inner{min-height:84px;display:flex;align-items:center;gap:22px}.brand{display:flex;align-items:center;gap:11px;margin-right:auto}.brand img{width:60px;height:60px;border:2px solid var(--gold);border-radius:50%;object-fit:contain}.brand strong,.brand small{display:block}.brand small{font-size:10px;letter-spacing:.18em;color:var(--muted)}.main-menu{display:flex;align-items:center;gap:19px;list-style:none;margin:0;padding:0}.main-menu a{font-size:13px;font-weight:800;color:#415166}.main-menu a:hover{color:var(--green)}.header-cta,.button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:13px 20px;font-weight:800;cursor:pointer}.header-cta,.button.dark{background:var(--navy);color:#fff}.button.gold{background:var(--gold);color:var(--ink)}.button.outline{border:1px solid #ccd5ca}.menu-toggle{display:none;border:0;background:none;font-size:27px}.hero,.page-hero{position:relative;overflow:hidden;background:var(--deep);color:#fff}.hero{min-height:690px;display:flex;align-items:center}.hero video,.hero:after{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero:after{content:"";background:linear-gradient(90deg,rgba(5,24,42,.9),rgba(7,31,54,.35));z-index:1}.hero-content{position:relative;z-index:2;max-width:830px;padding:100px 0}.eyebrow{margin:0 0 17px;color:var(--green);font-size:12px;font-weight:800;letter-spacing:.19em;text-transform:uppercase}.hero .eyebrow,.page-hero .eyebrow{color:var(--gold)}h1,h2,h3{font-family:Georgia,serif;font-weight:500;letter-spacing:-.035em}.hero h1{margin:0;font-size:clamp(48px,6vw,82px);line-height:1.03}.hero h1 em{color:var(--gold);font-weight:400}.hero p{max-width:650px;color:#d4dfe7;font-size:18px}.button-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.page-hero{padding:95px 0;background:linear-gradient(90deg,rgba(7,31,54,.94),rgba(7,31,54,.58)),url('assets/images/oak-hill-campus.jpg') center/cover}.page-hero h1{max-width:850px;margin:0;font-size:clamp(46px,6vw,74px);line-height:1.05}.page-hero p{max-width:680px;color:#d4dfe7;font-size:18px}.section{padding:95px 0}.section-head{display:grid;grid-template-columns:1.15fr .85fr;gap:60px;align-items:end;margin-bottom:45px}.section-head h2{margin:0;font-size:clamp(38px,5vw,62px);line-height:1.08}.section-head>p{color:var(--muted);font-size:17px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{padding:28px;border:1px solid var(--line);border-radius:23px;background:#fff}.card h3{font-size:26px}.card p{color:var(--muted)}.values{grid-template-columns:repeat(4,1fr)}.photo-story{padding:0 0 95px}.photo-story h2{font-size:clamp(36px,4vw,56px)}.photo-grid{display:grid;grid-template-columns:1.45fr 1fr 1fr;gap:14px}.photo-grid figure{position:relative;overflow:hidden;height:390px;margin:0;border-radius:24px;background:var(--navy)}.photo-grid img{width:100%;height:100%;object-fit:cover;transition:.4s}.photo-grid figure:hover img{transform:scale(1.04)}.photo-grid figcaption{position:absolute;left:15px;bottom:15px;border-radius:99px;background:rgba(7,31,54,.78);padding:8px 13px;color:#fff;font-size:12px;font-weight:800}.green-band{padding:85px 0;background:var(--green);color:#fff}.green-band h2{font-size:clamp(38px,5vw,62px)}.gallery-filters{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:30px}.gallery-filters button{border:1px solid #cbd4ca;border-radius:99px;background:#fff;padding:11px 17px;font-weight:800;cursor:pointer}.gallery-filters button.active{background:var(--green);color:#fff}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.gallery figure{position:relative;overflow:hidden;margin:0;border-radius:19px;background:var(--navy);cursor:pointer}.gallery img{width:100%;aspect-ratio:4/3;display:block;object-fit:cover}.gallery figcaption{position:absolute;inset:auto 0 0;padding:42px 17px 15px;background:linear-gradient(transparent,rgba(5,24,42,.9));color:#fff;font-weight:800}.form-wrap{display:grid;grid-template-columns:.8fr 1.2fr;gap:55px}.form-card{padding:32px;border-radius:24px;background:#fff;box-shadow:0 18px 60px rgba(11,43,73,.1)}label{display:block;margin-bottom:16px;font-size:14px;font-weight:800}input,textarea,select{width:100%;margin-top:7px;border:1px solid #cbd5cb;border-radius:11px;background:#fafcf9;padding:13px;font:inherit}.success,.error{margin-bottom:18px;border-radius:12px;padding:13px}.success{background:#e2f2e4;color:#1c6038}.error{background:#f8e4e4;color:#8b2424}footer{padding:65px 0 25px;background:var(--deep);color:#d5e0e8}.footer-grid{display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:55px}.footer-grid h3{color:#fff}.footer-grid a{display:block;margin:8px 0}.footer-bottom{margin-top:40px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);font-size:13px}.modal{position:fixed;inset:0;z-index:100;display:none;place-items:center;background:rgba(3,18,31,.88);padding:20px}.modal.open{display:grid}.modal img{max-height:82vh;border-radius:18px}.modal button{position:absolute;right:25px;top:20px;border:0;background:#fff;border-radius:50%;width:42px;height:42px;font-size:22px}.wp-content{padding:70px 0}.wp-content h1{font-size:48px}.screen-reader-text{position:absolute;left:-9999px}
@media(max-width:900px){.main-menu{display:none;position:absolute;left:0;right:0;top:84px;flex-direction:column;align-items:stretch;background:#fff;padding:20px 30px;border-top:1px solid var(--line)}.main-menu.open{display:flex}.menu-toggle{display:block}.header-cta{display:none}.section-head,.form-wrap{grid-template-columns:1fr}.values{grid-template-columns:repeat(2,1fr)}.photo-grid{grid-template-columns:1fr 1fr}.photo-grid figure:first-child{grid-column:1/3}.gallery{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.shell{width:min(100% - 26px,1180px)}.hero{min-height:620px}.hero h1{font-size:47px}.section{padding:70px 0}.cards,.values,.footer-grid{grid-template-columns:1fr}.photo-grid{display:flex;overflow-x:auto}.photo-grid figure,.photo-grid figure:first-child{min-width:84vw;height:300px}.gallery{grid-template-columns:1fr 1fr;gap:9px}.gallery figcaption{font-size:12px;padding:30px 10px 10px}.brand strong{font-size:13px}.brand img{width:51px;height:51px}}
