/*
Theme Name: Ansell Homes
Theme URI: https://ansellhomes.com
Author: Ansell Homes
Description: A lightweight one-page WordPress theme for Ansell Homes.
Version: 3.6.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: ansell-homes
*/
:root{
  --navy:#071d35;
  --navy-2:#0d2e50;
  --bronze:#b8843e;
  --cream:#f6f2ea;
  --ink:#17212b;
  --muted:#66717d;
  --white:#fff;
  --max:1180px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff;line-height:1.6}a{color:inherit}.wrap{width:min(calc(100% - 40px),var(--max));margin:auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);border-bottom:1px solid #e9edf0;backdrop-filter:blur(10px)}.header-inner{height:84px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand img{display:block;width:350px;max-width:46vw;max-height:70px;height:auto;object-fit:contain}.brand-text{font-size:1.35rem;font-weight:800;letter-spacing:.04em;text-decoration:none;color:var(--navy)}.nav{display:flex;gap:26px;align-items:center}.nav a{text-decoration:none;font-size:.96rem;font-weight:650;color:var(--navy)}.nav a:hover{color:var(--bronze)}.menu-toggle{display:none;background:none;border:0;font-size:1.45rem}.hero{background:linear-gradient(120deg,rgba(7,29,53,.96),rgba(13,46,80,.88)),url('assets/images/hero-home.jpg') center/cover;min-height:575px;display:grid;place-items:center;color:#fff}.hero-inner{padding:90px 0}.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:.79rem;font-weight:800;color:#d8b47d}.hero h1{font-size:clamp(2.55rem,5vw,5rem);line-height:1.03;max-width:880px;margin:.35rem 0 1.2rem}.hero p{max-width:720px;font-size:1.18rem;color:#e7edf3}.buttons{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}.btn{display:inline-block;text-decoration:none;font-weight:800;border-radius:4px;padding:14px 20px;border:2px solid transparent}.btn-primary{background:var(--bronze);color:#fff}.btn-secondary{border-color:#fff;color:#fff}.section{padding:88px 0}.section.alt{background:var(--cream)}.section-head{max-width:760px;margin-bottom:42px}.section h2{font-size:clamp(2rem,3.2vw,3.15rem);line-height:1.08;margin:.25rem 0 .75rem;color:var(--navy)}.lead{font-size:1.12rem;color:var(--muted)}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.card{padding:28px;border:1px solid #e2e6e9;background:#fff;border-radius:8px;box-shadow:0 10px 30px rgba(7,29,53,.05)}.card h3{margin:.1rem 0 .55rem;color:var(--navy);font-size:1.25rem}.card p{margin:0;color:var(--muted)}.split{display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center}.feature-list{display:grid;gap:18px}.feature{display:grid;grid-template-columns:42px 1fr;gap:12px}.feature strong{display:block;color:var(--navy)}.feature span{display:block;color:var(--muted)}.check{width:34px;height:34px;border-radius:50%;background:var(--cream);display:grid;place-items:center;color:var(--bronze);font-weight:900}.contact-box{background:var(--navy);color:#fff;padding:48px;border-radius:10px;display:grid;grid-template-columns:1.2fr .8fr;gap:34px;align-items:center}.contact-box h2{color:#fff;margin-top:0}.contact-box p{color:#d9e2ea}.contact-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}.site-footer{background:#051424;color:#b8c6d2;padding:24px 0}.footer-inner{display:flex;justify-content:space-between;gap:28px;align-items:center}.footer-logo{display:block;width:210px;max-width:42vw;height:auto}.small{font-size:.9rem}.legal{color:#8395a4}.hero-note{display:inline-block;margin-top:16px;font-size:.92rem;color:#c8d5df}
@media(max-width:820px){.header-inner{height:72px}.brand img{width:275px;max-width:72vw;max-height:58px}.footer-logo{width:185px;max-width:70vw}.menu-toggle{display:block}.nav{display:none;position:absolute;left:0;right:0;top:72px;background:#fff;padding:20px 24px;border-bottom:1px solid #e4e7ea;flex-direction:column;align-items:flex-start}.nav.open{display:flex}.hero{min-height:540px}.section{padding:66px 0}.grid-3,.split,.contact-box{grid-template-columns:1fr}.contact-actions{justify-content:flex-start}.footer-inner{align-items:flex-start;flex-direction:column}}
/* Portfolio additions */
.proofbar{background:var(--navy);color:#fff;border-top:1px solid rgba(255,255,255,.12)}
.proofgrid{display:grid;grid-template-columns:repeat(4,1fr);padding:25px 0;gap:20px}
.proofgrid div{border-right:1px solid rgba(255,255,255,.18);padding-right:18px}.proofgrid div:last-child{border:0}
.proofgrid strong,.proofgrid span{display:block}.proofgrid strong{font-size:1.05rem}.proofgrid span{font-size:.82rem;color:#b9c7d3;margin-top:2px}
.featured-project{display:grid;grid-template-columns:1.35fr .85fr;background:#fff;border:1px solid #e2e6e9;box-shadow:0 12px 36px rgba(7,29,53,.08);overflow:hidden;border-radius:8px;margin-bottom:28px}
.featured-project>img{width:100%;height:100%;min-height:500px;object-fit:cover}.featured-copy{padding:34px}.featured-copy h3,.project-card h3{font-size:1.55rem;color:var(--navy);margin:.25rem 0}.project-meta{font-weight:750;color:var(--bronze)!important;margin:.2rem 0 1rem!important}.mini-gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}.mini-gallery img{width:100%;height:125px;object-fit:cover;border-radius:4px}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.project-card{display:grid;grid-template-columns:1.1fr .9fr;background:#fff;border:1px solid #e2e6e9;border-radius:8px;overflow:hidden}.project-card>img{width:100%;height:100%;min-height:270px;object-fit:cover}.project-card>div{padding:25px}.project-card p{color:var(--muted)}.portfolio-note{font-size:.83rem;color:#7c8791;margin:20px 0 0}.statement{background:var(--navy);color:#fff;padding:42px;border-radius:8px}.statement span{display:block;text-transform:uppercase;letter-spacing:.16em;color:#d8b47d;font-size:.78rem;font-weight:800;margin-bottom:12px}.statement strong{font-family:Georgia,serif;font-size:clamp(1.7rem,3vw,2.45rem);line-height:1.25;font-weight:500}.hero{background-image:linear-gradient(90deg,rgba(5,20,36,.94) 0%,rgba(7,29,53,.76) 38%,rgba(7,29,53,.34) 62%,rgba(7,29,53,.08) 100%),url('assets/images/project-featured.jpg');background-position:center center}.hero h1{font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-.02em}
@media(max-width:900px){.proofgrid{grid-template-columns:1fr 1fr}.proofgrid div:nth-child(2){border-right:0}.featured-project,.project-card{grid-template-columns:1fr}.featured-project>img{min-height:330px}.project-grid{grid-template-columns:1fr}}
@media(max-width:520px){.proofgrid{grid-template-columns:1fr}.proofgrid div{border-right:0;border-bottom:1px solid rgba(255,255,255,.14);padding-bottom:10px}.mini-gallery{grid-template-columns:1fr}.mini-gallery img{height:180px}}

/* Anchor targets clear the sticky navigation */
section[id]{scroll-margin-top:100px}
@media(max-width:820px){section[id]{scroll-margin-top:86px}}
