/*
Theme Name: Build & Brush Ready
Theme URI: https://example.com/
Author: OpenAI
Description: Install-ready WordPress theme inspired by a Roots Sage conversion of Build & Brush.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: build-and-brush-ready
*/

:root{
  --brand-primary:#280E8F;
  --brand-secondary:#FC7A57;
  --brand-accent:#EEFC57;
  --brand-bg:#f8f9fa;
  --text:#1d2433;
  --muted:#6b7280;
  --white:#fff;
  --container:1200px;
  --shadow:0 10px 30px rgba(15,23,42,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--text);background:#fff;line-height:1.6}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{width:min(var(--container),calc(100% - 32px));margin:0 auto}
.section{padding:96px 0}
.section-title{font-family:Outfit,Inter,sans-serif;font-size:clamp(2rem,4vw,3.25rem);line-height:1.1;margin:0 0 16px;color:var(--brand-primary)}
.section-subtitle{max-width:720px;color:var(--muted);font-size:1.05rem}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:15px 28px;border-radius:4px;font-weight:700;transition:.25s ease;border:2px solid transparent;cursor:pointer}
.btn-primary{background:var(--brand-secondary);color:#fff}
.btn-primary:hover{transform:translateY(-2px);filter:brightness(.97)}
.btn-outline{border-color:#ffffff3b;color:#fff;background:#ffffff14;backdrop-filter:blur(8px)}
.btn-outline:hover{background:#ffffff24}
.btn-dark-outline{border-color:var(--brand-primary);color:var(--brand-primary);background:transparent}
.btn-dark-outline:hover{background:var(--brand-primary);color:#fff}
.site-header{position:fixed;inset:0 0 auto 0;z-index:99;padding:20px 0;transition:.3s ease}
.site-header.scrolled{background:rgba(255,255,255,.95);backdrop-filter:blur(14px);box-shadow:0 6px 24px rgba(0,0,0,.06);padding:14px 0}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:12px}
.brand-title{font-family:Outfit,Inter,sans-serif;font-size:1.7rem;font-weight:800;letter-spacing:-.04em;color:#fff}
.site-header.scrolled .brand-title{color:var(--brand-primary)}
.brand-title .accent{color:var(--brand-secondary)}
.logo{width:42px;height:42px}
.main-nav{display:flex;align-items:center;gap:32px}
.main-nav a{font-size:.95rem;font-weight:600;color:#fff}
.site-header.scrolled .main-nav a{color:var(--brand-primary)}
.main-nav a:hover{color:var(--brand-secondary)}
.menu-toggle{display:none;background:none;border:0;padding:0;color:#fff}
.site-header.scrolled .menu-toggle{color:var(--brand-primary)}
.hero{position:relative;min-height:100svh;display:flex;align-items:center;overflow:hidden}
.hero-media,.hero-overlay{position:absolute;inset:0}
.hero-media img{width:100%;height:100%;object-fit:cover}
.hero-overlay{background:linear-gradient(180deg,rgba(0,0,0,.45),rgba(0,0,0,.55))}
.hero-content{position:relative;z-index:1;color:#fff;padding-top:96px;max-width:760px}
.hero-kicker{display:block;margin-bottom:16px;text-transform:uppercase;letter-spacing:.2em;font-size:.82rem;font-weight:700;color:var(--brand-accent)}
.hero-title{font-family:Outfit,Inter,sans-serif;font-size:clamp(2.8rem,7vw,5.5rem);line-height:1.04;margin:0 0 22px}
.hero-title em{color:var(--brand-secondary);font-style:italic}
.hero-text{font-size:1.15rem;max-width:630px;color:rgba(255,255,255,.85);margin:0 0 34px}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px}
.scroll-indicator{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);z-index:1}
.scroll-indicator span{display:flex;justify-content:center;width:28px;height:46px;border:2px solid rgba(255,255,255,.35);border-radius:999px;padding:6px}
.scroll-indicator i{display:block;width:4px;height:8px;background:#fff;border-radius:999px;animation:bounce 1.6s infinite}
@keyframes bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(12px)}}
.services{background:var(--brand-bg)}
.center{text-align:center}
.divider{width:84px;height:4px;background:var(--brand-secondary);margin:0 auto 24px}
.grid-3,.grid-2,.grid-4{display:grid;gap:30px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.card{background:#fff;border:1px solid #eceff4;padding:38px;border-radius:6px;box-shadow:var(--shadow);transition:.25s ease}
.card:hover{transform:translateY(-8px)}
.icon-box{width:64px;height:64px;border-radius:14px;display:grid;place-items:center;background:#f4f0ff;color:var(--brand-primary);margin-bottom:22px}
.icon-box.secondary{background:#fff1ec;color:var(--brand-secondary)}
.card h3{font-family:Outfit,Inter,sans-serif;font-size:1.6rem;margin:0 0 12px;color:var(--brand-primary)}
.card p{margin:0 0 18px;color:var(--muted)}
.link-arrow{color:var(--brand-primary);font-weight:700}
.projects-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:48px}
.project{position:relative;overflow:hidden;border-radius:6px;min-height:400px;background:#ddd}
.project img{width:100%;height:100%;object-fit:cover;transition:transform .7s ease}
.project:hover img{transform:scale(1.08)}
.project-overlay{position:absolute;inset:0;padding:28px;display:flex;flex-direction:column;justify-content:end;background:linear-gradient(180deg,transparent 20%,rgba(0,0,0,.82) 100%);opacity:0;transition:.25s ease}
.project:hover .project-overlay{opacity:1}
.project-category{color:var(--brand-secondary);font-size:.88rem;font-weight:700;margin-bottom:6px}
.project-title{font-family:Outfit,Inter,sans-serif;color:#fff;font-size:1.8rem;margin:0}
.process{background:var(--brand-primary);color:#fff}
.process .section-title,.process .section-subtitle{color:#fff}
.process .section-subtitle{opacity:.72}
.step{position:relative}
.step-num{font-size:4rem;font-weight:800;color:rgba(255,255,255,.1);line-height:1;margin-bottom:10px}
.step h3{font-family:Outfit,Inter,sans-serif;font-size:1.35rem;margin:0 0 10px;color:var(--brand-secondary)}
.step p{margin:0;color:rgba(255,255,255,.72);font-size:.97rem}
.step:after{content:"";position:absolute;top:38px;right:-15px;width:30px;height:1px;background:rgba(255,255,255,.2)}
.grid-4 .step:last-child:after{display:none}
.cta-box{background:var(--brand-primary);padding:52px;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.cta-box h2{font-family:Outfit,Inter,sans-serif;font-size:clamp(2rem,4vw,3.1rem);line-height:1.1;margin:0 0 12px;color:#fff}
.cta-box p{margin:0;color:rgba(255,255,255,.82);font-size:1.08rem;max-width:660px}
.site-footer{background:var(--brand-bg);padding-top:96px;padding-bottom:34px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;margin-bottom:52px}
.footer-title{font-size:.82rem;letter-spacing:.16em;text-transform:uppercase;font-weight:800;margin:0 0 22px;color:var(--brand-primary)}
.footer-brand p,.footer-list a,.footer-contact li{color:var(--muted)}
.footer-list,.footer-contact{list-style:none;padding:0;margin:0;display:grid;gap:14px}
.socials{display:flex;gap:12px;margin-top:22px}
.social{width:42px;height:42px;border-radius:999px;background:#fff;display:grid;place-items:center;box-shadow:var(--shadow);color:var(--brand-primary);font-weight:700}
.footer-bottom{padding-top:28px;border-top:1px solid #e5e7eb;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;color:#808697;font-size:.85rem;font-weight:600}
.footer-bottom-nav{display:flex;gap:24px;flex-wrap:wrap}
.wp-caption,.gallery-caption,.bypostauthor,.screen-reader-text{display:inherit}
.page-content{padding:140px 0 80px}
.page-content h1,.page-content h2,.page-content h3{font-family:Outfit,Inter,sans-serif;color:var(--brand-primary)}
@media (max-width: 991px){
  .grid-3,.grid-2,.grid-4,.footer-grid{grid-template-columns:1fr 1fr}
  .projects-head,.cta-box{flex-direction:column;align-items:flex-start}
  .step:after{display:none}
}
@media (max-width: 767px){
  .menu-toggle{display:block}
  .main-nav{position:absolute;left:16px;right:16px;top:100%;background:#fff;border-radius:10px;box-shadow:var(--shadow);padding:18px;display:none;flex-direction:column;align-items:flex-start;gap:14px}
  .main-nav.open{display:flex}
  .main-nav a{color:var(--brand-primary)!important}
  .main-nav .btn{width:100%}
  .grid-3,.grid-2,.grid-4,.footer-grid{grid-template-columns:1fr}
  .section{padding:72px 0}
  .hero-content{padding-top:110px}
}
.hero.hero-modern {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-modern .hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-modern .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-modern .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(8, 12, 22, 0.88) 0%, rgba(8, 12, 22, 0.72) 35%, rgba(8, 12, 22, 0.30) 65%, rgba(8, 12, 22, 0.12) 100%);
}

.hero-modern-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 160px 32px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 520px);
  gap: 48px;
  align-items: center;
}

.hero-left {
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border: 1px solid rgba(255, 126, 77, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffd7c9;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-title.hero-title-modern {
  margin: 0 0 24px;
  font-size: 96px;
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -2px;
  max-width: 900px;
  color: #ffffff;
  position: relative;
  z-index: 5;
}

.hero-title.hero-title-modern span {
  display: block;
}

.hero-title.hero-title-modern .accent-line {
  color: #ff7e4d;
  font-style: italic;
}

.hero-title.hero-title-modern .light-line {
  color: #ffffff;
}

.hero-text.hero-text-modern {
  margin: 0 0 34px;
  max-width: 760px;
  font-size: 22px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 5;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}

.hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 0 30px;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.hero-actions .btn-primary {
  background: #ff7e4d;
  color: #fff;
  border: 1px solid #ff7e4d;
}

.hero-actions .btn-primary:hover {
  transform: translateY(-2px);
}

.hero-actions .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.hero-right {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 5;
}

.stats-card {
  width: 100%;
  max-width: 500px;
  padding: 28px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.stats-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.stats-card-head .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff7e4d;
  display: inline-block;
}

.stats-card-head h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  padding: 26px 24px;
}

.stat-box h4 {
  margin: 0 0 6px;
  color: #ff7e4d;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
}

.stat-box p {
  margin: 0;
  color: #687282;
  font-size: 16px;
  line-height: 1.4;
}

.stats-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.stats-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 1199px) {
  .hero-modern-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 140px;
  }

  .hero-right {
    justify-content: flex-start;
  }

  .hero-title.hero-title-modern {
    font-size: 74px;
  }
}

@media (max-width: 767px) {
  .hero-modern-wrap {
    padding: 130px 20px 60px;
  }

  .hero-title.hero-title-modern {
    font-size: 52px;
    line-height: 0.98;
    letter-spacing: -1px;
  }

  .hero-text.hero-text-modern {
    font-size: 18px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
.hero.hero-modern .hero-title {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  text-indent: 0 !important;
  font-size: 69px !important;
  color: #fff !important;
}

.hero.hero-modern .hero-title span {
  display: block !important;
}

.hero.hero-modern .hero-left,
.hero.hero-modern .hero-right,
.hero.hero-modern .hero-text,
.hero.hero-modern .hero-actions {
  position: relative !important;
  z-index: 10 !important;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 22px;
  border: 1px solid rgba(255, 126, 77, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffd7c9;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-badge-label {
  color: #ffd7c9;
  white-space: nowrap;
}

.flip-text-wrap {
  position: relative;
  display: inline-block;
  min-width: 210px;
  height: 28px;
  overflow: hidden;
  perspective: 400px;
}

.flip-text {
  display: inline-block;
  color: #ff7e4d;
  font-weight: 700;
  white-space: nowrap;
  transform-origin: 50% 50%;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.flip-text.flip-out {
  transform: rotateX(90deg);
  opacity: 0;
}

.flip-text.flip-in {
  transform: rotateX(0deg);
  opacity: 1;
}
