:root{--teal:#1f9aa8;--coral:#e8553d;--sun:#f6c445;--cream:#fff7ec;--ink:#17323a;--grass:#2e8b57}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;font:17px/1.65 "Nunito Sans",system-ui,sans-serif;color:var(--ink);background:var(--cream)}
h1,h2,h3,.logo{font-family:"Bricolage Grotesque",system-ui,sans-serif;line-height:1.1;margin:0 0 .5em}
h1{font-size:clamp(2.2rem,5vw,3.6rem);font-weight:800}h2{font-size:clamp(1.6rem,3vw,2.2rem)}
a{color:var(--teal)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--sun);outline-offset:2px}
.wrap{max-width:1080px;margin:auto;padding:2.5rem 1.25rem}.narrow{max-width:640px}
.top{background:var(--teal);position:sticky;top:0;z-index:5;border-bottom:6px solid var(--sun)}
.bar{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;align-items:center;padding-block:.6rem}
.top a{color:#fff;text-decoration:none;font-weight:600}.logo{font-size:1.3rem;font-weight:800;margin:0}
.top nav{display:flex;gap:1rem;flex:1;flex-wrap:wrap;align-items:center}
.top nav a[aria-current]{border-bottom:3px solid var(--sun)}
.top .buy{background:var(--coral);padding:.2rem .8rem;border-radius:99px}
.social{display:flex;gap:.6rem;align-items:center}.social a{font-size:.85rem}
.social .wa{background:#25d366;color:#073b1a;padding:.2rem .7rem;border-radius:99px}
.hero{background:linear-gradient(var(--cream) 70%,#cfe9ec)}
.hero-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:2rem;align-items:center}
.house{width:100%;height:auto}.lead{font-size:1.2rem;max-width:34em}
.btn{display:inline-block;background:var(--coral);color:#fff!important;border:0;padding:.7rem 1.4rem;border-radius:8px;font:700 1rem "Bricolage Grotesque",sans-serif;text-decoration:none;cursor:pointer}
.btn.ghost{background:transparent;color:var(--ink)!important;box-shadow:inset 0 0 0 2px var(--ink)}.btn.wa{background:#25d366;color:#073b1a!important}
.cols{columns:3 240px;column-gap:2rem}.cols p{margin-top:0}
.band{background:var(--teal);color:#fff}.band h2{color:#fff}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem}.g4{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.card{background:#fff;color:var(--ink);border-radius:6px;padding:1rem;margin:0;text-decoration:none;border-top:6px solid var(--sun)}
.card svg{width:100%;height:auto;border-radius:4px}.card h3{margin-top:.8rem}.price{font:800 1.6rem "Bricolage Grotesque",sans-serif;color:var(--coral)}
figcaption,.small{font-size:.85rem;opacity:.75}
.form{display:grid;gap:1rem}.form label{display:grid;gap:.3rem;font-weight:600}
input,select,textarea{font:inherit;padding:.65rem;border:2px solid #b9d3d6;border-radius:6px;background:#fff}
.hp{position:absolute;left:-9999px}.ok{background:#dff3e4;padding:1rem;border-radius:6px}.bad{background:#fde1db;padding:1rem;border-radius:6px}
footer{background:var(--ink);color:#fff;text-align:center}footer a{color:var(--sun)}
@media(max-width:760px){.hero-grid{grid-template-columns:1fr}}
/* Numberly Yours brand: navy + gold from the logo */
:root{--navy:#14233f;--gold:#c8922a}
.top{background:var(--navy);border-bottom-color:var(--gold)}
.logo{display:flex;align-items:center;gap:.6rem}.logo img{border-radius:8px;display:block}
.top nav a[aria-current]{border-bottom-color:var(--gold)}.top .buy{background:var(--gold);color:var(--navy)}
.btn{background:var(--gold);color:var(--navy)!important}.btn.ghost{box-shadow:inset 0 0 0 2px var(--navy)}
.price{color:var(--gold)}.band{background:var(--navy)}.card{border-top-color:var(--gold)}
footer{background:var(--navy)}footer a{color:var(--gold)}
.swatches{display:flex;flex-wrap:wrap;gap:.4rem;margin:0 0 1.5rem}.swatches span{background:#fff;border:2px solid var(--navy);border-radius:99px;padding:.1rem .8rem;font-size:.9rem}
.card ul{padding-left:1.1rem;margin:.3rem 0}
/* Light header so the navy logo stands out */
.top{background:#fff;box-shadow:0 2px 10px rgba(20,35,63,.12)}
.top a{color:var(--navy)}.logo{font-size:1.3rem}
.top nav a[aria-current]{border-bottom-color:var(--gold)}
.top .buy{background:var(--gold);color:var(--navy)}.social a{color:var(--navy)}.top .social .wa{color:#073b1a}
/* Full-page photo background on the home page. To use the illustration instead, change hero1-photo.jpg to hero-illustration.jpg */
body.home::before{content:"";position:fixed;inset:0;z-index:-1;
  background:linear-gradient(rgba(255,247,236,.18),rgba(255,247,236,.18)),url(../img/hero1-photo.jpg) center/cover no-repeat}
body.home{background:transparent}
.hero{background:none;min-height:70vh;display:flex;align-items:center}
.hero h1{max-width:12em;color:var(--navy)}
.panel{background:rgba(255,255,255,.82);border-radius:10px;padding:2rem;border-top:6px solid var(--gold)}
.panel .cols{columns:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem}
.panel h3{font-size:1.15rem;color:var(--navy);margin-bottom:.3rem}
/* Keep the photo vivid; put the hero text on a soft card so it stays readable */
.hero-card{background:rgba(255,247,236,.82);border-radius:12px;padding:1.75rem 2rem;max-width:640px;backdrop-filter:blur(2px)}
.hero-card h1{font-size:clamp(2rem,4.5vw,3.2rem)}.hero-card .lead{font-size:1.1rem}
.panel{background:rgba(255,255,255,.88)}
/* Compact mobile header */
@media(max-width:700px){
  body{font-size:16px}
  .bar{padding-block:.4rem;gap:.3rem .6rem}.wrap{padding:1.5rem 1rem}.bar.wrap{padding-block:.4rem}
  .logo{font-size:1.05rem;gap:.4rem}.logo img{width:34px;height:34px}
  .social{margin-left:auto;gap:.45rem}.social a{font-size:.75rem}.social .wa{padding:.1rem .55rem}
  .top nav{order:3;flex:0 0 100%;gap:.2rem .9rem;font-size:.9rem}
  .top .buy{padding:.05rem .7rem}
  .hero{min-height:auto}.hero-card{padding:1.2rem}.hero-card .lead{font-size:1rem}
}
/* Social icons in brand colours */
.social{gap:.9rem}.social a{display:flex;width:28px;height:28px}.social svg{width:100%;height:100%}
.social .s-wa,.top .social .s-wa{background:none;padding:0;color:#25d366}
.social .s-ig{color:#e4405f}.social .s-fb{color:#1877f2}
/* Mobile: logo row, menu left-to-right, icons centred underneath */
@media(max-width:700px){
  .bar{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;padding-block:.35rem}
  .logo{font-size:1rem}.logo img{width:30px;height:30px}
  .top nav{order:0;flex:none;width:100%;flex-wrap:nowrap;justify-content:flex-start;gap:.8rem;font-size:.88rem;white-space:nowrap;overflow-x:auto}
  .social{order:0;margin:0;width:100%;justify-content:center;gap:1.4rem}.social a{width:24px;height:24px}
}
