/*
Theme Name: Rootwork Solutions
Theme URI: https://rootworksolutions.com/
Author: Rootwork Solutions
Description: Rootwork Solutions editorial consulting theme.
Version: 5.5
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
*/
:root{
 --header-cream:#f8f5eb;
 --hero-cream:#e9e4d4;
 --section-cream:#f5f1e4;
 --paper:#fbfaf4;
 --green:#123d31;
 --green-deep:#0b2e25;
 --ink:#173f33;
 --brown:#80612f;
 --muted:#596a62;
 --line:#d8d4c6;
 --white:#fffdf7;
 --max:1280px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.55}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.container{width:min(calc(100% - 128px),var(--max));margin:auto}
.eyebrow{font-size:9px;letter-spacing:2.6px;font-weight:800;color:var(--brown);text-transform:uppercase}
.serif{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.035em}
.btn{display:inline-flex;align-items:center;gap:9px;background:var(--green);color:#fff;padding:13px 18px;border-radius:4px;font-weight:700;font-size:11px;line-height:1;transition:transform .18s ease,background .18s ease}
.btn:hover{transform:translateY(-1px);background:#174c3d}
.btn.light{background:var(--white);color:var(--green)}
.arrow-svg{width:16px;height:16px;display:inline-block;flex:0 0 auto;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}

/* Header */
.site-header{background:var(--header-cream);border-bottom:1px solid rgba(23,63,51,.07);position:relative;z-index:20}
.header-inner{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:28px;position:relative}
.brand{display:flex;align-items:center;flex:0 0 auto}
.brand img{width:205px;height:auto}
.primary-nav{display:flex;align-items:center;gap:30px;font-size:10px;font-weight:700}
.nav-links{display:flex;align-items:center}
.nav-links ul{display:flex;align-items:center;gap:25px;list-style:none;margin:0;padding:0}
.nav-links>li,.nav-links>ul>li{list-style:none}
.nav-links a{white-space:nowrap}
.nav-links a:hover,.nav-links .current-menu-item>a{color:var(--brown)}
.header-cta{display:inline-flex;align-items:center;gap:8px;padding:10px 17px;border-radius:5px;background:var(--green);color:#fff!important}
.menu-toggle,.mobile-menu{display:none}

/* Hero */
.hero{background:var(--hero-cream);overflow:hidden}
.hero-inner{width:100%;display:grid;grid-template-columns:42% 58%;min-height:405px}
.hero-copy{width:min(500px,calc(100% - 64px));margin-left:max(32px,calc((100vw - var(--max))/2));padding:42px 0 36px;display:flex;flex-direction:column;justify-content:center}
.hero h1{font-size:clamp(42px,3.15vw,53px);line-height:.99;margin:11px 0 20px;max-width:520px;color:var(--ink)}
.hero p{max-width:435px;color:#43574f;margin:0 0 23px;font-size:12px;line-height:1.5}
.hero-art{min-width:0;overflow:hidden;background:var(--hero-cream);display:flex;align-items:stretch}
.hero-art img{width:100%;height:auto;min-height:100%;object-fit:cover;object-position:center center}

/* Challenge */
.challenge{background:var(--section-cream);padding:62px 0 60px;position:relative;overflow:hidden}
.challenge:before,.cta:before{content:"";position:absolute;width:180px;height:300px;left:-42px;top:12px;opacity:.22;background:
 radial-gradient(ellipse at 35% 12%,transparent 0 19%,#a8aa8e 20% 25%,transparent 26%) 40px 0/55px 70px repeat-y,
 radial-gradient(ellipse at 65% 12%,transparent 0 19%,#a8aa8e 20% 25%,transparent 26%) 80px 25px/55px 70px repeat-y;
 transform:rotate(-18deg);pointer-events:none}
.challenge-grid{display:grid;grid-template-columns:31% 69%;gap:40px;align-items:center;position:relative;z-index:1}
.challenge h2{font-size:clamp(39px,3.1vw,50px);line-height:.97;margin:11px 0 18px;max-width:370px}
.challenge-copy p{max-width:355px;color:var(--muted);font-size:12px;line-height:1.55;margin:0 0 17px}
.challenge-copy a{font-size:10px}
.challenge-cards{display:grid;grid-template-columns:repeat(4,1fr);border-left:1px solid var(--line)}
.challenge-card{padding:0 18px;border-right:1px solid var(--line)}
.icon{width:43px;height:43px;border-radius:50%;background:#eeebdf;color:var(--green);display:grid;place-items:center;margin-bottom:13px}
.icon-svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.challenge-card h3,.solution-card h3{font-size:12px;line-height:1.25;margin:0 0 7px}
.challenge-card p{font-size:10px;color:var(--muted);margin:0;line-height:1.5}

/* Solutions */
.solutions{background:var(--green);color:#fff;padding:64px 0;position:relative;overflow:hidden}
.solutions:before{content:"";position:absolute;inset:0;background:linear-gradient(rgba(13,48,39,.91),rgba(13,48,39,.94)),url('assets/images/solutions-workflow.webp') center/cover;opacity:.9}
.solutions-inner{position:relative;z-index:1;display:grid;grid-template-columns:31% 69%;gap:40px;align-items:center}
.solutions h2{font-size:clamp(38px,3.05vw,50px);line-height:.97;margin:11px 0 17px;max-width:390px}
.solutions-copy p{color:#e0e8e2;max-width:370px;font-size:11px;line-height:1.55;margin:0 0 20px}
.solution-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}
.solution-card{background:var(--section-cream);color:var(--ink);padding:25px 20px 22px;min-height:220px;display:flex;flex-direction:column}
.solution-card .icon{margin-bottom:14px}
.solution-card p{color:#64736d;font-size:10px;line-height:1.5;margin:0 0 20px}
.solution-card a{margin-top:auto;font-weight:800;font-size:10px}

/* Method */
.method{background:var(--paper);padding:58px 0 55px;position:relative;overflow:hidden}
.method-grid{display:grid;grid-template-columns:29% 71%;gap:42px;align-items:center}
.method h2{font-size:clamp(40px,3.15vw,52px);line-height:.96;margin:11px 0 14px;max-width:340px}
.method-intro p{color:var(--muted);max-width:300px;font-size:11px;line-height:1.5;margin:0 0 16px}
.text-link{font-size:10px;font-weight:800}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;align-items:start}
.step{position:relative}
.step:not(:last-child):after{content:"";position:absolute;right:-25px;top:25px;width:30px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 18'%3E%3Cpath d='M1 9h24M19 3l6 6-6 6' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 18'%3E%3Cpath d='M1 9h24M19 3l6 6-6 6' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat;color:#b0a88f}
.step-icon{width:52px;height:52px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;margin:0 0 11px}
.step-icon .icon-svg{width:25px;height:25px}
.step h3{letter-spacing:3px;font-size:9px;margin:0 0 7px}
.step ul{margin:0;padding:0;list-style:none;color:var(--muted);font-size:10px;line-height:1.55}
.step li:before{content:"•";margin-right:7px;color:#9b7c3e}

/* Expertise */
.expertise{background:var(--section-cream)}
.expertise-grid{display:grid;grid-template-columns:36% 64%;min-height:390px}
.expertise-image{overflow:hidden}
.expertise-image img{width:100%;height:100%;object-fit:cover;object-position:center}
.expertise-copy{padding:52px 7% 46px}
.expertise h2{font-size:clamp(38px,3.05vw,50px);line-height:.98;margin:11px 0 15px;max-width:700px}
.expertise-copy>p{max-width:650px;color:var(--muted);font-size:11px;line-height:1.55;margin:0}
.expertise-list{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin-top:30px;border-top:1px solid var(--line);padding-top:15px}
.expertise-list span{font-weight:800;font-size:9px;line-height:1.25;padding-right:12px;display:flex;flex-direction:column;gap:7px}
.expertise-list i{width:27px;height:27px;border-radius:50%;background:#ece9dc;display:grid;place-items:center;color:var(--green);font-style:normal}
.expertise-list i .icon-svg{width:15px;height:15px}

/* Industries */
.industries{background:var(--section-cream);padding:43px 0 50px}
.industry-head{display:grid;grid-template-columns:32% 68%;gap:42px;align-items:end}
.industry-head h2{font-size:clamp(35px,2.75vw,46px);line-height:.97;margin:10px 0 0;max-width:390px}
.industry-head p{max-width:420px;color:var(--muted);font-size:11px;line-height:1.5;margin:0 0 9px}
.industry-head a{font-size:10px}
.industry-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:19px}
.industry-card{height:148px;position:relative;overflow:hidden;background:#ddd}
.industry-card img{width:100%;height:100%;object-fit:cover}
.industry-card:after{content:"";position:absolute;inset:48% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.68))}
.industry-card span{position:absolute;z-index:2;left:10px;right:8px;bottom:10px;color:#fff;font-weight:800;font-size:9px;line-height:1.1}

/* Result */
.result{background:var(--green);color:#fff;padding:58px 0;position:relative;overflow:hidden}
.result:before{content:"";position:absolute;left:-20px;bottom:-55px;width:230px;height:190px;opacity:.15;background:radial-gradient(ellipse at 50% 20%,transparent 0 25%,#b6c2b8 26% 29%,transparent 30%) 0 0/60px 70px repeat}
.result-grid{display:grid;grid-template-columns:48% 52%;gap:42px;align-items:center;position:relative;z-index:1}
.result .eyebrow{color:#d5bb7e}
.result h2{font-size:clamp(39px,3.2vw,53px);line-height:.98;margin:11px 0;max-width:570px}
.testimonial{max-width:530px;color:#eef1ec;font-size:12px;line-height:1.6;font-style:italic}
.testimonial cite{display:block;margin-top:17px;font-size:9px;font-style:normal;color:#d2ddd6}
.testimonial:after{content:"•  •  •";display:block;margin-top:20px;letter-spacing:3px;font-style:normal;color:#d7ded8}

/* CTA */
.cta{background:var(--section-cream);padding:40px 0;position:relative;overflow:hidden}
.cta:before{left:auto;right:-35px;top:0;transform:rotate(18deg);opacity:.18}
.cta-inner{max-width:1000px;display:grid;grid-template-columns:220px 1fr auto;align-items:center;gap:24px;text-align:left}
.cta h2{font-size:clamp(27px,2.35vw,38px);line-height:1.02;margin:0;max-width:520px}
.cta .eyebrow{margin-bottom:7px}
.cta .btn{white-space:nowrap}

/* Footer */
.site-footer{background:var(--green-deep);color:#e6eee9;padding:29px 0 17px}
.footer-main{display:grid;grid-template-columns:1.25fr 2fr auto;gap:28px;align-items:center}
.footer-brand img{width:175px;filter:brightness(0) invert(1);margin-bottom:8px}
.footer-tag{color:#c4d0ca;font-size:9px}
.footer-nav{display:flex;justify-content:center;flex-wrap:wrap;gap:15px}
.footer-nav a{color:#c8d2cd;font-size:9px}
.footer-nav a:hover{color:#fff}
.footer-socials{display:flex;gap:10px;justify-content:flex-end}
.social-icon{width:24px;height:24px;display:grid;place-items:center;color:#d2ddd6}
.social-icon .social-svg{width:17px;height:17px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.14);margin-top:20px;padding-top:12px;display:flex;justify-content:space-between;color:#91a69e;font-size:8px}

/* Responsive */
@media(max-width:1100px){
 .container{width:min(calc(100% - 48px),var(--max))}
 .header-inner{min-height:76px}
 .primary-nav{display:flex;margin-left:auto}
 .nav-links,.primary-nav>.header-cta{display:none}
 .menu-toggle{display:flex;width:42px;height:42px;border:1px solid rgba(18,61,49,.2);border-radius:5px;background:transparent;color:var(--green);align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:0;cursor:pointer}
 .menu-toggle span{display:block;width:19px;height:2px;background:currentColor;border-radius:2px}
 .mobile-menu{position:absolute;left:0;right:0;top:100%;background:var(--header-cream);border-top:1px solid rgba(23,63,51,.08);border-bottom:1px solid rgba(23,63,51,.12);box-shadow:0 14px 30px rgba(18,61,49,.12);padding:12px 24px 22px;z-index:30;max-height:calc(100vh - 76px);overflow-y:auto}
 .mobile-menu[hidden]{display:none}.mobile-menu.is-open{display:block}.mobile-menu-inner{width:100%;max-width:var(--max);margin:auto}
 .mobile-menu ul{list-style:none;margin:0;padding:0}.mobile-menu li{list-style:none;border-bottom:1px solid rgba(23,63,51,.08)}.mobile-menu li:last-child{border-bottom:0}
 .mobile-menu a{display:flex;align-items:center;justify-content:space-between;padding:14px 4px;font-size:14px;font-weight:700}
 .mobile-menu .mobile-cta{display:flex;justify-content:center;align-items:center;gap:9px;margin-top:12px;padding:12px 18px;border-radius:5px;background:var(--green);color:#fff}
 .menu-open{overflow:hidden}
 .hero-inner{grid-template-columns:1fr}.hero-copy{width:min(calc(100% - 48px),var(--max));margin:0 auto;padding:48px 0 30px}.hero-art{height:auto}.hero-art img{width:100%;height:auto;min-height:0;object-fit:contain}
 .challenge-grid,.solutions-inner,.method-grid,.industry-head,.result-grid{grid-template-columns:1fr}
 .challenge-cards{margin-top:28px}.solution-grid{grid-template-columns:repeat(3,1fr)}.steps{gap:25px}
 .expertise-grid{grid-template-columns:1fr}.expertise-image{min-height:360px}.expertise-list{grid-template-columns:repeat(5,1fr)}
 .industry-strip{grid-template-columns:repeat(3,1fr)}
 .cta-inner{grid-template-columns:1fr;gap:6px;text-align:center}.cta h2{margin:0 auto 10px}.cta .btn{margin:auto}
}
@media(max-width:700px){
 .container{width:min(calc(100% - 34px),var(--max))}
 .header-inner{min-height:70px;padding:0 17px}.brand img{width:175px}
 .mobile-menu{width:100vw;left:50%;right:auto;transform:translateX(-50%);padding:12px 17px 22px;max-height:calc(100vh - 70px)}
 .mobile-menu-inner{max-width:none}
 .mobile-menu a{font-size:14px;padding:14px 4px}
 .hero-copy{width:min(calc(100% - 34px),var(--max));padding:40px 0 28px}.hero h1{font-size:40px;line-height:.98}
 .challenge{padding:52px 0}.challenge-cards{grid-template-columns:1fr 1fr}.challenge-card{padding:16px 13px}
 .solutions{padding:55px 0}.solution-grid{grid-template-columns:1fr}
 .method{padding:54px 0}.steps{grid-template-columns:1fr}.step:not(:last-child):after{display:none}
 .expertise-copy{padding:46px 0}.expertise-list{grid-template-columns:1fr 1fr;gap:18px}.expertise-list span{padding-right:5px}
 .industries{padding:40px 0}.industry-strip{grid-template-columns:1fr 1fr}.industry-card{height:145px}
 .result{padding:55px 0}.cta{padding:42px 0}
 .footer-main{grid-template-columns:1fr;text-align:center;gap:16px}.footer-brand img{margin-left:auto;margin-right:auto}.footer-nav{gap:10px 14px}.footer-socials{justify-content:center}.footer-bottom{flex-direction:column;gap:6px;text-align:center}
}
