/*
Theme Name: Paladin Homes
Description: Navy, antique gold and white website for home extensions and renovations. Pair with Paladin Homes Core.
Version: 1.5.1
Requires at least: 6.5
Requires PHP: 8.0
Author: Paladin Homes
License: GPL-2.0-or-later
Text Domain: paladin-homes
*/
:root{--navy:#0b2435;--gold:#a77b2f;--gold-button:#e6b757;--cream:#f5f2ec;--ink:#142c3b;--muted:#56636c;--line:#dddcd6;--width:1280px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:#fff;color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:17px;line-height:1.6}img{max-width:100%;height:auto;display:block}figure{margin:0}a{color:inherit;text-underline-offset:5px}button,input,textarea,select{font:inherit}button,a,input,textarea{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #d5a94f;outline-offset:5px}h1,h2,h3,p{margin:0 0 1rem}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:500;letter-spacing:-.045em;line-height:1.08}h1{font-size:clamp(44px,5.2vw,78px)}h2{font-size:clamp(32px,3.8vw,52px)}h3{font-size:23px;line-height:1.25;letter-spacing:-.02em}p:last-child{margin-bottom:0}.wrap{width:min(var(--width),calc(100% - 96px));margin-inline:auto}.section{padding-block:88px}.warm{background:var(--cream)}.eyebrow{font-size:13px;letter-spacing:.12em;font-weight:700;color:#896021;margin-bottom:19px}.number{display:block;color:#896021;font-size:22px;font-weight:700;margin-bottom:12px}.muted{color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:24px;padding:15px 22px;border:1px solid transparent;border-radius:3px;font-size:14px;font-weight:700;line-height:1.4;text-decoration:none;min-height:48px;transition:background .15s,transform .15s}.button:hover{transform:translateY(-1px)}.button.navy{background:var(--navy);color:#fff}.button.navy:hover{background:#183b50}.button.gold{background:var(--gold-button);color:var(--navy)}.button.gold:hover{background:#f2c86c}.button:disabled{cursor:not-allowed;opacity:.55;transform:none}.text-link{display:inline-flex;gap:18px;align-items:center;font-size:14px;font-weight:700}.text-link.light{color:#fff}.site-header{position:relative;z-index:20;background:white;border-bottom:1px solid #eee}.header-inner{width:min(1440px,calc(100% - 80px));min-height:108px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand,.custom-logo-link{display:block;flex-shrink:0}.brand img,.custom-logo{width:270px;height:auto}.primary-nav{display:flex;gap:32px;align-items:center}.menu{display:flex;list-style:none;gap:27px;padding:0;margin:0}.menu a{font-size:14px;text-decoration:none;display:block;padding:12px 0}.menu a:hover,.menu a[aria-current=page],.menu .current-menu-item>a{color:#896021;text-decoration:underline}.menu-toggle{display:none;border:1px solid var(--line);background:white;padding:10px 14px;font-size:15px;gap:12px}.skip-link{position:absolute;left:20px;top:-100px;background:white;padding:14px;z-index:100}.skip-link:focus{top:12px}.hero{display:grid;grid-template-columns:44% 56%;min-height:560px;background:var(--navy);color:white}.hero-copy{padding:70px 48px 72px max(48px,calc((100vw - 1280px)/2));display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.hero-copy .eyebrow,.contact-section .eyebrow{color:var(--gold-button)}.hero h1{max-width:520px;font-size:clamp(48px,4.7vw,74px);margin-bottom:24px}.hero-intro{font-size:19px;line-height:1.55;max-width:390px;margin-bottom:32px}.hero-actions{display:flex;gap:23px;align-items:center;flex-wrap:wrap}.hero-photo{position:relative;min-height:520px;overflow:hidden}.hero-photo>img{height:100%;width:100%;object-fit:cover;object-position:53% center}.hero-photo figcaption{position:absolute;bottom:16px;right:16px;background:#0b2435d9;padding:5px 10px;font-size:11px;color:white;border-radius:2px}.services-grid{display:grid;grid-template-columns:repeat(3,1fr);margin-top:46px}.services-grid article{padding:0 32px;border-left:1px solid var(--line)}.services-grid article:first-child{padding-left:0;border:0}.services-grid article:last-child{padding-right:0}.services-grid p{color:var(--muted);font-size:16px;max-width:340px}.services-grid .text-link{margin-top:8px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:36px}.section-heading h2{margin:0}.project-empty{display:flex;align-items:center;gap:34px;padding:40px;background:#fff;border-top:2px solid var(--gold)}.project-empty p{color:var(--muted);max-width:700px}.empty-mark{min-width:104px}.empty-mark img{width:104px}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.project-card{background:white}.project-photo{display:block;aspect-ratio:3/2;background:#e9e5dc;overflow:hidden}.project-photo img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.project-photo:hover img{transform:scale(1.03)}.project-copy{padding:25px}.project-copy h3 a{text-decoration:none}.project-copy .eyebrow{font-size:11px;min-height:16px;margin-bottom:12px}.project-copy p{font-size:15px;color:var(--muted)}.photo-pending{height:100%;display:flex;align-items:center;justify-content:center;padding:25px;text-align:center}.pagination{margin-top:32px;display:flex;gap:20px}.contact-section{padding:78px 0;background:var(--navy);color:white}.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px}.contact-section h2{font-size:clamp(34px,3.8vw,54px)}.contact-details{margin-top:30px;display:flex;flex-direction:column;gap:10px;overflow-wrap:anywhere}.contact-details a{color:white}.enquiry-form{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px}.enquiry-form label{font-size:13px;display:block;font-weight:600;line-height:1.45}.enquiry-form input,.enquiry-form textarea{width:100%;display:block;background:white;color:var(--navy);border:1px solid #ccd2d6;border-radius:3px;padding:11px 12px;min-height:45px;margin-top:7px;font-size:16px}.enquiry-form textarea{resize:vertical;min-height:106px}.span-2{grid-column:1/-1}.form-note{font-size:12px;line-height:1.6;color:#d4dde3;margin:0}.form-note a{color:white}.form-status{font-size:15px;margin:0}.form-status:empty{display:none}.ph-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.form-unavailable{padding:32px;border:1px solid #496071;background:#123144}.form-unavailable h3{font-family:Georgia,serif;font-size:27px;font-weight:400}.form-unavailable p{font-size:16px;color:#e2e8ed}.success{padding:18px;background:#eef8ef;color:#15391f;border:1px solid #547258;margin-bottom:20px}.site-footer{padding:38px 0 24px}.footer-top{display:flex;align-items:center;justify-content:space-between;gap:25px;padding-bottom:30px}.site-footer .brand img,.site-footer .custom-logo{width:200px}.footer-top p{font-size:14px;color:var(--muted);margin:0}.footer-bottom{padding-top:20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.footer-bottom div{display:flex;gap:24px}.page-intro{padding-top:76px;padding-bottom:64px}.page-intro h1{max-width:950px;margin-bottom:28px}.intro-text{max-width:820px;font-size:20px}.prose{overflow-wrap:anywhere}.prose p,.prose ul,.prose ol{margin-bottom:1.5rem}.prose h2{margin-top:36px}.prose h2:first-child{margin-top:0}.prose img{height:auto}.prose .wp-block-image{margin:30px 0}.prose table{width:100%;border-collapse:collapse}.prose td,.prose th{border:1px solid var(--line);padding:10px}.service-detail{display:grid;grid-template-columns:100px 1fr;gap:32px;border-top:1px solid var(--line);padding-top:48px;padding-bottom:48px}.service-detail:last-of-type{margin-bottom:30px}.service-detail>div{max-width:820px}.service-detail .number{font-size:28px}.service-detail h2{font-size:40px}.about-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:90px;align-items:center;margin-bottom:90px}.about-emblem img{width:100%;max-width:420px;margin:auto}.about-grid .prose{font-size:18px}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:24px}.comparison figure{position:relative;min-width:0}.comparison img{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:var(--cream)}.comparison figcaption{position:absolute;bottom:16px;left:16px;background:white;color:var(--navy);padding:5px 12px;font-size:13px;font-weight:bold}.project-body{max-width:850px;margin:48px auto 70px}.project-type{margin-top:35px}.single-photo img{max-height:680px;width:100%;object-fit:contain;background:var(--cream)}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1200px){.primary-nav{gap:20px}.menu{gap:20px}.brand img,.custom-logo{width:230px}.header-inner{width:calc(100% - 48px)}.hero-copy{padding-left:48px;padding-right:34px}.hero-actions{gap:20px}.contact-grid{gap:40px}}
@media(max-width:1050px){.header-inner{min-height:90px;flex-wrap:wrap;gap:0}.has-js .menu-toggle{display:flex;align-items:center}.primary-nav{width:100%;flex-direction:column;align-items:stretch;padding:12px 0 25px}.has-js .primary-nav{display:none}.has-js .primary-nav.is-open{display:flex}.menu{flex-direction:column;gap:0}.menu a{padding:10px}.primary-nav>.button{align-self:flex-start}.hero{grid-template-columns:46% 54%}.hero h1{font-size:53px}.hero-intro{font-size:17px}.hero-copy{padding:52px 28px}.wrap{width:calc(100% - 56px)}.section{padding-block:65px}.services-grid article{padding-inline:22px}.services-grid h3{font-size:21px}.project-grid{grid-template-columns:repeat(2,1fr)}.contact-grid{grid-template-columns:1fr 1.2fr;gap:32px}.about-grid{gap:40px}}
@media(max-width:700px){html{scroll-padding-top:20px}.header-inner{min-height:84px;width:calc(100% - 36px)}.brand img,.custom-logo{width:208px}.wrap{width:calc(100% - 40px)}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:44px 24px 46px}.hero h1{font-size:53px;max-width:360px;margin-bottom:22px}.hero .eyebrow{font-size:11px}.hero-intro{font-size:18px;max-width:410px}.hero-actions{gap:23px}.hero-photo{min-height:0;aspect-ratio:4/3}.hero-photo>img{height:100%;width:100%}.section{padding-block:52px}h2{font-size:36px}.services-grid{grid-template-columns:1fr;margin-top:28px;gap:28px}.services-grid article{padding:0 0 28px;border:0;border-bottom:1px solid var(--line)}.services-grid article:first-child{border-bottom:1px solid var(--line)}.services-grid article:last-child{border:0;padding-bottom:0}.services-grid h3{font-size:23px}.services-grid p{max-width:none}.number{margin-bottom:7px}.section-heading{display:block}.section-heading .text-link{margin-top:22px}.project-empty{padding:28px 24px;display:block}.empty-mark{margin-bottom:22px}.empty-mark img{width:76px}.project-empty h3{font-size:25px}.project-grid{grid-template-columns:1fr}.contact-section{padding:52px 0}.contact-grid{grid-template-columns:1fr;gap:34px}.contact-section h2{font-size:43px}.enquiry-form{gap:17px 14px}.contact-details{margin-top:22px}.footer-top{flex-wrap:wrap;gap:25px}.footer-top p{width:100%;order:3}.site-footer .brand img,.site-footer .custom-logo{width:180px}.footer-bottom{gap:15px;flex-wrap:wrap}.page-intro{padding-top:48px;padding-bottom:40px}.page-intro h1{font-size:48px}.intro-text{font-size:18px}.service-detail{grid-template-columns:1fr;gap:8px;padding-block:32px}.service-detail h2{font-size:34px}.about-grid{grid-template-columns:1fr;gap:35px;margin-bottom:55px}.about-emblem img{max-width:260px}.comparison{grid-template-columns:1fr}.project-body{margin-top:35px}.button{gap:16px}.project-type{margin-top:25px}}
@media(max-width:380px){.enquiry-form{grid-template-columns:1fr}.span-2{grid-column:auto}.hero h1{font-size:46px}.brand img,.custom-logo{width:180px}.hero-actions{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* Editable room-by-room project comparisons. Images retain their full frame. */
.project-body{max-width:none}.project-body>p{max-width:850px}.project-body>h2{font-size:clamp(30px,3.2vw,44px);margin-top:60px}.project-body>h2:first-child{margin-top:0}.project-pair.wp-block-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin:28px 0 45px}.project-pair>.wp-block-column{min-width:0}.project-pair .wp-block-image{margin:0;height:100%;display:flex;flex-direction:column;background:var(--cream)}.project-pair img{width:100%;height:auto;max-height:680px;object-fit:contain;flex:1;min-height:0}.project-pair .wp-element-caption{color:var(--navy);font-weight:700;font-size:13px;margin:0;padding:13px 16px;background:var(--cream)}
@media(max-width:700px){.project-pair.wp-block-columns{grid-template-columns:minmax(0,1fr);gap:20px}.project-body>h2{margin-top:42px}.project-pair img{max-height:none}.project-pair .wp-block-image{height:auto}}

.project-body>.wp-block-image{max-width:850px;margin:30px 0 45px;background:var(--cream)}.project-body>.wp-block-image .wp-element-caption{padding:13px 16px;margin:0;color:var(--navy);font-size:13px;font-weight:700}

/* Portrait lead photographs retain a useful size and their full frame. */
.comparison--portrait{max-width:900px;margin-inline:auto}.comparison--portrait img{aspect-ratio:3/4}
