/* V6.0 — Five genuinely different layout systems, not simple palette swaps.
   All themes share the exact same PHP product/category/SEO data and form behaviors.
   1 CLASSIC: approved reference, untouched structure.
   2 MIDNIGHT: techno-agency split canvas and asymmetric 2+3 editorial service grid.
   3 IVORY: airy light editorial split with oversized serif headline and catalog magazine layout.
   4 ROYAL: cinematic centered masthead, framed gold accents and gallery-style asymmetric portfolio.
   5 EMERALD: reversed split canvas, strong sidebar-like service cards and layered photo tiles. */
html[data-theme] .theme-category-media,html[data-theme] .theme-category-info{display:none}
.theme-preview-bar{position:relative;z-index:86;display:flex;gap:18px;justify-content:center;align-items:center;flex-wrap:wrap;background:#fff8d5;border-block:1px solid #ddbd65;padding:10px 20px;color:#5f4211;font:700 13px system-ui}.theme-preview-bar a{color:#8a3907;text-decoration:underline}

/* All non-classic themes have editable, semantic category cards, rather than screenshot tiles. */
html:not([data-theme="classic"]) .rp-reference-card-row{padding:32px clamp(20px,3.5vw,65px);overflow:visible}
html:not([data-theme="classic"]) .rp-five-cards{max-width:1450px;display:grid;gap:16px;overflow:visible;padding:0;scroll-snap-type:none}
html:not([data-theme="classic"]) .rp-picture-card{min-width:0;display:flex;flex-direction:column;aspect-ratio:auto;height:auto;min-height:278px;box-shadow:none;scroll-snap-align:none;transition:transform .25s,box-shadow .25s}
html:not([data-theme="classic"]) .rp-picture-card > img{display:none}
html:not([data-theme="classic"]) .rp-picture-card .theme-category-media{display:block;position:relative;overflow:hidden;min-height:160px;flex:1}
html:not([data-theme="classic"]) .rp-picture-card .theme-category-media img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .6s}
html:not([data-theme="classic"]) .rp-picture-card:hover .theme-category-media img{transform:scale(1.08)}
html:not([data-theme="classic"]) .rp-picture-card .theme-category-info{display:flex;flex-direction:column;gap:7px;justify-content:flex-end;position:relative;padding:18px;min-height:131px;flex:0 0 auto}
html:not([data-theme="classic"]) .theme-category-info small{font-size:9px;letter-spacing:.18em;font-weight:850}
html:not([data-theme="classic"]) .theme-category-info strong{font-size:22px;font-weight:850;letter-spacing:-.045em;line-height:1.12}
html:not([data-theme="classic"]) .theme-category-desc{font-size:12px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html:not([data-theme="classic"]) .theme-category-info b{font-size:12px;font-weight:800;display:flex;justify-content:space-between;align-items:center;letter-spacing:.04em}
html:not([data-theme="classic"]) .rp-perks{padding-block:31px}
html:not([data-theme="classic"]) .rp-perk strong{font-size:15px}
html:not([data-theme="classic"]) .rp-perk small{font-size:12px;line-height:1.5}
html:not([data-theme="classic"]) .rp-section-heading h2{max-width:760px}

/* 2 Midnight: digital production studio / asymmetrical architectural grid. */
html[data-theme="midnight"] .rp-topbar{background:#030916}
html[data-theme="midnight"] .rp-header{height:88px;background:#0b142a;border-bottom:1px solid #34446a}
html[data-theme="midnight"] .rp-navigation{max-width:1510px}
html[data-theme="midnight"] .rp-brand img{filter:drop-shadow(0 0 12px #507eff44)}
html[data-theme="midnight"] .rp-header-cta{border-radius:5px;transform:skewX(-8deg);box-shadow:8px 8px 0 #1c2f50}
html[data-theme="midnight"] .rp-header-cta>*{transform:skewX(8deg)}
html[data-theme="midnight"] .rp-desktop-nav>a.rp-active:after{height:2px}
html[data-theme="midnight"] .rp-hero{height:660px!important;min-height:660px!important;max-height:660px!important;background:#060b19;overflow:hidden}
html[data-theme="midnight"] .rp-slide-inner{width:min(90%,1460px);position:relative;z-index:5}
html[data-theme="midnight"] .rp-slide-content{width:min(43%,615px);margin:0;position:relative;padding:30px 20px 35px 32px;border-left:2px solid #628dff44}
html[data-theme="midnight"] .rp-slide-content h1{font-size:clamp(47px,4.1vw,71px)!important;letter-spacing:-.062em!important}
html[data-theme="midnight"] .rp-slide-content h1 em{color:#7da3ff}
html[data-theme="midnight"] .rp-hero-back,html[data-theme="midnight"] .rp-slide:not(:first-child) .rp-hero-back{width:53%;height:81%;right:3%;top:9%;bottom:auto;border-radius:0 40px 0 40px;background-position:53% center;box-shadow:-20px 25px 0 -9px #233a72,0 20px 100px #273d7240;opacity:1}
html[data-theme="midnight"] .rp-hero-fade{background:linear-gradient(90deg,#080d1b 0%,#080d1bf2 36%,#080d1ba0 51%,transparent 67%)}
html[data-theme="midnight"] .rp-btn{border-radius:3px}
html[data-theme="midnight"] .rp-btn-ghost{border-color:#6d85bc;color:#e7efff}
html[data-theme="midnight"] .rp-hero-eyebrow{color:#93b0ff}
html[data-theme="midnight"] .rp-hero-eyebrow i{background:#7398ff}
html[data-theme="midnight"] .rp-reference-card-row{background:#0a1326}
html[data-theme="midnight"] .rp-five-cards{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
html[data-theme="midnight"] .rp-picture-card{grid-column:span 2;background:#101f37;border:1px solid #3d507c;color:#f3f7ff;border-radius:4px;min-height:320px}
html[data-theme="midnight"] .rp-picture-card:nth-child(1),html[data-theme="midnight"] .rp-picture-card:nth-child(2){grid-column:span 3;flex-direction:row;min-height:270px}
html[data-theme="midnight"] .rp-picture-card:nth-child(-n+2) .theme-category-media{flex:0 0 50%}
html[data-theme="midnight"] .rp-picture-card:nth-child(-n+2) .theme-category-info{flex:1;justify-content:center}
html[data-theme="midnight"] .theme-category-info small,html[data-theme="midnight"] .theme-category-info b{color:#93b2ff}
html[data-theme="midnight"] .theme-category-desc{color:#bdcce5}
html[data-theme="midnight"] .rp-perks{background:#0b1427;border-top:1px solid #24375e}
html[data-theme="midnight"] .rp-perk{border-color:#34456a}
html[data-theme="midnight"] .rp-perk strong{color:#fff}
html[data-theme="midnight"] .rp-perk small{color:#b7c7e7}
html[data-theme="midnight"] .rp-perk-icon{color:#82a5ff}
html[data-theme="midnight"] .rp-all-services{background:#eff3ff}
html[data-theme="midnight"] .rp-category-card{border-radius:5px;border-bottom:4px solid #7398ff}

/* 3 Ivory: upscale light editorial / print design magazine. */
html[data-theme="ivory"] body{background:#fcf8f1}
html[data-theme="ivory"] .rp-topbar{background:#35251e}
html[data-theme="ivory"] .rp-header{height:100px;background:#fffdf8;border-bottom:1px solid #e6d9c9}
html[data-theme="ivory"] .rp-brand-text strong{font-family:Georgia,serif;font-weight:700;letter-spacing:-.03em}
html[data-theme="ivory"] .rp-header-cta{border-radius:2px;background:#a8613d;color:#fff;min-height:51px;box-shadow:none}
html[data-theme="ivory"] .rp-desktop-nav>a.rp-active:after{height:1px}
html[data-theme="ivory"] .rp-hero{height:690px!important;min-height:690px!important;max-height:690px!important;background:#f6efe5;color:#33251e}
html[data-theme="ivory"] .rp-slide-inner{width:min(88%,1360px);max-width:none}
html[data-theme="ivory"] .rp-slide-content{margin:0;width:47%;max-width:630px;position:relative}
html[data-theme="ivory"] .rp-slide-content h1{font-family:Georgia,serif!important;font-weight:600!important;font-size:clamp(49px,4.65vw,78px)!important;letter-spacing:-.052em!important;line-height:1.13!important}
html[data-theme="ivory"] .rp-slide-content h1 em{font-family:Georgia,serif!important;color:#a8613d;font-weight:600;font-style:italic!important}
html[data-theme="ivory"] .rp-slide-content>p{color:#6a5749;max-width:440px}
html[data-theme="ivory"] .rp-hero-eyebrow{color:#885132;font-size:12px;letter-spacing:.23em}
html[data-theme="ivory"] .rp-hero-eyebrow i{height:1px;background:#b77d5c}
html[data-theme="ivory"] .rp-hero-back,html[data-theme="ivory"] .rp-slide:not(:first-child) .rp-hero-back{top:7%;bottom:auto;right:4%;width:49%;height:86%;opacity:1;border-radius:200px 200px 8px 8px;background-position:center;background-size:cover;box-shadow:19px 17px 0 #ead7c1;transform:none}
html[data-theme="ivory"] .rp-slide.is-active .rp-hero-back{transform:none}
html[data-theme="ivory"] .rp-hero-fade{background:linear-gradient(90deg,#f6efe5 0%,#f6efe5ef 42%,transparent 65%)}
html[data-theme="ivory"] .rp-btn{border-radius:2px}
html[data-theme="ivory"] .rp-btn-red{background:#ad623c;color:white;box-shadow:none}
html[data-theme="ivory"] .rp-btn-ghost{color:#6b412e;border:1px solid #c7aa93;background:transparent}
html[data-theme="ivory"] .rp-arrow{border:1px solid #a37b65;color:#684934;background:#fffaf5}
html[data-theme="ivory"] .rp-reference-card-row{background:#fcf8f1;padding-top:65px;padding-bottom:55px}
html[data-theme="ivory"] .rp-five-cards{grid-template-columns:repeat(12,1fr);gap:20px}
html[data-theme="ivory"] .rp-picture-card{grid-column:span 4;min-height:340px;background:#fffcf8;border:1px solid #e7dacc;border-radius:6px;color:#35251e}
html[data-theme="ivory"] .rp-picture-card:nth-child(1){grid-column:span 6;min-height:400px}
html[data-theme="ivory"] .rp-picture-card:nth-child(2){grid-column:span 6;min-height:400px}
html[data-theme="ivory"] .rp-picture-card .theme-category-media{flex:1}
html[data-theme="ivory"] .theme-category-info small{color:#a8613d}
html[data-theme="ivory"] .theme-category-info strong{font-family:Georgia,serif;font-size:26px;font-weight:600}
html[data-theme="ivory"] .theme-category-desc{color:#6e6359}
html[data-theme="ivory"] .theme-category-info b{color:#a8613d}
html[data-theme="ivory"] .rp-perks{background:#efe4d6;padding:40px}
html[data-theme="ivory"] .rp-perk-icon{color:#ad623c}
html[data-theme="ivory"] .rp-all-services{background:#fffdf9}
html[data-theme="ivory"] .rp-section-heading h2{font-family:Georgia,serif;letter-spacing:-.045em;font-weight:600}
html[data-theme="ivory"] .rp-category-card{border-radius:0 40px 0 0;border:1px solid #e7d3bd;box-shadow:none}

/* 4 Royal: luxurious centered theater, gold-trimmed portfolio masonry. */
html[data-theme="royal"] .rp-topbar{background:#130b24}
html[data-theme="royal"] .rp-header{height:85px;background:#201237;border-bottom:1px solid #5a437b}
html[data-theme="royal"] .rp-header-cta{border-radius:0;letter-spacing:.04em;border:1px solid #debd80;box-shadow:none}
html[data-theme="royal"] .rp-hero{height:700px!important;min-height:700px!important;max-height:700px!important;background:#1d1132}
html[data-theme="royal"] .rp-hero-back,html[data-theme="royal"] .rp-slide:not(:first-child) .rp-hero-back{inset:0;width:100%;height:100%;background-position:center 48%;opacity:.57;filter:saturate(.8)}
html[data-theme="royal"] .rp-hero-fade{background:linear-gradient(180deg,#1b0c2da6,#1b0c2ddd 78%),linear-gradient(90deg,#1b0d2de8,transparent 44%,#1b0d2dbb)}
html[data-theme="royal"] .rp-slide-inner{width:min(85%,1140px);justify-content:center}
html[data-theme="royal"] .rp-slide-content{width:100%;max-width:880px;text-align:center;margin:0;display:flex;flex-direction:column;align-items:center}
html[data-theme="royal"] .rp-hero-eyebrow{justify-content:center;color:#f8db9f;font-size:13px;letter-spacing:.3em}
html[data-theme="royal"] .rp-hero-eyebrow i{background:#cfaa64;width:80px;height:1px}
html[data-theme="royal"] .rp-slide-content h1{font-family:Georgia,serif!important;font-size:clamp(52px,5.1vw,84px)!important;font-weight:600!important;line-height:1.12!important;letter-spacing:-.045em!important;text-shadow:0 6px 24px #16092688}
html[data-theme="royal"] .rp-slide-content h1 em{font-family:Georgia,serif!important;font-style:italic!important;font-weight:600;color:#e9c479}
html[data-theme="royal"] .rp-slide-content>p{max-width:660px;color:#f4ecff}
html[data-theme="royal"] .rp-hero-actions{justify-content:center}
html[data-theme="royal"] .rp-btn{border-radius:0;letter-spacing:.02em}
html[data-theme="royal"] .rp-btn-red{color:#291932;background:#cfad69}
html[data-theme="royal"] .rp-btn-ghost{border-color:#d6b777;color:#f7e5b8}
html[data-theme="royal"] .rp-reference-card-row{background:#211239;padding-block:50px}
html[data-theme="royal"] .rp-five-cards{display:grid;grid-template-columns:repeat(12,1fr);gap:14px}
html[data-theme="royal"] .rp-picture-card{grid-column:span 3;background:#301c4e;color:#fbf5ff;border:1px solid #745887;border-radius:2px;min-height:320px}
html[data-theme="royal"] .rp-picture-card:nth-child(1){grid-column:span 6;grid-row:span 2;min-height:660px}
html[data-theme="royal"] .rp-picture-card:nth-child(2),html[data-theme="royal"] .rp-picture-card:nth-child(3){grid-column:span 3}
html[data-theme="royal"] .rp-picture-card:nth-child(4),html[data-theme="royal"] .rp-picture-card:nth-child(5){grid-column:span 3}
html[data-theme="royal"] .rp-picture-card:nth-child(1) .theme-category-info{flex:0 0 auto;padding:30px}
html[data-theme="royal"] .rp-picture-card:nth-child(1) .theme-category-info strong{font-size:34px;font-family:Georgia,serif;font-weight:600}
html[data-theme="royal"] .theme-category-info small,html[data-theme="royal"] .theme-category-info b{color:#e3bc6f}
html[data-theme="royal"] .theme-category-desc{color:#e4d4f2}
html[data-theme="royal"] .rp-perks{background:#f8f3e9}
html[data-theme="royal"] .rp-perk-icon{color:#a07933}
html[data-theme="royal"] .rp-all-services{background:#f8f1fc}
html[data-theme="royal"] .rp-category-card{border-radius:2px;border-top:3px solid #d0a452}

/* 5 Emerald: creative eco-modern reversed art direction, catalog on the right. */
html[data-theme="emerald"] .rp-topbar{background:#09231e}
html[data-theme="emerald"] .rp-header{height:88px;background:#0b3127;border-bottom:1px solid #326654}
html[data-theme="emerald"] .rp-header-cta{border-radius:25px;background:#24ab7e;box-shadow:none}
html[data-theme="emerald"] .rp-hero{height:680px!important;min-height:680px!important;max-height:680px!important;background:#e5f3ea;color:#113e30}
html[data-theme="emerald"] .rp-slide-inner{width:min(91%,1490px);justify-content:flex-end}
html[data-theme="emerald"] .rp-slide-content{width:42%;margin:0;position:relative;padding:16px 10px 16px 27px}
html[data-theme="emerald"] .rp-hero-back,html[data-theme="emerald"] .rp-slide:not(:first-child) .rp-hero-back{left:3%;right:auto;top:9%;bottom:auto;width:51%;height:82%;border-radius:32px 160px 32px 32px;background-position:55% center;background-size:cover;opacity:1;box-shadow:0 23px 55px #14493629}
html[data-theme="emerald"] .rp-slide.is-active .rp-hero-back{transform:scale(1.04)}
html[data-theme="emerald"] .rp-hero-fade{background:linear-gradient(90deg,transparent 0%,transparent 42%,#e5f3eac7 56%,#e5f3ea 66%)}
html[data-theme="emerald"] .rp-hero-eyebrow{color:#087b57;letter-spacing:.22em}
html[data-theme="emerald"] .rp-hero-eyebrow i{background:#12a475}
html[data-theme="emerald"] .rp-slide-content h1{font-size:clamp(48px,4.05vw,74px)!important;line-height:1.08!important;letter-spacing:-.06em!important}
html[data-theme="emerald"] .rp-slide-content h1 em{color:#079c70}
html[data-theme="emerald"] .rp-slide-content>p{color:#425e54}
html[data-theme="emerald"] .rp-btn-red{background:#0e9f73;border-radius:40px;color:#fff}
html[data-theme="emerald"] .rp-btn-ghost{border:1px solid #0c9b74;color:#075b41;background:transparent;border-radius:40px}
html[data-theme="emerald"] .rp-arrow{background:#fff;color:#0b6148;border:1px solid #b9e2cc}
html[data-theme="emerald"] .rp-reference-card-row{background:#e4f2e9;padding-block:45px}
html[data-theme="emerald"] .rp-five-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
html[data-theme="emerald"] .rp-picture-card{flex-direction:row;min-height:190px;background:white;border:1px solid #c2dfcf;border-radius:20px}
html[data-theme="emerald"] .rp-picture-card .theme-category-media{flex:0 0 44%;min-height:190px}
html[data-theme="emerald"] .rp-picture-card .theme-category-info{min-width:0;flex:1;justify-content:center;padding:23px 24px}
html[data-theme="emerald"] .rp-picture-card:nth-child(1){grid-row:span 2;min-height:395px;flex-direction:column}
html[data-theme="emerald"] .rp-picture-card:nth-child(1) .theme-category-info{flex:0 0 auto;min-height:160px}
html[data-theme="emerald"] .theme-category-info small,html[data-theme="emerald"] .theme-category-info b{color:#0b9870}
html[data-theme="emerald"] .theme-category-desc{color:#536d60}
html[data-theme="emerald"] .rp-perks{background:white}
html[data-theme="emerald"] .rp-perk-icon{color:#11946e}
html[data-theme="emerald"] .rp-all-services{background:#e9f5ee}
html[data-theme="emerald"] .rp-category-card{border-radius:26px;box-shadow:0 15px 36px #10604417}

/* Responsive layout variants: compact but recognizable art direction. */
@media(max-width:1240px){
 html[data-theme="midnight"] .rp-header,html[data-theme="ivory"] .rp-header,html[data-theme="royal"] .rp-header,html[data-theme="emerald"] .rp-header{height:74px}
 html[data-theme="midnight"] .rp-slide-inner,html[data-theme="ivory"] .rp-slide-inner,html[data-theme="royal"] .rp-slide-inner,html[data-theme="emerald"] .rp-slide-inner{width:calc(100% - 86px)}
 html[data-theme="ivory"] .rp-slide-content h1,html[data-theme="royal"] .rp-slide-content h1{font-size:clamp(40px,5vw,65px)!important}
 html[data-theme="midnight"] .rp-slide-content h1,html[data-theme="emerald"] .rp-slide-content h1{font-size:clamp(40px,4vw,58px)!important}
 html[data-theme="midnight"] .rp-five-cards{grid-template-columns:repeat(2,1fr)}
 html[data-theme="midnight"] .rp-picture-card,html[data-theme="midnight"] .rp-picture-card:nth-child(1),html[data-theme="midnight"] .rp-picture-card:nth-child(2){grid-column:span 1;min-height:280px;flex-direction:column}
 html[data-theme="midnight"] .rp-picture-card:nth-child(-n+2) .theme-category-media{flex:1}
 html[data-theme="midnight"] .rp-picture-card:nth-child(-n+2) .theme-category-info{flex:0 0 auto}
 html[data-theme="ivory"] .rp-five-cards{grid-template-columns:repeat(6,1fr)}
 html[data-theme="ivory"] .rp-picture-card,html[data-theme="ivory"] .rp-picture-card:nth-child(1),html[data-theme="ivory"] .rp-picture-card:nth-child(2){grid-column:span 3;min-height:305px}
 html[data-theme="royal"] .rp-five-cards{grid-template-columns:repeat(4,1fr)}
 html[data-theme="royal"] .rp-picture-card,html[data-theme="royal"] .rp-picture-card:nth-child(1),html[data-theme="royal"] .rp-picture-card:nth-child(n){grid-column:span 2;grid-row:auto;min-height:310px}
 html[data-theme="emerald"] .rp-five-cards{grid-template-columns:repeat(2,1fr)}
 html[data-theme="emerald"] .rp-picture-card:nth-child(1){grid-row:auto;min-height:230px;flex-direction:row}
 html[data-theme="emerald"] .rp-picture-card:nth-child(1) .theme-category-media{flex:0 0 44%}
}
@media(max-width:720px){
 html[data-theme="midnight"] .rp-header,html[data-theme="ivory"] .rp-header,html[data-theme="royal"] .rp-header,html[data-theme="emerald"] .rp-header{height:68px}
 html[data-theme="midnight"] .rp-hero,html[data-theme="ivory"] .rp-hero,html[data-theme="royal"] .rp-hero,html[data-theme="emerald"] .rp-hero{height:660px!important;min-height:660px!important;max-height:660px!important}
 html[data-theme="midnight"] .rp-slide-inner,html[data-theme="ivory"] .rp-slide-inner,html[data-theme="royal"] .rp-slide-inner,html[data-theme="emerald"] .rp-slide-inner{width:calc(100% - 50px);align-items:flex-start;justify-content:center}
 html[data-theme="midnight"] .rp-slide-content,html[data-theme="ivory"] .rp-slide-content,html[data-theme="royal"] .rp-slide-content,html[data-theme="emerald"] .rp-slide-content{width:100%;max-width:none;padding:20px 0 0;margin:0;text-align:left;display:block;border:none}
 html[data-theme="midnight"] .rp-slide-content h1,html[data-theme="ivory"] .rp-slide-content h1,html[data-theme="royal"] .rp-slide-content h1,html[data-theme="emerald"] .rp-slide-content h1{font-size:clamp(36px,8.7vw,49px)!important;line-height:1.08!important;margin:19px 0 14px!important}
 html[data-theme="midnight"] .rp-slide-content>p,html[data-theme="ivory"] .rp-slide-content>p,html[data-theme="royal"] .rp-slide-content>p,html[data-theme="emerald"] .rp-slide-content>p{font-size:15px;line-height:1.55}
 html[data-theme="midnight"] .rp-hero-back,html[data-theme="midnight"] .rp-slide:not(:first-child) .rp-hero-back,
 html[data-theme="ivory"] .rp-hero-back,html[data-theme="ivory"] .rp-slide:not(:first-child) .rp-hero-back,
 html[data-theme="royal"] .rp-hero-back,html[data-theme="royal"] .rp-slide:not(:first-child) .rp-hero-back,
 html[data-theme="emerald"] .rp-hero-back,html[data-theme="emerald"] .rp-slide:not(:first-child) .rp-hero-back{left:7%;right:7%;top:auto;bottom:54px;width:86%;height:235px;border-radius:16px;opacity:1;box-shadow:0 12px 35px #0003;transform:none;filter:none}
 html[data-theme="midnight"] .rp-slide.is-active .rp-hero-back,html[data-theme="ivory"] .rp-slide.is-active .rp-hero-back,html[data-theme="royal"] .rp-slide.is-active .rp-hero-back,html[data-theme="emerald"] .rp-slide.is-active .rp-hero-back{transform:none}
 html[data-theme="midnight"] .rp-hero-fade,html[data-theme="royal"] .rp-hero-fade{background:linear-gradient(180deg,#07142af5 0%,#07142adf 50%,transparent 75%)}
 html[data-theme="ivory"] .rp-hero-fade{background:linear-gradient(180deg,#f6efe5 0%,#f6efe5 50%,transparent 73%)}
 html[data-theme="emerald"] .rp-hero-fade{background:linear-gradient(180deg,#e5f3ea 0%,#e5f3ea 53%,transparent 78%)}
 html[data-theme="royal"] .rp-hero-eyebrow{justify-content:flex-start}
 html[data-theme="royal"] .rp-hero-actions{justify-content:flex-start}
 html:not([data-theme="classic"]) .rp-reference-card-row{padding:18px 15px 24px;overflow:visible}
 html:not([data-theme="classic"]) .rp-five-cards,html[data-theme="midnight"] .rp-five-cards,html[data-theme="ivory"] .rp-five-cards,html[data-theme="royal"] .rp-five-cards,html[data-theme="emerald"] .rp-five-cards{display:grid;grid-template-columns:1fr;gap:12px;padding:0;overflow:visible}
 html:not([data-theme="classic"]) .rp-picture-card,html[data-theme="ivory"] .rp-picture-card:nth-child(1),html[data-theme="ivory"] .rp-picture-card:nth-child(2),html[data-theme="midnight"] .rp-picture-card:nth-child(-n+2),html[data-theme="emerald"] .rp-picture-card:nth-child(1),html[data-theme="royal"] .rp-picture-card:nth-child(n){grid-column:auto;grid-row:auto;min-height:170px;flex-direction:row;height:174px;max-height:174px;border-radius:13px}
 html:not([data-theme="classic"]) .rp-picture-card .theme-category-media,html[data-theme="midnight"] .rp-picture-card:nth-child(-n+2) .theme-category-media,html[data-theme="emerald"] .rp-picture-card:nth-child(1) .theme-category-media{flex:0 0 39%;min-height:0;height:auto}
 html:not([data-theme="classic"]) .rp-picture-card .theme-category-info,html[data-theme="midnight"] .rp-picture-card:nth-child(-n+2) .theme-category-info,html[data-theme="emerald"] .rp-picture-card:nth-child(1) .theme-category-info{flex:1;padding:14px;min-height:0;justify-content:center;gap:5px}
 html:not([data-theme="classic"]) .theme-category-info strong,html[data-theme="royal"] .rp-picture-card:nth-child(1) .theme-category-info strong{font-size:20px}
 html:not([data-theme="classic"]) .theme-category-info small{font-size:9px}
 html:not([data-theme="classic"]) .theme-category-desc{font-size:11px;line-height:1.45}
 html:not([data-theme="classic"]) .rp-perks{padding:20px 15px}
 html:not([data-theme="classic"]) .rp-perks-inner{grid-template-columns:1fr;gap:4px}
 html:not([data-theme="classic"]) .rp-perk{min-height:70px;border-right:0;border-bottom:1px solid #cfd5d7;padding:10px 8px;gap:13px}
 html:not([data-theme="classic"]) .rp-perk:last-child{border:none}
 html:not([data-theme="classic"]) .rp-perk strong{font-size:17px!important;line-height:1.35!important}
 html:not([data-theme="classic"]) .rp-perk small{font-size:14px!important;line-height:1.55!important}
 html[data-theme="royal"] .rp-perk strong{color:#332344}
 html[data-theme="midnight"] .rp-perk strong{color:#fff}
}
@media(max-width:400px){
 html[data-theme="midnight"] .rp-hero,html[data-theme="ivory"] .rp-hero,html[data-theme="royal"] .rp-hero,html[data-theme="emerald"] .rp-hero{height:680px!important;min-height:680px!important;max-height:680px!important}
 html:not([data-theme="classic"]) .rp-picture-card{height:165px;max-height:165px}
 html:not([data-theme="classic"]) .theme-category-desc{display:none}
}
@media(prefers-reduced-motion:reduce){html:not([data-theme="classic"]) .theme-category-media img{transition:none}}

/* Production category showcase — preserves approved five-image navigation row. */
.rp-production-feature{padding:clamp(55px,7vw,95px) 0;background:#091929;color:#fff}
.rp-production-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:29px}
.rp-production-heading h2{font-size:clamp(31px,3.5vw,51px);line-height:1.12;letter-spacing:-.045em;margin:10px 0 12px;font-weight:900}
.rp-production-heading h2 em{color:#f44562;font-style:normal}
.rp-production-heading p{color:#bfccda;font-size:16px;line-height:1.6;max-width:720px}
.rp-production-heading>a{display:inline-flex;white-space:nowrap;align-items:center;padding:14px 19px;border:1px solid #60748a;border-radius:9px;color:#fff;font-size:13px;font-weight:800;transition:background .2s}
.rp-production-heading>a:hover{background:#f44562;border-color:#f44562}
.rp-production-cards{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.rp-production-card{position:relative;min-height:410px;border-radius:17px;overflow:hidden;background:#152738;isolation:isolate;display:block;box-shadow:0 18px 45px #0004}
.rp-production-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .45s}
.rp-production-card:hover>img{transform:scale(1.05)}
.rp-production-card:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#03101af7 0%,#03101a8d 47%,transparent 80%);z-index:0}
.rp-production-overlay{position:absolute;bottom:28px;left:30px;right:30px;display:grid;gap:11px;z-index:1;color:#fff}
.rp-production-overlay>small{color:#ff6b7f;letter-spacing:.17em;font-size:11px;font-weight:900}
.rp-production-overlay>strong{font-size:clamp(25px,2.7vw,39px);line-height:1.12;letter-spacing:-.03em}
.rp-production-overlay>span{max-width:470px;font-size:14px;line-height:1.65;color:#dbe3ef}
.rp-production-overlay>b{display:inline-flex;align-items:center;gap:12px;margin-top:4px;font-size:13px;font-weight:850;color:#fff}
html[data-theme="ivory"] .rp-production-feature{background:#4e382c}
html[data-theme="ivory"] .rp-production-heading h2 em{color:#ebae83}
html[data-theme="midnight"] .rp-production-feature{background:#0a1030}
html[data-theme="midnight"] .rp-production-heading h2 em{color:#91aaff}
html[data-theme="royal"] .rp-production-feature{background:#221237}
html[data-theme="royal"] .rp-production-heading h2 em{color:#e8bd77}
html[data-theme="emerald"] .rp-production-feature{background:#0a3f33}
html[data-theme="emerald"] .rp-production-heading h2 em{color:#a9efd5}
@media(max-width:750px){.rp-production-feature{padding:42px 0}.rp-production-heading{display:block}.rp-production-heading>a{margin-top:15px}.rp-production-cards{grid-template-columns:1fr;gap:14px}.rp-production-card{min-height:340px}.rp-production-overlay{left:22px;right:22px;bottom:22px}.rp-production-overlay>strong{font-size:27px}.rp-production-heading p{font-size:15px}}

/* V7 local service area landing pages */
.local-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.local-card{padding:26px;background:#fff;border:1px solid #e5e9ed;border-radius:14px;box-shadow:0 10px 30px #101e3410}.local-card h2{font-size:25px;line-height:1.2;margin:12px 0}.local-card p{color:#556478;line-height:1.7}.local-card .text-link{display:inline-block;margin-top:12px}.local-hero .wrap{padding-block:80px}.local-detail{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(250px,1fr);gap:40px}.local-primary{font-size:16px;line-height:1.85}.local-primary h2{font-size:clamp(27px,3vw,38px);line-height:1.15;margin:13px 0 25px}.local-primary h3{font-size:23px;margin:26px 0 7px}.local-copy{white-space:normal;color:#3d4c60}.local-aside{border-radius:15px;background:#f4f7fa;padding:20px;align-self:start;display:grid;gap:15px}.local-aside p{margin:0;color:#56647a;line-height:1.6}.local-aside-image{height:215px;overflow:hidden;border-radius:9px}.local-aside-image img{width:100%;height:100%;object-fit:cover}.local-aside .text-link{margin-top:4px}
@media(max-width:900px){.local-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.local-detail{grid-template-columns:1fr}.local-aside{max-width:560px}}@media(max-width:600px){.local-grid{grid-template-columns:1fr}.local-hero .wrap{padding-block:55px}.local-primary{font-size:16px}.local-aside{padding:15px}}

/* Region-specific visual keeps hero titles readable and reuses the actual selected service category media */
.local-hero{background:#0c1c33;min-height:530px;display:flex;align-items:center}.local-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(90deg,#0b1b31 1%,#0b1b31f0 42%,#0b1b31b3 70%,#0b1b3190 100%),var(--local-hero-image);background-size:cover;background-position:right center;opacity:.9}.local-hero h1{max-width:850px}.local-hero .btn{margin-top:23px}.local-hero:after{opacity:.15}@media(max-width:760px){.local-hero{min-height:470px}.local-hero:before{background-image:linear-gradient(90deg,#0b1b31f5,#0b1b31c9),var(--local-hero-image);background-position:center}.local-hero h1{font-size:clamp(36px,10vw,55px);line-height:1.12}}
