/*
Theme Name: Edinburgh Sash Window Restoration
Theme URI: https://sashwindowrestorationedinburgh.co.uk/
Author: Edinburgh Sash Window Restoration
Description: Lightweight Edinburgh heritage sash window restoration WordPress theme.
Version: 1.0.2
Requires PHP: 7.4
Text Domain: eswr
*/
:root{--navy:#243b46;--gold:#b59a70;--cream:#ede7db;--ink:#26363c;--white:#fff}*{box-sizing:border-box}body{margin:0;color:var(--ink);font:17px/1.7 system-ui,-apple-system,Segoe UI,sans-serif;background:#fcfaf7}a{color:#28546a}a:hover{text-decoration:underline}.wrap{max-width:1160px;margin:auto;padding:0 24px}header{background:#fff;border-bottom:1px solid #e5e0d7}.head{display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:98px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--navy)}.brand svg{width:65px;height:65px}.brand strong{display:block;font:700 21px/1.15 Georgia,serif;letter-spacing:.03em}.brand small{display:block;font:12px/1.4 system-ui;letter-spacing:.12em;text-transform:uppercase;color:#806a48}nav{display:flex;align-items:center;gap:20px;flex-wrap:wrap}nav a{font-size:14px;font-weight:650;text-decoration:none;color:var(--navy)}.btn,button,input[type=submit]{display:inline-block;background:var(--navy);color:white;border:0;border-radius:5px;padding:13px 19px;text-decoration:none;font-weight:700;cursor:pointer}.btn.gold{background:var(--gold);color:#1d2c34}.hero{background:linear-gradient(115deg,rgba(21,40,51,.95),rgba(36,59,70,.82)),repeating-linear-gradient(125deg,#50636a 0 3px,#384e57 3px 8px);color:#fff;padding:85px 0}.hero h1{color:#fff;max-width:790px}.hero p{max-width:740px;font-size:20px;color:#f0e9df}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;line-height:1.2;color:var(--navy)}h1{font-size:clamp(36px,5vw,58px);margin:0 0 22px}h2{font-size:34px}h3{font-size:23px}.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:800;color:var(--gold)}section{padding:56px 0}.intro{max-width:850px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.card{background:#fff;border:1px solid #e7e0d7;border-radius:8px;padding:25px;box-shadow:0 4px 18px #253b460a}.card h3{margin:8px 0 12px}.card a{font-weight:700}.muted{background:#f0ebe3}.split{display:grid;grid-template-columns:2fr 1fr;gap:38px}.prose{max-width:790px}.prose p{margin:0 0 19px}.prose ul{padding-left:22px}.callout{background:var(--navy);color:#fff;padding:32px;border-radius:8px}.callout h2,.callout h3{color:#fff}.callout a{color:#fff}footer{background:#182f3a;color:#fff;padding:48px 0 24px}footer a{color:#f4e6d0}footer h3{color:#fff}footer .grid{grid-template-columns:repeat(3,1fr)}.footnote{border-top:1px solid #53616a;margin-top:30px;padding-top:18px;font-size:13px}.field{display:block;margin:0 0 17px;font-weight:650}input:not([type=checkbox]),textarea,select{display:block;width:100%;padding:12px;border:1px solid #b8b7b1;border-radius:4px;font:inherit;background:#fff}.field input,.field textarea{margin-top:6px}.notice{padding:15px;background:#e5f1e8;border-left:4px solid #33704b}.error{background:#fff0ee;border-color:#a43d32}.crumb{font-size:14px;margin-bottom:24px}.cookie{position:fixed;bottom:0;left:0;right:0;background:#fff;box-shadow:0 -5px 20px #0002;z-index:100;padding:16px;border-top:3px solid var(--gold)}.cookie .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px}.cookie p{margin:0;font-size:14px}.cookie button{white-space:nowrap}.menu-toggle{display:none}@media(max-width:820px){.head{align-items:flex-start;padding-top:16px;padding-bottom:16px;flex-wrap:wrap}.menu-toggle{display:block}nav{display:none;width:100%;flex-direction:column;align-items:stretch}nav.open{display:flex}.grid,footer .grid{grid-template-columns:1fr 1fr}.split{grid-template-columns:1fr}.hero{padding:55px 0}}@media(max-width:550px){.grid,footer .grid{grid-template-columns:1fr}.cookie .wrap{display:block}.cookie button{margin-top:10px}.brand strong{font-size:17px}}

/* Ensure hidden cookie consent banner stays hidden. */
.cookie[hidden]{display:none!important}
.brand svg{display:block;flex:0 0 65px;max-width:65px;max-height:65px}
@media(max-width:550px){.brand svg{flex-basis:48px;width:48px;height:48px}}

footer .grid{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:820px){footer .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){footer .grid{grid-template-columns:1fr}}
