:root{
  --ink:#151515;--text:#454545;--muted:#737373;--line:#e4e4e4;--red:#d71920;--red2:#b51218;
  --blue:#f7f7f7;--blue2:#fbfbfb;--white:#fff;--green:#5f5f5f;--max:1260px;
  --shadow:0 20px 50px rgba(15,23,42,.09);--shadow-sm:0 10px 28px rgba(15,23,42,.07)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#fff;color:var(--text);line-height:1.55}
img{display:block;max-width:100%}a{color:inherit}.wrap{width:min(var(--max),calc(100% - 44px));margin:0 auto}
.skip{position:absolute;left:-9999px}.skip:focus{left:18px;top:12px;background:#fff;padding:10px 14px;z-index:100;border:1px solid var(--line)}
.topline{height:36px;border-bottom:1px solid #eeeeee;background:#fff}.topline .wrap{height:100%;display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:800;color:#666666}
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.nav{height:80px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;text-decoration:none}.brand img{width:205px}
.navlinks{margin-left:auto;display:flex;align-items:center;gap:8px}.navlinks a{padding:11px 9px;text-decoration:none;font-size:14px;font-weight:800;color:#1f1f1f;border-radius:6px}.navlinks a:hover{background:#f7f7f7}
.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:900;border-radius:5px;padding:14px 20px;border:1px solid transparent;cursor:pointer}
.btn.red{background:var(--red);color:#fff;box-shadow:0 10px 24px rgba(215,25,32,.18)}.btn.red:hover{background:var(--red2)}
.btn.outline{background:#fff;border-color:#b8b8b8;color:#111827}.btn.dark{background:#111827;color:#fff}
.hero{background:linear-gradient(110deg,#ffffff 0%,#fbfaf9 55%,#f6f4f3 100%);border-bottom:1px solid var(--line);overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:56px;align-items:center;min-height:640px;padding:66px 0}
.eyebrow{font-size:13px;text-transform:uppercase;letter-spacing:.075em;color:#b51218;font-weight:900;margin-bottom:14px}
.hero h1{font-size:clamp(46px,5vw,72px);line-height:.98;letter-spacing:-.055em;margin:0 0 22px;color:var(--ink);max-width:700px}
.hero p{font-size:19px;color:#4b4b4b;max-width:690px;margin:0 0 26px}.actions{display:flex;gap:12px;flex-wrap:wrap}
.review{margin-top:28px;border-top:1px solid rgba(80,80,80,.20);padding-top:21px;max-width:650px}
.review-title{font-weight:900;color:#2d2d2d}.review-title span{display:block;font-size:13px;font-weight:650;color:#757575;margin-top:3px}
.review-form{display:flex;margin-top:12px}.review-form input{flex:1;min-width:0;border:1px solid #d4d4d4;border-right:0;border-radius:4px 0 0 4px;padding:14px 15px;background:#fff;font-size:15px}.review-form button{border:0;border-radius:0 4px 4px 0;background:#111827;color:#fff;font-weight:900;padding:0 20px}
.managed-board{background:#fff;border:1px solid #dedede;box-shadow:var(--shadow);padding:24px;border-radius:16px;position:relative}
.managed-board:before{content:"WHAT ARSENAL MANAGES";position:absolute;top:-16px;left:22px;background:#fff;border:1px solid #dedede;padding:7px 11px;border-radius:999px;font-size:11px;letter-spacing:.08em;font-weight:900;color:#5a5a5a}
.managed-board h3{font-size:23px;color:#111827;margin:8px 0 6px}.managed-board>p{font-size:14px!important;color:#777777!important;margin:0 0 18px!important}
.managed-list{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.managed-item{border:1px solid #e5e5e5;border-radius:9px;padding:16px;background:#fcfcfc;min-height:110px}.managed-item b{display:flex;align-items:center;gap:8px;color:#111827;margin-bottom:6px}.managed-item b:before{content:"";width:9px;height:9px;border-radius:50%;background:var(--red);box-shadow:0 0 0 5px #fff0f1}.managed-item span{font-size:13px;color:#737373}.managed-item.search b:before{background:#2f2f2f;box-shadow:0 0 0 5px #f1f1f1}.managed-item.analytics b:before{background:#d71920;box-shadow:0 0 0 5px #fff0f1}.managed-item.content b:before{background:#7f1d1d;box-shadow:0 0 0 5px #faf2f2}.managed-item.auto b:before{background:#595959;box-shadow:0 0 0 5px #f1f1f1}
.board-note{margin-top:14px;padding:12px 14px;background:#f8f8f8;border-left:4px solid var(--red);font-size:13px;color:#666666}
.proof{background:#fff;border-bottom:1px solid var(--line)}.proof-grid{display:grid;grid-template-columns:repeat(4,1fr)}.proof-item{padding:26px 28px;border-right:1px solid var(--line)}.proof-item:last-child{border-right:0}.proof-item b{display:block;color:#111827;font-size:18px}.proof-item span{font-size:13px;color:#737373}
.section{padding:86px 0}.section.soft{background:#fafafa}.section.bluewash{background:linear-gradient(180deg,#fff5f5 0%,#ffffff 100%)}
.section-head{max-width:800px;margin-bottom:35px}.section-head.center{text-align:center;margin-left:auto;margin-right:auto}.kicker{font-size:12px;text-transform:uppercase;letter-spacing:.09em;color:#6a6a6a;font-weight:900}
.section h2{font-size:clamp(34px,4vw,52px);line-height:1.05;letter-spacing:-.04em;color:#111827;margin:7px 0 13px}.section-head p{font-size:18px;color:#686868;margin:0}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);background:#fff}.service{padding:30px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-height:250px}.service:nth-child(3n){border-right:0}.service:nth-last-child(-n+3){border-bottom:0}.service .num{font-size:12px;font-weight:900;letter-spacing:.1em;color:var(--red);margin-bottom:13px}.service h3{font-size:22px;margin:0 0 10px;color:#111827}.service p{margin:0 0 17px;color:#686868}.service a{font-weight:900;color:var(--red);text-decoration:none}
.flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:18px;align-items:center}.flow-card{background:#fff;border:1px solid #e2e2e2;border-radius:10px;padding:25px;min-height:180px}.flow-card h3{margin:0 0 8px;color:#111827}.flow-card p{margin:0;color:#6b6b6b}.arrow{font-size:30px;color:#a0a0a0;font-weight:700}
.custom-split{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:center}.custom-split p{font-size:18px;color:#686868}.custom-points{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.custom-point{border:1px solid #e3e3e3;background:#fff;padding:16px}.custom-point b{display:block;color:#111827}.custom-point span{font-size:13px;color:#757575}
.custom-visual{display:grid;grid-template-columns:1fr 1fr;gap:14px}.visual-card{background:#fff;border:1px solid #e3e3e3;padding:12px;box-shadow:var(--shadow-sm)}.visual-card img{width:100%;height:200px;object-fit:cover}.visual-card strong{display:block;color:#111827;margin-top:10px}.visual-card span{font-size:12px;color:#777777}
.work-head{display:flex;justify-content:space-between;align-items:end;gap:36px;margin-bottom:28px}.work-head p{max-width:530px;margin:0;color:#6b6b6b}
.work-layout{display:grid;grid-template-columns:220px 1fr;gap:26px}.filters{border:1px solid #e2e2e2;background:#fff;align-self:start}.filters strong{display:block;padding:15px 16px;border-bottom:1px solid #ececec;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#7a7a7a}.filter{display:block;width:100%;border:0;border-bottom:1px solid #eeeeee;background:#fff;text-align:left;padding:17px 16px;font-weight:850;color:#333333;cursor:pointer}.filter.active{background:#fff3f3;box-shadow:inset 4px 0 0 var(--red)}.filter:last-child{border-bottom:0}
.projects{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.project{background:#fff;border:1px solid #e4e4e4}.project.hidden{display:none}.project h3{font-size:22px;color:#111827;margin:0;padding:18px 20px 0}.project-media{height:265px;background:#f8f8f8;display:flex;align-items:center;justify-content:center;padding:18px}.device{width:90%;background:#161b22;border-radius:16px 16px 7px 7px;padding:9px 9px 15px;box-shadow:0 13px 28px rgba(15,23,42,.16)}.device:before{content:"";display:block;width:6px;height:6px;border-radius:50%;background:#69717f;margin:0 auto 7px}.device img{width:100%;height:185px;object-fit:cover;background:#fff}.project-copy{padding:18px 20px 22px;border-top:1px solid #e6e6e6}.project-copy p{margin:0 0 12px;color:#686868}.project-copy a{font-weight:900;color:var(--red);text-decoration:none}
.cta-band{background:linear-gradient(100deg,#fff4f4,#ffffff);border:1px solid #ead9d9;padding:38px 40px;display:flex;justify-content:space-between;align-items:center;gap:28px}.cta-band h2{font-size:38px;margin:0 0 8px}.cta-band p{margin:0;color:#6b6b6b}
.footer{background:#11151d;color:#d2d9e2;padding:48px 0}.footer-grid{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:36px}.footer img{width:175px}.footer p{color:#a4a4a4}.footer h3{color:#fff;font-size:14px;text-transform:uppercase;letter-spacing:.08em}.footer a{display:block;color:#d0d0d0;text-decoration:none;margin:8px 0;font-size:14px}
@media(max-width:980px){
  .navlinks{display:none}.hero-grid{grid-template-columns:1fr}.proof-grid{grid-template-columns:repeat(2,1fr)}
  .service-grid{grid-template-columns:repeat(2,1fr)}.service:nth-child(3n){border-right:1px solid var(--line)}.service:nth-child(2n){border-right:0}.service:nth-last-child(-n+3){border-bottom:1px solid var(--line)}.service:nth-last-child(-n+2){border-bottom:0}
  .custom-split{grid-template-columns:1fr}.work-layout{grid-template-columns:1fr}.filters{display:grid;grid-template-columns:repeat(3,1fr)}.filters strong{display:none}.projects{grid-template-columns:1fr}.flow{grid-template-columns:1fr}.arrow{transform:rotate(90deg);text-align:center}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .wrap{width:min(var(--max),calc(100% - 28px))}.topline{display:none}.brand img{width:170px}.nav{height:70px}.hero-grid{min-height:auto;padding:44px 0}.hero h1{font-size:44px}.hero p{font-size:17px}.managed-list{grid-template-columns:1fr}.review-form{flex-direction:column;gap:8px}.review-form input{border-right:1px solid #d4d4d4;border-radius:4px}.review-form button{padding:14px;border-radius:4px}
  .proof-grid{grid-template-columns:1fr}.proof-item{border-right:0;border-bottom:1px solid var(--line)}.service-grid{grid-template-columns:1fr}.service{border-right:0!important;border-bottom:1px solid var(--line)!important}.service:last-child{border-bottom:0!important}.custom-points{grid-template-columns:1fr}.custom-visual{grid-template-columns:1fr}.work-head{align-items:flex-start;flex-direction:column}.filters{grid-template-columns:1fr 1fr}.device img{height:150px}.project-media{height:225px}.cta-band{flex-direction:column;align-items:flex-start}.footer-grid{grid-template-columns:1fr}
}
.page-hero{background:linear-gradient(110deg,#ffffff 0%,#fcfcfc 58%,#fff3f3 100%);border-bottom:1px solid var(--line)}
.page-hero-grid{display:grid;grid-template-columns:1fr .92fr;gap:54px;align-items:center;min-height:500px;padding:62px 0}
.page-hero h1{font-size:clamp(44px,4.8vw,68px);line-height:1;letter-spacing:-.05em;margin:0 0 18px;color:#111827}
.page-hero p{font-size:18px;color:#4f4f4f;max-width:700px}
.path-card{background:#fff;border:1px solid #dedede;border-radius:14px;padding:24px;box-shadow:var(--shadow)}
.path-card h3{margin:0 0 16px;color:#111827;font-size:22px}
.path-row{display:grid;grid-template-columns:36px 1fr;gap:12px;padding:14px 0;border-top:1px solid #ececec}
.path-row:first-of-type{border-top:0}.path-num{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#fff0f1;color:var(--red);font-size:12px;font-weight:900}
.path-row b{display:block;color:#111827}.path-row span{font-size:13px;color:#777777}
.service-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.service-detail{border:1px solid #e3e3e3;background:#fff;padding:28px}
.service-detail .tag{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#6a6a6a;font-weight:900}
.service-detail h3{font-size:26px;line-height:1.1;color:#111827;margin:8px 0 10px}.service-detail p{margin:0 0 16px;color:#686868}
.service-detail ul{margin:0 0 18px;padding-left:18px;color:#5f5f5f}.service-detail li{margin:6px 0}
.service-detail a{color:var(--red);font-weight:900;text-decoration:none}
.preserve-note{background:#fff;border:1px solid #e2e2e2;padding:22px;border-left:5px solid var(--red);margin-top:28px}
.solution-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.solution-card{border:1px solid #e3e3e3;background:#fff;padding:24px;min-height:220px}.solution-card h3{font-size:22px;color:#111827;margin:0 0 10px}.solution-card p{color:#686868}.solution-card a{color:var(--red);font-weight:900;text-decoration:none}
@media(max-width:980px){.page-hero-grid{grid-template-columns:1fr}.service-detail-grid{grid-template-columns:1fr}.solution-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.solution-grid{grid-template-columns:1fr}}

/* Rebrand compatibility for preserved legacy content */
.am-page-hero{background:linear-gradient(110deg,#ffffff 0%,#fbfaf9 58%,#f6f4f3 100%)!important}
.am-blue,.am-pale{background:#fafafa!important}
.am-eyebrow,.am-kicker{color:var(--red)!important}
.am-cta-red{background:var(--red)!important;color:#fff!important}
.am-cta-red:hover{background:var(--red2)!important}
.am-service-icon{background:#fff0f1!important;color:var(--red)!important}
.am-section-cta{background:linear-gradient(100deg,#fff4f4,#ffffff)!important}
.am-dark{background:#1a1a1a!important}
.contact-layout{display:grid;grid-template-columns:.82fr 1.18fr;gap:34px;align-items:start}
.contact-panel{background:#fff;border:1px solid var(--line);padding:30px}
.contact-panel h2{font-size:34px;color:#111827;margin:0 0 12px}
.contact-panel p{color:#686868}
.contact-list{list-style:none;padding:0;margin:24px 0}
.contact-list li{padding:11px 0;border-bottom:1px solid #ececec;color:#454545}
.contact-list li:before{content:"✓";color:var(--red);font-weight:900;margin-right:10px}
.resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.resource-card{background:#fff;border:1px solid var(--line);display:grid;grid-template-columns:180px 1fr;min-height:210px}
.resource-card img{width:100%;height:100%;object-fit:cover;background:#f7f7f7}
.resource-copy{padding:24px}
.resource-copy .meta{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--red);font-weight:900}
.resource-copy h2{font-size:23px;line-height:1.12;margin:7px 0 10px}
.resource-copy h2 a{text-decoration:none;color:#111827}
.resource-copy p{margin:0 0 14px;color:#686868}
.resource-copy>a{color:var(--red);font-weight:900;text-decoration:none}
.about-values{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.about-value{background:#fff;border:1px solid var(--line);padding:26px}
.about-value h3{font-size:22px;color:#111827;margin:0 0 9px}
.about-value p{color:#686868;margin:0}
@media(max-width:980px){.contact-layout{grid-template-columns:1fr}.resource-grid{grid-template-columns:1fr}.about-values{grid-template-columns:1fr}}
@media(max-width:640px){.resource-card{grid-template-columns:1fr}.resource-card img{height:210px}}

.menu-btn{display:none;margin-left:auto;border:1px solid var(--line);background:#fff;color:#1f1f1f;padding:10px 12px;border-radius:5px;font-weight:850;cursor:pointer}
@media(max-width:980px){
  .nav{position:relative}
  .menu-btn{display:inline-flex;align-items:center;gap:8px}
  .navlinks{display:none}
  .navlinks.open{display:flex;position:absolute;left:0;right:0;top:76px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-sm);padding:12px;flex-direction:column;align-items:stretch;z-index:90}
  .navlinks.open a{display:block;padding:12px 14px}
  .navlinks.open .btn{margin-top:4px}
}

/* Rebrand resource/article layouts */
.article-hero{background:linear-gradient(110deg,#ffffff 0%,#fbfaf9 58%,#f6f4f3 100%);border-bottom:1px solid var(--line)}
.article-hero .wrap{max-width:980px;padding:58px 0}
.article-hero h1{font-size:clamp(42px,5vw,68px);line-height:1.02;letter-spacing:-.045em;color:#151515;margin:10px 0 18px}
.article-hero p{font-size:19px;color:#555;margin:0;max-width:800px}
.article-meta{margin-top:14px;font-size:13px;color:#777;font-weight:750}
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:44px;align-items:start}
.article-prose{min-width:0}
.article-prose>img:first-child{width:100%;max-height:480px;object-fit:cover;border:1px solid var(--line);margin:0 0 32px}
.article-prose h2{font-size:32px;line-height:1.14;letter-spacing:-.025em;color:#171717;margin:38px 0 14px}
.article-prose h3{font-size:23px;line-height:1.2;color:#222;margin:30px 0 10px}
.article-prose p,.article-prose li{font-size:17px;line-height:1.75;color:#4d4d4d}
.article-prose p{margin:0 0 20px}
.article-prose ul{padding-left:22px;margin:0 0 22px}
.article-prose a{color:var(--red);font-weight:750}
.article-aside{position:sticky;top:112px;border:1px solid var(--line);background:#fafafa;padding:24px}
.article-aside h3{font-size:24px;color:#171717;margin:8px 0 10px}
.article-aside p{color:#666;margin:0 0 16px}
.article-aside a{display:block;color:var(--red);font-weight:850;text-decoration:none;margin:9px 0}
.resource-cta{margin-top:34px;padding-top:24px;border-top:1px solid var(--line);display:flex;gap:12px;flex-wrap:wrap}
@media(max-width:980px){.article-layout{grid-template-columns:1fr}.article-aside{position:static}}

/* Homepage layout matched to approved mockup */
.home-rebrand{background:#fff}
.home-rebrand .wrap{width:min(1260px,calc(100% - 48px))}
.home-header{position:relative;top:auto}
.home-header .nav{height:76px}
.home-hero{
  width:100%;
  background:
    radial-gradient(circle at 86% 20%,rgba(215,25,32,.035),transparent 28%),
    linear-gradient(108deg,#f7fbfd 0%,#ffffff 48%,#f4f4f4 100%);
  border-bottom:1px solid #ececec;
}
.home-hero-grid{
  min-height:610px;
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(560px,1.1fr);
  gap:54px;
  align-items:center;
  padding:54px 0 50px;
}
.home-hero-copy{position:relative;z-index:2}
.home-hero .eyebrow{font-size:12px;letter-spacing:.075em;margin-bottom:14px}
.home-hero h1{
  font-size:clamp(48px,4.8vw,70px);
  max-width:660px;
  line-height:.98;
  letter-spacing:-.055em;
  margin:0 0 20px;
  color:#161616;
}
.home-hero p{
  font-size:18px;
  line-height:1.58;
  max-width:650px;
  margin:0 0 24px;
  color:#4b4b4b;
}
.home-hero-actions{margin-bottom:26px}
.home-review{
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  gap:12px;
  max-width:650px;
  border:1px solid #dedede;
  background:rgba(255,255,255,.9);
  border-radius:8px;
  padding:16px;
  box-shadow:0 10px 30px rgba(15,23,42,.04);
}
.home-review-icon{
  width:42px;height:42px;border-radius:50%;display:grid;place-items:center;
  background:#fff0f1;color:var(--red);font-size:22px;font-weight:900;
}
.home-review-copy strong{display:block;color:#242424;font-size:15px}
.home-review-copy span{display:block;color:#777;font-size:12px;margin-top:2px}
.home-review-form{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;gap:8px}
.home-review-form input{min-width:0;border:1px solid #d8d8d8;border-radius:5px;padding:13px 14px;background:#fff}
.home-review-form button{border:0;border-radius:5px;padding:0 18px;background:var(--red);color:#fff;font-weight:900;cursor:pointer}
.home-review-form button:hover{background:var(--red2)}

.hero-showcase{
  min-height:500px;
  position:relative;
  align-self:stretch;
}
.showcase-label{
  position:absolute;top:7px;right:18px;z-index:8;
  font-size:10px;font-weight:900;letter-spacing:.09em;
  color:#6a6a6a;background:#fff;border:1px solid #dfdfdf;
  padding:7px 10px;border-radius:999px;
}
.showcase-main{
  position:absolute;top:34px;right:0;width:78%;height:380px;
  background:#14181f;border:1px solid #262b34;border-radius:16px 16px 10px 10px;
  padding:10px 10px 14px;box-shadow:0 28px 55px rgba(0,0,0,.18);
  transform:perspective(1400px) rotateY(-2deg);
  overflow:hidden;
}
.device-topbar{height:18px;display:flex;gap:5px;align-items:center;padding-left:2px}
.device-topbar span{width:6px;height:6px;border-radius:50%;background:#5e6672}
.showcase-main img{width:100%;height:calc(100% - 18px);object-fit:cover;object-position:top;border-radius:7px;background:#fff}
.showcase-device{
  position:absolute;background:#fff;border:1px solid #d7d7d7;border-radius:12px;
  padding:8px;box-shadow:0 20px 38px rgba(0,0,0,.16);z-index:4;
}
.mini-device-title{font-size:11px;color:#252525;font-weight:900;padding:2px 4px 7px}
.showcase-device img{width:100%;height:calc(100% - 26px);object-fit:cover;object-position:top;border-radius:5px}
.showcase-staff{left:0;bottom:20px;width:46%;height:215px;transform:rotate(-1deg)}
.showcase-roofing{left:38%;bottom:4px;width:40%;height:190px;z-index:5}
.showcase-facility{right:-10px;bottom:18px;width:31%;height:175px;z-index:6}

.home-proof .proof-grid{min-height:98px;align-items:stretch}
.home-proof .proof-item{
  display:flex;align-items:center;gap:14px;padding:23px 26px;
}
.proof-icon{
  flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;
  color:var(--red);font-size:24px;font-weight:1000;
}
.home-proof .proof-item b{font-size:19px;line-height:1.1}
.home-proof .proof-item span{display:block;margin-top:4px}

.home-services-section{background:linear-gradient(180deg,#fafafa 0%,#fff 100%);padding:74px 0 76px}
.home-services-section .section-head{max-width:850px;margin-bottom:34px}
.home-services{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;
}
.home-service-card{
  background:#fff;border:1px solid #e4e4e4;border-radius:8px;padding:26px 24px 24px;
  min-height:260px;box-shadow:0 8px 22px rgba(15,23,42,.035);
}
.home-service-icon{
  width:44px;height:44px;display:grid;place-items:center;
  color:var(--red);font-size:24px;font-weight:1000;margin-bottom:17px;
}
.home-service-card h3{font-size:21px;color:#171717;margin:0 0 10px}
.home-service-card p{font-size:15px;line-height:1.55;color:#666;margin:0 0 18px}
.home-service-card a{color:var(--red);font-weight:900;text-decoration:none}
.home-custom-strip{
  margin-top:18px;border:1px solid #e4e4e4;border-left:4px solid var(--red);
  background:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px;
}
.home-custom-strip h3{font-size:24px;color:#171717;margin:3px 0 7px}
.home-custom-strip p{max-width:760px;margin:0;color:#666}

.home-work-section{padding:74px 0 82px;background:#fff}
.home-work-layout{grid-template-columns:210px 1fr;gap:18px}
.home-work-layout .filters{border-radius:7px;overflow:hidden}
.home-work-layout .filter{font-size:14px;padding:15px 15px}
.home-projects{gap:16px}
.home-project{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(190px,.95fr);
  min-height:255px;border-radius:8px;overflow:hidden;
}
.home-project h3{padding:0;margin:5px 0 8px}
.home-project-copy{padding:20px 8px 20px 20px}
.project-type{display:block;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--red);font-weight:900}
.home-project-copy p{font-size:14px;line-height:1.45;color:#666;margin:0 0 10px}
.home-project-copy ul{list-style:none;padding:0;margin:0 0 11px}
.home-project-copy li{font-size:12px;color:#555;margin:4px 0}
.home-project-copy li:before{content:"✓";color:var(--red);font-weight:1000;margin-right:7px}
.home-project-copy a{color:var(--red);font-weight:900;text-decoration:none;font-size:13px}
.home-project-media{
  background:#f8f8f8;display:flex;align-items:center;justify-content:center;padding:16px 14px;
}
.home-project-media img{
  width:100%;max-height:180px;object-fit:contain;filter:drop-shadow(0 14px 18px rgba(0,0,0,.13));
}

.home-cta-section{background:linear-gradient(100deg,#fff5f5,#fff);padding:28px 0;border-top:1px solid #efe2e2}
.home-cta-band{background:transparent;border:0;padding:20px 0}
.home-cta-actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.home-cta-actions span{font-size:12px;color:#777}

@media(max-width:1160px){
  .home-rebrand .wrap{width:min(1140px,calc(100% - 36px))}
  .home-hero-grid{grid-template-columns:1fr 1fr;gap:34px}
  .showcase-main{width:82%}
  .home-project{grid-template-columns:1fr}
  .home-project-media{min-height:180px}
}
@media(max-width:980px){
  .home-hero-grid{grid-template-columns:1fr;padding:42px 0 50px}
  .hero-showcase{min-height:500px}
  .home-services{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-custom-strip{align-items:flex-start;flex-direction:column}
  .home-work-layout{grid-template-columns:1fr}
  .home-work-layout .filters{display:grid;grid-template-columns:repeat(3,1fr)}
  .home-work-layout .filters strong{display:none}
  .home-cta-actions{align-items:flex-start}
}
@media(max-width:640px){
  .home-rebrand .wrap{width:calc(100% - 28px)}
  .home-hero h1{font-size:44px}
  .home-review-form{grid-template-columns:1fr}
  .home-review-form button{padding:13px 16px}
  .hero-showcase{min-height:390px}
  .showcase-main{top:20px;width:91%;height:285px}
  .showcase-staff{width:48%;height:155px;bottom:12px}
  .showcase-roofing{width:44%;height:145px;bottom:0;left:34%}
  .showcase-facility{width:34%;height:135px;bottom:8px;right:-2px}
  .home-services{grid-template-columns:1fr}
  .home-work-layout .filters{grid-template-columns:1fr 1fr}
  .home-project{grid-template-columns:1fr}
  .home-cta-band{align-items:flex-start}
}

/* Approved homepage mockup alignment — exact layout direction */
.home-rebrand .wrap{width:min(1180px,calc(100% - 40px))}
.home-header{border-bottom:1px solid #e8e8e8;background:#fff}
.home-header .nav{height:66px;gap:20px}
.home-header .brand img{width:178px}
.home-header .navlinks{gap:5px}
.home-header .navlinks a{font-size:12px;padding:9px 8px}
.home-header .navlinks .btn{padding:11px 16px;font-size:12px}

.home-hero{
  width:100%;
  background:linear-gradient(110deg,#f8fafb 0%,#ffffff 52%,#f5f5f5 100%);
}
.home-hero-grid{
  min-height:500px;
  grid-template-columns:minmax(0,.9fr) minmax(520px,1.1fr);
  gap:42px;
  padding:38px 0 32px;
}
.home-hero .eyebrow{
  font-size:10px;
  letter-spacing:.07em;
  margin-bottom:11px;
  color:#6c6c6c;
}
.home-hero .eyebrow:before{
  content:"";
  display:inline-block;
  width:25px;
  height:2px;
  background:var(--red);
  margin-right:9px;
  vertical-align:middle;
}
.home-hero h1{
  font-size:clamp(46px,4.1vw,61px);
  line-height:1.02;
  letter-spacing:-.047em;
  max-width:610px;
  margin:0 0 16px;
}
.home-hero p{
  max-width:590px;
  font-size:15px;
  line-height:1.55;
  margin-bottom:20px;
}
.home-hero .btn{padding:13px 19px;font-size:13px}
.home-hero-actions{margin-bottom:18px}

.home-review{
  max-width:590px;
  grid-template-columns:36px minmax(0,1fr);
  gap:10px;
  padding:12px 13px;
  border-radius:6px;
  box-shadow:none;
}
.home-review-icon{
  width:34px;height:34px;font-size:18px;
}
.home-review-copy strong{font-size:12px}
.home-review-copy span{font-size:10px}
.home-review-form{gap:6px}
.home-review-form input{padding:10px 11px;font-size:12px}
.home-review-form button{padding:0 14px;font-size:12px}

.hero-showcase{min-height:430px}
.showcase-label{
  top:5px;right:9px;font-size:8px;padding:6px 9px;
}
.showcase-main{
  top:25px;right:0;width:76%;height:322px;
  border-radius:10px 10px 7px 7px;
  padding:8px 8px 11px;
}
.device-topbar{height:14px}
.device-topbar span{width:5px;height:5px}
.showcase-main img{height:calc(100% - 14px)}
.showcase-device{
  border-radius:8px;
  padding:6px;
  box-shadow:0 16px 30px rgba(0,0,0,.15);
}
.mini-device-title{font-size:9px;padding:1px 3px 5px}
.showcase-staff{left:1%;bottom:25px;width:43%;height:170px}
.showcase-roofing{left:39%;bottom:8px;width:36%;height:155px}
.showcase-facility{right:0;bottom:18px;width:29%;height:145px}

.home-proof{background:#fff}
.home-proof .proof-grid{min-height:78px}
.home-proof .proof-item{padding:16px 20px;gap:10px}
.proof-icon{flex-basis:32px;width:32px;height:32px;font-size:20px}
.home-proof .proof-item b{font-size:15px}
.home-proof .proof-item span{font-size:10px;margin-top:2px}

.home-services-section{
  padding:58px 0 62px;
  background:linear-gradient(180deg,#fbfbfb 0%,#f7f7f7 100%);
}
.home-services-section .section-head{
  max-width:760px;
  margin-bottom:24px;
}
.home-services-section .kicker{
  font-size:9px;
  color:#777;
}
.home-services-section .kicker:before{
  content:"";
  display:inline-block;
  width:25px;
  height:2px;
  background:var(--red);
  margin-right:9px;
  vertical-align:middle;
}
.home-services-section h2{
  font-size:34px;
  margin:6px 0 8px;
}
.home-services-section .section-head p{
  font-size:13px;
  line-height:1.45;
}
.home-services{gap:12px}
.home-service-card{
  min-height:218px;
  padding:20px 18px 18px;
  border-radius:5px;
  box-shadow:none;
}
.home-service-icon{
  width:34px;height:34px;font-size:20px;margin-bottom:12px;
}
.home-service-card h3{
  font-size:17px;
  margin-bottom:7px;
}
.home-service-card p{
  font-size:12px;
  line-height:1.48;
  margin-bottom:14px;
}
.home-service-card a{font-size:12px}

.home-work-section{padding:58px 0 62px}
.home-work-section .work-head{margin-bottom:20px}
.home-work-section .kicker{
  font-size:9px;
  color:#777;
}
.home-work-section .kicker:before{
  content:"";
  display:inline-block;width:25px;height:2px;background:var(--red);
  margin-right:9px;vertical-align:middle;
}
.home-work-section h2{font-size:34px;margin:5px 0 0}
.home-work-section .work-head p{
  font-size:12px;
  line-height:1.45;
  max-width:490px;
}
.home-work-layout{grid-template-columns:190px 1fr;gap:12px}
.home-work-layout .filters{border-radius:4px}
.home-work-layout .filters strong{
  font-size:10px;padding:11px 12px;
}
.home-work-layout .filter{
  padding:12px 12px;
  font-size:11px;
}
.home-projects{gap:10px}
.home-project{
  min-height:210px;
  grid-template-columns:minmax(0,1.08fr) minmax(180px,.92fr);
  border-radius:4px;
}
.home-project-copy{padding:15px 5px 14px 15px}
.project-type{font-size:8px}
.home-project h3{font-size:15px;margin:4px 0 6px}
.home-project-copy p{
  font-size:10px;line-height:1.42;margin-bottom:7px;
}
.home-project-copy li{
  font-size:9px;margin:2px 0;
}
.home-project-copy a{font-size:10px}
.home-project-media{padding:10px}
.home-project-media img{max-height:145px}

.home-cta-section{
  padding:16px 0;
  background:linear-gradient(100deg,#fff5f5,#f7fafb);
}
.home-cta-band{padding:10px 0}
.home-cta-band .kicker{font-size:9px}
.home-cta-band h2{font-size:30px;margin:4px 0 5px}
.home-cta-band p{font-size:11px;max-width:610px}
.home-cta-actions .btn{font-size:12px;padding:12px 17px}
.home-cta-actions span{font-size:9px}

@media(max-width:1180px){
  .home-rebrand .wrap{width:min(1140px,calc(100% - 32px))}
}
@media(max-width:980px){
  .home-header .nav{height:70px}
  .home-hero-grid{grid-template-columns:1fr;min-height:auto;padding:34px 0 42px}
  .hero-showcase{min-height:400px}
  .home-services{grid-template-columns:repeat(2,1fr)}
  .home-work-layout{grid-template-columns:1fr}
}
@media(max-width:640px){
  .home-rebrand .wrap{width:calc(100% - 26px)}
  .home-hero h1{font-size:42px}
  .home-services{grid-template-columns:1fr}
}

/* Final homepage geometry — match approved mockup proportions */
.home-rebrand .wrap{width:min(1480px,calc(100% - 56px))}
.home-header .nav{height:58px}
.home-header .brand img{width:150px}
.home-header .navlinks{gap:3px}
.home-header .navlinks a{font-size:11px;padding:8px 7px}
.home-header .navlinks .btn{padding:10px 14px;font-size:11px}

.home-hero-grid{
  min-height:455px;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:36px;
  padding:28px 0 24px;
}
.home-hero-copy{padding-top:2px}
.home-hero .eyebrow{font-size:9px;margin-bottom:9px}
.home-hero h1{
  font-size:clamp(43px,3.55vw,56px);
  line-height:.99;
  letter-spacing:-.046em;
  max-width:610px;
  margin:0 0 14px;
}
.home-hero p{
  font-size:13px;
  line-height:1.52;
  max-width:535px;
  margin-bottom:17px;
}
.home-hero .btn{padding:11px 16px;font-size:11px}
.home-hero-actions{margin-bottom:15px}
.home-review{
  max-width:535px;
  grid-template-columns:30px minmax(0,1fr);
  gap:8px;
  padding:10px 11px;
}
.home-review-icon{width:30px;height:30px;font-size:16px}
.home-review-copy strong{font-size:11px}
.home-review-copy span{font-size:9px}
.home-review-form input{padding:9px 10px;font-size:11px}
.home-review-form button{font-size:10px;padding:0 12px}

.hero-showcase{min-height:390px}
.showcase-label{top:0;right:4px;font-size:7px;padding:5px 8px}
.showcase-main{
  top:18px;right:0;width:80%;height:285px;
  border-radius:8px 8px 6px 6px;
  padding:7px 7px 9px;
}
.device-topbar{height:12px}
.device-topbar span{width:4px;height:4px}
.showcase-main img{height:calc(100% - 12px)}
.showcase-device{padding:5px;border-radius:7px}
.mini-device-title{font-size:8px;padding:1px 2px 4px}
.showcase-staff{left:2%;bottom:18px;width:45%;height:160px}
.showcase-roofing{left:40%;bottom:4px;width:38%;height:150px}
.showcase-facility{right:-1px;bottom:14px;width:30%;height:142px}

.home-proof .proof-grid{min-height:68px}
.home-proof .proof-item{padding:13px 18px;gap:8px}
.proof-icon{flex-basis:28px;width:28px;height:28px;font-size:18px}
.home-proof .proof-item b{font-size:13px}
.home-proof .proof-item span{font-size:9px}

.home-services-section{padding:44px 0 48px}
.home-services-section .section-head{max-width:780px;margin-bottom:18px}
.home-services-section h2{font-size:29px;margin:4px 0 6px}
.home-services-section .section-head p{font-size:11px}
.home-services{gap:10px}
.home-service-card{min-height:190px;padding:16px 15px}
.home-service-icon{width:30px;height:30px;font-size:18px;margin-bottom:9px}
.home-service-card h3{font-size:15px;margin-bottom:5px}
.home-service-card p{font-size:10px;line-height:1.45;margin-bottom:10px}
.home-service-card a{font-size:10px}

.home-work-section{padding:44px 0 48px}
.home-work-section .work-head{margin-bottom:15px}
.home-work-section h2{font-size:29px}
.home-work-section .work-head p{font-size:10px;max-width:520px}
.home-work-layout{grid-template-columns:180px 1fr;gap:10px}
.home-work-layout .filters strong{font-size:9px;padding:10px}
.home-work-layout .filter{font-size:10px;padding:10px}
.home-projects{gap:9px}
.home-project{min-height:185px;grid-template-columns:minmax(0,1.08fr) minmax(160px,.92fr)}
.home-project-copy{padding:12px 4px 12px 12px}
.project-type{font-size:7px}
.home-project h3{font-size:13px;margin:3px 0 5px}
.home-project-copy p{font-size:9px;line-height:1.4;margin-bottom:5px}
.home-project-copy li{font-size:8px;margin:1px 0}
.home-project-copy a{font-size:9px}
.home-project-media{padding:8px}
.home-project-media img{max-height:128px}

.home-cta-section{padding:12px 0}
.home-cta-band{padding:8px 0}
.home-cta-band h2{font-size:27px;margin:3px 0 4px}
.home-cta-band p{font-size:10px}
.home-cta-actions .btn{font-size:10px;padding:10px 14px}
.home-cta-actions span{font-size:8px}

@media(max-width:1500px){
  .home-rebrand .wrap{width:min(1420px,calc(100% - 48px))}
}
@media(max-width:1280px){
  .home-rebrand .wrap{width:min(1180px,calc(100% - 38px))}
  .home-hero-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}
}

/* Hero fidelity pass — approved mockup is the source of truth */
@media (min-width:1281px){
  .home-rebrand .wrap{width:min(1650px,calc(100% - 48px))}
  .home-header .nav{height:58px}
  .home-header .brand img{width:150px}

  .home-hero-grid{
    min-height:500px;
    grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
    gap:30px;
    align-items:center;
    padding:30px 0 24px;
  }
  .home-hero-copy{padding-top:0}
  .home-hero h1{
    max-width:620px;
    font-size:clamp(48px,3.55vw,62px);
    line-height:.99;
    margin-bottom:14px;
  }
  .home-hero p{
    max-width:570px;
    font-size:14px;
    line-height:1.52;
    margin-bottom:18px;
  }
  .home-hero-actions{margin-bottom:16px}
  .home-review{max-width:570px}

  .hero-showcase{
    min-height:430px;
    overflow:visible;
  }
  .showcase-main{
    top:12px;
    right:0;
    width:84%;
    height:315px;
    transform:none;
    border-radius:10px;
    padding:7px 7px 10px;
    box-shadow:0 24px 48px rgba(0,0,0,.18);
  }
  .showcase-label{
    top:-3px;
    right:2px;
    font-size:7px;
    padding:5px 8px;
  }
  .showcase-staff{
    left:0;
    bottom:18px;
    width:45%;
    height:170px;
    transform:none;
    z-index:5;
  }
  .showcase-roofing{
    left:34%;
    bottom:0;
    width:39%;
    height:164px;
    z-index:6;
  }
  .showcase-facility{
    right:0;
    bottom:14px;
    width:31%;
    height:158px;
    z-index:7;
  }
}

/* Hero fidelity pass 2 — scale the left stack to the approved mockup */
@media (min-width:1281px){
  .home-hero .eyebrow{
    font-size:10px;
    margin-bottom:11px;
  }
  .home-hero h1{
    max-width:680px;
    font-size:clamp(64px,3.9vw,72px);
    line-height:.98;
    letter-spacing:-.052em;
    margin-bottom:16px;
  }
  .home-hero p{
    max-width:610px;
    font-size:16px;
    line-height:1.5;
    margin-bottom:20px;
  }
  .home-hero .btn{
    min-height:44px;
    padding:13px 22px;
    font-size:14px;
  }
  .home-hero-actions{
    gap:12px;
    margin-bottom:18px;
  }
  .home-review{
    max-width:620px;
    grid-template-columns:36px minmax(0,1fr);
    gap:10px;
    padding:13px 14px;
  }
  .home-review-icon{
    width:34px;
    height:34px;
    font-size:18px;
  }
  .home-review-copy strong{font-size:13px}
  .home-review-copy span{font-size:10px}
  .home-review-form{gap:7px}
  .home-review-form input{
    min-height:40px;
    padding:10px 12px;
    font-size:12px;
  }
  .home-review-form button{
    min-height:40px;
    padding:0 16px;
    font-size:12px;
  }
}

/* Hero fidelity pass 3 — final mockup visual cleanup */
.home-hero{
  background:
    radial-gradient(circle at 78% 18%,rgba(255,255,255,.92),rgba(255,255,255,0) 34%),
    linear-gradient(110deg,#f2f7f9 0%,#f8fbfc 48%,#f3f6f7 100%);
}
@media (min-width:1281px){
  .showcase-main{top:0}
  .home-hero p{max-width:620px}
}

/* Hero fidelity pass 4 — device treatment from approved mockup */
.hero-showcase .showcase-device{overflow:visible}
.hero-showcase .showcase-staff::after,
.hero-showcase .showcase-roofing::after{
  content:"";
  position:absolute;
  left:8%;
  right:8%;
  bottom:-7px;
  height:8px;
  background:linear-gradient(180deg,#e7e7e7,#bfc0c2);
  border:1px solid #c3c4c6;
  border-top:0;
  border-radius:0 0 9px 9px;
  box-shadow:0 5px 8px rgba(0,0,0,.10);
  z-index:-1;
}
.hero-showcase .showcase-facility{
  border-width:2px;
  border-color:#d2d2d2;
}

/* Hero fidelity pass 5 — CTA proportions and device overlap */
@media (min-width:1281px){
  .home-hero-actions{
    width:620px;
    flex-wrap:nowrap;
  }
  .home-hero-actions .btn.red{
    min-width:330px;
  }
  .home-hero-actions .btn.outline{
    min-width:180px;
  }
  .home-review-form{
    grid-template-columns:minmax(0,1fr) 200px;
  }
  .home-review-form button{
    width:200px;
  }
  .showcase-staff{bottom:38px}
  .showcase-roofing{bottom:20px}
  .showcase-facility{bottom:34px}
  .home-header .navlinks .btn{
    min-width:205px;
  }
}

/* Hero fidelity pass 6 — match mockup proportions at standard desktop widths */
@media (min-width:981px){
  .home-hero-actions{
    display:grid;
    grid-template-columns:1.8fr 1fr;
    width:min(620px,100%);
    gap:12px;
  }
  .home-hero-actions .btn{
    width:100%;
    min-width:0;
  }
  .home-review-form{
    grid-template-columns:1.4fr 1fr;
  }
  .home-review-form button{
    width:100%;
  }
  .showcase-main{top:-4px}
  .showcase-staff{bottom:38px}
  .showcase-roofing{bottom:20px}
  .showcase-facility{bottom:34px}
}

/* Hero fidelity pass 7 — taller foreground devices like the mockup */
@media (min-width:981px){
  .showcase-staff{height:210px}
  .showcase-roofing{height:202px}
  .showcase-facility{height:194px}
}

/* Hero fidelity pass 8 — final vertical balance against mockup */
@media (min-width:981px){
  .home-hero p{max-width:560px}
  .showcase-staff{bottom:18px}
  .showcase-roofing{bottom:0}
  .showcase-facility{bottom:14px}
}

/* Homepage section fidelity — match approved mockup below the hero */
.home-services-section{
  background:linear-gradient(180deg,#f6fafb 0%,#f8fbfc 100%);
  padding:34px 0 38px;
}
.home-services-section .section-head{
  margin-bottom:20px;
}
.home-service-card{
  min-height:154px;
  padding:16px 16px 15px;
  border-radius:5px;
  box-shadow:0 5px 16px rgba(15,23,42,.025);
}
.home-service-card h3{
  font-size:16px;
  margin-bottom:6px;
}
.home-service-card p{
  font-size:11px;
  line-height:1.45;
  margin-bottom:11px;
}
.home-service-card a{font-size:10px}

.home-work-section{
  padding:38px 0 42px;
}
.home-work-section .work-head{
  margin-bottom:16px;
}

.home-cta-section{
  background:#fff;
  padding:18px 0 22px;
  border-top:0;
}
.home-cta-band{
  background:linear-gradient(100deg,#eef8fb,#f7fbfc);
  border:1px solid #dce9ee;
  border-radius:10px;
  padding:22px 24px;
}

/* Website/SEO hero visual + reusable laptop/phone project devices */
.hero-web-visual{
  position:relative;
  min-height:430px;
  align-self:stretch;
  overflow:visible;
}
.hero-web-laptop{
  position:absolute;
  width:86%;
  height:330px;
  right:0;
  top:16px;
  padding:14px 14px 28px;
  background:linear-gradient(145deg,#1b1d21,#090a0c);
  border:1px solid #31343a;
  border-radius:17px 17px 9px 9px;
  box-shadow:0 28px 52px rgba(0,0,0,.18);
  z-index:2;
}
.hero-web-laptop:before{
  content:"";
  position:absolute;
  top:6px;
  left:50%;
  width:5px;height:5px;border-radius:50%;
  background:#596069;
  transform:translateX(-50%);
}
.hero-web-screen{
  width:100%;height:100%;
  overflow:hidden;border-radius:8px;background:#fff;
}
.hero-web-screen img{
  width:100%;height:100%;object-fit:cover;object-position:top center;display:block;
}
.hero-laptop-base{
  position:absolute;left:-6%;right:-6%;bottom:-12px;height:18px;
  background:linear-gradient(180deg,#d9d9da,#9a9b9f);
  border-radius:2px 2px 15px 15px;
  box-shadow:0 7px 10px rgba(0,0,0,.12);
}
.hero-web-phone{
  position:absolute;right:-1%;bottom:12px;width:27%;height:230px;
  padding:9px 7px 12px;
  background:#18191d;border:2px solid #bfc0c4;border-radius:31px;
  box-shadow:0 22px 34px rgba(0,0,0,.17);
  z-index:5;
}
.hero-phone-notch{
  position:absolute;top:6px;left:50%;transform:translateX(-50%);
  width:38%;height:14px;background:#111217;border-radius:0 0 10px 10px;z-index:3;
}
.hero-phone-screen{
  width:100%;height:100%;overflow:hidden;background:#fff;border-radius:23px;
}
.hero-phone-screen img{
  width:185%;height:100%;object-fit:cover;object-position:top left;display:block;
}
.hero-seo-panel{
  position:absolute;left:3%;bottom:8px;width:39%;
  background:rgba(255,255,255,.96);
  border:1px solid #dedede;border-radius:8px;
  padding:15px 16px;box-shadow:0 18px 28px rgba(0,0,0,.10);
  z-index:6;
}
.hero-seo-label{
  display:block;color:var(--red);font-size:9px;letter-spacing:.09em;font-weight:950;margin-bottom:5px;
}
.hero-seo-panel strong{
  display:block;font-size:18px;color:#171717;margin-bottom:9px;
}
.hero-seo-stats{
  display:grid;grid-template-columns:1fr;gap:5px;
}
.hero-seo-stats span{font-size:10px;color:#5e5e5e;font-weight:750}
.hero-seo-stats b{color:var(--red);margin-right:5px}

/* Project image treatment: no bounding image box, actual device pair instead */
.home-project-media.device-stage,
.project-media.device-stage{
  position:relative;
  min-height:190px;
  background:transparent;
  overflow:visible;
  padding:8px 10px 4px;
}
.device-laptop{
  position:absolute;
  left:4%;top:10%;
  width:76%;height:72%;
  padding:7px 7px 15px;
  background:linear-gradient(145deg,#23252a,#090a0c);
  border:1px solid #303238;border-radius:10px 10px 5px 5px;
  box-shadow:0 14px 24px rgba(0,0,0,.15);
}
.device-laptop:before{
  content:"";position:absolute;top:3px;left:50%;width:3px;height:3px;border-radius:50%;background:#666;transform:translateX(-50%);
}
.device-screen{
  width:100%;height:100%;overflow:hidden;background:#fff;border-radius:4px;
}
.device-screen img{
  width:100%;height:100%;display:block;object-fit:cover;object-position:top center;
}
.device-laptop-base{
  position:absolute;left:-7%;right:-7%;bottom:-10px;height:12px;
  background:linear-gradient(180deg,#dadbdd,#9ea0a5);
  border-radius:1px 1px 9px 9px;
}
.device-phone{
  position:absolute;right:3%;bottom:5%;width:27%;height:62%;
  padding:5px 4px 7px;
  background:#15161a;border:2px solid #c5c6c9;border-radius:19px;
  box-shadow:0 12px 20px rgba(0,0,0,.16);
  z-index:4;
}
.device-phone-notch{
  position:absolute;top:3px;left:50%;transform:translateX(-50%);
  width:40%;height:8px;background:#111;border-radius:0 0 6px 6px;z-index:3;
}
.device-phone-screen{
  width:100%;height:100%;overflow:hidden;background:#fff;border-radius:13px;
}
.device-phone-screen img{
  width:210%;height:100%;display:block;object-fit:cover;object-position:top left;
}

/* Expanded work grid stays compact like the approved mockup */
.home-projects{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:11px;
}
.home-project{
  min-height:215px;
  grid-template-columns:minmax(0,1.02fr) minmax(220px,.98fr);
}
.home-project-media img{filter:none}
.home-project-copy p{max-width:440px}

@media(max-width:1280px){
  .hero-web-visual{min-height:395px}
  .hero-web-laptop{height:300px;width:84%}
  .hero-web-phone{height:205px;width:27%}
  .hero-seo-panel{width:41%}
}
@media(max-width:980px){
  .hero-web-visual{min-height:430px}
  .hero-web-laptop{width:82%;height:315px;right:2%}
  .hero-web-phone{height:215px;right:0}
  .hero-seo-panel{left:0;width:42%}
  .home-projects{grid-template-columns:1fr}
  .home-project{grid-template-columns:minmax(0,1fr) minmax(240px,.9fr)}
}
@media(max-width:640px){
  .hero-web-visual{min-height:350px;margin-top:8px}
  .hero-web-laptop{width:90%;height:250px;right:2%;top:10px}
  .hero-web-phone{width:29%;height:175px;bottom:8px}
  .hero-seo-panel{left:0;bottom:4px;width:49%;padding:10px 11px}
  .hero-seo-panel strong{font-size:14px}
  .hero-seo-stats span{font-size:8px}
  .home-project{grid-template-columns:1fr}
  .home-project-media.device-stage{min-height:220px}
}

/* Expanded portfolio device gallery + lightweight client portal mockup */
.portfolio-device-projects{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.portfolio-device-projects .project{
  display:grid;
  grid-template-columns:1fr;
  overflow:visible;
  min-height:420px;
}
.portfolio-device-projects .project>h3{
  padding:18px 18px 0;
  margin:0;
}
.portfolio-device-projects .project .project-copy{
  padding:12px 18px 18px;
}
.portfolio-device-projects .project-media.device-stage{
  min-height:235px;
  margin:0 12px;
}
.portal-mini-ui{
  background:linear-gradient(180deg,#f7fbff,#fff);
  color:#152033;
  font-size:9px;
}
.portal-mini-nav{
  background:#fff;
  border-bottom:1px solid #dce5ef;
  padding:8px 10px;
  font-weight:900;
  color:#1d3557;
}
.portal-mini-content{padding:12px}
.portal-mini-content>b{display:block;font-size:15px;margin-bottom:8px}
.portal-progress{
  display:block;height:7px;border-radius:999px;background:#e7edf3;overflow:hidden;margin-bottom:11px;
}
.portal-progress i{display:block;width:68%;height:100%;background:var(--red)}
.portal-mini-stats{
  display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:10px;
}
.portal-mini-stats span{
  border:1px solid #e2e7ed;background:#fff;border-radius:5px;padding:7px 6px;color:#66768a;
}
.portal-mini-stats b{display:block;color:#182233;font-size:13px;margin-top:2px}
.portal-mini-list{display:grid;gap:5px}
.portal-mini-list span{background:#fff;border:1px solid #e6e9ed;border-radius:4px;padding:6px;color:#526174}
.portal-phone-ui{
  padding:28px 8px 10px;
  background:linear-gradient(180deg,#f8fbff,#fff);
  color:#162133;
  display:flex;flex-direction:column;gap:8px;
  font-size:8px;
}
.portal-phone-ui b{font-size:12px}
.portal-phone-ui i{height:6px;border-radius:99px;background:linear-gradient(90deg,var(--red) 68%,#e5ebf1 68%)}
.portal-phone-ui small{font-size:7px;color:#6c7b8e}
@media(max-width:980px){
  .portfolio-device-projects{grid-template-columns:1fr}
}

.solution-showcase-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.solution-showcase-card{
  background:#fff;
  border:1px solid #e3e3e3;
  border-radius:7px;
  padding:20px;
  min-height:185px;
  display:flex;
  flex-direction:column;
}
.solution-showcase-card h3{
  font-size:19px;
  line-height:1.12;
  color:#171717;
  margin:0 0 9px;
}
.solution-showcase-card p{
  font-size:13px;
  line-height:1.5;
  color:#676767;
  margin:0 0 15px;
}
.solution-showcase-card a{
  margin-top:auto;
  color:var(--red);
  font-weight:900;
  text-decoration:none;
  font-size:12px;
}
@media(max-width:1080px){.solution-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.solution-showcase-grid{grid-template-columns:1fr}}

/* Device proportion correction — use natural laptop/phone aspect ratios */
.hero-web-visual{
  width:min(100%,760px);
  min-height:470px;
  justify-self:end;
}
.hero-web-laptop{
  width:78%;
  height:auto;
  aspect-ratio:16 / 10;
  right:4%;
  top:18px;
  padding:13px 13px 26px;
}
.hero-web-phone{
  width:22%;
  height:auto;
  aspect-ratio:9 / 19.5;
  right:1%;
  bottom:18px;
}
.hero-seo-panel{
  width:38%;
  left:1%;
  bottom:22px;
}

/* Project devices: correct the flattened/wide laptop look */
.home-project-media.device-stage,
.project-media.device-stage{
  min-height:220px;
}
.device-laptop{
  width:72%;
  height:auto;
  aspect-ratio:16 / 10;
  left:5%;
  top:7%;
  padding:7px 7px 14px;
}
.device-phone{
  width:23%;
  height:auto;
  aspect-ratio:9 / 19.5;
  right:4%;
  bottom:3%;
}
.device-screen img,
.hero-web-screen img{
  object-fit:cover;
  object-position:top center;
}
.device-phone-screen img,
.hero-phone-screen img{
  object-fit:cover;
  object-position:top left;
}

@media(max-width:1280px){
  .hero-web-visual{width:min(100%,690px);min-height:430px}
  .hero-web-laptop{width:80%;right:3%}
  .hero-web-phone{width:23%}
}
@media(max-width:980px){
  .hero-web-visual{width:min(100%,720px);min-height:450px;justify-self:center}
  .hero-web-laptop{width:78%;right:5%}
  .hero-web-phone{width:23%;right:2%}
}
@media(max-width:640px){
  .hero-web-visual{min-height:350px}
  .hero-web-laptop{width:82%;right:5%;top:8px}
  .hero-web-phone{width:25%;right:1%;bottom:8px}
  .hero-seo-panel{width:47%;left:0;bottom:6px}
  .home-project-media.device-stage,
  .project-media.device-stage{min-height:205px}
  .device-laptop{width:74%;left:3%}
  .device-phone{width:25%;right:2%}
}

/* Laptop realism pass — match the supplied front-view laptop rather than an ultrawide monitor */
.hero-web-laptop{
  width:72%;
  aspect-ratio:1.58 / 1;
  right:8%;
  top:10px;
  padding:12px 12px 0;
  overflow:visible;
  border-radius:16px 16px 10px 10px;
}
.hero-web-screen{
  position:relative;
  z-index:2;
  height:67%;
  border-radius:7px;
}
.hero-web-laptop:after{
  content:"";
  position:absolute;
  left:-7%;
  right:-7%;
  top:66%;
  height:31%;
  background:
    linear-gradient(90deg,transparent 0 11%,rgba(30,31,34,.92) 11% 89%,transparent 89%),
    repeating-linear-gradient(90deg,#2d2f33 0 6%,#17181b 6% 7.3%);
  border:1px solid #7d7f84;
  border-top-color:#4b4d52;
  clip-path:polygon(7% 0,93% 0,100% 100%,0 100%);
  border-radius:2px 2px 12px 12px;
  z-index:1;
}
.hero-laptop-base{
  left:7%;
  right:7%;
  bottom:-3px;
  height:14px;
  z-index:3;
  border-radius:0 0 16px 16px;
}
.hero-web-phone{
  width:20%;
  right:4%;
  bottom:22px;
}
.hero-seo-panel{
  width:36%;
  left:2%;
  bottom:24px;
}

/* Same device geometry for project cards */
.device-laptop{
  width:68%;
  aspect-ratio:1.58 / 1;
  left:6%;
  top:3%;
  padding:7px 7px 0;
  overflow:visible;
}
.device-screen{
  position:relative;
  z-index:2;
  height:66%;
}
.device-laptop:after{
  content:"";
  position:absolute;
  left:-7%;
  right:-7%;
  top:65%;
  height:31%;
  background:
    linear-gradient(90deg,transparent 0 11%,rgba(30,31,34,.94) 11% 89%,transparent 89%),
    repeating-linear-gradient(90deg,#303237 0 6%,#17181b 6% 7.3%);
  border:1px solid #85878c;
  clip-path:polygon(7% 0,93% 0,100% 100%,0 100%);
  border-radius:2px 2px 10px 10px;
  z-index:1;
}
.device-laptop-base{
  left:7%;
  right:7%;
  bottom:-2px;
  height:9px;
  z-index:3;
}
.device-phone{
  width:21%;
  right:5%;
  bottom:4%;
}
@media(max-width:1280px){
  .hero-web-laptop{width:74%;right:7%}
  .hero-web-phone{width:21%;right:3%}
}
@media(max-width:640px){
  .hero-web-laptop{width:78%;right:8%}
  .hero-web-phone{width:23%;right:2%}
  .device-laptop{width:70%;left:4%}
  .device-phone{width:23%;right:3%}
}

/* Device realism v23 — explicit front-view laptop geometry based on supplied reference */
@media (min-width:981px){
  .hero-web-visual{
    width:min(760px,100%);
    min-height:455px;
    justify-self:end;
  }
  .hero-web-laptop{
    width:650px;
    height:410px;
    max-width:86%;
    right:4%;
    top:8px;
    padding:0;
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
  }
  .hero-web-laptop:before{
    display:none;
  }
  .hero-web-screen{
    position:absolute;
    left:8%;
    right:8%;
    top:0;
    height:282px;
    border:12px solid #151619;
    border-bottom-width:18px;
    border-radius:14px 14px 7px 7px;
    box-shadow:0 16px 28px rgba(0,0,0,.15);
    overflow:hidden;
    background:#fff;
    z-index:3;
  }
  .hero-web-laptop:after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:278px;
    height:112px;
    border:1px solid #a7a9ad;
    border-top-color:#cfd0d2;
    border-radius:3px 3px 15px 15px;
    clip-path:polygon(7% 0,93% 0,100% 100%,0 100%);
    background:
      linear-gradient(90deg,transparent 0 35%,rgba(255,255,255,.18) 35% 65%,transparent 65%),
      repeating-linear-gradient(90deg,#24262a 0 7%,#383a3f 7% 8.5%),
      repeating-linear-gradient(0deg,#2b2d31 0 19%,#111216 19% 23%);
    box-shadow:0 14px 20px rgba(0,0,0,.12);
    z-index:2;
  }
  .hero-laptop-base{
    left:16%;
    right:16%;
    bottom:7px;
    height:10px;
    border-radius:0 0 16px 16px;
    background:linear-gradient(180deg,#babcc0,#8d8f94);
    z-index:4;
  }
  .hero-web-phone{
    width:154px;
    height:330px;
    aspect-ratio:auto;
    right:0;
    bottom:13px;
    z-index:6;
  }
  .hero-seo-panel{
    width:315px;
    left:0;
    bottom:18px;
    z-index:7;
  }

  .home-project-media.device-stage,
  .project-media.device-stage{
    min-height:225px;
  }
  .device-laptop{
    width:300px;
    height:190px;
    max-width:72%;
    left:7%;
    top:10px;
    padding:0;
    aspect-ratio:auto;
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
  }
  .device-laptop:before{
    display:none;
  }
  .device-screen{
    position:absolute;
    left:8%;
    right:8%;
    top:0;
    height:126px;
    border:6px solid #16171a;
    border-bottom-width:8px;
    border-radius:8px 8px 4px 4px;
    overflow:hidden;
    background:#fff;
    z-index:3;
  }
  .device-laptop:after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:123px;
    height:54px;
    border:1px solid #a7a9ad;
    border-radius:2px 2px 9px 9px;
    clip-path:polygon(7% 0,93% 0,100% 100%,0 100%);
    background:
      linear-gradient(90deg,transparent 0 35%,rgba(255,255,255,.15) 35% 65%,transparent 65%),
      repeating-linear-gradient(90deg,#24262a 0 7%,#383a3f 7% 8.5%),
      repeating-linear-gradient(0deg,#2b2d31 0 19%,#111216 19% 23%);
    box-shadow:0 8px 12px rgba(0,0,0,.11);
    z-index:2;
  }
  .device-laptop-base{
    left:17%;
    right:17%;
    bottom:7px;
    height:6px;
    border-radius:0 0 9px 9px;
    background:linear-gradient(180deg,#b8babf,#8e9095);
    z-index:4;
  }
  .device-phone{
    width:78px;
    height:164px;
    aspect-ratio:auto;
    right:4%;
    bottom:10px;
  }
}
@media(max-width:980px){
  .hero-web-laptop{
    width:min(620px,88%);
    height:390px;
    right:6%;
  }
  .hero-web-screen{height:268px}
  .hero-web-laptop:after{top:264px;height:107px}
  .hero-web-phone{width:145px;height:310px}
  .hero-seo-panel{width:300px}
}
@media(max-width:640px){
  .hero-web-visual{min-height:330px}
  .hero-web-laptop{
    width:92%;
    height:300px;
    right:4%;
  }
  .hero-web-screen{
    left:7%;right:7%;
    height:196px;
    border-width:8px;
    border-bottom-width:11px;
  }
  .hero-web-laptop:after{
    top:193px;
    height:86px;
  }
  .hero-laptop-base{bottom:8px}
  .hero-web-phone{
    width:105px;
    height:224px;
    right:0;
    bottom:2px;
  }
  .hero-seo-panel{
    width:47%;
    left:0;
    bottom:0;
  }
}

/* v24: use the exact uploaded laptop + phone frame assets. No CSS-drawn device shells. */
.device-shell{
  position:absolute;
  display:block;
}
.device-shell .device-content{
  position:absolute;
  overflow:hidden;
  background:#fff;
  z-index:1;
}
.device-shell .device-content img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:top center;
}
.device-shell .device-frame{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  z-index:2;
  pointer-events:none;
  user-select:none;
}

/* Exact laptop screen opening measured from Steve's uploaded frame */
.hero-device-stack{
  position:relative;
  width:min(760px,100%);
  min-height:470px;
  justify-self:end;
  align-self:center;
  overflow:visible;
}
.hero-laptop-shell{
  width:min(700px,92%);
  aspect-ratio:959 / 599;
  top:0;
  right:0;
  z-index:2;
}
.hero-laptop-shell .device-content,
.project-laptop-shell .device-content{
  left:14.9%;
  top:4.3%;
  width:68.4%;
  height:62.0%;
  border-radius:3px;
}
.hero-phone-shell{
  width:164px;
  aspect-ratio:467 / 826;
  right:0;
  bottom:2px;
  z-index:6;
  filter:drop-shadow(0 14px 18px rgba(0,0,0,.16));
}
.hero-phone-shell .device-content,
.project-phone-shell .device-content{
  left:6.85%;
  top:9.7%;
  width:86.3%;
  height:82.9%;
  border-radius:18px;
}
.hero-phone-shell .device-content img,
.project-phone-shell .device-content img{
  object-position:top left;
}
.hero-seo-panel{
  left:0;
  bottom:22px;
  width:300px;
  z-index:7;
}

/* Real uploaded frames for work cards */
.home-project-media.device-stage,
.project-media.device-stage{
  position:relative;
  min-height:220px;
  padding:0;
  overflow:visible;
  background:transparent;
}
.project-laptop-shell{
  width:min(330px,72%);
  aspect-ratio:959 / 599;
  left:4%;
  top:8%;
  z-index:2;
}
.project-phone-shell{
  width:min(88px,24%);
  aspect-ratio:467 / 826;
  right:3%;
  bottom:5%;
  z-index:5;
  filter:drop-shadow(0 8px 12px rgba(0,0,0,.14));
}

/* Disable the old generated device geometry wherever legacy classes still exist */
.hero-web-laptop,
.hero-web-phone,
.device-laptop,
.device-phone{
  display:none !important;
}

@media(max-width:1280px){
  .hero-device-stack{width:min(690px,100%);min-height:430px}
  .hero-laptop-shell{width:min(635px,91%)}
  .hero-phone-shell{width:148px}
  .hero-seo-panel{width:285px}
}
@media(max-width:980px){
  .hero-device-stack{width:min(720px,100%);min-height:445px;justify-self:center}
  .hero-laptop-shell{width:min(650px,90%);right:4%}
  .hero-phone-shell{width:150px;right:1%}
  .hero-seo-panel{left:0;width:285px}
  .home-project-media.device-stage,
  .project-media.device-stage{min-height:230px}
}
@media(max-width:640px){
  .hero-device-stack{min-height:330px}
  .hero-laptop-shell{width:92%;right:4%}
  .hero-phone-shell{width:104px;right:0;bottom:0}
  .hero-seo-panel{width:48%;left:0;bottom:0;padding:10px 11px}
  .hero-seo-panel strong{font-size:14px}
  .hero-seo-stats span{font-size:8px}
  .project-laptop-shell{width:72%;left:2%}
  .project-phone-shell{width:23%;right:2%}
}


/* PORTFOLIO SHOWCASE v31 */
.portfolio-showcase{
  padding:84px 0 96px;
  background:#fff;
}
.portfolio-showcase-head{
  max-width:980px;
  margin-bottom:54px;
}
.portfolio-eyebrow{
  display:flex;
  align-items:center;
  gap:14px;
  color:var(--red);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.12em;
  margin-bottom:14px;
}
.portfolio-eyebrow:after{
  content:"";
  width:36px;
  height:1px;
  background:#cfcfcf;
}
.portfolio-showcase-head h1{
  margin:0 0 16px;
  color:#111827;
  font-size:clamp(44px,5.1vw,76px);
  line-height:.98;
  letter-spacing:-.055em;
  max-width:980px;
}
.portfolio-showcase-head p{
  margin:0;
  color:#656565;
  font-size:18px;
}
.portfolio-group{
  margin-top:54px;
}
.portfolio-group-head{
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:20px;
}
.portfolio-group-title{
  display:flex;
  align-items:center;
  gap:12px;
  white-space:nowrap;
}
.portfolio-group-title svg{
  width:22px;
  height:22px;
  color:#424242;
  flex:0 0 auto;
}
.portfolio-group-title h2{
  margin:0;
  font-size:12px;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:#344054;
}
.portfolio-group-line{
  height:1px;
  background:#e3e3e3;
  flex:1;
}
.portfolio-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.portfolio-card{
  min-width:0;
  border:1px solid #e5e5e5;
  border-radius:14px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(15,23,42,.045);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
  display:flex;
  flex-direction:column;
}
.portfolio-card:hover{
  transform:translateY(-3px);
  border-color:#d6d6d6;
  box-shadow:0 18px 40px rgba(15,23,42,.08);
}
.portfolio-card-media{
  display:block;
  margin:12px 12px 0;
  border-radius:9px;
  overflow:hidden;
  background:#f2f3f5;
  aspect-ratio:16/10;
  border:1px solid #ececec;
}
.portfolio-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top center;
  display:block;
  transition:transform .3s ease;
}
.portfolio-card:hover .portfolio-card-media img{
  transform:scale(1.015);
}
.portfolio-card-copy{
  padding:18px 18px 20px;
  display:flex;
  flex:1;
  flex-direction:column;
}
.portfolio-card h3{
  margin:0 0 8px;
  color:#111827;
  font-size:21px;
  line-height:1.15;
  letter-spacing:-.025em;
}
.portfolio-card p{
  margin:0 0 16px;
  color:#666;
  line-height:1.55;
  font-size:14.5px;
}
.portfolio-card-link{
  display:inline-flex;
  gap:6px;
  align-items:center;
  width:max-content;
  max-width:100%;
  color:var(--red);
  font-weight:900;
  text-decoration:none;
  font-size:13px;
  margin-top:auto;
}
.portfolio-card-link:hover{
  text-decoration:underline;
}
@media(max-width:980px){
  .portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .portfolio-showcase{padding:64px 0 78px}
  .portfolio-showcase-head{margin-bottom:40px}
}
@media(max-width:640px){
  .portfolio-grid{grid-template-columns:1fr}
  .portfolio-showcase{padding:48px 0 64px}
  .portfolio-showcase-head h1{font-size:clamp(40px,12vw,56px)}
  .portfolio-showcase-head p{font-size:16px}
  .portfolio-group{margin-top:40px}
  .portfolio-group-head{gap:12px}
  .portfolio-group-title{white-space:normal}
  .portfolio-group-title h2{line-height:1.35}
}
