/*
Theme Name: Evolve Office
Theme URI: https://evolveoffice.co.za/
Author: Evolve Interiors
Description: A standalone WordPress theme for Evolve Interiors, Fitout and Furniture, including the full website, project portfolio, product catalogue and enquiry flow.
Version: 1.2.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: evolve-office
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;500;600&display=swap');

:root{
  --green:#113b2b;
  --green-dark:#08281d;
  --green-deep:#061b14;
  --cream:#f4f0e7;
  --cream-2:#ebe6dc;
  --ink:#18201b;
  --muted:#6e756f;
  --line:rgba(24,32,27,.15);
  --white:#fff;
  --max:1240px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--cream);color:var(--ink);font-size:15px;line-height:1.65}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
.container{width:min(var(--max),calc(100% - 48px));margin:auto}
.eyebrow{font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:600;color:#597064;margin-bottom:14px}
.serif{font-family:"Playfair Display",Georgia,serif}
h1,h2,h3,h4{font-family:"Playfair Display",Georgia,serif;font-weight:500;line-height:1.02;margin:0 0 18px}
h1{font-size:clamp(48px,6vw,88px);letter-spacing:-.035em}
h2{font-size:clamp(34px,4vw,58px);letter-spacing:-.025em}
h3{font-size:28px}
p{margin:0 0 18px}
.small{font-size:13px;color:var(--muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:0 20px;border:1px solid transparent;text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:600;cursor:pointer;transition:.25s}
.btn-primary{background:var(--green);color:#fff}
.btn-primary:hover{background:var(--green-dark)}
.btn-outline{border-color:currentColor;background:transparent}
.btn-light{color:#fff;border-color:rgba(255,255,255,.65)}
.arrow::after{content:"→";font-size:16px}
.section{padding:92px 0}
.section-tight{padding:64px 0}
.rule{height:1px;background:var(--line);margin:34px 0}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.grid-5{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.dark{background:var(--green-dark);color:#fff}
.green{background:var(--green);color:#fff}
.cream2{background:var(--cream-2)}
.text-link{display:inline-flex;align-items:center;gap:10px;text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:600}
.text-link::after{content:"→";font-size:16px}
.kicker-line{display:flex;align-items:center;gap:12px}
.kicker-line:after{content:"";width:44px;height:1px;background:currentColor;opacity:.5}

/* Header */
.site-header{position:fixed;z-index:80;top:0;left:0;right:0;height:82px;color:#fff;transition:.3s}
.site-header.scrolled,.site-header.light-page{background:rgba(6,27,20,.97);box-shadow:0 1px 0 rgba(255,255,255,.09)}
.header-inner{height:100%;display:flex;align-items:center;gap:34px}
.brand{display:flex;align-items:center;gap:13px;margin-right:auto}
.brand-logo{display:block;width:300px;max-width:28vw;height:auto;background:transparent;padding:0;border-radius:0}
.main-nav{display:flex;align-items:center;gap:26px}
.main-nav>a,.nav-products>a{font-size:10px;letter-spacing:.1em;text-transform:uppercase;font-weight:600}
.nav-products{position:relative;height:82px;display:flex;align-items:center}
.mega{position:absolute;top:76px;right:-170px;width:510px;background:rgba(8,40,29,.985);padding:26px;display:none;grid-template-columns:repeat(2,1fr);gap:7px 28px;border-top:1px solid rgba(255,255,255,.14);box-shadow:0 22px 60px rgba(0,0,0,.35)}
.nav-products:hover .mega,.nav-products:focus-within .mega{display:grid}
.mega h5{margin:0 0 10px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#d9e2dd}
.mega a{display:block;font-size:12px;color:#aebfb6;padding:4px 0}
.mega a:hover{color:#fff}
.header-cta{min-height:40px}
.mobile-toggle{display:none;background:none;border:0;color:#fff;font-size:25px}

/* Hero */
.hero{min-height:740px;display:flex;align-items:flex-end;position:relative;color:#fff;background:
linear-gradient(90deg,rgba(5,24,17,.92) 0%,rgba(5,24,17,.62) 37%,rgba(5,24,17,.18) 72%),
url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=2000&q=85') center/cover no-repeat}
.hero .container{padding-bottom:86px}
.hero-copy{max-width:610px}
.hero .eyebrow{color:#d4dfd9}
.hero p{max-width:500px;color:#e3e9e5}
.hero-actions{display:flex;gap:12px;margin-top:30px}

/* Page Hero */
.page-hero{padding:190px 0 88px;background:var(--green-dark);color:#fff;position:relative;overflow:hidden}
.page-hero:after{content:"";position:absolute;right:-8%;top:0;width:55%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.045));transform:skewX(-13deg)}
.page-hero .container{position:relative;z-index:2}
.page-hero p{max-width:650px;color:#c8d5ce}
.page-hero h1{font-size:clamp(48px,5.3vw,78px)}

/* Media blocks */
.media{min-height:420px;background-position:center;background-size:cover}
.media.office1{background-image:url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1500&q=85')}
.media.office2{background-image:url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1500&q=85')}
.media.office3{background-image:url('https://images.unsplash.com/photo-1524758631624-e2822e304c36?auto=format&fit=crop&w=1500&q=85')}
.media.office4{background-image:url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1500&q=85')}
.media.office5{background-image:url('https://images.unsplash.com/photo-1517502884422-41eaead166d4?auto=format&fit=crop&w=1500&q=85')}

/* Process */
.process{display:grid;grid-template-columns:repeat(6,1fr);gap:0;margin-top:46px}
.process-item{text-align:center;padding:0 16px;position:relative}
.process-item:not(:last-child):after{content:"›";position:absolute;right:-4px;top:20px;color:#8b948e}
.process-icon{width:50px;height:50px;border:1px solid #aab3ad;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;font-family:"Playfair Display";font-size:18px}
.process-item h4{font-size:17px;margin-bottom:7px}
.process-item p{font-size:11px;color:#6d756f;line-height:1.5}

/* Cards */
.card{background:#fff;border:1px solid rgba(17,59,43,.08)}
.card-media{aspect-ratio:1.45/1;background-size:cover;background-position:center}
.card-body{padding:20px}
.card h3{font-size:23px}
.card p{font-size:13px;color:#667068}
.service-card{padding:28px 26px;border-top:1px solid var(--line);min-height:185px}
.service-card .num{font-size:11px;color:#879088;letter-spacing:.1em;margin-bottom:32px}
.service-card h3{font-size:22px}
.service-card p{font-size:12px;color:#6c746e}
.category-card{min-height:360px;position:relative;overflow:hidden;color:#fff;display:flex;align-items:flex-end;padding:24px;background-size:cover;background-position:center}
.category-card:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,30,21,.86),rgba(5,30,21,.04) 70%)}
.category-card>*{position:relative;z-index:1}
.category-card h3{margin:0;font-size:25px}
.category-card span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.1em;margin-bottom:8px;color:#d5e0da}

/* Projects */
.project-card{aspect-ratio:1.4/1;position:relative;display:flex;align-items:flex-end;padding:18px;color:#fff;background-size:cover;background-position:center;overflow:hidden}
.project-card:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.8),rgba(0,0,0,.02) 65%)}
.project-card div{position:relative}
.project-card h4{font-size:19px;margin:0}
.project-card p{font-size:11px;margin:2px 0 0;color:#d8dfdb}
.project-card,.project-list-card{transition:transform .35s ease,box-shadow .35s ease}
.project-card:hover,.project-list-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(6,27,20,.18)}
.project-hero-image{width:100%;aspect-ratio:16/8.5;object-fit:cover;display:block}
.project-intro{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;align-items:start;margin:52px 0 78px}
.project-intro h2{font-size:clamp(38px,4vw,56px)}
.project-intro p{font-size:16px;line-height:1.8;color:#4f5b53}
.project-gallery{columns:3;column-gap:16px;margin-top:34px}
.project-gallery figure{break-inside:avoid;margin:0 0 16px;background:#e9e5dc;overflow:hidden}
.project-gallery img{width:100%;height:auto;transition:transform .45s ease}
.project-gallery figure:hover img{transform:scale(1.015)}
.project-back{margin-bottom:28px}
.project-list-card{min-height:360px;position:relative;overflow:hidden;color:#fff;display:flex;align-items:flex-end;padding:24px;background-size:cover;background-position:center}
.project-list-card:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,30,21,.88),rgba(5,30,21,.05) 70%)}
.project-list-card>div{position:relative;z-index:1}
.project-list-card h3{margin:0;font-size:25px}
.project-list-card span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.1em;margin-bottom:8px;color:#d5e0da}
@media(max-width:900px){.project-gallery{columns:2}.project-intro{gap:38px}}
@media(max-width:620px){.project-gallery{columns:1}.project-intro{grid-template-columns:1fr;gap:18px;margin:38px 0 58px}.project-hero-image{aspect-ratio:4/3}}
.logo-strip{display:grid;grid-template-columns:repeat(5,1fr);align-items:center;gap:25px;text-align:center;padding:32px 0}
.logo-strip div{font-family:"Playfair Display";font-size:18px;opacity:.85}

/* CTA / Footer */
.prefooter{padding:76px 0;background:
linear-gradient(90deg,rgba(5,33,23,.96),rgba(5,33,23,.72)),
url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1800&q=85') center/cover;color:#fff}
.prefooter h2{max-width:650px}
.footer{background:#071a13;color:#d5dfda;padding:54px 0 28px}
.footer-grid{display:grid;grid-template-columns:1.3fr .65fr repeat(3,1fr);gap:28px}
.footer h5{font-size:10px;letter-spacing:.14em;text-transform:uppercase;margin:0 0 16px;color:#fff}
.footer a,.footer p{font-size:12px;color:#aebcb5;margin:0 0 8px;display:block}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:38px;padding-top:20px;display:flex;justify-content:space-between;font-size:11px;color:#809088}
.social-links{display:flex;gap:9px;margin-top:22px}
.footer .social-links a{width:40px;height:40px;margin:0;display:grid;place-items:center;border:1px solid rgba(255,255,255,.25);border-radius:50%;color:#fff;transition:background .2s ease,border-color .2s ease,transform .2s ease}
.footer .social-links a:hover,.footer .social-links a:focus-visible{background:rgba(255,255,255,.12);border-color:#fff;transform:translateY(-2px)}
.social-links svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.social-links .social-fill,.social-links .social-dot{fill:currentColor;stroke:none}

/* About */
.quote-panel{padding:55px;background:var(--green);color:#fff}
.quote-panel p{font-family:"Playfair Display";font-size:34px;line-height:1.2}
.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.stat{padding:30px;border-right:1px solid var(--line)}
.stat:last-child{border-right:0}
.stat strong{font-family:"Playfair Display";font-size:36px;display:block;font-weight:500}

/* Team */
.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line)}
.team-card{background:var(--cream);min-height:210px;overflow:hidden}
.team-photo,.team-photo-placeholder{width:100%;aspect-ratio:4/5;display:block;background:#e8e4dc}
.team-photo{object-fit:cover;object-position:center top}
.team-photo-placeholder{display:grid;place-items:center;background:linear-gradient(145deg,#0e3d2b,#1c5840);color:#fff;font-family:"Playfair Display";font-size:44px}
.team-info{padding:22px 24px 25px}
.team-card h3{font-size:20px;margin-bottom:5px}
.team-card .role{font-size:12px;color:#687169;margin-bottom:15px}
.team-card a,.team-card .phone{font-size:11px;display:block;color:#526059}

/* Product */
.filterbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:35px 0 24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0}
.filterlinks{display:flex;gap:18px;flex-wrap:wrap}
.filterlinks a{font-size:11px;text-transform:uppercase;letter-spacing:.09em}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.product-card{background:#fff;min-height:330px;display:flex;flex-direction:column}
.product-placeholder{aspect-ratio:1/1;background:
linear-gradient(145deg,#e7e2d8,#f7f4ed);position:relative;display:grid;place-items:center;overflow:hidden}
.product-placeholder:before{content:"";width:45%;height:55%;border:1px solid rgba(17,59,43,.3);border-radius:45% 45% 20% 20%;transform:rotate(-4deg);box-shadow:38px 35px 0 -30px rgba(17,59,43,.28)}
.product-placeholder.has-image:before{display:none}
.product-image{width:100%;height:100%;object-fit:contain;padding:18px;transition:transform .3s ease}
.product-card:hover .product-image{transform:scale(1.035)}
.product-info{padding:16px}
.product-info h4{font-size:17px;margin:0 0 10px}
.product-actions{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding:0 16px 16px}
.quote-btn{border:0;background:none;text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:600;cursor:pointer;color:var(--green)}
.range-intro{display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:start}
.range-cover{width:100%;aspect-ratio:1.45/1;object-fit:cover;background:#e8e4dc}
.product-detail-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:64px;align-items:start}
.product-gallery-main{background:#f1efe9;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;overflow:hidden}
.product-gallery-main.wide{aspect-ratio:1.5/1}
.product-gallery-main img{width:100%;height:100%;object-fit:contain}
.product-gallery-main.wide img{object-fit:cover}
.product-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin-top:10px}
.product-thumb{border:1px solid var(--line);background:#f1efe9;aspect-ratio:1/1;padding:0;cursor:pointer;overflow:hidden}
.product-thumb img{width:100%;height:100%;object-fit:cover}
.product-thumb.active{border:2px solid var(--green)}
.product-copy{margin:20px 0 28px}
.product-copy p{margin:0 0 11px}
.product-copy .detail-heading{font-weight:700;color:var(--green);margin-top:20px}
.product-options{padding:24px 0;margin:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.product-option{margin-bottom:18px}
.product-option:last-child{margin-bottom:0}
.product-option label{display:block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px}
.product-option select{width:100%;padding:13px 42px 13px 14px;border:1px solid var(--line);background:#fff;color:var(--ink);font:inherit}
.variation-status{font-size:12px;color:#9a3d2d;min-height:18px;margin-top:10px}
.range-detail-gallery{margin-top:44px}

/* Contact */
.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line)}
.contact-card{background:#fff;padding:40px}
.contact-card h3{font-size:30px}
.contact-detail{border-top:1px solid var(--line);padding:16px 0}
.contact-detail span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#7a837d}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.field{display:flex;flex-direction:column;gap:6px}
.field.full{grid-column:1/-1}
.field label{font-size:10px;text-transform:uppercase;letter-spacing:.1em}
.field input,.field select,.field textarea{border:1px solid #cdd2ce;background:#fff;padding:13px 14px;min-height:46px}
.field textarea{min-height:130px;resize:vertical}

/* Journal */
.journal-card{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);background:#fff;min-height:430px}
.journal-card-image{display:block;overflow:hidden;margin:0}
.journal-card-image img{width:100%;height:100%;min-height:430px;object-fit:cover;transition:transform .35s ease}
.journal-card-image:hover img{transform:scale(1.025)}
.journal-card-copy{padding:54px;align-self:center}
.journal-card .date{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#79827c;margin-bottom:20px}
.journal-card h2{font-size:clamp(34px,4vw,52px);margin-bottom:18px}
.journal-card p{margin-bottom:28px}
.journal-article{background:var(--cream)}
.journal-article-header{padding:190px 0 70px;background:var(--green);color:#fff}
.journal-article-header .container{max-width:980px}
.journal-article-header h1{font-size:clamp(48px,7vw,82px);max-width:950px;margin:20px 0 0}
.journal-back{color:#d9e3de;margin-bottom:42px;display:inline-block}
.journal-article-hero{width:100%;aspect-ratio:3/1;object-fit:cover;display:block;margin:55px 0 70px}
.journal-article-body{max-width:790px;margin:0 auto;padding:0 24px 100px}
.journal-article-body p{font-size:18px;line-height:1.78;margin:0 0 28px;color:#2f3833}
.journal-article-body blockquote{margin:50px -70px;padding:38px 48px;border-left:4px solid var(--green);background:#fff;font-family:"Playfair Display";font-size:31px;line-height:1.35;color:var(--green)}

/* Quote drawer */
.quote-drawer{position:fixed;z-index:120;right:20px;bottom:20px;width:min(380px,calc(100% - 40px));background:#fff;border:1px solid #d7ddd8;box-shadow:0 22px 70px rgba(0,0,0,.2);padding:20px;display:none}
.quote-drawer.open{display:block}
.quote-title{display:flex;justify-content:space-between;align-items:center}
.quote-title h3{font-size:22px;margin:0}
.quote-close{border:0;background:none;font-size:22px;cursor:pointer}
.quote-list{max-height:250px;overflow:auto;margin:15px 0}
.quote-item{padding:10px 0;border-top:1px solid var(--line);font-size:12px;display:flex;justify-content:space-between;gap:15px}
.quote-float{position:fixed;z-index:90;right:22px;bottom:22px;background:var(--green);color:#fff;border:0;padding:13px 18px;box-shadow:0 12px 30px rgba(0,0,0,.2);font-size:11px;text-transform:uppercase;letter-spacing:.08em;cursor:pointer}

/* Responsive */
@media(max-width:1050px){
  .main-nav{display:none}.mobile-toggle{display:block}.header-cta{display:none}
  .process{grid-template-columns:repeat(3,1fr);row-gap:40px}
  .process-item:nth-child(3):after{display:none}
  .grid-5{grid-template-columns:repeat(3,1fr)}
  .product-grid{grid-template-columns:repeat(3,1fr)}
  .team-grid{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:1.5fr 1fr 1fr}
  .footer-grid>div:nth-child(n+4){margin-top:10px}
}
@media(max-width:760px){
  .container{width:min(100% - 30px,var(--max))}
  .section{padding:66px 0}.section-tight{padding:48px 0}
  .hero{min-height:690px}.hero .container{padding-bottom:58px}
  .hero-actions{flex-direction:column;align-items:flex-start}
  .grid-2,.range-intro,.contact-grid{grid-template-columns:1fr}
  .product-detail-layout{grid-template-columns:1fr;gap:34px}
  .product-thumbs{grid-template-columns:repeat(4,1fr)}
  .grid-3,.grid-4,.grid-5{grid-template-columns:1fr 1fr}
  .process{grid-template-columns:1fr 1fr}
  .process-item:nth-child(2n):after{display:none}
  .product-grid{grid-template-columns:1fr 1fr}
  .team-grid{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .journal-card{grid-template-columns:1fr}
  .journal-card-image img{min-height:300px;aspect-ratio:16/9}
  .journal-card-copy{padding:36px 28px}
  .journal-article-header{padding:155px 0 58px}
  .journal-article-hero{aspect-ratio:16/7;margin:35px 0 55px}
  .journal-article-body blockquote{margin:40px 0;padding:28px;font-size:26px}
  .form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}
  .stat-row{grid-template-columns:1fr}.stat{border-right:0;border-bottom:1px solid var(--line)}
}
@media(max-width:520px){
  .grid-3,.grid-4,.grid-5,.product-grid,.team-grid,.footer-grid{grid-template-columns:1fr}
  .process{grid-template-columns:1fr}.process-item:after{display:none!important}
  .brand-logo{width:210px;max-width:62vw}
  .page-hero{padding-top:155px}
}



/* =========================================================
   APPROVED EVOLVE HOMEPAGE
   Homepage-only styling based on the supplied approved design.
   Inner-page styling remains unchanged.
   ========================================================= */
.home-reference{background:#f4f0e7;overflow:hidden}
.home-reference .home-hero{
  min-height:735px;position:relative;display:flex;align-items:flex-end;color:#fff;
  background:
    linear-gradient(90deg,rgba(4,22,16,.93) 0%,rgba(4,22,16,.74) 30%,rgba(4,22,16,.19) 64%,rgba(4,22,16,.08) 100%),
    url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=2200&q=90') center/cover no-repeat;
}
.home-reference .home-hero .container{padding-bottom:74px}
.home-reference .home-hero-copy{max-width:540px}
.home-reference .home-hero h1{font-size:clamp(54px,5.8vw,84px);line-height:.94;margin-bottom:22px}
.home-reference .home-hero p{max-width:470px;color:rgba(255,255,255,.88);font-size:13px;line-height:1.75}
.home-reference .home-hero-actions{display:flex;gap:13px;margin-top:25px}
.home-reference .home-hero .btn{min-height:42px;padding:0 18px;font-size:9px}
.home-reference .home-who{padding:58px 0 35px}
.home-reference .home-who-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:62px;align-items:center}
.home-reference .home-who-copy{padding-left:8px}
.home-reference .home-who h2{font-size:clamp(38px,3.6vw,55px);line-height:1.04;margin-bottom:25px}
.home-reference .home-who p{max-width:500px;font-size:12px;line-height:1.7}
.home-reference .home-who-image{
  min-height:405px;
  background:url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1500&q=88') center/cover
}
.home-reference .home-process{padding:36px 0 34px;background:#ede9df}
.home-reference .home-process-heading{text-align:center;margin-bottom:24px}
.home-reference .home-process-heading .eyebrow{margin-bottom:5px}
.home-reference .home-process-heading h2{font-size:37px;margin-bottom:0}
.home-reference .home-process .process{margin-top:29px}
.home-reference .home-process .process-icon{width:47px;height:47px;font-size:14px;background:#f4f0e7}
.home-reference .home-process .process-item h4{font-size:15px}
.home-reference .home-process .process-item p{font-size:10px;max-width:145px;margin:0 auto}
.home-reference .home-process .btn{margin-top:22px;min-height:38px;font-size:9px}
.home-reference .home-solutions{padding:34px 0 28px}
.home-reference .home-solutions-heading{text-align:center;margin-bottom:22px}
.home-reference .home-solutions-heading .eyebrow{margin-bottom:4px}
.home-reference .home-solutions-heading h2{font-size:36px;margin:0}
.home-reference .home-solution-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.home-reference .home-solution-card .home-solution-image{aspect-ratio:1.26/1;background-size:cover;background-position:center;margin-bottom:13px}
.home-reference .home-solution-card h3{font-size:16px;line-height:1.08;margin-bottom:8px}
.home-reference .home-solution-card p{font-size:10px;line-height:1.55;color:#667068;min-height:48px;margin-bottom:9px}
.home-reference .home-solution-card .text-link{font-size:8px}
.home-reference .home-projects{padding:0 0 27px}
.home-reference .home-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:13px}
.home-reference .home-section-head .eyebrow{margin-bottom:4px}
.home-reference .home-section-head h2{font-size:31px;margin:0}
.home-reference .home-section-head .text-link{font-size:8px}
.home-reference .home-project-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.home-reference .home-project-card{
  min-height:180px;position:relative;display:flex;align-items:flex-end;padding:13px;
  background-size:cover;background-position:center;color:#fff;overflow:hidden
}
.home-reference .home-project-card:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,18,13,.88),rgba(3,18,13,.03) 68%)}
.home-reference .home-project-card div{position:relative}
.home-reference .home-project-card h4{font-size:15px;margin:0 0 2px}
.home-reference .home-project-card p{font-size:9px;margin:0;color:#dce4e0}
.home-reference .home-trusted{background:#12452f;color:#fff;padding:19px 0 20px}
.home-reference .home-trusted-title{text-align:center;font-size:8px;text-transform:uppercase;letter-spacing:.12em;color:#cbd8d1;margin-bottom:15px}
.home-reference .home-logo-row{display:grid;grid-template-columns:repeat(6,1fr);gap:0;align-items:stretch;text-align:center}
.home-reference .home-logo{min-height:48px;padding:8px 10px;display:grid;place-items:center;border-right:1px solid rgba(255,255,255,.12);font-family:"Playfair Display",Georgia,serif;font-size:clamp(11px,1.05vw,16px);line-height:1.15;color:#f2f5f3}
.home-reference .home-logo:nth-child(n+7){border-top:1px solid rgba(255,255,255,.12)}
.home-reference .home-logo:last-child{border-right:0}
.home-reference .home-final-cta{
  min-height:180px;display:flex;align-items:center;color:#fff;
  background:
    linear-gradient(90deg,rgba(5,34,24,.97) 0%,rgba(5,34,24,.89) 37%,rgba(5,34,24,.16) 75%),
    url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=88') center 55%/cover
}
.home-reference .home-final-cta .eyebrow{color:#ccd9d2;margin-bottom:5px}
.home-reference .home-final-cta h2{font-size:34px;margin-bottom:15px}
.home-reference .home-final-cta .btn{min-height:37px;font-size:8px}
.home-reference .home-contact-bar{background:#071a13;color:#dbe4df;padding:20px 0 19px}
.home-reference .home-contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.home-reference .home-contact-item{display:grid;grid-template-columns:30px 1fr;gap:10px;padding:0 18px;border-right:1px solid rgba(255,255,255,.11)}
.home-reference .home-contact-item:first-child{padding-left:0}
.home-reference .home-contact-item:last-child{border-right:0}
.home-reference .home-contact-icon{width:25px;height:25px;border:1px solid rgba(255,255,255,.35);border-radius:50%;display:grid;place-items:center;font-size:10px}
.home-reference .home-contact-item strong{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.08em;color:#fff;margin-bottom:2px}
.home-reference .home-contact-item span,.home-reference .home-contact-item a{display:block;font-size:8px;color:#9eaea6;line-height:1.45}
body[data-page="home"] .site-header{background:linear-gradient(180deg,rgba(4,20,14,.62),rgba(4,20,14,0));box-shadow:none}
body[data-page="home"] .site-header.scrolled{background:rgba(6,27,20,.97)}
body[data-page="home"] .quote-float,body[data-page="home"] .quote-drawer{display:none!important}
@media(max-width:1050px){
  .home-reference .home-solution-grid{grid-template-columns:repeat(3,1fr)}
  .home-reference .home-project-grid{grid-template-columns:repeat(3,1fr)}
  .home-reference .home-contact-grid{grid-template-columns:repeat(2,1fr);row-gap:20px}
  .home-reference .home-contact-item:nth-child(2){border-right:0}
}
@media(max-width:760px){
  .home-reference .home-hero{min-height:680px}
  .home-reference .home-who-grid{grid-template-columns:1fr;gap:28px}
  .home-reference .home-who-image{min-height:330px}
  .home-reference .home-solution-grid{grid-template-columns:1fr 1fr}
  .home-reference .home-project-grid{grid-template-columns:1fr 1fr}
  .home-reference .home-logo-row{grid-template-columns:repeat(2,1fr);row-gap:15px}
  .home-reference .home-logo{border-right:0}
}
@media(max-width:520px){
  .home-reference .home-solution-grid,.home-reference .home-project-grid{grid-template-columns:1fr}
  .home-reference .home-contact-grid{grid-template-columns:1fr}
  .home-reference .home-contact-item{border-right:0;padding:8px 0}
  .home-reference .home-hero-actions{flex-direction:column;align-items:flex-start}
}

/* Timed homepage project prompt — original measuring-tape assistant */
.project-prompt{position:fixed;inset:0;z-index:105;overflow:hidden;pointer-events:none}
.project-prompt[hidden]{display:none}
.project-prompt-stage{
  position:absolute;left:clamp(18px,5vw,70px);bottom:18px;width:190px;height:245px;
  filter:drop-shadow(0 13px 18px rgba(6,27,20,.2))
}
.project-prompt-pose{
  position:absolute;left:50%;bottom:0;max-width:100%;max-height:100%;width:auto;height:auto;
  opacity:0;transform-origin:50% 100%;translate:-50% 0
}
.pose-curious{animation:evolve-tape-curious 10.5s ease both}
.pose-measure{animation:evolve-tape-measure 10.5s ease both}
.pose-tangled{animation:evolve-tape-tangled 10.5s ease both}
.pose-shrug{animation:evolve-tape-shrug 10.5s ease both}
.pose-point{animation:evolve-tape-point 10.5s ease both}
.pose-exit{animation:evolve-tape-exit 10.5s ease both}
.project-prompt-card{
  position:absolute;left:clamp(225px,18vw,275px);bottom:30px;width:min(390px,calc(100% - 40px));
  padding:25px 54px 24px 26px;background:rgba(244,240,231,.98);color:var(--ink);
  border:1px solid rgba(17,59,43,.18);box-shadow:0 22px 55px rgba(6,27,20,.22);
  pointer-events:auto;opacity:0;transform:translateY(18px);
  animation:evolve-project-card .6s 7.35s ease both
}
.project-prompt-card .eyebrow{margin-bottom:8px;color:#597064}
.project-prompt-card h3{font-size:27px;line-height:1.08;margin-bottom:9px}
.project-prompt-card p{font-size:13px;line-height:1.55;color:#56615a;margin-bottom:18px}
.project-prompt-card .btn{min-height:40px;padding-inline:17px}
.project-prompt-dismiss{
  position:absolute;top:10px;right:11px;width:34px;height:34px;border:0;background:transparent;
  color:#58645d;font-size:24px;line-height:1;cursor:pointer;border-radius:50%
}
.project-prompt-dismiss:hover,.project-prompt-dismiss:focus-visible{background:rgba(17,59,43,.08);outline:none}
.project-prompt.is-closing{opacity:0;transition:opacity .25s ease}
@keyframes evolve-tape-curious{
  0%{opacity:0;transform:translate3d(-26px,150px,0) rotate(-7deg) scale(.72)}
  5%{opacity:1}
  11%{opacity:1;transform:translate3d(0,0,0) rotate(2deg) scale(1)}
  15%{opacity:1;transform:translate3d(0,0,0) rotate(-2deg) scale(1)}
  18%,100%{opacity:0;transform:translate3d(0,0,0) scale(1)}
}
@keyframes evolve-tape-measure{
  0%,16%{opacity:0;transform:scaleY(.65)}
  18%{opacity:1;transform:scaleY(.72)}
  24%{opacity:1;transform:scaleY(1.08) rotate(-1deg)}
  29%{opacity:1;transform:scaleY(1) rotate(2deg)}
  33%{opacity:1;transform:scaleY(1.04) rotate(-1deg)}
  35%,100%{opacity:0;transform:scaleY(.9)}
}
@keyframes evolve-tape-tangled{
  0%,33%{opacity:0;transform:rotate(-18deg) scale(.72)}
  36%{opacity:1;transform:rotate(8deg) scale(1.08)}
  40%{opacity:1;transform:rotate(-6deg) scale(.96)}
  44%{opacity:1;transform:rotate(4deg) scale(1)}
  48%{opacity:1;transform:rotate(0) scale(1)}
  50%,100%{opacity:0}
}
@keyframes evolve-tape-shrug{
  0%,48%{opacity:0;transform:translateY(18px) scale(.9)}
  51%{opacity:1;transform:translateY(0) scale(1)}
  55%{opacity:1;transform:translateY(-5px) rotate(-2deg)}
  59%{opacity:1;transform:translateY(0) rotate(2deg)}
  62%{opacity:1;transform:translateY(0)}
  64%,100%{opacity:0}
}
@keyframes evolve-tape-point{
  0%,61%{opacity:0;transform:translateX(-12px) scale(.94)}
  64%{opacity:1;transform:translateX(0) scale(1.04)}
  68%{opacity:1;transform:translateX(0) scale(1)}
  78%{opacity:1;transform:translateX(4px) rotate(1deg)}
  82%{opacity:1;transform:translateX(0)}
  84%,100%{opacity:0}
}
@keyframes evolve-tape-exit{
  0%,81%{opacity:0;transform:translateX(10px) rotate(3deg)}
  84%{opacity:1;transform:translateX(0) rotate(0)}
  90%{opacity:1;transform:translateX(-35px) rotate(-3deg)}
  96%{opacity:1;transform:translateX(-120px) rotate(-7deg)}
  100%{opacity:0;transform:translateX(-310px) rotate(-10deg)}
}
@keyframes evolve-project-card{
  from{opacity:0;transform:translateY(18px);visibility:hidden}
  1%{visibility:visible}
  to{opacity:1;transform:translateY(0);visibility:visible}
}
@media(max-width:620px){
  .project-prompt-stage{left:12px;bottom:185px;width:126px;height:165px}
  .project-prompt-card{left:15px;right:15px;bottom:15px;width:auto;padding:21px 48px 21px 21px}
  .project-prompt-card h3{font-size:24px}
}
@media(prefers-reduced-motion:reduce){
  .project-prompt-stage{display:none}
  .project-prompt-card{animation:evolve-project-card-reduced .3s 0s ease both}
  @keyframes evolve-project-card-reduced{from{opacity:0}to{opacity:1;transform:none;visibility:visible}}
}

/* WordPress integration */
#evolve-app{min-height:100vh}
body.admin-bar .site-header{top:32px}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}
.evolve-form-status{grid-column:1/-1;min-height:24px;margin:0;font-size:14px}
.evolve-form-status.is-success{color:#1f6b48}
.evolve-form-status.is-error{color:#9b2f2f}
.evolve-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.form-grid button[disabled]{opacity:.62;cursor:wait}
